/*Modal*/
.email-bt {


    cursor:pointer;

    text-align:center;

    position: fixed;
    right: 2%;
    bottom: 5%;
    z-index:999;

    -webkit-animation:email-an linear 1s infinite;
    animation:email-an linear 1s infinite;
}

.email-bt .text-call{
    position:relative;
    overflow:hidden;
}

.modal {
    display: none;
    position: fixed; /* Фиксированное положение */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99;
}

.modal-content {
    display: flex;
    position: relative;
    flex-direction: column;
    background-color: #fff;
    align-items: center;
    justify-content: center;
    margin: 9% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;

}



.close {
    display: flex;
    position: absolute;
    top: 5%;
    right: 2%;

    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #990000; /* Темнорозовый цвет на наведении */
}

/* Style for the consultation request button */
#openModalBtn {
    background-color: #4CAF50; /* Green background color */
    color: white; /* White text color */
    padding: 10px 20px; /* Padding */
    font-size: 16px; /* Font size */
    border: none; /* No borders */
    cursor: pointer; /* Pointer cursor */
    border-radius: 5px; /* Rounded corners */
}

#openModalBtn:hover {
    background-color: #45a049; /* Darker green on hover */
}



.messaging-buttons {
    margin-top: 20px;
}

.messaging-buttons a {
    display: inline-block;
    margin-right: 10px;
}

.messaging-buttons img {
    width: 50px; /* You may adjust the size according to your preference */
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ccc;
    padding: 5px;
    cursor: pointer;
}

.messaging-buttons img:hover {
    background-color: #f0f0f0;
}

#consultationForm input[type="submit"] {
    background-color: #98ccd3; /* Зеленый фон */
    color: white; /* Белый текст */
    padding: 10px 20px; /* Отступы вокруг текста */
    font-size: 16px; /* Размер шрифта */
    border: none; /* Без границы */
    cursor: pointer; /* Курсор при наведении */
    border-radius: 5px; /* Закругленные углы */
}

#consultationForm input[type="submit"]:hover {
    background-color: #98ccd3; /* Темнозеленый фон при наведении */
}

textarea.form-control {
    height: 90px;
    font-size: 12px;
}


#countdown {
    text-align: center;
    font-size: 22px;
    margin-top: 20px;
    font-weight: bold;
    padding: 10px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#form input {
    font-size: 12px;
}

@media screen and (max-width: 600px) {
    #countdown {
        font-size: 16px;
    }
}

@media screen and (max-width: 600px) {
    .modal-content {
        margin: 20% auto; /* Увеличил отступ сверху для лучшего вида на мобильных устройствах */
        width: 90%;
    }
    #consultationForm input {
        width: 100%; /* Занимать 100% ширины контейнера */
        box-sizing: border-box; /* Считать границы и отступы внутрь ширины */
        margin-bottom: 10px; /* Дополнительный отступ снизу */
    }
    #contactBtn {
        display: none;
    }



}

