
.content-clock{
    width: 100%;
    height: 40px;
    background-color:#EE0C0C;
    overflow: hidden;
    text-align: center;
    display:none;
}

.cuenta_regresiva{
    color: white;
    font-size: 11px;
    padding: 5px;
}
/*____________________________Estilo de ventana de modal ____________
si se requiere mostrar el modal es mejor mostrar el simbolo final de 
un comentario en la parte superior de este mensaje.*/

.ventana-modal{
    width: 100%;
    background: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 200;
    display: flex;
    
    animation: modal 2s 5s forwards;
    visibility: hidden;
    opacity: 0; 
}

.contenido-modal{ 
    width: 80%;      
    margin: auto;
    
}

.img-modal{
    height: 354px;
    width: 250px;
    object-fit: cover;
}


.articul-modal{
    font-size: 15px;
    line-height: 19px;
    text-align: center;
    padding-left: 4%;    
}

.titulo_modal{
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 900;
}
    
.link-desModal{
    text-decoration: none;
    color: red;
    cursor: pointer;
    font-weight: bold;
}
.link-desModal:hover{
    border-bottom: 2px solid orange;
    color:black;
}


#cerrar-modal{
    display: none;
}

#cerrar-modal + label{
    position: fixed;
    color: white;
    font-size: 25px;
    z-index: 250;
    background: darkred;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
    right: 80px;
    top: 30px;
    animation: modal 2s 5s forwards;
    visibility: hidden;
    opacity: 0;

}

#cerrar-modal:checked + label, #cerrar-modal:checked ~ .ventana-modal{
    display: none
}

@keyframes modal{
    100%{
        visibility: visible;
        opacity: 1;
    }
} 
        
/*____________________________Estilo sobre-espiritismo ______________________*/

.main{
    margin: 0;
    width: inherit;
    text-align: center;
    margin-bottom: 30px;

}

.Sobre-espiritismo{
    margin-bottom: 40px;
    background-color:var(--color-menu-footer);
}

.descripcion-espiritismo1{
    margin-bottom: 40px;

}

.grupo-title{
   margin-bottom: 70px;
   color: #fff;
}

.img-espiritismo{
    height: 300px;
    width: 90%;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 5%;
}

.titulo-espiritismo{
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.articulo-espiritismo{
    line-height: 25px;
    margin-bottom: 80px;
    width: 100%;
    text-align: left;
    margin-left: 5px;
}

/*-------------Mas informacion--------------------*/
.Titulo_cursos{
    margin-bottom: 20px;
    text-align: left;
    position:relative;
    left: 25%;
    padding-bottom: 20px;

    
}


.link-cursos{
    text-decoration: none;
}
.container-curso{
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    
}

.container-curso [class*="clase-"]{
    width: 100%;
    margin-bottom: 20px;
    height: 260px;
   
}

.container-curso [class*="img-"]{
    width: 100%;
    height: 95%;
    object-fit: cover;
    border-radius: 5px;
}

.container-curso [class*="titulo-"]{
    color: white;
    text-align: center;
    width: 100%;
    height: 30px;
    background: rgba(0,0,0,0.6);
    position: relative;
    top: -150px;
    font-size: 1.3em;
    border-radius: 5px;
    
}

/*_______________Estilo del section-redes-amigas _______________*/





/*________________Estilos de responsive bases_______________________________*/


@media screen and (min-width:480px){
    .P-q-Visitarnos, .Sobre-nosotros{
        border-right: 2px solid white;
        height: 150px;
        margin: 15px;
        width: 90%;
    }


    .slider{
        width: 450%;
        height: 100%;
        display: flex;
        padding: 10px;
        animation: slider 28s infinite  alternate;
    }

    @keyframes slider{
        0% {margin-left: 0;}
        13% {margin-left: 0;}

        15% {margin-left: -50%;}
        28% {margin-left: -50%;}

        30% {margin-left: -100%;}
        43% {margin-left: -100%;}

        45% {margin-left: -150%;}
        58% {margin-left: -150%;}

        60% {margin-left: -200%;}
        73% {margin-left: -200%;}

        75% {margin-left: -250%;}
        88% {margin-left: -250%;}

        90% {margin-left: -300%;}
        100% {margin-left: -300%;} 
    }

    .slider-1{
        padding: 10px;
        height: 180px;
        width: 100%;
    }
        

    .slider [class*=img-redes-]{
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;    
    }
}

/*________________Estilos de responsive bases_______________________________*/

@media screen and (min-width:768px){

    .main{
        margin-bottom: 50px;
    }
    
    .cuenta_regresiva{
        font-size: 17px;
    }


    /*____________________________Estilo de ventana de modal ____________*/

    .ventana-modal{
        width: 100%;
        background: rgba(0,0,0,0.8);
        position: fixed; 
    }

    .contenido-modal{  
        width: 55%; 
        height: auto;      
        margin: auto;
        display: flex;    
    }
    .imagenes-modal{
        width: 100%;
    }

    .img-modal{
        width: 350px;
        height: 495px;
        object-fit: contain;
        margin: auto;   
    }
    
    .descripcion-modal{
        display: block;
        width: 28%;
        margin: auto;
        
    }
    .articul-modal{
        font-size: 18px;
        line-height: 25px;
        text-align: center;
        padding-left: 4%;    
    }

    .titulo_modal{
        font-size: 27px;
        margin-bottom: 10px;
        color: orange;
        font-weight: 900;
    }
    .link-desModal{
        text-decoration: none;
        color: red;
        cursor: pointer;
        font-weight: bold;
    }    
   
    /*________________________________________________________________________*/

    .slider{
        width: 300%;
        height: 100%;
    }
    
    @keyframes slider{
        0% {margin-left: 0;}
        13% {margin-left: 0;}

        15% {margin-left: -33%;}
        28% {margin-left: -33%;}

        30% {margin-left: -66%;}
        43% {margin-left: -66%;}

        45% {margin-left: -99%;}
        58% {margin-left: -99%;}

        60% {margin-left: -132%;}
        73% {margin-left: -132%;}

        75% {margin-left: -165%;}
        88% {margin-left: -165%;}

        90% {margin-left: -198%;}
        100% {margin-left: -198%;} 
    }

    /*--------estilos de slider 1 columna C-slider oculto y se muestra 3 columnas-----*/
    .page-wrapper{
        display: block;
        margin-bottom:50px;
    }

    #c-slider{
        display: none;
    }

    #btn-prev, #btn-next{
        top:10%;
    }


    /*--------estilos de main response------*/
    
    .descripcion-espiritismo{
        margin-bottom: 10px;  
    }

    .Sobre-espiritismo .column--50{
        width: 47%;
        margin-bottom: 20px;
    }
    .grupo-title{
        font-size: 2.5em;
    }
    .articulo-espiritismo{
        margin-bottom: -20px;

    }

    .Sobre-espiritismo{
        margin-bottom: 60px;
    }

    .mision-espiritismo .column--50:nth-child(2){
        order: 1;
    }
    .mision-espiritismo .column--50:nth-child(1){
        order: 2;
    }

   

    /*________________Estilos de responsive de mas informacion _______________________________*/
    
    .Titulo_cursos{
        margin-bottom: 80px;
        text-align: center;
        width: 500px;
        border-bottom: 3px solid orange;
        position:relative;
        left: 25%;
        padding-bottom: 20px; 
    }
    
    
    .container-curso{
        justify-content: space-between

    }
    
    .container-curso [class*="clase-"]{
        width: 48%;
        height: auto;
        height:auto;
        margin-bottom: 90px;
        border-radius: 10px;
    }
    
    .container-curso [class*="img-"]{
        width: 100%;
        height: 230px;
        margin-bottom: 20px;
        
    }
    
    .container-curso [class*="titulo-"]{
        height: 0;
        top: 0;
        color: black;
        font-weight: 700;
        font-size: 23px;   
        margin-bottom: 50px;
    }  
}

