/*
    Theme Name: Brevario MX
    Theme URI: 
    Author: Miguel Angel Burgos Huerta
    Author URI:
    Description: Theme Diseñado para MABG
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: news, academic
    Text Domain: brevariomx
*/

:root {

    /** Fuentes **/

    --fuentePrincipal : 'Montserrat', sans-serif;
    --fuenteSecundaria : 'Roboto', sans-serif;
    --fuenteTerciaria: 'Playfair Display', serif;


    /** Colores **/

    --colorPrimario: #010d0d;
    --colorSecundario:  #ebbd34;
    --colorTerciario: #22bfbf;
    --colorCuaternario: #313131;

    }

    html {
        box-sizing: border-box;
    }

    body {
        font-family: var(--fuenteSecundaria);
    }

/** Headings **/

    h1 {

        font-family: var(--fuentePrincipal);
        margin: 1rem 0;
        line-height: 1;
        color: var(--colorTerciario);
        font-weight:700;

    }

    h2 {
        font-family: var(--fuentePrincipal);
        margin: 1rem 0;
        line-height: 1.2;
        color: var(--colorSecundario);
        font-weight: 600;
    }

    h3 {
        font-family: var(--fuentePrincipal);
        margin: 1rem 0;
        line-height: 1.2;
        color: var(--colorSecundario);

    }

    h4 {
        font-family: var(--fuenteSecundara);
        margin: 1rem 0;
        line-height: 1.2;
        color: var(--colorSecundario);

    }

    p {

        font-family: var(--fuenteSecundaria);
        font-size: 14px;

    }

/** Párrafos **/



/** Headings Sizes **/

h1 {
    
    font-size: 2.3rem;

}

h2 {
    
    font-size: 1.7rem;

}

h3 {
    
    font-size: 1.1rem;

}

h4 {
    
    font-size: .6rem;

}

@media (min-width: 768px) {


    h1 {
    
        font-size: 3rem;
    
    }
    
    h2 {
        
        font-size: 1.6rem;
    
    }
    
    h3 {
        
        font-size: 1.8rem;
    
    }
    
    h4 {
        
        font-size: 1.2rem;
    
    }

    
}

*, *:before, *:after {
    box-sizing: inherit;
}

/** Globales **/

a {

    text-decoration: none;
    color: var(--colorSecundario);

}

a:visited {

    color: var(--colorTerciario);

}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

iframe {

    flex-wrap: wrap;

}

img {
    max-width: 100%;
    height: auto;
}

.contenedor {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
}

.imagen-destacada {

    margin-bottom: 0;

}

.contenido-page-alone {

    margin: 40px;

}

.contenido-page-alone .lista-postype {

    margin: 0px;

}

.sidebar .enc-sidebar {

    color: var(--colorTerciario);

}

.sidebar .enc-sidebar-front {

    margin-top: 30px;

}

.sidebar .enc-sidebar-front h2 {

    color: var(--colorTerciario);
    margin-bottom: 5px;

}

.wp-pagenavi {

    text-align: center;
    font-family: var(--fuentePrincipal);
    color: var(--colorCuaternario);
    width: 100%;
    margin-top: 20px;

}

/** Utilidades **/

.text-center {

    text-align: center;

}

.texto-primario {

    color:var(--colorSecundario);
    font-family: var(--fuentePrincipal);

}

.texto-primario-404 {

    color:var(--colorSecundario);
    font-family: var(--fuentePrincipal);
    margin: 0px;
    padding-top: 20px;
    margin-bottom: 20px;
    
}

.alt-404 {

    text-align: center;
    margin-bottom: 80px;

}

.alt-404 img {

    margin-bottom: 40px;

}


/** HEADER FRONT **/

.brevario-header {
    
    max-width: 1200px;
    width: 100%;
    margin: auto;
    height: 490px;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    margin-bottom: 2rem;
    text-align: center;
  
}

.brevario-hero #background-image {
 
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);

}

.brevario-header h1 {

    margin-top: 150px;
    color: var(--colorSecundario);
    background-color: rgb(1,13,13,.75);
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 10px; 

}

.brevario-header h4 {

    color: white;
    background-color: rgb(1,13,13,.75);
    font-size: 16px;
    line-height: 24px;
    margin-top: auto;
    height: max-content;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: lighter;

}

.brevario-header-p {

    height: auto;

}

.logo-tagline {

    display: block;
    background-color: rgb(235, 189, 52, 0.9);
    padding-bottom: 15px;

}

.brevario-tagline {

    border-top: 2px solid black;
    margin-left: 5%;
    margin-right: 5%;
    padding-top: 5px;
    font-family: var(--fuentePrincipal);
    font-weight: 600;

}

.brevario-header-postype .logo-tagline {

    background-color: var(--colorTerciario);

}

.brevario-header-blog .logo-tagline {

    background-color: rgb(67, 163, 163, .6);

}

@media (min-width: 768px) {

    .brevario-header {
    
        width: 95%;
        height: 528px;
        overflow: hidden;
        margin-bottom: 0px;
    
    }

    .brevario-header h1 {
        
        margin-top: 230px;

    }

    .brevario-header h4 {

        font-size: 22px;
        padding-top: 10px;
        padding-bottom: 10px;

    
    }

    .logo-tagline {

        display: block;
        background-color: rgb(235, 189, 52, 0.9);
        padding-bottom: 15px;

    }

    .brevario-tagline {

        margin-left: 30%;
        margin-right: 30%;
        padding-top: 5px;
        font-family: var(--fuentePrincipal);
        font-size: 20px;

    }

    .brevario-header-postype .logo-tagline {

        background-color: var(--colorTerciario);

    }

    .brevario-header-blog .logo-tagline {

        background-color: rgb(67, 163, 163, .6);

    }

    .frases-each {

        background-color: var(--colorCuaternario);

    }

}

/** SLIDE HEADER **/

.encabezado-frase {

    height: 370px;

}

.contenido-frase {

    padding-top: 100px;
    box-shadow: none;

}

.contenido-frase h2 {

    background-color: rgb(1,13,13,.75);
    font-weight: lighter;
    line-height: 25px;
    font-family: var(--fuentePrincipal);
    padding-right: 50px;
    padding-left: 50px;
    font-size: 18px;
    
}

.bx-wrapper {

    border: 0px;
    margin-bottom: 0px;


}

.bx-wrapper .bx-pager {

    bottom: 80px;
    display: none;

}


