/*
 Theme Name:   DREI v2
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Tema para el portal Drei
 Author:       Aarón Ramírez De la Cruz
 Author URI:   https://ramirezaaron.netlify.com/
 Template:     twentytwenty
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         drei
 Text Domain:  dreichild
*/


/*
    Rojo: #e0141f
    Gris: #939192
*/

body {
    background: #fff!important; 
}

#site-header{
    border-top: 1em solid #e0141f;
    border-bottom: 1em solid #9f9f9f; 
}
#site-content{
    /*overflow-y: visible!important;*/ 
}

.menu-item-has-children > .sub-menu > li > a {
    color: #000!important;
}

.menu-item-has-children > .sub-menu{
    background-color: #fff!important; 
}

/* Encabezado del sitio */
.header-inner {
    padding: 1rem;
}

body:not(.overlay-header) .primary-menu > li > a,body:not(.overlay-header) .primary-menu > li > .icon,.modal-menu a,.footer-menu a, .footer-widgets a,#site-footer .wp-block-button.is-style-outline,.wp-block-pullquote:before,.singular:not(.overlay-header) .entry-header a,.archive-header a,.header-footer-group .color-accent,.header-footer-group .color-accent-hover:hover {
    color: #000!important;
}

.drei-separator{
    padding: 3rem 0; 
}

.breadcrumbs span a{
    text-decoration: none;
}

.breadcrumbs span{
    background-color: #f9f9f9;
    padding: 5px;
    border-radius: 0px 40px 40px 0px;
}

.breadcrumbs{
    text-align: center; 
}

/* Aplicado al menú principal */
.header-navigation-wrapper li a{
    color: #000!important;
    text-transform: uppercase; 
    font-weight: bold; 
}

.header-navigation-wrapper li a:hover{
    text-decoration-line: none;
}

.drei-table, .drei-table tr, .drei-table td {
    border: none!important;
}

.button.is-danger{
    background-color: #e0141f!important;
    padding: 0.8em 2em!important;
}

#title-category-name-widget{
    color: #e0141f; 
}

.drei-button{
    text-transform: uppercase; 
    padding: 0.8em 2em!important;
    height: 5rem!important;
}

#button-shop-drei{
    background-color: #066fa9;
    text-transform: uppercase; 
    padding: 0.8em 2em!important;
    color: #fff!important; 
}

/* Widget de categoría  */
.name-category-card {
    text-align: center;
    color: #777; 
    font-size: 0.9em;
    text-transform: uppercase; 
}

.drei-card-content p {
    margin-left: auto; 
    margin-right: auto; 
    position: relative; 
    bottom: -20px;
}

#cover-category-image{
    width: 191%; 
    margin-left: -45%; 
    height: 40vw;
}

#content-category-widget{
    margin-left: 3%;
    margin-right: 3%;
}

#drei-excerpt-text{
    margin-left: 3%;
    margin-right: 3%;
}

.card-category{
    text-align: center;
}

.drei-img-category{
    display: flex;
}

.drei-card-content{
    border-right: solid 5px red;
    border-left: 5px solid red;
    margin: 10px;
    display: block;
    flex-wrap: wrap;
}

.drei-card-content img{
    max-width: 80%!important;
    margin-left: auto;
    margin-right: auto; 
}

.drei-brace{
    content: "]"; 
    color: #e0141f;
    font-size: 6em;
}

.link-category{
    text-decoration: none; 
}

.drei-btn-link:hover, .drei-btn-link:visited, .drei-btn-link:active, .drei-btn-link:focus{
    text-decoration: none; 
}

.excerpt-widget-title{
    color: #939192;
    text-align: right;
}

.excerpt-widget-content{
    color: #656565; 
}

.card{
    box-shadow: 0 0.2em 0.3em -0.125em rgba(10,10,10,.1), 0 0 0 1px rgba(10,10,10,.02); 
    min-height: 100%;
}

.card:hover{
    box-shadow: 0 0.5em 0.9em -0.125em rgba(10,10,10,.1), 0 0 0 1px rgba(10,10,10,.02); 
    transition-duration: 0.3s;
}

.no-link{
    text-decoration: none; 
}

.top-text{
    vertical-align: top; 
}

.drei-text-content{
    font-size: 1.3em;
    color: #656565; 
}

.drei-content-right{
    text-align: right; 
}

#img-separator-excerpt{
    width: 70%; 
    max-width: 100%;
    height: 3.5em;
}

.title-excerpt{
    color: #939192;
    text-align: right;
    margin-top: 4%; 
    text-transform: uppercase;
}

#container-title-excerpt{
    width: 30%;
}

#container-header-excerpt{
    display: flex; 
}

@media ( min-width: 1000px ) {
    #site-header .section-inner {
        width: calc(80% - 8rem);
    }
    .drei-content-right{
        text-align: center; 
    }
}

@media (min-width: 700px) and (max-width: 800px) {
    .container{
        margin-left: 5%!important;
        margin-right: 5%!important;
    }
    #cover-category-image{
        height: 50vw;
    }
    #content-category-widget{
        margin-left: 0;
    }
    #img-separator-excerpt{
        width: 60%; 
        max-width: 100%;
        height: 3.5em;
    }
    #container-title-excerpt{
        width: 40%;
    }
    .drei-content-right{
        text-align: center; 
    }
}

@media ( min-width: 200px) and (max-width: 500px) {
    #img-separator-excerpt{
        width: 50%; 
    }
    #container-title-excerpt{
        width: 50%; 
        text-align: center;
    }
    .title-excerpt{
        font-size: 2.5rem!important;
        text-align: center; 
    }
    .vi-button-image{
        font-size: 0.4em;
    }
    .drei-content-right{
        text-align: center; 
    }
    .name-category-card{
        font-size: 0.8em;
    }
}

@media ( min-width: 100px) and (max-width: 400px) {
    .name-category-card{
        font-size: 0.6em;
    }
    .drei-card-content p {
        bottom: -15px; 
    }
}

.contact-part {
    background: url(assets/images/contacto.jpg) no-repeat center center ;
    background-size: cover;
    min-height: 400px; 
    overflow: hidden;
    background-position: center 40%;
    background-repeat: no-repeat;
}

.btn_drei {
    background-color: #c13125; /* #E56542;*/
    color: #fff;
    font-weight: bold;
    display: flex;
    justify-content: center;
    opacity: .9;
}

.btn_drei .card-content{
    border-left: 4px solid #fff; 
    margin: 5px;
    width: 100%;
    text-align: center;
    border-right: 4px solid #fff;
}

.header-footer-group{
    /*background-color: #817F80;*/
}

/* Vista interior de los productos */
.container-categories-product a{
    padding: 0.3em; 
    text-decoration: none; 
    border-radius: 5px; 
}
.container-categories-product{
    text-align: center; 
    margin-top: 10%;
    position: relative; 
}
.title-card-product a{
    text-decoration: none; 
}
.title-card-product p{
    color: #066fa9; 
}
.title-card-product a:hover{
    text-decoration-color: #54a8d0; 
    text-decoration-line: underline; 
}
.container-codes-product{
    color: gray; 
}
.column-single-content{
    margin-left: 3%; 
    margin-right: 3%; 
}

#site-footer{
    background-color: #817F80;
}

#site-footer *{
    color: #fff;
}

#site-footer .logo-footer{
    max-width: 25%;
}


.singular .entry-header {
		padding: 1rem 0 !important; 
	}
