input[switch] + label, input[switch] + label:before {
    font-family: inherit;
    -webkit-transition: .1s ease-in-out
}

.color-scheme-dark, .color-scheme-dark .hk-pg-wrapper {
    background-color: #293145;
    color: #ccd9e8
}

    .color-scheme-dark .hk-sec-wrapper {
        background-color: #323c58;
        -webkit-box-shadow: 0 5px 15px rgba(22,22,35,.1);
        box-shadow: 0 5px 15px rgba(22,22,35,.1);
        background-image: -webkit-gradient(linear,left top,left bottom,from(#323c58),to(#303950));
        background-image: linear-gradient(to bottom,#323c58 0,#303950 100%);
        background-repeat: repeat-x
    }

#spAlarm.badge-wrap, .bot-msg svg polyline, .hidden, .message.btn-act:after, input[switch] {
    display: none
}

body {
    padding-right: 0 !important
}

.ar-text {
    direction: rtl
}

.modal {
    overflow: auto !important
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #009b84 !important
}

.modal-wait-screen {
    background: #222;
    opacity: .8;
    padding: 20px;
    margin: 40% auto;
    text-align: center;
    width: 150px;
    color: #fff;
    border-radius: 4px !important
}

    .modal-wait-screen label {
        color: #fff;
        margin-bottom: 0
    }

    .modal-wait-screen .loader-pendulums {
        font-size: 3.5rem;
        margin-top: 30px
    }

.overlay-login {
    display: none;
    background: #fff;
    opacity: .7;
    z-index: 50;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #ccc
}

.btn-custom, input[switch] + label {
    display: inline-block;
    cursor: pointer;
    text-align: center
}

.btn-custom, .message, .mobileframe {
    position: relative
}

.modal-title {
    font-size: 1rem
}

.overlay-login > .fa {
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    position: absolute;
    top: 50%
}

.dt-sort, .dt-sort.asc, .dt-sort.desc, .itsLink {
    cursor: pointer
}

#spAlarm.badge-wrap.alarm, .btn-custom span, .wrap-actions .toggle {
    display: block
}

.red {
    color: #ff6028
}

.green, .hk-wrapper.hk-horizontal-nav .hk-nav.hk-nav-dark .navbar-nav .nav-item.active > .nav-link i {
    color: #009b84
}

.green2 {
    color: #22af47
}

.orange {
    color: #ffac19
}

.blue {
    color: #1ebccd !important
}

.blue2 {
    color: #00acf0
}

.grey {
    color: #5e7d8a !important
}

.grey2 {
    color: #ccc !important
}

.alertify .ajs-dialog {
    border-radius: .25rem
}

.ajs-header {
    border-bottom: 1px solid #e9ecef;
    color: #324148;
    font-family: inherit;
    font-weight: 500;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem
}

.alertify .ajs-footer {
    border-top: 1px solid #e9ecef;
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem
}

.alertify .ajs-body {
    padding: 0
}

.chatapp-wrap .chatapp-right .chat-body .media.sent .media-body .msg-box > div {
    background: #e1ffc7
}

    .chatapp-wrap .chatapp-right .chat-body .media.sent .media-body .msg-box > div .arrow-triangle-wrap .arrow-triangle, .chatapp-wrap .chatapp-right .chat-body .media.sent .media-body .msg-box > div .arrow-triangle-wrap .arrow-triangle:after, .chatapp-wrap .chatapp-right .chat-body .media.sent .media-body .msg-box > div .arrow-triangle-wrap .arrow-triangle:before {
        background-color: #e1ffc7
    }

.chatapp-wrap .chatapp-right .chat-body .media.received, .chatapp-wrap .chatapp-right .chat-body .media.sent {
    margin-bottom: 2px
}

.chatapp-wrap .chatapp-right .chat-body .day-sep:after, .chatapp-wrap .chatapp-right .chat-body .day-sep:before {
    background: #c1c6c8
}

.msg-box p {
    white-space: pre-line
}

.msg-box.has-doc {
    width: 60%
}

    .file-viewer img, .msg-box.has-doc img {
        width: 100%
    }

.custom-doc {
    border: 1px solid #eaecec !important;
    margin-bottom: 10px !important;
    border-radius: 15px !important
}

    .custom-doc .doc_name a {
        color: #9e9e9e
    }

.required, .select2-container--default .select2-selection--multiple, .select2-container--default .select2-selection--single {
    border-left: 2px solid #ff6028
}

.mobileframe {
    border-radius: 10px;
    border-top: 5px solid #fff;
    border-right: 5px solid #fff;
    border-bottom: 5px solid #fff;
    border-left: 5px solid #fff;
    overflow: hidden;
    -webkit-box-shadow: 0 0 11px 0 rgba(50,50,50,.5);
    -moz-box-shadow: 0 0 11px 0 rgba(50,50,50,.5);
    box-shadow: 0 0 11px 0 rgba(50,50,50,.5);
    width: 100%;
    height: 500px;
    background: url(../../../images/whatsapp_bg.jpg);
    padding: 16px
}

.message {
    color: #000;
    clear: both;
    line-height: 18px;
    font-size: 14px;
    padding: 8px;
    margin: 2px 0;
    max-width: 95%;
    word-wrap: break-word
}

    .message.received {
        background: #fff;
        border-radius: 0 5px 5px;
        float: left;
        white-space: pre-wrap
    }

    .message.sent {
        background: #e1ffc7;
        border-radius: 5px 0 5px 5px;
        float: right
    }

        .message.sent:after {
            border-width: 0 0 10px 10px;
            border-color: transparent transparent transparent #e1ffc7;
            top: 0;
            right: -10px
        }

    .message:after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-style: solid
    }

    .message.received:after {
        border-width: 0 10px 10px 0;
        border-color: transparent #fff transparent transparent;
        top: 0;
        left: -10px
    }