.bx-wrapper .bx-pager.bx-default-pager a, .bx-wrapper .bx-pager.bx-default-pager a:hover  {

    background: var(--colorSecundario) ;

}

.bx-wrapper .bx-pager.bx-default-pager a.active  {

    background: var(--colorTerciario);

}

.bx-controls-direction a {

    display: none;

}

.brevario-hero .fondo-text-enc {

    background-color: transparent;

}


@media (min-width: 768px) {

    .encabezado-frase {

        height: 370px;
        border-left: 1px solid var(--colorCuaternario);
        border-right: 1px solid var(--colorCuaternario);
        background-color: var(--colorCuaternario);

    }

    .contenido-frase {

        box-shadow: none;

    }

    .contenido-frase h2 {

        background-color: rgb(1,13,13,.75);
        font-weight: lighter;
        line-height: 35px;
        font-family: var(--fuentePrincipal);
        padding-right: 50px;
        padding-left: 50px;

        
    }

    .bx-wrapper {

        border: 0px;
        margin-bottom: 0px;

    }

    .bx-wrapper .bx-pager {

        bottom: 80px;
        display: none;

    }

    .bx-wrapper .bx-pager.bx-default-pager a, .bx-wrapper .bx-pager.bx-default-pager a:hover  {

        background: var(--colorSecundario) ;

    }

    .bx-wrapper .bx-pager.bx-default-pager a.active  {

        background: var(--colorTerciario);

    }


    .bx-wrapper {

        -webkit-box-shadow: none;

    }

    .bx-wrapper p{

        border: 0px;

    }

    .bx-wrapper blockquote {

        border: 0px;
        margin: 0px;
        color: var(--colorSecundario);
        background-color: rgb(0,0,0,.75);

    }

    .bx-wrapper blockquote p {

        border: 0px;
        margin: 0px;

    }

    .brevario-hero .fondo-text-enc {

        background-color: transparent;

    }

}

/** HEADER POSTYPE **/

.brevario-header-postype {
    
    max-width: 1200px;
    width: 100%;
    margin: auto;
    text-align: center;

}

.brevario-header-postype h1 {

    margin-top: 80px;
    color: tomato;
    background-color: rgb(1,13,13,.75);


}

.brevario-header-postype h4 {
    color: white;
    background-color: rgb(1,13,13,.75);

}


@media (min-width: 768px) {

    .brevario-header-postype {
    
        max-width: 1200px;
        width: 95%;
        margin: auto;
        background-repeat: no-repeat;
        background-position: center;
        height: auto;
   
    }
       
}

/** HEADER BLOG **/

.brevario-header-blog {

    font-family: var(--fuentePrincipal);
    text-align: center;

}

.brevario-hero {

    font-family: var(--fuentePrincipal);
    text-align: center;

}

.brevario-header-blog {
    
    max-width: 1200px;
    width: 100%;
    margin: auto;


}

.brevario-header-blog h1 {

    margin-top: 60px;
    color: var(--colorSecundario);
    background-color: rgb(1,13,13,.75);
    


}

.brevario-header-blog h4 {
    color: white;
    background-color: rgb(1,13,13,.75);
    font-size: 18px;
    font-family: var(--fuenteSecundaria);

}

.brevario-header-blog {

    height: 300px;

}

@media (min-width: 768px) {

    .brevario-header-blog {
    
        max-width: 1200px;
        width: 95%;
        margin: auto;
        background-repeat: no-repeat;
        background-position: center;
        height: 400px;

    }

    .brevario-header-blog h1 {

        margin-top: 80px;
            
    }

    .brevario-header img {

        -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
        filter: grayscale(100%);

    }
       
}

/** BREVARIO HERO **/

.brevario-hero {

    font-family: var(--fuentePrincipal);
    text-align: center;

}

/** BARRA REDES SOCIALES **/

.redes-sociales {

    display: flex;
    justify-content: center;
    height: 45px;
    background-color: var(--colorSecundario);

}

.redes-sociales .icons {
    line-height: 45px;
        height: 45px;
        width: 50px;
        text-align: center;

}


.redes-sociales .icons img {

    line-height: 1.5;
    display: inline-block;
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
    height: 25px;

}

.redes-sociales .tagline {

    display: none;

}

@media (min-width: 768px) {

    .redes-sociales {

        display: flex;
        justify-content: flex-end;
        height: 45px;
        margin-bottom: 0px;

    
    }
    
    .redes-sociales .icons {
        line-height: 45px;
            height: 45px;
            width: 50px;
            text-align: center;
    
    }
    
    
    .redes-sociales .icons img {
    
        line-height: 1.5;
        display: inline-block;
        vertical-align: middle;
        margin-left: auto;
        margin-right: auto;
        height: 25px;
    
    } 

    .redes-sociales .tagline {

        display: flex;
    
    }

    .redes-sociales .tagline p {

        padding-top: 2px;
        font-family: var(--fuentePrincipal);
        font-size: 14px;
    
    }
    
}

/** LOGO BREVARIO **/

.brevario-header .logo-brevario {

    text-align: center;
    display: block;
    max-height: 100%;
    width: auto;
    
}

.brevario-header .logo-brevario img {

    height: 60px;
    width: auto;
    margin-top: 10px;

}

@media (min-width: 768px) {

    .brevario-header .logo-brevario {

        line-height: 100px;
        height: 100px;
        text-align: center;
        display: block;
        max-height: 100%;
        width: auto;
        
    }
    
    .brevario-header .logo-brevario img {
    
        line-height: 1.5;
            display: inline-block;
            vertical-align: middle;
            margin-left: auto;
            margin-right: auto;
            height: 75%;
            width: auto;
    
    }

}

.brevario-header-postype .logo-brevario {

    text-align: center;
    background-color: var(--colorTerciario);
    display: block;
    max-height: 100%;
    width: auto;
    
}

.brevario-header-postype .logo-brevario img {

    height: 60px;
    width: auto;
    margin-bottom: 0px;
    margin-top: 10px;

}

@media (min-width: 768px) {

    .brevario-header-postype .logo-brevario {

        line-height: 100px;
        height: 100px;
        text-align: center;
        display: block;
        max-height: 100%;
        width: auto;
        
    }
    
    .brevario-header-postype .logo-brevario img {
    
        line-height: 1.5;
            display: inline-block;
            vertical-align: middle;
            margin-left: auto;
            margin-right: auto;
            height: 75%;
            width: auto;

    }

}

