* {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif, Tahoma;
}

/*    TOP HEADER     */
.top-header {
    background: white;
    width: 100%;
}
.nav.top-header {
    padding-left: 6%;
}
.top-header ul {
    padding-left: 5.5%;
}
.top-header a {
    text-decoration: none;
    color: #333473;
}
.top-header a:hover {
    text-decoration: underline;
}

.top-header li {
    margin: 4px 6px;
    font-size: 14px;
}

/*    FIN TOP HEADER     */

/*    HEADER     */

header {
    background-color: rgba(255, 255, 255, 0.96);
    width: 100%;
    position: fixed;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    z-index: 900;
}
header a {
    color: #333473;
}
header span {
    color: #333473;
}

/*    H LOGO     */

.logo {
    width: 170px;
    margin-left: 50px;
}
/*    FIN H LOGO     */

/*     H MENU     */

.menu {
    margin-left: 4.8%;
    text-align: left;
}
.menu li {
    margin: 2%;
    padding: 5px 3px;
}
.menu li:hover {
    border-bottom: 1px solid rgba(51, 52, 115, 0.5);
    cursor: pointer;
}
.menu a {
    color: #333473;
    font-size: 13.5px;
}

.menu a:hover {
    text-decoration: none;
}
.dropdown-menu.programs {
    border-radius: 0;
    background-color: #333473;
    padding: 0;
    width: 220%;
}
.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown > .dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.dropdown-menu.programs a {
    font-size: 14px;
    color: white;
    padding: 17px;
    white-space: inherit;
}
.dropdown-menu.programs a:hover {
    background-color: #1c2770;
}

/*     FIN H MENU     */

/*    BOTON INSCRIPCIONES     */

.inscripciones {
    text-decoration: none;
    background-color: #00a268;
    padding: 13px 10px;
    font-size: 13px;
    color: white;
    height: 45px;
    text-align: center;
    margin: 2%;
}
.inscripciones:hover {
    text-decoration: none;
    color: white;
}
.inscripciones:before {
    content: "";
    display: block;
    height: 230%;
    width: 10px;
    position: absolute;
    left: -30px;
    top: -20px;
    box-shadow: inset 7px 0px 8px -6px rgba(0, 0, 0, 0.15);
    -moz-transform: skewX(0deg) skewY(-25deg);
    -webkit-transform: skewX(0deg) skewY(-25deg);
    -o-transform: skewX(0deg) skewY(-25deg);
    -ms-transform: skewX(0deg) skewY(-25deg);
    transform: skewX(0deg) skewY(-25deg);
}

/*   FIN BOTON INSCRIPCIONES     */

/*    FIN HEADER     */

/*     BODY     */