.form-group {
    margin-bottom: 10px
}

    .form-group label {
        margin-bottom: 0;
        font-weight: 500;
        color: #546b87;
        font-size: 90%
    }

.breadcrumb-item + .breadcrumb-item::before {
    content: "\e606";
    font-family: simple-line-icons;
    font-size: 13px;
    margin-top: 2px
}

input[switch] + label {
    font-size: 1em;
    line-height: 25px;
    margin-bottom: 0;
    width: 45px;
    height: 25px;
    background-color: #ddd;
    background-image: none;
    border-radius: 2rem;
    padding: .1666666667rem;
    position: relative;
    transition: .1s ease-in-out
}

    input[switch] + label:before {
        text-transform: uppercase;
        color: #b7b7b7;
        content: attr(data-off-label);
        display: block;
        font-family: FontAwesome,inherit;
        font-weight: 500;
        font-size: .7rem;
        line-height: 1.74rem;
        position: absolute;
        right: .2166666667rem;
        margin: .2166666667rem;
        top: 0;
        text-align: center;
        min-width: 1.6666666667rem;
        overflow: hidden;
        transition: .1s ease-in-out
    }

    input[switch] + label:after {
        content: '';
        position: absolute;
        left: .1666666667rem;
        background-color: #f7f7f7;
        border-radius: 2rem;
        height: 19px;
        width: 20px;
        -webkit-transition: .1s ease-in-out;
        transition: .1s ease-in-out
    }

input[switch]:checked + label {
    background-color: #add8e6
}

    input[switch]:checked + label:before {
        color: #fff;
        content: attr(data-on-label);
        right: auto;
        left: .2166666667rem
    }

    input[switch]:checked + label:after {
        left: 22px
    }

input[switch=bool] + label {
    background-color: #ee6562
}

    .mail-category .nav-item .nav-link:hover, input[switch=bool] + label:before, input[switch=bool]:checked + label:before, input[switch=default]:checked + label:before, input[switch=success]:checked + label:before, input[switch=warning]:checked + label:before {
        color: #fff !important
    }

input[switch=bool]:checked + label {
    background-color: #bce954
}

input[switch=default]:checked + label {
    background-color: #a2a2a2
}

input[switch=success]:checked + label {
    background-color: #009b84
}

input[switch=warning]:checked + label {
    background-color: gold
}

.btn-custom {
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 4px 4px !important;
    border: 2px dashed #e1e5ea !important;
    border-radius: 2px;
    background-color: #fff !important;
    color: #8492a6 !important;
    -webkit-transition: border-color .15s,color .15s;
    transition: border-color .15s,color .15s;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    will-change: border-color,color;
    width: 92px
}

.multiple_doc, .single_doc {
    margin-left: 4px;
    float: left
}

.btn-custom:hover {
    border: 2px dashed #aeb5b0 !important;
    color: #aeb5b0 !important
}

.btn-custom .fas {
    font-size: 1.5em
}

.input-group .emojiPickerIconWrap {
    width: 86%
}

.emoji-top .emojiPicker {
    position: absolute;
    bottom: 91px;
    width: 60% !important
}

