html{
    font-size: 10px;
}
@font-face {
	font-family: open sans;
	src: url("../font/OpenSans-Bold.woff") format("truetype");
}
@font-face {
	font-family: open sans;
	src: url("../font/OpenSans-Bold.ttf") format("truetype");
}
@font-face {
	font-family: montserrat;
	src: url("../font/Montserrat-Medium.woff") format("truetype");
}
@font-face {
	font-family: montserrat;
	src: url("../font/Montserrat-Medium.ttf") format("truetype");
}
@font-face {
    font-family: branding sf;
    src: url("../font/BrandingSF-Medium.woff") format("truetype");
}
@font-face {
    font-family: branding sf;
    src: url("../font/BrandingSF-Medium.ttf") format("truetype");
}
body{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
    margin: 0%;
}
.menuPrincipal{
    width: 100%;
    height: 100%;
}
.header{
    width: 100%;
    height: 5rem;
    position: fixed;
    top: 0%;
    z-index: 1;
    background-color: #ffffff;
    background-image: url(../img/pleca1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.headerDatos{
    width: 100%;
    height: 100%;
    max-width: 1024px;
    margin: auto;
}

.carousel {
    width: 100%;
    height:44rem;
    position: relative;
    /*margin-top: 5rem;*/
}

.headerimg{
    width: 100%;
    height:44rem;
    position: absolute;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center;
}
.headerimglogo{
	background-image: url(../img/logosecretariaeducacion.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 30%;
    height: 40rem;
    position: relative;
    left: 10%;
    display: inline-block;
}
.headerimg1{
    background-image: url(../img/fondo-educacion.png);
}
.headerimg2{
    background-image: url(../img/img2.png), url(../img/p_headerimg2.png);
}
.headerimg3{
    background-image: url(../img/img2.png), url(../img/p_headerimg3.png);
}
.d_txtImg{
    position: absolute;
    width: 25%;
    height: 6rem;
    display: inline-block;
    left: 67%;
    top: 44%;
    color: #ffffff;
    font-family: branding sf;
    font-weight: bold;
    font-size: 3.5rem;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .5);
}
section{
    width: 100%;
    margin-top: 4rem;
    position: relative;
}
.sectionDatos{
    width: 100%;
    top: 50%;
    max-width: 1024px;
    margin: auto;
    display: flex;
    justify-content: center;
}
.d_contenedorIzquierda{
    width: 50%;
    position: relative;
    display: inline-block;
}
.d_contenedorDerecha{
    width: 50%;
    position: relative;
    display: inline-block;
}
.conteBoton1, .conteBoton2, .conteBoton3, .conteBoton4, .conteBoton5, .conteBoton6, .conteBoton7, .conteBoton8{
    width: 70%;
    position: relative;
    left: 10%;
    height: 24rem;
    margin: 2rem 5%;
}
.boton1, .boton2, .boton3, .boton4, .boton5, .boton6, .boton7, .boton8, #FAQimg{
    width: 100%;
    height: 84%;
    float: left;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    cursor: pointer;
}
.boton1, .boton2, .boton3, .boton4, .boton5, .boton6, .boton7, .boton8, #boton8Container2{
    border-radius: 10px;
}
.boton1:hover, .boton2:hover, .boton3:hover, .boton4:hover, .boton5:hover, .boton6:hover, .boton7:hover, .boton8:hover{
    transform: scale(1.05);
}
.boton1{
    background-image: url(../img/img3.png); 
}
.boton2{
    background-image: url(../img/img4.png);
}
.boton3{
    background-image: url(../img/img5.png);
}
.boton4{
    background-image: url(../img/img6.png);
}
.boton5{
    background-image: url(../img/img7.png);
}
.boton6{
    background-image: url(../img/img8.png);
}
.boton7{
    background-image: url(../img/img9.png);
}
.boton8{
    display: flex;
    background-image: url(../img/img10.png);
}
#FAQimg{
    background-image: url(../img/img11_1.png);
}
.boton1txt {
    width: 100%;
    height: 16%;
    float: left;
    color: #004c8c;
    font-family: branding sf;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
}
footer{
    width: 100%;
    position: relative;
    display: table;
    background-color: #15212F;
    margin-top: 40px;
}
.footerDatos{
    width: 100%;
    height: 100%;
    max-width: 1024px;
    display: table;
    margin: auto;
    margin-bottom: 3rem;
}
.d_txt1, .d_txt2, .d_txt3, .d_txt4, .d_txt5{
    width: 20%;
    height: 6rem;
    position: relative;
    float: left;
    font-family: branding sf;
    font-size: 1.5rem;
    color: #ffffff; 
    text-align: left;
    justify-content: center;
    white-space:nowrap;
    cursor: pointer;
}
.d_txt1 span, .d_txt2 span, .d_txt3 span, .d_txt4 span{
    font-size: 2rem;
    font-weight: bold;
}
.d_txt5Img{
    width: 10%;
    height: 1.7rem;
    position: relative;
    float: left;
    background-image: url(../img/icono1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.d_footerDatos2{
    width: 100%;
    position: relative;
    float: left;
}
.logo3{
    width: 30%;
    height: 15rem;
    position: relative;
    float: left;
    background-image: url(../img/nl-logo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 3rem 2%;
}
.d_menuFooter{
    width: 50%;
    height: 15rem;
    position: relative;
    float: right;
    margin: 3rem 5%;
}
.d_botonesFooterIzq, .d_botonesFooterDer{
    width: 50%;
    height:100%;
    position: relative;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.d_botonesFooterIzq{
    border-right: solid #ffffff 2px;
}
.d_botonFooter{
    width: 100%;
    height:25%;
    position: relative;
    float: left;
    font-family: branding sf;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff; 
    text-align: right;
    margin-left: -2rem;
    cursor: pointer;
}
.d_redes{
    width: 100%;
    height:50%;
    position: relative;
    float: left;
    margin-left: 2rem;
}
.d_red1, .d_red2, .d_red3, .d_red4, .d_red5{
    width: 20%;
    height: 65%;
    position: relative;
    float: left;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70%;
    cursor: pointer;
}
.d_red1{
    background-image: url(../img/icono2.png);
}
.d_red2{
    background-image: url(../img/icono3.png);
}
.d_red3{
    background-image: url(../img/icono4.png);
}
.d_red4{
    background-image: url(../img/icono5.png);
}
.d_red5{
    background-image: url(../img/icono6.png);
}
.d_botonDer1{
    width: 100%;
    height:25%;
    position: relative;
    float: left;
    font-family: branding sf;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff; 
    text-align: left;
    margin-left: 2rem;
    cursor: pointer;
}
.d_footerDatos3{
    width: 100%;
    position: relative;
    font-size: 1.4rem;
    text-align: center;
    display: flow-root;
}
.d_boton3_1, .d_boton3_2, .d_boton3_3{
    position: relative;
    font-family: branding sf;
    font-size: 1.2rem;
    color: #ffffff; 
    text-align: center;
    margin: 2rem 2%;
    cursor: pointer;
    text-decoration: none;
}
/*
==============================================
CSS MEDIA QUERIES MAX-HEIGHT 480px LANDSCAPE
==============================================
*/
@media only screen and (max-height: 480px) {
  
html{
    font-size: 4px;
}    
  
}
/*
==============================================
CSS MEDIA QUERIES MAX-WIDTH 520px PORTRAIT
==============================================
*/
@media only screen and (max-width: 550px) and (orientation: portrait) {

html{
    font-size: 4px;
}    
   
}

#boton8Container {
    margin: auto;
    width: 100%;
}

#FAQname {
    display: none;
    color: white;
    width: 70%;
    height: 50%;
    font-family: branding sf;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    right: 0;
    left: 0;
}

#FAQclose {
    display: none;
    position: absolute;
    width: 8%;
    right: 1%;
    top: 1%;
}

#FAQclose:hover {
    opacity: 1 !important;
}

