.callbackform-modx-widget {
    cursor: pointer;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #7ED321;
    position: fixed;
    z-index: 99980;
left: 20px;bottom: 20px;    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}


.callbackform-modx-widget:before {
    content: '';
    width: 76px;
    height: 76px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(80, 138, 18, 0.5);
    border-radius: 50%;
    z-index: -1;
}

.callbackform-modx-widget svg path {
    fill: #FFF;
}

.callbackform-modx-widget:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: transparent;
    border: 3px solid rgba(80, 138, 18, 0.2);
    border-radius: 50%;
    animation: callbackform-modx-widget infinite 2s linear;
}


@keyframes callbackform-modx-widget {
    0% {
        width: 70px;
        height: 70px;
    }
    50% {
        width: 100px;
        height: 100px;
    }
    100% {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 460px) {
    .callbackform-modx-widget {
        width: 45px;
        height: 45px;
        border-width: 3px;
    }
    .callbackform-modx-widget:before {
        width: 48px;
        height: 48px;
        border-width: 1.5px;
    }
    .z-widget-btn-icon {
        max-width: 22.5px;
        max-height: 22.5px;
    }
    @keyframes callbackform-modx-widget {
        0% {
            width: 51px;
            height: 51px;
        }
        50% {
            width: 81px;
            height: 81px;
        }
        100% {
            width: 51px;
            height: 51px;
        }
    }
}

#cbfmw *:focus{
    outline:none;
}
#cbfmw{
    position: fixed;
    min-height: 100vh;
    height: 100%;
    max-height: 100vh;
    right: -320px;
    top: 0;
    width: 300px;
    background: #FFF;
    font-family: "Roboto", "PT Sans", "Arial", sans-serif;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 15px;
    transition: right .5s;
    z-index: 99992;
    padding:10px;
    box-shadow: 0 0 2px #999;
}
#cbfmw.cbfmw-open{
    right:0;
}
.cbfmw-close{
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: url("../images/close.svg") no-repeat 50% 50%;
}
.cbfmw-top{
    padding: 5px 0 5px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #EBEBEB;
    margin-top: 40px;
 
}
.cbfmw-top-text{
       line-height: 17px;   
}
.cbfmw-top-photo{
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 6px solid rgba(255, 181, 0, 0.5);
    margin: -20px auto 20px;
}
.cbfmw-form-text{ text-align: center; margin-top:15px; line-height: 17px;}

.cbfmw-callback-form input[type=text]{
    background: #F8F8F8;
    border: 1px solid rgba(151, 151, 151, 0.35);
    font-size: 15px;
    color: #4A4A4A;
    border-radius: 3px;
    width: 100%;
    padding: 7px 13px;
    margin: 5px auto;
}
.cbfmw-callback-form textarea{
    background: #F8F8F8;
    border: 1px solid rgba(151, 151, 151, 0.35);
    font-size: 15px;
    color: #4A4A4A;
    border-radius: 3px;
    width: 100%;
    padding: 7px 13px;
    margin: 5px auto;
    height:50px;
}
.cbfmw-callback-form input[type=text].error{ border:1px solid red; }
.cbfmw-callback-form input[type=submit]:disabled{
    background: #FCCFEF;
}
.cbfmw-callback-form input[type=submit]{
    width: 100%;
    color: #333333;
    background: #FFDA7F;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    border-radius: 3px;
    padding: 8px 15px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 11px 0 rgba(0, 0, 0, 0.14);
    margin: 5px 0 10px;
    transition: all .25s;
}
.rules-link{ color:#000; }
.cbfmw_politics{ padding: 5px; }
.cbfmw-clickme{ 
    border:1px solid red;
}
.cbfmw-callback-form-success{
    display:none; text-align:center;
}
@media (max-width: 480px) {
    #cbfmw{ overflow-y: scroll; }
}

#fancyCbfmw {
    width:330px;
    background: #FFF;
    font-family: "Roboto", "PT Sans", "Arial", sans-serif;
    font-size: 15px;
}