/*
 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:
*/

@import url("../Divi/style.css");

/*
* #header
* #footer
* #home
* #empresa
* #contacto
* #productos
*/
/******** #header ***********/
#top-menu li li a {
    width: 220px;
    padding: 6px 0;
}
.nav li ul {
    width: 250px;
}
header #top-menu-nav #top-menu li a:hover, header.et-fixed-header #top-menu-nav #top-menu li a:hover, #top-header #et-info a:hover {
    color: #0789C8 !important;
}
@media (max-width: 980px) {
    .logo_container #logo {
        max-height: 85%;
    }
}

/******** #footer **********/
#footer-widgets .footer-widget li {
    padding-left: 0;
}
#footer-widgets .footer-program-img-container {
    display: flex;
}
#footer-widgets .footer-program-img-container img:not(:last-child) {
    padding-right: 10px;
}
#footer-widgets .text-programa-footer {
    padding-bottom: 20px;
}
footer#main-footer a:hover, footer#main-footer #footer-widgets a:hover {
    color: #0789C8;
}
@media (min-width: 1100px) {
    .et_pb_gutters3.et_pb_footer_columns4 .footer-widget:first-child {
        width: 13%;
    }
    .et_pb_gutters3.et_pb_footer_columns4 .footer-widget:nth-child(2) {
        width: 21%;
    }
    .et_pb_gutters3.et_pb_footer_columns4 .footer-widget:nth-child(3) {
        width: 28%;
    }
    .et_pb_gutters3.et_pb_footer_columns4 .footer-widget:last-child {
        width: 32%;
        margin-bottom: 5%;
    }
    .et_pb_gutters3.et_pb_footer_columns4 .footer-widget {
        margin-right: 2%;
    }
    .et_pb_gutters3 .footer-widget:last-child {
        margin: 0;
    }
}
@media (min-width: 981px) and (max-width: 1099px) {
    #footer-widgets .footer-widget:nth-child(n) {
        width: 46.25%
    }
    #footer-widgets .footer-widget:nth-child(2n) {
        margin-right: 0;
    }
}
@media (min-width: 768px) and (max-width: 980px) {
    #footer-bottom .et-social-icons {
        width: 20%;
        float: right;
        text-align: right;
    }
    #footer-bottom .footer-info {
        width: 80%;
        float: left;
        text-align: left;
    }
    #footer-bottom .container {
        width: 90%;
    }
}
@media (max-width: 767px) {
    #footer-widgets {
        text-align: center;
    }
    #footer-widgets #nav_menu-2, #footer-widgets #nav_menu-3, #footer-widgets #custom_html-2 {
        width: 100%;
    }
    #footer-widgets .footer-program-img-container {
        display: block;
    }
    #footer-widgets .footer-program-img-container img:not(:last-child) {
        padding-right: 0;
    }
}

/*********** #home **********************/
span.titul-blau {
    color: #0789C8;
}
.home-productos a.et_pb_button:hover {
    border-color: #FFFFFF !important;
}
@media (max-width: 980px) {
    .modul-text-centrat, .cascara-almendra-home .et_pb_button_module_wrapper {
        margin: auto;
        text-align: center;
    }
}

/*********** #empresa *******************/
.empresa-proyectos .empresa-logos-proyectos {
    display: flex;
}
.empresa-proyectos .empresa-logos-proyectos img:not(:last-child) {
    margin-right: 25px;
}
.empresa-proyectos .et_pb_column {
    margin-bottom: 20px;
}
.bullet-llista ul {
    list-style-type: none;
    font-weight: 600;
    padding-left: 0;
}
.bullet-llista .et-pb-icon {
    color: #0789C8;
    font-size: 20px;
    margin-right: 10px;
    font-weight: 600;
}
.bullet-llista h3 {
    padding-bottom: 16px;
}
.bullet-llista li {
    padding-bottom: 6px;
}
@media (max-width: 1041px) {
    .et_pb_row.empresa-mision {
        display: block;
    }
    .et_pb_row.empresa-mision .et_pb_column {
        width: 100%;
    }
    .et_pb_row.empresa-mision .et_pb_column .et_pb_text {
        max-width: none;
        min-height: 0;
        padding: 25px;
    }
    .et_pb_row.empresa-mision .et_pb_column:not(:first-child) {
        margin-top: 25px;
    }
}

/*********** #contacto ******************/
.formulari-contacte .et_contact_bottom_container {
    float: left;
    margin-top: 2%;
}
.formulari-contacte .et_contact_bottom_container .et_pb_contact_submit {
    color: #FFFFFF;
    border: 2px solid #0789C8;
}
.section-contacta .wpcf7-response-output {
    margin-top: 5em;
    border-color: #0789C8;
}
@media (min-width: 981px) {
    .section-contacta .contacto-col-1 {
        width: 57.7%;
    }
    .section-contacta .contacto-col-2 {
        width: 36.8%;
    }
}

/********* #productos *************/
.nuestros-productos img {
    border-radius: 50%;
}
.presentaciones-productos img {
    max-width: 140px;
}
.cascara-porque ul {
    margin-top: 23px;
}
.cascara-porque li {
    font-weight: 500;
}
.almendra-ecologica a {
    color: #FFFFFF;
}
.almendra-ecologica a:hover {
    color: #0789C8;
}
.calibrada-beneficio li {
    font-weight: 500;    
}
.calibrada-beneficio li:not(:last-child) {
    margin-bottom: 30px;
}
.banner-garantia {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
}
.banner-garantia > div {
    align-self: center;
}

@media (max-width: 1458px) {
    .biocombustible .bio-2 .et_pb_module.et_pb_text {
        margin-top: 0 !important;
    }
}
@media (min-width: 1193px) and (max-width: 1429px) {
    .biocombustible .bio-1 {
        margin-right: 2%;
        width: 25%;
    }
    .biocombustible .bio-2 {
        width: 73%;
    }
}
@media (min-width: 981px) and (max-width: 1192px) {
    .biocombustible .bio-1 {
        margin-right: 2%;
        width: 31%;
    }
    .biocombustible .bio-2 {
        width: 67%;
    }
}
@media (min-width: 981px) and (max-width: 1170px) {
    .calibrada-garantia .et_pb_column_3 {
        padding-top: 3%;
    }
}
@media (max-width: 980px) {
    .productos-calidad .et_pb_column {
        margin-bottom: 17px;
    }
    .et_pb_module.et_pb_blurb.entera {
        margin-right: auto !important;
    }
    .et_pb_module.et_pb_blurb.triturada-fina {
        margin-left: auto !important;
    }
    .calibrada-beneficio .et_pb_column {
        margin-bottom: 0;
    }
    .calibrada-beneficio .bullet-llista li:last-child {
        padding-bottom: 0;
    }
    .banner-garantia {
        -ms-grid-columns: 150px 1fr;
        grid-template-columns: 150px 1fr;
    }
}
@media (max-width: 487px) {
    .et_pb_section.header-cascara {
        max-height: none;
    }
    .banner-garantia {
        -ms-grid-columns: 115px 1fr;
        grid-template-columns: 115px 1fr;
    }
}

/*Subvenció*/
#media_image-2{
    width: 400%;
    max-width: 400px;
}

@media (max-width: 768px) {
#media_image-2 {
    width: auto;
    max-width: 100%;
}
}

#menu-frupinsa-footer{
    flex-direction: column;
}
#menu-productos-footer{
    flex-direction: column;
}