/**
----------------------------------------------------------------------------------------
-------------                Fecha: 07/Mar/2022                       ------------------
----------------------------------------------------------------------------------------
**/

/**
--  Tabs
**/
.xmera-tabs {
    background: #fefefe;
    background: -moz-linear-gradient(top,  #fefefe 0%, #ccc 100%);
    background: -webkit-linear-gradient(top,  #fefefe 0%,#ccc 100%);
    background: linear-gradient(to bottom,  #fefefe 0%,#ccc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#ccc',GradientType=0 );
    display: flex;
    padding: .5rem 0 0 0;
    width: 100%;
}
.xmera-tab {
    background: #fafafa;
    background: -moz-linear-gradient(top,  #fafafa 0%, #cccccc 100%);
    background: -webkit-linear-gradient(top,  #fafafa 0%,#cccccc 100%);
    background: linear-gradient(to bottom,  #fafafa 0%,#cccccc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#cccccc',GradientType=0 );
    border-radius: 6px 6px 0 0;
    color: #333;
    font-weight: 600;
    margin: 0 .3rem;
    padding: .6rem .5rem;
    text-align: center;
}
.xmera-tab.active {
    background: #1e5799;
    background: -moz-linear-gradient(top,  #1e5799 0%, #003876 100%);
    background: -webkit-linear-gradient(top,  #1e5799 0%,#003876 100%);
    background: linear-gradient(to bottom,  #1e5799 0%,#003876 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#003876',GradientType=0 );
    color: #fff;
}
.xmera-tab .badge.rounded-pill.bg-warning.text-dark {
    background: #fceabb;
    background: -moz-linear-gradient(top,  #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%);
    background: -webkit-linear-gradient(top,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%);
    background: linear-gradient(to bottom,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=0 );
    border: 1px solid #f79621;
}
.nav-tabs.xmera-tabs-02 .nav-link:hover {
    border-left: none;
    border-right: none;
    border-top: none;
}
.nav-tabs.xmera-tabs-02 .nav-item.show .nav-link,
.nav-tabs.xmera-tabs-02 .nav-link.active,
.nav-tabs.xmera-tabs-02 .nav-link.active:hover {
    border-left: 1px solid #003876;
    border-right: 1px solid #003876;
    border-top: 1px solid #003876;
    border-radius: 1px;
    color: #e52229;
    font-weight: 600;
}
.sidebar_content .nav.nav-tabs.xmera-tabs-02 .nav-item .nav-link.active i,
.xmera-tabs-02 .nav-link.active i {
    color: #e52229;
}
.nav-tabs.xmera-tabs-02 {
    border-bottom: 1px solid #003876;
}
.xmera-text-description-dashboard {
    color: #e52229;
}

/**
--  Tabs
**/
.nav-tabs.xmera-tabs {
    background: #fefefe;
    background: -moz-linear-gradient(top,  #fefefe 0%, #ccc 100%);
    background: -webkit-linear-gradient(top,  #fefefe 0%,#ccc 100%);
    background: linear-gradient(to bottom,  #fefefe 0%,#ccc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#ccc',GradientType=0 );
    display: flex;
    padding: .5rem 0 0 0;
    width: 100%;
}
.nav-tabs.xmera-tabs > .nav-item > .nav-link {
    background: #fafafa;
    background: -moz-linear-gradient(top,  #fafafa 0%, #cccccc 100%);
    background: -webkit-linear-gradient(top,  #fafafa 0%,#cccccc 100%);
    background: linear-gradient(to bottom,  #fafafa 0%,#cccccc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#cccccc',GradientType=0 );
    border-bottom: none;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
    border-top: 1px solid #dfdfdf;
    border-radius: 6px 6px 0 0;
    color: #333;
    font-weight: 600;
    margin: 0 .1rem;
    padding: .6rem .5rem;
    text-align: center;
}
.nav-tabs.xmera-tabs > .nav-item > .nav-link.active {
    background: #1e5799;
    background: -moz-linear-gradient(top,  #1e5799 0%, #003876 100%);
    background: -webkit-linear-gradient(top,  #1e5799 0%,#003876 100%);
    background: linear-gradient(to bottom,  #1e5799 0%,#003876 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#003876',GradientType=0 );
    color: #fff;
}
.nav-tabs.xmera-tabs > .nav-item > .nav-link > .badge {
    margin-right: .5rem;
}

/**
--  Botones
**/
.btn-xmera-grid {
    margin-right: .5rem;
    padding: .5rem .5rem;
}
.btn.btn-sm.btn-xmera-grid i.flaticon-ver {
    font-size: 1.5rem;
}

/**
--  Formularios
**/
.xmera-checkbox-default > input
{
    appearance: auto;
}

/**
--  Documentos
**/
.xmera-diplay-doc {
    background: #efefef;
    border-radius: 6px;
    padding: .5rem;
}

/**
--  Utilidades
**/
.mt-button {
    margin-top: 28px;
}

/**
--  Dashboard KPI
**/
.xmera-dashboard-kpi
{
    background: #ffffff;
    background: url(../images/chart-dashboard.png) no-repeat center right, -moz-linear-gradient(top,  #ffffff 0%, #efefef 100%);
    background: url(../images/chart-dashboard.png) no-repeat center right, -webkit-linear-gradient(top,  #ffffff 0%,#efefef 100%);
    background: url(../images/chart-dashboard.png) no-repeat center right, linear-gradient(to bottom,  #ffffff 0%,#efefef 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef',GradientType=0 );
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0px 2px 3px #aaa;
    display: block;
    margin-bottom: .5rem;
    padding: .5rem;
}
.xmera-dashboard-kpi:hover,
.xmera-dashboard-kpi:focus
{
    background: #deefff;
    background: url(../images/chart-dashboard2.png) no-repeat center right, -moz-linear-gradient(top,  #deefff 0%, #98bede 100%);
    background: url(../images/chart-dashboard2.png) no-repeat center right, -webkit-linear-gradient(top,  #deefff 0%,#98bede 100%);
    background: url(../images/chart-dashboard2.png) no-repeat center right, linear-gradient(to bottom,  #deefff 0%,#98bede 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#deefff', endColorstr='#98bede',GradientType=0 );
}
.xmera-dashboard-kpi:hover > h5,
.xmera-dashboard-kpi:focus > h5,
.xmera-dashboard-kpi:hover > h1,
.xmera-dashboard-kpi:focus > h1
{
    color: #333;
}

.xmera-dashboard-kpi > h1
{
    font-weight: 600;
    text-align: left;
}

/**
--  Modales theme
**/
.modal-xmera-big2 {
    max-width: initial;
    width: 95%;
}
.modal-xmera-big {
    max-width: initial;
    width: 70%;
}

.xmera-icon-title {
    display: inline-block;
    margin-right: .5rem;
    max-width: 39px;
}
.xmera-icon-navbar {
    max-width: 52px;
}
.xmera-icon-navbar > img {
    filter: brightness(0) invert(1);
}
.btn.btn-clean.focus:not(.btn-text) .xmera-icon-navbar > img,
.btn.btn-clean:focus:not(.btn-text) .xmera-icon-navbar > img,
.btn.btn-clean:hover:not(.btn-text):not(:disabled):not(.disabled) .xmera-icon-navbar > img,
.btn.btn-clean.active .xmera-icon-navbar > img {
    filter: none;
}
/**
-- Tables
**/
.card.card-custom-with-header >.card-header { background: #003876; min-height: 40px !important; }


.xmera-title-bar {
    background: #003876;
    color: #fff;
}

.xmera-table-with-border > tbody > tr {
    border-bottom: 1px solid #003876;
    border-top: 1px solid #003876;
}
.xmera-table-with-border > tbody > tr > td {
    border-top: 1px solid #003876;
}
.xmera-table-with-border > tbody > tr > td {
    border-left: 1px solid #003876;
}
.xmera-table-with-border > tbody > tr > td:last-child {
    border-right: 1px solid #003876;
}
.xmera-multi-dropdown-full-name-item .multiselect-dropdown .dropdown-btn .selected-item-container .selected-item {
    white-space: normal !important;
    max-width: none !important;
}

/**
-----------------------------------------------------------------------
-----------------------------------------------------------------------
**/
.table-nomina > thead > tr > th {
    font-size: 0.9rem;
}
.table-nomina > tbody > tr > td {
    font-size: 12px;
}

/**
-----------------------------------------------------------------------
--------------                 Medias Query            ----------------
-----------------------------------------------------------------------
**/
@media screen and (min-width:1025px) and (max-width:1200px) {
}
@media screen and (min-width:991px) and (max-width:1024px) {
    .xmera-table > thead > tr > th {
        display: none;
    }
    .xmera-table > tbody > tr > td
    {
        display: block;
        float: left;
        width: 100%;
    }
}
@media screen and (min-width:768px) and (max-width:992px)
{
    .xmera-table > thead > tr > th {
        display: none;
    }
    .xmera-table > tbody > tr > td
    {
        display: block;
        width: 100%;
    }
}
@media screen and (min-width:321px) and (max-width:767px)
{
    .xmera-table > thead > tr > th {
        display: none;
    }
    .xmera-table > tbody > tr > td
    {
        display: block;
        width: 100%;
    }
}
@media screen and (max-width:320px)
{
    .xmera-table > thead > tr > th {
        display: none;
    }
    .xmera-table > tbody > tr > td
    {
        display: block;
        width: 100%;
    }
}

.card-custom-dashboard-xmera {
    min-width: 900px;
}
.card-custom-dashboard-xmera > .card-body {
    overflow-x: auto;
}
.table-responsive-sigei {
    position: relative;
}
.table-responsive-sigei > table > thead {
    position: sticky;
    top: 0;
    z-index: 10;
}
.table-responsive-sigei > table > thead > tr > th {
    cursor: pointer;
    position: relative;
}
.table-responsive-sigei > table > thead > tr > th::after {
    bottom: 25%;
    /* content: "\21C5"; */
    content: "";
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.2em;
    position: absolute;
    right: -6px;
}
.table-responsive-sigei > table > thead > tr > th.sort-column {
    background: #002f64
}
.table-responsive-sigei > table > thead > tr > th.sort-column::after {
    color: rgba(5, 243, 64, 0.55);
    font-size: 1.5em;
}
.table-responsive-sigei > table > thead > tr > th:last-child:after {
    content: "";
}

@media screen and (min-width:1921px) and (max-width:3000px)
{
    .table-responsive-sigei {
        max-height: 520px;
        overflow-y: auto;
    }
}
@media screen and (min-width:1401px) and (max-width:1920px)
{
    .table-responsive-sigei {
        max-height: 520px;
        overflow-y: auto;
    }
}
@media screen and (min-width:1025px) and (max-width:1400px)
{
    .table-responsive-sigei {
        max-height: 420px;
        overflow-y: auto;
    }
}
@media screen and (min-width:768px) and (max-width:1024px)
{
    .table-responsive-sigei {
        max-height: 380px;
        overflow-y: auto;
    }
}
@media screen and (min-width:321px) and (max-width:767px)
{
    .table-responsive-sigei {
        max-height: 460px;
    }
}
@media screen and (max-width:320px)
{
    .table-responsive-sigei {
        max-height: 460px;
    }
}

.question-number {
    align-items: center;
    display: flex;
    background: #fff;
    border: 2px solid #003876;
    border-radius: 50% 50%;
    justify-content: center;
    color: #003876;
    font-weight: 600;
    margin-right: 10px;
    height: 25px;
    width: 25px;
    text-align: center;
}

.min-height-300px {
    min-height: 300px;
}

.uppy-DashboardContent-bar {
    z-index: 90!important;
}

.chatSigei {
    background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 100%);
    box-shadow: 0 2px 6px #d5d5d5;
    display: flex;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.chatSigeiContacts {
    background: #fff;
    border-radius: 8px 0 0 8px;
    flex: 0 0 25%;
    border-right: 1px solid #f3f3f3;
}
.chatSigeiChat {
    flex: 0 0 75%;
    position: relative;
}
.chat-photo {
    border-radius: 50% 50%;
    height: 60px;
    width: 60px;
}
.chatSigeiHeader {
    background: linear-gradient(90deg, #003876 23%, #003876 23%, #1e5799 100%);;
    border-radius: 0 8px 0 0;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}
.chatSigeiFooter {
    background: #e5e5e5;
    border-radius: 0 8px 0 0;
    left: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
}
.chatSigeiBody {
    display: block;
    margin: 10px auto 80px auto;
    max-height: calc(655px - 80px);
    position: relative;
    overflow-y: auto;
    width: 99%;
    min-height: 550px;
}
.chatSigeiMessage {
    background: #fdfaee;
    border-radius: 8px;
    box-shadow: 1px 1px 4px #aaa;
    display: block;
    margin: 1rem;
    padding: 1rem;
    position: relative;
    width: 50%;
}
.message-type-recipient {
    margin-left: 1rem;
    margin-right: auto;
}
.message-type-sender {
    margin-left: auto;
    margin-right: 1rem;
}
.text-chat-user {
    font-size: 0.80rem;
    color: #999;
    margin-top: .5rem;
}
.message-type-sender .text-chat-user {
    text-align: right;
}
.message-type-recipient .text-chat-user {
    text-align: left;
}
.draggan-drop-file {
    align-items: center;
    justify-content: center;
    display: flex;
    background: #fceabb;
    border: 2px dashed #f8b500;
    border-radius: 8px;
    height: 65px;
}

@keyframes shaking-bell {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-15deg); }
    100% { transform: rotate(0deg); }
}
.fa-shake {
    animation: shaking-bell;
    animation-duration: 0.3s;
    animation-iteration-count: 100;
}

.chatSigeiBack {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 1rem 2rem;
}

select.form-control
{
    -moz-appearance: menulist !important;
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
}

.checkbox-sendEmail-chatSigei
{
    background: #003876 !important;
    border-radius: 0 50% 50% 0;
    height: 27px;
    left: 43px;
    padding-left: 6px;
    padding-bottom: 3px;
    padding-top: 0px;
    position: absolute;
    top: 18px;
    width: 30px;
    z-index: 100;
}