.brevario-header-blog .logo-brevario {

    text-align: center;
    display: block;
    max-height: 100%;
    width: auto;
    
}

.brevario-header-blog .logo-brevario img {

    height: 60px;
    width: auto;
    margin-bottom: 0px;
    margin-top: 10px;

}

@media (min-width: 768px) {

    .brevario-header-blog .logo-brevario {

        line-height: 100px;
        height: 100px;
        text-align: center;
        display: block;
        max-height: 100%;
        width: auto;
        
    }
    
    .brevario-header-blog .logo-brevario img {
    
        line-height: 1.5;
            display: inline-block;
            vertical-align: middle;
            margin-left: auto;
            margin-right: auto;
            height: 75%;
            width: auto;

    }

}



/** MENU **/

.menu-principal {

    display:none;

}

    @media (min-width: 768px) {

            .menu-principal {

                display:block;

            }

            .menu-principal .menu {
                
                display: flex;

            }

            .menu-principal li {

                border-right: 1px solid var(--colorPrimario);
                border-top: 1px solid var(--colorPrimario);
                border-bottom: 1px solid var(--colorPrimario);
                background-color: rgb(255, 255, 255, 0.9);
                width: 20%;
                z-index: 99999;
                position: relative;
                display: table;

            }
    
            .menu-principal .menu li:first-of-type{
                
                border-left: 1px solid var(--colorPrimario);

            }

            .menu-principal a {

                color: var(--colorPrimario);
                font-family: var(--fuentePrincipal);
                padding-top: 7px;
                padding-bottom: 7px;
                display: block;
                font-weight: bolder;
            }
            
            .menu-principal li:hover {

                color: var(--colorPrimario);
                background-color: var(--colorTerciario);
                transition: .8s;
                
            }

            .menu-principal .current_page_item a {

                color: var(--colorPrimario);
                background-color: var(--colorSecundario);
                font-weight: 600;
                display: block;

            }

            .menu-principal .sub-menu .current-menu-item {

                font-weight: 800;
                background-color: var(--colorSecundario);

            }

            .menu-principal .dashicons {

                height: 10px;

            }

            .menu-principal i.wpmi-icon:hover {

                color: var(--colorPrimario);
                font-size: 20px;

            }

            .menu-principal ul ul {

                display: none;
                left: 0;
                box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
                position: absolute;
                width: max-content;
                top: 33px;
                text-align: left;
        
            }
        
            .menu-principal ul ul li {
        
                border-bottom: none;
                border-right: none;
                border-top: 1px solid var(--colorPrimario);
        
            }

            .menu-principal .sub-menu li:first-of-type{
                
                border-left: 0px;

            }

            .menu-principal .sub-menu li{
                
                background-color: rgb(255, 255, 255, 0.9);
                width: 100%;

            }

            .menu-principal .sub-menu li:hover{
                
                background-color:var(--colorSecundario);

            }

            .menu-principal .sub-menu a{
                
                background-color: transparent;
                color: var(--colorPrimario);
                font-weight:  lighter ;

            }

            .menu-principal .sub-menu {
                
                z-index: 99999;

            }
        
            .menu-principal ul ul li:last-of-type {
        
                border-bottom: 0px;
        
            }
        
        
            .menu-principal ul ul li a {
        
                text-align: left;
                margin-left: 15px;
                margin-right: 15px;
        
            }
        
            .menu-principal ul li:hover > ul {
                    
                display: block;
        
        
            }

    }



/** MENÚ MÓVIL **/

div.slicknav_menu {

    background-color: var(--colorPrimario);
    display: flex;
    align-items: center;
    flex-direction: column;

}

.slicknav_menu .slicknav_btn {

    background-color: rgba(0, 0, 0, 0.8);

}

.slicknav_menu a {

    font-family: var(--fuentePrincipal);
    background-color: var(--colorPrimario);
    text-align: center;
    font-size: 1rem;
}

.slicknav_menu li:first-of-type {

    border: none;

}

.slicknav_menu a:hover{

    background: transparent;
    color: var(--colorSecundario);
    
}

@media (min-width: 768px) {

    div.slicknav_menu {

        display: none;

    }

    
    
}

/** PÁGINA **/

/** SIN SIDEBAR **/

.contenedor-pagina.sin-sidebar {

    max-width: 1200px;
    width: 100%;
    margin: auto;
    display: block;

}

.imagen-pagina {

    height:250px;
    background-color: var(--colorTerciario);
    position: relative;
    overflow: hidden;

}

.encabezado {

    height: 250px;
    width: 100%;
    text-align: center;
    position: relative;

}

.contenido-front {

    max-width: 1200px;
    width: 95%;
    margin: auto;
    padding: none;

}

.fondo-text-enc {

    width: 100%;
    height: auto;
    position: absolute;
    background-color: rgb(1, 13, 13, 0.8);

}

.encabezado .fondo-text-enc .titulo {
        
    color: var(--colorSecundario);
    font-family: var(--fuentePrincipal);
    line-height: 32px;
    text-align: center;
    font-size: 1.6rem;
    margin-left: -1px;
    margin: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;

}

.encabezado .fondo-text-enc {
        
    position: absolute;
    bottom: 0;

}

.contenido-page {

    padding-right: 25px;
    padding-left: 25px;
    align-content: center;

}

.contenido-page img {

    border: 2px solid var(--colorSecundario);

}

.contenido-page iframe {

    border: 2px solid var(--colorSecundario);
    
    }


.autor-pub {

    text-align: center;
    font-family: var(--fuentePrincipal);
    font-size: 16px;
    line-height: 28px;
    color: var(--colorSecundario);
    margin: 0;

}

.fecha-pub {

    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--colorTerciario);
    font-size: 14px;

}

.contenido-page .publicacion-post p {

    text-align: justify;
    font-family: var(--fuentePrincipal);
    font-size: 18px;
    line-height: 28px;

}


.contenido-pub iframe {

    position: relative;
    width: 100%;
    height: 100%;

}

