/* Modal */

#modalTable .modal-dialog {
    width: 100%;
    max-width: 640px;
    padding-top: calc(50vh - 217px);
    margin: 0 auto;
}

#modalTable .modal-content {
    padding: 40px;
    background-color: #fff;
}

#modalTable h2 {
    font-family: "AlbertusNova", Arial, sans-serif;
    font-size: 19px;
    line-height: 20px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 10px;
}

#modalTable form .control-group {
    margin-bottom: 10px;
}

#modalTable form input {
    padding: 5px 10px;
    border: none;
    border-bottom: 1px solid rgba(114, 124, 140, 1);
    color: black;
    height: 40px;
    border-radius: 0;
    box-shadow: 0 0 0 0 transparent;
    outline: 0;
    width: 100%;
}

#modalTable textarea {
    border: none;
    outline: none;
    width: 100%;
}

#modalTable form .btn {
    background-color: rgba(205, 176, 156, 1);
    border-color: rgba(205, 176, 156, 1);
    display: block;
    border-radius: 8px;
    float: none !important;
    margin-top: 20px;
    height: 60px;
    padding: 16px 8px;
    width: 175px;
}

#modalTable form .btn:hover, #modalTable form .btn:focus {
    background-color: rgba(175, 134, 104, 1);
    border-color: rgba(175, 134, 104, 1);
    outline: none;
}

#modalTable .close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px; /*-20px;*/
    right: 10px; /*-20px;*/
    opacity: 0.7;
}

#modalTable .close:before {
    position: absolute;
    content: '';
    width: 20px;
    height: 2px;
    top: 11px;
    left: 0;
    background-color: rgba(77, 77, 79, 1); /*#fff;*/
    transform: rotate(45deg);
}

#modalTable .close:after {
    position: absolute;
    content: '';
    width: 20px;
    height: 2px;
    top: 11px;
    right: 0;
    background-color: rgba(77, 77, 79, 1); /*#fff;*/
    transform: rotate(-45deg);
}

#modalTable label.control-label {
    font-weight: 100;
    font-size: 12px;
}

#modalTable .input-group {
    position: relative;
    display: flex;
    align-items: center;
}

#modalTable form .btn#btn-minus {
    width: 24px;
    height: 24px;
    color: rgba(205, 176, 156, 1);
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    margin-top: 0;
    outline: none;
    outline-offset: 0;
    font-size: 20px;
    line-height: 24px;
}

#modalTable form .btn#btn-minus:active, #modalTable form .btn#btn-plus:active {
    box-shadow: none;
}

#modalTable form .btn#btn-plus {
    width: 24px;
    height: 24px;
    color: rgba(205, 176, 156, 1);
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    margin-top: 0;
    outline: none;
    outline-offset: 0;
    font-size: 20px;
    line-height: 24px;
}

#modalTable h2 {
    margin-bottom: 15px;
}

#modalTable p {
    font-size: 16px;
    line-height: 100%;
    color: rgba(51, 51, 51, 1);
    margin-bottom: 5px;
    font-family: "Gals", Arial, sans-serif;
}

#modalTable form input#agreeCheckbox {
    height: 24px;
    width: 24px;
    margin-right: 10px;
    border: 1px solid rgba(114, 124, 140, 1);
}

/**/
#modalHall .modal-dialog {
    width: 100%;
    max-width: 640px;
    padding-top: calc(50vh - 217px);
    margin: 0 auto;
}

#modalHall .modal-content {
    padding: 40px;
    background-color: #fff;
}

#modalHall h2 {
    font-family: "AlbertusNova", Arial, sans-serif;
    font-size: 19px;
    line-height: 20px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 10px;
}

#modalHall form .control-group {
    margin-bottom: 10px;
}

#modalHall form input {
    padding: 5px 10px;
    border: none;
    border-bottom: 1px solid rgba(114, 124, 140, 1);
    color: black;
    height: 40px;
    border-radius: 0;
    box-shadow: 0 0 0 0 transparent;
    outline: 0;
    width: 100%;
}

#modalHall textarea {
    border: none;
    outline: none;
    width: 100%;
}

