#button_to_top {
    display: inline-block;
    background-color: #00a7d0;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    margin: 30px;
    position: fixed;
    bottom: 30px;
    transition: background-color .3s;
    z-index: 1000;
}

#button_to_top:hover {
    cursor: pointer;
    background-color: #333;
}
.pointer {
    cursor: pointer;
}

#button_to_top:active {
    background-color: #555;
}

#button_to_top::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}

#button_to_top {
    transition: background-color .3s,
    opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
}

#button_to_top.show {
    opacity: 1;
    visibility: visible;
}

.black-link {
    color: black;
    text-decoration: underline;
}

.icon-large {
    font-size: 35px;
}

.btn-icon {
    width: 60px;
}

.move-down-20 {
    padding-top: 20px;
}

.box-disabled {
    pointer-events: none;
    opacity: 0.5;
    background: #CCC;
}

.checkbox-input + span {
    cursor: pointer;
}

.checkbox-input:not(:checked) + span {
    color: black;
}

.schedule-table {
    font-size: .8em;
    margin-bottom: 0;
    width: 100%;
}

.schedule-week {
    margin-bottom: 10px;
    display: inline-block;
    width: 20%;
    vertical-align: top;
}

.schedule-week .schedule-table {
    box-shadow: 0 0 2px black;
}

.teacher-schedule-buttons-block {
    z-index: 1001;
    background-color: #ffffff;
    border: thick #0d6aad solid;
    border-radius: 10px;
    width: 375px;
    max-width: 90vw;
    height: 110px;
    position: fixed;
    top: 55px;
    right: 25px;
    padding: 8px;
    padding-top: 0;
}

.custom-input {
    width: 175px;
}

.custom-input > input {
    z-index: -1;
    position: relative;
    left: 0;
    width: 0;
}

.one-line {
    padding-top: 5px;
}

.padding-after {
    padding-bottom: 10px;
}

.padding-before {
    padding-top: 10px;
}

.fix-logo {
    height: 52px !important;
}

.d-none {
    display: none;
}

.scheduleMonth {
    display: block;

}

.scheduleMonthCaption {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
}

.otherScheduleDay {
    background-color: lightgrey;
}

.otherScheduleDay .info td {
    background-color: lightgrey !important;
}

.info td {
    min-width: .5em;
}

.eveningCourse {
    text-decoration: underline;
}

span.select2 {
    width: 100% !important;
    width: 100% !important;
}

.dataTables_wrapper .dataTables_processing {
    width: 30% !important;
    height: 50px !important;
    margin-left: -25% !important;
}

.padding_left_0 {
    padding-left: 0px;
}

.padding_right_0 {
    padding-right: 0px;
}

.width_50 {
    width: 50px;
    height: 20px;
}

.bottom_my {
    margin-bottom: 10px;
}

.no_padding {
    padding-top: 0px !important;
}

.my_font_size {
    font-size: 12px;
}

.my_font_size_22{
    font-size: 22px;
}

.margin_bottom_my {
    margin-bottom: 7px;
}

.margin-top-10 {
    margin-top: 10px;
}

.record_right_button {
    height: 36px;
}

.no_margin_bottom_my {
    margin-bottom: 0px;
}

.my_form_control {
    padding: 0px 12px;
    height: auto;
}

.my_select {
    min-height: 0px !important;
    font-size: 10px !important;
}

.my_select_padding {
    margin-top: 3px !important;
}

.my_padding_records_filter_phone {
    padding-right: 20px;
}

.my_padding_records_filter_button_ok {
    padding-left: 10px;
}

.my_padding_records_filter_button_show_reset {
    padding-left: 20px;

}

div.dataTables_filter {
    text-align: left !important;
}

/* чтобы номер телефона в records list не переносился на новую строку в хроме */
.my_phone {
    width: 105px;
}

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

.start_day_schedule {
    background-color: #DCDCDC;
}

.stopped_schedule {
    background-color: yellow !important;
    color: black !important;
    font-size: .9em !important;
}