@media (min-width: 768px) {


    .contenedor-pagina.sin-sidebar {

        width: 95%;
        border-right: 1px solid var(--colorSecundario);
        border-left: 1px solid var(--colorSecundario);

    }

    .imagen-pagina {

        height:300px;

    }

    .encabezado {

        height: 300px;

    }

    .encabezado .fondo-text-enc {

        background-color: rgb(1, 13, 13, 0.8);

    }


    .encabezado .fondo-text-enc .titulo {
        
        font-size: 3em;
        line-height: 60px;
        background-color: transparent;

    }

    
    .encabezado .titulo {
        
        color: var(--colorPrimario);
        font-family: var(--fuentePrincipal);

    }

    .contenido-page {

        padding-left: 0;
        padding-right: 0;
        padding-top: 20px;
        padding-bottom: 30px;

    }

    .contenido-page-galeria {

        border-right: 1px solid var(--colorSecundario);
        border-left: 1px solid var(--colorSecundario);
        padding-left: 0;
        padding-right: 0;

    }

    .contenido-page-galeria .autor-pub {

        margin: 0px;
        padding: 0px;

    }

    .contenido-page p {

        text-align: center;
        margin-left: 35px;
        margin-right: 35px;

    }

    .contenido-page p:last-of-type {

        margin-bottom: 0px;

    }

    .contenido-page h1 {

        margin-top: 0px;
        padding-top: 20px;

    }

    .publicacion {

        display: flex;

    }

    .contenido-pub {

        width: 75%;
        padding: 0px;
        height: auto;
        border-left: 1px solid var(--colorSecundario);
        border-right: 1px solid var(--colorSecundario);

    }


    .contenido-pub p{

        margin: 40px;
        text-align: justify;

    }

    .contenido-pub .autor-pub {

        text-align: center;
        margin: 0px;
        font-size: 18px;

    }

    .contenido-pub .fecha-pub {

        text-align: center;
        margin: 0;
        color: var(--colorTerciario);
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 16px;

    
    }

    .contenido-pub h1 {

       text-align: center;
       padding-top: 0px;

    }

    .sidebar-pub {

        width: 25%;
        padding: 15px;
        padding-top: 0px;
        text-align: center;
        border-right: 1px solid var(--colorSecundario);

    }

    .sidebar-pub .enc-sidebar {

        margin-bottom: 20px;
        font-size: 22px;
        padding-top: 0px;
        border-top: none;
        color: var(--colorTerciario);


    }

    .contenido-pub iframe {

        width: 100%;
        height: 400px;
    
    }


}

/** PÁGINA CON SIDEBAR **/

.contenedor-pagina.con-sidebar {

    max-width: 1200px;
    width: 100%;
    margin: auto;
    display: block;

}

@media (min-width: 768px) {

    .contenedor-pagina.con-sidebar {

        max-width: 1200px;
        width: 95%;
        margin: auto;
        display: block;
    
    }

    .contenedor .pagina .seccion .con-sidebar {

        display: flex;
        justify-content: space-between;
    
    }
    
    .con-sidebar .contenido-page {
    
        flex: 0 0 calc(65% - 3rem);
        padding-bottom: 30px; 
    
    }

    
    .con-sidebar .sidebar {
    
        flex: 0 0 calc(35% - 3rem); 
    
    }

    .contenido-front {

        border-left: 1px solid var(--colorSecundario);

    }

    
}

/** SECCIONES FRONT **/

.contenido-front {

    padding-right: 25px;
    padding-left: 25px;
    align-content: center;

}

.secciones-front {

    height: auto;
    width: 100%;
    display: block;

}

.secciones-front .cuatro {

    display: block;
    height: min-content;

}

.secciones-front .dos {

    display: block;
    align-items: center;
    height: min-content;

}

.secciones-front .uno {

    width: 100%;
    height: min-content;
    border-bottom: 1px solid var(--colorSecundario);

}

.secciones-front .uno li {

    margin-bottom: 0px;

}

.secciones-front .enc-front {

    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
    padding: 10px;
    background-color: rgba(1, 13, 13, 0.8);
    position: absolute;
    z-index: 1;
    width: auto;
    color: var(--colorSecundario);

}

.secciones-front .sidebar-front {

    width: 100%;
    text-align: center;

}

.secciones-front .sidebar-front h2 {

    margin-top: 5px;

}

.contenido-front .sidebar-front {

    padding-right: 0px;
    padding-left: 0px;

}



@media (min-width: 768px) {

    .contenido-front {

        align-content: center;
        padding-left: 0px;
        padding-right: 0px;
        border-top: 1px solid var(--colorCuaternario);
    
    }

    .contenido-front .sidebar-front {

        padding-right: 20px;
        padding-left: 20px;
    
    }

    .secciones-front {

        height: min-content;
        max-width: 1200px;
        width: 100%;
        margin: auto;
        display: flex;
    
    }

    .secciones-front h2{

        font-size: 1.6rem;
    
    }

    .secciones-front .cuatro {

    display: block;
    height: min-content;
    width: 75%;
    background-color: white;
    padding: 20px;
    border-right: none;
    border-bottom: none;
    border-top: none;


    }

    .secciones-front .dos {

        display: flex;
        align-items: center;
        height: auto;

    }

    .secciones-front .uno {

        width: 100%;
        height: 230px;
        margin: 10px;
        border: 3px solid var(--colorTerciario);
        border-bottom: none;

    }

    .secciones-front .sidebar-front {

        background-color: White;
        border-right: 1px solid var(--colorSecundario);
        border-left: 1px solid var(--colorSecundario);
        width: 25%;
        text-align: center;
        border-bottom: none;
        border-top: none;

    }

    #vidfit0 {

        height: max-content;

    }

    .secciones-front .uno img{

         margin-left: 0px;
         border: none;
     
     }

     .secciones-front .uno iframe{

        border: none;
    
    }

    .secciones-front .enc-front {

        text-align: left;
        margin-bottom: 0;
        padding: 20px 20px 20px 10px;
        background-color: rgba(1, 13, 13, 0.8);
        position: absolute;
        z-index: 2;
        margin-top: 20px;
        line-height: 10px;
        font-size: 24px;
        color: var(--colorSecundario);
    
    }
        
}

/** CARD POSTYPE FRONT **/


@media (min-width: 768px) {
    
    .gradient::after {

        content: '';
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;

        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.55+66,0.65+100 */
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 56%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.55) 56%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.55) 56%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
   

    }

}

.card-postype-front {

    margin-bottom: 1rem;
    margin-top: 1rem;

}

.card-postype-front .contenido {

    bottom: 0px;
    display: block;
    width: 100%;
    height: min-content;
    background-color: rgb(255, 255, 255, 0.8);
    text-align: center;
    padding: .8rem 0;
    margin: auto;
    border-bottom: none;


}

