/*
Theme Name: Cactus
Theme URI: http://www.cactussenygrafic.com/
Version: 1.0
Description: Plantilla desenvolupada per Cactus
Author: Cactus Seny Grafic
Author URI: https://www.cactussenygrafic.com/
Template: Divi
*/


.wpcf7-form-control-wrap input, .wpcf7-form-control-wrap select, .wpcf7-form-control-wrap textarea{width: 100%; padding:1em; border: 1px solid #000; height: 3em; border-radius: 0px; border: 0px;}
      .cf7_2columnas p{display: flex; flex-wrap: wrap; justify-content: space-between;}
      .cf7_2columnas p br{display: none !important}
      .cf7_2columnas .wpcf7-form-control-wrap{flex: 0 0 48%; max-width: 48%; margin-bottom: 4%}
      .cf7_2columnas .wpcf7-form-control-wrap[data-name="grpd"]{flex: 0 0 100%; max-width: 100%}
      .cf7_2columnas .wpcf7-form-control-wrap[data-name="your-email"]{flex: 0 0 100%; max-width: 100%}
      .cf7_2columnas .wpcf7-form-control-wrap[data-name="message"]{flex: 0 0 100%; max-width: 100%}
      .cf7_2columnas .wpcf7-form-control-wrap[data-name="message"] textarea{width: 100%; height: 12em}


.cf7_2columnas .wpcf7-submit{border-radius: 0px;border:1px solid #29377E !important;color: #29377E !important;font-size: 18px;background-color: transparent;padding:0.5em 1.5em !important}
.cf7_2columnas .wpcf7-submit:hover{background-color: #29377E !important;color:#fff !important}
.cf7_2columnas .wpcf7-submit:after{display: none !important}
.cf7_2columnas .wpcf7-submit[disabled]{cursor: no-drop;}
.wpcf7-list-item input[type=checkbox]:checked+.wpcf7-list-item-label:before{color: #29377E !important}
.wpcf7-not-valid-tip{font-size: 12px}
.ti-footer{display: none !important}
.ti-widget.ti-goog .ti-widget-container .ti-date{display: none !important}
.ti-widget.ti-goog .ti-review-item{padding: 0 25px !important}


.dsm_card_title.et_pb_module_header:before {
    content: "";
    border-top-color: #FFEC3B;
    border-top-width: 8px;
    width: 40px;
    top: -30px;
    left: -20px;
    display: block;
    position: absolute;
    z-index: 00000;
    height: 8px;
    background: #FFEC3B;
}

body.home header.et-l--header:not(.fixed) .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a{color:#fff !important}
body.home header.et-l--header:not(.fixed) .et_pb_section_0_tb_header{box-shadow: none !important}

.et_pb_menu__logo-wrap{position: relative;}
.vertical_logo{position: absolute;width: 40% !important; margin-top: -15%}
.cf7_2columnas .wpcf7-form-control-wrap[data-name="grpd"]{flex: 0 0 70%; max-width: 70%}

.et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before, .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__search-button, .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__close-search-button, .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__cart-button{color:#29377E!important}


.et_pb_portfolio_filters .clearfix{display: flex; justify-content: center;}
.et_pb_portfolio_items_wrapper .et_pb_portfolio_items:after{content:" "; display: block;width: 30% !important;}
.et_pb_portfolio_items_wrapper .et_pb_portfolio_items{display: flex; flex-wrap: wrap; justify-content: space-between;}
.et_pb_portfolio_items_wrapper .et_pb_portfolio_items .et_pb_portfolio_item{width: 30% !important; margin-left: 0px !important;margin-right: 0px !important}

.et_portfolio_image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Esto crea un aspecto cuadrado basado en el ancho */
    overflow: hidden; /* Evita que el contenido desborde */
}

.et_portfolio_image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Asegura que la imagen cubra el área sin distorsionarse */
}

.et-l--header.fixed{height:fit-content !important;}

@media (max-width:720px){
.et_pb_portfolio_items_wrapper .et_pb_portfolio_items:after{content:" "; display: block;width: 100% !important;}
.et_pb_portfolio_items_wrapper .et_pb_portfolio_items .et_pb_portfolio_item{width: 100% !important; margin-left: 0px !important;margin-right: 0px !important}
}