/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

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

.flex-wrap > div {
	flex-wrap: wrap;
}

/* HEADER */
/*
#main-header .site-container {
	max-width: 100%;
	padding: 0 60px;
}
*/

#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner, .transparent-header .site-main-header-wrap .site-header-row-container-inner {
	transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
}
/*
.item-is-stuck .site-branding img{
    max-height: 48px!important;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
}
*/
.header-navigation ul li.menu-item>a {
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.site-branding {
	position: relative;
	width: 140px;
}

.site-branding a.brand {
	position: absolute;
	display: block;
    left: 0;
    right: 0;
    top: -50px;
	text-align: center;
}

.site-branding a.brand img {
	box-shadow: 0px 2px 12px -3px #000;
	padding: 5px;
    background: #fff;
    position: relative;
    display: inline-block;
}

.wp-menu-img img {
    display: block;
}

.wp-menu-img-before img {
    margin-right: auto;
    margin-left: auto;
	width: 120px;
}

.main-navigation .primary-menu-container > ul li.menu-item > a {
	text-align: center;
}

#main-header .item-width {
	max-width: 170px;
}

.main-navigation .primary-menu-container > ul li.menu-item > a span {
	max-width: 150px;
	display: inline-block;
}

/* movil */

#mobile-header .site-container {
	padding-left: 5px;
	padding-right: 0px;
}

#mobile-header .site-branding {
    width: 110px;
}

.image-heartmath {
	max-width: 110px;
    margin: 10px 0px 0 0;
}

/* HOME */



/* PAGINAS */
.page .elementor-heading-title, .home .elementor-heading-title {
	margin-bottom: 0!important;
	line-height: 1.3;
}

.post-type-archive-directorio .content-container.site-container {
	padding: 60px;
}

#map {
	width: 100%;
	height: 500px;
	position: relative;
	margin-bottom: 40px;
	z-index: 1;
}

.leaflet-popup-content {
	font-family: var(--global-body-font-family);
}

.leaflet-popup-content a {
	color: var(--global-palette1);
}

.leaflet-popup-content-wrapper .popup-image {
	width: 140px;
	height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.leaflet-popup-content-wrapper .popup-image img {
    left: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}


.archive article.type-directorio {
	/*border: 1px solid #ccc;*/
	text-align: center;
}

.directorio-listado {
	display: grid;
    justify-items: center;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.content-archive-directorio {
	text-align: center;
	/*
	border: 1px solid #efefef;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    */
}

.content-archive-directorio-link {
	text-align: center;
}
/*
.content-archive-directorio:hover {
	box-shadow: 0 0 11px -3px rgba(0, 0, 0, 0.25);
}
*/
.content-image-directorio {
	width: 160px;
	height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.content-image-directorio img {
    left: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.content-archive-directorio h4 {
	font-size: 18px;
}

.content-archive-directorio span {
	font-size: 14px;
	display: block;
}

.content-buscador {
	display: flex;
    border: 1px solid #d7d7d7;
    padding: 15px 10px;
    align-items: center;
    gap: 40px;
    justify-content: space-around;
    max-width: 1090px;
    margin: 0 auto 40px;
}

.content-buscador h5 {
	margin-bottom: 0;
}

.content-buscador label {
	margin-left: 10px;
	margin-top: 5px;
    margin-bottom: 5px;
    display: inline-block;
}

.content-buscador button {
	padding: 4px 16px;
	margin-left: 10px;
}

/* FICHA DIRECTORIO */

.single-directorio #primary {
	padding-top: 80px;
    padding-bottom: 80px;
    margin-top: 0;
    margin-bottom: 0;
    background-image: url(https://coherenciacardiacaconcaballos.com/wp-content/uploads/2024/10/fondo.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-attachment: fixed;
}

.button-back {
	display: block;
    margin-left: auto;
    margin-bottom: 20px;
    width: fit-content;
    background: var(--global-palette1);
    color: #fff;
    text-decoration: none;
    padding: 5px 12px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.button-back:hover {
	background: var(--global-palette2);
	color: #fff;
}

.single-directorio-header {
	display: flex;
	align-items: center;
	gap: 40px;
}

.content-cabecera-1 {
	width: 33%;
}

.single-directorio-header .single-image-directorio {
	width: 200px;
	height: 200px;
    margin: 0;
    margin-left: auto;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.single-directorio-header .single-image-directorio img {
	left: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.single-directorio-header h1 {
	margin: 0;
}

.single-directorio-content {
	display: flex;
	margin-top: 60px;
	gap: 40px;
}

.single-directorio-ficha {
	width: 33%;
	min-width: 33%;
	/*flex-basis: 33%;*/
	text-align: right;
}

.single-directorio-ficha > div {
	margin-bottom: 30px;
}

.single-directorio-ficha h4 {
	margin-bottom: 5px;
	font-size: 18px;
}

.single-directorio-descripcion {
	/*flex-grow: 1;*/
	width: 100%;
}

.responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
}

.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* CONTACT FORM 7 */
input[type="text"], input[type="email"], input[type="tel"] {
	width: 100%;
}


/* BLOG */


/* FOOTER */
#colophon {
	/*margin-top: 60px;*/
}

/* COOKIES */

#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme {
    background-color: rgba(0,0,0,0.8)!important;
    border-top: none!important;
    z-index: 10000000000;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a {
	color: #fff!important;
	font-weight: 300!important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
	font-weight: 600!important;
	padding: 6px 24px!important;
	border: 1px solid #e3e3e3;
}

#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton.moove-gdpr-infobar-settings-btn {
	color: #fff!important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-close-btn {
    line-height: 18px!important;
    width: 32px!important;
    height: 32px!important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content {
	transform: scale(.9);
}

/* RESPONSIVE */


@media screen and (max-width:1024px) {
	.site-branding a.brand {
	    top: -39px;
	}	
	
	.directorio-listado {
	    grid-template-columns: repeat(3, 1fr);
	    gap: 20px;
	}
	
}

@media screen and (max-width:767px) {
	.directorio-listado {
	    grid-template-columns: repeat(2, 1fr);
	    gap: 20px;
	}
	
	.single-directorio-header {
		flex-direction: column;
	}
	
	.content-cabecera-1 {
		width:100%;
	}
	
	.content-buscador {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}
	
	.single-directorio-header .single-image-directorio {
		margin: 0 auto;
	}
	
	.single-directorio-header h1 {
		text-align: center;
	}
	
	.single-directorio-content {
		flex-direction: column;
	}
	
	.single-directorio-ficha {
		min-width: 100%;
		text-align: center;;
	}
}

@media screen and (max-width:680px) {

}

@media screen and (max-width:520px) {

}

@media screen and (max-width:450px) {

}
