.sticky-top {
    z-index: 1023 !important;
}

/********** Template CSS **********/
:root {
    --primary: #3f38f2;
    --light: #fff;
    --dark: #191C24;
}

.back-to-top {
    position: fixed;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    border: 2px solid white;
}

.back-to-top.show {
    display: none !important;
}


/*** Spinner ***/
.loader, #spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

.loader, #spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

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


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    background: var(--light);
    transition: 0.5s;
    z-index: 999;
    border-top-right-radius: 50px;
}

.content {
    margin-left: 250px;
    min-height: 100vh;
    background: #FFFFFF;
    transition: 0.5s;
}

@media (min-width: 1200px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -250px;
    }

    .content {
        width: calc(100% - 250px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 1199.98px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}


/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--dark);
    font-weight: 500;
    border-left: 3px solid var(--light);
    border-radius: 0 30px 30px 0;
    outline: none;
    font-size: 16px !important;
}

.child-menu {
    display: none;
    border-top: 1px solid #000;
}
.child-menu:last-child {
    margin-bottom: 1rem!important;
    border-radius: 0px 0px 0px 30px;
}

.dropdown-sidebar:hover .child-menu {
    display: block;
}

.dropdown-sidebar:hover .nav-link, .dropdown-sidebar .nav-link.active {
    color: var(--dark) !important;
    background: #FFFFFF;
    border-color: var(--primary);
    border-radius: 0 30px 0px 0 !important;
}

.dropdown-sidebar:hover .nav-link i,
.dropdown-sidebar:hover .nav-link.active i {
    background: var(--primary) !important;
    color: #fff !important;
}

.sub-link {
    padding: 7px 20px;
    font-weight: 500;
    border-radius: 0 !important;
    background: transparent !important;
}

.child-menu .sub-link.active, .child-menu .sub-link:hover {
    color: var(--primary) !important;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--dark) !important;
    background: #FFFFFF;
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}
@media screen and (max-width: 1199px) {

    .sidebar .navbar .navbar-nav .nav-link {
        font-size: 14px !important;
        padding: 7px 20px;
        color: var(--dark);
        font-weight: 500;
        border-left: 3px solid var(--light);
        border-radius: 0 30px 30px 0;
        outline: none;
    }
    .sidebar .navbar .navbar-nav .nav-link i {
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #FFFFFF;
        border-radius: 30px;
    }
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--primary);
    color: #fff !important;
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--dark);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}


/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}

.table>thead {
    background-color: #fff;

}

.table>tbody {
    background-color: var(--light);
}

.table>thead>tr>th {
    border: none;
    color: var(--primary) !important;
}


.table thead {
    display: block;
    position: relative;
    box-shadow: rgb(0 0 0 / 12%) 0 5px 3px;

}

.table th, .table td {
    vertical-align: middle;
    padding-top: 25px;
    padding-bottom: 25px;
}

.table tr {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.btn-filter {
    color: #000;
    background-color: #fff;
    border-color: #fff;

    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #757575;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
}

.pe-pointer {
    cursor: pointer;
}

.avatar-rounded {
    margin: 0;
    padding: 0;
}

.avatar-rounded>svg {
    border-radius: 50px;
}

.nav-link {
    border: none !important;
    color: #495057;
}

.nav-tabs {
    border-bottom: 1px solid var(--primary);
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: var(--primary);
    font-weight: bold;
    ;
    background-color: #fff;
    border: none;
    border-bottom: 5px solid var(--primary) !important;
}

.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
    border-color: transparent;
    isolation: isolate;
}

.vignette-note-destinataire {
    max-width: 75%;
    border-radius: 25px;
    box-shadow: 3px 3px 2px #191c244f;
    background-color: #d9fdd3;
}

.vignette-note-self {
    margin-left: 25%;
    max-width: 75%;
    border-radius: 25px;
    box-shadow: 3px 3px 2px #191c244f;
    background-color: #fff;
}

.activeRappel {
    display: none;
}

.sticky-top-lead {
    position: sticky;
    top: 100px;
    z-index: 3;
}

.delete-task-form, .finish-task-form {
    display: inline-block;
}

.delete-task-form>button, .finish-task-form>button {
    padding: 0 !important;
}

.end-25px {
    right: 25px;
}

.start-plus-5px {
    left: 5px;
}

.top-15px {
    top: 15px;
}

.bg-dark-transparent {
    background-color: #0000008c;
}

.rounded-bottom-pill {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.task-option {
    display: none;
}

.done-category {
    display: none;
}

.cleanFilterTask, .cleanFilterLead, .cleanFilterPerf {
    display: none;
}

#map {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    /* height: 100%; */

}

.map {
    height: calc(100vh - 150px);
}

.border-radius-25 {
    border-radius: 25px;
}

@media screen and (max-width: 992px) {
    .border-radius-25 {
        border-radius: 0px;
    }
}

#col-list-leads {
    height: calc(100vh - 150px);
    transition: .2s;
}

#col-list-leads.close {
    margin-left: -33.3333333333%;
}

@media screen and (max-width: 991px) {
    #col-list-leads.close {
        margin-left: -100%;
    }
}

#filterCollapse {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    width: 100%;
    top: 125px;
    z-index: 2;
}

.edit-marker, .delete-marker {
    position: relative;
    z-index: 50;
}

.gm-style .gm-style-iw-d::-webkit-scrollbar-track,
.gm-style .gm-style-iw-d::-webkit-scrollbar-track-piece,
.gm-style .gm-style-iw-c,
.gm-style .gm-style-iw-t::after {
    background: var(--primary);
}

.pac-container {
    z-index: 10000 !important;
}

.custom-due-date {
    display: none;
}

.sendLater {
    display: none;
}

.sidebar-box {
    max-height: 120px;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.sidebar-box .fade-text:not(.collapseout) {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 30px 0;
    /* "transparent" only works here because == rgba(0,0,0,0) */
    background-image: linear-gradient(to bottom, transparent, white);
}

.sidebar-box .fade-text.collapseout {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 30px 0;
}

.fade-text>i {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    transition: .2s;
}

.fade-text:hover>i {
    bottom: 5px;
    color: var(--primary);
    z-index: 9;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: #fff;
}

.btn-show-lead {
    display: none;
}

#choose-parent {
    display: none;
}

.wrap-search {
    border: 3px solid transparent !important;
    transition: .3s;
}

.search-control:focus {
    color: #757575;
    background-color: #fff;
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}

.focusin {
    border: 3px solid #9f9cf9 !important;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(63 56 242 / 25%) !important;
}

.search-control::placeholder {
    color: #a8a8a8 !important;
    font-style: italic !important;
}

.hide-column {
    display: none;
}

.actionRemoveContact {
    display: none;
}

.isSeller {
    display: flex;
}

.isSeller.hide {
    display: none;
}

.warning-button {
    display: inline-block;
}

.tooltip.show {
    opacity: 1;
}

.tooltip-inner {
    max-width: 400px;
    background-color: rgb(255, 255, 255);
    color: #000;
    border-radius: 6px;
    border: 1px solid rgb(207, 207, 207);
    padding: 20px;
}

.category-actions:first-child {
    border-right: 1px solid #dee2e6;
}

.link-actions.active {
    background-color: var(--primary);
}

.link-actions.active>a {
    color: white !important;
}

.progress {
    background-color: rgb(214, 207, 233) !important;
}

.bg-gray {
    background-color: rgb(214, 207, 233) !important;
}