:root{
    --light-yellow: #FFCC42;
}
body{
    height: 100vh;
    background-color: rgb(255, 255, 255);
    overflow-x: hidden;
}


/*=======================etes====================*/
div.etes{
    /*font-size: 45px;*/
    display: inline-block;
    width: 80px;
    text-align: center;
}
@media (max-width:584px) {
    div.etes{
        margin: 5px 0;
    }
}
p{
    font-size: 30px;
}
#contenedor{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5px 25px 5px 25px ;
    margin: 15px;
    border: 10px;

}
.etes{
    /* background-color: var(--light-main); */
    color: var(--light-yellow);
}



/*======================Enlaces====================*/
.linksUnam{
    color: rgb(255, 249, 159);
    font-size: 15px;
    padding: 5px;
    margin: 10px;
    display: inline-block;
    border: solid 1px;
    width: 100px;
    text-align: center;

}
.linksUnam:hover{
    background-color: var( --light-yellow);
    color: white;
    transform: scale(1.1, 1.1)
}
#enlaces{
    display: inline-block;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: var(--main-color);
    margin: 10px auto;
    position:relative;
    top: 30px;

}
/* ==============================¿Que son las etes¿============================================= */
#queSonEtes{
    width: 96%;
    height: 5%;
    color: var(--main-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-left: 2%;
}
.linksEte{
    text-align: center;
    margin: 10px;
    display: inline-block;
    color: #0c3958!important;
}
.separador{
    width: 15px;
    height: 7px;
}





/*====================================GRID======================================*/


@media (max-width: 584px){
    .contenedor-principal{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .grid-Item{
        margin: .8rem 3rem;
    }

    #grid-Item-2{
        order: -1;
        margin: 2rem 3rem;
    }

    .el-carrusel{
        width: 100% !important;
        height: 100% !important;
    }
    .item-carrusel{
        height: 100%;
    }
    .el-carrusel .item-carrusel img{
        height: 100%;
        width: 100%;

    }

}






 @media(min-width: 584.1px){
     .el-carrusel{
         width: 100% !important;
         height: 100% !important;

     }

     /*.el-carrusel .carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    }*/

     .item-carrusel{
         height: 100%;
     }
     .el-carrusel .carousel-item img {
         /*height: 100% !important;
         width: auto!important;
         object-fit: cover !important;*/
         height: 100%;
         width: 100%;
     }

     #container-grid{
         display: grid;
         grid-template-rows: 50% 50%;
         grid-template-columns: 16% 68% 16%;

         height: 60vh;
         margin: 0 2rem;
     }

     .grid-Item{
         /* border: 2px solid black; */
         margin: 10px;

     }

     #grid-Item-2{
         grid-row: 1/3;
         grid-column: 2/3;
         padding-left: 5rem;
         padding-right: 5rem;
         /* justify-content: center; */
     }

     #header-Carrusel{
         display: flex;
         position: relative;
         width: 90%;
         height: 12%;
         /* background-color: red; */
         margin-left: 5%;
         margin-top: 0%;
         justify-content: space-around;
         align-items: center;
     }

     .carrusel_P{
         font-size: 1em;
     }
     #container-carrusel{
         margin: 0;
         width: 100%;
     }
     #anchoCarrusel{
         width: 100% !important;
     }

     .carousel-control-next-icon, .carousel-control-prev-icon {
         background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fdc300' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
         width: 40px;
         height: 40px;
     }

     /*==========Grid-Items =================*/
     #calendario-carrusel{
         height: 100%;
     }
     #banner-amarillo{
         height: 100%;
     }
     #banner-azul{
         height: 100%;
     }


 }












/*A este elemento le ponemos el un borde de color de la variable main*/

#grid-Item-4{
    display: flex;
    justify-content: center;
}
#grid-Item-5{
    background-color: #004379;
}

.grid-item-border{
    border: solid 2px var(--main-color) !important;

}

@media (min-width: 1400px) {
    /* Your CSS rules here */
    body {
        background-color: white;
    }
}


@media (min-width: 1200px) and (max-width: 1400px) {
    /* Your CSS rules here */
    body {
        /*background-color: lightblue;*/
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    /* Your CSS rules here */

    #contenedor{
        display: grid;
        row-gap: 10px;
        grid-template-columns: repeat(6, 1fr);
        grid-column: span 6; /* 5 images in the second row */
        padding-left: 90px;

    }
    div.etes{
        font-size: 0px;
    }

    #fo, #hi, #lq, #mr, #nt {
        justify-self: end;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    /* Your CSS rules here */
    body {
        /*background-color: lightcoral;*/
    }
    #contenedor{
        display: grid;
        row-gap: 10px;
        grid-template-columns: repeat(6, 1fr);
        grid-column: span 6; /* 5 images in the second row */
        padding-left: 50px;

    }
    div.etes{
        font-size: 0px;
    }

    #fo, #hi, #lq, #mr, #nt {
        justify-self: end;
    }
}

.redes-sociales{
    margin-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 2rem;
}
.redes-sociales a {
    color: #134f7f;
}
.contenedor-iconos-redes{
    display: flex;
    justify-content: space-around;
    width: 60%;
}

.contenedor-iconos-redes img{
    width: 4rem;

}

@media (max-width: 584px) {
    .contenedor-iconos-redes{
        width: 80%;
    }
    .contenedor-iconos-redes img{
        width: 3.8rem;

    }
}

#a_contacto_y_horario {
    background-color: #e5e7ef;
    color: var(--main-color);
    border-radius: 2rem;
    font-size: 1rem;
    padding: 0.9rem 2.1rem;
    margin-left: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
}

#a_contacto_y_horario:hover{
    color: var(--light-one);
    background-color: #185494;
    transition: 0.38s;
}
.contacto_y_horario{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}



.carousel-control-prev-icon {
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fdc300' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");*/
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z' fill='%23000000' stroke='%23000000' stroke-width='0.5'/%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z' fill='%23fdc300'/%3e%3c/svg%3e");

}

.carousel-control-next-icon {
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fdc300' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");*/
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z' fill='%23000000' stroke='%23000000' stroke-width='0.5'/%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z' fill='%23fdc300'/%3e%3c/svg%3e");
}

.carousel-indicators li{
    background-color: #fdc300;
}

