@font-face {
    font-family: "Advanced";
    src: url(../fonts/Advanced.ttf), local("Advanced.ttf");
}

*::selection {
    background-color: #41658a;
    color: white;
}

body {
    color: rgb(51, 51, 0);
}

.h4, h4, .display-4 {
    font-family: Calibri, sans-serif;
    font-weight: bold;
    font-style: italic;
}

.colorAdvSoftware {
    color: #023366;
}

.advSoftware {
    font-family: "Advanced", Calibri, sans-serif;
    color: #023366;
}

p .advSoftware {
    font: 18px "Advanced", Calibri, sans-serif;
}

.bckcolorCorporativo {
    background-color: #023366 !important;
    color: #f8f9fde0 !important;
}

#ex1Slider .slider-selection {
    background: #BABABA;
}

.recuadro {
    background-color: #EFEFFB;
}

.btnHide {
    border: 2px solid rgba(0,0,0,.03);
}

.activ {
    border: 2px solid rgb(255, 153, 0);
}

#sidebar .max a .sidebar-header img {
    max-width: 100%;
    height: auto;
}

a {
    color: #0556ad;
}

iframe {
    width: 100%;
    height: 66px;
    border-style: none;
}

.charts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.acordion {
    background-color: #4382c3;
    color: #f3f4f5;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.4s;
}

    .active, .acordion:hover {
        background-color: #023366;
    }

.panel {
    overflow: hidden;
    display: none;
}

/*************************************
**                                  **
**              FORM                **
**                                  **
*************************************/
.text-muted {
    text-align: right;
}

.form-select {
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    vertical-align: middle;
    background-color: #fff;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


/*************************************
**                                  **
**              NAV                 **
**                                  **
*************************************/
.navbar:first-of-type {
    display: flex;
    justify-content: space-between;
    background-color: #023366 !important;
    height: 45px;
    position: sticky;
    top: 0;
    z-index: 25;
}

.navbar-dark .navbar-nav .nav-link {
    color: #f8f9fde0;
}


/*************************************
**                                  **
**         BARRA LATERAL            **
**                                  **
*************************************/
a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar:nth-of-type(2) {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

i, span {
    display: inline-block;
}

/*************************************
**                                  **
**             SIDEBAR              **
**                                  **
*************************************/

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    width: 250px;
    max-width: 250px;
    min-width: 250px;
    background-color: #023366;
    color: #fff;
    transition: all 0.3s;
    overflow: hidden;
}

#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

#sidebar.active .sidebar-header h3,
#sidebar.active .CTAs {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: grid;
}

#sidebar.active ul li a {
    padding: 12px 10px;
    text-align: center;
    font-size: 0.85em;
    display: grid;
    justify-items: center;
}

#sidebar.active ul li a i {
    margin-right: 0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar .sidebar-header {
    padding: 20px;
    text-align: center;
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar ul.components:first-of-type {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul.components:not(:first-of-type) {
    padding-bottom: 20px;
    border-bottom: 1px solid #47748b;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    text-align: left;
}

#sidebar .max ul li a {
    display: grid;
    column-gap: 10px;
    grid-template-columns: 22px 1fr;
    align-items: center;
}

#sidebar ul li a:hover {
    background: #155394;
}

#sidebar ul li a i {
    margin-right: 10px;
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: #fff;
    background: #175aa0;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #286db5;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/*************************************
**                                  **
**             CONTENT              **
**                                  **
*************************************/

#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
}

.advbtn-img-refresh {
    background-image: url(../images/varias/refresh_3_Azul.png);
    background-repeat: no-repeat;
    background-size: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: relative;
    float: right;
    border: none;
    margin-right: 5px;
}

.webGrid-uploadbtn {
    background-image: url(../images/varias/upload.png);
    background-repeat: no-repeat;
    background-size: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: relative;
    float: left;
}

.webGrid-viewbtn {
    background-image: url(../images/varias/view.png);
    background-repeat: no-repeat;
    background-size: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: relative;
    float: left;
}

.webGrid-editbtn {
    background-image: url(../images/varias/edit.png);
    background-repeat: no-repeat;
    background-size: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: relative;
    float: left;
}

.webGrid-asistencia-no {
    background-image: url("../images/varias/delete.png");
    background-repeat: no-repeat;
    background-size: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: relative;
    float: left;
}

.webGrid-solicitud-info {
    background-image: url(../images/varias/sign-info.png);
    background-repeat: no-repeat;
    background-size: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: relative;
    float: left;
}

.webGrid-warn {
    background-image: url("../images/varias/warn.png");
    background-repeat: no-repeat;
    background-size: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: relative;
    float: left;
}

.webGrid-link-appareance {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

.webGrid-uploadbtn {
    background-image: url(../images/varias/upload.png);
    background-repeat: no-repeat;
    background-size: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: relative;
    float: left;
}

.webGrid-morebtn {
    background-image: url(../images/varias/More.png);
    background-repeat: no-repeat;
    background-size: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: relative;
    float: left;
}

.ui-button.ui-state-active:hover {
    border: 1px solid #5167ad !important;
    background: #3b76b1 !important;
}

/*************************************
**                                  **
**              CUADROS             **
**                                  **
**************************************/
.tilerow {
    display: flex;
    flex-wrap: wrap;
}

.tilerow a {
    margin: 0 15px;
    margin-bottom: 15px;
    width: min-content;
}

.tilerow a:hover {
    background-color: #e2e2e2;
    border-radius: 13px;
}

.tilerow a .description {
    padding: 10px;
    padding-top: 2px;
}

.one {
    width: 259px;
    height: 95px;
    border-radius: 13px;
}

.tile {
    -webkit-perspective: 0;
    -webkit-transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0.2s;
    margin-bottom: 5px;
    text-align: center;
    padding: 5px;
    opacity: 1;
}

.tile_desc {
    font-weight: 500;
    text-align: center;
}

.tile-button-image {
    height: 80px;
}

/*************************************
**                                  **
**          MEDIAQUERIES            **
**                                  **
*************************************/

@media (max-width: 950px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }

    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

    #sidebar.active {
        margin-left: 0 !important;
    }

    #sidebar .sidebar-header h3,
    #sidebar .CTAs {
        display: none;
    }

    #sidebar .sidebar-header strong {
        display: block;
    }

    #sidebar ul li a {
        padding: 20px 10px;
    }

    #sidebar ul li a span {
        font-size: 0.85em;
    }

    #sidebar ul li a i {
        margin-right: 0;
        display: block;
    }

    #sidebar ul ul a {
        padding: 10px !important;
    }

    #sidebar ul li a i {
        font-size: 1.3em;
    }

    #sidebar {
        margin-left: 0;
    }

    .max, #user {
        position: relative !important;
    }
}
