body {
    font-family: 'Arial', sans-serif;
    background: url("bg.jpg") no-repeat bottom right;
    font-size: 15px;
}

p {
    font-family: 'Arial', sans-serif;
    font-size: 1em;
    font-weight: 300;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

/* ---------------------------------------------------
    SIDEBAR (Menú)
----------------------------------------------------- */
.navbar {
    padding: 5px 0;
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 0 !important;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
    border-radius:50px;
}
.wrapper {
    display: flex;
    align-items: stretch;
    perspective: 1500px;
}

#sidebar {
    min-width: 270px;
    max-width: 270px;
    background: #943825;
    color: #fff;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
}


#sidebar.active {
    margin-left: -250px;
    transform: rotateY(100deg);
}

#sidebar .sidebar-header {
    padding: 20px;
}

#sidebar ul.components {
    padding: 30px 0;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 20px 10px;
    font-size: 1.1em;
    display: block;
    margin: 15px 0;
    opacity: 0.7;
    filter: alpha(opacity=70);
}
#sidebar ul li a img {
 -webkit-filter:brightness(5000%);
 filter:brightness(5000%);
}
#sidebar ul li a:hover {
    color: #943825;
    background: #fbcda4;
    opacity: 1;
  filter: alpha(opacity=100);
}
#sidebar ul li a:hover img{
filter:invert();
	  opacity: 0.6;
}

#sidebar ul li.active > a, #sidebar a[aria-expanded="true"] {
    color: #fff;
    background: #da8e31;
    border-left: solid 8px #FBCDA4;
    -webkit-box-shadow: 0px 9px 8px -6px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 9px 8px -6px rgba(0,0,0,0.6);
    box-shadow: 0px 9px 8px -6px rgba(0,0,0,0.6);
    opacity: 1;
    filter: alpha(opacity=100);
}
#sidebar ul li.active > a:hover img{
    -webkit-filter:brightness(5000%);
    filter:brightness(5000%);
}

a[data-toggle="collapse"] {
    position: relative;
}
ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article, a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: #FBCDA4;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #fff;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    transition-delay: 0.2s;
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}


#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}

#sidebar ul li.active > a img{
    margin-top:-5px;
}
/* ---------------------------------------------------
    CONTENT (contenido)
----------------------------------------------------- */
#content {
    min-height: 100vh;
    transition: all 0.3;
    width: 100%;
}
.tab-pane {
    padding: 20px;
}
h3{
    color: #943825;
    font-weight: bold;
    font-size: 2em;
    margin: 0;
    margin-bottom: 20px;
}
h4{
    color: #943825;
    font-size: 1.3em;
    margin: 0;
    margin-bottom: 20px;
}
h5{
    color: #943825;
    font-size: 1em;
    margin: 0;
    margin-bottom: 10px;
}

p.espacio{
    height: 30px;
}
img.iconos{
    width: 80px;
    margin: 0 !important;
}
p.descargar{
    text-align: center;
}
.azul{
    display: block;
    margin:20px 0;
    padding:10px 30px;
    background: #fff5ea;
}
.naranja_claro{
	display: block;
    margin:20px 0;
    padding:10px 0 10px 30px;
	background: #fff5ea;}
p.resaltar{
    display: block;
    margin:20px 0;
    padding:10px 0 10px 30px;
    color:#943825;
    background: #eecba4;
}
#content img{
    margin: 30px auto;
}
p.citas{
    color: #296AB0;
    font-size: 0.8em;
    text-align: center;
}
#content a{
    color: #296AB0;
    text-decoration: underline;
}
table{
    width: 80%;
    margin: 20px auto;
    background: #fff5ea;
    text-align: center;
}
th{
    background: rgb(97,170,222);
    background: linear-gradient(90deg, rgba(97,170,222,1) 0%, rgba(199,232,255,1) 69%);
    text-align: center;
    color: #943825;
    font-weight: bold;
    padding: 10px;
    font-size: 1.1em;
}
td{
    padding: 10px;
    border: 2px solid white;
}
.sub{
    color: #296AB0;
    font-weight: bold;
}
.subth{
    background: #eecba4;
    color: #943825;
    font-weight: bold;
}

