﻿:root {
    /*Colores Primarios*/
    --first-color: #0F69B4;
    --second-color: #E22C2C;
    --third-color: #001C41;
    /*Colores Secundarios*/
    --green: #2D717C;
    --orange-dark: #E0701E;
    --orange-light: #FFA11B;
    --purple: #6633CC;
    --black: #111111;
    --gray-dark: #4A4A4A;
    --gray-light: #8A8A8A;
    --neutral: #EEEEEE;
    --white: #FFFFFF;
    /*Colores Utiles*/
    --back-dark: #2f3243;
    --blue-inst: #0167b7;
    --red-inst: #ee3a41;
    --blue-fondo: #072651;
    --modal-header: #0168B3;
    --modal-footer: #05416C;
    --green-light: #5cb85c;
    --blue-light: #00aae4;
    --burdeo: #800040;
}

.d-none {
    display: none;
}

html, body {
    font-family: "Roboto" !important;
}

    body.bg-dark {
        background-color: var(--back-dark) !important;
        color: var(--white);
    }
/*
main {
    padding-top: 80px;
    padding-bottom: 40px;
}
*/
.logo-clave-unica {
    background-color: var(--blue-inst);
    height: 30px;
    width: 200px;
    padding: 2px;
    border-radius: 5px;
}

header {
    display: block;
    line-height: 1.42857143;
    background-color: var(--blue-fondo);
    padding-top: 0px !important;
}

.page-content.pt-2 {
    padding-top: 0px !important;
}

footer {
    display: block;
    line-height: 1.42857143;
    background-color: var(--blue-fondo);
    /*position: fixed;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    padding: 2px 0px 0px;
    border-top: 1px solid #dee2e6 !important;*/
}

    footer:before {
        content: '';
    }


    footer.footer-gobcl .banda-bicolor {
        height: 2px
    }

    footer.footer-gobcl .top {
        display: table;
        width: 100%;
        padding: 25px 0 0
    }

        footer.footer-gobcl .top .listas {
            display: table-row
        }

            footer.footer-gobcl .top .listas .lista {
                display: table-cell;
                padding: 5px 35px 30px;
                border-right: 1px solid #e6e6e6
            }

                footer.footer-gobcl .top .listas .lista:last-child {
                    border-right: none
                }

                footer.footer-gobcl .top .listas .lista h5 {
                    margin: 0 0 20px;
                    color: #0f69b4
                }

                footer.footer-gobcl .top .listas .lista ul {
                    padding-left: 15px;
                    color: #7a8791
                }

                    footer.footer-gobcl .top .listas .lista ul li {
                        margin: 0 0 5px;
                        font-size: 12px
                    }

                        footer.footer-gobcl .top .listas .lista ul li a:hover {
                            color: #475156
                        }

.banda-bicolor:after, .banda-bicolor:before {
    position: absolute;
    content: '';
    bottom: 0;
    top: 0
}

.banda-bicolor:before {
    left: 0;
    width: 46%;
    background: var(--blue-inst);
}

.banda-bicolor:after {
    right: 0;
    width: 54%;
    background: var(--red-inst)
}

.banda-bicolor {
    position: absolute !important;
    min-height: 8px !important;
    margin-top: 0 !important;
    width: 200px !important;
}

