/*raiz*/
:root {
    --gt-primary: #612232;
    --gt-secondary: #b09a5b;
    --gt-table-bgcolor: #fff;
    --gt-input-border: rgba(97,34,50,0.30);
    --gt-body: #f2f5f7;
    --gt-aplicacion: "";
    --gt-logo: url("https://cdn.pladse.educacionchiapas.gob.mx/image/logo/pladse.png");
    --gt-isotipo: url("https://cdn.pladse.educacionchiapas.gob.mx/image/isotipo/pladse.png");
    --bs-nav-link-font-size: .7rem;
}

.nav{
    --bs-nav-link-color : #808080;
}
.nav-underline {
    --bs-nav-underline-link-active-color: var(--gt-secondary);
}

/*html*/
html {
    font-size: 0.9rem;
}

html {
    position: relative;
    min-height: 100%;
}

/*body*/
body {
    margin: 0;
    background-color: var(--gt-body);
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

header .isotipo {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 4rem;
    width: 15rem;
    transition: width .2s;
}

    header .isotipo > div {
        background-image: var(--gt-logo);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 3rem;
        width: 80%;
        transition: background-image .2s;
    }

.aplicacion-activa::after {
    color: var(--gt-primary);
    content: var(--gt-aplicacion);
    display: none;
}

/*colores de texto*/
.text-gt-primary {
    color: var(--gt-primary);
}

.text-gt-secondary {
    color: var(--gt-secondary);
}

/*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-primary:hover {
        color: #fff;
        background-color: var(--gt-primary);
        box-shadow: 0 0 0 2em rgba(255, 255, 255, 0), inset 6.5em 0 0 0 rgba(0,0,0,0.30);
    }

.btn-gt-secondary {
    color: #fff !important;
    background-color: var(--gt-secondary) !important;
}

    .btn-gt-primary.disabled, .btn-gt-secondary.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* menú horizontal */
header > .gt-menu-horizontal {
    background-color: var(--bs-gray-100);
    height: 4rem;
}

    header > .gt-menu-horizontal.short .isotipo {
        width: 4rem;
        transition: width .2s;
    }

        header > .gt-menu-horizontal.short .isotipo > div {
            background-image: var(--gt-logo);
            transition: background-image .5s;
        }

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(--bs-gray-700);
        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(0,0,0,0.07);
            font-weight: 500;
        }

        header .gt-menu-horizontal-contenido .gt-menu-horizontal-item a.active {
            background-color: var(--gt-primary);
            color: white;
            font-weight: 600;
        }

/*menú vertical*/
.gt-menu-vertical {
    background-color: var(--gt-primary);
    height: calc(100vh - 4rem);
    overflow: auto;
    transition: width .2s;
    width: 15rem;
    z-index: 1;
}

    .gt-menu-vertical > a {
        align-items: center;
        color: white;
        display: block;
        padding: 0.75rem;
        text-decoration: none;
    }

        .gt-menu-vertical > a.active {
            background-color: rgba(255,255,255,0.25) !important;
            color: #fff !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 > a {
        align-items: center;
        color: white;
        display: block;
        font-size: 0.8rem;
        border-left: 1px solid var(--gt-secondary);
        margin-left: 1.5rem;
        padding: 0.5rem;
        text-decoration: none;
    }

        .gt-menu-vertical > div > a.active {
            background-color: rgba(255,255,255,0.25) !important;
            color: #fff !important;
        }

        .gt-menu-vertical > div > a:hover {
            background-color: rgba(255,255,255,0.125);
            color: #fff;
        }

        .gt-menu-vertical > div > a i {
            display: inline-block;
            text-align: center;
            width: 2.25rem;
        }

        .gt-menu-vertical > div > a span, .gt-menu-vertical.short:hover a span {
            opacity: 1;
            white-space: normal;
            transition: all 1s;
        }

    .gt-menu-vertical.short > div > a span {
        opacity: 0;
        white-space: nowrap;
        transition: all 0.2s;
    }

    .gt-menu-vertical.short {
        transition: width .2s;
        width: 4rem;
    }

        .gt-menu-vertical.short .menu-text {
            text-overflow: initial;
        }

        .gt-menu-vertical.short:hover .menu-text {
            text-overflow: ellipsis;
        }

        .gt-menu-vertical.short > div > a {
            margin-left: 0rem;
            transition: margin-left 0.2s;
        }

    .gt-menu-vertical:hover {
        transition: width .5s;
        width: 15rem;
    }

        .gt-menu-vertical:hover > div > a {
            margin-left: 1.5rem;
            transition: margin-left 0.2s;
        }

/*contenido*/
.gt-contenido {
    height: calc(100vh - 4rem);
    width: calc(100vh - 15rem);
}

    .gt-contenido.short {
    }

