body{
    background-color: white;
    margin: 0;
    padding: 0;
}

/* Celulares ( 767px o menos) */

@media (max-width: 767px) {

    .fondo-menu-celular{
        background-color: #26578d;
    }
    
    .menu-celular{
    background-color: #8ec9e2;
    color: #26578d;
    padding: 10px;
    margin: 0px;
    margin-left: 5px;
    margin-top: 5px;
    text-decoration: none;
    border-radius: 4px;
    width: 20px;
    position: fixed;
    z-index: 1000;
    }

    .menu-celular img{
        width: 20px;
        
    }

    header nav{
        position: fixed;
        display: block;
        padding-top: 0px;
        background-color: none;
        z-index: 999;
        height: 100%;
    }

    header nav ul {
        list-style: none;
        overflow: hidden; 
        text-align: left;
        margin: 0px;
        margin-left: 0px;
        padding: 0px;
        margin-bottom: 5px;
        background-color:#26578d ;
        width: 50%;
        height: 100%;
    }


      header nav ul ul {
        width: 100%;
      }

      header nav li{
        display: block;
        float: left;
        width: 99%;  
    
    }
    
    header nav li a{
        display: block;
        background-color: #8ec9e2;
        color: #26578d;
        padding: 10px;
        margin: 0px;
        margin-left: 5px;
        margin-top: 5px;
        text-decoration: none;
        border-radius: 4px;
    }

    header nav ul li ul{
        display: none;
    }

    header nav ul li a:hover + ul, header nav ul li ul:hover{
        display: block;
        padding-top: 50px;
      }

    .contenedor-header{
        display: grid;
        grid-template-columns: auto;
    }
    .contenedor-nosotros{
        display: grid;
        grid-template-columns: auto;
    }

    #carrusel-caja {

        animation: automatizacion 15s infinite linear;
        transition: all 0.75s ease;
        height: 500px;
        width: 300%;
    }
    #carrusel-contenido {
        margin: 0 auto;
        overflow: hidden;
        text-align: left;
    }
    .imagenes{
        width: 100%;
    }
    .carrusel-elemento {
        float: left;
        width: 33.333%;
    }
    @keyframes automatizacion {
        0% {
            margin-left: 0;
        }
        30% {
            margin-left: 0;
        }
        35% {
            margin-left: -100%;
        }
        65% {
            margin-left: -100%;
        }
        70% {
            margin-left: -200%;
        }
        95% {
            margin-left: -200%;
        }
        100% {
            margin-left: 0;
        }
    }
    
    .autoridades{
        background-color: #8ec9e2;
        color: white;
        padding: 5px;
        margin-top: 0px;
        
    }

    .contenedor-noticias{
        display: grid;
        grid-template-columns: auto;
    }

    .contenedor-trayectos{
        display: grid;
        grid-template-columns: auto;
    }

    .mas-trayectos{
        background-color: #26578d;
        color: #8ec9e2;
        font-size: 30px;
        grid-column: 1 / 1;
        margin: 5px;
        padding: 10px;
        text-align: center;
        border-radius: 4px;
    }

    
    .contenedor-contacto{
        display: grid;
        grid-template-columns: auto;
    }

    .logo{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        min-height: 250px;

    }

    .logo img{
        width: 100%;
        max-width: 250px;
        animation-duration: 2s;
        animation-name: logo;
      }
      
      @keyframes logo {
        from {
          width: 10%;
        }
      
        to {
          width: 100%;
        }
      }

    .info-header{
        text-align: center;
        padding: 10px;
    }

    .contenedor-sedes{
        display: grid;
        grid-template-columns: auto;
    }

    }

/*  Tablets ( 768px y mas) */

