
.callwg-cover {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.76, -0.44, 0.43, 1.58);
}
.callwg-popup {
    position: fixed;
    z-index: 2000;
    right: 0;
    bottom: 0;
    font-family: inherit;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: 2s;
    transition-delay: 2s;
}

button.callback-wg {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    right: 30px;
    bottom: 30px;
    outline: 0;
    cursor: pointer;
    border: 0;
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58);
    transition: -webkit-transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58);
    transition: transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58);
    transition: transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58), -webkit-transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58);
    transition: transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58),-webkit-transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58);
    -webkit-transition-delay: .4s;
    transition-delay: .4s;
}
button.callback-wg:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: #af0005 url(phone-icon.svg) 50% 50% no-repeat;
    background-size: 21px 21px;
    left: 0;
    top: 0;
    z-index: 10;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
    animation: 1200ms ease 0s normal none 1 running shake-cta;
    animation-iteration-count: infinite;
    -webkit-animation: 1200ms ease 0s normal none 1 running shake-cta;
    -webkit-animation-iteration-count: infinite;
}
@keyframes shake-cta {
0% {
    transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
}
10% {
    transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
}
20% {
    transform: rotate(15deg);
    -ms-transform: rotate(15deg);
    -webkit-transform: rotate(15deg);
}
30% {
    transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    -webkit-transform: rotate(-10deg);
}
40% {
    transform: rotate(7.5deg);
    -ms-transform: rotate(7.5deg);
    -webkit-transform: rotate(7.5deg);
}
50% {
    transform: rotate(-6deg);
    -ms-transform: rotate(-6deg);
    -webkit-transform: rotate(-6deg);
}
60% {
    transform: rotate(5deg);
    -ms-transform: rotate(5deg);
    -webkit-transform: rotate(5deg);
}
70% {
    transform: rotate(-4.28571deg);
    -ms-transform: rotate(-4.28571deg);
    -webkit-transform: rotate(-4.28571deg);
}
80% {
    transform: rotate(3.75deg);
    -ms-transform: rotate(3.75deg);
    -webkit-transform: rotate(3.75deg);
}
90% {
    transform: rotate(-3.33333deg);
    -ms-transform: rotate(-3.33333deg);
    -webkit-transform: rotate(-3.33333deg);
}
100% {
    transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
}
}

@-webkit-keyframes shake-cta {
0% {
    transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
}
10% {
    transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
}
20% {
    transform: rotate(15deg);
    -ms-transform: rotate(15deg);
    -webkit-transform: rotate(15deg);
}
30% {
    transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    -webkit-transform: rotate(-10deg);
}
40% {
    transform: rotate(7.5deg);
    -ms-transform: rotate(7.5deg);
    -webkit-transform: rotate(7.5deg);
}
50% {
    transform: rotate(-6deg);
    -ms-transform: rotate(-6deg);
    -webkit-transform: rotate(-6deg);
}
60% {
    transform: rotate(5deg);
    -ms-transform: rotate(5deg);
    -webkit-transform: rotate(5deg);
}
70% {
    transform: rotate(-4.28571deg);
    -ms-transform: rotate(-4.28571deg);
    -webkit-transform: rotate(-4.28571deg);
}
80% {
    transform: rotate(3.75deg);
    -ms-transform: rotate(3.75deg);
    -webkit-transform: rotate(3.75deg);
}
90% {
    transform: rotate(-3.33333deg);
    -ms-transform: rotate(-3.33333deg);
    -webkit-transform: rotate(-3.33333deg);
}
100% {
    transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
}
}

.wg-anim1 {
  border: 1px solid #af0005;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  height: 90px;
  z-index: -1;
  width: 90px;
  position: absolute;
  right: -16px;
  top: -16px;
  -webkit-animation: animation-one 2s 0s ease-out;
  -webkit-animation-iteration-count: infinite;
  opacity: 0;
  background-color: transparent;
}
@-webkit-keyframes animation-one {
  0% {-webkit-transform: scale(0.5, 0.5); opacity: 0.0;}
  50% {opacity: 1.0;}
  100% {-webkit-transform: scale(1.0, 1.0); opacity: 0.0;}
}
.wg-anim2 {
  border: 1px solid #af0005;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  height: 90px;
  z-index: -1;
  width: 90px;
  position: absolute;
  right: -16px;
  top: -16px;
  -webkit-animation: animation-two 2s 0.4s ease-out;
  -webkit-animation-iteration-count: infinite;
  opacity: 0;
  background-color: transparent;
}
@-webkit-keyframes animation-two {
  0% {-webkit-transform: scale(0.5, 0.5); opacity: 0.0;}
  50% {opacity: 1.0;}
  100% {-webkit-transform: scale(1.0, 1.0); opacity: 0.0;}
}

