.CBSideButton {
    z-index: 2147483647;
    background: #d05d24 url('/omega/sider1.png');
    width: 37px;
    height: 224px;
    position: fixed;
    right: -5px;
    top: 50%;
    margin-top: -120px;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); /* Параметры тени */
    transition-duration: .5s;
}

.CBSideButton:hover {
    right: 0;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

.CBSideButton.left {
    left: -5px;
    transform: rotate(180deg);
}

.CBSideButton.left:hover {
    left: 0;
}

#callbacky-phone-widget-window {
    box-sizing: border-box;
    margin: 0px;
    height: 125px;
    width: 495px;
    z-index: 2147483647;
    pointer-events: none;
    position: fixed;
    background-color: rgba(0, 0, 0, 0);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#callbacky-phone-widget-window.callbacky-phone-widget-window-right {
    right: calc(20px - 185px);
}

#callbacky-phone-widget-window.callbacky-phone-widget-window-left {
    left: calc(20px - 185px);
}

#callbacky-phone-widget-window.callbacky-phone-widget-window-center {
    left: calc(50% - 250px);
}

#callbacky-phone-widget-window.callbacky-phone-widget-window-top {
    top: 30px;
}

#callbacky-phone-widget-window.callbacky-phone-widget-window-bottom {
    bottom: 30px;
}

#callbacky-phone-widget-send-btn-container {
    width: 125px;
    height: 125px;
    position: absolute;
    right: 0px;
    left: 0px;
    pointer-events: none;
    margin: auto;
}

#callbacky-phone-widget-send-btn-container:hover ~ #callbacky-phone-widget-text {
    width: 200px;
    border: 1px solid #A0A0A1;
    -webkit-animation: 0;
    -animation: 0;
}

#callbacky-phone-widget-send-btn {
    box-sizing: border-box;
    width: 70px;
    height: 70px;
    pointer-events: all;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 1;
    outline: none;
    background-color: #f1c40f;
    border: 0px solid;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;
    -webkit-box-shadow: 0px 5px 22px -6px #000 !important;
    -moz-box-shadow: 0px 5px 22px -6px #000 !important;
    box-shadow: 0px 5px 22px -6px #000 !important;;
    color: white;
    padding: 0px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    -webkit-animation: send-btn-animation 3s infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-delay: 1s;
    animation: send-btn-animation 3s infinite;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
    -webkit-transition: -webkit-box-shadow .2s linear;
    -moz-transition: -moz-box-shadow .2s linear;
    -ms-transition: box-shadow .2s linear;
    -o-transition: box-shadow .2s linear;
    transition: box-shadow .2s linear;
}

#callbacky-phone-widget-send-btn:hover {
    -webkit-animation: 0;
    animation: 0;
    -webkit-box-shadow: 1px 4px 16px -3px #000;
    -moz-box-shadow: 1px 4px 16px -3px #000;
    box-shadow: 1px 4px 16px -3px #000;
}

#callbacky-phone-widget-send-btn:hover ~ #callbacky-phone-widget-phone-icon {
    -webkit-animation: 0;
    animation: 0;
    -webkit-transform: rotate(20deg);
    -moz-transform: rotate(20deg);
    -ms-transform: rotate(20deg);
    -o-transform: rotate(20deg);
    transform: rotate(20deg);
}

#callbacky-phone-widget-send-btn:hover ~ #callbacky-phone-widget-phone-icon:before {
    -webkit-animation: 0;
    animation: 0;
}

#callbacky-phone-widget-send-btn:hover ~ #callbacky-phone-widget-animation {
    -webkit-animation: 0;
    animation: 0;
}

#callbacky-phone-widget-send-btn:active {
    -webkit-box-shadow: 2px 3px 7px -2px #000;
    -moz-box-shadow: 2px 3px 7px -2px #000;
    box-shadow: 2px 3px 7px -2px #000;
}

#callbacky-phone-widget-phone-icon {
    box-sizing: border-box;
    width: 33px;
    height: 33px;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
    z-index: 2;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transition: -webkit-transform .2s ease-in-out;
    -moz-transition: -moz-transform .2s ease-in-out;
    -ms-transition: -ms-transform .2s ease-in-out;
    -o-transition: -o-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;
}

