﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
@font-face {
    font-family: 'Didact Gothic';
    src: url('../fonts/DidactGothic-Regular.ttf');
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #80BC00;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Bordes
-------------------------------------------------- */
/*.form-group > div > .form-control, .form-group > .form-control {
    border-radius: 8px !important;
}

.btn, .card, .modal-content, .alert, .swal2-modal, span.btn-label {
    border-radius: 8px !important;
}

.form-group.row > div > .input-group > input.form-control {
    border-radius: 0.2rem !important;
    border-bottom-left-radius: 8px !important;
    border-top-left-radius: 8px !important;
}

.input-group-append > .btn {
    border-radius: 0.2rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group-prepend > input.form-control {
    border-radius: 0.2rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group > .form-control:not(:first-child), .input-group > .custom-select:not(:first-child) {
    border-radius: 0.2rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group > .dropdown.bootstrap-select > button.btn.dropdown-toggle {
    border-radius: 0.2rem !important;
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.btn-group > .btn:not(:last-child):not(.dropdown-toggle), .btn-group > .btn-group:not(:last-child) > .btn {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.btn-group > .btn:not(:first-child), .btn-group > .btn-group:not(:first-child) > .btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.file-caption > .input-group > input.form-control {
    border-radius: 0.2rem !important;
    border-bottom-left-radius: 8px !important;
    border-top-left-radius: 8px !important;
}*/

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Didact Gothic', sans-serif;
    background-image: url('../images/Propuesta-CAF-FINAL.png');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
/*body {
    font-family: 'Didact Gothic', sans-serif;
    background-image: url('../images/Propuesta-CAF-FINAL.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    background-attachment: fixed;
}*/
/* Footer general gris
-------------------------------------------------- */
footer .navbar {
    background-color: #e0e0e0 !important;
    color: #868686 !important;
    border-top: 1px solid #d0d0d0 !important;
    height: 3vh !important;
    padding: 0 2rem 0 2rem !important;
}

footer .navbar-light .navbar-text {
    color: #868686 !important;
}

.header {
    background-color: whitesmoke;
}

header .navbar {
    height: 8vh !important;
}
/* Popover
-------------------------------------------------- */
.popover-header {
    font-size: 0.875rem;
    text-align: center;
    font-weight: bold;
}

.dropdown-toggle::after {
    display: none;
}

/* Hidden div
-------------------------------------------------- */
.hidden {
    display: none;
}

/* Scroll modal sobre modal
-------------------------------------------------- */
.modal {
    overflow: auto !important;
}

/* Label required
-------------------------------------------------- */
.required::after {
    color: red;
    margin-left: 0.25rem;
    content: '*';
}

/* Label sm
-------------------------------------------------- */
.label-sm {
    font-size: 0.875rem !important;
}

/*Notas
-------------------------------------------------- */
.note {
    margin: 5px 0 5px;
    padding: 0.5rem 1rem 0.5rem 1rem;
    border-left: 5px solid #eee;
    border-radius: 0 4px 4px 0;
}

    .note > p {
        font-size: 0.8rem;
    }

    .note.note-danger {
        background-color: #f8d7da; /*fef7f8*/
        border-color: #f0868e;
        color: #210406;
        font-size: 0.75rem;
    }

    .note.note-primary {
        background-color: #b8daff;
        border-color: #004085;
        color: #210406;
        font-size: 0.75rem;
    }

    .note.note-info {
        background-color: #d1ecf1;
        border-color: #0c5460;
        color: #210406;
        font-size: 0.75rem;
    }

    .note.note-warning {
        background-color: #fff3d0;
        border-color: #b2890e;
        color: #210406;
        font-size: 0.75rem;
    }

    .note.note-success {
        background-color: #d4edda;
        border-color: #155724;
        color: #210406;
        font-size: 0.75rem;
    }

    .note.note-secondary {
        background-color: #e2e3e5;
        border-color: #8b8e93;
        color: #210406;
        font-size: 0.75rem;
    }

/* Custom
-------------------------------------------------- */
.btn-farmaenlace {
    color: #fff;
    background-color: #80BC00;
    border-color: #80BC00;
}

    .btn-farmaenlace:hover {
        color: #fff;
        background-color: #80BC00;
        border-color: #80BC00;
    }

    .btn-farmaenlace:focus {
        color: #fff;
        background-color: #80BC00;
        border-color: #80BC00;
    }

.span-title-login {
    font-size: 2.25rem;
    color: #00639C;
}

.span-title-login-md {
    font-size: 1.50rem;
    color: #00639C;
}

.nav-text-custom {
    color: #00639C !important;
    font-size: 1.55rem !important;
}

.nav-text-separator {
    color: #d5d5d5 !important;
    font-size: 1.55rem !important;
}

/* Switch custom
-------------------------------------------------- */
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #00639C !important;
    background-color: #00639C !important;
}

.custom-control-label {
    font-size: 0.875rem;
}

