/* Стили главного контейнера */
.ednamb-container {
    right: 20px;
    bottom: 20px;
    z-index: 10;
    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 > a {
    transition: all 0.2s ease;
}

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

/* Стили спич */

.ednamb-speech {
    transition:all 0.2s ease;
    line-height:1.5;
    padding:10px 20px;
    background-color:#21a2dd;
    border-radius:5px;
    color:#fff;
    font-size:18px;
    font-weight:500;
    height:54px;
    align-items:center;
    position:absolute;
    cursor:pointer;
	right:95px;
	bottom:10px;
	white-space: nowrap;
	display:flex;
	z-index:-1;
	opacity:0;
	translation:all 0.2s ease;
	pointer-events: none;
}
.ednamb-speech--visible {
	z-index:1;
	opacity:1;
	pointer-events: auto;
}
.ednamb-speech strong {
    margin-right:10px;
}
.ednamb-speech::after {
    content: ''; 
    position: absolute;
    right: -25px;
    top: 50%;
    transform:translateY(-50%);
    border: 10px solid transparent;
    border-left: 15px solid #21a2dd;
}
@media (max-width:420px) {
    .ednamb-speech {
        font-size:15px;
    }
}
@media (max-width:370px) {
    .ednamb-speech {
        padding:10px 10px;
    }
}
@media (max-width:350px) {
    .ednamb-speech {
        font-size:14px;
    }
    .ednamb-speech strong {
        margin-right:5px;
    }
}

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

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

/* Стили кнопки из блока верхних кнопок */
.ednamb-top-button {
	position:relative;
	z-index:100;
    
    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:#34abdf;}
.ednamb-top-button:nth-child(3){background-color:#7b2ac8;}

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

/* Стили блока нижних кнопок */
.ednamb-left-buttons {
    height: 40px;
    position: absolute;
    right: 90px;
    bottom: 15px;
    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:#7360F2;}
.ednamb-left-button:nth-child(3){ background-color:#27a7e8; background-position-x: 6px;}
.ednamb-left-button:nth-child(4){ background-color:rgba(0,0,0,0.4); }
.ednamb-left-button:nth-child(4):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: 58px;
    height: 58px;
    cursor: pointer;
    position: absolute;
    right: 2px;
    bottom: 3px;
    background-size: 35px;
    /*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-color: #21a2dd;
	border-radius:50%;
	background-position: center;
	background-repeat: no-repeat;
    animation: zoomInZoomOut 2s infinite;
    opacity:0;
}
.ednamb-button--1 {
    background-image: url("/multibutton/mult.svg");
    opacity:1;
}
.ednamb-button--2 {
    background-image: url("/multibutton/mult-2.svg");
    opacity:1;
}
.ednamb-button--telegram {
    background-image: url("/multibutton/telegram.svg");
    opacity:1;
    background-position: 45% 50%;
}
.ednamb-button--telegram a {
    display:block;
    width:100%;
    height:100%;
}

@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));
}

/*
@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;
    }
}
*/