
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
:root{
	--color-acento: #0092ce;
}

/* CSS Variables generated from Kigen.design */
:root {
  --nefroblue-1: #edf0ff;
  --nefroblue-2: #d1dbff;
  --nefroblue-3: #a3bafe;
  --nefroblue-4: #759dfe;
  --nefroblue-5: #3782fe;
  --nefroblue-6: #086bdf;
  --nefroblue-7: #0556b6;
  --nefroblue-8: #03428f;
  --nefroblue-9: #02316e;
  --nefroblue-10: #011c44;
  --nefroblue-11: #00102d;
}

.frow{display: flex; flex-flow: row nowrap;}
.frow.reverse{flex-direction: row-reverse !important;}
.fcolumn{display: flex; flex-flow: column nowrap;}
.fcolumnReverse{display: flex; flex-flow: column-reverse nowrap;}
.fcolumn.reverse{flex-direction: column-reverse !important;}
.grid{display: grid;}

.wrap{flex-wrap: wrap !important}
.f1{flex: 1}
.f2{flex: 2}
.f3{flex: 3}
.f4{flex: 4}
.f5{flex: 5}
.f6{flex: 6}
.f7{flex: 7}

.fs12{font-size: 1.2em}
.fs15{font-size: 1.5em}
.fs2{font-size: 2em}
.fs23{font-size: 2.3em}
.fs25{font-size: 2.5em}

body {
	padding-top: 0px;
	font-family: 'Open Sans', 'Arial', sans-serif;
}

