/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

body {
	font-family: var(--font-primary);
	font-size: 18px !important;
	line-height: 1.3em !important;
}

p {
	margin-bottom: 5px;
}

#content>div:first-child {
	overflow: hidden;
}

/* Estilos comunes */
.border-video .elementor-widget-container {
	border-radius: 20px;
}

.img-hover {
	border-radius: 20px;
	overflow: hidden;
}

.img-hover img {
	transition: all 0.65s ease-in-out;
}

.img-hover:hover img {
	transform: scale(1.1);
}

.border20 .elementor-motion-effects-container {
	border-radius: 20px !important;
	overflow: hidden;
}

.border20 .twentytwenty-container {
	border-radius: 20px !important;
}

.center {
	text-align: center !important;
	margin: auto !important;
}

/* TEXTOS Y TITULARES */
h1, h2 {
	letter-spacing: var(--letter-spacing-tit) !important;
}

.txt-white, .txt-white .elementor-heading-title {
	color: var(--c-white) !important;
}

.c-light,.c-light .elementor-heading-title{
	color: #f5f5f5 !important;
}

.tit-h1 h1, .tit-h1 {
	font-size: 55px !important;
	font-weight: 500 !important;
	line-height: 60px !important;
}

.tit-h1-inner h1, .tit-h1-inner {
	font-size: 45px !important;
	font-weight: 500 !important;
	line-height: 50px !important;
}

.tit-h2 h2, .tit-h2 {
	font-size: 42px !important;
	font-weight: 500 !important;
	line-height: 47px !important;
}

.tit-h3 h3, .tit-h3, .tit-h3 h2 {
	font-size: 28px !important;
	font-weight: 300 !important;
	line-height: 35px !important;
}

.tit-h4 h4, .tit-h4 {
	font-size: 22px !important;
	font-weight: 600 !important;
	line-height: 26px !important;
}

.subtit-cta {
	font-size: 30px;
	line-height: 1em;
	font-weight: 500;
}

/* BACKGROUNDS */
.bg-grey-gradient {
	background: var(--deg-blan-gris);
}

/*---------------- HOME ------------------*/
#cab-home::before {
	mix-blend-mode: multiply;
}

#cab-home .cab-container {
	height: 92vh;
	position: relative;
	width: 100vw;
}

#cab-home .cab-container .cab-content {
	position: absolute;
	width: 100%;
}

#cab-home .tit-h1,#inner-cab .tit-h1 {
	font-size: 75px !important;
	line-height: 95px !important;
}

#cab-home h1 .animation-container,#inner-cab h1 .animation-container {
	overflow: hidden;
}

#cab-home .subtit,#inner-cab .subtit,.subtit{
	font-size: 22px;
}

#cab-home .subtit .animation-container,#inner-cab .subtit .animation-container{
	overflow: hidden;
}

#videos-home {
	display: flex;
	flex-direction: row;
	width: 100%;
	overflow-x: scroll;
	gap: 30px;
	cursor: grab;
	padding: 0 5% 0 15%;
	scrollbar-width: none;
}

#videos-home::-webkit-scrollbar {
	opacity: 0;
}

#videos-home .video {
	flex: 0 0 60%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	border-radius: 20px;
	position: relative;
	overflow: hidden;
	height: 600px;
}

#videos-home .video img,#videos-home .video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
}

#videos-home .video video {
	z-index: 1;
}

#videos-home .video img {
	z-index: 2;
}

#videos-home .video::after {
	content: "";
	width: 100%;
	height: 100%;
	background: url(/wp-content/uploads/2024/03/Group-184-4.svg);
	background-size: 10%;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	opacity: 0.95;
	z-index: 3;
}

#videos-home .video-txt {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 80px;
	padding: 20px;
	background: linear-gradient(180deg, #00000000, #000000bd);
	z-index: 3;
}

#videos-home .video h3 {
	color: var(--c-white);
	margin-bottom: 7px;
	padding-bottom: 3px;
	font-size: 24px;
	line-height: 1.2em;
	width: fit-content;
	border-bottom: 1px solid transparent;
	transition: all 0.35s ease;
}

#video-dots {
	margin-top: 20px;
}