@media (min-width: 768px) and (max-width: 991px) {

    .menu-celular{
        display: none;
    }

    header nav{
        background-color: #26578d;
        position: fixed;
        display: block;
        width: 100%;
        z-index: 999;
        animation-duration: 2s;
        animation-name: menu;
    }

    @keyframes menu {
    from {
        margin-left: 100%;
    }

    to {
        margin-left: 0%;
    }
    }

    header nav ul {
        list-style: none;
        overflow: hidden; 
        text-align: left;
        margin: 0px;
        padding: 0px;
        margin-bottom: 5px;
      }
    
    header nav li{
        display: block;
        float: left;   
    
    }
    
    header nav li a{
        display: block;
        background-color: #8ec9e2;
        color: #26578d;
        padding: 10px;
        margin: 0px;
        margin-left: 5px;
        margin-top: 5px;
        text-decoration: none;
        border-radius: 4px;
    }
    
    header nav a:hover{
        background-color: white;
    }

    .contenedor-header{
        display: grid;
        grid-template-columns: auto;
        padding-top: 50px;
    }

    .logo{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        min-height: 280px;
    }

    .logo img{
        width: 30%;
        animation-duration: 2s;
        animation-name: logo;
      }
      
      @keyframes logo {
        from {
          width: 5%;
        }
      
        to {
          width: 30%;
        }
      }


    .info-header{
        text-align: center;
        padding: 10px;
    }  
    .contenedor-nosotros{
        display: grid;
        grid-template-columns: 60% 40%;
    }

    .contenedor-nosotros h2{
        grid-column: 1/3;
    }

    #carrusel-caja {

        animation: automatizacion 15s infinite linear;
        transition: all 0.75s ease;
        height: 500px;
        width: 300%;
    }
    #carrusel-contenido {
        margin: 0 auto;
        overflow: hidden;
        text-align: left;
    }
    .imagenes{
        width: 100%;
    }
    .carrusel-elemento {
        float: left;
        width: 33.333%;
    }
    @keyframes automatizacion {
        0% {
            margin-left: 0;
        }
        30% {
            margin-left: 0;
        }
        35% {
            margin-left: -100%;
        }
        65% {
            margin-left: -100%;
        }
        70% {
            margin-left: -200%;
        }
        95% {
            margin-left: -200%;
        }
        100% {
            margin-left: 0;
        }
    }

    .contenedor-autoridades{
        grid-column: 1/3;
    }
    .autoridades{
        background-color: #8ec9e2;
        color: white;
        padding: 5px;
        margin-top: 0px;
        
    }

    .contenedor-noticias{
        display: grid;
        grid-template-columns: 50% 50%;
    }

    .contenedor-noticias h2{
        grid-column: 1/3;
    }

    .contenedor-noticias .noticia1{
        grid-column: 1/3;
    }

    .contenedor-trayectos{
        display: grid;
        grid-template-columns: auto auto;
    }

    .contenedor-trayectos h2{
        grid-column: 1/3;
    }

    .mas-trayectos{
        background-color: #26578d;
        color: #8ec9e2;
        font-size: 30px;
        grid-column: 1 / 3;
        margin: 5px;
        padding: 10px;
        text-align: center;
        border-radius: 4px;
    }

    header img{
        width: 150px;
    }

    .contenedor-contacto{
        display: grid;
        grid-template-columns: auto;
    }

    .contenedor-sedes{
        display: grid;
        grid-template-columns: 50% 50%;
    }
}

/* Notebooks y Escritorio (992px y mas) */