a {
	text-decoration: none !important;
}
.title {
	background-color: #00438e;
	color: white;
}
.title a {
	color: white;
}
.title .header-text-muted{
	color: #dce2edcf;
	font-size: 90%;
}
.navbar-nav .nav-link {
	white-space: nowrap;
	padding-left: 0.30rem;
	padding-right: 0.30rem;
	color: white;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

/* Estilo inicial oculto con opacidad */
.navbar .dropdown-menu {
  display: block;           /* necesario para que funcione la animación */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  background-color: #01438F;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
.slick-dotted.slick-slider {
	margin-bottom: unset !important;
}
.slick-dots {
	bottom: 10px !important;
}
.congreso-img-container {
  height: 100%;
  display: flex;
}

.congreso-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.multimedia-section {
	background: url('img/multimedia-background.PNG') no-repeat center center;
	background-size: cover;
	padding: 30px 0px 60px 0px;
}
.multimedia {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	gap: 30px;
}

.media-item {
	color: white;
}

.media-frame {
	width: 100%;
	height: 280px;
	margin-bottom: 0px;
	object-fit: cover;
}

.media-text {
	margin-top: 5px;
}
.media-text > *{
	text-decoration: none;
}

.media-date {
	font-size: 0.9rem;
	color: #ccc;
	margin-bottom: 5px;
}


.media-title {
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.3;
}
.section-title {
	/*margin-bottom: 20px;*/
	margin-top: 20px;
	font-size: 2.25rem;
}
.image-card {
	position: relative;
	text-align: center;
}
.image-card .btn-title {
	background-color: #043886;
	color: white;
	border: none;
	padding: 6px 16px;
	font-size: 1.0rem;
	border-radius: 5px;
	text-align: center;
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 80%; /* Puedes ajustar el ancho aquí */
	max-width: 260px;
	min-height: 45px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.block-img {
	width: 100%;
	height: 350px;
	object-fit: cover;
}
.interest-img {
	width: 200px;
	height: 250px;
	object-fit: cover;
}
.featured-img {
	width: 300px;
	max-width: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
}
.action-section {
	background-color: #e6f3ff;
	color: white;
	width: 100%;
	padding: 2px 10px 10px 10px;
}

.action-section i{
	color: var(--color-acento);
}

.image-action-card {
	width: 270px;
	position: relative;
	color: #000;
	flex: 1;
	height: 250px;
	height: auto;
  display: inline-block;
}

.card-content {
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  height: 200px;
}

.card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.3;
	display: block;
}

.card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	height: 100%;
	width: 100%;
	color: #262f36;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: left;
}

.icon-placeholder {
	font-size: 3rem;
}

.card-title {
	font-weight: bold;
	font-size: 1.5rem;
	margin-bottom: 5px;
}

.card-text {
	font-size: 0.95rem;
	text-shadow: 0px 1px 5px rgb(255 255 255 / 69%);
}

.image-action-card:hover .card-img {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.image-action-card:hover .card-overlay {
	background-color: var(--color-acento);
	color: white;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.image-action-card:hover .card-title,
.image-action-card:hover .card-text,
.image-action-card:hover .icon-placeholder {
	color: white;
}

.card-overlay,
.card-title,
.card-text,
.icon-placeholder {
	transition: color 0.3s ease;
}

.article-card{
	border: 1px solid lightgray;
	padding: 5px;
	display: block;
}
.article-img{
	border: none;
	border-radius: 0px;
	object-fit: cover;
	height: 180px;
	width: 100%;
	overflow: hidden;
}
.article-title {
	font-size: 1.3rem;
	/*margin-bottom: 5px;*/
	/*margin-top: 5px;*/
	/*margin: 5px;*/
	color: #585151;
	text-decoration: none;
}
.article-text {
	font-size: 0.8rem;
	font-weight: 700;
	opacity: 0.7;
	text-decoration: none;
}

.card-body p {
	/*margin-bottom: 5px !important;*/
}
.underline {
	width: clamp(10px, 230px, 100%);
	height: 3px;
	background-color: var(--color-acento);
}
.little-news {
	display: flex;
	gap: 15px;
	transition: transform 0.3s ease, background-color 0.3s ease;
	padding: 8px;
	border-radius: 6px;
}
.little-news img {
	width: 210px;
	height: 109px;
	object-fit: cover;
	/*border-radius: 0.375rem;*/
	flex-shrink: 0;
}
.little-news .text {
	/*font-size: 0.9rem;*/
}
.little-news h6 {
	font-size: 1.25em;
	font-weight: 700;
	color: #5b6368;
}
.little-news .text .date {
	font-size: 0.8rem;
	color: #6c757d;
	margin-bottom: 0.25rem;
}
.img-link {
	position: relative;
}
.img-link:hover img {
	transform: scale(1.02);
	filter: brightness(0.8);
	transition: transform 0.3s ease, filter 0.3s ease;
}

.img-link:hover .text-white {
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.little-news:hover {
	background-color: #f8f9fa;
	transform: scale(1.01);
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.little-news:hover h6 {
	color: #0056b3;
	text-decoration: none;
}

.interest-box {
	overflow: hidden;
	border-radius: 0px;
	position: relative;
	height: 200px;
}

.interest-box img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: top;
}

.interest-overlay {
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: #f1f0e8;
	color: #1a1f28;
	padding: 0.5rem;
	font-size: 0.9rem;
	line-height: 0.9rem;
	text-align: center;
	opacity: 0.8;
	font-weight: 700;
	height: 55px;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
}

.nefroteca-section {
	background-image: url('img/footer-img.PNG');
	background-size: cover;
	background-position: center;
	position: relative;
}

.nefroteca-section .overlay {
	background-color: rgba(0, 87, 183, 0.85);
	width: 100%;
	height: 100%;
}

.nefro-icon {
	font-size: 2.9rem;
	color: white;
}

.info-card {
	background-color: #f5f5f5;
	border-radius: 25px;
	color: #003366;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.social-icons a {
	font-size: 1.5rem;
	color: #003366;
	transition: color 0.3s;
}

.social-icons a:hover {
	color: #007bff;
}

.custom-footer {
	background-color: #eeeeee;
	color: #003366;
	position: relative;
	margin-top: 60px;
}

.scroll-to-top {
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	text-decoration: none;
}

.scroll-circle {
	background-color: #c4c4c4;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.contact-info{
	color: #485a6c;
}

.footer-btn {
	background-color: #c4c4c4;
	color: white;
	font-size: 0.85rem;
	padding: 5px 12px;
	border-radius: 2px;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 4px;
	font-weight: bold;
	transition: background-color 0.3s;
}

.footer-btn:hover {
	background-color: #a0a0a0;
	color: white;
}

.h-400 {
  height: 400px;
}

.col-md-5 > a.bg-light {
  flex: 1;
  display: flex;
  align-items: center; /* Centra verticalmente el texto, opcional */
  padding: 15px;       /* Opcional para que no quede tan apretado */
}

.little-news {
  width: 100%;
}

.nefro_3{
	background-color: var(--nefroblue-3);
	border-radius: 5px;
	padding: 10px;
	text-align: center;
	color: var(--nefroblue-11);
	font-weight: 600;
	cursor: pointer;
}

.nefro_11{
	background-color: var(--nefroblue-11);
	border-radius: 5px;
	padding: 10px;
	text-align: center;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.card.nefro_3 {
transition: transform 0.2s;
}
.card.nefro_3:hover {
transform: scale(1.05);
}
.card.nefro_11 {
transition: transform 0.2s;
}
.card.nefro_11:hover {
transform: scale(1.05);
}

.nefro-tabs {
		display: flex;
	}
	.nefro-tab {
		display: flex;
		align-items: center;
		padding: 0.75rem 1.5rem;
		cursor: pointer;
		background-color: var(--nefroblue-3, #e3f2fd);
		border: none;
		outline: none;
		font-weight: 500;
		color: #333;
		transition: background 0.2s;
		margin-left: 0.25rem;
		margin-right: 0.25rem;
		border-radius: 0.5rem 0.5rem 0 0;
		font-size: 0.8rem;
		font-weight: bolder;
	}
	.nefro-tab.active {
		background-color: var(--nefroblue-7, #1565c0);
		color: #fff;
	}
	.nefro-tab i {
		margin-right: 0.5rem;
		font-size: 1.2rem;
	}
	.nefro-tab-content {
		padding: 1.5rem;
		background: var(--nefroblue-1);
		border-radius: 0 0 0.5rem 0.5rem;
	}
	.nefro-tab-panel {
		display: none;
	}
	.nefro-tab-panel.active {
		display: block;
	}
.icono{
	font-size: 0.8rem !important;
	font-weight: bolder;
}
@media (max-width: 767px) {
	.title .d-flex {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
	.contact-info {
		display: none !important;
	}
	.header-container {
		justify-content: flex-end !important;
	}
	.display-icons a {
		font-size: 1.2rem;
		margin-left: 10px;
	}
	.display-icons{
		/*display: none !important;*/
	}
	.destacamos-wrapper {
		flex-direction: column !important;
		align-items: center !important;
		gap: 1rem;
	}

	.destacamos-wrapper a {
		justify-content: center !important;
		width: 100%;
	}

	.featured-img {
		margin: 0 auto;
	}
	.action-section .container .d-flex {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
		justify-items: center;
	}

	.card-overlay {
		text-align: center;
		align-items: center;
		justify-content: center;
		padding: 10px;
	}

	.icon-placeholder {
		font-size: 2rem;
		margin-bottom: 10px;
	}

	.card-title {
		font-size: 1.1rem;
		margin-bottom: 5px;
	}

	.card-text {
		font-size: 0.8rem;
	}
	.multimedia {
		flex-direction: column;
		align-items: center;
	}

	.media-item {
		width: 100%;
		max-width: 500px;
		margin-bottom: 30px;
	}

	.media-frame {
		height: auto;
	}
}

@media (max-width: 400px) {
	.action-section .container .d-flex {
		grid-template-columns: 1fr;
	}
}

