@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    src: local(''),
         url('font/ubuntu-v15-latin-regular.woff2') format('woff2'),  /*Chrome 26+, Opera 23+, Firefox 39+ */
         url('font/ubuntu-v15-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
:root {
    --black: #130f40;
    --black: #130f40;
    --blue: #154360;
    --light-color: #666;
    --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    --border:.2rem solid rgba(0,0,0,0.1);
    --outline:.1rem solid rgba(0,0,0,0.1);
    --outline-hover:.3rem solid var(--black);
    --white: #FFFFFF;
    --red: red;


    --theme-bg-light: #F8FCFF;
    --theme-bg: #F8FCFF;
    --body-bg: #000;
    --body-font: #919191;
    --body-activefont: #E3E3E3;


    --primary-color: #D71F26;
    /* --secondary-color: #1EA7FF; */
    --secondary-color: #02174e;
    --light: #fff;
    --dark: #000;
    --fontdark: #5F6388;
    --dimdark: rgb(80, 80, 80);
    --border-light: #D6D3D1;
    --border-hover: #bfbcba;
    
    --darfont: #2D3036;
}
* {
    /* font-family: 'Ubuntu'; */
    /* font-family: 'Times New Roman', Times, serif; */
    font-family: 'Roboto', sans-serif;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    outline: none;
    border:none;
    text-decoration: none !important;
}
.fas, .far, .fal, .fab {
  font-family: 'Font Awesome 5 Free' !important;
  font-weight: 900;
}

html {
    font-size: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}
body {
    /* background-color: var(--light); */
    background-color: rgba(252, 252, 254) !important;
}


/* layout */
.layout {
    margin-left: 300px;
    padding: 0 32px;
    transition: .4s linear;
}
.layout.active {
    margin-left: 74px;
}


.layout .inner-layout .page-heading {
    font-size: 25px;
    line-height: 25px;
    font-weight: 600;
    color: var(--dark);
    height: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 30px;
}
/* .layout .inner-layout .page-heading .heading {
    height: 42px;
    display: flex;
    align-items: center;
} */
/* .layout .inner-layout .page-heading img {
    width: 28px;
    height: 30px;
    object-fit: scale-down;
    margin-right: 8px;
} */
.layout .inner-layout .page-heading .sub-heading {
    font-size: 15px !important;
    line-height: 16px !important;
    font-weight: 400 !important;
    color: var(--body-font);
    margin-top: 0px;
}

.layout .inner-layout .line-break {
    border-bottom:3px solid var(--primary-color);
    margin-top: 12px;
    /* display: none; */
}

.add_new {
    background-color: var(--secondary-color);
    width: 164px;
    min-width: 164px;
    height: 42px;
    display: flex;
    border-radius: 4px;
    align-items: center;
    padding: 0px 14px;
}
.add_new a {
    width: 100%;
    height: 42px;
    border-radius: 20px;
    font-size: 12.5px;
    line-height: 10px;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.add_new a:hover {
    color: #fff;
}
.add_new a .icon {
    padding: 1px;
    border-radius: 50px;
    background-color: #fff;
}
.add_new a i {
    font-size: 12px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.layout .inner-layout .context {
    background-color: var(--light);
    margin-top: 15px !important;
    padding: 20px;
    border-radius: 4px;
    min-height: calc(100vh - 215px);
}
.layout .inner-layout .content {
    background-color: var(--light);
    border:1px solid #F5F5F4;
    margin-top: 15px 0 !important;
    padding: 0px;
    border-radius: 10px;
    
    /* background-color: #FAFAF9; */
    padding: 20px;
    margin-bottom: 20px;
}

.content input,
.content select,
.content textarea,
.history-modal input,
.history-modal select,
.history-modal textarea,
.date {
    border:1px solid var(--border-light);
    background-color: var(--light);
    color: var(--dark) !important;
}
.content input[readonly],
.content select[readonly],
.content textarea[readonly],
.history-modal input[readonly],
.history-modal select[readonly],
.history-modal textarea[readonly] {
    background-color: var(--light) !important;
}
.content input:focus,
.content select:focus,
.content textarea:focus,
.history-modal input:focus,
.history-modal select:focus,
.history-modal textarea:focus {
    border: inherit;
    outline: 0;
    box-shadow: none;
    background-color: var(--light) !important;
    border:1px solid var(--border-hover) !important;
    box-shadow: rgba(149, 157, 165, 0.4) 0px 0px 6px !important;
}
/* input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--light) inset !important;
  -webkit-text-fill-color: var(--light) !important;
  caret-color: red;
} */




/* .context input[readonly],
.context select[readonly],
.context textarea[readonly] {
    background-color: #e9ecef !important;
} */
/* .context input[readonly]:not(.date),
.context select[readonly],
.context textarea[readonly] {
    background-color: #e9ecef !important;
    background-color: var(--theme-bg) !important;
} */


.content .submit {
    display: flex;
    align-items: center;
    justify-content: end;
}
.content .submit .submit-btn {
    background: var(--secondary-color);
    border:none;
    color: var(--light);
    width: 180px;
    height: 50px;
    font-size: 18px;
    font-weight: 500;
    /* padding:2px 0px 3.5px 0px; */
    border-radius: 4px;
    opacity: 1;
    padding: 0px;
}
.content .submit .submit-btn:hover {
    opacity: 1;
}
.content .submit .submit-btn:focus {
    border: inherit;
    outline: 0;
    box-shadow: none;
}

.success-alert, .error-alert, .warning-alert {
    padding: 12px;
    font-size: 16px;
    box-sizing: border-box;
    border-radius: 4px;
    display: none;
    align-items: center;
    align-content: center; 
    box-shadow: rgba(99, 99, 99, 0.25) 0px 1px 12px 0px;
    position: fixed;
    top: 78.5px;
    right: 20px;
    z-index: 10;
    padding-right: 100px;
}
.success-alert {
    background-color: #ABEBC6;
    color: #145A32;
    border-left: 4px solid #145A32;
}
.error-alert {
    background-color: #F5B7B1;
    color: #641E16;
    border-left: 4px solid #641E16;
}
.warning-alert {
    background-color: #F9E79F;
    color: #9A7D0A;
    border-left: 4px solid #9A7D0A;
}
.success-alert svg, .error-alert svg, .warning-alert svg {
    width: 24px;
    height: 24px;
}


.role-table {
    border:2px solid transparent !important;
    font-size: 15px !important;
}
.role-table th {
    background: var(--secondary-color) !important;
}
.role-table th:first-child {
    border-top-left-radius: 5px;
}
.role-table th:last-child {
    border-top-right-radius: 5px;
}
.role-table tbody tr:hover {
    background: #E7E5E4 !important;
}

.dataTables_wrapper .col-sm-12 {
    margin-top: 2px !important;
}
.dataTables_length, .dataTables_filter {
    margin-top: 6px;
    margin-bottom: 10px;
}
.dataTables_length select, .dataTables_filter input {
    height: 30px !important;
}
.dataTables_filter input {
    width: 202px !important;
}
.dataTables_info, .dataTables_paginate {
    /* border:1px solid red; */
}

.dataTables_wrapper .row {
    /* border: 1px solid red; */
    margin-top: -8px !important;
    padding: 0px !important;

    display: flex !important;
    align-items: center !important;
}
.table_style thead {
    background: var(--secondary-color);
    color: white;
    border-top: 1px solid white;
    width: 100%;
}
.table_style thead td {
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 600;
    border-left: 1px solid #D0D3D4;
    text-align: left;
}
.table_style thead td:first-child {
    border-top-left-radius: 6px;
    border-left: none !important;
}
.table_style thead td:last-child {
    border-top-right-radius: 6px;
}
tbody tr:nth-child(even) {
    background-color: #FFFFFF;
}
tbody tr:nth-child(odd) {
    background-color: #F0F3F4;
}
.table_style tbody tr:hover {
    /* background: #E7E5E4 !important; */
}
.table_style tbody td {
    border: none !important;
    border-left: 1px solid #D0D3D4 !important;
}
.table_style tbody td:first-child {
    border-left: none !important;
    text-align: center;
}
.table_style tbody td:last-child {
    border-right: none !important;
    text-align: center;
}
.table_style tr td {
    font-size: 14px !important;
}
/* .table_style tr td+td {
    border-left: 1px solid #D0D3D4;
    border-bottom: 1px solid transparent;
} */
/* .table_style tr td+td {
    border-left: 1px solid #D0D3D4;
    border-top: 0px solid white;
    border-bottom: 0px solid white;
} */
/* .table_style tr td+td:first-child {
    border: transparent;
    border-left: 2px solid red !important;
} */
/* .table_style tbody:last-child {
    border-bottom: 1px solid #D0D3D4;
    font-size: 14.5px;
} */
div.dataTables_wrapper div.dataTables_length select {
    width: 60px;
}
div.dataTables_wrapper .dataTables_length, div.dataTables_wrapper .dataTables_filter, div.dataTables_wrapper div.dataTables_info {
    color: var(--body-font);
}
.page-item.active .page-link {
    background: var(--secondary-color) !important;
    border: 1px solid var(--secondary-color) !important;
    color: var(--light) !important;
}
.page-link {
    color: var(--secondary-color) !important;
    border: 1px solid #E5E7E9;
}
.page-link:focus {
    border: 1px solid #E5E7E9;
    outline: none;
    box-shadow: none;
}
.link a:hover {
    text-decoration: underline !important;
}

/* Datatable scroll styling */
#TasksTable, #SprintsTable, #UsersTable, #RolesTable, #OrganizationTable, #TeamsTable, #ProjectsTable {
    padding: 0px !important;
    margin: 0px !important;
    min-width:1000px;
}
.dataTable {
    padding: 0 !important;
    margin: 0 !important;
}
div:has(> .dataTable) {
    overflow-x: auto !important;
    margin-top: 14px !important;
    margin-bottom: 14px !important;
}
/* Datatable scroll styling */


/* width */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
/* Track */
::-webkit-scrollbar-track {
    background: #ECF0F1; 
    transition:.2s linear;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #B3B6B7; 
    transition:.2s linear;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #909497; 
    cursor: pointer;
}


form strong, form #isActiveLabel, form label {
    color: var(--dark);
    font-size: 15px;
}
form strong .text-danger {
    color: var(--primary-color) !important;
}
form .submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.submit .form-submit {
    width: 160px;
    height: 36px;
    background-color: red;
    border-radius: 20px;
    font-size: 18px;
    color: #FFFFFF;
}

button {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
button:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}


/* Datepicker */
.datepicker {
    border:1px solid #D0D3D4 !important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 0px 24px !important;
    padding:10px !important;
    border-radius:0px !important;
    margin-top:4px !important;
} 
.datepicker th {
    height: 32px !important;
    background:none !important;
    border:none !important;
    color: #154360 !important;
}
.datepicker th:hover {
    background:#ECF0F1 !important;
}
.datepicker td {
    width: 40px !important;
    height: 40px !important;
    background-color: #fdfefe !important;
    border:none !important;
}
.datepicker td.old, .datepicker td.new {
    background-color: #fff !important;
}
.datepicker td:hover {
    background-color: #f0f3f4 !important;
}
.datepicker table tr td.active.active {
    background:#154360 !important;
    border-radius:40px !important;
}
.datepicker table tr td.active.active:hover {
    background:#f0f3f4 !important;
    color:#000 !important;
    border-radius:40px !important;
}
.datepicker td .datepicker-switch {
    padding: 8px 0px 8px 0px !important;
}
.datepicker-days table thead tr:last-child th:hover {
    background:none !important;
}


/* Selectpicker */
.bootstrap-select .dropdown-menu.show {
    /* border:1px solid var(--dark); */
}
.bootstrap-select .dropdown-menu.show .actions-btn {
    background-color: var(--dark);
    color: var(--light);
}
.bootstrap-select .dropdown-menu .inner.show {
    background-color: var(--light) !important;
    border:none !important;
}
.bootstrap-select .dropdown-toggle {
    background-color: var(--light) !important;
}
.bootstrap-select .dropdown-menu {
    background-color: var(--light) !important;
}
.bootstrap-select .dropdown-menu .dropdown-item {
    color: var(--dark);
}
.bootstrap-select {
    border:1px solid var(--border-light) !important;
    box-shadow: none !important;
}
.bootstrap-select .filter-option-inner-inner {
    color: var(--dark);
}

.bootstrap-select.select-error {
    border:1px solid var(--primary-color) !important;
}
/* .assigned_to.no_admin_rights {
    pointer-events: none !important;
}             */
.bootstrap-select .dropdown-menu.show {
    max-height: unset !important;
    min-height: unset !important;
    overflow-y: auto !important;
}
.bootstrap-select .dropdown-menu .inner.show {
    max-height: unset !important;
    min-height: unset !important;
    overflow-y: auto !important;
    max-height: 300px !important;
}
.bootstrap-select .dropdown-menu .inner li a {
    white-space: normal !important;
    word-break: break-word;
    line-height: 1.4;
}
.bootstrap-select .dropdown-menu .inner li a:hover {
    background-color: #0d6efd;
}
.bs-searchbox .form-control {
    font-size: 14px !important;
}
/* Select2picker */
/* .select2-container .select2-selection--single {
    height: 31.5px !important;
    padding: 1px 0;
    font-size: 14px;
    border-radius: 4px;
    background-color:  #f8f9fa !important;
    border: 1px solid #ced4da !important;
}
.select2-container .select2-results__option:hover, .select2-container .select2-results__option--selected {
    background-color:  #e9ecef !important;
    color: #000 !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    font-size: 14px;
} */


/* Sweet Alert */
.swal-modal {
    max-width: 444px;
}
.swal-icon {
    padding: 0px !important;
    margin: 14px auto !important;
    margin-top: 22px !important;
}
.swal-title {
    padding: 0px !important;
    margin: 0px !important;
    margin-bottom: 10px !important;
    font-size: 24px !important;
    color: rgba(40,40,40,255);
}
.swal-text {
    color: var(--dimdark);
    font-size: 15px;
}
.swal-footer {
    padding: 14px;
    margin: 0px;
}
.swal-button--confirm, .swal-button--confirm:hover {
    background-color: var(--secondary-color) !important;
}
.swal-button--danger, .swal-button--danger:hover {
    background-color: var(--primary-color) !important;
}
.swal-button--cancel, .swal-button--cancel:hover {
    background-color: rgba(240,240,240,255) !important;
}
.swal-button {
    opacity: 1;
}
.swal-button:hover {
    opacity: 0.95;
}

/* media queries */
@media screen and (max-width: 1650px) {
    /* .layout {
        padding: 0 60px;
    } */
}
@media screen and (max-width: 1400px) {
    /* .layout {
        padding: 0 40px;
    } */
}
@media screen and (max-width: 1198px) {
    html {
        font-size: 82%;
    }
    .layout {
        padding: 0 20px;
    }
    .layout .inner-layout .page-heading {
        margin-top: 24px;
    }
    .layout .inner-layout .context {
        padding: 15px;
    }
    .add_new {
        width: 150px;
        min-width: 150px;
        /* width: 100px; */
        height: 38px;
        /* margin-top: 2px; */
    }
    .add_new a {
        /* font-size: 13px; */
    }
    .add_new a i {
        font-size: 12px;
    }
}
@media screen and (max-width: 992px) {
    .layout {
        padding: 0 14px;
    }
    .layout .inner-layout .context {
        padding: 18px 12px;
    }
    .submit-btn {
        width: 160px !important;
        font-size: 18px !important;
    }
}
@media screen and (max-width: 768px) {
    /* .layout {
        margin-top:130px !important;
    } */
    .layout {
        padding: 0 15px;
    }
    .layout .inner-layout .page-heading {
        margin-top: 16px;
    }
    .success-alert, .error-alert, .warning-alert {
        top: 108px;
    }
    .add_new {
        width: 120px;
        height: 36px;
        /* margin-top: 5px; */
    }
    .add_new a {
        font-size: 12px;
    }
    /* .add_new a i {
        font-size: 11px;
    } */

    .dataTables_length, .dataTables_filter {
        margin-top: 0px;
        margin-bottom: 6px;
    }
    .dataTables_info {
        padding: 0px !important;
    }
}
@media screen and (max-width: 600px) {
    .submit-btn {
        width: 140px !important;
        font-size: 16px !important;
    }

    .success-alert, .error-alert, .warning-alert {
        right: 15px;
        left: 89px;
        padding: 12px 6px;
        font-size: 14px;
    }
    .success-alert svg, .error-alert svg, .warning-alert svg {
        width: 20px;
        height: 20px;
    }
}
@media screen and (max-width: 450px) {
    .success-alert, .error-alert {
        font-size: 12px;
    }
    .success-alert svg, .error-alert svg, .warning-alert svg {
        width: 16px;
        height: 16px;
    }
}