/*
Theme Name: Clinica Silvia Lleal
Theme URI: http://example.com/clinica_silvia_lleal
Author: Tu Nombre
Author URI: http://example.com
Description: Tema en blanco personalizado para WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clinica_silvia_lleal
*/
html {
  margin: 0 !important;
}
body * {
  font-family: "Raleway", sans-serif;
  font-style: normal;
}

body {background-color: #fef0ed;}


:where(.wp-block-columns) {
	margin-bottom: initial;
}

b, strong {
    font-weight: 500;
}


ul.w-screen {
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
}
.box-featured .wp-block-columns {
  gap: initial !important;
}

.box-content-title {
	    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title-box {
  font-size: 45px;
  color: #040404;
  text-transform: uppercase;
	line-height: 1.2;
    letter-spacing: .05em;
    font-weight: 500;
}

.title-sub {
  font-size: 30px;
  color: #040404;
  text-transform: uppercase;
	line-height: 1.2;
    letter-spacing: .05em;
    font-weight: 500;
}

.content-box-content {
	line-height: 1.65;
	color: #040404;
	font-weight: 300;
}
.img-content-box figure,
.img-content-box img {
	width: 100%;
	height: 100%;
}
.img-content-box img {
	object-fit: cover;
}



.tratamiento-box figure {
	width: 100%;
}
.tratamiento-box img {
	    height: 250px !important;
    width: 100% !important;
    object-fit: cover;
    border-radius: initial;
}

figure.gran {
    height: 100% !important;
}

.tratamiento-box blockquote {
	    margin: 0;
    padding: 15px 10px !important;
}

.tratamiento-box a {
	text-decoration: underline;
}

.tratamiento-box {
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
}


.answer {
	display: initial !important;
}

.icon-link a {
  display: inline-block;
  width: 24px;
  height: 24px;
  text-indent: -9999px; /* oculta el texto visualmente */
  overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' clip-rule='evenodd'%3E%3Cpath d='M11.5 0c6.347 0 11.5 5.153 11.5 11.5s-5.153 11.5-11.5 11.5-11.5-5.153-11.5-11.5 5.153-11.5 11.5-11.5zm0 1c5.795 0 10.5 4.705 10.5 10.5s-4.705 10.5-10.5 10.5-10.5-4.705-10.5-10.5 4.705-10.5 10.5-10.5zm.5 10h6v1h-6v6h-1v-6h-6v-1h6v-6h1v6z'/%3E%3C/svg%3E");
}

.img-zoom figure {
	display: inline-block;
  overflow: hidden;
}

.img-zoom img {
  display: inline-block;
  transition: transform 0.5s ease; /* suaviza el efecto */
}

.img-zoom:hover img {
  transform: scale(1.2); /* 1.2 = 120% */
}

.border-top-especial {
	border-top: 1px solid !important;
}

.esab__body, .esab__body * {
	line-height: 1.75;
	font-size: 16px;
	color: #040404;
	font-weight: 300;
}

.esab__heading_txt, .esab__heading_txt * {
	line-height: 1.75;
	font-size: 18px;
	color: #040404;
	font-weight: 800;
}

.wp-block-esab-accordion-child {
    margin-bottom: 30px;
}

.silvia-position img,
.image-top img {
	object-position: top;
}

.image-bottom img {
	object-position: bottom;
}

.wpcf7-form-control {
	width: 100%;
	padding: 20px;
}

.wpcf7-submit {
	color: #fff;
    background-color: #32373c;
    border-radius: 9999px;
    box-shadow: none;
    text-decoration: none;
	cursor: pointer;
}

.tratamiento-box p {
    text-transform: uppercase;
    font-style: normal !important;
}

.has-megamenu {
	text-transform: uppercase;
}

.esab__heading_tag {
	font-weight: 500;
}

.wp-block-column.tratamiento-box.is-layout-flow.wp-block-column-is-layout-flow {
    background-color: #ECE3F8;
}



/*SWIPER*/
.swiper-container {
	height: 65vh;
}

.swiper-wrapper {
	height: 100%;
}

.wp-swiper__slide {
	height: 100% !important;
}

.swiper-button-next, .swiper-button-prev {
	 color: #fff ;
}

.swiper-pagination-bullet-active {
	background: #ECE3F8 !important;
}

.swiper-pagination-bullet {
	background: #ffffff80 !important;
}

/* Fi SWIPER*/

h1, h2, h3, h4, h5, h6, .esab__heading_tag {
	/*color: #A499B5 !important;*/
	color: #665789 !important;
	letter-spacing: 0.05em;
}
h2.wp-block-heading.title-box.has-x-large-font-size {
    padding: 0px !important;
}

h1.wp-block-heading {
    text-transform: uppercase !important;
}

p, span, a, label {
	color: #665789 !important;
	font-size: 20px !important;
	font-weight: 300;
}

footer h3.lila, footer p.lila, footer a.lila {
    color: #ECE3F8 !important;
    line-height: 1.5;
}

footer p, footer a  {
   font-size:15px !important;
}

.box-content-bg {
	background-color: #eee9f6 !important;
}

.blog-post-content p, .blog-post-content {
	padding-bottom: 20px;
}

.blog-post-content .wp-block-cover {
	margin-bottom: 35px;
}

.wp-in-construction::before {
   	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    content: "En construcción";
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 93px;
    color: #FFF;
    padding-bottom: 9px;
    padding-left: 2px;
}

.max-w-7xl {
    max-width: 90%;
}

@media screen and (max-width: 1024px) {
/*menu*/
	li.group.relative {
    margin-top: 0px !important;
}
	
li.menu-item.menu-item-gtranslate.menu-item-has-children.notranslate, li.menu-item.menu-item-gtranslate-child, .menu-item-gtranslate {
    display: inline-flex !important
;
}

	li.menu-item.menu-item-gtranslate-child {
    display: inline-flex !important;
    padding-right: 20px;
		    padding-left: 20px;
		background-color: #ece3f8;
}
	a.gt-current-wrapper.notranslate.glink.nturl.gt_raw_link-xxjexk {
    font-weight: 500;
    margin-left: 16px;		        
		padding: 0px 20px 0px 20px;
        background-color: #665789;
		color:#fff !important;
        }
	
}

@media screen and (max-width: 767px) {
	.has-megamenu ul {
		position: relative;
		width: fit-content;
		box-shadow: none;
		opacity: 1;
        display: initial;
        visibility: visible;
		padding-left

	}	

	
	.has-megamenu ul li {
		padding-left: 20px;
	}
	
	#mobile-menu > div {
		width: 80%;
	}
	
	.wp-block-column, .wp-block-heading {
		
	}
	
	.box-featured .img-content-box {
		max-height: 45vh;
		order: -1;
	}
	
	.home-banner {
		margin-bottom: 40px;
	}
	p, span, a, label {
		color: #665789 !important;
		font-size: 16px !important;
	}
}

/*slide*/
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
    color: #fff !important;
} 