@media (min-width: 992px) {

    p{
        font-size: 20px;
    }

    li{
        font-size: 20px;
    }    

    .menu-celular{
        display: none;
    }

    header nav ul {
        list-style: none;
        overflow: hidden; 
        text-align: left;
        margin: 0px;
        padding: 0px;
        margin-bottom: 5px;
      }
    
    header nav li{
        display: block;
        float: left;   
    
    }
    
    header nav li a{
        display: block;
        background-color: #8ec9e2;
        color: #26578d;
        padding: 10px;
        margin: 0px;
        margin-left: 5px;
        margin-top: 5px;
        text-decoration: none;
        border-radius: 4px;
    }
    
    header nav a:hover{
        background-color: white;
    }

    .contenedor-header{
        display: grid;
        grid-template-columns: 20% auto;
        padding-top: 50px;
    }

    header nav{
        background-color: #26578d;
        position: fixed;
        display: block;
        width: 100%;
        z-index: 999;
        animation-duration: 2s;
        animation-name: menu;
    }

    @keyframes menu {
    from {
        margin-left: 100%;
    }

    to {
        margin-left: 0%;
    }
    }

    header img{
        width: 150px;
        margin: auto;
        display: block;
        animation-duration: 2s;
        animation-name: logo;
      }
      
      @keyframes logo {
        from {
          width: 10px;
        }
      
        to {
          width: 150px;
        }
      }

    .logo{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }
    
    .contenedor-nosotros{
        display: grid;
        grid-template-columns: 70% 30%;
    }
    
    .contenedor-nosotros h2{
        grid-column: 1/3;
    }

    .contenedor-autoridades{
        grid-column: 1/3;
    }

    #carrusel-caja {

        animation: automatizacion 15s infinite linear;
        transition: all 0.75s ease;
        height: 500px;
        width: 300%;
    }
    #carrusel-contenido {
        margin: 0 auto;
        overflow: hidden;
        text-align: left;
    }
    .imagenes{
        width: 100%;
    }
    .carrusel-elemento {
        float: left;
        width: 33.333%;
    }
    @keyframes automatizacion {
        0% {
            margin-left: 0;
        }
        30% {
            margin-left: 0;
        }
        35% {
            margin-left: -100%;
        }
        65% {
            margin-left: -100%;
        }
        70% {
            margin-left: -200%;
        }
        95% {
            margin-left: -200%;
        }
        100% {
            margin-left: 0;
        }
    }

    .autoridades{
        background-color: #8ec9e2;
        color: white;
        padding: 5px;
        margin-top: 0px;
        
    }

    .contenedor-noticias{
        display: grid;
        grid-template-columns: 33.3% 33.3% 33.3%;
    }

    .contenedor-noticias h2{
        grid-column: 1/4;
    }

    .contenedor-trayectos{
        display: grid;
        grid-template-columns: 25% 25% 25% 25%;
    }

    .contenedor-trayectos h2{
        grid-column: 1/5;
    }

    .mas-trayectos{
        background-color: #26578d;
        color: #8ec9e2;
        font-size: 30px;
        grid-column: 1/5;
        margin: 5px;
        padding: 10px;
        text-align: center;
        border-radius: 4px;

    }


    .contenedor-contacto{
        display: grid;
        grid-template-columns: auto;
    }

    .contenedor-sedes{
        display: grid;
        grid-template-columns: 50% 50%;
    }

    .contenedor-sedes div{
        margin: 5px;
    }

}


header{
    background-color: #26578d;
    color: white;
}

main{
    background-color: white;
}

p{
    padding: 5px;
}

.contenedor-nosotros h2{
    background-color: #26578d;
    color: white;
    padding: 5px;
}



.sobre-los-trayectos h2{
    background-color: #26578d;
    color: white;
    padding: 5px;
}

.contenedor-noticias{
    background-color: white;
}

.contenedor-noticias h2{
    background-color: #26578d;
    color: white;
    padding: 5px;
    
}

.contenedor-noticias h3{
    background-color: #8ec9e2;
    color: white;
    padding: 5px;
    margin-top: 0px;
}

.noticias{
    margin: 5px;
    border: #8ec9e2 1px solid;
}

.noticias img{
    width: 96%;
    margin: 2%;
}

.contenedor-trayectos h2{
    background-color: #26578d;
    color: white;
    padding: 5px;
}

