/* Введите Ваш код CSS тут */
.contact p {
    font-size: 14px;
    margin-bottom: 0px;
}
div#header {
    background-color: #fff;
}
li#menu-item-218 {
    background-color: #369;
    cursor: pointer;
}
input.search-submit {
    position: absolute;
}
@media screen and (max-width: 991px){
    input.search-submit {
    position: relative;
}
  a#evenselita {
    position: relative !important;
   
}
.aligncenter, img.aligncenter {
    display: none;   
}
  
}
@media screen and (max-width: 767px){
    input.search-submit {
    position: absolute;
}
}
#content_box h1 {
    display: none;
}
a#evenselita {
    position: absolute;
    left: 40%;
    top: 1.4%;
    font-size: 1em;
  color:#d9470d;
}
.flex-direction-nav {
    display: none;
}
.metaslider .slides img {
    width: 93% !important;
}
/*fon*/
div#header {
    background-color: #ecebf1;
}
/*новый год xmas*/
#header .top_headbar {
    background: rgba(0, 0, 0, .0001);
}
#content_box p {
    font-size: 22px !important;
}

/*главная объявление*/
.cont5pix{
     margin:5px !important;
  padding: 5px;
  
}
/*директор*/
.director-appointment {
    border: 2px solid #000; /* черная рамка */
    padding: 15px; /* внутренние отступы */
    border-radius: 10px; /* скругленные углы */
    background-color: #f9f9f9; /* светлый фон */
    max-width: 600px; /* максимальная ширина блока */
    margin: 20px auto; /* центрирование блока */
}

.director-appointment h2 {
    margin-top: 0; /* убираем верхний отступ заголовка */
    text-align: center; /* выравнивание заголовка по центру */
}
.director-appointment.df {
    margin: 0 !important;
}

/*стиль для адреса галлереи*/

 h2.osa-title {
background: linear-gradient(90deg, #f39c12, #e74c3c);
    -webkit-background-clip: text;
    color: transparent;
        font-family: 'Georgia', serif;
        font-size: 32px;
        font-weight: bold;
        color: #2c3e50;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin: 20px 0;
        padding: 10px 0;
        position: relative;
        display: inline-block;
         text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

/* Обертка списка адресов */
.address-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin: 30px 0;
}

/* Базовая карточка */
.address-list a {
    background-color: #efeff1 !important;
    color: #333 !important;
    border: 1px solid #30a2e1 !important;
    min-height: 90px;
    padding: 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 6px 15px rgba(48,162,225,0.06);
    transition: all 0.3s ease;
}

/* Чередование фона */
.address-list a:nth-child(even) {
    background-color: rgba(48,162,225,0.10) !important;
}

/* Ховер */
.address-list a:hover {
    background-color: #30a2e1 !important;
    color: #ffffff !important;
    border: 1px solid #757575 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(48,162,225,0.25) !important;
}

/* Мобильная версия */
@media (max-width: 600px) {
    .address-list {
        grid-template-columns: 1fr;
    }
}

