


.email-bt {
    background: #0038AC;
    border: 2px solid #012F8D;
    border-radius: 50%;
    box-shadow: 0 8px 10px rgba(0, 56, 172, 0.3);
    cursor: pointer;
    height: 68px;
    width: 68px;
    position: fixed;
    right: 2%;
    bottom: 18%;
    z-index: 9999;
    transition: all 0.3s ease;
    text-align: center;
    /* Анимация пульсации всей кнопки (тени) */
    -webkit-animation: email-an linear 2s infinite;
    animation: email-an linear 2s infinite;
}

.email-bt .text-call {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Стили для картинки-конверта */
.email-bt .envelope {
    width: 32px;
    height: 32px;
    background: url('../images/envelop.svg') no-repeat center;
    background-size: contain;
    transition: all 0.3s ease;
    display: block;
    /* Анимация МЕРЦАНИЯ самого конверта */
    animation: opsimple 2s infinite ease-in-out; 
}

/* Текст при наведении */
.email-bt .text-call span {
    text-align: center;
    color: #0038AC;
    opacity: 0;
    font-size: 0;
    position: absolute;
    width: 100%;
    left: 0;
    line-height: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.email-bt:hover {
    background: #fff;
    transform: scale(1.1);
}

.email-bt:hover .envelope {
    opacity: 0 !important; /* Убираем конверт при наведении */
    animation: none; /* Останавливаем анимацию при наведении */
}

.email-bt:hover .text-call span {
    opacity: 1;
    font-size: 10px;
}

/* --- ВОТ ЭТИХ БЛОКОВ ВАМ НЕ ХВАТАЛО --- */

/* Анимация мерцания конверта (прозрачность) */
@keyframes opsimple {
    0% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.4; transform: scale(0.9); }
}

/* Анимация пульсирующей тени вокруг кнопки */
@keyframes email-an {
    0% { box-shadow: 0 0 0 0px rgba(0, 56, 172, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(0, 56, 172, 0); }
    100% { box-shadow: 0 0 0 0px rgba(0, 56, 172, 0); }
}

/* модальное окно */

form {
    margin-left:auto;
    margin-right:auto;
}

input,select, textarea {
	box-sizing: border-box;
}

textarea{
	background: rgba(0, 0, 0, 0.1); 
    width: 100%;
    height: 110px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 2px; 
    display:block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size:15px;
    color:#444;
    padding:20px;
    margin-bottom:20px;
}

input {
	background: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 4px;
    display:block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size:15px;
    color:#444;
    padding-left:20px;
    padding-right:20px;
    margin-bottom:20px;
}

select {
	background: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 4px;
    display:block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size:15px;
    color:#444;
    padding-left:20px;
    padding-right:20px;
    margin-bottom:20px;
	color: #000000;
}



input[type=submit] {
    cursor:pointer;
}

::-webkit-input-placeholder {
	  color:#000000;
}

:-moz-placeholder{ 
    color:#000000; 
}

::-moz-placeholder {
    color:#000000;
}

:-ms-input-placeholder {  
	  color:#000000; 
}

::-ms-select-placeholder {  
	  color:#000000;
}

input:focus, textarea:focus { 
	  background-color: rgba(0, 0, 0, 0.15);
}

.btn {
	margin:0 auto;
    background:#012F8D;
    border-radius: 4px;
	height: 50px;
	line-height:10px;
	width: 100%;
    color: #fff;
	font-size:17px;
	transition:all 0.3s;
}

.btn:hover {
    background:#0038AC;
 }

 .md-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;
}

.md-perspective body  {
	background: #222;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}

.md-modal {
	position: fixed;
	top: 50%;
	right:-200px;
	width:400px;
	height: 100%;
	
	z-index:999999;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width:400px;
	height: 100%;
	visibility: hidden;
	top: 0;
	right:-200px;
	z-index: 1000;
	opacity: 0;
	background: rgba(0,0,0,0.8);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}

/* Content styles */
.md-content {
	color: #444;
	background:#012F8D;
	position: relative;
	width: 100%;
	height: 100%;
	
}

.md-content h3 {
	margin: 0;
	padding: 0.8em;
	text-align: center;
	font-size: 1.4em;
	font-weight: bold;
	color:#555;
	text-transform:uppercase;
	border-radius: 3px 3px 0 0;
}

.md-content > div {
	padding: 15px 40px 30px;
	margin: 0;
	font-weight: 300;
	font-size: 1.15em;
}

.md-content > div p {
	margin: 0;
	padding: 10px 0;
}

.md-content > div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}

.md-content > div ul li {
	padding: 5px 0;
}

.md-content button {
	display: block;
	margin: 0 auto;
	font-size: 0.8em;
}

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}


/* Effect 2: Slide from the right */
.md-effect-2 .md-content {
	-webkit-transform: translateX(20%);
	-moz-transform: translateX(20%);
	-ms-transform: translateX(20%);
	transform: translateX(20%);
	opacity: 0;
	-webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	-moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

.md-show.md-effect-2 .md-content {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	opacity: 1;
}