.multiple_docs-ul {
    list-style-type: none;
    padding: 0;
    width: 100%
}

.multiple_doc {
    background: #edf9fe;
    border: 1px solid rgba(178,230,250,.3);
    border-radius: 3px;
    margin-right: 5px;
    padding: 2px 5px;
    font-size: 14px
}

.media-img-wrap.key-doc {
   /* margin-left: -10px*/
}

.badge-close {
    width: 12px !important;
    height: 12px !important;
    right: 5px;
    z-index: 1;
    font-size: 8px;
    line-height: 12px
}

    .badge-close:after {
        font-family: FontAwesome;
        content: "\f00d"
    }

    .badge-close:hover {
        background: #ff6028
    }

.single_doc {
    border: 2px dashed #e1e5ea;
    border-radius: 3px;
    padding: 5px;
    font-size: 14px
}

.single_doc-close {
    color: #b73f33 !important
}

.daterangepicker.show-calendar {
    padding: 10px
}

    .daterangepicker.show-calendar .calendar {
        margin: 5px;
        padding: 5px
    }

.daterangepicker td, .daterangepicker th {
    width: 26px !important;
    height: 26px !important
}

.dt-sort:after {
    font-family: FontAwesome;
    float: right;
    content: "\f0dc"
}

.dt-sort.asc:after {
    content: "\f160"
}

.dt-sort.desc:after {
    content: "\f161"
}

.wrap-td-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 270px
}

.highlight {
    background-color: #ff0
}

.dropdown-menu .dropdown-item.active, .dropdown-menu .dropdown-item.active:hover, .dropdown-menu .dropdown-item:active {
    background: #324148;
    border-color: #324148;
    color: #fff !important
}

.daterangepicker td.active.available, .daterangepicker td.active.available:hover, .daterangepicker td.active:hover.available:hover {
    background: #324148;
    border-color: #324148;
    color: #fff
}

.lined-text {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eaecec;
    line-height: .1em;
    margin: 20px 0
}

    .lined-text span {
        background: #fff;
        padding: 0 10px;
        color: #546b87
    }

.dropdown-menu.dropdown-menu-dark {
    border: 1px solid #eaecec
}

    .dropdown-menu.dropdown-menu-dark .dropdown-divider, .nav-separator.dark {
        border-color: rgba(255,255,255,.05)
    }

.small-dropdown-menu {
    min-width: unset
}

.list-group-item.active {
    background-color: #324148;
    border-color: #324148;
    border-right: 5px solid #009b84
}

.list-group-item:hover {
    background-color: #5e7d8a;
    border-color: #5e7d8a;
    color: #fff
}

.accordion.accordion-type-2 .card .card-header > a, .page-link {
    color: #5e7d8a
}

.nav.nav-tabs .nav-link.active {
    border-color: #324148
}

    .nav.nav-tabs .nav-link.active:hover, .nav.nav-tabs .nav-link:focus {
        border-color: #5e7d8a
    }

.files-container {
    max-height: calc(100vh - 250px);
    overflow-x: hidden
}

.chat-container {
    height: calc(100vh - 190px);
    overflow-x: hidden;
    width: 100% !important
}

.usr-container {
    height: calc(100vh - 236px);
    overflow-x: hidden
}

.scrollbar {
    overflow-y: auto
}

    .scrollbar::-webkit-scrollbar-track {
        background-color: #eaecec
    }

    .scrollbar::-webkit-scrollbar {
        width: 6px;
        background-color: transparent
    }

    .scrollbar::-webkit-scrollbar-thumb {
        background-color: #c1c6c8
    }

.badge.badge-outline.badge-danger {
    border-color: #ff6028;
    color: #ff6028
}

.badge.badge-danger {
    background: #ff6028 !important
}

.badge.badge-outline {
    background: 0 0 !important
}

.smart-accordian .card .card-header > a::after {
    top: 2px !important;
    margin-left: 5px;
    left: auto !important
}

.hk-gallery .doc-link:hover {
    opacity: .6
}

.hk-gallery .gallery-img {
    min-height: 85px !important;
    border-radius: 2px;
    text-align: center;
    background: rgba(226,226,226,.5);
    padding: 5px
}

.dropdown-menu .dropdown-item:focus:not(.active):not(.disabled), .dropdown-menu .dropdown-item:hover:not(.active):not(.disabled), .page-link:focus, .page-link:hover {
    background-color: #5e7d8a;
    color: #fff
}

