/*---------------------------*/
/*---- css-01-global.css ----*/
/*---------------------------*/

:root {
    --text-color: #102944;
    --background-color: #45494b;
    --secondary-background-color: #152037;
    --primary-color: #efa614;
    --secondary-color: #dbdbdb;
    --white-color: #ffffff;
    --black-color: #000000;
    --grey-color:#e8eaee;
}

/*---------------------------*/
/*---------------------------*/

body {
    font-family: "Karla", sans-serif !important;
}

body a {
    text-decoration: none !important;
}
.title-page{
    margin: 0;
}

h1.title-page {
    font-family: "Space Grotesk", sans-serif;
    font-size: 41px;
    font-weight: 700;
}

h2.title-page {
    font-family: "Space Grotesk", sans-serif;
    font-size: 38px;
    font-weight: 700;
}

h3.title-page {
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
    font-weight: 700;
}

h4.subtitle-page {
    font-family: "Karla", sans-serif;
    font-size: 24px;
    font-weight: 700;
}

h5.subtitle-page {
    font-family: "Karla", sans-serif;
    font-size: 20px;
    font-weight: 700;
}

p.subtitle-page {
    font-family: "Karla", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.content-wrapper {
    background-color: var(--grey-color) !important;
}

.card.extend{
    border-radius: 16px;
    box-shadow: 0px 0px 0px !important;
    margin-top: 20px;
}

.sidebar-custom{
    background-color: var(--text-color);
    color: #ffffff;
}
.sidebar-custom a{
    color: #ffffff;
}
.main-header {
    border:none !important;
}

.box-title {
    height: 70px;
    display: flex;
    align-items: flex-end;
}

/*---- Sidebar ----*/
.brand-link .brand-image
{
    width: 90% !important;
    max-height: 100% !important;
    margin-left: 0px !important;
    margin-right: 72px !important;
    margin-bottom: 20px;
    padding: 20px;
}

.nav-sidebar .nav-item > .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0%;
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}
.nav-sidebar .nav-item > .nav-link:hover::after,
.nav-sidebar .nav-item > .nav-link.active::after {
    transform: scaleX(1);
}

.nav-sidebar .nav-item > .nav-link:hover {
    background-color: var(--text-color) !important;
}

.nav-sidebar .nav-item > .nav-link.active, .nav-sidebar .nav-item > .nav-link:hover {
    color: var(--white-color) !important;
    background-color: var(--text-color) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.main-header .nav-link{
    color: var(--text-color) !important;
}

aside.main-sidebar.sidebar-custom {
    height: 100vh !important;
    position: fixed !important;
}

.sidebar-collapse img.brand-image {
    padding: 0px !important;
    margin-top: 8px !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand).sidebar-focused .brand-image, .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .brand-image{
    padding: 20px !important;
    margin-top: 0px !important;
}

/*---------------------------*/

/*---- Button ----*/
.btn.btn-action{
    font-size: 18px;
    border-width: 2px;
    border-color: var(--primary-color);
    border-radius: 8px;
    background-color: var(--primary-color);
    color: var(--secondary-background-color);
    padding: 13px 27px;
    font-family: "Karla", sans-serif;
    font-weight: 700;
    line-height: 1.111em;
    scale: 1;
    transition: 0.3s;
}
.btn.btn-action:hover{
    scale: 1.04;
    transition: 0.3s;
}

.btn.btn-cancel, .btn.buttons-excel{
    font-size: 18px;
    border-width: 2px;
    border-color: #9fa9b4;
    border-radius: 8px;
    background-color: #9fa9b4;
    color: var(--white-color);
    padding: 13px 27px;
    font-family: "Karla", sans-serif;
    font-weight: 700;
    line-height: 1.111em;
    scale: 1;
    transition: 0.3s;
}
.btn.btn-cancel:hover , .btn.buttons-excel:hover{
    color: #545b62;
    background-color: transparent;
    scale: 1.04;
    transition: 0.3s;
}

.tab-contracts {
    font-size: 18px;
    color: var(--white-color) !important;
    background-color: #10294466;
    border-radius: 8px !important;
    padding: 15px 27px !important;
    font-family: "Karla", sans-serif;
    font-weight: 700;
    line-height: 1.111em;
    scale: 1;
    transition: 0.3s;
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-contracts.active {
    background-color: var(--text-color) !important;
    color: var(--white-color) !important;
    border-radius: 8px;
    padding: 13px 27px;
    font-family: "Karla", sans-serif;
    font-weight: 700;
    line-height: 1.111em;
}

ul#pills-tab {
    gap: 16px;
}

#pills-tab .nav-link {
    transform: scale(1);
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

#pills-tab:hover .nav-link:not(:hover) {
    filter: blur(2px);
    opacity: 0.5;
}