@media screen and (max-width: 781px) {
  .sticky {
    position: initial !important;
  }
}

/*hover btn*/
/* Hover / focus (quan passes el ratolí o fas focus) */
.wp-block-button.btn .wp-block-button__link:hover,
.wp-block-button.btn .wp-block-button__link:focus,
.wp-block-button.btn:hover .wp-block-button__link {
    background-color: #7D6CA3 !important;
    color: #ffffff !important;
}

  figure.wp-block-image.size-large {
        max-height: 1000px !important;
        object-fit: cover !important;
    }


/* Desktop (768px a 1024px) */
@media (min-width: 1025px) {
   figure.wp-block-image.size-large {
        max-height: 1000px !important;
        object-fit: cover !important;
    }
	.p-\[72px\] {
    padding: 55px !important;
}
	
}

/* Tablet (768px a 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
   figure.wp-block-image.size-large {
        max-height: 1000px !important;
        object-fit: cover !important;
    }
	
}


/* Tablet ( 1024px) */
@media (max-width: 1024px) {

.content-box-content {
    line-height: 1.5 !important;
    font-size: 16px !important;}
	
	.title-box {
    font-size: 30px !important;}


.p-\[72px\] {
    padding: 40px !important;
}
	
		.box-content-bg.has-background {
 padding: 40px !important;}
	

.btn .wp-block-button__link, .wpcf7-submit {
		margin-top: 10px !important ;  
}
	.wp-block-button__link {
    padding: 10px 15px !important;
    font-size: 16px !important;
}
		  /* Amplada container */

	    .container {
        max-width: 95% !important;
    }
	
	  /* menu desktop */

	div#desktop-menu {
    display: none;
}
	

	}

/* O només per a tablets en endavant */
@media (max-width: 768px) {

	.box-content-bg.has-background {
padding-top: 20px !important;
    padding-bottom: 20px !important;
	padding-left: 20px !important;
    padding-right: 20px !important;}
	
	
}


/* POLITIQUES */
 .contact-info {
            background-color: #ECE3F8;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 10px;
	 margin-top:30px;
	 margin-bottom:30px;
        }
        
        .contact-info p {
            margin: 5px 0;
            font-size: 0.95em;
        }
        
h1.politiques {
    color: #665789 !important;
    letter-spacing: 0.05em;
margin-top:30px;
font-size:30px;}


        h2.politiques {
            color: #2c5f7c;
            font-size: 1.4em;
            margin-top: 30px;
            margin-bottom: 15px;
            padding-bottom: 5px;
			text-transform:uppercase;
        }
        
        h2.politiques:first-of-type {
            margin-top: 0;
        }
        
        p.politiques {
            margin-bottom: 15px;
            text-align: justify;
			font-size:16px !important;
        }
        
        ul.politiques {
            margin-left: 25px;
            margin-bottom: 15px;
			color: #665789 !important;
        }

.cookie-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            overflow-x: auto;
            display: block;
        }
        
        .cookie-table table {
            width: 100%;
            border: 1px solid #ECE3F8;
        }
        
        .cookie-table th,
        .cookie-table td {
            padding: 12px;
            text-align: left;
            border: 0px solid #ECE3F8;
        }
        
        .cookie-table th {
            background-color: #ECE3F8;
            color: #665789;
            font-weight: 600;
        }
        
        .cookie-table tr:nth-child(even) {
            background-color: #ECE3F8;
        }

a.cmplz-link {
    display: none;
}

/* tratamiento box */

.tratamiento-box {
  position: relative;
}
.tratamiento-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
}
.tratamiento-box a {
  position: relative;
  z-index: 20;
}


.tratamiento-box:hover .img-zoom img {
    transform: scale(1.2) !important;
    transition: transform 0.3s ease;
}


.img-zoom:hover img {
    transform: none ;
}