.contenedor-trayectos h3{
    background-color: #8ec9e2;
    color: white;
    padding: 5px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.trayectos{
    margin: 5px;
    border: #8ec9e2 1px solid;
}

.trayectos img{
    width: 96%;
    margin: 2%;
}

 .info-cursos {
    display: inline-block;
    background-color: #26578d;
    color: white;
    font-size: 20px;
    padding: 10px;
    margin: 0px;
    margin-left: 5px;
    margin-top: 0px;
    margin-bottom: 5px;
    text-decoration: none;
    border-radius: 4px;
}

.info-cursos:hover {
 background-color: #8ec9e2;
 color: #26578d;
 cursor: pointer;
}

.info-cursos-wp {
    display: inline-block;
    background-color: #26578d;
    color: white;
    font-size: 20px;
    padding: 10px;
    margin: 0px;
    margin-left: 5px;
    margin-top: 0px;
    margin-bottom: 5px;
    text-decoration: none;
    border-radius: 4px;
    vertical-align: middle;
    text-align: center;
    width: 200px;
}

.info-cursos-wp:hover {
 background-color: #8ec9e2;
 color: #26578d;
 cursor: pointer;
}

.info-cursos-wp img {
    width: 20px;
    vertical-align: middle;
    display: inline-block;
}

.mas-trayectos a, .mas-trayectos a:link, .mas-trayectos a:active, .mas-trayectos a:visited{
    background-color: #26578d;
    color: white;
    text-decoration: none;

}   
 

.contenedor-contacto{
    background-color: white;
}

.contenedor-contacto h2{
    background-color: #26578d;
    color: white;
    padding: 5px;   
}

.contenedor-contacto img{
    width: 20px;
    height: 20px;
}

.contenedor-contacto h3{
    background-color: #8ec9e2;
    color: white;
    padding: 5px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.contenedor-contacto a, .contenedor-contacto a:link, .contenedor-contacto a:visited{
    color: #26578d;
    text-decoration: none;
}

.contenedor-contacto a:hover{
    color: #8ec9e2;
}

.mapas{
    margin: 5px;
    border: #8ec9e2 1px solid;
}

footer{
    background-color: #26578d;
    color: white;
    padding: 5px;
    display: grid;
    grid-template-columns: auto 30%;
}

footer h2{
    margin: 0;
    padding: 5px;
}

footer a, footer a:link, footer a:visited{
    color: white;
    text-decoration: none;
}

footer a:hover{
    color: #8ec9e2;
    text-decoration: none;
}

.contacto img{
    width: 20px;
    vertical-align: bottom;
}

.logopcia{
    display: flex;
    justify-content: center;
}

.logopcia img{
    width: 80%;
    height: auto;
}

#carrusel-5-caja {

    animation: automatizacion5 25s infinite linear;
    transition: all 0.75s ease;
    height: 500px;
    width: 500%;
}
#carrusel-5-contenido {
    margin: 0 auto;
    overflow: hidden;
    text-align: left;
}
#carrusel-5-elemento .imagenes{
    width: 100%;
}
.carrusel-5-elemento {
    float: left;
    width: 20%;
}
@keyframes automatizacion5 {
    0% {
        margin-left: 0;
    }
    15% {
        margin-left: 0;
    }
    20% {
        margin-left: -100%;
    }
    35% {
        margin-left: -100%;
    }
    40% {
        margin-left: -200%;
    }
    55% {
        margin-left: -200%;
    }
    60% {
        margin-left: -300%;
    }
    75% {
        margin-left: -300%;
    }
    80% {
        margin-left: -400%;
    }
    95% {
        margin-left: -400%;
    }

    100% {
        margin-left: 0;
    }
}

#carrusel-4-caja {

    animation: automatizacion4 25s infinite linear;
    transition: all 0.75s ease;
    height: 500px;
    width: 500%;
}
#carrusel-4-contenido {
    margin: 0 auto;
    overflow: hidden;
    text-align: left;
}
#carrusel-4-elemento .imagenes{
    width: 100%;
}
.carrusel-4-elemento {
    float: left;
    width: 20%;
}
@keyframes automatizacion4 {
    0% {
        margin-left: 0;
    }
    20% {
        margin-left: 0;
    }
    25% {
        margin-left: -100%;
    }
    45% {
        margin-left: -100%;
    }
    50% {
        margin-left: -200%;
    }
    70% {
        margin-left: -200%;
    }
    75% {
        margin-left: -300%;
    }
    95% {
        margin-left: -300%;
    }

    100% {
        margin-left: 0;
    }
}

#carrusel-2-caja {

    animation: automatizacion2 10s infinite linear;
    transition: all 0.75s ease;
    height: 500px;
    width: 500%;
}
#carrusel-2-contenido {
    margin: 0 auto;
    overflow: hidden;
    text-align: left;
}
#carrusel-2-elemento .imagenes{
    width: 100%;
}
.carrusel-2-elemento {
    float: left;
    width: 20%;
}
@keyframes automatizacion2 {
    0% {
        margin-left: 0;
    }
    
    45%{
        margin-left: 0;
    }
    50% {
        margin-left: -100%;
    }

    95% {
        margin-left: -100%;
    }

    100% {
        margin-left: 0;
    }
}