#video-dots ul {
	margin: auto;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 30px;
	background: var(--c-grey);
	width: fit-content;
	padding: 15px 30px;
	border-radius: 200px;
}

#video-dots li {
	list-style: none;
	width: 15px;
	height: 15px;
	cursor: pointer;
}

#video-dots li::after {
	content: "";
	background: rgba(24, 46, 63, 0.5);
	position: absolute;
	width: 15px;
	height: 15px;
	border-radius: 100%;
	transition: all 0.35s ease;
}

#video-dots li.active::after {
	background: var(--c-primary);
}

.premium-banner-ib-desc {
	position: relative;
}

.premium-banner-ib-desc::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, #00000000, #000000bd);
	z-index: 0;
}

.premium-banner-ib-desc h3,
.premium-banner-ib-desc .premium_banner_title,
.premium-banner-ib-desc .premium-banner-ib-content {
	z-index: 1;
	position: relative;
}

.premium-banner-ib-desc .premium_banner_title::after {
	content: "";
	background: url(/wp-content/uploads/2024/03/btn-.svg);
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 25px;
	height: 25px;
	position: absolute;
	top: 20%;
	right: 0;
	transition: all 0.6s ease;
}

.premium-banner-ib:hover .premium-banner-ib-desc h3::after {
	transform: rotate(180deg);
}

/* reseñas google */
#google-reviews .ti-reviews-container,#google-reviews .grw-content-inner {
	position: relative;
	margin-bottom: 0px;
	padding-bottom: 80px;
}

#google-reviews .ti-reviews-container .ti-controls,#google-reviews .grw-content .grw-controls {
	position: absolute !important;
	left: 80px !important;
	display: flex;
	flex-direction: row-reverse;
	gap: 30px;
	z-index: 5 !important;
	justify-content: flex-end;
	margin-top: 130px;
	width: 110px !important;
}

#google-reviews .grw-content .grw-controls {
	margin-top: 200px !important;
}

#google-reviews .ti-reviews-container .ti-controls .ti-next,
#google-reviews .ti-reviews-container .ti-controls .ti-prev {
	position: absolute !important;
	width: 40px !important;
	height: 40px !important;
}

#google-reviews .grw-content .grw-controls .grw-next svg,
#google-reviews .grw-content .grw-controls .grw-prev svg {
	opacity: 0;
}

#google-reviews .ti-reviews-container .ti-controls .ti-next::before,
#google-reviews .grw-content .grw-controls .grw-next::before {
	content: url(/wp-content/uploads/2024/03/btn-next.svg);
	position: initial !important;
	transform: none !important;
	background: none !important;
}

#google-reviews .ti-reviews-container .ti-controls .ti-prev::before,
#google-reviews .grw-content .grw-controls .grw-prev::before {
	content: url(/wp-content/uploads/2024/03/btn-prev.svg);
	position: initial !important;
	transform: none !important;
	background: none !important;
}

#google-reviews .ti-reviews-container .ti-controls .ti-next::after,
#google-reviews .ti-reviews-container .ti-controls .ti-prev::after,
#google-reviews .grw-content .grw-controls .grw-next::after,
#google-reviews .grw-content .grw-controls .grw-prev::after,
#google-reviews .wp-google-time,#google-reviews .wp-gr .grw-review-inner>svg {
	display: none;
}

#google-reviews .ti-inner,
#google-reviews .grw-review-inner {
	background-color: rgba(250, 250, 250, 0.03) !important;
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	justify-content: center;
	padding: 40px 30px !important;
	gap: 15px;
}

#google-reviews .grw-review-inner .wp-google-text,
#google-reviews .wp-google-left .wp-google-name {
	color: var(--c-white) !important;
}

#google-reviews .ti-review-header,
#google-reviews .wp-google-left {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

#google-reviews .ti-review-header .ti-name,
#google-reviews .wp-google-left .wp-google-name {
	padding-right: 10px;
}

#google-reviews .ti-reviews-container-wrapper,
#google-revies .grw-reviews {
	padding-left: 80px;
	margin: 0;
}

/* LISTAS */
.list ul, ul.list {
	list-style: none;
	margin-left: 0px;
	padding-left: 0px;
}

