#calltouch {
    display: none;
}

.calltouch {
    width: 220px;
    background-color: var(--olink);
    border-radius: 20px;
    min-height: 40px;
    text-align: center;
    position: fixed;
    bottom: 105px;
    right: 100px;
    z-index: 1000;
}

.calltouchbutton:before {
    content: '';
    width: 220px;
    background-color: var(--olink);
    border-radius: 20px;
    position: relative;
    min-height: 40px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
}
#checkcalltouch:checked ~ * #idcalltouchopen {
    opacity: 0.0;
    filter: Alpha(OPACITY=0);
    top: 40px;
}

#checkcalltouch:checked ~ * #idcalltouchclose {
    opacity: 1;
    filter: Alpha(OPACITY=100);
    top: 0px;
}

#checkcalltouch:checked ~ * .modalcalltouch {
    opacity: 1;
    filter: Alpha(OPACITY=100);
    top: -120px;
}

#checkcalltouch {
    display: none !important;
}

.calltouchbutton {
    padding-bottom: 0px;
    width: 100%;
    height: 40px;
    text-align: center;
    padding-left: 0;
    padding-top: 0;
    padding-right: 0;
    position: relative;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

#idcalltouchopen {

}

#idcalltouchclose {
		opacity: 0;
		filter: Alpha(OPACITY=0);
		top: 40px;
}
#idcalltouchclose:before {
    content: var(--close);
    left: 60px;
    position: absolute;
    color: var(--flink);
    font-size: 18px;
    top: 7px;
}

.buttoncalltouch .chat.close {
    top: 0;
    left: 40px;
    text-align: left;
    bottom: 0;
}

.buttoncalltouch .chat.close,
.modalcalltouch span.chat {
    font-size: 18px;
}
.modalbuttoncalltouch,
.buttoncalltouch {
    min-height: 20px;
    text-align: center;
    overflow: hidden;
    width: 180px;
    position: absolute;
    padding: 10px 20px;

}
.modalbuttoncalltouch {
    position: relative;
    min-height: 20px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 10px;
    cursor: pointer;
}

.buttoncalltouch .chat {
    position: absolute;
    float: left;
    display: block;
    color: #ffffff;
    font-size: 18px;
    left: 0;
    right: 0;
    top: -27px;
    font-weight: normal;
}

.buttoncalltouch .chat i {
    margin-right: 10px;
}

.modalbuttoncalltouch .chat i {
    margin-right: 10px;
    margin-top: 0px;
}
.buttoncalltouch .chat.close i {
    margin-top: 12px;
}
span.chat.whatsapp {
    content: var(--whatsapp);
    -webkit-animation: swing1 5s ease-out infinite;
    -moz-animation: swing1 5s ease-out infinite;
    -o-animation: swing1 5s ease-out infinite;
    -ms-animation: swing1 5s ease-out infinite;
    animation: swing1 10s linear infinite;
}

span.chat.telegram {
    content: var(--telegram);
    -webkit-animation: swing2 5s ease-out infinite;
    -moz-animation: swing2 5s ease-out infinite;
    -o-animation: swing2 5s ease-out infinite;
    -ms-animation: swing2 5s ease-out infinite;
    animation: swing2 10s linear infinite;
}
@-webkit-keyframes swing {  50% {-webkit-transform: translate(0,100px);} }
@-moz-keyframes swing {  50% {-webkit-transform: translate(0,100px);} }
@-o-keyframes swing {  50% {-webkit-transform: translate(0,100px);} }
@-ms-keyframes swing {  50% {-webkit-transform: translate(0,50px);} }
@keyframes swing1 {  
5% {-webkit-transform: translate(0,50px);} 
10% {-webkit-transform: translate(0,30px);} 
20% {-webkit-transform: translate(0,35px);} 
40% {-webkit-transform: translate(0,35px);} 
50% {-webkit-transform: translate(0,100px);}
100% {-webkit-transform: translate(0,100px);}
}

@keyframes swing2 {  
50% {-webkit-transform: translate(0,0px);} 
55% {-webkit-transform: translate(0,50px);} 
60% {-webkit-transform: translate(0,30px);} 
70% {-webkit-transform: translate(0,35px);} 
90% {-webkit-transform: translate(0,35px);} 
100% {-webkit-transform: translate(0,100px);}}


span.chat.whatsapp:after {
    content: var(--whatsapp);
}

span.chat.telegram:after {
    content: var(--telegram);
}


.modalcalltouch {
    position: absolute;
    opacity: 0;
    top: 40px;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    z-index: 1;
}

.labelcalltouch {
    cursor: pointer;
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.modalbuttoncalltouch a {
    text-decoration: none;
    color: var(--flink);
    outline: none;
}
.modalbuttoncalltouch.whatsapp {
    background-color: var(--colwhat);
    color: var(--flink);
}
.modalbuttoncalltouch.telegram {
    background-color: var(--coltel);
    color: var(--flink);
}

:root {
    --whatsapp:'\0427\0430\0442\0020\0432\0020 WhatsApp';
    --colwhat: #25d365;
    --telegram:'\0427\0430\0442\0020\0432\0020 Telegram';
    --coltel: #a59efd;
    --close:'\0417\0430\043a\0440\044b\0442\044c';
    --olink:#fc772c;
    --flink:#faf9ff;
}