/*     INICIO     */
.inicio {
    background-image: url(../image/slider.png);
    height: 800px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inicio > div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.inicio > div h1 {
    width: 80%;
    font-size: 46px;
    color: white;
    text-align: center;
}

/*    BOTONES     */

.botones {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 50px;
}

.botones a {
    text-decoration: none;
    font-size: 14px;
    color: white;
    font-weight: 800;
    width: 49.5%;
    padding: .8em 1em;
    text-align: center;
}
.btn1 {
    /* padding: 12px 45px; */
    background-color: rgb(0, 158, 215);
    border-radius: 3px;
}
.btn1:hover {
    color: rgb(0, 158, 215);
    background-color: white;
    transition-duration: 0.2s;
    text-decoration: none;
}
.btn2 {
    /* padding: 12px 99px; */
    background-color: rgb(0, 162, 104);
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.btn2:hover {
    color: rgb(0, 162, 104);
    background-color: white;
    transition-duration: 0.2s;
    text-decoration: none;
}

/*   FIN BOTONES     */

/*    BANNER     */
.banner {
    background-image: url(../image/banner.png);
    background-size: cover;
    width: 100%;
    height: 430px;
    color: white;
    padding-top: 6%;
}
.banner h1,
.banner p {
    margin: auto;
    width: 58%;
    text-align: center;
}
.banner h1 {
    font-size: 38px;
    margin-bottom: 1%;
}
.banner p {
    font-size: 27px;
}

/*    FIN BANNER     */

/*   PROGRAMAS    */
.protit {
    margin: 5% 0%;
}

.protit h3 {
    color: #00a268;
    width: 32%;
    margin-top: 1%;
    font-size: 18px;
}
.programas {
    margin: 5%;
    color: #333473;
}
.programas h1 {
    font-size: 26px;
    font-weight: 100;
    width: 100%;
    text-align: left;
    padding: 2% 0;
}
.protit h1 {
    color: #333473;
    font-size: 40px;
    font-weight: 600;
    width: 90%;
    margin: 0;
    padding: 0;
}
.programas p {
    line-height: 25px;
    font-size: 15px;
    width: 95%;
    height: 130px;
    text-align: justify;
}
.programas button {
    border: none;
    background-color: #009ed7;
    color: white;
    cursor: pointer;
    width: 100%;
    padding: 8% 0;
    font-size: 19px;
    font-weight: bold;
    transition-duration: 0.6s;
}
.programas button:hover {
    background-color: #333473;
}

/*    FIN PROGRAMAS     */

/*    CONOCENOS     */

.conocenos {
    background-color: #1c2770;
    color: white;
    width: 98.9%;
}
.conocenos h1 {
    font-size: 35px;
    padding: 6% 3%;
}
.conocenos h2 {
    font-weight: 100;
    font-size: 25px;
    padding: 0 3%;
}
.conocenos h3 {
    padding: 0 3%;
    font-size: 16px;
}
.conocenos p {
    font-size: 14px;
    padding: 1% 3%;
    line-height: 25px;
}
.conocenos button {
    margin: 0 3%;
    padding: 2% 4%;
    color: white;
    background-color: #0095eb;
    border: none;
    margin-bottom: 5%;
}
.collage {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    width: 90%;
}
.collage img {
    width: 100%;
    transition: margin 0.5s ease;
    max-height: 258px;
}
.collage img:hover {
    cursor: pointer;
    margin-top: -10px;
}

/*    FIN CONOCENOS     */

/*    NOTICIAS     */

.blog h1 {
    font-weight: bold;
    text-align: center;
    margin-top: 2%;
    margin-left: 3%;
    margin-bottom: 5%;
}

.blog h1,
.blog p {
    color: #1c2770;
    text-align: left;
}
.autor-fecha p {
    font-size: 15px;
    margin-top: 3%;
    margin-left: 3%;
    color: dodgerblue;
}
.extras {
    margin-top: 15%;
}

/*    FIN NOTICIAS     */

/*    INFORMES     */

.texto {
    margin: 5%;
}
.informes .row {
    padding-bottom: 4%;
}
.informes p {
    color: #333473;
}
.informes b {
    font-size: 20px;
}
.informes h3 {
    font-size: 28px;
    color: #333473;
}
.informes span {
    content: "";
    width: 100%;
    display: flex;
    border-top: 1px solid rgba(51, 52, 115, 0.8);
    margin-bottom: 5%;
}
.informes form {
    color: #333473;
    margin-top: 3%;
}
.informes input,
.informes textarea {
    margin: 2% 1%;
}
.informes select,
.informes label {
    margin-left: 1%;
}

/*   FIN INFORMES     */

/*     ¿QUIENES SOMOS?     */

.top-page {
    background-image: url(../image/slider-quienes-somos.png);
    background-repeat: no-repeat;
    background-size: container;
    background-position: center;
    height: 400px;
    margin-top: 10.2%;
}
.top-page h1 {
    color: white;
    text-align: center;
    font-size: 45px;
    font-weight: bold;
    margin: auto;
    margin-top: 7%;
}

#navegador {
    cursor: pointer;
    color: black;
    font-weight: bold;
}
#navegador a.active {
    color: rgb(0, 158, 215);
    border: none;
    background: none;
    border-bottom: 2px solid rgb(0, 158, 215);
}
#cont-navegador {
    border-bottom: 1px solid #1c2770;
    padding: 2%;
}
#cont-navegador li {
    margin-bottom: 1%;
}
#top-footer {
    background-color: #00cc66;
    color: white;
    text-align: center;
    padding: 1.3%;
    text-decoration: none;
    font-size: 17px;
}
#top-footer:hover {
    background-color: #00bc66;
    transition: all 0.5s;
}