.list li {
	margin-bottom: 10px;
	position: relative;
	margin-left: 35px;
}

.list li::before {
	content: "";
	position: absolute;
	top: 5px;
	left: -25px;
	background-image: url("/wp-content/uploads/2024/03/icono-lista-bustillo-color.webp");
	background-repeat: no-repeat;
	background-size: cover;
	width: 15px;
	height: 15px;
}

.list.list-blanca li::before {
	background-image: url("/wp-content/uploads/2024/03/icono-lista-bustillo-blanco.webp");
}

/* PÁGINA IMPLANTES */
/*dentadura*/
#estructura-dentadura {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#estructura-dentadura .mapa-imagenes {
	position: absolute;
	top: 0;
	left: 0;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	height: auto;
}

#estructura-dentadura .mapa-imagenes .estructuras-dentadura {
	position: absolute;
	top: 20px;
	left: 0;
	display: block;
}

/* ------ ESTILOS PÁGINA INTERNAS ----------- */
.c-trata {
	min-height: 350px !important;
	background-image: linear-gradient(148deg, #D7D7D7 0%, #ffffff 100%) !important;
	transition: var(--transition-p);
}

.c-trata:hover {
	background-image: linear-gradient(148deg, var(--c-primary) 0%, var(--c-primary-light) 100%) !important;
	transition: var(--transition-p);
}

.c-trata:hover * {
	color: var(--c-white) !important;
}

.c-trata .e-con-inner {
	position: relative;
}

.c-trata .e-con-inner .icon-mas {
	position: absolute;
	bottom: 20px;
	right: 0px;
	width: 30px !important;
	height: 30px !important;
}

.c-trata .icon-mas img {
	transition: var(--transition-p);
	transform: rotate(0);
}

.c-trata:hover .icon-mas img {
	transition: var(--transition-p);
	transform: rotate(90deg);
}

/* contacto */
.map-contact {
	width: 600px !important;
	height: 600px;
	display: block;
}

/* EQUIPO */
.team-img .premium-banner-min-height {
	max-height: 460px;
}

/* CASOS */
.text-accent {
	font-style: italic;
	font-size: 1.2em;
}

.tit-caso .elementor-heading-title {
	font-size: 1em;
	letter-spacing: 0.02em;
}

.datos-caso .elementor-heading-title {
	font-size: 1.5em;
	letter-spacing: 0.02em;
}

/* BLOG */
.elementor-posts .elementor-post__text {
	position: relative;
}

.elementor-posts .elementor-post__text .elementor-post__title {
	font-size: 22px;
	font-weight: 400;
	line-height: 1.2em;
	color: var(--c-primary);
}

.elementor-posts .elementor-post__text .elementor-post__title a {
	transition: var(--all-transition);
}

.elementor-posts .elementor-post__text .elementor-post__title a:hover {
	color: var(--c-primary);
}

.elementor-posts .elementor-post__text .elementor-post-date {
	font-size: 13px;
	margin: 10px 0;
}

.elementor-posts .elementor-post__text .elementor-post__read-more-wrapper {
	position: absolute;
	bottom: 20px;
}

.elementor-posts .elementor-post__text .elementor-post__read-more-wrapper a {
	text-transform: uppercase;
	font-size: 15px;
	color: var(--c-primary);
	letter-spacing: 0.5px;
	transition: var(--all-transition);
}

.elementor-posts .elementor-post__text .elementor-post__read-more-wrapper a:hover {
	color: var(--c-primary-light);
}

.blog .elementor-pagination {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.blog .elementor-pagination .page-numbers {
	background-color: var(--c-grey);
	width: 40px;
	height: 40px;
	border-radius: 200px;
	transition: var(--all-transition);
	display: flex;
	align-items: center;
	justify-content: center;
}

.blog .elementor-pagination a.page-numbers:hover,
.blog .elementor-pagination .page-numbers.current {
	background-color: var(--c-primary);
	color: var(--c-white) !important;
}

/* Entrada individual */
body.single-post .top-bar {
  background-color: var(--c-primary);
}

body.single-post .top-bar .inside-top-bar {
  border-bottom: 1px solid var(--c-white);
}

body.single-post header.site-header {
  top: 64px;
}

body.single-post {
	background-color: var(--c-white);
	padding-top: 80px;
}

body.single-post header.site-header {
	background-color: var(--c-primary);
}

body.single-post header.site-header .inside-header {
	border-bottom: none;
}

body.single-post header.site-header.stuck {
	background-color: var(--c-bg);
}

body.single-post .featured-image {
	max-height: 500px;
	width: 100vw;
	max-width: 1300px;
	position: relative;
	margin: 140px auto 0 !important;
}

body.single-post .featured-image img {
	max-height: 500px;
	width: 100vw;
	max-width: 1300px;
	object-fit: cover;
	border-radius: 20px;
}

body.single-post .entry-header {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--c-primary);
}

body.single-post .entry-title {
	color: var(--c-primary);
}

body.single-post #page {
	max-width: 100%;
	margin: 0;
}