.card-postype-front .contenido p {

    font-weight: 400;
    font-size: 1rem;
    margin: 0;

}

.card-postype-front .contenido a:visited {

    color: var(--colorSecundario);

}

.card-postype-front .contenido h2 {

    font-size: 20px;
    margin-bottom: 5px;
    margin-top: 0px;
    color: var(--colorTerciario);

}

.card-postype-front img {

    display: block;
    margin: auto;
    width: 100%;
    height: auto;
    border: 3px solid var(--colorTerciario);
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    
}

.card-postype-front iframe {

    border: 2px solid var(--colorTerciario);
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);

 
 }

 .uno h2 {

    font-size: 1.2rem;

 }

@media (min-width: 768px) {
    
    .card-postype-front {

        flex: 0 0 calc(50% - 1rem);
        position: relative;
        margin: 0;
        border: none;
        overflow: hidden;

    }

    .card-postype-front .contenido {

        position: absolute;
        display: block;
        width: 100%;
        height: min-content;
        background-color: rgb(1, 13, 13, 0.8);
        z-index: 2;
        text-align: right;
        border-bottom: 3px solid var(--colorTerciario);
        box-sizing: content-box;
        
    }

    .card-postype-front .contenido p{

        color: var(--colorTerciario);
        font-size: 16px;
        text-align: right;
        margin-right: 15px;
        margin-left: 5px;

    }

    .card-postype-front .contenido h2{

        margin-bottom: 5px;
        font-size: 22px;
        color: var(--colorSecundario);
        margin-right: 15px;
        margin-left: 5px;

    }

    .card-postype-front img {

        display: block;
        width: 100%;
        height: 230px;
        border: none;
        
    }

    .card-postype-front iframe {

        display: block;
        width: 100%;
        height: auto;
        border: none;
        
    }

}

/** SECCIONES CURSOS **/

.secciones-cursos {

    height: auto;
    width: 100%;
    display: block;

}

.secciones-cursos .cuatro {

    display: block;
    height: min-content;

}

.secciones-cursos .dos {

    display: block;
    align-items: center;
    height: min-content;

}

.secciones-cursos .uno {

    width: 100%;
    height: min-content;
    margin-top: 15px;

}

#vidfit0 {

    height: max-content;

}

.secciones-cursos .uno img{

    border: 2px solid var(--colorSecundario);
    margin-left: 1px;
 
 }

.secciones-cursos .uno iframe {

    border: 2px solid var(--colorSecundario);
    margin-left: 1px;
 
 }

.secciones-cursos .enc-front {

    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    z-index: 2;
    margin-left: 3px;
    width: auto;

}

.secciones-cursos .sidebar-front {

    width: 25%;

}



@media (min-width: 768px) {

    .secciones-cursos {

        height: min-content;
        max-width: 1200px;
        width: 95%;
        margin: auto;
        display: flex;

    }

    .secciones-cursos .lista-postype {

        display: flex;
        flex-wrap: wrap;
        margin-top: 0px;

    }

    .secciones-cursos h2{

        font-size: 1.6rem;
    
    }

    .secciones-cursos .dos {

        display: flex;
        align-items: center;
        height: auto;
        justify-content: space-between;

    }

    .secciones-cursos .cuatro {

        display: block;
        height: min-content;
        width: 100%;
        background-color: white;
        padding: 0px 20px 0px 20px;

    }

  

    .secciones-cursos .uno {

        width: 50%;
        height: min-content;
        margin: 10px;
        border: 3px solid var(--colorSecundario);

    }

    .secciones-cursos .sidebar-front {

        background-color: White;
        border: black solid 1px;
        width: 25%;
        text-align: center;
        border-bottom: none;
        border-top: none;

    }

    .secciones-cursos .enc-front {

        text-align: left;
        margin-bottom: 0;
        padding: 20px 20px 20px 10px;
        background-color: white;
        position: absolute;
        z-index: 2;
        margin-top: 20px;
        line-height: 10px;
        border-left: none;
        margin-left: 0px;

    }

    .secciones-cursos .uno img{

        margin-left: 0px;
        border: none;
    
    }

    .secciones-cursos .uno iframe{

        margin-left: 0px;
        border: none;
   
   }
    
}

/** CARD POSTYPE CURSOS **/


@media (min-width: 768px) {
    
    .gradient::after {

        content: '';
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 0x;
        bottom: 0;

        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.55+66,0.65+100 */
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 56%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.55) 56%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.55) 56%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
   

    }

}

.card-postype-cursos {

    margin-bottom: 1rem;
    margin-top: 1rem;
    border-bottom: 1px solid var(--colorSecundario);

}

.card-postype-cursos .contenido {

    bottom: 0px;
    display: block;
    width: 100%;
    height: min-content;
    background-color: rgb(255, 255, 255, 0.8);
    text-align: center;
    padding: .8rem 0;

}

.card-postype-cursos .contenido p {

    font-weight: 300;
    font-size: 1rem;
    margin: 0;

}

.card-postype-cursos .contenido h2 {

    font-size: 20px;
    margin: 0;
    color: var(--colorTerciario);

}

.card-postype-cursos.gradient img {

    display: block;
    margin: auto;
    height: auto;
    border: 2px solid var(--colorSecundario);
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);


}



.card-postype-cursos .contenido h4 {

    line-height: 1;
    color: var(--colorPrimario);

}

.secciones-cursos li {

    margin: 0px;

}


@media (min-width: 768px) {
    
    .card-postype-cursos {

        flex: 0 0 calc(50% - 1rem);
        position: relative;
        margin: 0;
        border: none;
        margin-right: 15px;
        margin-bottom: 15px;
        overflow: hidden;

    }

    .card-postype-cursos .contenido {

        position: absolute;
        display: block;
        width: 100%;
        height: min-content;
        background-color: rgb(255, 255, 255, 0.8);
        z-index: 2;
        text-align: right;
        box-sizing: content-box;

    }

    .card-postype-cursos .contenido p{

        color: var(--colorPrimario);
        font-size: 16px;
        margin-top: 5px;
        text-align: right;
        margin-right: 15px;

    }

    .card-postype-cursos .contenido h2{

        margin: 0px;
        font-size: 22px;
        margin-right: 15px;

    }

    .card-postype-cursos.gradient img {

        display: block;
        width: 100%;
        height: auto;

        
    }

    .secciones-cursos .enc-front {

        text-align: left;
        margin-bottom: 0;
        padding: 20px 20px 20px 10px;
        background-color: rgba(0, 0, 0, 0.8);
        position: absolute;
        z-index: 2;
        margin-top: 20px;
        line-height: 10px;

    }

    .secciones-cursos .enc-front h2 {

        font-size: 24px;

    }

    .secciones-cursos .uno iframe{

        margin-left: 0px;
        border: none;
   
   }

   .secciones-cursos li {

    margin: 0px;

}


}