#FAQright {
    display: none;
    position: absolute;
    transform: rotate(180deg);
    width: 10%;
    right: 0;
    top: 30%;
}

#FAQright:hover {
    opacity: 1 !important;
}

#FAQleft {
    display: none;
    position: absolute;
    width: 10%;
    top: 30%;
}

#FAQleft:hover {
    opacity: 1 !important;
}

.card {
    position: relative;
    display: block;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.container {
    padding: 2px 5% 2px 16px;
}

.card *{
    color: #6f899e;
    font-family: branding sf;
    font-size: 1.6rem;
}

.card .container h4{
    width: 100%;
    margin: 0;
    padding: 2% 0;
}

.card .container h4 b{
    color: #004c8c;
    font-size: 1.8rem;
    font-weight: bold;
}

.card .container .son{
    display: none;
}

.card .cardArrowLine {
    position: absolute;
    top: 10%;
    right: 1%;
    float: right;
    height: 80%;
    width: 30px;
}

.cardArrowLine1 {
    position: absolute;
    transform: rotate(45deg);
    background: #004784;
    width: 50%;
    height: 5px;
    top: 50%;
    left: 10.5%;
    border-radius: 3px;
}

.cardArrowLine2 {
    position: absolute;
    transform: rotate(-45deg);
    background: #004784;
    width: 50%;
    height: 5px;
    top: 50%;
    right: 10.5%;
    border-radius: 3px;
}

.sectionFAQ,.sectionLibros {
    width: 100%;
    top: 50%;
    max-width: 1024px;
    margin: auto;
    justify-content: center;
}

/************************************************************************** css para libros *****************************************************************************/

.p_article {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    display: table;
}

.p_articlecenter {
    width: 96%;
    max-width: 1024px;
    margin: auto;
    display: table;
}

.p_articletitle {
    width: 100%;
    font-family: branding sf;
    font-size: 2.2rem;
    text-align: left;
    font-weight: bold;
    color: #808080;
    float: left;
}

.p_articleline {
    width: 100%;
    height: 6px;
    float: left;
    background: linear-gradient(white, #a9a9a9,#fff7f7, white);
}

.p_articleconte {
    width: 100%;
    float: left;
    position: relative;
}

#lista2 {
    counter-reset: li;
     list-style: none;
     *list-style: decimal;
     font: 15px 'trebuchet MS', 'lucida sans';
    padding: 0;
    margin-bottom: 4em;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
#lista2 ol {
    margin: 0 0 0 2em;
 }
#lista2 li{
    position: relative;
    display: block;
    padding: .4em .4em .4em 2em;
    *padding: .4em;
    margin: .5em 0;
    background: #ddd;
    color:#4d4d4d;
    text-decoration: none;
    border-radius: .3em;
    transition: all .3s ease-out;
   }
