@charset "utf-8";
/* CSS Document */

body {
    font-family: Georgia, "Times New Roman", Times, serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
	background: url("../img/344.png");
	background-size: 100% 100%; 

}
.column {
	padding-left: 2%;
    -webkit-column-width: 40%;
    -moz-column-width: 40%;
    column-width: 40%;
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
    -webkit-column-gap: 5%;
    -moz-column-gap: 5%;
    column-gap: 5%;
    -webkit-column-rule: 1px solid #ccc;
    -moz-column-rule: 1px solid #ccc;
    column-rule: 1px solid #ccc;
   }

.main {
	display: flex; flex-direction: column;
	width: 71%;
    height: auto;
    margin-left: 2%;
    font-size: 14px;
    padding: 10px 10px 10px 10px;
    border: 2px solid #003;
    border-radius: 15px;
    background: #fff;
}

.main_fl {
	display: flex;
	/*border: 2px solid yellow;*/
	
	justify-content: space-around;
}
.footer {
		height: 3.8em;
		/*border: 2px solid black;*/
	    color: #301E01;
		margin-top: 1em;
		padding-left: 10%;
		text-indent: -0.5em;
		font-size: 0.8em;
}

.topmap {height:100px; width:100%;}
.butt {float:right; width: 25%; margin-top:50px;}
.zag {
	/*border: 2px solid green;*/
	width: 60%;
	margin: 60px auto auto auto;
	align-items: center;
	}

a {
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
a:hover {
  color:#6B0103;
}

/* Контейнер SVG */
.svg-container {
    position: relative;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}
.svg-container svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100vh;
   /*border: 1px solid #ccc;*/
}

/* Всплывающая подсказка */
.tooltip-box {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
}
.tooltip-box .label {
    text-align: center;
    font-weight: bold;
    color: #333;
    margin-top: 5px;
}

/* Стили для элементов внутри SVG */
path {
    cursor: pointer;
    transition: fill 0.3s ease;
}
path:not([style*="fill:none"]):hover {
    fill: #c3e8ff!important;
}

/* Модальное окно */
.modal {
    display: none; /* Изначально скрыто */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    display: flex;
    flex-direction: row; /* Расположение двух блоков в строку */
    align-items: center;
    justify-content: center;
    position: relative;
    width: 600px;
    max-width: 90%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    /* Смещение вправо и центрирование */
    position: absolute;
    left: calc(50% + 50px); /* Смещаем вправо на 50px */
    top: 50%;
    transform: translate(-50%, -50%); /* Центрируем по горизонтали и вертикали */
}
.modal-header {
    padding: 20px;
    background: #f4f4f4;
    border-bottom: 0px solid #ddd;
    text-align: center;
    width: 100%;
}
.modal-header h2 {
    margin: 0;
    font-size: 16px;
    color: #333;
    text-align: center;
}
.modal-body {
    padding: 20px;
    text-align: center;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}
.modal-close:hover {
    color: #F7BE86;
}

/* Стили для двух блоков внутри модального окна */
.modal-content .modal-svg {
    flex: 1;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-content .modal-svg svg {
    max-width: 100%;
    max-height: 200px;
    border: 0px solid #ddd;
}

.modal-content .modal-text {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.modal-content .modal-text h2 {
    margin: 0;
    font-size: 16px;
    color: #333;
    text-align: center;
}
.modal-content .modal-text p {
    margin: 10px 0 0;
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* Медиа-запросы */
@media (max-width: 708px) {
    .svg-container {
        padding: 10px;
    }
    .modal-content {
        flex-direction: column;
        padding: 20px;
    width:350px;
    max-width: 90%;
    background: #fff;
    left: 50%;
}