#modalHall form .btn {
    background-color: rgba(205, 176, 156, 1);
    border-color: rgba(205, 176, 156, 1);
    display: block;
    border-radius: 8px;
    float: none !important;
    margin-top: 20px;
    height: 60px;
    padding: 16px 8px;
    width: 175px;
}

#modalHall form .btn:hover, #modalHall form .btn:focus {
    background-color: rgba(175, 134, 104, 1);
    border-color: rgba(175, 134, 104, 1);
    outline: none;
}

#modalHall .close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    right: 10px; 
    opacity: 0.7;
}

#modalHall .close:before {
    position: absolute;
    content: '';
    width: 20px;
    height: 2px;
    top: 11px;
    left: 0;
    background-color: rgba(77, 77, 79, 1);
    transform: rotate(45deg);
}

#modalHall .close:after {
    position: absolute;
    content: '';
    width: 20px;
    height: 2px;
    top: 11px;
    right: 0;
    background-color: rgba(77, 77, 79, 1); 
    transform: rotate(-45deg);
}

#modalHall label.control-label {
    font-weight: 100;
    font-size: 12px;
}

#modalHall .input-group {
    position: relative;
    display: flex;
    align-items: center;
}

#modalHall form .btn#btn-minus {
    width: 24px;
    height: 24px;
    color: rgba(205, 176, 156, 1);
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    margin-top: 0;
    outline: none;
    outline-offset: 0;
    font-size: 20px;
    line-height: 24px;
}

#modalHall form .btn#btn-minus:active, #modalHall form .btn#btn-plus:active {
    box-shadow: none;
}

#modalHall form .btn#btn-plus {
    width: 24px;
    height: 24px;
    color: rgba(205, 176, 156, 1);
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    margin-top: 0;
    outline: none;
    outline-offset: 0;
    font-size: 20px;
    line-height: 24px;
}

#modalHall h2 {
    margin-bottom: 15px;
}

#modalHall p {
    font-size: 16px;
    line-height: 100%;
    color: rgba(51, 51, 51, 1);
    margin-bottom: 5px;
    font-family: "Gals", Arial, sans-serif;
}

#modalHall form input#agreeCheckbox {
    height: 24px;
    width: 24px;
    margin-right: 10px;
    border: 1px solid rgba(114, 124, 140, 1);
}

.a-phone {
    color: rgba(175, 134, 104, 1);
    text-decoration: none;
    padding-left: 5px;
}

.a-mail {
    color: rgba(175, 134, 104, 1);
    text-decoration: none;
    padding-left: 10px;
}

#agreeCheckbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

/* Меняем фон когда отмечен */
#agreeCheckbox:checked {
    background-color: rgba(175, 134, 104, 1);
    border-color: rgba(175, 134, 104, 1);
}

/* Добавляем галочку */
#agreeCheckbox:checked::after {
    content: "✓";
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
}

/* Выравнивание с лейблом */
.controls.agreeCheckbox {
    display: flex;
    gap: 10px;
}

.agreeCheckbox {
    font-family: "Gals", Arial, sans-serif;
    display: flex;
}

.agreeCheckbox label {
    font-weight: 100;
    line-height: 110%;
    margin-bottom: 0;
}

.link-phone {
    margin-bottom: 10px;
}

.link-phone img {
    margin-bottom: 5px;
    margin-right: 5px;
}

.link-mail img {
    margin-bottom: 5px;
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 1199px) {

}

@media (max-width: 991px) {

}

@media (max-width: 767px) {

}

@media (max-width: 575px) {
    #modalTable .close {
        top: -30px;
        right: 0;
    }
    
    #modalHall .close {
        top: -30px;
        right: 0;
    }
}

@media (max-width: 1199px) {

}

@media (max-height: 900px) {

}

@media (max-height: 900px) and (max-width: 1199px) {

}

@media (max-width: 991px) {

}

@media (max-height: 800px) and (max-width: 991px) {

}

@media (max-width: 768px) {


}

@media (max-width: 767px) {

}

@media (max-height: 700px) and (max-width: 767px) {

}

@media (max-width: 575px) {

    
}

@media (max-width: 450px) {

}