tr.not_confirm > td:nth-child(-n+3), tr.not_confirm > td:nth-child(2) span {
    color: red;
    font-weight: bold;
}

.checkbox-input:checked + span {
    color: blue !important;
}

.schedule-table > tbody > tr > td {
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.size {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.size:hover {
    white-space: normal;
}

.sidebar-menu {
    white-space: normal !important;
}

#menu-count-notifications {
    top: 4px !important;
    right: 4px !important;
    font-size: 14px !important;
}

.my_size_envelope {
    font-size: 18px !important;
}

.small_text_in_records {
    font-size: 12px;
}

.selectpicker {
    width: 200px;
}

.class_group_multi_font {
    font-size: 20px;
}

.checkbox_class_group_multi {
    transform: scale(1.5);
    margin: 35px 35px !important;
}

.without_date_color {
    background-color: Yellow;
}

.label_remember_for_do_pay {
    font-size: 20;
}

.fix-hei {
    margin-top: 2px;
}

.flex {
    display: flex;
}

.ml-20 {
    margin-left: 20px;
}

.leads-saerch {
    width: 400px;
    display: inline;
}

.leads-filter {
    width: 200px !important;
    display: inline-block;
    vertical-align: top;
}

.leads-filter-button {
    width: 100px;
    display: inline-block;
    vertical-align: top;
    padding: 25px 0px;
}

.my-btn-leads {
    padding: 5px 12px;
}

.btn-leads {
    width: 150px;
    background-color: darkgray !important;
    color: white !important;
}

.lead-data-input {
    height: 32px;
}

.span_file_lead {
    display: block;
    font-size: x-large;
}

.lead_btn_row {
    margin-top: 30px;
}

.lead_table_class {
    overflow-x: auto;
}

@media screen and (max-width: 500px) {
    .mediaAccess {
        display: none !important;
    }
}

@media screen and (max-width: 410px) {
    .mediaCurrentBranch {
        width: 100px;
    }
}

@media screen and (max-width: 380px) {
    .mediaCurrentBranch {
        width: 100px;
    }

    .mediaLogoutText {
        display: none;
    }
}

@media screen and (max-width: 330px) {
    .mediaCurrentBranch {
        width: 90px;
    }
}

@media screen and (max-width: 325px) {
    .mediaCurrentBranch {
        width: 65px;
    }
}

.colorred {
    color: red;
}

.reset_button {
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.key {
    float: left;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #ddd;
    text-align: center;
    line-height: 50px;
    font-size: 40px;
    color: #444;
    margin: 11px;
    cursor: pointer;
    transition: 0.3s;
}

.key:hover {
    background: #f5f5f5;
}

.klaviatura {
    width: 50%;
    margin: 0 auto;
    padding: 10px 0px 0px 40px;
}

.klaviatura .backspace {
    width: 100%;
    position: relative;
    left: -13%;
}

.my_api_class {
    width: 98.6%;
    margin-left: 5px;
}

.my_api_class div:nth-child(3) {
    padding-right: 0px;
}

.my_api_class-2 {
    width: 101%;
}

.my_api_class-2 div:nth-child(2) {
    padding-right: 0px;
}

.remain_filter_button {
    margin-top: 24px;
}

.remain_product_ended {
    background-color: #ffdcdc;
}

.width-em {
    width: 0.786em;
}

.label-records-lost {
    background: #887fff;
}

.label-records-debt {
    background: #ec780d;
}

.label-records-triangle {
    background: #03c03c;
}

.label-email {
    background: #096eead9;
}

.label-ping {
    background: #EA00B3;
}

#preloader {
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f4f4f4;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #5ea4db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #338ed3;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #1fceff;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

p.ws14 {
    font-size: 14px;
    white-space: nowrap;
}

.input-with-icon {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.flex-grow-1 {
    flex-grow: 1;
}

.padding-20-0-0-10 {
    padding: 20px 0 0 10px;
}

.total_table_string {
    background-color: Silver;
}

.table_grey {
    background-color: lightgray;
}

#products_table .selected_product {
    background-color: #337ab7;
}

#products_table .selected_product:hover {
    background-color: royalblue;
}

.product_arrow_up {
    font-size: 5em;
    cursor: pointer;
    color: #337ab7;
}

.customer_report_with_payment {
    background: #FFC0CB;
}

.fit-content {
    width: fit-content;
}

/*spinner*/
.spinner {
    z-index: 999;
    display: none;
    border-radius: 50px 50px 50px 50px;
    width: 400px;
    background: #9dc1d3;
    position: fixed;
    padding: 10px;
    top: 50%;
    left: 50%;
    margin-top: -100px; /* Negative half of height. */
    margin-left: -250px; /* Negative half of width. */
}

.loader,
.loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}

