/*
 Theme Name:     Divi-child
 Theme URI:
 Description:      Divi-child Theme
 Author:		Josep
 Author URI:
 Template:       Divi
 Version:        1.0.0
 License:
 License URI:
 Tags:
 Text Domain:
*/
/*************************************************
* Tipografia
* General
* Header
* Home
* Uniformes
* Contacte
* Footer
*************************************************/
/************* Tipografia ***********************/
body {
    font-size: 18px;
    font-weight: 400;
    color: #272727;
}
h1, .h1 {
    font-size: 50px;
    font-weight: 900;
    line-height: 1.1em;
    color: #272727;
}
h2, .h2 {
    font-size: 40px;
    line-height: 1.2em;
    font-weight: 700;
    color: #272727;
}
h3, .h3 {
    font-size: 35px;
    line-height: 1.1em;
    font-weight: 300;
    color: #D7001D;
}
h4, .h4 {
    font-size: 25px;
    line-height: 1.2em;
    font-weight: 700;
    color: #272727;
}
h5, .h5 {
    font-size: 18px;
    line-height: 1.2em;
    font-weight: 700;
    color: #272727;
}
p, li {
    font-weight: 300;
    line-height: 1.2em;
    color: #272727;
}
.p-bold {
    font-weight: 900;
}
.text-blanc {
    color: #ffffff;
}
.text-roig {
    color: #D7001D;
}
.sombra {
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

/************** general *********************/
.centrar-columnes {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.boto-blanc-roig {
    background-color: #ffffff;
    border: none;
    color: #404040;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}
.boto-blanc-roig-border {
    border: 1px solid #272727;
    border-radius: 5px;
}
.et_pb_button.boto-blanc-roig:hover {
    border: none;
    background-color: #D7001D;
    color: #ffffff;
}
.et_pb_button.boto-blanc-roig-border:hover {
    border: 1px solid #D7001D;
}
.alinear-centre {
    text-align: center;
}
@media (max-width: 980px) {
    .invertir-col-mobil {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
    }
}

/************* Header ***********************/
#top-header .container #et-info,
#et-top-navigation {
    font-weight: 400;
}
#top-header a:hover,
#top-menu-nav>ul>li>a:hover {
    color: #D7001D;
    opacity: 1;
}
#main-header {
    box-shadow: 0 0 7px rgba(0,0,0,.1);
}
#top-menu.nav ul li a:hover {
    background-color: transparent;
    color: #D7001D;
    opacity: 1;
}
@media (max-width: 980px) {
    .mobile_menu_bar:before,
    .et_mobile_menu li.current-menu-item > a {
        color: #D7001D;
    }
    .et_mobile_menu {
        border-color: #D7001D;
    }
    .et_mobile_menu li a {
        border-bottom: none;
    }
    .et_mobile_menu .menu-item-has-children>a {
        background-color: transparent;
    }
}

/************* Home *****************/
.et_pb_bg_layout_dark h1 {
    color: #272727 !important;
}
body #page-container .et_pb_section .home_slider.et_pb_slider .et_pb_slide:hover .et_pb_slide_description .et_pb_more_button.et_pb_button {
    background-color: #D7001D;
}
body #page-container .et_pb_section .home_slider.et_pb_slider .et_pb_slide .et_pb_more_button.et_pb_button:hover {
    background-color: #ffffff !important;
}
.home_llistat ul {
    list-style-type: none;
    font-weight: 600;
    padding-bottom: 30px;
    padding-left: 0;
}
.home_llistat ul > li:not(:last-child) {
    margin-bottom: 10px;
}
.home_llistat .et-pb-icon {
    color: #D7001D;
    font-size: 20px;
    margin-right: 10px;
    font-weight: 600;
}

/************* Uniformes *************/
.et_pb_tabs.uniformes_tabs {
    border: none;
}
.uniformes_tabs ul.et_pb_tabs_controls {
    background-color: transparent;
}
.uniformes_tabs .et_pb_tabs_controls li {
    width: 20%;
    border-right: none;
}
.uniformes_tabs .et_pb_tabs_controls li a {
    padding: 4px 10px;
    font-weight: 300;
    line-height: 1.2em;
    color: #272727;
    text-align: center;
}
.uniformes_tabs .et_pb_tabs_controls li a:hover {
    color: #D7001D;
}
.uniformes_tabs .et_pb_tabs_controls li.et_pb_tab_active a {
    color: #D7001D !important;
    font-weight: 800;
}
.uniformes_tabs .contingut-tabs-uniformes {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.uniformes_tabs .contingut-tabs-uniformes > div {
    width: 50%;
    text-align: center;
}
.uniformes_tabs .contingut-tabs-uniformes .color-mocador h4 {
    margin-bottom: 15px;
}
@media (min-width: 981px) {
    .uniformes_tabs ul.et_pb_tabs_controls {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}
@media (max-width: 980px) {
    .uniformes_tabs ul.et_pb_tabs_controls:after {
        border: none;
    }
    .uniformes_tabs .et_pb_tabs_controls li {
        height: auto;
        width: 50%;
    }
}
@media (max-width: 767px) {
    .uniformes_tabs .et_pb_tabs_controls li {
        width: 100%;
        border-bottom: none;
    }
}
@media (max-width: 479px) {
    .uniformes_tabs .contingut-tabs-uniformes {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
    }
    .uniformes_tabs .contingut-tabs-uniformes > div {
        width: 100%;
    }
    .uniformes_tabs .et_pb_tabs_controls li a {
        text-align: left;
    }
}

/************* Contacte **************/
.contacte_formulari label {
    font-weight: 800;
}
.contacte_formulari input:not([type=checkbox]):not([type=submit]),
.contacte_formulari textarea {
    width: 100%;
    padding: 8px 10px;
    background-color: #f4f4f4;
    border: none;
}
.contacte_formulari .et_pb_toggle_close h5.et_pb_toggle_title,
.contacte_formulari .et_pb_toggle_title::before {
    color: #272727;
}
.contacte_formulari .et_pb_toggle_content p {
    font-size: 16px;
}
.contacte_formulari .et_pb_toggle_content li {
    font-size: 16px;
    font-weight: 300;
    color: #272727;
}
.contacte_formulari .contacte-accepto {
    margin-bottom: 20px;
}
.contacte_formulari .contacte-accepto label {
    font-size: 18px;
    font-weight: 300;
}
.contacte_formulari .contacte-accepto span.wpcf7-list-item,
.contacte_formulari .contacte-accepto span.wpcf7-list-item input[type=checkbox] {
    margin-left: 0;
}
.contacte_formulari .contacte-accepto a {
    color: #D7001D;
}
.contacte_formulari .contacte-accepto a:hover {
    text-decoration: underline;
}

/************* Footer ****************/
#footer-widgets .footer-widget li {
    padding-left: 0;
}
#footer-widgets .footer-widget li:before {
    display: none;
}
#footer-widgets .footer-widget ul li a:hover {
    color: #D7001D;
}
#footer-info {
    float: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
@media (max-width: 767px) {
    #footer-widgets .footer-widget {
        display: flex;
        justify-content: center;
        text-align: center;
    }
}
@media (max-width: 840px) {
    #footer-info {
        display: block;
    }
}