.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-body .gt-submenu {
        background-color: white;
        height: calc(100vh - 11.8rem);
        overflow: hidden;
        transition: width .2s;
        width: 15rem;
    }

        .gt-contenido-body .gt-submenu:hover {
            overflow: auto;
        }

    .gt-contenido-body.short .gt-submenu {
        transition: width .2s;
        width: 0;
    }

    .gt-contenido-body .gt-submenu a {
        background-color: transparent;
        color: var(--bs-gray-700);
        display: block;
        text-decoration: none;
        padding: .5rem;
    }

        .gt-contenido-body .gt-submenu a:hover {
            background-color: rgba(0,0,0,0.07);
            font-weight: 500;
        }

        .gt-contenido-body .gt-submenu a.activo {
            background-color: var(--gt-secondary);
            color: white;
        }

    .gt-contenido-body .gt-submenu-contenido {
        height: calc(100vh - 11.8rem);
        overflow: auto;
        transition: width .2s;
        width: calc(100% - 15rem);
    }

    .gt-contenido-body.short .gt-submenu-contenido {
        transition: width .2s;
        width: 99.8%;
    }

.gt-contenido-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bs-gray-200);
    height: 3.5rem;
    padding: 0 1.5rem 0 1rem;
}


.card-hover {
    transition: transform 0.3s ease-in-out;
}

    .card-hover:hover {
        transform: translateY(-10px);
    }

.card-decorator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 22px;
    background-color: #B09A5B;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/*tablas*/
table {
    margin-bottom: 0 !important;
}

    table thead th.col-icon-2 {
        width: 8rem;
    }

    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.col-icon a {
        display: inline-block;
        text-decoration: none;
    }

    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);
        }

    table tbody tr.seleccionado > td {
        background-color: var(--bs-gray-200);
    }

/* select2 */
.select2-container .select2-selection--single {
    height: 34px;
}

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: 32px;
        padding-left: 14px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        margin-left: -10px;
        margin-top: 1px;
    }

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--bs-border-color);
    outline: none;
    padding: 8px 12px;
}

.select2-search--dropdown {
    padding: 5px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #888;
    height: 33px;
    margin-right: 27px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--gt-secondary);
    color: white;
}

.select2-dropdown {
    background-color: var(--bs-gray-100);
    border: 1px solid var(--bs-border-color);
}

.select2-selection--multiple {
    max-height: 8rem;
    overflow-y: auto;
}

.select2-container--default .select2-selection--multiple {
    border-color: var(--bs-border-color);
    min-height: 40px;
    overflow: hidden;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: transparent;
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--gt-input-border);
    overflow: auto;
}

.select2-container--default:hover .select2-selection--multiple {
    border-color: transparent;
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--gt-input-border);
    overflow: auto;
}

option:hover {
    background-color: var(--gt-primary);
}

option:focus, option:active, option:checked {
    background-color: var(--gt-secondary);
}


/*switch*/
.form-check-input:checked {
    background-color: var(--gt-primary);
    border-color: var(--gt-primary);
}

.form-check-input-secondary:checked {
    background-color: var(--gt-secondary);
    border-color: var(--gt-secondary);
}

.form-check-input-light:checked {
    background-color: var(--bs-gray-500);
    border-color: var(--bs-gray-500);
}

.form-check-input-danger:checked {
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
}

.form-check-input-success:checked {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

.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: rgba(0,0,0,0.1);
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(0,0,0,0.5);
    }

/*render*/
@media screen and (max-width: 1440px) {
}

@media screen and (max-width: 1024px) {
}

fieldset > legend > small {
    color: darkblue !important;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    body {
        overflow: auto;
        /*font-size: 16px;*/
    }

    header > .gt-menu-horizontal .isotipo, header > .gt-menu-horizontal.short .isotipo {
        width: 4rem;
    }

        header > .gt-menu-horizontal .isotipo > div, header > .gt-menu-horizontal.short .isotipo > div {
            background-image: var(--gt-isotipo);
        }

    .gt-contenido {
        width: calc(100% - 15rem);
    }

    .gt-contenido-body .gt-submenu {
        position: absolute;
        top: 8rem;
        width: 50%;
        z-index: 2;
    }

    .gt-contenido-body .gt-submenu-contenido {
        width: 100%;
    }
}

/*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: 8rem;
    }

    .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;
    }

    .gt-contenido-body .gt-submenu {
        transition: width .2s;
        width: 100%;
    }

    /*contenido*/
    .gt-contenido, .gt-contenido-header-body {
        margin: 0;
    }

    .gt-contenido-header {
        position: sticky;
        top: 4rem;
        z-index: 9;
    }

    .gt-contenido-body {
        height: initial;
        margin: 4.2rem 0.2rem 0.4rem;
        overflow: auto;
    }

    .gt-contenido.short {
        margin-left: 0;
        position: relative;
    }


    /* menu vertical*/
    .gt-menu-vertical {
        bottom: 0;
        margin: 0;
        position: fixed;
        top: 3.5em;
        transition: width .2s;
        width: 100% !important;
        z-index:999;
    }

        .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;
        }

    .gt-contenido-body .gt-submenu {
        width: 100%;
    }

    .gt-contenido-body.short .gt-submenu {
        width: 0;
    }

    .gt-contenido-body .gt-submenu-contenido {
        width: 100%;
    }
}