#lista2 li:hover{
    background: #eee;
}
#lista2 li:hover:before{
    transform: rotate(360deg);
  }
#lista2 li:before{
    content: '6°';
    counter-increment: li ;
    color:#f2f2f2;
    position: absolute;
    left: -1.3em;
    top: 50%;
    margin-top: -1.3em;
    background: rgb(0, 177, 233);
    height: 2em;
    width: 2em;
    line-height: 2em;
    border: .3em solid #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 2em;
    transition: all .3s ease-out;
}


#lista2 ul{
    position: relative;
    display: block;
    padding: .4em .4em .4em 2em;
    *padding: .4em;
    margin: .5em 0;
    background: #ddd;
    color:#4d4d4d;
    text-decoration: none;
    border-radius: .3em;
    transition: all .3s ease-out;
   }
#lista2 ul:hover{
        cursor:pointer;
    background-color:rgba(0, 177, 233, .35)}
#lista2 ul:hover:before{
    transform: rotate(360deg);
  }
#lista2 a {
    text-decoration: none;
}

/**************************************/

.lista2 {
    counter-reset: li;
     list-style: none;
     *list-style: decimal;
     font: 15px 'trebuchet MS', 'lucida sans';
    padding: 0;
    margin-bottom: 4em;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.lista2 ol {
    margin: 0 0 0 2em;
 }
.lista2 li{
    position: relative;
    display: block;
    padding: .4em .4em .4em 2em;
    *padding: .4em;
    margin: .5em 0;
    background: #ddd;
    color:#4d4d4d;
    text-decoration: none;
    border-radius: .3em;
    transition: all .3s ease-out;
   }
.lista2 li:hover{
    background: #eee;
}
.lista2 li:hover:before{
    transform: rotate(360deg);
  }
.lista2 li:before{
    content: '6°';
    counter-increment: li ;
    color:#f2f2f2;
    position: absolute;
    left: -1.3em;
    top: 50%;
    margin-top: -1.3em;
    background: rgb(0, 177, 233);
    height: 2em;
    width: 2em;
    line-height: 2em;
    border: .3em solid #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 2em;
    transition: all .3s ease-out;
}

.lista2quinto li:before{
    content: '5°';
}

.lista2cuarto li:before{
    content: '4°';
}

.lista2tercero li:before{
    content: '3°';
}

.lista2segundo li:before{
    content: '2°';
}

.lista2primero li:before{
    content: '1°';
}

.lista2 ul{
    position: relative;
    display: block;
    padding: .4em .4em .4em 2em;
    *padding: .4em;
    margin: .5em 0;
    background: #ddd;
    color:#4d4d4d;
    text-decoration: none;
    border-radius: .3em;
    transition: all .3s ease-out;
   }
.lista2 ul:hover{
        cursor:pointer;
    background-color:rgba(0, 177, 233, .35)}
.lista2 ul:hover:before{
    transform: rotate(360deg);
  }
.lista2 a {
    text-decoration: none;
}

/**************************************/

#boton8Container2 {
    display: none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(../img/img11.png);
    width: 100%;
    height: 100%;
}

#FAQimg {
    height: 50%;
    margin: 0 auto;
}

@media only screen and (max-width: 550px) and (orientation: portrait) {
    .logo3, .d_menuFooter{
        width: 100%;
    }
    .d_redes a div{
        width: 10%;
    }
   
}