/** CARD POSTYPE **/

@media (min-width: 768px) {
    
    .gradient::after {

        content: '';
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;

        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.55+66,0.65+100 */
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 56%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.55) 56%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.55) 56%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
   

    }

}

.card-postype {

    margin-bottom: 1rem;
    margin-top: 1rem;
    border-bottom: 1px solid var(--colorSecundario);

}

.card-postype:last-of-type {

    border-bottom: none;

}

.card-postype p {

    line-height: 30px;

}

.card-postype .categoria-desk {

    display: none;

}

.card-postype .tag-desk {

    display: none;

}

.card-postype .categoria-movil {

width: min-content;
margin: auto;
top: 5px;

}

.card-postype .tag-movil {

    width: min-content;
    margin: auto;
    top: 5px;
    
    }


.card-postype iframe {

    display: block;
    margin: auto;
    height: auto;
    border: 3px solid var(--colorSecundario);

}

.card-postype .contenido {

    bottom: 0px;
    display: block;
    width: 100%;
    height: min-content;
    background-color: rgb(255, 255, 255, 0.8);
    text-align: center;
    padding: .8rem 0;

}

.card-postype .contenido p {

    font-weight: 400;
    font-size: 1rem;
    margin: 0;

}

.card-postype img {

    display: block;
    margin: auto;
    height: auto;
    border: 3px solid var(--colorSecundario);
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);     

}

.card-postype iframe {

    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);     

}

.card-postype .contenido h2 {

    font-size: 20px;
    margin: 0;
    color: var(--colorCuaternario);

}

.card-postype .contenido h4 {

    line-height: 1;
    color: var(--colorPrimario);

}

.card-postype .post-categories {

    position: relative;
    z-index: 10;
    top: 5px;
    display: flex;
    border: none;
    margin-bottom: 5px;

}

.card-postype .post-categories li {

    background-color: var(--colorTerciario);
    padding: 5px 5px;
    margin-right: 5px;
    border-radius: 3px;
    border-bottom: 0px;

}

.card-postype .post-categories li a {

    font-family: var(--fuenteSecundaria);
    color: var(--colorPrimario);
    width: 100%;

}

.card-postype .post-categories li:last-of-type {

    margin-right: 0px;

}

@media (min-width: 768px) {
    
    .card-postype {

        flex:0 0 calc(50% - 1rem);
        position: relative;
        margin: 0px;
        margin-right: 15px;
        margin-bottom: 15px;
    
    }

    .card-postype .categoria-movil {

        display: none;
    
    }

    .card-postype .tag-movil {

        display:none;

    }

    .card-postype .categoria-desk {

        display: block;
    
    }

    .card-postype .tag-desk {

        display:block;
        position: absolute;
        z-index: 10;
        top: 50px;
        left: 14px;
        display: flex;
        border: none;
        background-color: var(--colorCuaternario);
        padding: 5px 5px;
        margin-right: 5px;
        border-radius: 3px;
        border-bottom: 0px;
        color: var(--colorSecundario);
        font-size: 14px;

    }

    .card-postype .tag-desk a{

        color: var(--colorTerciario);
        font-size: 14px;
        font-family: var(--fuenteSecundaria);


    }

    .card-postype .post-categories {

        position: absolute;
        z-index: 10;
        top: 14px;
        left: 14px;
        display: flex;
        border: none;
        

    }

    .card-postype .post-categories li {

        background-color: var(--colorCuaternario);
        padding: 5px 5px;
        margin-right: 5px;
        border-radius: 3px;
        border-bottom: 0px;

    }

    .card-postype .post-categories li a {

        font-family: var(--fuenteSecundaria);
        color: var(--colorTerciario);
        font-weight: 600;

    }

    .card-postype .post-categories li:last-of-type {

        margin-right: 0px;

    }

    .card-postype .contenido {

        position: absolute;
        display: block;
        width: 100%;
        height: min-content;
        background-color: rgb(255, 255, 255, 0.8);
        z-index: 2;
        text-align: right;
        box-sizing: content-box;


    }


    .card-postype .contenido p {

        color: var(--colorPrimario);
        text-align: right;
        margin-right: 15px;

    }

    .card-postype .post-categories a {

        font-size: 14px;

    }

    .card-postype .contenido h2{

        font-size: 20px;
        margin-right: 15px;
        color: var(--colorCuaternario);


    }

    .card-postype img {

        display: block;
        margin: auto;
        height: auto;
        
    }


}

/** CARD POSTYPE CAT SEARCH **/

@media (min-width: 768px) {
    
    .gradient::after {

        content: '';
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;

        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.55+66,0.65+100 */
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 56%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.55) 56%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.55) 56%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
   

    }

}

.card-postype-cs {

    margin-bottom: 1rem;
    margin-top: 1rem;

}

.card-postype-cs:last-of-type {

    padding-bottom: 15px;
    margin-top: 1rem;
    border-bottom: 1px solid var(--colorSecundario);

}

.card-postype-cs .categoria-desk {

    display: none;

}

.card-postype-cs .tag-desk {

    display: none;

}

.card-postype-cs .categoria-movil {

width: min-content;
margin: auto;
top: 5px;

}

.card-postype-cs .tag-movil {

    width: min-content;
    margin: auto;
    top: 5px;
    
    }

.card-postype-cs iframe {

    display: block;
    margin: auto;
    height: auto;
    border: 2px solid var(--colorSecundario);

}

.card-postype-cs .contenido {

    bottom: 0px;
    display: block;
    width: 100%;
    height: min-content;
    background-color: rgb(255, 255, 255, 0.8);
    text-align: center;
    padding: .8rem 0;

}

.card-postype-cs .contenido p {

    font-weight: 300;
    font-size: 1rem;
    margin: 0;

}

.card-postype-cs img {

    display: block;
    margin: auto;
    height: auto;
    border: 3px solid var(--colorSecundario);
    margin-left: 1px;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);

}

