/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/


/* 
    Created on : 7/05/2019, 12:11:07 AM
    Author     : Cesar Maya
*/

@media (max-width:767px) {
    /* slider Noticias */
    .noticias {
        width: 100%;
        background-color: #E6F2E7;
    }
    #noticias1 {
        display: block;
    }
    #noticias2 {
        display: none;
    }
    #noticias3 {
        display: none;
    }
    .tituloNoticiasHome {
        width: 100%;
        text-align: center;
    }
    .tituloNoticiasHome h3 {
        font-size: 1.6em;
        font-weight: bold;
        color: #2e3192;
    }
    .cajonCarruselNoticias {
        width: 100%;
        margin-top: 20px;
    }
    .contenedorNoticiasCN {
        width: 80%;
        margin: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .formularioNoticias {
        width: 80%;
    }
    .botonNoticia {
        width: 100%;
    }
    .contenidoNoticiaSlider {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .imagenNoticiaSlider {
        width: 100%;
        margin-bottom: 15px;
    }
    imagenNoticiaSlider img {
        width: 100%;
        height: 100%;
        max-height: 250px;
    }
    .tituloNoticiaSlider {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .tituloNoticiaSlider h4 {
        font-size: 1em;
        color: #2e3192;
    }
    /* fin slider*/
}

@media only screen and (min-width:768px) and (max-width:1068px) {
    /* slider Noticias */
    .noticias {
        width: 100%;
        background-color: #E6F2E7;
    }
    #noticias1 {
        display: none;
    }
    #noticias2 {
        display: block;
    }
    #noticias3 {
        display: none;
    }
    .tituloNoticiasHome {
        width: 100%;
        text-align: center;
    }
    .tituloNoticiasHome h3 {
        font-size: 1.6em;
        font-weight: bold;
        color: #2e3192;
    }
    .cajonCarruselNoticias {
        width: 100%;
        margin-top: 20px;
    }
    .contenedorNoticiasCN {
        width: 80%;
        margin: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .formularioNoticias {
        width: 40%;
    }
    .botonNoticia {
        width: 100%;
    }
    .contenidoNoticiaSlider {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .imagenNoticiaSlider {
        width: 100%;
        margin-bottom: 15px;
    }
    imagenNoticiaSlider img {
        width: 100%;
        height: 250px;
        max-height: 250px;
    }
    .tituloNoticiaSlider {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .tituloNoticiaSlider h4 {
        font-size: 1em;
        color: #2e3192;
    }
    /* fin slider*/
}

@media (min-width:1069px) {
    /* slider Noticias */
    .noticias {
        width: 100%;
        background-color: #E6E6E6;
    }
    #noticias1 {
        display: none;
    }
    #noticias2 {
        display: none;
    }
    #noticias3 {
        display: block;
    }
    .tituloNoticiasHome {
        width: 100%;
        text-align: center;
    }
    .tituloNoticiasHome h3 {
        font-size: 1.6em;
        font-weight: bold;
        color: #2e3192;
    }
    .cajonCarruselNoticias {
        width: 100%;
        margin-top: 20px;
    }
    .contenedorNoticiasCN {
        width: 90%;
        margin: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .formularioNoticias {
        width: 30%;
    }
    .botonNoticia {
        width: 100%;
    }
    .contenidoNoticiaSlider {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .imagenNoticiaSlider {
        width: 100%;
        margin-bottom: 15px;
    }
    imagenNoticiaSlider img {
        width: 100%;
        height: 250px;
        max-height: 250px;
    }
    .tituloNoticiaSlider {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .tituloNoticiaSlider h4 {
        font-size: 1em;
        color: #2e3192;
    }
    /* fin slider*/
    .textoPaginaPrincipal {
        width: 90%;
        margin: auto;
        margin-top: 50px;
        margin-bottom: 50px;
    }
    /* slider Servicios */
    .tituloSliderServicios {
        width: 100%;
        padding-top: 20px;
        padding-bottom: 40px;
        text-align: center;
        font-size: 28px;
    }
    .accordion {
        width: 100%;
        height: 350px;
        overflow: hidden;
        margin: 0px auto;
    }
    .accordion ul {
        width: 100%;
        display: table;
        table-layout: fixed;
        margin: 0;
        padding: 0;
    }
    .accordion ul li {
        display: table-cell;
        vertical-align: bottom;
        position: relative;
        width: 16.666%;
        height: 350px;
        background-repeat: no-repeat;
        background-position: center center;
        transition: all 500ms ease-in-out;
    }
    .accordion ul li div {
        display: block;
        overflow: hidden;
        width: 100%;
    }
    .accordion ul li div a {
        display: block;
        height: 350px;
        width: 100%;
        position: relative;
        z-index: 3;
        vertical-align: bottom;
        padding: 15px 20px;
        box-sizing: border-box;
        color: #fff;
        text-shadow: 1px 1px 2px #000;
        /*filter: invert(100%);*/
        text-decoration: none;
        font-family: Open Sans, sans-serif;
        transition: all 300ms ease-in-out;
    }
    .accordion ul li div a * {
        opacity: 0;
        margin: 0;
        width: 100%;
        text-overflow: ellipsis;
        position: relative;
        z-index: 5;
        white-space: nowrap;
        overflow: hidden;
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px);
        -webkit-transition: all 400ms ease-in-out;
        transition: all 400ms ease-in-out;
    }
    .accordion ul li div a h2 {
        font-family: Montserrat, sans-serif;
        text-overflow: clip;
        font-size: 32px;
        text-transform: uppercase;
        margin-bottom: 2px;
        top: 160px;
    }
    #cajonpestana {
        width: 100%;
        background-color: #FFF;
        color: #2e3192;
        text-overflow: clip;
        font-size: 32px;
        text-transform: uppercase;
        margin-bottom: 2px;
        bottom: -215px;
        text-align: center;
    }
    #cajonpestana h2 {
        color: #2e3192;
    }
    .accordion ul li div a p {
        top: 160px;
        font-size: 18px;
        padding-left: 1em;
    }
    .accordion ul li:nth-child(1) {
        background-image: url("../Imagenes/acordeon_rosa_1.jpg");
        background-position: 50% 30%;
    }
    .accordion ul li:nth-child(2) {
        background-image: url("../Imagenes/acordeon_rosa_2.png");
        background-position: 70% 0%;
    }
    .accordion ul li:nth-child(3) {
        background-image: url("../Imagenes/acordeon_rosa_3.png");
        background-position: 50% 50%;
    }
    .accordion ul li:nth-child(4) {
        background-image: url("../Imagenes/acordeon_rosa_4.png");
        background-position: 30% 40%;
    }
    .accordion ul li:nth-child(5) {
        background-image: url("../Imagenes/acordeon_rosa_5.png");
        background-position: 60% 64%;
    }
    .accordion ul li:nth-child(6) {
        background-image: url("../Imagenes/acordeon_rosa_7.png");
        background-position: 70% 25%;
    }
    .accordion ul li:nth-child(7) {
        background-image: url("../Imagenes/acordeon_rosa_8.png");
        background-position: 70% 25%;
    }
    .accordion ul li:nth-child(8) {
        background-image: url("../Imagenes/acordeon_rosa_9.png");
        background-position: 70% 25%;
    }
    .accordion ul li {
        background-size: cover;
    }
    .accordion ul:hover li {
        width: 10%;
    }
    .accordion ul:hover li:hover {
        width: 90%;
    }
    /*.accordion ul:hover li:hover a { background: rgba(0, 0, 0, 0.4); }*/
    .accordion ul:hover li:hover a * {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        .accordion {
            height: auto;
        }
        .accordion ul li,
        .accordion ul li:hover,
        .accordion ul:hover li,
        .accordion ul:hover li:hover {
            position: relative;
            display: table;
            table-layout: fixed;
            width: 100%;
            -webkit-transition: none;
            transition: none;
        }
        .accordion ul li div a * {
            opacity: 1;
            -webkit-transform: translateX(0);
            transform: translateX(0);
        }
    }
}