#wrap{
    position: relative;
}

#wrap::before{
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
    left: 0;
    top: 0;
    transition: border-color .25s ease, opacity .25s ease;
    border: 7px solid transparent;
    opacity: 0;
}

#wrap.active::before{
    opacity: 1
}

#wrap.call_status_1::before{
    border-color: #199b15
}

#wrap.call_status_2::before{
    border-color: #df8d18
}

#wrap.call_status_3::before{
    border-color: #ba1d1d
}

.incoming_call_window {
    position: absolute;
    left: 0;
    top: 85px;
    background-color: white;
    z-index: 1000001;
    cursor: pointer;
    padding: 20px;
    border-radius: 25px;
    border: 2px solid #a94442;
    margin: 20px;
}

.incoming_call_answer_btn {
    font-size: 60px;
    color: #a94442;
    font-weight: bold;
    text-transform: uppercase;
}

.incoming_call_window_hide {
    display: none;
}

#order_modal .modal-dialog {
    width: 100%;
    min-height: 90%;
}

.reject_window {
    right: 0;
    left: auto;
    position: absolute;
    top: 100px;
    background-color: white;
    z-index: 1000001;
    cursor: pointer;
    padding: 20px;
    border-radius: 25px;
    border: 2px solid #a94442;
    margin: 20px;
}

.reject_window_hide {
    display: none;
}

.call_state {
    display: none;
}

.call_state.active-call {
    display: block;
}

.active-call {
    position: absolute;
    top: 0;
    z-index: 1000001;
    cursor: pointer;
    padding: 10px;
    border-radius: 25px;
    border: 2px solid #a94442;
    /* margin: 20px; */
    background-color: red;
    color: white;
    font-size: 16px;
    font-weight: bold;
    left: 0;
}

#operator-state p {
    font-size: 12px;
    color: #7b777a;
}


#operator-state .switch {
     position: relative;
     display: inline-block;
     width: 60px;
     height: 34px;
    margin: 0;
    margin-right: 5px;
 }

#operator-state .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#operator-state .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

#operator-state .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

#operator-state input:checked + .slider {
    background-color: #f7b03e;
}

#operator-state input:focus + .slider {
    box-shadow: 0 0 1px #f7b03e;
}

#operator-state input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
#operator-state .slider.round {
    border-radius: 34px;
}

#operator-state .slider.round:before {
    border-radius: 50%;
}
#operator-state .operator_state__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#operator-state .switch.disabled {
    /*pointer-events:none;*/
}

#operator-state .switch.disabled .slider {
    cursor: default;
}

/*

 */

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

#operator-state .switch .tooltiptext{
    visibility: hidden;
    width: 120px;
    background-color: #286090;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 2px 5px;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;

    top: 120%;
    left: 50%;
    margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */

}

#operator-state .switch.disabled:hover .tooltiptext {
    visibility: visible;
}
#operator-state .green {
    color: green;
}

#operator-state .red {
    color: red;
}
.changeTopAni-enter-active,
.changeTopAni-leave-active {
    transition: opacity .5s;
}

.changeTopAni-enter,
.changeTopAni-leave-to {
    opacity: 0;
}