.wg-anim3 {
  border: 1px solid #af0005;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  height: 90px;
  z-index: -1;
  width: 90px;
  position: absolute;
  right: -16px;
  top: -16px;
  -webkit-animation: animation-three 2s 1s ease-out;
  -webkit-animation-iteration-count: infinite;
  opacity: 0;
  background-color: transparent;
}
@-webkit-keyframes animation-three {
  0% {-webkit-transform: scale(0.5, 0.5); opacity: 0.0;}
  50% {opacity: 1.0;}
  100% {-webkit-transform: scale(1.0, 1.0); opacity: 0.0;}
}
.callback-form-content form {
    margin: 10px 0 10px;
}
.callback-wg .iconwg-title {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
    width: 100%;
    height: 100%;
    line-height: 60px;
    border-radius: 34px;
    z-index: 5;
    background-color: #edebea;
    color: #333 !important;
    white-space: nowrap;
    text-align: left;
    padding: 0 0px 0 20px;
    overflow: hidden;
    box-sizing: border-box;
    -webkit-transition: width .3s ease-out .2s, color .2s ease-out 0s;
    transition: width .3s ease-out .2s, color .2s ease-out 0s;
}
.callback-wg:hover .iconwg-title {
    -webkit-transition: width .3s ease-out 0s, color .2s ease-out .3s;
    transition: width .3s ease-out 0s, color .2s ease-out .3s;
    width: 230px;
    color: #141414;
}

.formwg-active .callwg-form {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: .4s;
    transition-delay: .4s;
}
.callwg-form {
    position: absolute;
    width: 240px;
    background-color: #fff;
    overflow: hidden;
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58);
    transition: -webkit-transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58);
    transition: transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58);
    transition: transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58), -webkit-transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58);
    transition: transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58),-webkit-transform 0.4s cubic-bezier(0.76, -0.44, 0.43, 1.58);
    right: 15px;
    bottom: 15px;
    border-radius: 10px;
    -webkit-transform: translateY(140%);
    -ms-transform: translateY(140%);
    transform: translateY(140%);
    padding: 20px;
    -webkit-appearance: none;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.14);
    
}
.callback-close {
    position: absolute;
    cursor: pointer;
    border: 0;
        right: 15px;
    top: 15px;
    background: url(close.png) center no-repeat;
    background-size: 24px;
    width: 24px;
    height: 24px;
    z-index: 20;
    opacity: 0.5;
}
.callwg-popup h4,
.callwg-popup .h4 {
    font-size: 16px;
    color: #0f0f0f;
    text-transform: none;
    letter-spacing: 0;
    margin: 0px 0 10px;
    text-align: center;
    line-height: 1.2;
}
.callwg-popup .callback-form input[type="tel"] {
    color: #000000;
    font-weight: 300;
    margin-bottom: 14px;
}

.callwg-popup .callback-form .btn {
    width: 100%;
    display: block;
}
.callwg-popup .btn.btn-black {
    color: #fff;
    background-color: #b12a5b;
    border-radius: 30px;
    line-height: 1;
    cursor: pointer;
}


.formwg-active .callback-wg {
    -webkit-transform: translateY(100px);
    -ms-transform: translateY(100px);
    transform: translateY(100px);
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}
.callwg-popup p.success {
text-align: center;
    margin: 15px 0;
    padding: 10px;
    font-family: inherit;
    font-size: 16px;
}   
.callwg-cover {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.76, -0.44, 0.43, 1.58);
    }
.callwg-cover.callwg-active {
    visibility: visible;
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.76, -0.44, 0.43, 1.58);
    }

.formwg {
    position: relative;
}
.formwg .phonewg {
    width: 100%;
    height: 40px;
    padding: 0 0 0 10px;
    border: 2px solid #af0005;
    box-sizing: border-box;
    font-family: inherit;
    margin: 0;
    box-shadow: none;
    background: #fff;
    font-size: 16px;
}
.formwg .btn {
    position: absolute;
    height: 40px;
    width: 40px;
    border-radius: 0 5px 5px 0;
    border: none;
    background: #af0005 url(send-button.png) center no-repeat;
    right: 0;
    top: 0;
    cursor: pointer;
    background-size: 16px;  
}
.soc-setwg {
    text-align: center;
    margin: 30px 0 0;
}
.soc-setwg a {
    width: 30px;
    height: 30px;
    display: inline-block;
    background: #ddd;
    border-radius: 3px; 
        margin: 0 4px;
}
.soc-setwg a.whwg {
    background: url(whatsapp.png) center no-repeat;
    background-size: contain;
}
.soc-setwg a.vkwg {
    background: url(vk.png) center no-repeat;
    background-size: contain;
}
.soc-setwg a.igwg {
    background: url(telegram.png) center no-repeat;
    background-size: contain;
}

@media (max-width: 1280px) {
    .iconwg-title {
        display: none;
    }
}