/*raiz*/
:root {
    --gt-primary: #002E51;
    --gt-primary-dark: #001928;
    --gt-primary-light: #004F7F;
    --gt-secondary: #1CB799;
    --gt-secondary-dark: #229680;
    --gt-tertiary: #E9E219;
    --gt-tertiary-dark: #E8D41A;
    --gt-white: #fff;
    --gt-light: #f1f5f7;
    --gt-gray: #505f6a;
    --gt-muted: #929292;
    --gt-transparent-light: rgba(255, 255, 255, 0.7);
    --gt-transparent-dark: rgba(0, 0, 0, 0.7);
    --gt-bg-transparent-light: rgba(255, 255, 255, 0.1);
    --gt-bg-transparent-dark: rgba(0, 0, 0, 0.05);
    --gt-bg-transparent-account: rgba(1, 42, 86, 0.27);
    --gt-bg-transparent-account-dark: rgba(5, 42, 86, 0.5);
    --gt-input-border: rgba(28,183,153,0.54);
    --gt-body: #f2f5f7;
}

/*html*/
html {
    position: relative;
    min-height: 100%;
}

/*body*/
body {
    margin: 0;
    background-color: var(--gt-body);
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

    body.home {
        --gt-aplicacion: "INICIO";
    }

    body.configuraciones {
        --gt-aplicacion: "CONFIGURACIONES";
    }

    body.consultas {
        --gt-aplicacion: "CONSULTAS";
    }

header .isotipo {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 4rem;
    width: 4rem;
}

    header .isotipo > div {
        background-image: url(../image/logos/GobTeks/gt_icon_pos.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 3rem;
        width: 80%;
    }

.aplicacion-activa::after {
    color: var(--gt-tertiary);
    content: var(--gt-aplicacion);
    display: none;
}

/*colores de texto*/
.text-gt-primary {
    color: var(--gt-primary)!important;
}

.text-gt-secondary {
    color: var(--gt-secondary) !important;
}

.text-gt-tertiary {
    color: var(--gt-tertiary) !important;
}

.form-control {
    font-weight: 500;
}

    /*botones*/
    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--gt-input-border);
    }

.btn-gt-primary {
    color: #fff !important;
    background-color: var(--gt-primary) !important;
    transition: box-shadow .7s;
}

.btn-gt-secondary {
    color: #fff !important;
    background-color: var(--gt-secondary) !important;
    transition: box-shadow .7s;
}

    .btn-gt-primary:hover, .btn-gt-secondary:hover {
        color: #fff;
        background-color: var(--gt-secondary) !important;
        -webkit-animation: pulsar 1s;
        animation: pulsar 1s;
        box-shadow: 0 0 0 1em rgba(255, 255, 255, 0);
    }

@-webkit-keyframes pulsar {
    0% {
        box-shadow: 0 0 0 0 var(--gt-primary);
    }
}

@keyframes pulsar {
    0% {
        box-shadow: 0 0 0 0 var(--gt-secondary);
    }
}

.btn-gt-primary.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* menú horizontal */
header > .gt-menu-horizontal {
    background-color: var(--gt-primary);
    height: 4rem;
}

header .gt-menu-horizontal-contenido {
    align-items: center;
    border-bottom: 1px solid var(--gt-primary);
    display: flex;
    height: 4rem;
    justify-content: space-between;
}

    header .gt-menu-horizontal-contenido .gt-menu-horizontal-item a {
        align-items: center;
        color: var(--gt-secondary);
        display: flex;
        justify-content: center;
        height: 4rem;
        padding: 0 0.75rem;
        text-decoration: none;
    }

        header .gt-menu-horizontal-contenido .gt-menu-horizontal-item a:hover {
            background-color: rgba(255,255,255,0.1);
            color: var(--gt-tertiary);
            font-weight: 500;
        }

        header .gt-menu-horizontal-contenido .gt-menu-horizontal-item a.active {
            background-color: var(--gt-secondary);
            color: white;
            font-weight: 600;
        }

.gt-bgcolor-gradient {
     background: url(../image/background/bg_degradado_gobteks.jpg); 
    background-repeat: no-repeat;
    background-size: cover;
}

.gt-card:hover {
    box-shadow: rgb(76 78 100 / 22%) 0px 2px 10px 0px;
}

body {
    background-color: var(--gt-light);
    font-family: "Nunito Sans", sans-serif;
}

.gt-icon-circle {
    align-items: center;
    background-color: transparent;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    height: 2rem;
    width: 2rem;
}

    .gt-icon-circle:hover, .gt-icon-circle:focus {
        background-color: var(--gt-bg-transparent-dark);
    }

/*menú vertical*/
.gt-menu-vertical {
    background-color: var(--gt-primary);
    height: calc(100vh - 4rem);
    position: absolute;
    transition: width .5s;
    width: 15rem;
    z-index: 1;
}

    .gt-menu-vertical > a {
        align-items: center;
        color: var(--gt-secondary);
        display: block;
        padding: 0.75rem;
        text-decoration: none;
        white-space: nowrap;
    }

        .gt-menu-vertical > a.active {
            background-color: rgba(255,255,255,0.12) !important;
            color: var(--gt-tertiary) !important;
        }

        .gt-menu-vertical > a:hover {
            background-color: rgba(255,255,255,0.125);
            color: #fff;
        }

        .gt-menu-vertical > a i {
            display: inline-block;
            text-align: center;
            width: 2.25rem;
        }

        .gt-menu-vertical > a span, .gt-menu-vertical.short:hover a span {
            display: inline-block;
        }

    .gt-menu-vertical.short > a span {
        display: none;
    }

    .gt-menu-vertical > div {
        text-align: center;
    }

    .gt-menu-vertical.short {
        transition: width .5s;
        width: 4rem;
    }

    .gt-menu-vertical:hover {
        transition: width .5s;
        width: 15rem;
    }