/* Tabla selección
-------------------------------------------------- */
.table-seleccion {
    font-size: 0.875rem;
}

    .table-seleccion > thead > tr {
        background-color: #e0e0e0;
    }

        .table-seleccion > tbody > tr > td, .table-seleccion > thead > tr > th {
            padding-left: 5px;
        }

.table > thead > tr {
    background-color: #DADADA;
    color: #316772;
}

/*Modales*/
.modal-header {
    background-color: #00639C;
    color: white;
}

    .modal-header > button.close {
        color: white;
    }

/*Color de boton input group*/
.btn-icon {
    color: #495057;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
}

.card-title-menu {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}


.card-menu {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #ffffff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-header-menu {
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    /* padding: 0.75rem 1.25rem;*/
    position: relative;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    height: 11.5rem !important;
}

.card-footer-menu {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header-normal {
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 0.75rem 1.25rem;
    position: relative;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    height: 11.5rem !important;
}

.main-sidebar {
    height: 100vh;
    overflow-y: hidden;
    z-index: 1038;
    background-color: #F4F6F9 !important;
}

.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #FAC438 !important;
    color: #ffffff;
}

.back-admin {
    font-family: 'Didact Gothic', sans-serif;
    background-image: url('../images/cards/administracionActual.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.back-misfranquicias {
    font-family: 'Didact Gothic', sans-serif;
    background-image: url('../images/cards/misfranquicias.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.back-beneficios {
    font-family: 'Didact Gothic', sans-serif;
    background-image: url('../images/cards/beneficios.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.back-comisiones {
    font-family: 'Didact Gothic', sans-serif;
    background-image: url('../images/cards/comisiones.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.back-reportes {
    font-family: 'Didact Gothic', sans-serif;
    background-image: url('../images/cards/reportes.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.back-certificados {
    font-family: 'Didact Gothic', sans-serif;
    background-image: url('../images/cards/certificados.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.back-solicitudes {
    font-family: 'Didact Gothic', sans-serif;
    background-image: url('../images/cards/solicitudes.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.back-patrimonio {
    font-family: 'Didact Gothic', sans-serif;
    background-image: url('../images/cards/imageCertificadoPatrimonio.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

@media (min-width: 992px) and (max-width: 1660px) {
    .col-lg-3 {
        flex: 0 0 45% !important;
        max-width: 45% !important;
    }
}

@media (min-width: 992px) and (max-width: 1660px) {
    .col-lg-4 {
        flex: 0 0 45.333333% !important;
        max-width: 45.333333% !important;
    }
}

.card-title-menu h3 {
    background-color: white;
    color: #002d74;
}

.card-body-menu h5 {
    background-color: white;
    color: #002d74;
}

.card-body-menu {
    height: 6.5rem !important;
    padding: 10px !important;
}

.card-body-menu-cert {
    padding: 10px !important;
}

    .card-body-menu-cert h5 {
        background-color: white;
        color: #002d74;
    }

.card-body-submenu {
    height: 6.5rem !important;
    padding: 10px !important;
}

    .card-body-submenu h5 {
        background-color: white;
        color: #002d74;
    }

mi-iframe {
    width: 900px;
    height: 600px;
}

@media (min-width: 370px) and (max-width: 559px) {

    .mi-iframe {
        width: 300px;
        height: 600px;
    }
}

@media (min-width: 559px) and (max-width: 655px) {

    .mi-iframe {
        width: 500px;
        height: 600px;
    }
}

@media (min-width: 655px) and (max-width: 767px) {

    .mi-iframe {
        width: 600px;
        height: 600px;
    }
}

@media (min-width: 767px) and (max-width: 908px) {

    .mi-iframe {
        width: 700px;
        height: 600px;
    }
}
/* CSS pantallas de 320px o superior */


/* CSS pantalla 768px o superior */
@media (min-width: 908px) {

    .mi-iframe {
        width: 800px;
        height: 600px;
    }
}



.mainFranquiciado {
    background-image: url('../images/Fondo-CAF-FINAL.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

ol .breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin-bottom: 0.2rem !important;
    list-style: none;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}

.nav-sidebar > .nav-item .nav-icon {
    margin-left: .05rem;
    font-size: 1.2rem;
    margin-right: .2rem;
    text-align: center;
    width: 2.3rem !important;
    height: 19px;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link > .nav-icon {
    width: 2.3rem !important;
}

.nav-link {
    padding: 0.5rem 1rem 0.5rem 0.5rem !important;
}

.btn-outline-info {
    color: #002d74 !important;
    border-color: #002d74 !important;
}

.breadcrumb-item.active {
    color: #002d74 !important;
}

.table-bordered thead th, .table-bordered thead td {
    border-bottom-width: 0px !important;
}

.table thead th {
    vertical-align: middle !important;
    border-bottom: 2px solid #dee2e6;
}

table.dataTable td {
    border-bottom: 1px solid #dee2e6 !important;
}

.cabdetalle {
    font-size: 18px;
    font-weight: bold;
    color: #002d74 !important;
}
