/*
Theme Name: Breakdance Zero Theme
Theme URI: https://breakdance.com/zero-theme // todo
Author: Breakdance Builder
Author URI: https://breakdance.com/
Description: Entirely disables the WordPress theme system and lets you design every part of your site with Breakdance, while keeping other theme functionality like templates overrides and functions.php.
Version: 1.0.0
Tested up to: 5.9
Requires PHP: 7
License: GNU General Public License v2 or later // todo no idea about this
License URI: LICENSE
Text Domain: breakdance

Requires Breakdance to be installed.
/*--------------------------------------------------------------

/* reset CSS */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
li,
p,
ul,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
body strong {
  font-family: "Avenir Bold" !important;
}
/* reset CSS */

:root {
  --blue-primary: #183264;
  --blue-secondary: #027c97;
  --third-blue: #2cccd3;
  --white: #fff;
  --gray: #e8ecf6;
  --dark-gray: #3d4d5f;
  --filter-third-blue: brightness(0) saturate(100%) invert(63%) sepia(23%)
    saturate(1233%) hue-rotate(134deg) brightness(102%) contrast(93%);
}
/* Fuentes */
@font-face {
  font-family: 'Avenir Bold';
  src: url('fonts/AvenirNextCyr-Bold.woff') format('woff');  
}
@font-face {
  font-family: 'Avenir regular';
  src: url('AvenirNextCyr-Regular.woff') format('woff');  
}
@font-face {
  font-family: 'Avenir medium';
  src: url('fonts/AvenirNextCyr-Medium.woff') format('woff');  
}
@font-face {
  font-family: 'Avenir light';
  src: url('fonts/AvenirNextCyr-Light.woff') format('woff');  
}
@font-face {
  font-family: 'Juana medium';
  src: url('fonts/juana-medium.ttf') format('woff');  
}
html {
  overflow-x: hidden;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  padding-top: 125px !important; /*Altura de la cabecera*/
}
main {
  flex: 1;
}
body * {
  box-sizing: border-box;
}
.breakdance section:last-child {
  padding-bottom: 80px !important; /* Aumentar padding en la última sección */
}
button {
  cursor: pointer;
}
.breakdance-menu .breakdance-menu-link {
  font-family: 'Avenir medium';
}

/* Reset Breakdance */
body .breakdance {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}
/* Reset Breakdance */

/* Footer */
.footer-copyright {
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Footer */

.icono-open,
.icono-close {
  vertical-align: middle;
  width: 24px;
  float: right;
  cursor: pointer;
}
.icono-open {
  display: none;
}
.read-more {
  display: inline-block !important;
  text-decoration: none;
  margin-top: 20px;
  position: relative;
  padding-right: 30px;
  height: 25px;
}
.read-more:hover,
.read-more:focus-within {
  color: var(--blue-secondary) !important;
  font-weight: 900;
}
.read-more::after {
  content: "";
  background-image: url("/hospital/wp-content/themes/breakdance-zero-theme-master/assets/ico-read-more.svg");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}
.read-more-ico {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  margin-left: 10px;
}
.show-mobile {
  display: none;
}
.show-desktop {
  display: block;
}

/* Botones */
.breakdance .button-atom--primary:active {
  background: #caf2f4 !important;
  border-color: #027c97 !important;
}
.breakdance-link.button-atom--text:hover .button-atom__icon-wrapper svg path {
  filter: var(--filter-third-blue);
}
/* Botones */

/* Accesibilidad */
.sr-only {
  /* nota: Ocultar elementos visualmente mientras se mantiene su accesibilidad */
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
.tooltip {
  position: relative;
  text-decoration: none;
  overflow: visible !important;
}
.tooltip::after {
  content: attr(data-tooltip); /* Extrae el texto del atributo `data-tooltip` */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
  width: 100%;
  background: var(--gray);
  display: inline-block;
  padding: 6px 30px;
  border-radius: 40px;
  color: var(--blue-primary);
  font-weight: 400;
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.tooltip::before {
  visibility: hidden;
  opacity: 0;
  content: "";
  transition: opacity 0.3s;
  width: 20px;
  height: 20px;
  position: absolute;
  background-color: var(--gray);
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  z-index: 10;
}
.tooltip:focus,
.tooltip:focus-within {
  font-weight: 900;
}
.tooltip:hover::after,
.tooltip:focus-within::after,
.tooltip:hover::before,
.tooltip:focus-within::before {
  visibility: visible;
  opacity: 1;
}
.tooltip:hover::after,
.tooltip:focus-within::after {
  width: max-content;
}
.focus-visible {
  outline: none !important;
}
/* Accesibilidad */

/* Sticky cita */
.arrow-sticky, .close-sticky {
  position: absolute;
  background: #ffffff;
  z-index: 2;
  top: 75px;
  padding: 0 10px;
  cursor: pointer;
}
.open .arrow-sticky, .open .close-sticky{
  z-index:0;
}

.close-sticky {
  display: none;
}
/*
.sticky_content:has(section.asesorCard.open) #dynamic-nav {
  display: none;
}
*/
.sticky_content #dynamic-nav{
  transition: max-height 0.5s ease-out;
  max-height: 500px;
  max-height: calc(80vh - 180px);
  overflow-y: auto;
  padding: 0 20px;
}
.sticky_content:has(section.asesorCard.open) #dynamic-nav {
  max-height: 0;  
}
/* Sticky cita */

/** paginado slider  */
.swiper-slide-counter {
  display: none;
}

.breakdance .pin-spacer {display: none !important;}
.breakdance .pin-spacer:has(.breakdance-popup-open){display: flex !important;}

/* Media queries */
@media (max-width: 1119px) {
  .show-mobile {
    display: block;
  }
  .show-desktop {
    display: none;
  }
   /* Selector de idiomas */
   .wpml-ls-item .breakdance-dropdown-toggle {
    width: 100px;
  }
  .wpml-ls-item .breakdance-menu-link-arrow {
    padding-top: 16px !important;
  }
  .wpml-ls-item .breakdance-dropdown-link {
    padding-left: 0px !important;
  }
  /* Selector de idiomas */
  
 /* .breakdance {
    overflow-x: hidden;
  }*/
}
@media (max-width: 768px) {
  body {
    /*overflow-y: auto;*/
    padding-top: 40px !important;
  }
  body .breakdance .site-header {
    height: 80px;
  }
  .single-servicios .sticky_content:has(section.asesorCard.open) #dynamic-nav {max-height:none;}
}
@media (max-width: 300px) {
  body {
    min-width: 280px;
  }
}

/* Media queries */