@media screen and (min-width:1024px){

    /*______________________ Estilo de ventana de moda ______________________*/
    
    .contenido-modal{  
        width: 40%;       
        margin: auto;
        display: flex; 
        height: auto;
 
    }

    .imagenes-modal{
        width: 100%;
    }
    
    .img-modal{
        width: 480px;
        height: 600px;
    }
    
    .descripcion-modal{
        display: block;
        width: 28%;
        margin: auto;
    }
    
    /*________________________________________________________________________*/
    /*--------estilos de slider  3 columna-----*/

    .post{
        height: 300px;
        width: 250px;
    }

    .contenedor-img{
        width: 100%;
        height: 250px;
    }

    .img-opinion{
        height:100%;
        width: 100%;
        margin-bottom: 10px;
    }

    .titulo-slider{
        font-size: 2.2em;
        line-height: bold;
        text-align: center;
        line-height: 30px;
        margin-bottom: 70px;
    }

   

    .post-slider .post-wrapper .post{
        width: 320px;
        display: inline-block;
        margin: 0px 15px;
    }

    .btn-prev, .btn-next{
        width: 45px;
        height: 45px;
        background: rgba(255,255,255,0.9);
        position: absolute;
        top: 1150px;
        transform: translateY(-50%);
        line-height: 45px;
        font-size: 40px;
    }
    .btn-prev{
        left: 35px;
    }
    .btn-next{
        right: 35px;
    }
    
    .post .titulo-opinion{
        font-size: 1.4em;
        text-align: center;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .post .articulo-opinion{
        font-size: 1em;
        margin-bottom: 20px;
    }

    .post .boton{
        text-decoration: none;
        background:cornflowerblue;
        color: white;
        word-spacing: 0.30em;
        border-radius: 5px;
        cursor: pointer;
        margin-bottom: 10px;
        padding: 3px;
    }

    /*--------estilos de main-----*/
    .grupo-title{
        font-size: 2.5em;
    }

    .column--50{
        width: 47%;
        margin-bottom: 20px;
    }

    .titulo-espiritismo{
        font-size: 2em;
    }

    .articulo-espiritismo{
        font-size: 1.2em;
        margin-bottom: -20px;
    }


    .slider{
        width: 225%;
        height: 100%;
    }
 

    /*---------mas informacion----------*/
    .container-curso [class*="clase-"]{
        width: 32%;
        height: auto;
    }

}

@media screen and (min-width:1440px){
    
    /*-----------------venta modal------*/
    
    contenido-modal{  
        width: 50%;       
        margin: auto;
        
    }
    
    /*---------------------------------*/
    
    
    .post .titulo-opinion{
        font-size: 28px;
        text-align: center;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .post .articulo-opinion{
        font-size: 23px;
        margin-bottom: 23px;
        line-height: 24px;
    }
    .articulo-espiritismo{
        font-size: 25px;
        margin-bottom: -20px;
        line-height: 28px;
    }
    .Titulo_cursos{
        font-size: 2.2em;
        text-align: center;
    }

    .container-curso [class*="clase-"]{
        width: 32%;
    }
    
    .container-curso [class*="img-"]{
        width: 100%;
        height: 250px;
    }
    
    .container-curso [class*="titulo-"]{
        font-size: 25px;
        height: 50px;
        margin: auto;
        
    }  
}