/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #6A35D4 #c7c7c7;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-track {
    background: #c7c7c7;
}

*::-webkit-scrollbar-thumb {
    background-color: #E716EB;    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
    border: 3px solid #E716EB;  /* creates padding around scroll thumb */
}

body::-webkit-scrollbar-thumb {
    background-color: #6A35D4;    /* color of the scroll thumb */
    border: 3px solid #6A35D4;  /* creates padding around scroll thumb */
}

/*ricerca google visibile su un modal*/
select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
    display: none;
}

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

.ck-editor__editable_inline {
    min-height: 250px;
}
.nota-messaggio{
    background-color:#7CD6F4;
    padding-left:5px;
    padding-right:5px;
    border-radius:10px;
    display: block;
    text-align: center;
    padding-top: 4px;
    margin-bottom: 25px;
}
.attivita-messaggio{
    background-color:#ff7f42;
    padding-left:5px;
    padding-right:5px;
    border-radius:10px;
    display: block;
    text-align: center;
    padding-top: 4px;
    margin-bottom: 25px;
}
.intervento-messaggio{
    background-color:#2e47da;
    padding-left:5px;
    padding-right:5px;
    border-radius:10px;
    display: block;
    text-align: center;
    padding-top: 4px;
    margin-bottom: 25px;
    color: #ffffff;
}
.homepage-title {
    margin: 0;
    padding: 0 1rem 0 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0e0e0e !important;
}

.breadcrumb-start-icon {
    font-size: 1rem;
    color: #c5cbe7;
    padding: 5px;
}

.breadcrumb-start-icon:hover {
    color: #5d78ff;
}

.breadcrumb-separator {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: content;
    -ms-flex-pack: content;
    justify-content: content;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 0.35rem 0 0;
    color: #919191;
}

.breadcrumb-separator:after {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    content: " ";
    background: #919191;
}

.breadcrumb-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0.25rem 0;
    margin-left: 25px;
}

.breadcrumb-link {
    padding: 0 0.35rem 0 0;
    font-size: 1rem;
    font-weight: 500;
    color: #919191;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.breadcrumb-link:hover {
    color: #6e3eff;
}

.kt-portlet .kt-portlet__head .kt-portlet__head-label .kt-portlet__head-title {
    color: #0e0e0e;
    font-weight: 700;
}

.kt-widget25 .kt-widget25__items .kt-widget25__item .kt-widget25__desc {
    color: #0e0e0e;
    font-weight: 600;
    min-height: 70px;
}

.table thead td, .table thead th {
    color: #0e0e0e;
    font-weight: 500;
}

table.table-bordered.dataTable tbody td, table.table-bordered.dataTable tbody th {
    color: #0e0e0e;
    font-weight: 400;
}

.table thead th {
    font-weight: 700;
}

div.dataTables_wrapper div.dataTables_info,
div.dataTables_wrapper div.dataTables_length label,
.form-group label,
.kt-form label {
    color: #0e0e0e;
    font-weight: 500;
}

.select2-selection__placeholder {
    color: #0e0e0e;
}

.kt-notification .kt-notification__item .kt-notification__item-details .kt-notification__item-title {
    font-size: 1.1rem !important;
}

.kt-notification .kt-notification__item .kt-notification__item-details .kt-notification__item-time {
    color: #0e0e0e;
    font-weight: 500;
}

.kt-header .kt-header__topbar .kt-header__topbar-item.kt-header__topbar-item--user .kt-header__topbar-user .kt-header__topbar-username {
    color: #0e0e0e;
    font-weight: 700;
}

.form-control:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple, .select2-container--default.select2-container--focus .select2-selection--single, .select2-container--default.select2-container--open .select2-selection--multiple, .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #9978ff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__placeholder, .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #0e0e0e;
}

.btn {
    font-weight: 500;
}

.clicked-button {
    cursor: pointer;
    position: relative;
    border: none;
    transition-duration: 0.4s;
    overflow: hidden;
}

.clicked-button:after {
    content: "";
    background: #7649e9;
    display: block;
    position: absolute;
    padding-top: 300%;
    padding-left: 350%;
    margin-left: -20px !important;
    margin-top: -120%;
    opacity: 0;
    transition: all 0.8s
}

.clicked-button:active:after {
    padding: 0;
    margin: 0;
    opacity: 0.4;
    transition: 0s
}

.clicked-button:focus {
    outline: 0;
}

