/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */

/**
Colores corporativos:
  #33647e
  #54c0e8
**/
@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Regular.eot');
    src: local('Lato-Regular'),
        local('Lato Regular'),
        url('fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lato-Regular.woff2') format('woff2'),
        url('fonts/Lato-Regular.woff') format('woff'),
        url("fonts/Lato-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Bold.eot');
    src: local('Lato-Bold'),
        local('Lato Bold'),
        url('fonts/Lato-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lato-Bold.woff2') format('woff2'),
        url('fonts/Lato-Bold.woff') format('woff'),
        url("fonts/Lato-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


body,
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: #33647e;
  font-weight: 300;
}
#page-container {
  overflow-y: initial!important;
}
#page-container { overflow-y: initial!important; }
body, input, textarea, select {
    font-family: 'Lato', sans-serif;
}
body,
.et_pb_section { background-color: #ffffff; }

a { color: #54c0e8; }

h1,h2,h3,h4,h5,h6,b,strong { font-weight: 700; }
h1,h2,h3,h4,h5,h6 { color: #33647e; }

.woocommerce.et-db #et-boc .et-l .et_pb_row,
.et_pb_row {
  width: 95%;
  max-width: 1400px;
}
.stopscroll header { z-index: 1; }

.menuopc a { color: #FFF; }
.dtb-overlay-wrapper .dtb-inner-wrapper { overflow-y: auto!important; }

.dipl_horizontal_scrolling_card_wrapper a:hover { opacity: 0.4; }
.dipl_horizontal_scrolling_card_wrapper a:after { display: none!important; }


@media only screen and (min-width: 968px) {
  .et_pb_row.vertical-align,
  .et_pb_column.vertical-align {
    display: flex;
    align-items: center;
  }
}

.et_pb_menu .et-menu>li.menu-item-gtranslate { padding: 0 0 0 5px; }
.menu-item-gtranslate select {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 0.9em;
  padding: 0 0 0 5px;
  width: 45px;
  color: #fff;
}
.menu-item-gtranslate { border-left: 2px solid #33647e; }
.dtb-mobile-menu .menu-item-gtranslate { border: none; }
.dtb-mobile-menu .menu-item-gtranslate select {
  font-size: 1em;
  width: 60px;
  color: inherit;
}

/* ----- BLURBS ----- */
.et_pb_blurb_position_left .et_pb_blurb_container { padding-left: 0; }
.et_pb_blurb_position_left .et_pb_blurb_content, .et_pb_blurb_position_right .et_pb_blurb_content {
  display: flex;
  align-items: baseline;
}
.et_pb_blurb_position_left .et_pb_main_blurb_image, .et_pb_blurb_position_right .et_pb_main_blurb_image { margin-bottom: 0; }


.et-menu.nav .menu-item.wpml-ls-item:before {
  content: '';
  width: 1px;
  height: 100%;
  background-color: #ffffff;
  display: inline-block;
  margin: 0 10px 0 0;
}
.et-menu.nav .menu-item .sub-menu {
  background-color: #ffffff!important;
  border: none!important;
  padding: 10px 0!important;
  width: 80px;
}
.et-menu.nav .menu-item .sub-menu li { line-height: 1em; }
.et-menu.nav .menu-item .sub-menu li a {
  color: #043d43!important;
  width: 40px;
  padding: 0;
}
.dtb-mobile-menu .menu-item.wpml-ls-item a {
  border-radius: 8px!important;
}
.dtb-mobile-menu .menu-item.wpml-ls-item a.sub-menu-toggle::after { display: none!important; }


/* ----- FORMULARIO CONTACTO SUPREME PLUGIN ----- */
.contacto-inicio .wpcf7-response-output { color: #FFF; }
.dipl_form_styler_wrapper .wpcf7-form .wpcf7-mail-sent-ok {
  color:#33647e!important;
}
.dipl_form_styler_wrapper .wpcf7 form {
  display: flex;
  flex-flow: wrap;
}
.dipl_form_styler_wrapper .wpcf7-form .daio-cf7-col,
.dipl_form_styler_wrapper .wpcf7-form .daio-cf7-col textarea,
.dipl_form_styler_wrapper .wpcf7-form .daio-cf7-col input[type=text],
.dipl_form_styler_wrapper .wpcf7-form .daio-cf7-col input[type=tel],
.dipl_form_styler_wrapper .wpcf7-form .daio-cf7-col input[type=email] { width: 100%; }

.dipl_form_styler_wrapper .wpcf7 form.sent p,
.dipl_form_styler_wrapper .wpcf7 form.sent .daio-cf7-col {
	display: none; /* Ocultar formulario al enviar: */
}
.dipl_form_styler_wrapper .wpcf7-form .daio-cf7-col>span.politica-privacidad { padding-right: 5px; }
.dipl_form_styler_wrapper .wpcf7 form>div.daio-cf7-col { margin-bottom: 3%!important; }
.dipl_form_styler_wrapper .wpcf7-form .daio-cf7-col.pol {
  font-size: 0.7em!important;
  margin-bottom: 20px;
}
.dipl_form_styler_wrapper .wpcf7-form .daio-cf7-col.pol p { padding-bottom: 0.2em; }
.dipl_form_styler_wrapper .wpcf7 form>div.daio-cf7-col { margin-bottom: 20px!important; }
.dipl_form_styler_wrapper .wpcf7 form>div.daio-cf7-col.enviar .wpcf7-spinner { display: none; }
.dipl_form_styler_wrapper .wpcf7 form>div.daio-cf7-col.enviar p {
  padding: 0;
  line-height: 0;
}
.dipl_form_styler_wrapper .wpcf7 form>div.daio-cf7-col.enviar { margin-bottom: 15px!important; }

body #page-container .dipl_form_styler_wrapper .wpcf7-form .wpcf7-form-control.wpcf7-submit,
body #page-container .dipl_form_styler_wrapper .wpcf7-form .wpcf7-form-control.wpcf7-submit:hover:disabled,
.dipl_form_styler_wrapper .wpcf7 input.wpcf7-submit:disabled {
  transition: color 300ms ease 0ms,background-color 300ms ease 0ms;
}
body #page-container .dipl_form_styler_wrapper .wpcf7-form .wpcf7-form-control.wpcf7-submit {
  width: 100%;
}
body #page-container .dipl_form_styler_wrapper .wpcf7-form .wpcf7-form-control.wpcf7-submit:hover { cursor: pointer; }
.dipl_form_styler_wrapper select {
  border: 0 solid #333;
  color: rgba(48,62,73,0.5);
  background-color: rgba(0,0,0,0);
  padding: 16px 20px 16px 16px;
  font-size: 14px;
  box-sizing: border-box;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}
.dipl_form_styler_wrapper .daio-cf7-col>span.acceptance-646 { white-space: nowrap; display:inline; }
.dipl_form_styler_wrapper .peq p {
  font-size: 0.7em;
  line-height: 1.3em;
  opacity: 0.7;
  text-align: center;
}
.dipl_form_styler_wrapper .wpcf7-form .daio-cf7-col textarea { height: 40px; }
.dipl_form_styler_wrapper .wpcf7-form {
    display: flex;
    justify-content: space-between;
}
.dipl_form_styler_wrapper .daio-cf7-col .wpcf7-acceptance span.wpcf7-list-item-label { font-size: 0.9em; }
@media only screen and (min-width: 769px) {
    .dipl_form_styler_wrapper .daio-cf7-col.mitad { width: 48%; }
}
@media only screen and (max-width: 769px) {
  .dipl_form_styler_wrapper .daio-cf7-col.mitad { width: 100%; }
}
.dipl_form_styler_wrapper span.wpcf7-list-item { margin-left: 0; }



/* ----- CÓDIGOS PERSONALIZADOS A CADA THEME ----- */

/* ----- FICHA DE PRODUCTOS ----- */
.dipl_breadcrumb .dipl-breadcrumb-wrapper.layout2 li {
    flex-wrap: nowrap;
    text-align: center;
}
.dipl_breadcrumb .dipl-breadcrumb-wrapper.layout2 li a.breadcrumb-item { line-height: 1em; }
/* ----- FIN FORMULARIO CONTACTO ----- */


/* ----- FIN FORMULARIO CONTACTO ----- */
.iconos .et_pb_blurb .et_pb_blurb_content .et_pb_main_blurb_image img {
  max-height: 38px;
}
.et-l--footer .et_pb_text_inner {
  font-size: 0.8em;
  line-height: 1.3em;
}
.et-l--footer .et_pb_text_inner,
.et-l--footer .et_pb_text_inner p,
.et-l--footer .et_pb_text_inner a {
  color: #FFF;
}
a:not(.et_pb_button) {
  position: relative;
  text-decoration: none;
  display: inline-block;
}
a:not(.et_pb_button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.5s ease;
  will-change: transform;
}
a:not(.et_pb_button):hover::after,
a:not(.et_pb_button):focus-visible::after {
  transform: scaleX(1);
}
a:not(.et_pb_button) {
  --underline-color: var(--color-acento, currentColor);
}

a:not(.et_pb_button)::after {
  background: var(--underline-color);
}

#simple-chat-button--container { z-index: 99999!important; }

@media (prefers-reduced-motion: reduce) {
  .et-l--footer .et_pb_text_inner a::after {
    transition: none;
    transform: none; /* muestra la línea sin animación si se prefiere */
  }
}
.et-l--footer .et_pb_text_inner p { padding-bottom: 0.5em; }


@media only screen and (min-width: 980px) and (max-width: 1040px) {
  #stick-this {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media only screen and (min-width: 980px) {
  .et-l--footer .et_pb_section .et_pb_row .et_pb_column {
    border-right: 1px solid #54c0e8;
    padding-left: 10px;
    padding-right: 10px;
  }
  .et-l--footer .et_pb_section .et_pb_row .et_pb_column:first-child { border: none; }
  .et-l--footer .et_pb_section .et_pb_row .et_pb_column:last-child { border: none; }
}

@media (max-width: 798px) {
  .et-l--footer .et_pb_section .et_pb_row.borders .et_pb_column {
    border-bottom: 1px solid #54c0e8;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  html { scroll-padding-top: 50px; }
}

@media (min-width: 598px) and (max-width: 798px) {
  .et-l--footer .et_pb_section .et_pb_row.borders .et_pb_column:nth-last-of-type(2),
  .et-l--footer .et_pb_section .et_pb_row.borders .et_pb_column:nth-last-of-type(3) { padding-bottom: 0; }
  .et-l--footer .et_pb_section .et_pb_row.borders .et_pb_column:nth-last-of-type(2),
  .et-l--footer .et_pb_section .et_pb_row.borders .et_pb_column:nth-last-of-type(3),
  .et-l--footer .et_pb_section .et_pb_row.borders .et_pb_column:last-child { border: none; }
}

@media only screen and (max-width: 598px) {
  .et-l--footer .et_pb_section .et_pb_row.borders .et_pb_column:last-child { border: none; }
}