/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*--------------------*/
/*      General       */
/*--------------------*/

.btn-primary { background-color: #0077c6; border-color: #0077c6; color:#fff !important;padding: 15px 20px !important;
    font-size: 18px; }
.btn-primary.disabled, .btn-primary:disabled { opacity: 1; background-color: #444; border-color: #444; }
.btn { padding:.5rem .75rem; }
.btn-imed { border:1px solid #0077c6; color:#0077c6; }
.btn-imed:hover { color:#212529; border:1px solid #212529 }
.btn-imedlight { border:1px solid #fff; color:#fff;  }
.btn-imedlight:hover { border:1px solid #d0d0d0; color:#d0d0d0 } 

.bg-grey { background-color:#f0f0f0; }
.bg-imed { background-color:#0077c6; color:#fff; }

.has-text-align-center,
.aligncenter { text-align:center}
.alignleft { text-align:left}
.alignright { text-align:right}

.mb-3, .my-3 {margin-bottom: 1rem !important;}
.pb-5, .py-5 {padding-bottom: 3rem !important;}
.pt-5, .py-5 {padding-top: 3rem !important;}
.m-0 {margin: 0 !important;}

.home-banner-h1 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
	font-size: 2.5rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 1.5rem;
}


.pmain{font-size: 1.4rem;}
.cabmain{padding: 0px 15%;}
.cabmain h2{margin-bottom:0;}
.cabmain p{font-size: 1.4rem;line-height: 1.4;}
.cabmain hr{
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
    max-width:600px;
}

h5,h4,h3{font-weight: 400;}

.btnBlue{background-color: #0077C6;
    display: inline-block;
    width: 100%;
    padding: 10px;
    color: #fff;}

.destacado {
    background-color: #0077c6;
    color: #fff;
    padding: 2rem;
    margin-top: 100px;
}

.destacado h3{ color: #fff !important; font-size: 1.75rem !important;}
.destacado p{ color: #fff !important;}


#wrapper #main .fusion-post-content > h2.fusion-post-title{font-size:20px !important;}


/* FORMUALRIO */
.destacado_gris { background-color:#f0f0f0; padding:2rem; margin-bottom:3rem }
.destacado_gris h3 { color:#333 }
.destacado_gris p { margin:0 0 8px 0 }
.destacado_gris p:last-child { margin:0 }
/*.contactar { background-color:#f0f0f0; padding:2rem;}*/
.contactar h2 { padding:0 4rem; }
.contactar ul.list-unstyled { font-size:1.3rem; line-height:1.8; padding:0 2rem; margin:3rem 0;list-style: none; }
.contactar .destacado_gris { margin-bottom:0; background-color:#27385c; color:#fff }
.contactar .destacado_gris a { color:#fff }
.contactar .destacado_gris .btn { border:1px solid #fff }
.contactar .destacado_gris .form-control { border: 1px solid #fff; background-clip: border-box; }
.contactar .telefonos { padding:0 2rem;font-size:1.5rem;text-align: center; }

.contactar .telefonos p a { color:#27385c }

.destacado_gris {
    background-color: #f0f0f0;
    padding: 2rem;
    margin-bottom: 3rem;
}

.form-group {margin-bottom: 1rem;}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s 
ease-in-out, box-shadow .15s 
ease-in-out;
}

.form-group label {
    display: inline-block;
    margin-bottom: .5rem;
	font-size: 1rem
}

.form-group .btn-primary {
    background-color: rgb(0, 119, 198);
    color: rgb(255, 255, 255) !important;
    border-color: rgb(0, 119, 198);
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
    line-height: 1.5;
}
.btn-block {
    display: block;
    width: 100%;
}
.text-uppercase {
    text-transform: uppercase !important;
}
.text-center {
    text-align: center !important;
}
hr + p {
    font-size: 1.4rem;
	text-align:center;
}

/*MENU*/
.fusion-logo img{max-height:50px;}
.fusion-menu .menu-item .menu-text{text-transform: uppercase;color:#fff;font-size: 1.3rem;}


#footer-logos {background: #eee;}
#footer-logos img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    margin: 5px;
    height: auto;
    max-height: 35px; /* altura máxima para que todos queden proporcionados */
    width: auto;
    max-width: 100%;
}

#footer-logos .list-inline {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin: 0;
}

#footer-logos .list-inline-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
}


@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }}

.d-none {display: none !important;}
.list-inline {padding-left: 0;list-style: none;}



/* Carrusel de testimonios */

.card-carousel .cardtestimonio {
	 max-width: 412px;
	padding: 0px 8px;}

.card-carousel .slick-next:before{
	line-height: 1;
    opacity: 1;
    color: #0077c6;
    font-size: 28px;
    left: -2px;
    position: absolute;
    top: -2px;
}

.card-carousel .slick-prev:before{
	line-height: 1;
    opacity: 1;
    color: #0077c6;
    font-size: 28px;
    left: -2px;
    position: absolute;
    top: -1px;
}

.card-carousel .slick-next:focus, .card-carousel .slick-next:hover, .card-carousel .slick-prev:focus, .slick-prev:hover{background-color: #fff;}

@media only screen and (max-width: 500px) {

	.card-carousel .slick-prev {
		left: -13px;
		background-color: #fff;
		border-radius: 14px;
		z-index: 9;
		width: 23px;
        height: 23px;
	}

	.card-carousel .slick-next {
		right: -7px;
		background-color: #fff;
		border-radius: 14px;
		z-index: 9;
	}

    .cabmain {
        padding: 0px 5%;
    }

    .fusion-page-title-bar .fusion-page-title-row h1{font-size:2rem !important;}
}


@media only screen and (max-width: 480px) {

	.card-carousel .cardtestimonio {
		max-width: 460px;
		padding: 0px 15px;
	}

    #footer-logos .list-inline {
        gap: 10px; /* menos espacio */
    }

    #footer-logos img {
        max-height: 40px;
    }

}


.imgComp img {
    max-height: 340px;
    width: auto;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  background: #000; 
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.faqlist h2{margin-bottom:10px;font-size: 28px !important;}


#callAction { position:fixed; bottom:0; width:100%; z-index:99; }
@media only screen and (min-width: 1450px) {
	#callAction { width:220px; bottom:auto; top:200px; right:0 }
	#callAction .col-6 { flex: 0 0 100%; max-width:100% }
}
#callAction a { color:#fff; display:block; padding:15px }
#callActionContact a { background-color:#27385c; text-decoration:none }
#callActionWhatsapp a { background-color:#25d366; text-decoration:none }
#callAction a:hover { background-color:#31B1F8;  }

@media only screen and (max-width: 576px) {
	#callAction a { font-size: 0.9rem; min-height: 72px; }
}


.profesionales-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* espacio entre doctores */
}

.doctor {
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
    padding: 15px;
    background-color: #fff;
}

.doctor img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.doctor h4 {
  font-size: 1.1rem;
  margin: 10px 0 5px;
}

.doctor p {
  margin: 5px 0;
}

.btn-cv {
  display: inline-block;
  padding: 6px 12px;
  background-color: #007bc6;
  color: #fff;
  text-decoration: none; 
  font-size: 0.9rem;
}

.btn-cv i {
  margin-left: 5px;
}

.btn-cv:hover {
  background-color: #0056b3;
  color: #fff;
}


.card-carousel2 {
    display: flex;
    flex-wrap: wrap; /* permite que los items bajen */
    justify-content: center;
    gap: 20px; /* espacio entre testimonios */
}

.card-testimonio {
    flex: 1 1 calc(50% - 20px); /* 2 por fila con espacio */
    max-width: 500px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    background-color: #fff;
}

.card-testimonio img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 8px;
}

.card-testimonio p {
    margin: 5px 0;
    line-height: 1.2rem;
}

/* Responsive: 1 por fila en pantallas pequeñas */
@media (max-width: 768px) {
    .card-testimonio {
        flex: 1 1 100%;
    }
}