/*contenido*/
.gt-contenido {
    height: calc(100vh - 4rem);
    margin-left: 15rem;
    transition: margin-left .5s;
}

    .gt-contenido.short {
        margin-left: 4rem;
        transition: margin-left .5s;
    }

.gt-contenido-header-body {
    box-shadow: 0px 0px 16px 0px #bcbcbc;
    margin: 0.4rem;
}

.gt-contenido-header {
    background-color: var(--bs-gray-200);
    border-top: 1px solid var(--bs-boder-color);
    border-left: 1px solid var(--bs-boder-color);
    border-right: 1px solid var(--bs-boder-color);
    font-weight: 700;
    height: 3.5rem;
    padding: 0.5rem 1rem;
}

.gt-contenido-body {
    height: calc(100vh - 11.8rem);
    overflow: auto;
}

.gt-contenido-footer {
    background-color: var(--bs-gray-200);
    height: 3.5rem;
}

/*tablas*/
table {
    margin-bottom: 0 !important;
}

    table thead th.col-icon-2 {
        width: 10rem;
    }

    table tbody tr {
        background-color: var(--gt-table-bgcolor);
    }

        table tbody tr.active {
            background-color: var(--bs-gray-200);
            --bs-table-bg: var(--bs-gray-200);
        }

    table tbody td {
        font-size:1rem;
    }

    table tbody td.col-icon a {
        display: inline-block;
    }

    table tbody td.col-icon i {
        align-items: center;
        background-color: transparent;
        display: flex;
        justify-content: center;
        border-radius: 50%;
        height: 2rem;
        width: 2rem;
    }

        table tbody td.col-icon i:hover, table tbody td.col-icon i:focus {
            background-color: rgba(0,0,0,0.07);
        }
/* select2 */
option:hover {
    background-color: var(--gt-primary);
}

option:focus, option:active, option:checked {
    background-color: var(--bs-gray-200);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--gt-secondary);
    color: white;
}

.select2-container .select2-selection--single {
    height: 33px;
}

select2-container--focus:focus-visible {
    outline: #737373 auto 1px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 33px;
        padding-left: 14px;
        font-weight: 500;
        font-size: 0.9rem;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        margin-left: -10px;
        margin-top: 0px;
    }

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #737373;
    outline: none;
    padding: 8px 12px;
}

.select2-search--dropdown {
    padding: 5px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #888;
    height: 32px;
    margin-right: 27px;
}

/*switch*/
.form-check-input:checked {
    background-color: var(--gt-secondary);
    border-color: var(--gt-secondary);
}

table tbody td .form-check-input{
    border-color:var(--bs-gray-600);
    height:1.75rem;
    width:1.75rem;
}

.form-check-input:focus, .form-control:focus {
    border-color: white;
}

/*tooltip bootstrap*/
.tooltip-inner {
    background-color: var(--gt-primary);
    color: #fff;
}

.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
    border-top-color: var(--gt-primary);
}

.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
    border-right-color: var(--gt-primary);
}

.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
    border-bottom-color: var(--gt-primary);
}

.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
    border-left-color: var(--gt-primary);
}

/*ScrollBar*/
::-webkit-scrollbar {
    border-radius: 50%;
    height: 8px;
    width: 5px;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--gt-primary);
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(0,0,0,0.5);
    }

/*render*/
@media screen and (max-width: 1440px) {
}

@media screen and (max-width: 1024px) {
    body {
        font-size: 0.9rem;
    }
    header .gt-menu-horizontal-contenido .gt-menu-horizontal-item span {
        display: block;
        font-size: 0.5rem;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 1rem;
    }
}

/*Movil Horizontal*/
@media screen and (max-width: 640px) {
}

/*Movil vertical*/
@media screen and (max-width: 426px) {
    
    /*header navbar */
    header {
        left: 0;
        position: fixed;
        right: 0;
        z-index: 1;
    }

    table thead th.col-icon-2 {
        width: 10rem;
    }

    .aplicacion-activa::after {
        display: inline;
    }

    /*encabezado*/
    .gt-menu-horizontal-item-app {
        background-color: var(--bs-gray-200);
        bottom: 0;
        display: block !important;
        left: 0;
        position: fixed;
        right: 0;
        top: 4rem;
    }

        .gt-menu-horizontal-item-app.short {
            display: none !important;
        }

        .gt-menu-horizontal-item-app a {
            height: 3.5rem !important;
            justify-content: start !important;
            padding: 0rem 2rem !important;
        }

            .gt-menu-horizontal-item-app a span {
                display: inline !important;
                font-size: initial !important;
                margin-left: 0.5rem;
            }

    /* menú horizontal */
    header .gt-menu-horizontal-contenido .gt-menu-horizontal-item span {
        display: none;
    }

    /* menu vertical*/
    .gt-menu-vertical {
        bottom: 0;
        margin: 0;
        position: fixed;
        top: 4.5em;
        transition: width .2s;
        width: 100% !important;
    }

        .gt-menu-vertical.short a {
            padding: 0;
        }

            .gt-menu-vertical.short a i, .gt-menu-vertical.short a span {
                display: none;
            }

        .gt-menu-vertical.short {
            transition: width .2s;
            width: 0 !important;
        }

    /*contenido*/
    .gt-contenido, .gt-contenido-header-body {
        margin: 0;
    }

    .gt-contenido-header {
        position: sticky;
        top: 4rem;
    }

    .gt-contenido-body {
        height: initial;
        margin: 4.2rem 0.2rem 0.4rem;
        overflow: auto;
    }

    .gt-contenido.short {
        margin-left: 0;
        position: relative;
    }
}