.card-postype-cs .contenido h2 {

    font-size: 20px;
    margin: 0;
    color: var(--colorCuaternario);

}

.card-postype-cs .contenido h4 {

    line-height: 1;
    color: var(--colorPrimario);

}

.card-postype-cs .post-categories {

    position: relative;
    z-index: 10;
    top: 10px;
    display: flex;
    border: none;

}

.card-postype-cs .post-categories li {

    background-color: var(--colorTerciario);
    padding: 5px 5px;
    margin-right: 5px;
    border-radius: 3px;
    border-bottom: 0px;

}

.card-postype-cs .post-categories li a {

    font-family: var(--fuenteSecundaria);
    color: var(--colorPrimario);

}

.card-postype-cs .post-categories li:last-of-type {

    margin-right: 0px;

}


@media (min-width: 768px) {
    
    .card-postype-cs {

        flex:0 0 calc(50% - 1rem);
        position: relative;
        margin: 0px;
        margin-right: 15px;
        margin-bottom: 15px;
        border-bottom: 0px;
    
    }

    .card-postype-cs:last-of-type {

        padding-bottom: 0px;
        margin-top: 0px;
        border-bottom: none;
    
    }

    .card-postype-cs .categoria-movil {

        display: none;
    
    }

    .card-postype-cs .tag-movil {

        display:none;

    }

    .card-postype-cs .categoria-desk {

        display:block;
        position: absolute;
        z-index: 10;
        top: 14px;
        left: 14px;
        display: flex;
        border: none;
        background-color: var(--colorCuaternario);
        padding: 5px 5px;
        margin-right: 5px;
        border-radius: 3px;
        border-bottom: 0px;
        color: var(--colorSecundario);
        font-size: 14px;
    
    }

    .card-postype-cs .tag-desk {

        display:block;
        position: absolute;
        z-index: 10;
        top: 50px;
        left: 14px;
        display: flex;
        border: none;
        background-color: var(--colorCuaternario);
        padding: 5px 5px;
        margin-right: 5px;
        border-radius: 3px;
        border-bottom: 0px;
        color: var(--colorSecundario);
        font-size: 14px;

    }

    .card-postype-cs .tag-desk a{

        color: var(--colorTerciario);
        font-size: 14px;
        font-family: var(--fuenteSecundaria);


    }

    .card-postype-cs .post-categories {

        position: absolute;
        z-index: 10;
        top: 14px;
        left: 14px;
        display: flex;
        border: none;

    }


    .card-postype-cs .post-categories li {

        background-color: var(--colorCuaternario);
        padding: 5px 5px;
        margin-right: 5px;
        border-radius: 3px;
        border-bottom: 0px;

    }

    .card-postype-cs .post-categories li a {

        font-family: var(--fuenteSecundaria);
        color: var(--colorTerciario);
        font-weight: 600;

    }

    .card-postype-cs .post-categories li:last-of-type {

        margin-right: 0px;

    }

    .card-postype-cs .contenido {

        position: absolute;
        display: block;
        width: 100%;
        height: min-content;
        background-color: rgb(255, 255, 255, 0.8);
        z-index: 2;
        text-align: right;
        padding: .4rem 12px;


    }


    .card-postype-cs .contenido p {

        color: var(--colorPrimario);
        font-size: 14px;
        margin-top: 3px;
        text-align: right;

    }

    .card-postype-cs .post-categories a {

        font-size: 14px;

    }

    .card-postype-cs .contenido h2{

        font-size: 20px;
        margin: 0;


    }

    .card-postype-cs img {

        display: block;
        margin: auto;
        width: 100%;
        height: auto;
        
    }


}

/** SIDEBAR **/

.sidebar-pub {

    text-align: center;
    padding-right: 25px;
    padding-left: 25px;

}

.enc-sidebar {

    margin-bottom: 20px;
    border-top: 1px solid var(--colorSecundario);
    padding-top: 20px;
    font-size: 26px;


}

.enc-sidebar h3 {

    color: var(--colorTerciario);

}

.entrada-sidebar {

    border-bottom: 1px solid var(--colorSecundario);
    margin-bottom: 20px;

}

.entrada-sidebar:last-of-type {

    border-bottom: none;

}

.entrada-sidebar h3 { 

    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 20px;

}

.entrada-sidebar iframe {

    border: 2px solid var(--colorSecundario);

}

.entrada-sidebar p { 

    margin-top: 5px;
    font-size: 15px;

}

.imagen-sidebar .post-thumbnail {

    width: 75%;
    margin: auto;

}

.imagen-sidebar img {

    width: 75%;
    border: 2px solid var(--colorSecundario);
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);


}


.imagen-sidebar iframe {

    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);

}



/** SIDEBAR **/

.sidebar-front {

    text-align: center;
    padding-right: 25px;
    padding-left: 25px;

}

.sidebar-front h2 {

    color: var(--colorTerciario);

}



.sidebar-front .enc-sidebar {

    margin-bottom: 20px;
    border-top: 1px solid var(--colorSecundario);
    padding-top: 20px;
    font-size: 26px;


}

.sidebar-front .entrada-sidebar {

    border-bottom: 1px solid #d3d3d3;
    margin-bottom: 20px;

}

.sidebar-front .entrada-sidebar:last-of-type {

    border-bottom: none;

}

.sidebar-front .entrada-sidebar h3 { 

    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 20px;
    color:var(--colorTerciario);

}

.sidebar-front .entrada-sidebar iframe {

    border: 2px solid var(--colorSecundario);

}

.sidebar-front .entrada-sidebar p { 

    margin-top: 5px;
    font-size: 15px;

}

.sidebar-front .imagen-sidebar .post-thumbnail {

    width: 75%;
    margin: auto;

}

.sidebar-front .imagen-sidebar img {

    width: 75%;
    border: 2px solid var(--colorSecundario);
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);


}

.sidebar-front .sidebar-pub {

    border-top: 1px solid #d3d3d3;

   } 

@media (min-width: 768px) {


    
}


/** WIDGET SIDEBAR **/

.widget {

    padding-bottom: 5px;
    padding-top: 20px;

}

.widget:first-of-type {

    padding-top: 10px;

}

.widget:last-of-type {

    border-bottom: none;
    padding-bottom: 30px;

}

.widget #searchsubmit {

    margin-top: 10px;

}

.widget a:hover {

    color: var(--colorSecundario);

}

.widget a {

    color: var(--colorPrimario);

}