/**/
tooltip-inner {
    padding: 2px 7px;
    color: #55AAAA;
    text-align: center;
    font-weight: 900;
    background: -webkit-gradient(linear, left top, left 25, from(#F4F4F4), color-stop(4%, #B4C8D6), to(#F4F4F4));
    background: -moz-linear-gradient(top, #F4F4F4, #B4C8D6 1px, #F4F4F4 25px);
    border: 1px solid #55AAAA;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

.title {
    font-weight: bold;
    font-size: 17px;
    color: var(--gray);
}

.color-image {
    color: #0C7E83;
}

.color-pdf {
    color: #F40F02;
}

.color-word {
    color: #3277BC;
}

.color-excel {
    color: #1D6F42;
}

.color-ppt {
    color: #D04423;
}

.text-warning {
    color: var(--orange-light) !important;
}

.text-rojo {
    color: var(--red-inst);
}

.text-verde {
    color: var(--green-light);
}

.text-burdeo {
    color: var(--burdeo);
}

.text-celeste {
    color: var(--blue-light);
}

.text-black {
    color: var(--black) !important;
}

.text-blanco {
    color: var(--white) !important;
}

.text-neutral {
    color: var(--neutral) !important;
}

.badge-burdeo {
    color: white;
    background-color: var(--burdeo);
}


.bg-rojo-inst {
    background-color: var(--red-inst) !important;
    color: var(--white) !important;
}

.bg-azul-inst {
    background-color: var(--blue-inst) !important;
    color: var(--white) !important;
}

.label-form {
    margin-top: 6px;
    font-weight: bold;
}

.badge-activo {
    background-color: var(--blue-inst) !important;
    font-size: 85%;
    color: var(--white);
}

.badge-inactivo {
    background-color: var(--red-inst) !important;
    font-size: 85%;
    color: var(--white);
}
/*azul 0168B3*/
.label-primary {
    background-color: var(--blue-inst) !important;
}
/*rojo EE3A43*/
.label-danger {
    background-color: var(--red-inst) !important;
}

.franja-roja {
    display: block;
    width: 87px;
    height: 15px;
    background-color: var(--red-inst);
}

.franja-azul {
    display: block;
    width: 70px;
    height: 15px;
    background-color: var(--blue-inst);
}

.logo-title {
    color: var(--white);
}

.barraSup {
    font-size: 14px;
    color: var(--neutral);
}

label.disabled {
    color: #555;
    background-color: #eee;
    border: 1px solid #ccc;
}

textarea::placeholder {
    color: var(--gray-light);
    font-size: 0.7em;
    font-style: italic;
}

/**/
/*Inicio Caja Filtro*/
.box-dialog {
    margin: 5px auto;
    /*width:90%;*/
    border: 1px solid #aaa;
}

.box-header {
    background: #c3c3c3;
    border: none;
    padding: 2px;
}

    .box-header .box-title {
        font-size: 11px;
    }

.box-title {
    color: #fff !important;
    font-weight: bold;
    margin-top: 2px;
    margin-bottom: 2px;
    padding-left: 5px;
}

.box-body {
    padding: 10px;
    color: #333;
}

.box-footer {
    position: relative;
    padding: 5px;
    background: #05416C;
    /*text-align: center;*/
}

    .box-footer:after {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        display: block;
        background: -moz-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
        background: -webkit-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
        background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
        content: "";
    }
/*Fin Caja Filtro*/
/*Inicio SWITCH Checkbox*/
.material-switch {
    margin-top: -7px;
}

    .material-switch > input[type="checkbox"] {
        display: none;
    }

    .material-switch > label {
        cursor: pointer;
        height: 0px;
        position: relative;
        width: 40px;
        margin-bottom: 0px !important;
    }

        .material-switch > label::before {
            background: rgb(239, 65, 68);
            box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
            border-radius: 8px;
            content: '';
            height: 16px;
            margin-top: -8px;
            position: absolute;
            opacity: 0.3;
            transition: all 0.4s ease-in-out;
            width: 40px;
        }

        .material-switch > label::after {
            background: rgb(239, 65, 68);
            border-radius: 16px;
            box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
            content: '';
            height: 24px;
            left: -4px;
            margin-top: -8px;
            position: absolute;
            top: -4px;
            transition: all 0.3s ease-in-out;
            width: 24px;
        }

    .material-switch > input[type="checkbox"]:checked + label::before {
        background: inherit;
        opacity: 0.5;
    }

    .material-switch > input[type="checkbox"]:checked + label::after {
        background: inherit;
        left: 20px;
    }
/*Fin SWITCH Checkbox*/
/*Inicio Div Cierre Sesion*/
div.error {
    left: 100px;
    color: #EE3A43;
    position: absolute;
    border: 2px solid var(--neutral);
    padding: 20px;
    background: rgba(255,255,255,.2);
}

    div.error > label.TitError {
        font-weight: bolder;
        font-size: 16px;
    }

    div.error > label.SubTitError {
        font-weight: lighter;
        font-size: 14px;
        color: var(--white);
    }
/*Fin Div Cierre Sesion*/
/*Inicio Modal*/
.modal-header {
    background-color: var(--blue-fondo);
    border: none;
}

    .modal-header .modal-title {
        font-size: 15px;
    }

.modal-title {
    color: var(--white) !important;
    font-weight: bold;
}

.modal-body {
    padding: 5px;
    color: var(--gray-dark);
}

.modal-pop {
    background: rgba( 0, 3, 6, .6 ) 50% 50% no-repeat;
    overflow: auto;
}

.modal-footer {
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: var(--modal-footer);
    text-align: center;
}

    .modal-footer:after {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 20px;
        display: block;
        background: -moz-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
        background: -webkit-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
        background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
        content: "";
    }

#modalLoading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 200, 200, 200, .8 ) 50% 50% no-repeat; /*url('/Content/Img/loader.gif') */
    overflow: hidden;
    text-align: -webkit-center;
    padding-top: 50px;
    font-weight: bold;
}

.modalDelModal {
    z-index: 3002 !important;
}

.modal-footer-botones {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.modal-dialog-full {
        width: 80% !important;
    }*/

.loaderCons {
    color: #aabbcc !important;
    font-size: small;
}

.msjError, .msjOk, .msjInfo, .msjWarn {
    font-size: 50px !important;
    vertical-align: top;
    line-height: 2;
}

.msjWarn {
    color: var(--orange-light);
}

.msjError {
    color: var(--red-inst);
}

.msjOk {
    color: var(--green-light);
}

.msjInfo {
    color: var(--blue-light);
    line-height: 2;
}
/*Fin Modal*/

.icon-gob {
    background-image: url(https://cdn.digital.gob.cl/@gobdigital-cl/gob.cl/dist/images/icons/gob.svg);
    width: 110px;
    height: 32px;
}

.icon-gob-footer {
    background-image: url("https://cdn.digital.gob.cl/@gobdigital-cl/gob.cl/dist/images/icons/gob-footer.svg");
    width: 110px;
    height: 31px;
    position: absolute;
    bottom: 0;
}

[class*="icon-"] {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
}

/*Inicio Login*/
.login {
    width: 95%;
    margin: 50px auto;
    border: 2px solid var(--second-color);
    border-radius: 3px;
    padding: 20px;
    background: rgba(255,255,255,.2);
}
/*Fin Login*/

/*Inicio Nav*/
.nav-link {
    background-color: var(--neutral) !important;
    color: var(--gray-dark) !important;
    border-color: var(--neutral) var(--neutral) var(--neutral) !important;
}

    .nav-link.active {
        background-color: var(--blue-inst) !important;
        color: var(--white) !important;
        border-color: #dee2e6 #dee2e6 #fff !important;
    }
/*Fin Nav*/
/*Inicio NavBar Menu*/
/*.logo {
    width: 140px !important;
    margin-top: -10px;
}*/
.navbar {
    background-color: var(--blue-fondo) !important;
    color: var(--white) !important;
    min-height: 60px;
}

nav.navbar .logo .logo-title {
    font-size: 16px;
    /*margin-top: 10px;*/
    text-align: center;
}

.navbar-toggler {
    background-color: var(--neutral);
}

navbar-text a, a.dropdown-toggle {
    color: var(--white);
    margin-right: 15px;
}

.dropdown-toggle:hover {
    text-decoration: none;
    background-color: var(--second-color);
}

ul.dropdown-menu {
    background-color: var(--first-color);
    border-color: var(--second-color);
    max-width: 220px;
}

    ul.dropdown-menu li {
        text-align: center;
    }

    ul.dropdown-menu a {
        color: var(--white);
        background-color: var(--first-color);
    }

    ul.dropdown-menu li a:hover {
        text-decoration: none;
        color: var(--white);
        background-color: var(--second-color);
    }

nav .form-inline a {
    color: var(--white);
}

    nav .form-inline a:hover {
        text-decoration: none;
        color: var(--white);
        background-color: var(--second-color);
    }

/*Fin NavBar Menu*/
/*Inicio DataTable*/
.data-table {
    width: 100%;
    color: #000;
}

    .data-table th {
        padding: 10px 5px;
        background: #0168B3;
        color: #fff;
    }

    .data-table tbody tr:nth-child(2n+1) {
        background: #ececec;
    }

    .data-table tbody tr:nth-child(2n) {
        background: #ffffff;
    }

    .data-table tbody tr:hover {
        background: #aec6d3;
        color: #fff !important;
    }

    .data-table tbody tr td {
        padding: 5px;
        font-size: 12px;
    }

    .data-table tbody tr.selected {
        background: #00a19c;
        color: #fff !important;
    }

table.dataTable {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

    table.dataTable .fa {
        font-size: 15px !important;
        /*color: #0168B3 !important;*/
    }


div.dataTables_info {
    color: whitesmoke !important;
    padding-left: 10px;
    font-size: 10px;
}

table.dataTable {
    border-collapse: collapse !important;
}

.paginate_button a {
    text-decoration: none;
}

.pagination li.disabled {
    cursor: not-allowed;
}
/*Fin DataTable*/

/*Inicio Panel*/
.panel.with-nav-tabs .panel-heading {
    padding: 5px 5px 0 5px;
}

.panel.with-nav-tabs .nav-tabs {
    border-bottom: none;
}

.panel.with-nav-tabs .nav-justified {
    margin-bottom: -1px;
}

.panel .panel-body {
    border: 1px solid var(--neutral);
    border-radius: 5px;
    padding: .5rem;
}
/*Fin Panel*/
.btn {
    text-decoration: none;
}

/*INICIO MEDIAS*/
@media (max-width: 575.98px) {
    small {
        font-size: 60%;
    }

    .img-logo {
        width: 60px !important;
    }

    ul.dropdown-menu li {
        text-align: left;
    }

    ul.dropdown-menu a {
        margin-left: 10px;
    }

    div.error {
        left: 0px;
        position: initial;
    }

    .modal-dialog-full {
        max-width: 92% !important;
    }

    .modal-dialog-medio {
        max-width: 80% !important;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
    small {
        font-size: 60%;
    }

    .img-logo {
        width: 60px !important;
    }

    ul.dropdown-menu li {
        text-align: left;
    }

    ul.dropdown-menu a {
        margin-left: 10px;
    }

    div.error {
        left: 0px;
        position: initial;
    }

    .modal-dialog-full {
        max-width: 92% !important;
    }

    .modal-dialog-medio {
        max-width: 80% !important;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
    .login {
        width: 300px;
        margin: 0;
        position: absolute;
        top: 50%;
        left: 100px;
        margin-top: -112px;
    }

    .img-logo {
        width: 120px !important;
    }

    nav.navbar {
        /*margin-top: 20px;*/
        height: 80px;
    }
    /*
    main {
        padding-top: 120px;
        padding-bottom: 40px;
    }
    */
    .modal-dialog-full {
        max-width: 80% !important;
    }

    .modal-dialog-medio {
        max-width: 70% !important;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .login {
        width: 300px;
        margin: 0;
        position: absolute;
        top: 50%;
        left: 100px;
        margin-top: -112px;
    }

    .img-logo {
        width: 120px !important;
    }

    nav.navbar {
        /*margin-top: 20px;*/
        height: 80px;
    }
    /*
    main {
        padding-top: 120px;
        padding-bottom: 40px;
    }
    */
    .modal-dialog-full {
        max-width: 80% !important;
    }

    .modal-dialog-medio {
        max-width: 70% !important;
    }
}
/*FIN MEDIAS*/

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(226,44,44, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-toggler {
    border-color: var(--second-color);
}
/*Checkbox*/
/* Customize the label (the container) */
.cont_chk {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    /*font-size: 22px;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .cont_chk input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.cont_chk:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.cont_chk input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.cont_chk input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.cont_chk .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*btn group*/
.btn-group > .btn-mini {
    font-size: 10.5px;
}

.btn-group > .btn-small {
    font-size: 11.9px;
}

.btn-group > .btn-large {
    font-size: 17.5px;
}

.btn-group > .btn:first-child {
    margin-left: 0;
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
}

.btn-group > .btn:last-child, .btn-group > .dropdown-toggle {
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-right-radius: 4px;
}

.btn-group > .btn.large:first-child {
    margin-left: 0;
    -webkit-border-top-left-radius: 6px;
    -moz-border-radius-topleft: 6px;
    border-top-left-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-bottom-left-radius: 6px;
}

.btn-group > .btn.large:last-child, .btn-group > .large.dropdown-toggle {
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topright: 6px;
    border-top-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    border-bottom-right-radius: 6px;
}

.btn-group > .btn:hover, .btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active {
    z-index: 2;
}
