* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 0 15px;
    position: relative;
    justify-content: center;
}

/* Header styles */
.contactanos_header {
    background-color: #f8f8f8;
    padding: 10px 0;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_button {
    text-decoration: none;
    margin-left: 15px;
    width: fit-content;
    background: #4a8de1;
    text-transform: uppercase;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    color: white;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: 400;
    font-family: 'Poppins';
}
.header_button:hover {
    background: #4a8de1de;
}
ul.main-menu li:last-child {
    background: #2c486f;
    color: white;
    border-radius: 10px;
}
ul.main-menu li .sub-menu li:last-child {
    background: initial;
    color: black;
    border-radius: 10px;
}
ul.main-menu li:last-child:hover {
    background: #2c486fd9;
}
ul.main-menu li:last-child a {
    color: white;
}
ul.main-menu li .sub-menu li:last-child a{
    background: initial;
    color: black;
    border-radius: 10px;
}
nav.nav_under_header .container {
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: #c2c2c2;
    margin: 15px auto;
}

/* Navigation styles */
.nav_under_header {
    background-color: #fff;
    color: #223f69;
}

.main-menu {
    display: flex;
    list-style-type: none;
    padding: 10px 0;
    justify-content: center;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    display: block;
    color: black;
    text-decoration: none;
    padding: 15px;
    font-weight: 600;
    font-family: 'Poppins';
    text-transform: uppercase;
}
.main-menu a:hover {    
    text-decoration:underline;
    padding: 15px;
    font-weight: 600;
    font-family: 'Poppins';
    text-transform: uppercase;
}
.sub-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
}

.main-menu li:hover .sub-menu {
    display: block;
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
 

    .mobile-menu-toggle {
        display: block;
    }
 .mobile-menu-toggle img {
        aspect-ratio: 1;
    }
    .main-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        width: 100%;
        background-color: #fff;
        display: none;
    }

    .main-menu.active {
        display: flex;
    }

    .sub-menu {
        position: static;
        background-color: #e8e8e8;
    }

    .main-menu li:hover .sub-menu {
        display: none;
    }

    .main-menu li.active .sub-menu {
        display: block;
    }
}


header.contactanos_header .container {
    display: flex;
    align-items: center;
    min-width: 1100px;
    justify-content: center;
    gap: 20px;
}

.main-menu-wrap {
    background-color: transparent;
    padding: 0;
    border-bottom: 1px solid;
    border-color: #0000001a;
}

.header-row.container {
    display: flex;
    justify-content: space-between;
}

ul#menu-menu-principal-1 {
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    text-align: left;
    background: 0 0;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.mega-menu:before, .mega-menu:after {
    content: " ";
    display: table;
}

.mega-menu:after {
    clear: both;
}

.header-row .header-center:only-child {
    flex: 0 0 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.main-menu>li.menu-item>a {
    font-family: Poppins, sans-serif;
    font-size: 10pt;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 20px;
    letter-spacing: 0;
    color: #000;
    padding: 15px 16px;
}

ul#menu-menu-principal-1 {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

.tabber_forms {
    font-family: Arial, sans-serif;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tabber_forms input[type=submit] {
    position: initial;
}

.tab_buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
    gap: 1px;
}

.tab_button {
    padding: 10px 20px;
    background-color: #ebebeb;
    border: none;
    font-weight: 800;
    border: 1px solid #ebebeb;
    color: #223f69;
    font-family: 'Poppins';
    font-size: 12px;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 2px;
    transition: background-color 0.3s;
}

.tab_button.active {
    background-color: #f8f8f8;
    color: #223f69;
}

.tab_content {
    display: none;
    color: #223f69;
    padding: 20px;
    min-width: 936px;
    background: #f8f8f8;
    border: 1px solid #ddd;
}

.tab_content.active {
    display: block;
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 50px 100px;
    box-shadow: 0px 0px 4px 1px #9a9a9a;
    background: white;
}

label, input, textarea, select {
    margin-bottom: 10px;
    width: 100%;
    /* border: 1px solid; */
    text-transform: none;
    border-color: rgba(0, 0, 0, .09);
}

input[type="submit"] {
    align-self: flex-start;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    margin: 0;
    align-self: flex-start;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    margin: 0;
    margin-top: 15px;
    padding: 15px;
    font-size: 14px;
    border-radius: 5px;
}

input, select {
    margin-bottom: 10px;
    width: 100%;
    margin-top: 6px;
    border: 1px solid transparent;
    text-transform: none;
    padding: 1.2rem;
    font-size: .85rem;
    line-height: 1.85;
    color: #495057;
    border-color: rgba(0, 0, 0, .09);
    background: #fafafc;
    box-shadow: none;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .09);
    outline: none;
    box-shadow: none;
    text-align: left;
    line-height: 1.42857;
    padding: 8px 12px;
    font-size: .85rem;
    vertical-align: middle;
    height: auto;
}

