/* hide the original widget - that there were no two labels on the screen*/
#jivo_chat_widget{
	display: none;
}

/* the default style - for offline messages if no one is online */
#jivo_custom_widget{
	position: absolute;
	left: 0;
	top: 0%;
	width: 0px;
	z-index: 0;
	/* cursor: pointer; */
	pointer-events: none;
	height: 0px;
	/* background-image: url(images/jivo_widget_offline.png); */
}

/* when you hover the label should be shifted to the right by 3px */
#jivo_custom_widget:hover{
	/* left:0; */
}

/* if there are operators online - show other label*/
#jivo_custom_widget.jivo_online{
	/* height: 215px;
	background-image: url(images/jivo_widget_online.png); */
}


.whatsapp-button{
	position:fixed;
	bottom:32px;
	right:20px;
	z-index:9999
}
.whatsapp-button img{
	width:60px;
	height:60px;
	transition:transform 0.2s
}
.whatsapp-button.--pc img:hover{	
	transform:scale(1.1);
}

@media (max-width:991px){
	.whatsapp-button{
		bottom:20px
	}
	.page-tours-modificator .whatsapp-button{
		bottom:76px
	}
	.page-tours-modificator .block-buttons{
		bottom:76px
	}
	.page-tours-modificator .button_af6a{
		margin-bottom:84px!important
	}
}


.block-buttons{
	display: none;
	position:fixed;
	/* bottom: 75px; */
	bottom: 32px;
    right: 20px;
	z-index:9999;
	transition: bottom .3s ease-in;
} 
.block-buttons.--up {
	bottom: 90px;
}
.block-buttons button{
	width: 55px;
	height: 55px;
	border-radius:50%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.block-buttons__hidden {
	position: relative;
	width: 60px;
	/* height:140px; */
	margin-bottom: 10px;
}
.block-buttons__telegram {
	position:absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom:-20px;
	width: 53px;
	height: 53px;
	border-radius:50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color:#2AABEE;
	pointer-events: none;
	opacity:0;
	transition: .3s ease-in-out;
}

.block-buttons__max {
	position:absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom:-20px;
	width: 53px;
	height: 53px;
	border-radius:50%;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
	opacity:0;
	transition: .3s ease-in-out;
}
.whatsapp-button.--mobile{
	position:absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom:-10px;
	right:unset;
	transition: .3s ease-in-out;
	opacity:0;
	pointer-events: none;
	width: 60px;
	height: 60px;
}
.whatsapp-button.--mobile img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.jivo-button{
	position:absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -30px;
	width: 55px;
	height: 55px;
	border-radius:50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color:rgb(76, 175, 80);
	pointer-events: none;
	opacity:0;
	transition: .3s ease-in-out;
}
.main-button {
	background-color:#028fde;
}
.main-button:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    border: 3px solid rgba(255,255,255,0.1);
    -webkit-animation: pulse1 2s linear infinite;
    -moz-animation: pulse1 2s linear infinite;
    animation: pulse1 2s linear infinite;
    -webkit-border-radius: 999px;
    -moz-border-radius: 999px;
    border-radius: 999px;
    -webkit-box-shadow: inset 0px 0px 15px 10px #028fde;
    -moz-box-shadow: inset 0px 0px 15px 10px #028fde;
    box-shadow: inset 0px 0px 15px 10px #028fde;
}
.block-buttons span {
	position: absolute;
	left: -205px;
    bottom: 4px;
	background-color: #028fde;
	border-radius: 5px;
	padding: 10px 20px;
	color: #fff;
}
body.disable-scroll .block-buttons span{
	display: none !important;
}
body.menu-opened .block-buttons span{
	display: none !important;
}
body.menu-opened .block-buttons.--up span{
	display: none !important;
}
.block-buttons span::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border: 0 solid transparent;
	border-bottom-width: 10px;
	border-top-width: 10px;
	border-left: 10px solid #028fde;
	top: 50%;
	right: -9px;
	transform: translateY(-50%);
}

.block-buttons__hidden.open .whatsapp-button.--mobile{
	bottom: 190px;
	opacity: 1;
	pointer-events: auto;
}

.block-buttons__hidden.open .block-buttons__telegram{
	bottom: 125px;
	opacity:1;
	pointer-events: auto;
}

.block-buttons__hidden.open .block-buttons__max{
	bottom: 65px;
	opacity:1;
	pointer-events: auto;
}

.block-buttons__hidden.open .jivo-button{
	bottom: 0px;
	opacity:1;
	pointer-events: auto;
}

@keyframes pulse1{
	0%{
		-webkit-transform: scale(.6);
		opacity: 0;
	}
	50%{
		-webkit-transform: scale(.9);
		opacity: 0;
	}
	60%{
		-webkit-transform: scale(1.1);opacity: .6;
	}
	70%{
		-webkit-transform: scale(1.3);opacity: .85;
	}
	80%{
		-webkit-transform: scale(1.4);opacity: .6;
	}
	100%{
		-webkit-transform: scale(1.6);opacity: 0;
	}
}

@media (max-width: 991px){
	.whatsapp-button.--pc {
		display: none;
	}
	.block-buttons {
		display: block;
	}
}

@media(max-width: 639px){
	.menu-opened .block-buttons span {
		display: none;
	}
}

@media(max-width: 480px){
	.block-buttons span {
		left: -195px;
	}
}

@media(max-width: 375px){
	.block-buttons span {
		left: -190px;
	}
}