#callbacky-phone-widget-phone-icon:before {
    box-sizing: border-box;
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
    background: url('/omega/widget-phone.png') center no-repeat;
    background-size: cover;
    background-clip: padding-box;
    -webkit-animation: phone-icon-animation 2s infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-delay: 1s;
    animation: phone-icon-animation 2s infinite;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
}

#callbacky-phone-widget-animation {
    width: 55px;
    height: 55px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 0;
    background: #f1c40f;
    border-radius: 50% !important;
    -webkit-box-shadow: 0px 0px 0px 0px #f1c40f 0px 0px 0px 0px #000;
    -moz-box-shadow: 0px 0px 0px 0px #f1c40f 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #f1c40f 0px 0px 0px 0px #000;
    opacity: 0;
    -webkit-animation: shadow-animation 3s infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-delay: 1s;
    animation: shadow-animation 3s infinite;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
}


#callbacky-phone-widget-text {
    box-sizing: border-box;
    width: 0px;
    height: 50px;
    position: absolute;
    top: 0px;
    bottom: 0px;
    margin: auto;
    background-color: #f4f4f4;
    line-height: 50px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    color: #000;
    -webkit-border-radius: 26px !important;
    -moz-border-radius: 26px !important;
    border-radius: 26px !important;
    opacity: 0.8;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.callbacky-phone-widget-window-left #callbacky-phone-widget-text {
    left: 295px;
}

.callbacky-phone-widget-window-right #callbacky-phone-widget-text {
    right: 295px;
}

@-webkit-keyframes send-btn-animation {
    0% {
        width: 70px;
        height: 70px;
    }
    5% {
        width: 60px;
        height: 60px;
    }
    10% {
        width: 70px;
        height: 70px;
    }
    30% {
        width: 70px;
        height: 70px;
    }
    35% {
        width: 60px;
        height: 60px;
    }
    40% {
        width: 70px;
        height: 70px;
    }
    100% {
        width: 70px;
        height: 70px;
    }
}

@keyframes send-btn-animation {
    0% {
        width: 70px;
        height: 70px;
    }
    5% {
        width: 60px;
        height: 60px;
    }
    10% {
        width: 70px;
        height: 70px;
    }
    30% {
        width: 70px;
        height: 70px;
    }
    35% {
        width: 60px;
        height: 60px;
    }
    40% {
        width: 70px;
        height: 70px;
    }
    100% {
        width: 70px;
        height: 70px;
    }
}

@-webkit-keyframes phone-icon-animation {
    0%, 100% {
        -webkit-transform: rotate(0deg);
    }
    6%, 12%, 18%, 24%, 30% {
        -webkit-transform: rotate(-10deg);
    }
    3%, 9%, 15%, 21%, 27% {
        -webkit-transform: rotate(10deg);
    }
    33% {
        -webkit-transform: rotate(0deg);
    }
}

