:root {
    --text-danger: #dc3545;
}

header .outer__header .header__right .project__wrapper>a svg path {
    -webkit-transition: .4s ease all;
    transition: .4s ease all
}

header .outer__header .header__right .project__wrapper>a.opened svg path {
    fill: #1C45C2
}

header .outer__header .header__right .project__wrapper .project__wrapper__dropdown,
header .outer__header .header__left .search__wrapper .search__wrapper__dropdown {
    position: absolute;
    /* right: -50px; */
    top: 40px;
    width: auto;
    background-color: #FFFFFF;
    padding: 4px 0px;
    -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 230px;
    max-width: 1000px;
    overflow: hidden;
    overflow-y: auto;
    max-height: 450px;
}

header .outer__header .header__left .search__wrapper .search__wrapper__dropdown {
    min-width: 350px;
}

header .outer__header .header__right .project__wrapper .project__wrapper__dropdown ul,
header .outer__header .header__left .search__wrapper .search__wrapper__dropdown ul {
    padding: 0px;
    list-style-type: none;
    margin: 0px;
}

header .outer__header .header__right .project__wrapper .project__wrapper__dropdown ul>li,
header .outer__header .header__left .search__wrapper .search__wrapper__dropdown ul>li {
    width: 100%
}

header .outer__header .header__right .project__wrapper .project__wrapper__dropdown ul>li>a,
header .outer__header .header__left .search__wrapper .search__wrapper__dropdown ul>li>a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 14px;
    line-height: 130%;
    font-weight: 400;
    color: #374151;
    white-space: nowrap;
    -webkit-transition: .4s ease all;
    transition: .4s ease all
}

header .outer__header .header__right .project__wrapper .project__wrapper__dropdown ul>li>a:hover,
header .outer__header .header__left .search__wrapper .search__wrapper__dropdown ul>li>a:hover {
    background-color: #F9FAFB
}