.btn-sm-multiple {
    padding: 0.2rem 0.1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.filter-btn {
    width: 90px !important;
    top: 7.5px;
}

.filtro-label {
    margin-top: 10px;
    margin-right: 10px;
}

.switch-view-row {
    display: inline-flex;
    position: relative;
    right: 45px;
    width: 200px!important;
}

.switch-view-row .type-view {
    position: relative;
    top: 7.5px;
    margin-right: 10px;
    margin-left: 10px;
}

.add-project {
    position: relative;
    top: 7.5px;
    right: 5px;
}

.details-lead {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
}

.social {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 180px;
    border-right: 1px solid #959cb6;
    border-left: 1px solid #959cb6;
}

.sito-web {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 80px;
}

.partita_iva {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100px;
    margin-left: 20px;
}

.visite {
    margin-left: 20px;
    margin-top: 10px;
}

.messaggio {
    margin: 10px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 5px;
}

.messaggio-dx {
    /*background-color: #498ee9;*/
    background-color: #5500b3;
    color: #ffffff;
    position: relative;
    float: right;
    max-width: 80%;
    word-break: break-word;
}

.messaggio-sx {
    /*background-color: #7bc840;*/
    background-color: #dddddd;
    color: #ffffff;
    position: relative;
    float: left;
    max-width: 80%;
    word-break: break-word;
}

.messaggio-sys {
    /*background-color: #7bc840;*/
    background-color: #ead6ff;
    color: #000000;
    position: relative;
    float: left;
    width: calc(100% - 20px);
    word-break: break-word;
    text-align: left;
}

.arrowdown {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.arrowup {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.scroll-mod::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.scroll-mod::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.scroll-mod::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
}

.dataTables_wrapper .dataTable th, .dataTables_wrapper .dataTable td {
    color: #212529;
}

.kt-aside-menu .kt-menu__nav>.kt-menu__item.kt-menu__item--active>.kt-menu__heading .kt-menu__link-icon, .kt-aside-menu .kt-menu__nav>.kt-menu__item.kt-menu__item--active>.kt-menu__link .kt-menu__link-icon {
    color: #7541dc !important;
}

.kt-badge.kt-badge--orange {
    color: #ffffff;
    background: #ff9800;
}
.kt-badge.kt-badge--blue {
    color: #ffffff;
    background: #0084ff;
}
.kt-badge-big {
    height: auto !important;
    padding: 0.15rem 0.75rem !important;
}

.in-attesa {
    width: 94px !important;
    padding: 2px !important;
    text-align: center;
}

.notify-table-ticket {
    position: absolute;
    font-size: 10px;
    width: 10px;
    height: 10px;
    left: 55px;
    cursor: pointer;
}

.make-span-count-as-btn{
    display: block;
    width: 100%;
    height: 100%;
    padding: 0.65rem 1rem;
}
.owl-stage-outer{
    overflow: visible !important;
}
.owl-next > span,.owl-prev > span{
    font-size:25px;
}
.owl-theme .owl-nav [class*='owl-']{
    margin:10px !important;
    padding: 5px !important;
    padding-left:5px !important;
    padding-right:5px !important;

}
.owl-theme .owl-nav [class*='owl-']:hover{
    margin:5px !important;
    padding-left:5px !important;
    padding-right:5px !important;
    background:#7541dc;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #7541dc;
}

.dropdown-menu {
    z-index: 1000000 !important;
}

.dropdown-item:active > i[class^='flaticon2'], .dropdown-item:active > i[class*=' flaticon2']{
    color: #ffffff;
}
.dropdown-item:active > i[class^='flaticon'], .dropdown-item:active > i[class*=' flaticon']{
    color: #ffffff;
}
.dropdown-item:active > i[class^='la'], .dropdown-item:active > i[class*=' la']{
    color: #ffffff;
}
.dropdown-item:active  .custom-icon-client-x{
    background-color: #7541dc;
}
.custom-icon-client-x{
    background-color: white;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    font-size: 4.5px !important;
    padding-left: 2px;
    left: -16px;
    top: 15px;
    position: relative;
}

.selected_fatt{
    background-color: #ffb901 !important;
    font-weight: bold;
    font-size:larger;
    padding: 0px;
}

.kt-spinner.kt-spinner--v2.kt-spinner--orange:before{
    border:2px solid #ff861e75;
    border-top-color: #fd6d2a;
}

.kt-spinner.kt-spinner--v2.kt-spinner--blue:before{
    border:2px solid #88c1f7;
    border-top-color: #0084ff;
}

#chat {
    max-height:650px;
    overflow-y:scroll;
    display: flex;
    flex-direction: column-reverse;
}

.kt-user-card .kt-user-card__avatar {
    background: rgba(255,255,255,1);
    border-radius: 100%;
    padding: 5px;
    overflow: hidden;
}

.kt-user-card .kt-user-card__avatar img {
    width: 50px;
    height: 50px;
}

.modal-header {
    position: sticky;
    top: 0px;
    z-index: 1000000;
    background-color: #FFF;
}

/* Extra small devices (portrait phones, less than 576px)*/

@media (max-width: 575.98px) {}

/*// Small devices (landscape phones, 576px and up)*/

@media (min-width: 576px) and (max-width: 767.98px) {}

/* Medium devices (tablets, 768px and up)*/

@media (min-width: 768px) and (max-width: 991.98px) {}

/* Large devices (desktops, 992px and up)*/

@media (min-width: 992px) and (max-width: 1199.98px) {}

/* Extra large devices (large desktops, 1200px and up)*/

@media (min-width: 1200px) {}

@media (max-width: 770.98px) {
    #cerca-referenti-lente-big {
        padding: 5px;
    }
    #search-referenti-prepend {
        max-width: 40px;
    }
    #kt_select2_1+.select2-container {
        width: 300px !important;
    }
}

@media (max-width: 1124px) {
    .kt-header {
        background-color: #fff;
    }
}