body.single-post #content {
	max-width: 1300px;
	margin: auto;
}

body.single-post #main {
	margin: 0;
}

body.single-post #main a {
	text-decoration: none;
	color: var(--c-primary);
}

body.single-post #main a:hover {
	text-decoration: none;
	color: var(--c-primary-light);
}

body.single-post #nav-below {
	display: flex;
	justify-content: space-between;
	margin-top: 80px;
	gap: 40px;
}

body.single-post #nav-below .nav-previous {
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	padding: 15px;
	background-color: var(--c-gris-bg);
	border-radius: 10px;
	flex: 0 0 47%;
}

body.single-post #nav-below .nav-next {
	display: flex;
	flex-direction: row-reverse;
	gap: 10px;
	align-items: center;
	padding: 15px;
	background-color: var(--c-gris-bg);
	border-radius: 10px;
	flex: 0 0 47%;
}

body.single-post #nav-below .nav-previous .gp-icon,
body.single-post #nav-below .nav-next .gp-icon {
	margin-bottom: 3px;
}

body.single-post #nav-below .nav-previous a,
body.single-post #nav-below .nav-next a {
	text-decoration: none;
	color: var(--c-primary);
}

body.single-post #nav-below .nav-previous a:hover,
body.single-post #nav-below .nav-next a:hover {
	color: var(--c-primary-light);
}

body.single-post h2,
body.single-post h3,
body.single-post h4,
body.single-post h5,
body.single-post h6 {
	margin-top: 25px;
}

body.single-post p {
	margin-bottom: 20px;
}

/* CAJA AUTOR */
body.single-post .caja-autor {
  display: flex;
  align-items: center;
  margin-top: 20px;
  background-color: var(--c-gris-bg);
  border-radius: 20px;
  padding: 20px;
}

body.single-post .caja-autor .img-autor img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 200px;
  transition: all 0.4s ease;
}

body.single-post .caja-autor .img-autor:hover img {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

body.single-post .caja-autor .info-autor {
  width: 70%;
  margin-left: 20px;
}

body.single-post .caja-autor .info-autor a {
  font-size: 24px;
}

body.single-post .caja-autor .info-autor .fecha-post {
  display: flex;
  align-items: center;
}

body.single-post .caja-autor .info-autor .fecha-post svg {
  width: 14px;
  margin: 0 6px 2px 0;
}

/* --------------- RESPONSIVE ---------------- */
@media screen and (max-width: 1300px) {
	#videos-home .video {
		flex: 0 0 85%;
	}
}

@media screen and (max-width: 1200px) {
	#videos-home .video::after {
		background-size: 15%;
	}

  	body.single-post .featured-image {
		margin-top: 80px !important;
	}

  	body.single-post .featured-image img {
		border-radius: 0 0 20px 20px;
	}
}