/*    FIN ¿QUIENES SOMOS?     */

/*    METODOLOGIA MONTESSORI     */

.slide-meto {
    height: 400px;
    margin-top: 10.2%;
    background-image: url(../image/Metodologia-Montessori-Veracruz.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
#bottom-slide-meto {
    background-image: url(../image/medodologia-montessori-1024x576.jpg);
    height: 500px;
}

/*   FIN METODOLOGIA MONTESSORI     */

/*    TALLER     */

.slide-nido {
    background-image: url(../image/portada_taller.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
    margin-top: 10.2%;
}
.slide-nido h1 {
    color: white;
    margin-top: 8%;
}


/*    FIN TALLER     */

/*    ESPIRAL     */

.slide-espiral {
    background-image: url(../image/guarderia-highland-montessori-veracruz-1024x383.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
    margin-top: 10.2%;
}
.slide-espiral h1 {
    color: white;
    margin-top: 8%;
}

/*    FIN ESPIRAL     */

/*    COM.MATERNAL     */

.slide-maternal {
    background-image: url(../image/maternal-montessori-veracruz-1024x383.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
    margin-top: 10.2%;
}
.slide-maternal h1 {
    color: white;
    margin-top: 10%;
    font-size: 48px;
}

/*    FIN COM.MATERNAL     */

/*    CASA DE NIÑOS     */

.slide-casa {
    background-image: url(../image/kinder-montessori-veracruz.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    margin-top: 10.2%;
}
.slide-casa h1 {
    color: white;
    margin-top: 10%;
    font-size: 45px;
}
.efecto img:hover {
    transform: translateY(-0.5rem);
    transition: all 0.5s;
}

/*    FIN CASA DE NIÑOS     */

/*    CLUB DE LECTURA     */

.slide-lectura {
    background-image: url(../image/taller-de-lectura-infantil-veracruz.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    margin-top: 10.2%;
}
.slide-lectura h1 {
    color: white;
    margin-top: 10%;
    font-size: 45px;
}

/*    FIN CLUB DE LECTURA     */

/*    ADMISIONES     */

.slide-admisiones {
    background-image: url(../image/Adminisiones-colegio-montessori.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    margin-top: 10.2%;
}
.slide-admisiones h1 {
    color: white;
    margin-top: 10%;
    font-size: 45px;
}
.terapia {
    background-image: url(../image/guia-montessori-veracruz.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
}
.terapia button {
    padding: 1%;
    color: white;
    background-color: #00cc66;
    border: none;
    margin: 4%;
}
.terapia p {
    font-size: 12px;
    line-height: 2;
}
.comkin button {
    padding: 5% 3%;
    margin-bottom: 5%;
    font-size: 24px;
    color: white;
    background-color: #009ed7;
    border: none;
}
.comkin button:hover {
    background-color: #333473;
    transition: all 0.8s;
}
.comkin {
    padding: 5%;
}
.effect {
    background-color: #00a268;
    color: white;
}
.effect:hover {
    background-color: #00cc66;
    cursor: pointer;
    transition: all 0.8s;
}

/*    FIN ADMISIONES     */

/*    AVISO DE PRIVACIDAD     */

.slide-aviso {
    background-color: rgba(28, 39, 112, 1);
    height: 400px;
    margin-top: 10.2%;
}
.slide-aviso h1 {
    color: white;
}

/*    FIN AVISO DE PRIVACIDAD     */

/*    CURRICULUM MONTESSORI     */

.slide-curriculum {
    background-image: url(../image/curriculum-montessori-veracruz.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
    margin-top: 10.2%;
}
.slide-curriculum h1 {
    color: white;
    margin-top: 8%;
    font-size: 45px;
}

/*    FIN CURRICULUM MONTESSORI     */

/*    FOOTER     */

footer {
    color: white;
}
footer p {
    margin-left: 3%;
}
footer i {
    color: white;
}
footer h1 {
    font-size: 18px;
    margin: 2% 3%;
    font-weight: bold;
}
footer img {
    margin: 4%;
}

/*   FIN FOOTER     */

/*     MEDIAS     */

@media (max-width: 767px) {
    header {
        position: inherit;
    }
    .nav.top-header {
        padding: 0;
    }
    .inicio {
        height: 600px;
    }
    .inicio h1 {
        font-size: 32px;
        margin: auto;
        margin-top: 20%;
    }
    .logo {
        margin: none;
    }

    .menu {
        background-color: #333473;
        animation-name: menu;
        animation-duration: 1s;
        height: 100%;
        float: right;
    }
    .menu li {
        margin: 5%;
    }
    .menu a {
        color: white;
    }

    .menu a:hover {
        text-decoration: none;
    }
    #menumov {
        background-color: rgba(0, 0, 0, 0.7);
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 680px;
        z-index: 900;
    }
    @keyframes menu {
        from {
            width: 0;
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .inscripciones {
        margin: none;
    }
    .inscripciones:before {
        visibility: hidden;
    }
    .botones a {
        display: block;
        margin: 4% 0;
        text-align: center;
    }
    .banner {
        height: 500px;
    }
    .banner h1 {
        font-size: 30px;
        font-weight: bolder;
        width: 82%;
        margin-top: 18%;
    }
    .banner p {
        font-size: 20px;
        width: 100%;
        margin-top: 5%;
    }
    .protit h1 {
        font-size: 30px;
        width: 100%;
        font-weight: bold;
    }
    .protit h3 {
        font-size: 14px;
        font-weight: 600;
        width: 100%;
        text-align: center;
    }
    .programas h1 {
        text-align: center;
        font-size: 25px;
    }
    .programas img {
        margin-top: 40px;
    }
    .conocenos h1 {
        width: 100%;
        font-size: 30px;
        text-align: center;
    }
    .conocenos h2 {
        font-size: 25px;
        width: 100%;
        text-align: center;
    }
    .conocenos h3 {
        width: 100%;
        margin: 2% 0;
        font-size: 15px;
        text-align: center;
    }
    .conocenos p {
        font-size: 13px;
        width: 90%;
        padding: 1% 3%;
        line-height: 25px;
        margin: auto;
        text-align: center;
    }

    .collage img {
        width: 80%;
        height: 250px;
    }
    .collage {
        overflow: hidden;
        padding-bottom: 50px;
    }
    .blog h1 {
        font-size: 25px;
        font-weight: bold;
        text-align: center;
        margin: auto;
        margin-top: 10%;
        margin-bottom: 5%;
    }
    .noti h1 {
        text-align: left;
    }
    .noti {
        height: 560px;
    }
    .informes h3 {
        font-size: 18px;
        color: #333473;
        margin-top: 15%;
        margin-bottom: 5%;
        text-align: center;
    }
    .informes span {
        content: "";
        width: 70%;
        display: flex;
        border-top: 1px solid rgba(51, 52, 115, 0.8);
        margin: auto;
        margin-bottom: 10%;
    }
    .informes p {
        text-align: center;
        margin: auto;
    }
    .informes b {
        margin: auto;
        margin-top: 5%;
        margin-bottom: 6%;
    }
    .informes form {
        color: #333473;
    }
    .informes input,
    .informes textarea {
        margin: 10% 1%;
    }
    .informes select,
    .informes label {
        margin-left: 1%;
    }

    footer h1 {
        font-size: 16px;
        margin: 4%;
    }
    footer p {
        margin: 4%;
    }
    footer img {
        margin: 4%;
    }
    .top-page {
        margin-top: 0%;
        background-size: cover;
        height: 250px;
    }
    .top-page h1 {
        font-size: 30px;
        margin-top: 18%;
    }
    #quienes {
        font-size: 18px;
        text-align: center;
    }
    #cont-navegador {
        padding-top: 10%;
    }
    #cont-navegador li {
        margin-bottom: 2%;
        text-align: left;
        font-size: 17px;
    }
    #top-footer {
        padding: 4%;
    }
    .movil {
        font-size: 30px;
    }
    .slide-nido {
        height: 220px;
        margin-top: 0%;
        background-size: container;
        background-position: center;
    }
    .slide-nido h1 {
        font-size: 30px;
        margin-top: 12%;
    }
    .slide-meto {
        height: 170px;
        margin-top: 0%;
        background-image: url(../image/Metodologia-Montessori-Veracruz.jpg);
        background-size: container;
        background-position: center;
    }
    .container {
        text-align: center;
    }
    #bottom-slide-meto h3 {
        font-size: 22px;
        padding-top: 20%;
    }
    .slide-maternal {
        background-image: url(../image/maternal-montessori-veracruz-1024x383.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 230px;
        margin-top: 0%;
    }
    .slide-maternal h1 {
        font-size: 30px;
        margin-top: 20%;
    }
    .act {
        font-size: 30px;
        margin-bottom: 20%;
    }
    .slide-casa {
        background-size: cover;
        height: 220px;
        margin-top: 0%;
    }
    .slide-casa h1 {
        color: white;
        margin-top: 17%;
        font-size: 30px;
    }
    .espiral h1 {
        font-size: 31px;
    }
    .espiral p {
        font-size: 20px;
    }
    .efecto h1 {
        font-size: 32px;
    }
    .slide-lectura {
        height: 220px;
        margin-top: 0%;
    }
    .slide-lectura h1 {
        color: white;
        margin-top: 17%;
        font-size: 30px;
    }
    .slide-curriculum {
        background-size: cover;
        background-position: center;
        height: 220px;
        margin-top: 0;
    }
    .slide-curriculum h1 {
        color: white;
        margin-top: 21%;
        font-size: 25px;
    }
    .slide-admisiones {
        background-size: 600px;
        background-position: top;
        height: 200px;
        margin-top: 0%;
    }
    .slide-admisiones h1 {
        color: white;
        margin-top: 20%;
        font-size: 30px;
    }
    .terapia button {
        padding: 5%;
        color: white;
        background-color: #00cc66;
        border: none;
        margin: 5%;
    }
    .terapia p {
        font-size: 15px;
        line-height: 2;
    }
    .slide-aviso {
        background-color: rgba(28, 39, 112, 1);
        height: 200px;
        margin-top: 0%;
    }
    .slide-aviso h1 {
        color: white;
    }    
}

/* Grid for images that are breaking in safari */
.flex-container-img-grid {
    display: flex;
    width: 100%;
    justify-content: center;
}

.five-col-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 2em;
    row-gap: 2em;
}

.five-col-grid img {
    width: 90%;
}

.four-col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 2em;
    row-gap: 2em;
}

.four-col-grid img {
    width: 90%;
}

.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.three-col-grid img {
    width: 95%;
}

.two-col-grid {
    display: flex;
    width: 80%;
    justify-content: space-around;
}

.nido-container {
    background-color: #00A268;
    color: white;
    padding: 1em;
    max-width: 285px;
    margin-bottom: 50px;
}

.nido-container img {
    width: 127.5px;
}

.nido-container p {
    margin: 0px;
}

#badges-container {
    width: 60%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

#badges-container img{
    width: 24%;
}


@media only screen and (max-width: 992px) {
    .five-col-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .three-col-grid {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }    

    .three-col-grid img {
        width: 70%;
        margin-top: 20px;
    }

    .two-col-grid {
        width: 100%;
    }

    #badges-container {
        width: 80%;
    }

    .botones {
        flex-direction: column;
        align-items: center;
        height: 200%;
    }

    .botones a {
        width: 100%;
    }

    .btn1 {
        margin-bottom: 1em;
    }
}

@media only screen and (max-width: 767px) {
    .five-col-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .four-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .three-col-grid img {
        width: 100%;
    }

    .two-col-grid {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #badges-container {
        flex-direction: column;
        row-gap: 1em;
        align-items: center;
    }

    #badges-container img {
        width: 50%;
    }

    .inicio > div h1 {
        font-size: 36px;
    }
}

@media only screen and (max-width: 600px) {
    .five-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .five-col-grid img {
        width: 110%;
    }    

    .inicio > div h1 {
        font-size: 28px;
    }
}