.loader {
    margin: 10px;
    font-size: 7px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*end spinner*/

.my_green_text {
    background: green;
    color: white;
    padding: 4px;
    border-radius: 7px;
}

.my_red_text {
    background: red;
    color: white;
    padding: 4px;
    border-radius: 7px;
}

.check_sms_status_button {
    border-radius: 50%;
    background: #f39c12;
    color: white;
}

.delete_sms_button {
    background: red;
    color: white;
}

.invoice-history {
    margin: 5px 0px 10px 0px;
}

.invoice_plan_table_caption{
    font-size: 1.5em;
    height: 35px;
}
.invoice_plan_grey_block{
    background-color: #f2f2f2 !important;
}

.invoice_needed_blue{
    background-color: lightgreen;
}

.text-limegreen{
    color: limegreen;
}

.text-real-red{
    color: red;
}

.sms_in_records{
    width: 130px;
}

.sms_in_records_span{
    display: inline;
    margin-right: 6px;
}

.btn-branch-message{
    margin-top: 24px;
}


@media screen and (min-width: 576px) {
    #push-notifications {
        width: 11.5vw;
        position: fixed;
        bottom: 0;
        right: 5px;
        z-index: 999;
        overflow: auto;
        display:flex;
        flex-direction: column-reverse;
    
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    #push-notifications div {
        min-width: fit-content;
    }
}
@media screen and (max-width: 576px) {
    .push-notifications-wrapper {
        overflow-x: scroll; 
        width: 0px;
        max-height: 30vh;
        position: fixed;
        bottom: 5px;
        left: 5px;
        z-index: 999;
    }

    #push-notifications {
        display:flex;
        width: max-content;
    
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    #push-notifications div {
        max-width: 50vw;
        max-height: 25vh;

        overflow: scroll;
        margin: 0 5px;

        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    #push-notifications div::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
}

#push-notifications .new-notifications {
    color: black;
    background: greenyellow;
}
#push-notifications .remove-notifications {
    color: black;
    background: navajowhite;
}
#push-notifications .n-button {
    border-radius: 5px;
    padding: 2px 5px;
    margin: 0 2px;
    border: 1px solid;
    text-decoration: underline;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}
#push-notifications .notification-buttons {
    position: fixed;
    bottom: 3px;
    transform: translateX(-50%);
    left: 94%;
}
#push-notifications::-webkit-scrollbar {
    width: 0;
    height: 0;
}
@media screen and (min-width: 1129px) {
    #content-wrapper {
        margin-left: 12vw;
    }
    aside.main-sidebar {
        width: 12vw;
    }
}
.btn-yellow {
    background-color: #fffd00;
}
.toast:first-child {
    margin-top: 20px !important;
}
.w-full {
    width: 100%;
}
table.sticky-head {
    display: block;
    overflow-y: auto;
    height: 80vh;
}
table.sticky-head thead {
    position: sticky;
    top: 0;
    background: #fff;
}

