/* Gotham Black */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-BlackItalic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
}

/* Gotham Bold */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

/* Gotham Book */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-BookItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

/* Gotham Light */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
}

/* Gotham Medium */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
}

/* Gotham Thin */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-ThinItalic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
}

/* Gotham Ultra */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Ultra.otf') format('opentype');
  font-weight: 950;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-UltraItalic.otf') format('opentype');
  font-weight: 950;
  font-style: italic;
}

/* Gotham Extra Light */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-XLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-XLightItalic.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
}

/* Variables de colores */
:root {
  --color-primary: #0d6efd;
  --color-primary-dark: #053a5b;
  --color-success: #198754;
  --color-danger: #dc3545;
  --color-warning: #ffc107;
  --color-info: #0dcaf0;
  --color-light: #f8f9fa;
  --color-dark: #212529;
  --color-muted: #6c757d;
  --color-white: #ffffff;
}

/* Estilos generales */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'GothamRnd', sans-serif;
  background-color: var(--color-light);
  margin: 0;
}

/* Encabezados */
h1 {
  font-size: 6.5rem;
  line-height: 6rem;
  font-weight: 300 !important;
}

@media (max-width: 768px) {
  h1 {
    font-size: 3.7em !important;
    line-height: normal;
  }
}

h3 {
  font-size: 1rem;
  font-weight: 500 !important;
}

/* Texto */
strong {
  font-weight: 500 !important;
}

p {
  line-height: normal !important;
}

/* Contenedores */
.constrained-content {
  padding: 0 10%;
}

/* Estilos de encabezado */
.header-container {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.menu--top {
  background-color: #3366cc;
  color: white;
  height: 35px;
}

.p-header-gov-co {
  margin: 0;
}

.logo-gov-co {
  height: 24px;
}

#cabecera-app {
  background-color: var(--color-white) !important;
  padding: 8px 0;
  border-bottom: 1px solid #dee2e6;
}

#logo-ideca {
  height: 45px;
  margin-right: 15px;
}


/* Banner principal */
.banner-principal {
  background: url('../images/bg.png') center/cover no-repeat;
  color: var(--color-white);
  padding: 13rem 0 7rem;
  margin-bottom: 20px;
}

.card-destacado .card-body p {
  color: #003A5B;
}

.card-img-top-container.aspect {
  overflow: hidden;
  aspect-ratio: 16/5;
}

@media (max-width: 1024px) {
  .card-img-top-container.aspect {
    overflow: hidden;
    aspect-ratio: inherit;
  }
}


.card-default {
  border-color: #ddd;
  background-color: #fff;
  margin-bottom: 24px;
  box-shadow: 0px 4px 0px #d0d0d0;
  box-shadow: 0px 4px 0px #a9b5bb;
}

.card-default.card-destacado:hover {
  transform: translateY(-4%);
}

.card.card-default.card-destacado {
  -webkit-transition: all 0.5s ease-in-out;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 4px 0px #d0d0d0 !important;
  border-radius: 0px 0px 5px 5px;
}

/* Skeleton loader para tarjetas */
.skeleton-box {
  background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: 4px;
  display: block;
}

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.ideca--btn {
  color: #fff !important;
  background-color: #003A5B;
  border-color: #003A5B;
  padding: 8px 21px;
  font-size: 0.9em;
}

.ideca--btn:hover,
.ideca--btn:active {
  background-color: #003a5ccc !important;
  border-color: #003a5ccc !important;
  color: white !important;
}

.firebaseui-card-content,
.firebaseui-card-footer {
  padding: 0;
}

.firebaseui-container {
  background: transparent !important;
  box-shadow: none !important;
  max-width: 100% !important;
}

.firebaseui-card-header h1 {
  font-size: 1rem !important;
}

#loginContainer .firebaseui-card-actions {
  padding: 8px 0px 10px 0px !important;
}

.firebaseui-card-header {
  padding: 0;
  font-size: 0.8rem !important;
}

.firebaseui-idp-button {
  border-radius: 4px !important;
  margin-bottom: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mdl-button--raised.mdl-button--colored {
  background-color: #003a5c;
}

.mdl-button--primary.mdl-button--primary {
  color: #003a5c;
}

#loginContainer h2 {
  color: #003A5B;
  line-height: normal;
  font-size: 1.8rem;
}

.oculto {
  display: none !important;
}

.btn-sesion:hover {
  color: #003A5B !important;
  opacity: 0.9;
}

.btn-sesion:active {
  border: 0;
  color: #003A5B !important;
  opacity: 0.9;
}

.btn-outline-danger:hover {
  color: #dc3545 !important;
  opacity: 0.9;
}

.btn-outline-danger:active {
  border: 0;
  color: #dc3545 !important;
  opacity: 0.9;
}