/**
----------------------------------------------------------------------------------------
-------------                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;
}

/**
-----------------------------------------------------------------------
--------------                 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%;
    }
    li.nav-item.mb-5 > .d-des-none {
        display: none;
    }
}
@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%;
    }
    li.nav-item.mb-5 > .d-des-none {
        display: none;
    }
}
@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%;
    }
    li.nav-item.mb-5 > .d-des-none {
        display: none;
    }
}
@media screen and (max-width:320px)
{
    .xmera-table > thead > tr > th {
        display: none;
    }
    .xmera-table > tbody > tr > td
    {
        display: block;
        width: 100%;
    }
    li.nav-item.mb-5 > .d-des-none {
        display: none;
    }
}

.accordion-xmera > .accordion-item > .accordion-header > button {
    background: #003876;
    color: #fff;
    font-size: .85em;
}
.accordion-xmera > .accordion-item > .accordion-header > button > .fa
{
    display: inline-block;
    margin-right: .5rem;
}
input[type="date"]:before {
    color: transparent;
    background: none;
    display: block;
    font-family: 'Font Awesome 5 Free';
    content: '\f073';
    width: 20px;
    height: 20px;
    position: absolute;
    top: 6px;
    right: 6px;
    color: rgb(223, 8, 8);
    font-size: 20px;
  }
  input[type="date"] {
    position: relative;
    padding: 10px;
  }
  input[type="date"]::-webkit-calendar-picker-indicator {
    color: transparent;
    background: none;
    z-index: 1;
  }

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,
.bs-tooltip-top .tooltip-arrow::before {
    border-top-color:rgb(223, 8, 8);
}
.bs-tooltip-top .tooltip-inner {
    padding: .5rem 1rem !important;
}

.bs-tooltip-auto[x-placement^=top] .arrow,
.bs-tooltip-top .arrow {
    bottom: 5px;
}

.card-dashboard-xmera {
    border: 1px solid #003876;
}
.card-dashboard-xmera > .card-body {
    padding: 5px;
    padding-left: 70px;
    position: relative;
}
.card-dashboard-xmera > .card-body > .flat-icon {
    color: #003876;
    left: 15px;
    position: absolute;
    top: 5px;
}

/**
---------------------------------------------------------------------
-----------------        table responsive           -----------------
---------------------------------------------------------------------
**/
.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: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;
    }
}

.export-as-pdf {
    p {
        line-height: 1.5;
    }

    .back-header {
        background: #0032E2;
        height: 230px;
        left: -2px;
        top: -125px;
        position: absolute;
        width: 110%;
        transform: rotate(-.5deg);
        -moz-transform: rotate(-.5deg);
        -webkit-transform: rotate(-.5deg);
        z-index: -1;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .report-content {
        margin: 0 auto 0 3%;
        width: 87%;
    }

    .report-content-full-with {
        margin: 0 auto;
        width: 100%;
    }

    .page-v-auto {
        width: 11in;
    }

    /* .page-v {
        height: 13.75in;
        width: 10.23in;
    }
    .page-h {
        height: 10.23in;
        width: 13.75in;
    }

    .page-h-auto {
        width: 13.75in;
    } */

    .mb-0 {
        margin-bottom: 0;
    }

    .mt-0 {
        margin-top: 0;
    }

    .mb-1 {
        margin-bottom: 0.25rem;
    }

    .mt-1 {
        margin-top: 0.25rem;
    }

    .mb-2 {
        margin-bottom: 0.5rem;
    }

    .mt-2 {
        margin-top: 0.5rem;
    }

    .mb-3 {
        margin-bottom: 1rem;
    }

    .mt-3 {
        margin-top: 1rem;
    }

    .text-justify {
        text-align: justify;
    }

    .text-left {
        text-align: left;
    }

    .text-center {
        text-align: center;
    }

    .text-right {
        text-align: right;
    }

    .table-report-sigei-header>tbody>tr>td {
        font-size: 16px;
        padding: 2px 2px;
    }

    .table-report-sigei-text-white>tbody>tr>td {
        color: #fff;
    }

    .title {
        color: #043472;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .title2 {
        color: #b50101;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .text-small-report {
        font-size: 0.8em;
        text-align: right;
    }


    hr {
        border: 1px solid #eee;
    }

    .table-report-sigei>tbody>tr>td {
        font-size: .95em;
        padding: 8px 10px;
    }

    .table-report-sigei>tbody>tr>td.dato {
        color: #444;
    }

    .table-report-sigei>thead>tr>th {
        background: #043472;
        font-size: 10px;
        font-weight: 600;
        color: #fff;
        padding: 10px;
        text-align: center;
        vertical-align: middle;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .table-report-sigei>thead>tr>th.bg-white {
        background: #fff;
    }

    .table-report-sigei>thead>tr>th.bg-red {
        background: #b50101;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .table-report-sigei>thead>tr.subtitle>th {
        background: #fff;
        border-bottom: 1px solid #ccc;
        font-size: 1.2em;
        font-weight: 600;
        color: #b50101;
        padding: 10px;
        text-align: left;
        vertical-align: middle;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .table-report-sigei>tbody>tr>td {
        background: #fff;
        border-bottom: 1px solid #ccc;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .table-report-sigei>tbody>tr>td {
        font-size: 1em;
    }

    .table-report-sigei>tbody>tr>td.bg-white {
        background: #fff;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .table-report-sigei>tbody>tr>td:first-child {
        border-right: 1px solid #ccc;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .table-report-sigei>tfoot>tr>td {
        border-bottom: 1px solid #ccc;
        font-size: .95em;
        padding: 8px 0px;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .table-report-sigei>tfoot>tr>td {
        font-size: 1em;
        background: #e4e9f2;
    }

    .table-report-sigei>tfoot>tr>td.bg-white {
        background: #fff;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .report-field {
        color: #043472;
        font-size: 1.5em;
        margin-bottom: .25rem;
    }

    .report-field>label {
        font-weight: bold;
    }

    .table-report-sigei>tbody>tr>td:first-child {
        border-left: 1px solid #333;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .table-report-sigei>tbody>tr>td:last-child {
        border-right: 1px solid #333;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .table-report-sigei>tbody>tr:first-child>td {
        border-top: 1px solid #333;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .table-report-sigei>tbody>tr:last-child>td {
        border-bottom: 1px solid #333;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .card-report {
        border: 1px solid #043472;
        border-radius: 6px;
        margin-bottom: 10px;
        padding: 10px;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .title-header {
        background: #043472;
        color: #fff;
        padding: 10px;
        width: calc(100%-20px);
    }

    .text-report-xmera {
        font-family: sans-serif;
    }

    .text-report-xmera>div {
        padding-bottom: .5rem;
    }
}

@media print {
    #export-as-pdf-container {
        position: absolute;
        height: 100%;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
    }
}
.multiselect-dropdown .dropdown-btn {
    overflow-x: hidden !important;
}
.multiselect-dropdown .dropdown-btn .selected-item {
    white-space: nowrap !important;
    max-width: none !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;
}