@font-face {
    font-family: 'RZHD Regular';
    src: url('../../fonts/RZHD_regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RZHD Bold';
    src: url('../../fonts/RZHD_bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

.hidden {
    display: none;
    /*visibility: hidden;*/
}

body {
    font-family: 'RZHD Regular', Arial, sans-serif;
    background-image: url('../../img/background.jpg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: auto;
}

.main_logo {
    position: relative;
    margin: 1rem 0 0 3rem;
    width: 400px;
    height: auto;
    z-index: 1;
}

h1 {
    font-family: 'RZHD Bold', Arial, sans-serif;
    text-align: left;
    margin: 0 0 2rem 3rem;
}

.main-container {
    margin: 0 3rem 0 3rem;
    height: 50vh;
}

.main-container > form.date_filter {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    margin-bottom: 40px;
    font-size: 25px;
    gap: 20px;
}

.main-container > form.date_filter > input {
    font-size: 18px;
    width: 400px;
    height: 30px;
}

.main-container > form.date_filter > button {
    padding-left: 10px;
    padding-right: 10px;
}

.map-container {

}

.interactive_map_block {
    font-size: 28px;
    height: 700px;
    margin-bottom: 100px;
}

.interactive_map_block > #violations_map {
    width: 80%;
    height: 700px;
}

form.card_form {
    display: flex;
    flex-direction: column;
}

form.card_form p {
    flex-basis: 50%;
    margin-bottom: 20px;
}

.single_form {
    font-size: 18px;
}

/* Adjust the layout for labels and items in <p> elements */
form.card_form p {
    display: flex;
    align-items: center;
}

form.card_form p label {
    flex-basis: 150px;
    margin-right: 20px;
}

form.card_form p input,
form.card_form p select,
form.card_form p textarea {
    height: 50px;
    width: 400px;

}

.btn-submit-card {
    font-family: 'RZHD Regular', Arial, sans-serif;
    align-content: center;
    width: auto;
    height: 60px;
    font-size: 30px;
    margin: 40px 0;

}

.iframe_container {
    display: flex;
    margin-top: 20px;
}

.iframe_left,
.iframe_right {
    flex: 1; /* Equal width for both iframe_left and iframe_right */
    margin-right: 10px; /* Adjust the margin based on your preference */
}

.iframe_picker,
.iframe_shower {
    margin-bottom: 10px; /* Adjust the margin based on your preference */
}

.iframe {
    width: 100%; /* Make the iframe width 100% of its container */
    height: 600px;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.back-button {
    border: none;
    font-family: 'RZHD Bold', Arial, sans-serif;
    font-size: 32px;
    background: none;
    color: red;
    cursor: pointer;
}

.button {
    padding: 10px 0;
    width: 420px;
    background-color: #627391;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center; /* Добавлено для центрирования текста */
    line-height: 1.5; /* Подберите подходящее значение */
}

.button:hover {
    background-color: #878ead;
}

.button.active {
    background-color: #878ead;
}

.table-map-toggle-button {
    cursor: pointer;
    margin-left: auto;
    background-color: transparent;
    border-radius: 10px;
    border-width: 0.1rem;
    border-color: #8c8c8c;
    font-family: 'RZHD Regular', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5; /* Подберите подходящее значение */
    transition: color 0.3s;
}

.act {
    position: relative;
    text-align: center;
}

.act-button {
    cursor: pointer;
    margin-left: auto;
    background-color: #ffffff;
    border-radius: 10px;
    border-width: 0.1rem;
    border-color: #8c8c8c;
    font-family: 'RZHD Regular', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5; /* Подберите подходящее значение */
    transition: color 0.3s;
}

.act-button:hover {
    color: #878ead;
}

.act-content {
    position: absolute;
    right: 4rem;
    top: 30%;
    padding: .75rem;
    border-radius: .5rem;
    border-width: 1px;
    border-color: #627391;
    box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, .2);
    background-color: white;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
    pointer-events: none;
    margin-bottom: 0.5rem;
    z-index: 1000;
}

.act-content-buttons {
    width: 4rem;
    background-color: #627391;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center; /* Добавлено для центрирования текста */
    line-height: 1.5; /* Подберите подходящее значение */
    font-family: 'RZHD Regular', Arial, sans-serif;
}

.act-button.active + .act-content {
    opacity: 1;
    pointer-events: auto;
}

.act-button.active, .act-button:hover {
    color: #878ead;
}


.button-main-container {
    display: flex;
    margin: 20px 0 20px 0;
}

.button-main-container .button {
    margin-right: 20px;
    color: white;
    text-decoration: none;
}

.act-content .button {
    width: 4rem;
    margin-right: 0;
}

.pagination {
    text-align: center;
}

/* Общие стили для полосы прокрутки */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #b4b4b4;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

/* Для Firefox */
::-moz-scrollbar {
    width: 10px;
}

::-moz-scrollbar-thumb {
    background-color: #b4b4b4;
}

::-moz-scrollbar-track {
    background-color: #f1f1f1;
}

/* Для IE/Edge */
::-ms-scrollbar {
    width: 10px;
}

::-ms-scrollbar-thumb {
    background-color: #b4b4b4;
}

::-ms-scrollbar-track {
    background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #8c8c8c;
}

/* Для Firefox */
::-moz-scrollbar-thumb:hover {
    background-color: #8c8c8c;
}

/* Для IE/Edge */
::-ms-scrollbar-thumb:hover {
    background-color: #8c8c8c;
}