@keyframes phone-icon-animation {
    0%, 100% {
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    6%, 12%, 18%, 24%, 30% {
        -moz-transform: rotate(-10deg);
        -ms-transform: rotate(-10deg);
        -o-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }
    3%, 9%, 15%, 21%, 27% {
        -moz-transform: rotate(10deg);
        -ms-transform: rotate(10deg);
        -o-transform: rotate(10deg);
        transform: rotate(10deg);
    }
    33% {
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@-webkit-keyframes shadow-animation {
    0% {
        -webkit-box-shadow: 0px 0px 0px 0px #f1c40f, 0px 0px 0px 0px #000;
        opacity: 0;
    }
    50% {
        -webkit-box-shadow: 0px 0px 0px 0px #f1c40f, 0px 0px 0px 0px #000;
        opacity: 1;
    }
    83% {
        -webkit-box-shadow: 0px 0px 1px 35px #f1c40f, 0px 2px 9px 33px #000;
        opacity: 0;
    }
    100% {
        -webkit-box-shadow: 0px 0px 1px 35px #f1c40f, 0px 2px 9px 33px #000;
        opacity: 0;
    }
}

@keyframes shadow-animation {
    0% {
        -moz-box-shadow: 0px 0px 0px 0px #f1c40f, 0px 0px 0px 0px #000;
        box-shadow: 0px 0px 0px 0px #f1c40f, 0px 0px 0px 0px #000;
        opacity: 0;
    }
    50% {
        -moz-box-shadow: 0px 0px 0px 0px #f1c40f, 0px 0px 0px 0px #000;
        box-shadow: 0px 0px 0px 0px #f1c40f, 0px 0px 0px 0px #000;
        opacity: 1;
    }
    83% {
        -moz-box-shadow: 0px 0px 1px 35px #f1c40f, 0px 2px 9px 33px #000;
        box-shadow: 0px 0px 1px 35px #f1c40f, 0px 2px 9px 33px #000;
        opacity: 0;
    }
    100% {
        -moz-box-shadow: 0px 0px 1px 35px #f1c40f, 0px 2px 9px 33px #000;
        box-shadow: 0px 0px 1px 35px #f1c40f, 0px 2px 9px 33px #000;
        opacity: 0;
    }
}




.new-yellow #callbacky-phone-widget-send-btn,
.new-yellow-black #callbacky-phone-widget-send-btn,
.yellow #callbacky-phone-widget-send-btn {
    background-color: #ffb400;
}

.new-yellow #callbacky-phone-widget-animation,
.new-yellow-black #callbacky-phone-widget-animation,
.yellow #callbacky-phone-widget-animation {
    background: #ffb400;
    -webkit-box-shadow: 0px 0px 0px 0px #ffd541 0px 0px 0px 0px #000;
    -moz-box-shadow: 0px 0px 0px 0px #FFD541 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #FFD541 0px 0px 0px 0px #000;
}


.new-yellow #callbacky-phone-widget-phone-icon:before,
.new-yellow-black #callbacky-phone-widget-phone-icon:before,
.yellow #callbacky-phone-widget-phone-icon:before {
    -webkit-animation: phone-icon-animation-yellow 2s infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-delay: 1s;
    animation: phone-icon-animation-yellow 2s infinite;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
}

.new-yellow #callbacky-phone-widget-animation,
.new-yellow-black #callbacky-phone-widget-animation,
.yellow #callbacky-phone-widget-animation {
    -webkit-animation: shadow-animation-yellow 3s infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-delay: 1s;
    animation: shadow-animation-yellow 3s infinite;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
}



@-webkit-keyframes shadow-animation-yellow {
    0% {
        -webkit-box-shadow: 0px 0px 0px 0px #ffb400, 0px 0px 0px 0px #000;
        opacity: 0;
    }
    50% {
        -webkit-box-shadow: 0px 0px 0px 0px #ffb400, 0px 0px 0px 0px #000;
        opacity: 1;
    }
    83% {
        -webkit-box-shadow: 0px 0px 1px 35px #ffb400, 0px 2px 9px 33px #000;
        opacity: 0;
    }
    100% {
        -webkit-box-shadow: 0px 0px 1px 35px #ffb400, 0px 2px 9px 33px #000;
        opacity: 0;
    }
}

@keyframes shadow-animation-yellow {
    0% {
        -moz-box-shadow: 0px 0px 0px 0px #ffb400, 0px 0px 0px 0px #000;
        box-shadow: 0px 0px 0px 0px #ffb400, 0px 0px 0px 0px #000;
        opacity: 0;
    }
    50% {
        -moz-box-shadow: 0px 0px 0px 0px #ffb400, 0px 0px 0px 0px #000;
        box-shadow: 0px 0px 0px 0px #ffb400, 0px 0px 0px 0px #000;
        opacity: 1;
    }
    83% {
        -moz-box-shadow: 0px 0px 1px 35px #ffb400, 0px 2px 9px 33px #000;
        box-shadow: 0px 0px 1px 35px #ffb400, 0px 2px 9px 33px #000;
        opacity: 0;
    }
    100% {
        -moz-box-shadow: 0px 0px 1px 35px #ffb400, 0px 2px 9px 33px #000;
        box-shadow: 0px 0px 1px 35px #ffb400, 0px 2px 9px 33px #000;
        opacity: 0;
    }
}