#pills-tab .nav-link:hover {
    transform: scale(1.02);
    filter: blur(0);
    opacity: 1;
}
/*-------------------Scrollbarr--------------------------------*/
/* Chrome, Edge, Safari */

/* Firefox */
* {
    scrollbar-width: thin;
}


/*-------- Checkbox --------------*/

.form-check.filter{
    height: 36px;
}

.form-check.filter {
    position: relative;
}

.form-check.filter:first-child {
    padding-left: 0px;
}

.form-check.filter input {
    display: none;
}

.form-check.filter label {
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    line-height: 20px;
}

.form-check.filter label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: #fff;
    transition: all 0.2s ease;
}

.form-check.filter label::after {
    content: "✓";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    transition: transform 0.15s ease;
}

.form-check.filter input:checked + label::before {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check.filter input:checked + label::after {
    transform: translateY(-50%) scale(1);
}


.icon-table {
    font-size: 18px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0px 5px;
    border-radius: 100px;
    align-content: center;
    text-align: center;
    scale: 1;
    transition: 0.4s;
}

.icon-table:hover {
    color: var(--text-color);
    scale: 1.2;
    transition: 0.4s;
}

/*-------- Pagination --------------*/

.page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--text-color) !important;
    border-radius: 5px !important;
}

.dt-paging-button{
    margin: 0px 5px !important;
}
.pagination .page-link{
    color: var(--text-color) ;
    font-weight: 600;
    border-color: var(--text-color) ;
    border-radius: 5px !important;
}
.pagination .page-link.last{
    border-radius: 0px 20px 20px 0px !important;
}
.pagination .page-link.first{
    border-radius: 20px 0px  0px 20px !important;
}
.pagination .page-link:hover {
    color: var(--primary-color);
}
.disabled button{
    color: #a3a3a3 !important;
    border-color: #a3a3a3 !important;
}

/*---- Datatable style ----*/

thead tr{
    background-color: var(--grey-color);
    border-radius: 16px 16px 0px 0px;
}

thead th:first-child{
    border-radius: 16px 0px 0px 0px;
}

thead th:last-child{
    border-radius: 0px 16px 0px 0px;
}

tbody tr td{
    border-right: 2px solid var(--grey-color) !important;
}
tbody tr td:first-child{
    border-left: 5px solid var(--grey-color) !important;
    border-right: 2px solid var(--grey-color) !important;
}
tbody tr td:last-child{
    border-right: 5px solid var(--grey-color) !important;
}
.dt-search label{
    font-weight: 700 !important;
}
.dt-search input {
    width: 350px !important;
    height: 40px;
    border-radius: 25px;
    padding-left: 30px;
}

.actions {
    max-width: 140px !important;
    min-width: 140px !important;
    width: 140px !important;
    text-align: center;
}

.form-control:focus {
    border-color: #efa614 !important;
}

#offers-datatable th,
#offers-datatable td {
    white-space: nowrap;
    width: 1%;
}


/*----------------------*/

.modal-content.custom {
    border-radius: 16px;
    padding: 20px;
}

.input-group-append button{
    color: var(--text-color);
}

.input-group-append button:hover{
    background-color: var(--text-color);
}
/*----------------------*/
/*---- ALERT CUSTOM ----*/
/*----------------------*/