li.biblio{
	text-indent: -30px;
	list-style:none;
	padding-bottom: 10px;
}

 table.contentcita{
	width: 98%;
	border-right: 5px solid #DA8E31;
	background: #FFFFFF;
	
}
p.cita{
    color: #666;
  text-align: right;
font-style: italic;
	font-size: 1.1em;
	font-weight: 100;
   padding-right: 30px;
    
}
p.autorcita{
    
  text-align: right;
font-style:italic;
	font-size: 1.2em;
	font-weight: 400;
    color:#da8e31;
	padding-right: 30px;
    
}
table.tit_crono{
	width: 60%;
	margin: 20px auto;
	background: #fff5ea;
	
}
td.ico_crono{
	background: #FFF;
}

td.texto_crono{
	padding-left:30px;
	padding-right:15px;
	text-align: left;
	background: #fff5ea;}
/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
        transform: rotateY(90deg);
    }
    #sidebar.active {
        margin-left: 0;
        transform: none;
    }
    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }
    #sidebarCollapse.active span {
        margin: 0 auto;
    }
    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }
    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }
    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }
	#content {
		min-width: 100%;
	}

}

/* ---------------------------------------------------
    ESQUEMA DESARROLLO UNIDADES
----------------------------------------------------- */
div.esquema_contenido{
    width: 90%;
    margin: 20px auto;
}
.titulo_esq{
    background: #fff5ea;
    text-align: center;
    font-size: 1.3em;
    color: #943825;
    font-weight: bold;
    padding: 10px;
}

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eeeeee;
    left: 50%;
    margin-left: -1.5px;
}

.timeline > li {
    margin-bottom: 20px;
    position: relative;
}

.timeline > li:before,.timeline > li:after {
content: " ";
display: table;
}
.timeline > li:after {
clear: both;
}
.timeline > li > .timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 20px;
    padding: 20px;
    position: relative;
}
.timeline > li > .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " ";
}
.timeline > li > .timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}
.timeline > li > .timeline-badge {
    width: 30px;
    height: 30px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -15px;
    background-color: #999999;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}
.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    text-align: right;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.c1 {
    background-color: #943825 !important;
}

.c2 {
    background-color: #b5612b !important;
}

.c3 {
    background-color: #da8e31 !important;
}

.c4 {
    background-color: #008dcd !important;
}

.c5 {
    background-color: #004685 !important;
}
.c6 {
    background-color: #58758e !important;
}
.c7 {
    background-color: #03274c!important;
}
.c8 {
    background-color: #68cff3 !important;
}
.timeline-heading{
    padding: 15px 30px 1px;
    -webkit-box-shadow: 10px 10px 0px -6px rgba(0,0,0,0.09);
    -moz-box-shadow: 10px 10px 0px -6px rgba(0,0,0,0.09);
    box-shadow: 10px 10px 0px -6px rgba(0,0,0,0.09);
    border-radius: 60px 0px 200px 0px;
}
.timeline > li > .timeline-panel > .timeline-heading, .timeline > li.timeline-inverted > .timeline-panel >.timeline-heading{
    border-radius: 60px;
border: 0px solid #000000;
}
.timeline-title {
    color: white;
    padding: 10px;
}
.timeline-body{
    margin-top: 30px;
}
.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}
.timeline-body > p + p {
    margin-top: 5px;
}

@media (max-width: 1000px) {
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }

    ul.timeline > li > .timeline-badge {
        left: 15px;
        margin-left: 0;
        top: 16px;
    }

    ul.timeline > li > .timeline-panel {
        float: right;
    }

        ul.timeline > li > .timeline-panel:before {
            border-left-width: 0;
            border-right-width: 15px;
            left: -15px;
            right: auto;
        }

        ul.timeline > li > .timeline-panel:after {
            border-left-width: 0;
            border-right-width: 14px;
            left: -14px;
            right: auto;
        }

    .timeline > li.timeline-inverted > .timeline-panel {
        text-align: left;
    }
}