/*
 Theme Name:   Medicare Child
 Theme URI:    http://medicare.bold-themes.com
 Description:  Medicare Child Theme
 Author:       BoldThemes
 Author URI:   http://bold-themes.com
 Template:     medicare
 Version:      1.0.0
 Tags:         one-column, right-sidebar, fluid-layout, responsive-layout, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  medicare_child
*/


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

.btDarkSkin .btGoogleMapsWrap, .btLightSkin .btDarkSkin .btGoogleMapsWrap {
	background: #0097C3;
}
.header.medium h2, .header.medium h3 {
	font-size: 20px;
}
.header.small h3, .header.small h4 {
	font-size: 13px;
}
.px-25 {
	padding-left: 25px;
	padding-right: 25px;
}

.btIconImageRow.btIconsHalfHoverPosition .btIconImageCell {
	margin-top: -40px;
    margin-bottom: 8px;
}

.btIconImageRow.btIconsHalfHoverPosition .btIconImageCell >.bpgPhoto {
	overflow: visible;
}

form.wpcf7-form p label.check span,
form.wpcf7-form p .wpcf7-radio span	{
display: inline;

}

.wpcf7-acceptance .wpcf7-list-item {
	display: inline-block;
}

form.wpcf7-form p .wpcf7-radio .wpcf7-list-item.first {
	margin-right: 1em;	
}

.topBarInLogoAreaCell .btIconWidget .btIconWidgetTitle {
	color:#222222;
	font-weight: 500;
}
.topBarInLogoAreaCell .btIconWidget .btIconWidgetText {
	color:#444444;
}
.btAccentColorBackground {
	background-color:#0097C3;
}
.header.medium h2, .header.medium h3 {
	font-size: 18px;
}

.dnd-upload-counter span {
	display: initial!important;
}

.formleft .wpcf7-form p  {
text-align: left;
}