.img-alert-success {
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 34px;
    width: 50px;
    height: 50px;
    left: auto;
    justify-self: anchor-center;
    font-size: 32px;
}


.alert-success {
    font-size: 24px;
    border-radius: 15px;
    width: 25%;
    margin-left: 250px !important;
    padding: 0px !important;
    background-color: #ffffff !important;
    border-radius: 15px;
    margin-top: 80px;
    justify-self: center;
    height: max-content;
    border: solid var(--text-color) 2px !important;
    position: fixed !important;
    inset: 0;
    z-index: 2000;
}

.card-footer.card-footer-alert-success {
    place-self: center;
    background-color: rgba(255, 255, 255, 0.03);
    border-top: 0 solid rgba(255, 255, 255, 0.125);
}

.card-body-alert-success {
    justify-self: center;
    color: black;
    margin-top: 30px;
}

.btn-alert-success {
    border-radius: 15px;
    border: solid var(--primary-color) 1px !important;
    background-color: #fff !important;
    color: var(--primary-color) !important;
    font-size: 16px;
    padding: 10px 15px !important;
    opacity: 1 !important;
    margin-top: 25px;
}

.card-header-alert-success {
    background-color: var(--primary-color);
}

.card-header.card-header-alert-success {
    border-radius: 15px 15px 0px 0px;
    height: 60px;
    background: var(--text-color) !important;
}

.card.alert.alert-success.text-center.shadow-lg.border-0.position-relative {
    border-radius: 15px;
    position: fixed !important
}

.img-alert-danger {
    background: white;
    color: #dc3546;
    border-radius: 50%;
    position: absolute;
    top: 34px;
    width: 50px;
    height: 50px;
    left: auto;
    justify-self: anchor-center;
    font-size: 32px;
}
.alert-danger {
font-size: 24px;
    border-radius: 15px;
    width: 25%;
    margin-left: 250px !important;
    padding: 0px !important;
    background-color: #ffffff !important;
    border-radius: 15px;
    margin-top: 80px;
    justify-self: center;
    height: max-content;
    position: fixed !important;
    inset: 0;
    z-index: 2000;
}

.card-footer.card-footer-alert-danger {
    place-self: center;
    background-color: rgba(255, 255, 255, 0.03);
    border-top: 0 solid rgba(255, 255, 255, 0.125);
}

.card-body-alert-danger {
    justify-self: center;
    color: black;
    margin-top: 30px;
}

.btn-alert-danger {
    border-radius: 15px;
    border: solid #dc3546 1px !important;
    background-color: #fff !important;
    color: #dc3546 !important;
    font-size: 16px;
    padding: 10px 15px !important;
    opacity: 1 !important;
    margin-top: 25px;
}

.card-header-alert-danger {
    background-color: #dc3546;
}

.card-header.card-header-alert-danger {
    border-radius: 15px 15px 0px 0px;
    height: 60px;
    background-color: #dc3546;
}

.card.alert.alert-danger.text-center.shadow-lg.border-0.position-relative {
    border-radius: 15px;
    position: fixed !important
}

/* ================================
            MEDIA QUERIES
   ================================ */



@media (max-width: 575.98px) {

}
@media (max-width: 991.98px) {
    .tab-tablet {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }
    .col-adp{
        width: 31% !important;
    }
    #pills-tab {
        width: 100%;
    }

    #pills-tab .nav-item,
    #pills-tab .nav-link {
        width: 100%;
    }
}

@media (max-width: 1366px) {
    .tab-contracts {
    width: 200px;
}

.btn.btn-action, .btn.btn-cancel, .btn.buttons-excel{
    padding: 7px 22px;
}
.tab-contracts{
    padding: 9px 22px !important;
}
}


@media (min-width: 576px) and (max-width: 767.98px) {

}

@media (min-width: 768px) and (max-width: 991.98px) {
.card.extend{
    padding: 15px 15px;
}
}

@media (min-width: 992px) and (max-width: 1199.98px) {

}

@media (min-width: 1200px) {
    .b-side{
    border-right: 3px solid var(--text-color);
}
.card.extend{
    padding: 25px 15px;
}
}