table.sticky-first-column {
    overflow-x: auto;
}
table.sticky-first-column th:first-child,
table.sticky-first-column td:first-child {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
}
table.sticky-first-column thead th:first-child {
    z-index: 3;
}
.btn-secondary {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}
.btn-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
.daily-checkbox {
    border-radius: 15px;
    height: 25px;
    width: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.daily-checkbox.red {
    background-color: red;
}
.call-base-isnt-active-leads-indicator {
    background-color: white;
    font-size: large;
    height: 60%;
    display: flex;
    align-items: center;
}
.tile-body-2 {
    display: flex;
    justify-content: space-between;
    margin: 0 10px;
}
.bw-150 {
    overflow: hidden;
    max-width: 150px;
}

.branch-panel {
    padding-left: 15px;
    padding-right: 15px;
}
.scrolled-block {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}
.border-success {
    border: 2px solid rgb(0, 166, 90) !important;
}
.border-danger {
    border: 2px solid rgb(221, 75, 57) !important;
}

.text-gold {
    color: gold;
}
.danger-sign {
    border-radius: 50%;
    border: 5px solid red;
    background-color: white;
    padding: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    margin-bottom: 2px;
    font-weight: bold;
}
.full-danger-sign {
    border-radius: 50%;
    background-color: red;
    color: white;
    padding: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    margin-bottom: 2px;
    font-weight: bold;
}
.fixed-sign {
    text-transform: uppercase;
    display: inline-block;
    font-weight: bold;
    border-radius: 10%;
    border: 5px solid green;
    box-sizing: border-box;
    padding: 0 5px;
    font-size: 15px;
}
tr .fixed-sign {
    background-color: white;
}
.fixed-sign.limegreen {
    border-color: limegreen;
}
.un-fixed-sign {
    text-transform: uppercase;
    display: inline-block;
    text-decoration: line-through;
    font-weight: bold;
    border-radius: 10%;
    background-color: red;
    color: white;
    padding: 2px 7px;
    font-size: 15px;
}

.techno-type {
    text-transform: uppercase;
    display: inline-block;
    font-weight: bold;
    border-radius: 5px;
    border: 3px solid;
    box-sizing: border-box;
    padding: 2px 8px;
    font-size: 13px;
    color: white;
    margin-right: 5px;
}

tr .techno-type {
    background-color: transparent;
}

.techno-type-4 {
    border-color: #28a745;
    background-color: #28a745;
    color: black;
}

.techno-type-3 {
    border-color: #007bff;
    background-color: #007bff;
    color: black;
}

.techno-type-2 {
    border-color: #d39e00;
    background-color: #d39e00;
    color: black;
}

.techno-type-1 {
    border-color: #dc3545;
    background-color: #dc3545;
    color: black;
}

.selection .techno-type {
    display: inline;
    font-size: 11px;
    border-width: 2px;
    padding: 1px 5px;
}
.selection .danger-sign {
    font-size: 12px;
    height: 25px;
    width: 25px;
    border: 2px solid red;
}
.selection .full-danger-sign {
    font-size: 12px;
    height: 25px;
    width: 25px;
}
.selection .fixed-sign {
    display: inline;
    font-size: 12px;
    border: 2px solid green;
}
.selection .un-fixed-sign {
    display: inline;
    font-size: 12px;
}
.text-red {
    color: red;
}

.btn-lawngreen {
    background-color: lawngreen;
    color: white;
}

.btn-lawngreen:hover {
    background-color: limegreen;
    color: white;
}

.btn-slateblue {
    background-color: slateblue;
    color: white;
}

.btn-slateblue:hover {
    background-color: darkslateblue;
    color: white;
}

.btn-ed00ff {
    background-color: #ed00ff;
    color: white;
}

.btn-ed00ff:hover {
    background-color: #c200c2;
    color: white;
}


.call-base-button-active {
    border: 5px solid crimson !important;
}

.branch-status-badge {
    font-size: 12px;
    border: 1px solid black;
    display: inline-block;
    min-width: 10px;
    border-radius: 10px; 
    padding: 3px 7px; 
    line-height: 1; 
    text-align: center;
    white-space: nowrap; 
    vertical-align: middle;
}

.pink-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ee00ff83;
    z-index: 999999;
    pointer-events: none;
}