header .outer__header .header__right .project__wrapper__dropdown li>a>span {
    margin-right: 8px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 26px;
    max-width: 26px;
    min-height: 26px;
    max-height: 26px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.alert-blk {
    position: fixed;
    width: 100%;
    height: 60px;
    z-index: 9999;
    bottom: 0;
    font-size: 14px;
}

.alert-blk table td {
    text-align: left;
    padding: 10px;
}

.alert-suciner {
    width: auto;
    height: 60px;
    background: #55a500;
    text-align: center;
    padding: 10px 0px 10px 0px;
    color: #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.alert-suciner table {
    margin-top: 3px;
}

.alert-suciner td {
    text-align: center;
    color: #ffffff;
    padding: 0px;
    border: none;
}

.alert-erriner {
    width: auto;
    height: 60px;
    background: #d40000;
    text-align: center;
    padding: 10px 0px 10px 0px;
    color: #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/* =================== START: Text and Font related custom CSS ================ */

.required {
    color: #e02222 !important;
}

.text-primary {
    color: #0d6efd !important;
}

.text-success {
    color: #11c26d !important;
}

.text-info {
    color: #0dcaf0 !important;
}

.text-danger {
    color: #e02222 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-gray {
    color: #6c757d !important;
}

.text-link {
    color: #3e8ef7 !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

.text-line-through {
    text-decoration: line-through !important;
}

.text-upper {
    text-transform: uppercase !important;
}

.line-through {
    text-decoration: line-through !important;
}

.text-wrap {
    text-wrap: wrap !important;
}

.bg-gray {
    background-color: #e4eaec !important;
}

.bg-transparent {
    background-color: transparent !important;
}

.w-100 {
    width: 100% !important;
}

.w-48 {
    width: 48% !important;
}

.mw-50px {
    max-width: 50px !important;
}

.mw-100px {
    max-width: 100px !important;
}

.mw-200px {
    max-width: 200px !important;
}

.h-100 {
    height: 100% !important;
}

.fs-10 {
    font-size: 10px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.font-italic {
    font-style: italic !important;
}

.badge {
    display: inline-block;
    padding: .35em .4em;
    font-size: 75%;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.badge-primary {
    color: #fff;
    background-color: #007bff;
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

.badge-warning {
    color: #fff;
    background-color: #eb6709;
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

.badge.badge-sm {
    font-size: 10px;
}

.word-wrap-normal {
    word-wrap: normal !important;
}

/* =================== END: Text and Font related custom CSS ================ */

/* =================== START: Display related custom CSS ================ */

.m-0 {
    margin: 0px !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mb-2 {
    margin-bottom: 2px !important;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-25 {
    margin-bottom: 25px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mt-0 {
    margin-top: 0px !important;
}

.mt-5 {
    margin-top: 5px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.ms-5 {
    margin-left: 5px !important;
}

.ms-10 {
    margin-left: 10px !important;
}

.me-5 {
    margin-right: 5px !important;
}

.me-10 {
    margin-right: 10px !important;
}

.me-15 {
    margin-right: 15px !important;
}

.p-0 {
    padding: 0 !important;
}

.p-4 {
    padding: 4px !important;
}

.pt-25 {
    padding-top: 25px !important;
}

.pt-30 {
    padding-top: 30px !important;
}

.pb-5 {
    padding-bottom: 5px !important;
}

.pb-10 {
    padding-bottom: 10px !important;
}

.ps-10 {
    padding-left: 10px !important;
}

.ps-15 {
    padding-left: 15px !important;
}

.ps-30 {
    padding-left: 30px !important;
}

.pe-5 {
    padding-right: 5px !important;
}

.pe-10 {
    padding-right: 10px !important;
}

.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.d-flex-end {
    justify-content: flex-end !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.align-item-center {
    align-items: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-evenly {
    justify-content: space-evenly !important;
}

.border-bottom {
    border-bottom: 1px solid #f0f0f0;
}

.border-0 {
    border: 0 !important;
}

.border-transparent {
    border-color: transparent !important;
}

/* =================== END: Display related custom CSS ================ */

/* ================== START: Row and Column CSS ================== */

.row .col-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #E5E7EB;
}

@media (max-width: 480px) {
    .row .col-3 {
        grid-template-columns: 1fr;
        grid-row-gap: 12px;
    }
}

/* ================== END: Row and Column CSS ================== */

/* ================== START: Button CSS ====================== */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-danger {
    color: #fff !important;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.btn:focus,
.btn:hover {
    text-decoration: none;
}

.group__input.float__group .button-inline-container .input-inline {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    outline: none;
    border: 1px solid #D1D5DB;
    -webkit-transition: .3s ease all;
    transition: .3s ease all;
    padding-left: 12px;
    padding-right: 12px;
    color: #000;
}

.button-inline-container {
    display: flex !important;
}

.button-inline-container .input-inline.left {
    border-radius: 8px 0 0 8px !important;
}

.button-inline-container .button-inline.right {
    border-radius: 0 8px 8px 0 !important;
}

.button-inline-container .button-inline:disabled,
.button-inline-container .button-inline[disabled] {
    background-color: #adadad !important;
    color: #fff;
}

/* ================== END: Button CSS ====================== */

/* ================== START: Table CSS ====================== */
.gl-table {
    min-width: 100% !important;
}

.gl-table-sm thead th,
.gl-table-sm thead td {
    padding: 15px 5px !important;
}

.gl-table-sm tbody td {
    font-size: 14px !important;
    padding: 15px 5px !important;
}

/* ================== END: Table CSS ====================== */

.cursor-pointer {
    cursor: pointer;
}

.cursor-nodrop {
    cursor: no-drop !important;
}

.custom-lable {
    font-size: 14px;
    margin-bottom: 4px;
    color: #6B7280;
    font-weight: 400;
}

.p {
    margin: 0px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #111928;
}

.infobox {
    padding: 20px;
    background-color: #fff9e9;
    border: 1px solid #f7a43e;
    color: #2d2d2d;
    border-radius: 4px;
    margin-top: 15px;
    line-height: 1.5;
    font-weight: 200;
}

.custom-input>input {
    height: 42px;
    border-radius: 8px;
    outline: none;
    border: 1px solid #D1D5DB;
    -webkit-transition: .3s ease all;
    transition: .3s ease all;
    padding-left: 12px;
    padding-right: 12px;
    color: #000;
}

.btn.btn-lg {
    height: 42px;
}

.custom-label {
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 150%;
    font-weight: 500;
    color: #111928;
}

/*
input:read-only {
    background-color: #f3f7f9;
    opacity: 1;
}
*/

.gl-link {
    color: #3e8ef7;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

.gl-link:hover {
    color: #589ffc;
    text-decoration: underline;
}

.select_input {
    font-size: 14px;
    font-weight: 400;
    height: 42px;
}

.gl-note {
    margin-top: 5px;
    margin-bottom: 0px;
    font-size: 14px !important;
    line-height: 150% !important;
    font-weight: 400 !important;
    color: #505860 !important;
    text-align: justify;
    padding: 0 5px;
}

.gl-modal .modal_body {
    margin-top: 25px;
}

.gl-modal-lg {
    max-width: 900px !important;
}

/* ================ Alert CSS ================ */
.gl-alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.gl-alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.gl-alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.hide-div {
    display: none;
}


.email-newsletter {
    background-color: #f1f1f1;
    padding: 10px 18px;
    border-radius: 12px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}

.email-newsletter .email-newsletter-preview {
    margin-right: 15px;
    height: 100px;
    width: 100px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.email-newsletter .email-newsletter-preview img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: initial;
    border-radius: 8px;
}

.email-newsletter .email-newsletter-body small {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.email-newsletter-body p {
    overflow-wrap: anywhere;
}

.show_err_div {
    display: none;
}

.error_label {
    color: var(--text-danger);
    font-weight: 500;
    font-size: 12px;
    padding: 0px 10px;
    display: none;
    padding: 0;
}

/* ============== START: Task Common CSS ================ */
.task_date_time_picker {
    display: flex;
    justify-content: space-between;
}

.task_date_time_picker input.input-text {
    width: 48% !important;
}

.recursion_btn {
    text-decoration: none;
}

.recursion_details {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5em;
    color: #4c4c4c;
}

.selected_img_preview_div .img_preview_div {
    display: flex;
}

.selected_img_preview_div .img_preview_div .img_div {
    max-height: 100px;
    max-width: 100px;
}

.selected_img_view_preview_div {
    /* display: flex !important; */
    justify-content: flex-start !important;
    align-items: center !important;
    flex-direction: row !important;
}

.selected_img_view_preview_div .img_preview_div .img_div {
    max-height: 70px;
    max-width: 70px;
    overflow: hidden;
}

.delete_repeat_task_radio .swal2-radio {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#view-task-on-page .task__list>.elem .details__task .el {
    justify-content: space-between !important;
}

#view-task-on-page .task__list>.elem .details__task .el:not(:last-child) {
    padding: 12px 0;
    border-bottom: 1px solid #dbdbdb;
}

.profile-top-label {
    background: #99dc1322;
    padding: 4px 9px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #11c26d;
}

.profile-notes-item {
    padding: 16px 10px;
    border-bottom: 1px solid #f1f1f1;
}

.profile-notes-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.profile-notes-item-name {
    flex-grow: 1;
    font-size: 12px;
    line-height: 1.43;
    color: rgba(17, 17, 17, 0.4);
}

.profile-notes-item-date {
    text-align: right;
    padding-left: 10px;
    font-size: 12px;
    line-height: 1.334;
    color: rgba(17, 17, 17, 0.4);
    letter-spacing: -0.02em;
}

.profile-notes-item-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--theme-black);
}

.custom_range_div {
    display: flex;
    justify-content: space-between;
}

/* ============== END: Task Common CSS ================ */

/* ============== Add New Lead Page Common CSS ========== */
.lead_responsible_div .dropdown,
.lead_tags_div .dropdown {
    left: 0 !important;
}

/* ============== START: Bootstrap like buttons =========== */
.gl-btn-sm {
    padding: 0px 6px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: .2rem;
    min-height: 25px;
}

.gl-btn-theme {
    color: #fff;
    background-color: #1c45c2 !important;
    border-color: #1c45c2 !important;
}

.gl-btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.gl-btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.gl-btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.gl-btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}

.gl-btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.gl-btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}

.gl-btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.gl-btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.gl-btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.gl-btn:focus,
.gl-btn:hover {
    text-decoration: none;
}

/* ============== END: Bootstrap like buttons =========== */

/* ====== START: Alert class ====== */
.alert {
    position: relative;
    padding: 12px 20px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .215rem;
}

.alert {
    padding-right: 20px;
    padding-left: 20px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-dismissible {
    padding-right: 40px;
}

.alert-dismissible .close {
    padding: 0;
    position: inherit;
    /* margin-right: -20px; */
    text-decoration: none;
    opacity: .6;
}

.close:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.alert>:last-child {
    margin-bottom: 0;
}

.alert-success .close {
    color: #155724;
}

.alert-dismissible .close {
    position: absolute;
    top: initial !important;
    right: 8px !important;
    padding: 0 !important;
    color: inherit;
}

button.close {
    cursor: pointer;
    background-color: transparent !important;
    border: transparent;
    font-size: 16px;
    font-weight: 600;
}

/* ====== END: Alert class ====== */

.pagination__switcher ul li a {
    cursor: pointer;
}

td p.completed-check {
    text-decoration: line-through;
}

.modal__side.profile__side .inner__modal>.modal__box .double .chat__box {
    height: 100vh;
}

body.dark .outer__header .header__left>a svg path {
    fill: #6B7280;
}

.resolution-warning {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #f5c6cb;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.avatar_circle {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 14px;
}

.webui-popover {
    left: calc(100% - 300px) !important;
}

.modal__side.profile__side #profile {
    overflow: hidden;
    /* min-width: 1400px; */
    max-width: 90%;
    /* max-width: 100%; */
}

.modal__side.profile__side .inner__modal>.modal__box .double>.contact__info {
    margin-bottom: 60px;
}

/* make max-width of profile modal to 100% for screen size less than 1920px */
@media screen and (max-width: 1920px) {
    .modal__side.profile__side #profile {
        max-width: calc(100% - 56px) !important;
    }

    .modal__side.profile__side .inner__modal>.modal__box .double>.contact__info {
        max-width: 100% !important;
    }

    .user_profile_tab_overview_div .container {
        max-width: 100% !important;
    }
}