/*
Theme Name: SanitasNova
Theme URI: https://sanitasnova.ar
Author: No idea, but modded by me
Author URI: https://sanitasnova.ar
Description: Tema personalizado para convertir una plantilla HTML a WordPress.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sanitasnova
*/

/********** Template CSS **********/
:root {
    --primary: #497c82;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: #497c82;
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #497c82;
    text-decoration: underline;
    text-decoration-color: #497c82;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Sombra leve */
}


@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5; 
	background-color: rgb(255, 255, 255);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}
/* Alinear el logo y el botón de menú en la misma línea */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* Ajustar tamaño del logo */
#logo {
    max-height: 60px; /* Tamaño del logo por defecto */
    transition: max-height 0.3s ease;
}

/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
    #logo {
        max-height: 40px; /* Tamaño reducido para móviles */
    }

    /* Ajustar la posición del botón hamburguesa para que quede alineado */
    .navbar-toggler {
        padding: 0;
        margin-left: auto;
        display: flex;
        align-items: center;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

.no_link {
    text-decoration: none;
    color: #ffffff;
}
.no_link:hover {
    text-decoration: none;
    color: #ffffff;
}
.footer {
    color: #152440 !important;
    text-decoration: none !important;;
}
.footer a:hover {
    color: #152440 !important;
    text-decoration: none !important;;
}
.footer a:link {
    color: #152440 !important;
    text-decoration: none !important;;
}
.entry-title {
	display: none !important;
}
.img-holder { 
    display: block;
    position: relative; 
}
.pjBlPost{
	 border: #497c82 2px solid;
}
.pjBlPost .pjBlPostImageOverlay { 
	-webkit-transition: none; 
	-moz-transition: none; 
	-ms-transition: none; 
	-o-transition: none; 
	transition: none; 
}
.pjBlPost .pjBlPostImageOverlay { 
	position: absolute; 
	top: 0; right: 0; 
	bottom: 0; left: 0; 
	font-size: 0; 
	text-align: center; 
	opacity: 0; 
}
.pjBlPost:hover .pjBlPostImageOverlay { 
	opacity: 1; 
}
.pjBlPost .pjBlPostImageOverlay:before { 
	display: inline-block; 
	height: 100%; 
	margin-left: -0.25em; 
	vertical-align: middle; 
	content: ''; 
}
.pjBlPost .pjBlPostImageOverlay .btn {
	max-width: 100%; 
	text-align: center; 
	-webkit-transform: scale(0); 
	-ms-transform: scale(0); 
	-o-transform: scale(0); 
	transform: scale(0);
	color: #ffffff; /* Texto blanco */
}
.pjBlPost:hover .pjBlPostImageOverlay .btn { 
	-webkit-transform: scale(1); 
	-ms-transform: scale(1); 
	-o-transform: scale(1); 
	transform: scale(1); 
    color: #fff;
}
.pjBlPost:hover .pjBlPostImageOverlay .btn:hover { 
	-webkit-transform: scale(1); 
	-ms-transform: scale(1); 
	-o-transform: scale(1); 
	transform: scale(1); 
    color: #497c82;
}
.pjBlPost .pjBlPostImageOverlay { 
	-webkit-transition: all .5s ease-in-out; 
	-moz-transition: all .5s ease-in-out; 
	-ms-transition: all .5s ease-in-out; 
	-o-transition: all .5s ease-in-out; 
	transition: all .5s ease-in-out; 
}
.pjBlPost .pjBlPostImageOverlay { 
	background: rgba(35, 44, 49, .7); 
}
.ul_amp {
	list-style-type: none;
	margin-left: -2em;
}
.ul_amp a {
	color: #000000;
	text-decoration: none;
}
.ul_amp a:hover {
	color: var(--primary);
	text-decoration: none;
}
.ul_amp li {
	font-weight: 500 !important;
	margin-bottom:1rem !important;
}
.contador span {
	font-size: 20 em;
}
.com_autor {
	color: #f56c73 !important;
}
div.peilo {
	display: inline-flex; 
	align-items: baseline;
}
input.peilo {
	margin-right: 10px;
}
label.peilo{
	white-space: normal; 
	margin-left: 5px; 
	text-align: justify;
}
.manolo a {
	color: #152440;
	text-decoration: none;
}
.manolo a:hover {
	color: #497c82;
	text-decoration: none;
}
.otromas {
	color: #152440;
	text-decoration: none;
}
.otromas:hover {
	color: #497c82;
	text-decoration: none;
}

.img-holder {
	aspect-ratio: 439/292; /* Mantén una proporción de 16:9 */
	background-size: cover; 
	background-position: center center;
	background-repeat: no-repeat;
}

/* Estilos para el contenedor de la nube de tags */
.tag-cloud-container {
    display: flex; 
    flex-wrap: wrap; 
    align-items: baseline; /* Alinea todos los elementos a la línea base */
    gap: 0.5rem; /* Espacio entre los elementos */
}

.tag-cloud-container a {
    display: inline-block; /* Asegura que los elementos se comporten como elementos en línea */
    margin-right: 0.5rem; /* Espacio entre los tags */
    text-decoration: none; /* Elimina subrayado de los links */
    color: #000; /* Color de texto, ajusta según tu diseño */
}
.team {
	color: #FFFFFF !important;
	text-decoration: none;
}
.team:hover {
	color: #000000 !important;
	text-decoration: none;
}
.tag-cloud-link {
	color: #000000 !important;
	text-decoration: none;
}
.tag-cloud-link:hover {
	color: #497c82 !important;
	text-decoration: none;
}
.carousel-item {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center;     /* Centra verticalmente */
    height: 550px;           /* Fija una altura para evitar cambios en tamaño */
    overflow: hidden;        /* Esconde el desbordamiento si la imagen es más grande */
}

.carousel-item img {
    object-fit: cover;
    width: 100%;             /* Forzamos las imágenes a llenar el contenedor */
    height: 100%;            /* Ajustamos la altura para que todas las imágenes ocupen el mismo espacio */
    max-width: none;         /* Deshabilitamos el max-width para evitar conflictos */
    max-height: none;        /* Deshabilitamos el max-height para evitar conflictos */
}


@media (max-width: 576px) {
	.carousel .carousel-item {
	  height: 300px;
	}

	.carousel-item img {
		position: absolute;
		object-fit: cover;
		top: 0;
		left: 0;
		min-height: 300px;
	}
}
@media (max-width: 768px) {
    .navbar-collapse {
        text-align: center; /* Alinea el contenido al centro */
    }

    .navbar-nav {
        display: flex;
        flex-direction: column; /* Los elementos del menú en forma de columna */
        align-items: center; /* Centra los elementos del menú horizontalmente */
		margin-top: 10px;
    }

    .navbar-nav .nav-link {
        margin-bottom: 10px; /* Espaciado entre los elementos del menú */
    }
}

.text-sanitas {
    color: #497c82 !important;
}
.parallax {
  /* The image used */
  background-image: url("img/index_bg.jpg");

  /* Set a specific height */
  min-height: 100vh; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax img {
            max-width: 100%;
            height: auto;
        }
@media (max-width: 767px){
    .parallax {
        min-height: 50vh;
    }
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {
  .bgimg-1, .bgimg-2, .bgimg-3 {
    background-attachment: scroll;
  }
}
.img-logo{
	height: auto; width: auto; max-width: 500px; max-height: 300px; display: block;  margin-left: auto;  margin-right: auto;
}
@media (max-width: 767px){
	.img-logo{height: auto; width: auto; max-width: 250px; max-height: 150px; display: block;  margin-left: auto;  margin-right: auto;
}
}
.media-container-row {
  word-wrap: break-word;
  word-break: break-word;
  align-items: stretch;
  -webkit-align-items: stretch;
}
.media-container-row {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
}

.media-container-row .media-size-item {
  width: 400px;
}
@media (min-width: 992px) {
  .media-container-row {
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
}
@media (max-width: 767px) {
  .media-wrap {
    margin-bottom: 1rem;
    text-align: center;
  }
}
.media-wrap .mbr-iconfont-logo {
  font-size: 7rem;
  color: #f36;
}
.media-wrap img {
  height: 6rem;
}
.icon-circle {
    width: 50px;
    height: 50px;
    color: #fff;
    background-color: #497c82;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.icon-circle-white {
    width: 50px;
    height: 50px;
    color: #497c82;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.contacto {
    font-size: larger;
}
.contacto a {
    color: black;
    text-decoration: none;
}
.contacto a:hover {
    text-decoration: underline;
}