﻿@font-face {
    font-family: ArchivoBlack;
    src: url(../fonts/VisbyCF-Bold.ttf);
}

@font-face {
    font-family: VisbyBlack;
    src: url(../fonts/VisbyCF-DemiBold.ttf);
}



@font-face {
    font-family: 'Visby Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Regular'), url('../fonts/VisbyRegular.woff') format('woff');
}


@font-face {
    font-family: 'Visby Bold Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Bold Italic'), url('../fonts/VisbyBold Italic.woff') format('woff');
}


@font-face {
    font-family: 'Visby Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Bold'), url('../fonts/VisbyBold.woff') format('woff');
}


@font-face {
    font-family: 'Visby Extrabold Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Extrabold Italic'), url('VisbyExtrabold Italic.woff') format('woff');
}


@font-face {
    font-family: 'Visby Extrabold';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Extrabold'), url('VisbyExtrabold.woff') format('woff');
}


@font-face {
    font-family: 'Visby Heavy Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Heavy Italic'), url('VisbyHeavy Italic.woff') format('woff');
}


@font-face {
    font-family: 'Visby Heavy';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Heavy'), url('VisbyHeavy.woff') format('woff');
}


@font-face {
    font-family: 'Visby Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Italic'), url('VisbyItalic.woff') format('woff');
}


@font-face {
    font-family: 'Visby Light Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Light Italic'), url('VisbyLight Italic.woff') format('woff');
}


@font-face {
    font-family: 'Visby Light';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Light'), url('VisbyLight.woff') format('woff');
}


@font-face {
    font-family: 'Visby Medium Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Medium Italic'), url('VisbyMedium Italic.woff') format('woff');
}


@font-face {
    font-family: 'Visby Medium';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Medium'), url('VisbyMedium.woff') format('woff');
}


@font-face {
    font-family: 'Visby Semibold Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Semibold Italic'), url('VisbySemibold Italic.woff') format('woff');
}


@font-face {
    font-family: 'Visby Semibold';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Semibold'), url('VisbySemibold.woff') format('woff');
}


@font-face {
    font-family: 'Visby Thin Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Thin Italic'), url('VisbyThin Italic.woff') format('woff');
}


@font-face {
    font-family: 'Visby Thin';
    font-style: normal;
    font-weight: normal;
    src: local('Visby Thin'), url('VisbyThin.woff') format('woff');
}


:root {
    --azul-1: #003d5c;
    --azul-2: #33627c;
    --azul-3: #66899c;
    --azul-4: #99b1bd;
    --azul-5: #cdd8de;
    --naranja-1: #d05f27;
    --naranja-2: #da7f53;
    --naranja-3: #e49f7e;
    --naranja-4: #ecbfa8;
    --naranja-5: #f6e0d5;
    --naranja-sec-1: #bb4b26;
    --naranja-sec-2: #c86e53;
    --naranja-sec-3: #d6927d;
    --naranja-sec-4: #e5b7a8;
    --naranja-sec-5: #f2dbd5;
    --obscuro-1: #55565b;
    --obscuro-2: #77787c;
    --obscuro-3: #999a9c;
    --obscuro-4: #bbbbbd;
    --obscuro-5: #dddddd;
    --gris-1: #CFCDC9;
    --gris-2: #d7d6d3;
    --gris-3: #e1e0de;
    --gris-4: #ebeae9;
    --gris-5: #f5f5f4;
    --auxiliar-1: #4070B6;
    --auxiliar-2: #61B0CC;
    --auxiliar-3: #81C6CC;
    --auxiliar-4: #ECB06F;
    --auxiliar-5: #F7C46E;

    /* --------------------------------------------------------------------
       Colores de apoyo.

       No son de la identidad institucional, pero el sitio los usa y tienen
       que salir de aqui igual que los demas: si viven sueltos en cada
       pantalla, cambiarlos obliga a perseguirlos por todo el proyecto.
       -------------------------------------------------------------------- */
    --borde-suave: #e9ecef;      /* separadores y marcos discretos */
    --azul-aviso: #001689;       /* barra lateral de los avisos informativos */
    --rojo-alerta: #dd0000;      /* texto de advertencia, p. ej. limite de palabras */
    --texto-1: #444444;          /* texto corrido sobre fondo claro */
    --borde-campo: #ced4da;      /* borde de cajas de formulario */
    --borde-tabla: #dee2e6;      /* lineas de tablas y separadores */
    --rosa-error: #f1416c;       /* validacion fallida en formularios */
    --azul-enlace: #007bff;      /* ligas dentro de texto */
}

body {
    padding-top: 10px;
    padding-bottom: 20px;
    font-family: "VisbyBlack" !important;
    color: #444444;
    font-size: 1rem !important;
    /*background-image: url("/Images/Textura2.png");*/
}

/* Overlay de carga (SweetAlert2) con la paleta del sitio. La librería inyecta
   su propio <style> en tiempo de ejecución, después de este archivo, por eso
   los !important: si no, su orden de carga le gana a esta hoja de estilos. */
.swal2-cargando-popup {
    font-family: "VisbyBlack" !important;
}

    .swal2-cargando-popup .swal2-title {
        color: var(--azul-1) !important;
        font-size: 1.1rem !important;
    }

    .swal2-cargando-popup .swal2-loader {
        border-color: var(--naranja-1) transparent var(--naranja-1) transparent !important;
    }


/* ------------------------------------------------------------------------
   Elementos comunes a todas las paginas maestras.

   Estas cuatro reglas estaban repetidas, identicas, en los cinco masters del
   sitio, cada una con sus colores escritos a mano. Cambiar el azul
   institucional obligaba a editar cinco archivos y era facil dejar uno atras.
   Ahora viven aqui y toman su color de la paleta.
   ------------------------------------------------------------------------ */

.bd-callout {
    padding: 0.5rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--borde-suave);
    border-left-width: 0.25rem;
    border-radius: 0.25rem;
}

.bd-callout-info {
    border-left-color: var(--azul-aviso);
}

#barra {
    background-color: var(--azul-1);
    background-size: auto 200px;
    background-position: center;
    color: #fff !important;
    border-bottom: 1px solid white;
    box-shadow: 0 10px 0 0 var(--naranja-1);
    height: 30px;
    margin-bottom: 12px;
}

/*
    El selector va repetido a proposito para ganarle a Bootstrap.

    Esta hoja se carga ANTES que bootstrap.min.css, y .card-header trae su
    propio fondo (rgba(0,0,0,.03)) con la misma especificidad, asi que a igualdad
    de peso gana el que se declara despues. Antes esta regla vivia en un <style>
    del master, que va al final del documento, y por eso ganaba sola.

    Repetir la clase sube la especificidad sin recurrir a !important y sin mover
    el orden de las hojas, que afectaria a todo el sitio.
*/
.institucionalBlue.institucionalBlue {
    background-color: var(--azul-1);
    color: white;
}
