@font-face {
    font-family: 'MyriadPro';
    src: local('MyriadPro'),
         url('/fonts/MyriadPro/MyriadPro-Regular.ttf') format('truetype'),
         url('/fonts/MyriadPro/MyriadPro-Regular.eot?#iefix') format('embedded-opentype'),
         url('/fonts/MyriadPro/MyriadPro-Regular.woff') format('woff'); 
    font-weight: 400;
    font-style: normal;
}

/* SemiBold */

@font-face { 
    font-family: 'MyriadPro';
    src: local('MyriadPro'),
         url('/fonts/MyriadPro/MyriadPro-SemiBold.ttf') format('truetype'),
         url('/fonts/MyriadPro/MyriadPro-SemiBold.eot?#iefix') format('embedded-opentype'),
         url('/fonts/MyriadPro/MyriadPro-SemiBold.woff') format('woff'); 
    font-weight: 500;
    font-style: normal;
}

/* Bold */

@font-face {
    font-family: 'MyriadPro';
    src: local('MyriadPro'),
         url('/fonts/MyriadPro/MyriadPro-Bold.ttf') format('truetype'),
         url('/fonts/MyriadPro/MyriadPro-Bold.eot?#iefix') format('embedded-opentype'),
         url('/fonts/MyriadPro/MyriadPro-Bold.woff') format('woff'); 
    font-weight: 700;
    font-style: normal;
}

/* Italic */

@font-face {
    font-family: 'MyriadPro';
    src: local('MyriadPro'),
         url('/fonts/MyriadPro/MyriadPro-Italic.ttf') format('truetype'),
         url('/fonts/MyriadPro/MyriadPro-Italic.eot?#iefix') format('embedded-opentype'),
         url('/fonts/MyriadPro/MyriadPro-Italic.woff') format('woff'); 
    font-weight: normal;
    font-style: italic;
}

/* BoldItalic */

@font-face {
    font-family: 'MyriadPro';
    src: local('MyriadPro'),
         url('/fonts/MyriadPro/MyriadPro-BoldItalic.ttf') format('truetype'),
         url('/fonts/MyriadPro/MyriadPro-BoldItalic.eot?#iefix') format('embedded-opentype'),
         url('/fonts/MyriadPro/MyriadPro-BoldItalic.woff') format('woff'); 
    font-weight: 700;
    font-style: italic;
}

/* SemiBoldItalic */

@font-face {
    font-family: 'MyriadPro';
    src: local('MyriadPro'),
         url('/fonts/MyriadPro/MyriadPro-SemiBoldItalic.ttf') format('truetype'),
         url('/fonts/MyriadPro/MyriadPro-SemiBoldItalic.eot?#iefix') format('embedded-opentype'),
         url('/fonts/MyriadPro/MyriadPro-SemiBoldItalic.woff') format('woff'); 
    font-weight: normal;
    font-style: italic;
}

:root{
    --primary: #2EC0B3;
    --danger: #f44336;
    --light: #ABABAB;
    --gray: #C9C9C9;
    --purple: #7C86DD;
    --purple-50: #F8F5FF;
    --purple-100: #E2E4F7;
    --purple-200: #C2C5DF;
    --purple-500: #7C86DD;;
    --purple-700: #4E58B0;
    --purple-800: #55597C;
    --green-500: #2EC0B3;
    --gray-50: #FBFBFC;
    --gray-100: #F2F5FA;
    --gray-200: #EBEEF4;
    --gray-400: #E1E7ED;
    --gray-500: #BCC2D0;
    --gray-600: #828D9F;
    --gray-700: #666666;
    --gray-800: #4B4B4B;
    --gray-900: #2C2C2C;
    
    
    --input-font-size: 13px;
    --input-height: 35px;
    --base-font-size: 13px;
    --small-font-size: 12px;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: var(--base-font-size);
    background-color: var(--gray-100);
    color: var(--gray-700);
    font-weight: 400;
}

a, 
.navbar-light .navbar-text a{
    color: var(--primary);
    font-weight: 600;
}

b{
    font-weight: 600;
}

.page-content{
    height: calc(100vh - 75px);
    overflow: auto;
}

.content-wrapper{
    height: 100%;
    overflow: auto;
}

.content{
    height: 100%;
    overflow: auto;
    padding: 15px 35px;
}

.card {
    border-radius: 7px;
    margin-bottom: 10px;
    border: none;
}

.card-body{
    padding: 10px 10px 20px;
}

.form-control{
    padding: 9px 10px;
    border: 1px solid #D3D5DA;
    border-radius: 4px;
    font-size: var(--input-font-size);
    height: var(--input-height);
    color: var(--gray-900);
}

.form-label{
    font-weight: 600;
    color: var(--gray-900);
    line-height: 16px;
    margin-bottom: 10px;
}

.form-group{
    margin-bottom: 20px;
    color: var(--gray-900);
}

.filter-right{
    position: fixed;
    top: 150px;
    right: -350px;
    display: flex;
    align-items: flex-start;
    transition: 0.6s all ease;
    z-index: 1000;
}

.reverse{
    transform: rotate(180deg);
}

.pointer{
    cursor: pointer !important;
}

