/* Стили главного контейнера */
.ednamb-container {
    right: 20px;
    bottom: 20px;
    z-index: 999999999;
    position: fixed;
    transition: visibility .3s, transform .3s, transform-origin .3s, scale .3s, opacity .3s, bottom .3s, top .3s, left .3s, right .3s;
    opacity: 1;
}

/* Стили главного контейнера в скрытом состоянии */
.ednamb-container.ednamb-hide {
    visibility: hidden;
    transform: translateY(20%);
    opacity: 0;
}

/* Стили блока верхних кнопок */
.ednamb-top-buttons {
    position: absolute;
    right: 0;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: max-content;
    opacity: 1;
    transition: visibility .3s, transform .3s, transform-origin .3s, scale .3s, opacity .3s, bottom .3s, top .3s, left .3s, right .3s;
}

/* Стили блока верхних кнопок в скрытом состоянии */
.ednamb-top-buttons.ednamb-hide {
    visibility: hidden;
    transform: translateY(20%);
    opacity: 0;
}

/* Стили кнопки из блока верхних кнопок */
.ednamb-top-button {
	position:relative;
	z-index:100;
    font-family: "Open Sans", Arial, sans-serif;
    
    background-size: 24px;
background-repeat: no-repeat;
background-position: center;
border-radius: 50%;
display: block;
margin: 5px 0;
width: 40px;
height: 40px;
}


.ednamb-top-button:nth-child(1){ background-color:#4362B1;}
.ednamb-top-button:nth-child(2){ background-color:#597ba0;}
.ednamb-top-button:nth-child(3){background: url("/multibutton/instagram.svg") center center no-repeat, linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important;}
.ednamb-top-button:nth-child(4){ background-color:#ff0202;}

/* Стили кнопки из блока верхних кнопок при наведении */
.ednamb-top-button:hover {
    opacity:0.8;
}

/* Стили блока нижних кнопок */
.ednamb-left-buttons {
    height: 86px;
    position: absolute;
    right: 100px;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 1;
    transition: visibility .3s, transform .3s, transform-origin .3s, scale .3s, opacity .3s, bottom .3s, top .3s, left .3s, right .3s;
}



/* Стили блока нижних кнопок в скрытом состоянии */
.ednamb-left-buttons.ednamb-hide {
    visibility: hidden;
    transform: translateX(90px);
    opacity: 0;
}

/* Стили кнопки из блока нижних кнопок */
.ednamb-left-button {
    background-color: #48e661;
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    display: block;
    margin: 0 5px;
    width: 40px;
    height: 40px;
	position:relative; 
}

.ednamb-left-button:nth-child(2){ background-color:#27a7e8; background-position-x: 5px;}
.ednamb-left-button:nth-child(3){ background-color:rgba(0,0,0,0.4); }
.ednamb-left-button:nth-child(3):before{position:absolute; top:0; left:0; content:'Чат';  width: 40px;     height: 40px; display: flex; align-items:center; justify-content:center; font-size:12px; color:#fff; }

/* Стили кнопки из блока нижних кнопок при наведении */
.ednamb-left-button:hover {
    background-color: rgba(150, 150, 150, 1);
}

/* Стили главной кнопки */
.ednamb-button {
    width: 68px;
    height: 68px;
    cursor: pointer;
    position: absolute;
    right: 2px;
    bottom: 3px;
    background-size: 40px;
    /*background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20version=%271.1%27%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2732%27%20height=%2732%27%20viewBox=%270%200%2032%2032%27%3E%3Cpath%20fill=%27%23ffffff%27%20d=%22M%2016,2%20C%207.162,2%200,7.373%200,14%20c%200,4.127%202.446,7.724%206.675,9.886%200,0.026%20-0.008,0.044%20-0.008,0.073%200,1.793%20-1.005,3.765%20-1.594,4.779%20h%200.002%20c%20-0.046,0.109%20-0.074,0.229%20-0.074,0.357%200,0.503%200.405,0.906%200.907,0.906%200.075,0%200.196,-0.015%200.239,-0.015%200.011,0%200.016,0%200.016,0.003%203.125,-0.511%206.561,-3.271%207.245,-4.104%200.703,0.105%201.177,0.12%201.765,0.12%200.248,0%200.515,-0.003%200.829,-0.003%208.836,0%2016,-5.372%2016,-12%200,-6.627%20-7.164,-12%20-16,-12%20z%22%20/%3E%0A%3C/svg%3E");*/
	background-image: url("/multibutton/whatsapp.svg");
    background-color: #48e661;
	border-radius:50%;
	background-position: center;
	background-repeat: no-repeat;
    animation: zoomInZoomOut 2s infinite;
}


@keyframes zoomInZoomOut {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.2, 1.2);
  }
  100% {
    transform: scale(1, 1);
  }
}


/* Стили главной кнопки в активном состоянии */
.ednamb-button.ednamb-active {
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.25));
    right: 0;
    bottom: 0;
}

/* Стили мобильной версии */
@media (max-width: 1024px) and (orientation: portrait) {
    /* Стили блока верхних кнопок */
	
	
    .ednamb-top-buttons {
       bottom: 15px;
transition-delay: 0s;
height: 30px;
width: 196px;
right: 84px;
flex-wrap: wrap;
    }
	
	.ednamb-top-button{margin:0 5px;}

    /* Стили блока верхних кнопок в скрытом состоянии */
    .ednamb-top-buttons.ednamb-hide {
        transition-delay: .2s;
    }

    /* Стили блока нижних кнопок */
    .ednamb-left-buttons {
        bottom: 146px;
        height: 30px; 
		display:block;
		right: 18px;
        transition-delay: .2s;
    }
	
	.ednamb-left-button{margin:13px 0;}

    /* Стили блока нижних кнопок в скрытом состоянии */
    .ednamb-left-buttons.ednamb-hide {
        transform: translateY(30%);
        transition-delay: 0s;
    }
}