.mg-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.mg-table th, .mg-table td { padding: 12px; border-bottom: 1px solid #eee; text-align: left; }
.mg-loader { padding: 20px; color: #007cba; font-weight: bold; }

.mg-search-form {
	gap: 15px;
    display: flex;
    flex-direction: column;
}

.mg-search-form .mg-form-row {
	display: flex;
    /*flex-wrap: nowrap;
    flex-direction: row;
    */
    flex-wrap: wrap;

    
    gap: 15px;
}
.mg-search-form .col {
	flex: 0 0 auto;
	width: auto;
	align-content: center;
}

@media (max-width: 1024px) {
	.mg-search-form .mg-form-row {
		flex-direction: column;
		flex-wrap: wrap;
	}
	.mg-search-form .col {
	width: 100%;
}
}

.mg-search-form h2 {
	font-size: 19px;
	line-height: 1.5;
	letter-spacing: normal;
	color: #222;
	margin: 0;
}

.mg-search-form select, 
.mg-search-form input[type="text"] {
    height: 48px;
    /*border: 1px solid #e0e0e0;*/
    /*background-color: #fff;*/
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 0px;
    padding: 0 15px;
    font-family: inherit;
    font-size: 14px;
    color: #555;
    width: 100%;
    
    background-color: rgba(0,0,0,.07);
    flex: 1;
}

.mg-search-form select {
    cursor: pointer;
    appearance: none; /* Quita la flecha nativa si quieres personalizarla */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}


.mg-search-form button {
	background-color: #0097c3;
	border: 2px solid #0097c3;	
	padding: 10px 20px;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1;
	cursor: pointer;
	transition: all 500ms ease;
	color: #fff;
}
.mg-search-form button:hover {
	background-color: #005c77;
    border: 2px solid #005c77;
}


.mg-results-wrapper > .mg-instruction {
	font-size: 18px;
	font-family: "Source Serif Pro";
	line-height: 1.55;
    clear: both;
	margin: 0 0 14px;
}

.wpml-ls-sidebars-header_right_widgets.wpml-ls-legacy-list-horizontal {
	padding: 0;
}

.menuHolder .logo img {
	height: 90px;
}

.menuHolder .logo {
	margin-bottom: 8px;
}

.btLightSkin .menuHolder .menuPort ul li.destacat a {
	background-color: #0097c3;
	border: 2px solid #0097c3;	
	color: #fff;
	padding-left: 10px;
	padding-right: 10px;
}
.btLightSkin .menuHolder .menuPort ul li.destacat a:hover {	
	background-color: #005c77;
	border: 2px solid #005c77;	
	color: #fff!important;
}

body.btMenuHorizontal .menuPort > nav > ul > li {
	    margin: 0 20px 0 0;
}

.btMenuBelowLogo .menuHolder {
	padding: 2px 0;
}
.topBarInLogoArea {
	padding-top: 18px;
}


.btDarkSkin .btSiteFooterWidgets, .btLightSkin .btDarkSkin .btSiteFooterWidgets {
	background: rgba(237,237,237,1);
}

.btDarkSkin .btSiteFooterWidgets h4,.btDarkSkin .btSiteFooterWidgets h6, .btDarkSkin .btSiteFooterWidgets a,.btDarkSkin .btSiteFooterWidgets p {
	color: #222!important;
}

#boldSiteFooterWidgetsRow img {
	height: 70px;
}

.btWorkingHoursInnerTitle {
	width: 40%;
}

.btWorkingHoursInnerContent {
	width: 60%;
}
.btFooterMenu .widget_icl_lang_sel_widget {
	display: none;
	visibility: hidden;
}

.servicesItem.listc .header.small h4 {
	margin-bottom: 0;
}

.servicesItem.listc {
	margin-bottom: 10px;
}

.align-right.btIconImageRow.btIconsFullHoverPosition .btIco {
	float: right;
	margin-bottom: 0;
	margin-right: 0;
}



.btDarkSkin .btIco.btIcoDefaultType.btIcoAlterColor.destacat .btIcoHolder:after {
	color: yellow;
}

form.wpcf7-form textarea.petit {
	height: 90px;
}

form.wpcf7-form .r {
	display: flex;
	gap: 15px;	
}

form.wpcf7-form .r > p {
	width: 50%;
}


.btLightSkin .alternatiu h1
 {
color: #fff;
}


@media (max-width: 1000px) {
	.boxRow .rowItem.col-ms-12,
	.boxRow2 .rowItem.col-ms-12 {
		width: 50%;
		float: left;
		
	}
	
	.boxRow2 .rowItem {
		padding: 0 10px;
	}


	.boxRow .btTableRow .rowItem.btDoublePadding > .rowItemContent {
		padding: 0;
		height: 266px;
		display: flex;
		flex-direction: column;
		justify-content: end;
	}

	.boxRow .btTableRow .rowItem.btDoublePadding > .rowItemContent .btText {
		min-height: 87px;
	}

	.boxRow2 .rowItemContent .btText {
		min-height: 67px;
	}

	.boxRow2 .header .headline {
		min-height: 42px;
	}

	

	.boxRow2 .rowItemContent {
		padding: 0px 10px;
		height: 575px;
	}

	.btWorkingHours {
		padding: 0 10px;
	}  

	.btWorkingHoursInnerContent,
	.btWorkingHoursInnerTitle {
		width: 50%;
	}

	.btGoogleMapsWrap {
		padding: 0 20px;
		width: 285px;
	}

	#boldSiteFooterWidgetsRow {
		display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 20px;
    margin: 0;
	}
	#boldSiteFooterWidgetsRow > .rowItem {
		width: 50%;
		padding: 0;
	}
}

@media (max-width: 1000px) {
		.boxRow .btTableRow .rowItem.btDoublePadding > .rowItemContent .btText {
		min-height: 112px;
	}
}


.mg-btn-issa.active { background: #0073aa; color: #fff; border-color: #0073aa; }
.mg-btn-issa.active:hover { opacity: 0.8; }

/* Contenedor principal de la celda */
.mg-medico-box {
    display: flex;
    align-items: center; /* Centra verticalmente la imagen con el texto */
    gap: 15px;           /* Espacio entre imagen y texto */
    padding: 5px 0;
}

/* Contenedor de la imagen */
.mg-medico-img {
    flex: 0 0 80px;      /* Ancho fijo para la imagen (ajusta según prefieras) */
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;  /* Imagen circular tipo avatar */
    border: 2px solid #eee;
}

.mg-medico-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Evita que la imagen se deforme */
    display: block;
}

/* Información del médico */
.mg-medico-info {
    flex: 1;             /* Ocupa el resto del espacio */
    line-height: 1.4;
}

.mg-medico-info strong {
    font-size: 1.1em;
    color: #333;
}

.hide {
	display: none;
}

/* Ajuste para dispositivos móviles */
@media (max-width: 600px) {
    .mg-medico-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .mg-medico-img {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }
}

.post.type-post .port {
	margin-top: 20px;
}

.btGridContainer .btGridContent {
	min-height: 211px;
}


.page-id-1831 .btGridContainer .btGridContent {
	min-height: 232px;
}

/*
.gridItem .header.small h4 {
	min-height: 33px;
}

.gridItem .btGridContent p {
	min-height: 67px;
}
*/