div.news-list {
	word-wrap: break-word;
}
div.news-list img.preview_picture {
	float: left;
	margin: 0 4px 6px 0;
}
.news-date-time {
	color: #486daa;
}
.boeing-737-700 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.boeing-737-700-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    height: 90%;
    max-width: 3000px;
    max-height: 3000px;
    overflow: hidden; /* Изменено с auto на hidden */
    display: flex; /* Добавлено */
    flex-direction: column; /* Добавлено */
}

.seating-chart-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto;
    flex: 1; /* Добавлено */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1; /* Добавлено */
}

.close-btn:hover {
    color: #000;
}

@media (max-width: 768px) {
    .boeing-737-700-content {
        width: 95%;
        height: 95%;
        padding: 10px;
    }

    .close-btn {
        font-size: 20px;
    }
}