.widget h3 {

    font-family: var(--fuentePrincipal);

}

.widget .enc-sidebar {

    text-align: center;

}

.widget .enc-sidebar h3 {

color:var(--colorTerciario) ;

}

@media (min-width: 768px) {

    .widget {

        padding-bottom: 10px;
        padding-top: 10px;
        
    }
    
    .widget:first-of-type {
    
        padding-top: 10px;
    
    }
    
    .widget:last-of-type {
    
        border-bottom: none;
        padding-bottom: 20px;
    
    }
    
    .widget #searchsubmit {
    
        margin-top: 10px;
    
    }
    
    .widget a:hover {
    
        color: var(--colorSecundario);
    
    }
    
    .widget a {
    
        color: var(--colorPrimario);
    
    }
    
    .widget h3 {
    
        font-family: var(--fuentePrincipal);
    
    }
    
}



/** FOOTER **/

hr {

    color: tomato;
    margin: 0;

}

.site-footer {

    height: auto;

}

.site-footer li:first-of-type {

    border-bottom: none;

}

.contenedor-footer {

    display: flex;
    background-color: var(--colorSecundario);
    justify-content: center;
    width: auto;
   

}

.contenedor-footer .iz{

    display: inline-block;
    background-color: var(--colorSecundario);
    margin: auto;


}

.contenedor-footer .iz .logo-brevario-footer {

    width: 70%;
    height: auto;

}

.contenedor-footer .iz img{

width:144px;
height: auto;
padding-top: 10px;
background-color: var(--colorSecundario);

}

.contenedor-footer .iz p {

    font-family: var(--fuentePrincipal);
    text-align: center;
    font-size: 12px;
    margin-right: 20px;
    margin-left: 20px;
    color: var(--colorPrimario);
    line-height: 15px;

    
    }

.contenedor-footer .ce{

    display: inline-flex;
    background-color:var(--colorTerciario);
    margin: auto;

}

.site-footer .ce .menu-principal1 {

    display: table-column;
    color: black;
    font-family: var(--fuentePrincipal);

}

.site-footer .menu-principal1 .ce a {

    text-decoration: none;

}

.contenedor-footer .ce a{

    color:var(--colorCuaternario);
    font-weight: 600;

}

.contenedor-footer .ce ul{

    margin: 20px 30px 20px 20px;

}

.contenedor-footer .iz .logo-brevario-footer {

    margin: auto;
    text-align: center;

}

@media (min-width: 768px) {
    


    .contenedor-footer {

        max-width: 1200px;
        margin: auto;
        width: 95%;

    }

    .site-footer .contenedor-footer .iz {
    
        flex: 0 0 calc(75%);
        margin: auto;
        align-items: center;

    }

    .site-footer .contenedor-footer .iz p {
    
        font-size: 14px;
        
    }
    
    
    .site-footer .contenedor-footer .ce {
    
        flex: 0 0 calc(25%);
        margin: auto;    

    }

    .site-footer .contenedor-footer .ce .menu {
    
        margin: auto;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 100px ;
    
    }

    .contenedor-footer .iz{

        display: block;
        height:auto;
        width: auto;
        text-align: center;

    }

    .contenedor-footer .iz .logo-brevario-footer {

        margin: auto;
    
    }

    .contenedor-footer .iz .tagline{

        vertical-align: middle;
        margin: auto;
    
    }

}

/** FORMULARIO **/

.wpcf7-form .wpcf7-form-control{

    flex-wrap: wrap;
    margin: auto;
    width: 95%;
    padding: 1rem;
    height: 3rem;
    border: 1px solid #d3d3d3;
    margin-top: 10px;

}

.wpcf7-form p{

    font-size: 16px;
    font-family: var(--fuenteSecundaria);
    color: var(--colorSecundario);

}

.wpcf7-form .wpcf7-textarea {

    height: 10rem;

}

.wpcf7-form .wpcf7-submit {

    background-color: var(--colorSecundario);
    font-family: var(--fuentePrimaria);
    font-size: 1rem;
    font-weight: bold;

}

.wpcf7-form .wpcf7-submit:hover {

    cursor: pointer;

}

@media (min-width: 768px) {



    .wpcf7-form .wpcf7-form-control{

        flex-wrap: wrap;
        margin: auto;
        width: 55%;
        height: 3rem;
        border: 1px solid #d3d3d3;
        margin-top: 10px;
    
    }

    .wpcf7-form p {

        font-size: 16px;
        font-family: var(--fuenteSecundaria);
        color: var(--colorSecundario);
        margin-top: 0px;

    }

    .wpcf7-form p:first-of-type {

        padding-top: 20px;

    }

    .wpcf7-form .wpcf7-submit {

        background-color: var(--colorSecundario);
        font-family: var(--fuentePrimaria);
        font-size: 1rem;
        font-weight: bold;
        width: 35%;
        margin-left: 70px;
    }

    .wpcf7-form .wpcf7-textarea {

        height: 10rem;
    
    }
    
}



/** POSTYPE LISTAS **/

.lista-postype {

    margin-top: 1rem;
    padding: 0px 0px 0px 0px;


}

@media (min-width: 768px) {

    .lista-postype {

        display: flex;
        flex-wrap: wrap;
        margin-top: 0px;
        padding: 0px 40px 0px 40px;
        margin-left: 20px;

    }
    
}



/** Galería **/

.galeria-imagenes {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, auto);
    grid-gap: 1rem;
    padding-top: 20px;


}

.contenido-page-galeria {

    padding-right: 25px;
    padding-left: 25px;
    align-content: center;
    padding-bottom: 30px;


}

.contenido-page-galeria img {

border: 2px solid var(--colorSecundario);

}

.contenido-page-galeria p {

    text-align: center;

}

@media (min-width: 768px) {
    
    .galeria-imagenes {

        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(6, auto);
        grid-gap: 1rem;
        padding-top: 30px;
        
    }

    .galeria-imagenes img {

        display: block;

    }

    .galeria-imagenes li:nth-child(4) {

        grid-row: 2 / 4;
        grid-column: 2 / 3;

    }

    .contenido-page-galeria {

        padding-right: 25px;
        padding-left: 25px;
        align-content: center;
        padding-bottom: 30px;

    }

    .contenido-page-galeria img {

        border: 2px solid var(--colorSecundario);

    }

    .contenido-page-galeria p {

        text-align: center;

    }  

}



