
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face{
    font-family:"gooddog";
    src:url('../../fonts/gooddog-webfont.eot');
    src:url('../../fonts/gooddog-webfont.eot?iefix') format('eot'),
    url('../../fonts/gooddog-webfont.woff') format('woff'), 
    url('../../fonts/gooddog-webfont.otf') format('opentype'), 
    url('../../fonts/gooddog-webfont.svg') format('svg')
}
@font-face{
    font-family:"puritan_regular";
    src:url('../../fonts/puritan_regular-webfont.eot');
    src:url('../../fonts/puritan_regular-webfont.eot') format('eot'),
    url('../../fonts/puritan_regular-webfont.woff') format('woff'), 
    url('../../fonts/puritan_regular-webfont.ttf') format('opentype'), 
    url('../../fonts/puritan_regular-webfont.svg') format('svg')
}
body{
    background: #fff url("../images/varios/background.png");
    font-family: "puritan_regular", Arial, helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
}
img{
    max-width: 100%;
    height: auto;
}
h1,h2,h3,h4,h5,h6,p{
    margin-bottom: 0;
}
.fondo-header{
    background: url('../images/varios/header.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 160px;
}
header .navbar>.container-fluid{
    flex-direction: column;
}
header ul li{
    margin: 0 10px;
}
header ul li a.nav-link {
    font-family: "gooddog", Arial, helvetica, sans-serif;
    color: #FFFFFF;
    font-size: 20px;
    position: relative;
}
header ul li a.nav-link.sin-icono::before{
    background-image: none;
    position: relative;
}
header ul li a.nav-link::before{
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    background-image: url('../images/varios/list.png');
    background-size: contain;
    width: 7px;
    height: 6px;
}
main h1{
    font-family: "gooddog", Arial, helvetica, sans-serif;
    font-weight: 400;
    font-size: 30px;
    color: #004f9e;
    text-transform: uppercase;
    text-align: center;
}
main h3,
h3{
    font-family: "gooddog", Arial, helvetica, sans-serif;
    font-weight: 400;
    font-size: 30px;
    color: #004f9e;
    text-transform: uppercase;
    text-align: center;
}
.titulo-escuela{
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}
h4{
    font-family: "gooddog", Arial, helvetica, sans-serif;
    font-weight: 400;
    font-size: 30px;
    color: #004f9e;
    text-transform: uppercase;
    text-align: center;
}
main div.linea-azul{
    background-color: #004f9e;
    width: 100%;
    height: 3px;
    margin: 10px auto;
}
main p{
    text-align: center;
}
main p span{
    font-style: italic;
    font-family: "puritan_regular", Arial, helvetica, sans-serif;
    font-weight: 400;
    
}
.negrita{
    font-style: normal;
    font-family: "puritan_regular", Arial, helvetica, sans-serif;
    font-weight: 400;
}
main .chanchi{
    background-image: url("../images/varios/chanchi.png");
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    min-height: 600px;
    left: -35%;
}
.min-height-350px{
    min-height: 250px;
}
main .texto-chanchi{
    position: absolute;
    bottom: 0;
    right: -40%;
    width: 50%;
    text-align: center;
}
main .texto-chanchi p{
    font-size: 12px;
    font-family: "puritan_regular", Arial, helvetica, sans-serif;
    font-weight: 400;
}
main .texto-chanchi img{
    height: 100px;
}
.escuela-item{
    height: 470px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.galeria-escuela .escuela-item{
    height: 230px;
}
.escuela-item h2{
    font-family: "gooddog", Arial, helvetica, sans-serif;
    font-weight: 400;
    font-size: 30px;
    color: #004f9e;
    height: 100px;
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.escuela-item .borde-azul{
    border: 15px solid #004f9e;
}
.escuela-item .borde-azul img{
    width: 100%;
    height: 330px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}
.galeria-escuela .escuela-item .borde-azul img{
    height: 200px;
}
.escuela-item a.btn-ver{
    background-color: rgba(255, 255, 255, 0.9);
    color: #004f9e;
    text-decoration: none;
    font-family: "gooddog", Arial, helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    cursor: pointer;
    display: block;
    width: 100px;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-60%,-50%);
    opacity: 0;
    transition: all .5s ease;
}
.escuela-item:hover a.btn-ver{
    opacity: 1;
    transition: all .5s ease;
}
a.btn-atras{
    background-color: #FFFFFF;
    color: #004f9e;
    text-decoration: none;
    font-family: "gooddog", Arial, helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    cursor: pointer;
    display: block;
    width: 150px;
    border: 1px solid #004f9e;
    text-align: center;
    border-radius: 10px;
    margin: 0 auto;
    transition: all 1s ease;
}
a.btn-atras:hover{
    background-color: #004f9e;
    color: #FFFFFF;
}
.min-height-350px{
    min-height: 350px !important;
}
.ratio-16x9{
    background: transparent !important;
}
.contenedor-video{
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.contenedor-video .video-box,
.contenedor-video .video-box-tm,
.contenedor-video .video-box-tt,
.contenedor-video .video-box-expo1,
.contenedor-video .video-box-expo2,
.contenedor-video .video-box-stella-tm,
.contenedor-video .video-box-stella-tt,
.contenedor-video .video-box-jose-tm,
.contenedor-video .video-box-jose-tt,
.contenedor-video .video-box-tomasa-tm,
.contenedor-video .video-box-tomasa-tt,
.contenedor-video .video-box-emilio,
.contenedor-video .video-box-adela,
.contenedor-video .video-box-franklin-tm,
.contenedor-video .video-box-franklin-tt,
.contenedor-video .video-box-primer-presidente-tm,
.contenedor-video .video-box-primer-presidente-tt,
.contenedor-video .video-box-san-miguel-arcangel-tm,
.contenedor-video .video-box-san-miguel-arcangel-tt,
.contenedor-video .video-box-maestro-herminio-tm,
.contenedor-video .video-box-maestro-herminio-tt,
.contenedor-video .video-box-samaniego-tm,
.contenedor-video .video-box-samaniego-tt,
.contenedor-video .video-mcal-estigarribia-tm,
.contenedor-video .video-mcal-estigarribia-tt,
.contenedor-video .video-mcal-estigarribia-tt,
.contenedor-video .video-box-republica-dominicana,
.contenedor-video .video-box-republica-oriental{
    width: 100%;
    height: auto;
    border: 15px solid #e40613;
    position: relative;
}
.contenedor-video button{
    font-family: "gooddog", Arial, helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    display: inline-block;
    border: 1px solid #004f9e !important;
    background-color: #004f9e !important;
    color: #FFFFFF !important;
    width: 150px;
    height: 50px;
    margin: 15px;
    padding: 0;
}
#wrapper_video,
#wrapper_videoEspanaTM,
#wrapper_videoEspanaTT,
#wrapper_videoExpo1,
#wrapper_videoExpo2,
#wrapper_videoStellaTM,
#wrapper_videoStellaTT,
#wrapper_videoJoseTT,
#wrapper_videoJoseTM,
#wrapper_videoTomasaTM,
#wrapper_videoTomasaTT,
#wrapper_videoEmilio,
#wrapper_videoAdela,
#wrapper_videoFranklinTM,
#wrapper_videoFranklinTT,
#wrapper_videoPrimerPresidenteTM,
#wrapper_videoPrimerPresidenteTT,
#wrapper_videoSanMiguelArcangelTM,
#wrapper_videoSanMiguelArcangelTT,
#wrapper_videoMaestroHerminioTM,
#wrapper_videoMaestroHerminioTT,
#wrapper_videoSamaniegoTM,
#wrapper_videoSamaniegoTT,
#wrapper_videoMcalEstigarribiaTM,
#wrapper_videoMcalEstigarribiaTT,
#wrapper_videoRepublicaDominicana,
#wrapper_videoRepublicaOriental {
    position: relative !important;
    width: 100%;
    padding-top: 56.25%;
    min-width: initial !important;
    min-height: initial !important;
}
#iframe_video,
#iframe_videoEspanaTM,
#iframe_videoEspanaTT,
#iframe_videoExpo1,
#iframe_videoExpo2,
#iframe_videoStellaTM,
#iframe_videoStellaTT,
#iframe_videoJoseTT,
#iframe_videoJoseTM,
#iframe_videoTomasaTM,
#iframe_videoTomasaTT,
#iframe_videoEmilio,
#iframe_videoAdela,
#iframe_videoFranklinTM,
#iframe_videoFranklinTT,
#iframe_videoPrimerPresidenteTM ,
#iframe_videoPrimerPresidenteTT,
#iframe_videoSanMiguelArcangelTM,
#iframe_videoSanMiguelArcangelTT,
#iframe_videoMaestroHerminioTM,
#iframe_videoMaestroHerminioTT,
#iframe_videoSamaniegoTM,
#iframe_videoSamaniegoTT,
#iframe_videoMcalEstigarribiaTM,
#iframe_videoMcalEstigarribiaTT,
#iframe_videoRepublicaDominicana,
#iframe_videoRepublicaOriental{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin-left: 0 !important;
}
.carousel-control-next, 
.carousel-control-prev,
.btn-close{
    opacity: 1;
}
footer a{
    display: inline-block;
    font-family: "puritan_regular", Arial, helvetica, sans-serif;
    font-weight: 400;
    text-align: center;
}
footer a img{
    display: inline-block;
    height: 80px;
}
footer p{
    color: #999999;
    font-family: "puritan_regular", Arial, helvetica, sans-serif;
    font-weight: 400;
    font-size: 12px;
}
/* RESPONSIVE */
@media screen and (min-width: 1300px){
    .galeria-escuela .col-xl-3{
        width: 20%;
    }
}
@media screen and (max-width: 991px) {
    header .navbar>.container-fluid{
        flex-direction: row;
    }
    main .chanchi{
        min-height: 550px;
    }
    .escuela-item a.btn-ver{
        opacity: 1;
    }
    .ratio-16x9{
        background: transparent !important;
        height: 90vh;
    }
    .titulo-escuela{
        min-height: 150px;
    }
    .escuela-item h2{
        height: auto;
    }
}
@media screen and (max-width: 768px){
    main .chanchi {
        min-height: 350px;
        left: 0;
    }
    main .chanchi .texto-chanchi{
        right: 0;
    }
}
@media screen and (max-width: 500px) {
    main .texto-chanchi img {
        height: 50px;
    }
    .contenedor-video button{
        margin: 5px;
    }
}