.hk-gallery .gallery-img .avatar {
    width: 2.75rem;
    height: 2.7rem
}

.hk-gallery .gallery-img .time {
    width: 100%;
    float: left
}

    .hk-gallery .gallery-img .time .fa {
        opacity: .8
    }

.is-disabled {
    opacity: .5;
    pointer-events: none
}

.key-item div:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px
}

.key-item div:nth-child(2) {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px
}

.key-add .card:hover {
    background-size: 20px 20px;
    background-image: -webkit-linear-gradient(135deg,#f6f6f6 25%,transparent 25%,transparent 50%,#f6f6f6 50%,#f6f6f6 75%,transparent 75%,transparent);
    background-image: linear-gradient(-45deg,#f6f6f6 25%,transparent 25%,transparent 50%,#f6f6f6 50%,#f6f6f6 75%,transparent 75%,transparent);
    -webkit-animation: 2s linear infinite stripes;
    animation: 2s linear infinite stripes
}

.input-group.rounded-input input {
    border-radius: 50px;
    height: calc(2.25rem + 0px);
    padding-left: 36px;
    background: #fff;
    border-top-left-radius: 50px !important;
    border-bottom-left-radius: 50px !important
}

.input-group.square-input input {
    height: calc(2.25rem + 2px);
    padding-left: 36px;
    background: #fff;
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important
}

.input-group.rounded-input > .form-control:not(:last-child) {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px
}

.input-group.rounded-input .input-group-append {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none
}

.input-group.rounded-input .input-group-prepend, .input-group.square-input .input-group-prepend {
    position: absolute;
    left: 10px;
    top: 0;
    z-index: 4;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    pointer-events: none
}

    .input-group.rounded-input .input-group-prepend .feather-icon, .input-group.square-input .input-group-prepend .feather-icon {
        display: block;
        color: #848d91
    }

        .input-group.rounded-input .input-group-prepend .feather-icon > svg, .input-group.square-input .input-group-prepend .feather-icon > svg {
            height: 18px;
            width: 18px
        }

.input-group.rounded-input .input-group-text {
    background: 0 0;
    border: none
}

.bell-ring {
    display: block;
    -webkit-animation: 4s ease-in-out .7s infinite ring;
    -webkit-transform-origin: 50% 4px;
    -moz-animation: 4s ease-in-out .7s infinite ring;
    -moz-transform-origin: 50% 4px;
    animation: 4s ease-in-out .7s infinite ring;
    transform-origin: 50% 4px
}

.wa-green-bg {
    background: #009688 !important
}

.wa-grey-bg {
    background: #dddbd1 !important
}

.btn-group .btn {
    border-width: 1px
}

.chat-alert-box {
    text-align: center;
    margin-bottom: 0;
    margin-top: 0
}

.page-link:focus, .page-link:hover {
    border: 1px solid #5e7d8a
}

.dropdown-menu .dropdown-item {
    padding: .25rem 1rem
}

.message.btn-act {
    bottom: 15px;
    position: absolute;
    padding: 5px;
    border-radius: 10px;
    background: #fff
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 2px solid #273238 !important
}

.smart-loading {
    z-index: 1055;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(50,65,72,.5)
}

    .smart-loading .modal-wait-screen {
        margin: 15% auto
    }

.chat-time:after {
    font-family: Ionicons;
    font-size: 14px;
    margin-left: 3px;
    color: #92a7b0
}

.msg-0:after, .msg-6:after {
    content: "\f394"
}

.msg-5:after {
    content: "\f2bc"
}

.msg-2:after, .msg-4:after {
    content: "\f2e2"
}

.msg-4:after {
    color: #21a0f0
}

.msg-1:after, .msg-3:after {
    content: "\f276";
    color: #ff6028
}

.emailapp-sidebar {
    height: 100%
}

.nav-header {
    padding: .5rem 1.15rem;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,.4)
}

.mail-category .nav-item .nav-link {
    color: rgba(255,255,255,.6) !important;
    font-size: 13px;
    display: block !important
}

    .mail-category .nav-item .nav-link > i {
        margin-right: 7px
    }

.mail-category .nav-item.active {
    background: #5e7d8a
}

    .mail-category .nav-item.active .nav-link {
        color: #fff !important;
        font-weight: 500
    }

.mail-category .nav-item .nav-link .badge {
    float: right;
    margin-left: 0 !important
}

.inner-nav-pt[data-toggle=collapse]::after, .mail-category .nav-item .nav-link[data-toggle=collapse]::after {
    content: '\f2f9';
    font: 16px/1 Material-Design-Iconic-Font;
    float: right;
    margin-top: 5px;
    text-rendering: auto;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
    -webkit-transition: .4s;
    -moz-transition: .4s;
    transition: .4s
}

.inner-nav-pt[data-toggle=collapse][aria-expanded=true]::after, .mail-category .nav-item .nav-link[data-toggle=collapse][aria-expanded=true]::after {
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    transform: rotate(-180deg)
}

.mail-category .nav-item ul.collapse-level-1 .nav-item .nav-link {
    padding: .35rem 1rem .35rem 2rem !important;
    font-size: 14px
}

.chatapp-info header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-flex-pack: space-between;
    height: 72px;
    padding: 0 15px;
    background: #fff;
    border-bottom: 1px solid #eaecec;
    color: #324148
}

    .chatapp-info header span {
        font-size: 20px;
        font-weight: 600;
        text-transform: capitalize
    }