.filter-right .filter-content{
    width: 350px;
    background: #fff;
    transition: 0.6s all ease;box
    box-shadow: 0 3px 12px rgba(0,0,0,.05);
    border: 1px solid #e4eaec;
    padding: 15px;
}

.filter-right.open{
    right: 0;
}

.filter-selected{
   display: none;
   align-items: center;
   padding-bottom: 10px;
}

.filter-selected>span{
    cursor: pointer;
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
}
.filter-selected>span>i{
    display: inline-block;
    margin-left: 5px;
}

.card.note-editor {
    border-radius: 0;
}

.contact-item{
    position: relative;
}

.delete-block{
    position: absolute;
    top: 0;
    right: 0;
    color: #f44336;
    cursor: pointer;
}

.daterangepicker .table-condensed tr>td, 
.daterangepicker .table-condensed tr>th, 
.daterangepicker .table-condensed thead tr:last-child th{
    padding: 0;
}

.daterangepicker .ranges{
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.daterangepicker .ranges li.active {
    background-color: #26a69a;
    color: #fff;
}

.page-title {
    padding: 1rem 0;
}
[data-action=collapse]:after {
    display: none;
}

.font-40{
    font-size: 40px;
}

.h-600{
    height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

.h-500{
    height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.c3-chart-arcs-title{
    font-weight: bold;
    font-size: 24px;
}

.flex-center{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.flex-center-left{
    display: flex !important;
    align-items: center!important;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.flex-center-right{
    display: flex !important;
    align-items: center!important;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.flex-center-between{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navbar-brand img {
    height: auto;
}

#search .form-group{
    margin: 0;
}

#search .form-control{
    width: 250px;
}

.datatable-header{
    display: none;
}

.btn-primary,
.bg-primary, 
.badge-primary {
    background-color: var(--primary) !important; 
}

.btn-primary:hover {
    background-color: var(--primary); 
}

.btn-primary svg path{
    fill: #fff; 
}

.btn-default, .btn-default:hover {
    background-color: #F4F5F7 !important;
    color: var(--gray-900) !important; 
    font-weight: 600 !important; 
}

.btn-info, .btn-info:hover {
    background-color: var(--purple-100)!important;
    color: var(--purple-800) !important; 
    font-weight: 600 !important; 
}

.btn-purple, .btn-purple:hover {
    background-color: var(--purple-500)!important;
    color: #fff; 
    font-weight: 600 !important; 
}

.btn-gray-100, .btn-gray-100:hover {
    background-color: var(--gray-100) !important;
    color: var(--gray-600) !important; 
    font-weight: 600 !important; 
}

.fab-menu-btn{
    cursor: pointer;
}

.webphone-float{
    position: absolute;
    bottom: -50px;
    width: 250px;
    background: #fff;
    left: -210px;
    padding: 20px;
}

.cl_c2k_btn{
    display: flex;
    align-items: flex-end;
    position: relative;
    justify-content: center;
}
.cl_c2k_btn .cl_c2k_status{
    margin-left: 10px;
}

.cl_c2k_btn{
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
}
.sidebar{
    overflow: auto;
}

.sidebar-dark {
    background-color: var(--gray-800);
}

.sidebar-dark .sidebar-mobile-toggler{
    background-color: var(--gray-800) !important;
    border-bottom: none;
}

.btn-create{
    display: flex;
    align-items: center;
}

.btn-create i{
    font-size: 12px !important;
}

.btn svg{
    flex-shrink: 0;
}

.btn{
    padding: 8px 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}


.dataTables_paginate .paginate_button.current, 
.dataTables_paginate .paginate_button.current:focus, 
.dataTables_paginate .paginate_button.current:hover {
    background: transparent;
}

.dataTables_paginate span .paginate_button{
    color: var(--primary)!important;
    font-size: 16px;
    font-weight: 600;
    background: transparent;
}

.dataTables_paginate .paginate_button{
    color: var(--primary)!important;
}

.dataTables_paginate .paginate_button.disabled, 
.dataTables_paginate span .paginate_button.current{
    color: #666666 !important;
}

.paginate_button.next, .paginate_button.previous
{
    display: inline-block !important;
}

.datatable-footer{
    display: flex;
    justify-content: center;
    border: none;
}

.datatable-scroll {
    height: 65vh;
}
 
.filter-params span{
    display: inline-block;
    cursor: pointer;
    margin-bottom: 10px;
    margin-right: 5px;
    padding: 6px 15px;
}

.script-wrapper{
    overflow: hidden;
}

.c3-legend-item.c3-legend-item-hidden text{
    fill: #eee;
}

.media-chat-scrollable {
    max-height: 380px;
    height: 380px;
    overflow-x: hidden;
}

[data-client].active a{
    background-color: rgba(124, 134, 221, 0.1) !important;
}

.text-finded{
    background: #ddeb38;
}

.text-small{
    font-size: var(--small-text-size);
}

.text-gray{
    color: var(--gray-600);
}

.dz-preview{
    display: none;
}

.file-item{
    position: relative;
    padding: 5px 10px;
    border: 1px solid #eee;
    margin-right: 10px;
}

.image-item{
    position: relative;
}

.file-item .delete-file,
.image-item .delete-file{
    position: absolute;
    top: 0;
    right: 0;
    color: var(--danger);
    z-index: 20;
}

.image-item .delete-file{
    background: #ffffff8a;
}

audio{
    outline: none;
}

.tab-client{
    height: calc(100vh - 340px);
    overflow-y: auto;
    overflow-x: hidden;
}

.datatable-scroll{
    width: 100%;
    overflow: auto;
}

.down-label + label{
    display: block;
}

.table-cell-shortcut{
    height: 30px;
    position: absolute;
    top: 0;
    left: 0;
}

.article-text img{
    cursor: pointer;
}


.backdrop{
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000dd;
    overflow: hidden;
    display: none;
    align-items: center;
    justify-content: center;
}

.backdrop.open{
    display: flex;
}

.backdrop img{
    max-width: 80% !important;
    width: 100% !important;
    max-height: 80% !important;
    height: 100% !important;
    z-index: 1000000;
    object-fit: contain;
}

.no-margin-form .form-group{
    margin-bottom: 0;
}

.form-control::-webkit-input-placeholder { color: var(--gray-600); font-weight: 400;}
.form-control:-ms-input-placeholder { color: var(--gray-600); font-weight: 400;}
.form-control::-ms-input-placeholder { color: var(--gray-600); font-weight: 400;}
.form-control::placeholder { color: var(--gray-600); font-weight: 400;} 
  

.table thead th {
    font-weight: 600;
    line-height: 16px;
    color: var(--gray-600);
}

.table td, .table thead th {
    border: none;
    padding: 18px 19px;
}

.footer{
    color: #ABABAB;
    height: 50px;
    flex-shrink: 0;
}

.text-light{
    color: var(--gray-600) !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--gray-50);
}

.nav-sidebar>.nav-item>.nav-link{
    font-size: 16px;
    font-weight: 400;
}

.sidebar-dark .nav-sidebar>.nav-item>.nav-link.active{
    background-color: #595959;
}
   
.sidebar-dark .nav-sidebar>.nav-item>.nav-link.delimiter:hover{
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
}
    
.table-toolbar{
    display: flex;
    align-items: center;
    color: #D3D5DA;
}

.table-toolbar  svg path{
    fill: #D3D5DA;
}

.table-toolbar .btn:hover svg path{
    fill: #2EC0B3;
}

.table-toolbar .btn:hover svg path.white-path{
    fill: #ffffff;
}

.table-toolbar .btn:hover svg rect{
    fill: #2EC0B3;
}

.table-toolbar .btn {
    padding: 4px 5px !important;
}

.table-toolbar .btn:hover{
    box-shadow: none !important;
}


.auth-body{
    background-color:  #F4F5F7;
    background-image: url('/img/backgrounds/auth.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.auth-body .card{
    box-shadow: 0px 0px 26px rgba(0, 0, 0, 0.04);
    border-radius: 7px;
}

.auth-body .card .card-body{
    padding: 40px 50px;
}

.error-body .btn{
    font-size: 18px;
}

.error-description{
    position: absolute;
    top: 15px;
    right: 10%;
    text-align: center;
    color: var(--gray-600);
    font-size: 23px;
    line-height: 29px;
}

.error-description .error-code{
    color: #2EC0B3;
    font-weight: 600;
    font-size: 72px;
    line-height: 61px;    
}

.error-description b{
    color: #2EC0B3;
    font-weight: 600;
    font-size: 28px;
    line-height: 35px;
}

.modal-title{
    font-weight: 600;
    font-size: 22px;
    line-height: 30px;
    color: var(--gray-900);
    padding-right: 30px;
}

.select2-container{
    border-radius: 4px;
    font-size: var(--input-font-size);
    color: var(--gray-900);
    min-height: var(--input-height);
}

.select2-selection--single{
    border: 1px solid #C9C9C9 !important; 
    height: var(--input-height);
    padding: 5px 0;
}

.select2-selection--single .select2-selection__arrow:after{
    color: var(--primary);
    font-weight: 900;
}

.select2-search--dropdown {
    padding: 7px;
}

.modal-body{
    padding: 20px 50px;
}

.modal-header, .modal-footer{
    padding: 20px 50px;
    align-items: center;
}

.btn svg{
    height: 13px;
}

.btn-link{
    color: var(--primary);
    font-size: 18px;
    line-height: 0;
    font-weight: 600;
}

.btn-sm.btn-link{
    font-size: 13px;
}

.btn-link svg path{
    fill: #7C86DD;
}
.modal-footer .btn-primary{
    width: 50%;
}

.navbar-light {
    color: #666666;
    background-color: #F4F5F7;
    border: none !important;
}

.page-header-light {
    border: none;
}

.navbar-header .navbar-brand-md {
    background-color: var(--gray-800);
    margin-left: 0;
    display: flex;
    align-items: center;
    width: 300px;
    padding: 1rem 30px;
    height: 100%;
}

.sidebar-xs .navbar-header .navbar-brand-xs{
    background-color: var(--gray-800);
    height: 100%;
    position: relative;
    text-align: left;
    padding: 15px 15px;
}

.sidebar-xs .navbar-header .navbar-brand-xs svg{
    height: 25px;
    width: 25px;
}

.nav-sidebar .nav-link {
    padding: 8px 30px;
}

.sidebar{
    width: 300px;
}

.bg-info{
    background-color: var(--purple) !important;
}

.navbar {
    padding-right: 50px;
}

.vip-icon{
    text-transform: uppercase;
    color: #fff;
    background: #000;
    border-radius: 20px;
    display: inline-block;
    font-weight: bold;
    font-size: 10px;
    line-height: 13px;
    padding: 2px 10px;     
}         

.dataTables_info{
    position: absolute;
    left: 15px;
}

.btn-gray{
    background: #F4F5F7;
    color: var(--gray-800);
    font-weight: 600;
    
}
.switch{
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch label{
    margin-right: 10px;
    margin-bottom: 0;
}

.switch.checked .switcher svg{
    transform: none;
}

.switch.checked .switcher svg .switch-background{
     fill: var(--purple);
}

.switch .switcher{
    cursor: pointer;
}

.switch .switcher svg{
    transform: rotate(180deg);
}

.switch .switcher svg .switch-background{
    fill: var(--gray);
}

.form-group{
    position: relative;
}

#search .form-control{
    background: #F4F5F7;
    border-radius: 20px;
    color: var(--gray-600);
    font-size: 13px;
    line-height: 16px;
    border: none;
    height: 38px;
    position: relative;
    padding-right: 40px;
    padding-left: 15px;
}

#search .form-group:before,
.form-group.search:before{
    position: absolute;
    content: '';
    background: url('/img/search.svg') no-repeat center;
    width: 30px;
    height: 30px;
    top: 50%;
    margin-top: -15px;
    right: 5px;
    z-index: 100;
}

.page-tabbar{
    display: flex;
    width: 100%;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}

.page-tabbar a{
    color: var(--gray-900);
    font-weight: 600;
    font-size: 16px;
    padding: 12px 8px;
    min-width: 100px;
    text-align: center;
}

.page-tabbar a:hover, 
.page-tabbar a.active{
    color: var(--primary);
    border-bottom: 4px solid var(--primary);
}


.navbar-nav-link .badge {
    right: -5px;
    top: -3px;
}

.channel-unread-messages{
    font-size: 10px;
    right: 12px !important;
    top: 5px !important;
}

.client-header{
    color: var(--gray-900)
}

.client-header.vip{
    border: 1px solid #FFB865;
}

.client-header h4{
    font-size: 18px;
    font-weight: 600; 
}

.gray-text{
    color: #666666!important;
}

.text-primary{
    color: var(--primary) !important;
}

.stroke-primary svg path{
    stroke: var(--primary) !important;
}

.bg-gray{
    background: #F4F5F7;
}

.bg-gray-50{
    background: var(--gray-50);
}

.bg-gray-100{
    background: var(--gray-100);
}

.bg-gray-200{
    background: var(--gray-200);
}

.bg-gray-500{
    background: var(--gray-500);
}

.bg-gray-600{
    background: var(--gray-600);
}

.btn-circle{
    border-radius: 100%;
    width: 35px;
    height: 35px;
}

.drp-buttons button{
    display: inline-block;
}

.ln-h-0{
    line-height: 0 !important;
}

.text-primary svg path{
    fill: var(--primary);
}

.card-title{
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color:var(--gray-900);
}

.text-info, 
.text-info:hover,
a.text-info:hover,
a.text-info:focus{
    color: var(--purple) !important;
}

.text-info svg path{
    fill: var(--purple) !important;
}

.text-purple-800, 
.text-purple-800:hover,
a.text-purple-800:hover,
a.text-purple-800:focus{
    color: var(--purple-800) !important;
}

.text-purple-800 svg path{
    fill: var(--purple-800) !important;
}

.text-purple-700, 
.text-purple-700:hover,
a.text-purple-700:hover,
a.text-purple-700:focus{
    color: var(--purple-700) !important;
}

.text-purple-700 svg path{
    fill: var(--purple-700) !important;
}

.text-purple-200, 
.text-purple-200:hover,
a.text-purple-200:hover,
a.text-purple-200:focus{
    color: var(--purple-200) !important;
}

.text-purple-200 svg path{
    fill: var(--purple-200) !important;
}


.media-title{
    font-weight: 600;
    line-height: 16px;
    color: var(--gray-900);
}

.wrapper-chat-messages{
    background: transparent;
    border: none;
}
.media-chat-item {
    background-color: #fff !important;
    border-radius: 0px 24px 24px 24px;
    max-width: 80%;
}

.media-chat-item:before {
    display: none;
}

.media-chat-item-reverse .media-chat-item{
    background-color: var(--purple) !important;
}

.media-chat .media.media-chat-item-reverse{
    margin-left: 0;
}

#send-message{
    height: 44px;
}

*::-webkit-scrollbar {
   width: 4px;
   height: 6px;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--primary);
}

.c3-chart-arc text{
    font-size: 18px;
    font-weight: 600;
}

.form-group-gray .form-control{
    background: #F4F5F7;
    border-radius: 20px;
    color: var(--gray-600);
    font-size: 13px;
    line-height: 16px;
    border: none;
    height: 38px;
    position: relative;
}

.nav-sidebar .nav-link{
    align-items: center;
}

.sidebar .nav-item svg path{
    fill: #fff;
}

.form-control-gray .select2-selection--single {
    background: #F4F5F7;
    border: none !important;
    border-radius: 50px;
    height: 38px;
    padding: 9px 0;
}

.form-control-gray  .select2-container--open .select2-selection--single{
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.form-control-gray .select2-container{
    font-size: 13px;
    color: var(--gray-800);
}

.form-control-gray .form-control{
    background: #F4F5F7;
    border-radius: 20px;
    color: var(--gray-600);
    font-size: 13px;
    line-height: 16px;
    border: none;
    height: 38px;
    padding: 10px 18px;
}

.form-control-gray .btn{
    height: 38px;
}

.table-long, .table-long .datatable-scroll{
    overflow-x: auto; 
}
.table-long table{
    min-width: 100%;
    width: auto;
}
.table-height-auto .datatable-scroll {
    height: auto;
}

 .w-xs-100{
    width: auto; 
 }
 
 .sidebar-content .nav-item svg{
    height: 12px;
    width: 12px;
 }
 
 
 .navbar-light {
    color: #666666;
    background-color: #4b4b4b;
    border: none !important;
    padding-right: 20px;
    
}
 
 .navbar-collapse {
    border-top-left-radius: 80px;
    background: #F4F5F7;
    padding-right: 40px;
}

.btn-phone{
    justify-content: center;
    align-items: center;
    padding: 4px 24px;
    background: #FFFFFF;
    border-radius: 3px;
    margin-bottom: 6px;
}

.btn-phone.backspace{
    padding: 4px 53px;
}

.phone-digits{
    background: #E1E7ED;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 15px;
    border-radius: 3px;
    min-width: 230px;
}


.btn-outline-primary{
    border: 1px solid var(--primary);
}

.btn-outline-primary:not([disabled]):not(.disabled).active,
.btn-outline-primary:not([disabled]):not(.disabled):active, 
.show>.btn-outline-primary.dropdown-toggle, 
.btn-outline-primary:hover{
    background-color: var(--primary);
    border-color: var(--primary);
}

.emoji-wysiwyg-editor{
    overflow: hidden;
    height: 44px !important;
    padding: 12px 10px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.emoji-picker-icon{
    position: static;
    height: 44px !important;
    border-radius: 0;
    width: 44px;
    background-image: url(/svg/smile.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70% 70%;
}

.text-info svg>path{
    fill: var(--purple);
}

.header-back a{
    display: flex;
    align-items: center;
}
.header-back a svg{
    margin-right: 5px;
}

.mobile-page-title{
    display: none;
}

.wrapper-chat-messages .card-footer button{
    height: 44px;
}

#attach-image svg{
    width: 15px;
    height: 20px;
}
#attach-image{
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.message-attach-image{
    display: block;
}

.message-attach-image img{
    width: 100px;
}
.refresh-datatable{
    padding: 8px !important;
    
}
.refresh-datatable svg{
    height: 18px;
}

.project-header-toolbar{
    display: flex;
    flex-wrap: wrap;
}

.project-header-toolbar a{
    margin-right: 15px;
    margin-bottom: 10px;
}

.bordered{
    border: 1px solid var(--gray);
}

.dashboard-widget{
    height: 100%;
    max-height: 500px;
    overflow: auto;
    min-height: 250px;
}

.table.table-sm td, .table.table-sm th {
    padding: .625rem 1.25rem;
}

.loader{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff66;
    z-index: 1000;
}

.refresh-widget{
    padding: 6px 6px;
}

.refresh-widget svg{
    width: 15px;
    height: 15px;
}

.btn.btn-sm{
    padding: 5px 15px;
}

.bg-warning{
    background: #ffa68a !important;
    color: #fff;
}

.dropdown-menu{
    max-height: 300px;
    overflow: auto;
}

.dd-item{
    cursor: pointer;
}

.dd-handle{
    height: auto;
    padding-left: 20px;
}

.menu-item-toolbar{
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 100;
    top: 4px;
    right: 0;
}
.menu-item-toolbar .btn{
    padding: 5px 3px;
}

.dd-item>button {
    position: absolute;
    top: 2px;
    left: 4px;
    width: 15px;
    height: 24px;
    margin: auto;
    outline: none;
}

.dd-item>button:before{
    font-size: 18px;
    font-weight: bold;
    top: 50%;
    margin-top: -9px;
}

.image-item{
    box-shadow: 0 3px 12px rgba(0,0,0,.05);
    overflow: hidden;
}

.product-main-image .image-item{
    height: 400px;
    width: 400px;
    position: relative;
}

.image-item .image-link{
    width: 100%;
    height: 100%;
}

.image-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s all ease;
}

.image-item img:hover{
    transform: scale(1.1);
}

.product-gallery-image .image-item{
    height: 100px;
    width: 100px;
    position: relative;
    margin-right: 15px;
}

.white-path{
    fill: #fff !important;
}

.product-card-name{
    
}

.product-card-price{
    font-size: 18px;
    font-weight: bold;
    color: var(--gray-900);
}

.customer-card .page-tabbar{
    justify-content: flex-start;
    border-bottom: 1px solid #E1E7ED;
}
.customer-card .page-tabbar a{
    font-weight: 400;
    color: #666;
    font-size: 13px;
    border-bottom: 3px solid #ffffff;
    min-width: auto;
    padding: 0 5px;
    padding-bottom: 5px;
}

.customer-card .page-tabbar .nav-item{
    margin-bottom: 0;
    margin-right: 40px;
}

.customer-card .page-tabbar .nav-item:last-of-type {
    margin-right: 0;
}

.customer-card .page-tabbar a.active,
.customer-card .page-tabbar a:hover{
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

h4{
    font-weight: 600;
    font-size: 18px;
    line-height: 23px;
}

h5{
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
}

.text-gray-600{
    color: var(--gray-600) !important;
}

.text-gray-800{
    color: var(--gray-800) !important;
}

.text-gray-900{
    color: var(--gray-900) !important;
}

.radio-control .radio-list{
    display: flex;
    align-items: center;
    height: calc(1.5385em + .875rem + 2px);
}

.radio-control .radio-list .radio{
    margin-right: 15px;
}

.radio-control .radio-list .radio input{
    display: none;
}

.radio label{
    display: flex;
    margin: 0;
    cursor: pointer;
}

.radio .radio-checker{
    width: 16px;
    height: 16px;
    background: #E0DFEC;
    border-radius: 2px;
    margin-left: 10px;
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s all ease;
}

.radio input:checked + .radio-checker{
    background-color: #4E46B4;
    background-image: url(/img/check.svg); 
}


.search-container{
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    background: #fff;
    border: 1px solid #D3D5DA;
    right: 0;
    left: 0;
    display: none;
    z-index: 10000;
    overflow-y: auto;
    max-height: 200px;
}

.search-container li{
    padding: 6px 10px;
    cursor: pointer;
}

.search-container span{
    padding: 10px 5px;
    display: block;
}

.search-container li:hover{
    background: var(--gray-100);
}

.order-products .form-control{
    font-size: 13px;
    height: 30px;
}

.customer-orders-item{
    padding: 15px;
    border-radius: 3px; 
    border: 1px solid var(--gray-200);
    margin-bottom: 10px;
}

.order-status{
    text-transform: uppercase;
    display: inline-block;
    padding: 3px 5px;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 10px;
    line-height: 13px;
    border-radius: 2px;
    background: var(--gray-200);
}
.product-field{
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 10px;
}

.product-field>*{
    z-index: 1;
    background: #fff;
}

.product-field span:first-of-type{
    padding-right: 5px;
}

.product-field span:last-of-type{
    padding-left: 5px;
}
.product-field:before{
    content: '';
    position: absolute;
    bottom: 5px;
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed var(--gray-500);
    display: block;
    z-index: 0;
}

.modal .close{
    display: block;
    position: absolute;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.07);
    right: 0;
    top: 0;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
}

.modal .modal-content{
    position: relative;
}

.modal .close svg{
    width: 13px;
    height: 13px;
}

.modal .close svg path{
    fill:  #363848;
}

.modal .modal-body{
    padding: 10px 30px;;
}

.modal .modal-header{
    padding: 10px 30px;
}
.modal .modal-footer{
    padding: 20px 30px;
}

.change-modal #search .form-control{
    width: 100%;
}


.change-modal .results-list-item{
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 2px;
    background: #fff;
}

.change-modal .results-list-item:hover, 
.change-modal .results-list-item.active{
    background: var(--gray-100);
}

.change-modal .results-list-item:hover:after, 
.change-modal .results-list-item.active:after{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--purple-500);
    content: '';    
}
.change-modal .results-list-item>*{
    z-index: 1;
    background: inherit;
}

.change-modal .results-list-item span:first-of-type{
    padding-right: 5px;
}

.change-modal .results-list-item span:last-of-type{
    padding-left: 5px;
}
.change-modal .results-list-item:before{
    content: '';
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 1px;
    border-bottom: 1px dashed var(--gray-500);
    display: block;
    z-index: 0;
}

.order-sidebar-card{
    padding: 15px;
    background: var(--gray-50);
    border: 1px solid  var(--purple-100);
    box-sizing: border-box;
}

.order-sidebar-card .change-status .badge{
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    
}

hr{
    border-color: var(--gray-200);
}

.addresses-list-item{
    padding: 12px 15px;
    border: 1px solid var(--purple-100);
}

.addresses-list-item.active{
    border: 1px solid var(--purple-500);
}

.delivery-address-item{
    padding: 12px 15px;
    border: 1px solid var(--purple-100);
    cursor: pointer;
    color: var(--gray-700) !important;
}

.delivery-address-item.active, 
.delivery-address-item:hover{
    border: 1px solid var(--purple-500);
    color: var(--gray-900) !important;
}

.delivery-list .change-cell{
    width: 100px;
    text-align: center;
}

.delivery-list .change-cell span{
     display: none;
}

.delivery-list tr{
    cursor: pointer;
}

.delivery-list tr:hover .change-cell span{
    display: inline-block;
}
.top-select{
    width: 220px;
    
}
.top-select .select2-container{
    border-radius: 50px;
    font-size: 13px;
    background: #fff;
    overflow: hidden;
    font-weight: 600;
    height: 45px;
}

.top-select  .select2-selection--single {
    height: 45px;
    display: flex;
    align-items: center;
    border: none !important;
}

.checkbox-inverse label{
    flex-direction: row-reverse;
    
}

.checkbox-inverse .radio .radio-checker {
    margin-left: 0;
    margin-right: 10px;
}

.select2-search--dropdown:after {
    left: 20px;
}

.calendar{
    width: 100%;
    overflow-y: auto;
    display: flex;
    height: 60vh;
    flex-direction: column;
}

.calendar-center{
    overflow-x: auto;
    transition: 0.4s all ease;
    overflow-y: hidden;
    position: relative;
    height: max-content;
    
}   


.calendar-header{
    display: flex;
    background: #fff;
    z-index: 600;
   /* position: absolute;
    top: 0;
    left: 0;
    right: 0;*/
    position: sticky
}


.calendar-cell{
    width: 65px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: var(--gray-50);
    margin: 6px 8px;
    flex-shrink: 0;
    padding: 8px;
    position: relative;
}



.calendar-row{
    display: flex;
    position: relative;
}

.calendar .calendar-row .calendar-cell:first-of-type{
    width: 200px !important;
    flex-shrink: 0;
    justify-content: flex-start;
    background: #fff;
    align-items: center;
    flex-direction: row;
    cursor: default !important;
    z-index: 500;
    margin-left: 0;
    border-radius: 0;
    font-weight: 600;
    color: var(--gray-900);
    position: sticky;
    left: 0;
}


.calendar .calendar-row .calendar-cell:first-of-type:hover:after, 
.calendar-header .calendar-cell:hover:after{
    display: none !important;
}

.calendar-left  .calendar-cell{
    color: var(--gray-900);
    font-weight: 600;
}


.calendar-row .calendar-cell:before{
    content: '';
    position: absolute;
    left: -8px;
    bottom: -8px;
    right: -8px;
    height: 1px;
    background:  var(--gray-200);
}

.calendar-header .calendar-cell{
    background: #fff;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    border: 1px solid #fff; 
    border-top-width: 6px;
}

.calendar-header{
    position: sticky;
    top: 0;
}

.calendar-header .day-number{
    color: var(--gray-900);
    font-size: 16px;
    font-weight: 700;
}

.calendar-cell.weekend .day-number{
    color: #F4D073;
}

.calendar-cell.today{
   border-color: #E96EB7; 
}

.calendar-cell .event-cell{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--purple-50);
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    z-index: 20;
    border-radius: 4px;
    cursor: pointer;
    line-height: 16px;
    word-break: break-all;
    font-size: 12px;
    overflow: hidden;
    padding: 5px 3px;
}

.calendar-cell .event-cell.range-event{
    right: -20px;
}

.calendar-cell .event-cell.range-event.last-range{
    right: 0;
}

.calendar.editable .calendar-cell{
    cursor: pointer;
}

.calendar.editable .calendar-row .calendar-cell:hover:after{
    content: '+';
    position: absolute;
    display: block;
    color: var(--purple-500);
    font-size: 16px;
    top: 50%;
    left: 50%;
    margin-top: -12px;
    margin-left: -4px;
    z-index: 10;
}

.side-panel{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #00000088;
    z-index: 1000;
}

.side-panel .panel-content{
    position: absolute;
    width: 450px;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    padding: 30px 50px;
    display: flex;
    flex-direction: column;
}

.side-panel .panel-content .panel-close{
    top: 5px;
    left: -20px;
    width: 40px;
    height: 40px;
    position: absolute;
    background: #fff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.side-panel .panel-body{
    flex-shrink: 1;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}


.side-panel .panel-header{
    display: flex;
    width: 100%;
    justify-content: center;
    position: relative;
    margin-bottom: 30px;
}

.side-panel .panel-header .back{
    position: absolute;
    display: flex;
    align-items: center;
    left: 0;
    top: 2px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.side-panel .panel-header svg{
    width: 25px;
    height: max-content;
}

.side-panel .panel-title{
    color: var(--gray-900);
    font-weight: 600;
    font-size: 18px;
    line-height: 23px;
    text-align: center;
    margin-bottom: 0;
}

.input-date-hidden{
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    width: 100%;
}

.dropdown-admin-menu{
    width: 800px;
    max-height: none;
    
}

.admin-menu{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.admin-menu-title{
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}
.admin-menu-section{
    margin-bottom: 25px;
    width: calc(100%/3);
}

.admin-menu-section a{
    display: block;
}
.journal{
    width: 100%;
    position: relative;
    overflow: auto;
    height: 60vh;
}

.journal-header{
    display: flex;
    padding-left: 80px;
    flex-wrap: nowrap;
}

.journal-cell{
    width: 200px;
    flex-shrink: 0;
    height: 30px;
}

.journal-header{
    width: max-content;
}

.journal-header>div{
    border-radius: 4px;
}

.open-side-panel{
    position: fixed;
    z-index: 500;
    top: 50%;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--purple-200);
    margin-top: -15px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.open-side-panel svg{
    width: 8px;
    height: 15px;
}

.journal-row{
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    background: var(--gray-100);
    width: max-content;
}

.journal-time{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    padding: 7px 0;
    border-right: 1px solid var(--gray-200);
    background: #fff;
}
.journal-row:nth-of-type(2n) .journal-time{
    font-weight: 600;
}

.journal-row .journal-cell.is-noted{
    cursor: pointer;
    position: relative;
    background: var(--purple-500);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journal-row .journal-note-cell{
    cursor: pointer;
    background: var(--purple-500);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 200px;
    z-index: 500;
    border: 1px solid #fff;
}


.journal-row .journal-cell.active.is-noted:hover:after{
    display: none;
}

.journal-row .journal-cell.active.is-noted:hover{
    transform: scale(1.10); 
}

.journal-note-popover{
    width: 300px;
}
.journal-note-popover .list-services-item{
    padding: 5px 0;
}

.journal-note-popover .list-services-item>div{
    font-size: 12px !important;
}

.list-employees-item{
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 40px;
}

.list-employees.selectable .list-employees-item{
    padding: 5px;
}

.list-employees.selectable .list-employees-item:hover,
.list-employees.selectable .list-employees-item.selected{
    background: var(--gray-100);
    cursor: pointer;
}

.list-employees-item .delete{
    cursor: pointer;
    display: none;
    color: var(--danger);  
    margin-left: 15px;
}

.list-employees-item svg,
.list-employees-item rect{
    width: 20px;
    height: 20px;
}

.list-employees-item .delete svg{
    width: 22px;
    height: 22px;
}

.list-employees-item:hover .delete{
    display: block;
}

.employee-item-info{
    width: 100%;
    background: var(--gray-100);
    padding: 12px 15px;
    border-radius: 3px;
    margin-top: 10px;
    display: none;
}
.employee-item-info.open{
    display: block;
}

.list-filials-item{
    background: var(--gray-100);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
}

.list-filials-item.selected{
    color: #fff!important;
    background: var(--purple-500);
}

.selectable .list-filials-item{
    cursor: pointer;
}

.selectable .list-services-item{
    cursor: pointer;
}

.list-services-item{
    border-bottom: 1px solid var(--gray-400);
    padding: 15px  0;
    display: flex;
    align-items: center;
}
.list-services-item .service-name{
    flex-shrink: 1;
    width: 100%;
}

.list-services-item .service-price{
    width: 80px;
    color: #DF435F;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    flex-shrink: 0;
}

.list-services-item .service-duration{
    width: 80px;
    font-size: 12px;
    line-height: 15px;
    flex-shrink: 0;
}

.journal-note-popover .list-services-item .service-duration, 
.journal-note-popover .list-services-item .service-price{
    width: 60px;
}

.list-services-item .radio{
    width: 50px;
}

.list-timetables-item{
    display: flex;
    align-items: center;
}

.list-timetables-item .timetable-date{
    background: #fff;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    width: 50px;
    
}

.list-timetables-item .timetable-address{
    background: var(--gray-100);
    padding: 8px 12px;
    width: 100%;
}

.schedule-services .list-services-item{
    border: none;
    padding: 3px 0;
}

.journal-cell.active{
    background: #fff;
    cursor: pointer;
    position: relative;
}

.journal-cell.active:hover:after{
    content: '+';
    position: absolute;
    display: block;
    color: var(--purple-500);
    font-size: 16px;
    top: 50%;
    left: 50%;
    margin-top: -12px;
    margin-left: -4px;
    z-index: 10;
}

.has-icon{
    display: flex;
    align-items: center;
}

.has-icon svg{
    margin-right: 5px;
    height: 14px;
    width: 14px;
}
.has-icon svg>g{
    height: 14px;
    width: 14px;
}

.has-icon.right-icon svg{
    margin-left: 5px;
    margin-right: 0;
}

.note-notify-types{
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.note-notify-types label{
    margin-bottom: 0;
}

.note-notify-types span{
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;
    cursor: pointer;
    border: 1px solid transparent;
}

.note-notify-types span svg{
    margin-right: 5px;
}

.note-notify-types input:checked+span{
    background: #fff;
    border: 1px solid var(--gray-500);
}

.square-block{
    display: block;
    width: 100%;
}

.square-block:after {
    content: '';
    display: block;
    padding-top: 100%;
}

.avatar-form{
    background: url(/img/placeholders/avatar.png) no-repeat center;  
    background-size: cover;
    max-width: 200px;
    cursor: pointer;
}

.avatar-thumb{
    background: url(/img/placeholders/avatar_mini.png) no-repeat center;  
    background-size: cover;    
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.popover {
    max-width: none;
}

.list-services-item .radio .radio-checker{
    margin-left: 0;
    margin-right: 10px;
}

.note-form-steps{
    padding: 5px 0;
    font-weight: 600;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-400);
}

.note-form-steps span{
    margin: 0 3px;
}

.logs-table thead th,
.logs-table tbody td{
    padding: 10px 10px;
    border: 1px solid #eee;
}