.text_formulario {
    margin: 30px 0;
}

.text_formulario h3 {
    font-size: 2.125rem;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    letter-spacing: -.05em;
    font-family: Poppins, sans-serif;
    color: #26486f;
}

.text_formulario p {
    font-size: 1.5rem;
    color: #777777;
    line-height: 1.2;
    text-align: center;
    margin-top: 5px;
    font-weight: 300;
    letter-spacing: -.025em;
}

.banner_img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    width: 100%;
}

.banner_img img {
    object-fit: contain;
}

section.form_linea_etica {
    display: flex;
}

.form_linea_etica_img {
    border-radius: 10px;
    width: 40%;
}

.form_linea_etica_img img {
    border-radius: 10px;
}

.form_linea_etica_img img {
    height: 100%;
    object-fit: cover;
}
form.wpcf7-form.init {
    background: white;
    padding: 20px;
}

form.wpcf7-form.init label {
    text-transform: none;
    color: black;
    font-weight: 600;
}
form.wpcf7-form.init label br {
  line-height: 20px;
  margin: 11px;
  display: block;
  height: 50px;
}
form.wpcf7-form label.initial_label {
    font-weight: 300;
}

form#lineaetica_form span {
    margin-top: 10px;
}
select.wpcf7-form-control.wpcf7-select {
    padding: 1.2rem;
    font-size: .85rem;
    line-height: 1.85;
    color: #495057;
    border-color: rgba(0, 0, 0, .09);
    background: #fafafc;
    box-shadow: none;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .09);
    outline: none;
    box-shadow: none;
    text-align: left;
    line-height: 1.42857;
    padding: 8px 12px;
    font-size: .85rem;
    vertical-align: middle;
    height: auto;
}

div#contactenos .vc_tta-panel-body {
    display: flex;
    justify-content: flex-start;
}

h2.vc_custom_heading.mb-2.vc_custom_1673886283107.align-left {}

div#linea-etica .vc_tta-panel-body {
    display: flex;
    align-items: flex-start;
}

h2.vc_custom_heading.mb-2.vc_custom_1673886283107.align-left {
    font-size: 1.5rem;
    color: #777777;
    font-size: 1.5rem;
    color: #26486f;
    line-height: 1.2;
    width: 100%;
    text-align: justify;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.vc_tta-panel-body {
    font-family: 'Poppins';
    background: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

form.wpcf7-form.init {
    width: 70%;
    box-shadow: 0px 0px 4px 1px #9a9a9a;
    border-radius: 10px;
    padding: 30px 60px;
}

div#wpcf7-f2421-p2145-o2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.cf-col-6 p {
    display: flex;
    align-items: center;
}

span.wpcf7-form-control-wrap {
    width: 60%;
}

.form-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

div#wpcf7-f2427-p2145-o3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footer-in-mobile, .image_mobile, .mobile-social-buttons {
    display: none;
}

.desktop-buttons {
    width: 40%;
    display: flex;
    justify-content: flex-start;
}