.chatapp-info {
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
    border-left: 1px solid #eaecec !important
}

    .chatapp-info .info-body {
        background: #fff;
        height: calc(100% - 72px)
    }

.bot-studio .seperator-line {
    margin-top: 10px;
    margin-bottom: 10px;
    border-top: 1px solid #eaecec;
    border-color: rgba(255,255,255,.05)
}

.bot-studio .user-activity .media {
    padding-bottom: 10px !important
}

.bot-studio .user-activity .media-body {
    padding-bottom: 0 !important;
    border-bottom: 0 !important
}

.bot-studio .user-activity .card, .bot-studio .user-activity .card .card-body .form-group {
    margin-bottom: 0 !important
}

    .bot-studio .user-activity .card .card-body {
        padding: 10px 0
    }

        .bot-studio .user-activity .card .card-body .media-img-wrap {
            position: inherit
        }

.bot-msg {
    color: #5e7d8a6e !important
}

.bot-msg-active {
    color: #009b84 !important
}

.select2-results__option {
    display: none !important
}

.select2-search__field {
    min-width: 75px
}

.select2-dropdown {
    border: 0
}

.show-results .select2-results__option {
    display: block !important
}

@keyframes ring {
    0% {
        transform: rotate(35deg)
    }

    12.5% {
        transform: rotate(-30deg)
    }

    25% {
        transform: rotate(25deg)
    }

    37.5% {
        transform: rotate(-20deg)
    }

    50% {
        transform: rotate(15deg)
    }

    62.5% {
        transform: rotate(-10deg)
    }

    75% {
        transform: rotate(5deg)
    }

    100% {
        transform: rotate(0)
    }
}

@-webkit-keyframes stripes {
    from {
        background-position: 0 0
    }

    to {
        background-position: 60px 30px
    }
}

@keyframes stripes {
    from {
        background-position: 0 0
    }

    to {
        background-position: 60px 30px
    }
}

@media (max-width:768px) {
    .for-mobile {
        display: block
    }

    .for-not-mobile {
        display: none
    }

    .crm-filter-left, .crm-filter-right {
        text-align: center !important
    }

        .crm-filter-left .float-left, .crm-filter-right .float-right {
            float: none !important
        }

    .chatapp-wrap .chatapp-right header .back-user-list, .chatapp-wrap .chatapp-right header .media .media-img-wrap {
        margin-right: 10px
    }

    .chatapp-wrap .chatapp-right header .chat-options-wrap > a {
        margin-left: 10px
    }

    #overlay_chat {
        width: 100% !important
    }

    .chat-container, .usr-container {
        /*height: calc(100vh - 192px)*/
    }

    #Chat_Card .wrap-actions {
        display: grid;
        top: 72px;
        float: right;
        position: absolute;
        right: 5px;
        background: #fff;
        z-index: 1;
        text-align: center
    }

    .wrap-actions > a, .wrap-actions > div {
        margin: 10px 0 0 !important;
        background: #fff;
        border-bottom: 1px solid #eaecec;
        padding: 0 10px 10px
    }

        .wrap-actions > div.btn-group {
            display: inline-block
        }

    #ltIsChat {
        padding: 0
    }
}

@media (min-width:768px) {
    .for-mobile {
        display: none
    }

    .for-not-mobile {
        display: inline
    }
}

.hk-wrapper.hk-horizontal-nav .hk-nav.hk-nav-dark .navbar-nav .nav-item.active > .nav-link .nav-link-text {
    border-bottom: 2px solid #009b84
}

.mnw-200p {
    min-width: 210px !important
}