@media screen and (max-width:1024px) {
	#videos-home {
		gap: 20px;
		padding: 0 20px;
	}
	
  #videos-home .video {
		height: 400px;
	}
	
  #google-reviews .ti-reviews-container-wrapper {
		padding-left: 20px;
	}
	
  .ti-widget.ti-goog .ti-col-3 .ti-review-item {
		flex: 0 0 33.5%;
		max-width: 33.5%;
	}
	
  /* TITULARES */
	#cab-home .tit-h1, #inner-cab .tit-h1 {
		font-size: 65px !important;
	}
	
  #cab-home .subtit, #inner-cab .subtit, .subtit {
		font-size: 20px;
	}
	
  .tit-h1 h1, .tit-h1 {
		font-size: 45px !important;
		line-height: 1.2em !important;
	}
	
  .tit-h2 h2, .tit-h2 {
		font-size: 36px !important;
		line-height: 1.2em !important;
	}
	
  .tit-h3 h3, .tit-h3, .tit-h3 h2 {
		font-size: 24px !important;
		line-height: 1.2em !important;
	}
	
  .tit-h4 h4, .tit-h4 {
		font-size: 20px !important;
		line-height: 1.2em !important;
	}
	
  .subtit-cta {
		font-size: 24px;
	}

	body.single-post #nav-below {
		flex-direction: column;
		align-items: center;
	}
}

@media screen and (max-width:768px) {
	#cab-home .cab-container {
		height: 89vh;
	}

	.salto-pc {
		display: none;
	}

	#videos-home .video {
		height: 300px;
		flex: 0 0 85%;
	}

	#videos-home .video h3 {
		font-size: 20px;
	}

	.elementor-widget-divider>.elementor-widget-container {
		width: initial;
	}

	.elementor-widget-divider.center>.elementor-widget-container {
		margin: initial;
	}

	#google-reviews .ti-reviews-container-wrapper {
		gap: 25px !important;
		padding-left: 15px;
	}

	.ti-widget.ti-goog .ti-col-1 .ti-review-item {
		flex: 0 0 97% !important;
	}

	/* TITULARES */
	#cab-home .tit-h1, #inner-cab .tit-h1 {
		font-size: 40px !important;
		line-height: 50px !important;
	}

	#cab-home .subtit, #inner-cab .subtit, .subtit {
		font-size: 18px;
	}

	.tit-h1 h1, .tit-h1 {
		font-size: 38px !important;
		line-height: 1.2em !important;
	}

	.tit-h2 h2, .tit-h2 {
		font-size: 30px !important;
		line-height: 1.2em !important;
	}

	.team-img .premium-banner-ib-desc .premium_banner_title {
		font-size: 18px !important;
	}

	.premium-banner-ib-desc .premium_banner_title::after {
		bottom: 10px;
		top: auto;
	}

	#cab-home .cab-container {
		width: 100%;
	}

	body.single-post .featured-image {
		margin-top: 20px !important;
	}

	body.single-post .featured-image img {
		max-height: 300px;
	}

	/*caja autor*/
	body.single-post .caja-autor {
		padding: 20px 10px;
	}

	body.page-id-6942 #inner-cab .logo-formacion {
		width: 120px;
		margin-bottom: -25px;
	}
}

@media screen and (max-width: 500px) {
	#videos-home .video {
		height: 250px;
	}

	#videos-home .video-txt {
		height: 120px;
		display: flex;
		align-items: flex-end;
	}

	#videos-home .video::after {
		background-size: 20%;
		background-position: 50% 45%;
	}

	/* TITULARES */
	.tit-h1 h1, .tit-h1,
	#inner-cab .tit-h1 {
		font-size: 36px !important;
		line-height: 1.2em !important;
	}

	.tit-h2 h2, .tit-h2 {
		font-size: 28px !important;
		line-height: 1.2em !important;
	}

	.tit-h3 h3, .tit-h3, .tit-h3 h2 {
		font-size: 22px !important;
		line-height: 1.2em !important;
	}

	.tit-h4 h4, .tit-h4 {
		font-size: 18px !important;
		line-height: 1.2em !important;
	}

	.subtit-cta {
		font-size: 22px;
	}

	/* CAJA AUTOR */
	body.single-post .caja-autor .img-autor img {
		width: 85px;
		height: 85px;
	}

	body.single-post .caja-autor .info-autor a {
		font-size: 20px;
	}

	body.single-post .caja-autor .info-autor p {
		font-size: 16px;
		margin-bottom: 10px;
	}

	body.single-post .caja-autor .info-autor div {
		font-size: 17px;
	}
}