picture {
    display: flex;
    justify-content: center;
    object-fit: cover;
    height: 100%;
}
.formInput p {
    display: flex;
}
.formInput p  a{
    color: black;
}
.cf-col-12 p span.wpcf7-form-control-wrap label {
    display: flex;
    gap: 7px;
}



input[type="checkbox"] {
    max-height: 20px;
    width: 20px;
    aspect-ratio: 1;
}

.checkbox-container {
    display: flex;
    gap: 5px;
    align-items: center;
}

button[type="submit"] {
    align-self: flex-start;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    margin: 0;
    margin-top: 15px;
    padding: 15px;
    border-radius: 5px;
}

form#contactanos_form label {
    color: black;
    width: 90%;
    min-width: 249px;
    font-weight: 500;
    margin-bottom: 0;
}

.form-row input {
    width: 50%;
    min-width: 340px;
}

.vc_tta-panel-body h5 {
    font-weight: 600;
    margin: 0 auto;
}
textarea#descripcion {
    margin-top: 10px;
}
section.formulario {
    margin-bottom: 50px;
}
.cf-col-6 , .cf-col-12 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cf-col-6 p, .cf-col-12 p {
    color:black;
    font-weight: 600;
    width: 50%;
}

.footer-in-desktop {
    width: 100%;
}

.slider-sellers-container {
    width: 100%;
}

.mobile-social-buttons a.header_button {
    background: none;
    padding: 0;
    height: 40px;
    width: auto;
    margin-left: 0;
    display: flex;
    border-radius: 0;
    align-items: center;
    justify-content: center;
}
a.header_button img {
    background: none;
    padding: 0;
    height: 40px;
    width: auto;
    aspect-ratio: 1;
}
.formInput p span[data-name="privacidad"] {
    width: fit-content;
}

.formInput:has([data-name="privacidad"]) p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
@media (max-width: 900px) {
    .footer-in-desktop, .image_desk {
        display: none;
    }

    .footer-in-mobile, .image_mobile {
        display: block;
    }
    .mobile-social-buttons {
    display: flex;
}
}

@media (max-width: 800px) {
    button[type="submit"] , 
input[type="submit"] {
    width: 100%;
}
    span.wpcf7-form-control-wrap {
    width: 100%;
}
    .cf-col-6 p, .cf-col-12 p {
    color: black;
    font-weight: 600;
    width: 100%;
}
    .tab_content {
    display: none;
    color: #223f69;
    padding: 20px;
    min-width: initial;
    background: #f8f8f8;
    border: 1px solid #ddd;
}
    .cf-col-6, .cf-col-12 {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
    .form_linea_etica_img {
    border-radius: 10px;
    width: 100%;
}
    .tabber_forms {
        font-family: Arial, sans-serif;
        max-width: 95%;
        margin: 0 auto;
    }

    form.wpcf7-form.init {
        width: 100%;
        box-shadow: 0px 0px 4px 1px #9a9a9a;
        border-radius: 5px;
        padding: 25px 30px;
    }

    section.form_linea_etica {
        display: flex;
        flex-direction: column;
    }

    .form-row {
        display: flex;
        flex-direction: column;
    }

    form {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 30px 40px;
        box-shadow: 0px 0px 4px 1px #9a9a9a;
        background: white;
    }

    header.contactanos_header .search {
        display: none;
        align-items: center;
        width: 30%
    }

    header.contactanos_header .subMenuOptions.show {
        display: flex;
        flex-direction: column;
        align-content: space-between;
    }

    .logo_ia {
        width: 40%;
    }

    .banner_img img {
        width: 100%;
        object-fit: contain;
    }

    .desktop-buttons {
        display: none;
    }
    header.contactanos_header .container {
    display: flex;
    align-items: center;
    min-width: initial;
    justify-content: space-between;
}
    form#contactanos_form label {
    color: black;
    width: 90%;
    min-width: 249px;
    font-weight: 500;
    margin-bottom: 0;
}

.form-row input {
    width: 100%;
    min-width: 40px;
}
    nav.nav_under_header .container {
    margin: 15px auto;
        border:none;
}
}
