/* Основные цветовые схемы для категорий */
.objects-page_red .objects-page__title,
.objects-page_red .objects-list__title,
.objects-page_red .objects-page__count,
.objects-page_red .objects-submenu__link {
    color: #b4052e;
}
.objects-page_red .objects-page__categories li a { color:#b4052e;}

.objects-page_blue .objects-page__title,
.objects-page_blue .objects-list__title,
.objects-page_blue .objects-page__count,
.objects-page_blue .objects-submenu__link {
    color: #2738a4;
}
.objects-page_blue .objects-page__categories li a { color:#2738a4;}

.objects-page_orange .objects-page__title,
.objects-page_orange .objects-list__title,
.objects-page_orange .objects-page__count,
.objects-page_orange .objects-submenu__link {
    color: #c46e03;
}
.objects-page_orange .objects-page__categories li a { color:#c46e03;}

.objects-page_purple .objects-page__title,
.objects-page_purple .objects-list__title,
.objects-page_purple .objects-page__count,
.objects-page_purple .objects-submenu__link {
    color: #8727aa;
}
.objects-page_purple .objects-page__categories li a { color:#8727aa;}

.objects-page_green .objects-page__title,
.objects-page_green .objects-list__title,
.objects-page_green .objects-page__count,
.objects-page_green .objects-submenu__link {
    color: #3A7B3B;
}
.objects-page_green .objects-page__categories li a { color:#3A7B3B;}

.objects-page_yellow .objects-page__title,
.objects-page_yellow .objects-list__title,
.objects-page_yellow .objects-page__count,
.objects-page_yellow .objects-submenu__link {
    color: #b29c1b;
}
.objects-page_yellow .objects-page__categories li a { color:#b29c1b;}

/* Стили для карты */
.map__circle {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    cursor: pointer;
    background-repeat: no-repeat;
    background-image: url(../images/placemarks2.png);
}
.map__circle_blue { background-position: 0; }
.map__circle_yellow { background-position: 0; }
.map__circle_purple { background-position: 0; }
.map__circle_green { background-position: 0; }
.map__circle_orange { background-position: 0; }
.map__circle_red { background-position: 0; }
.map__circle_active,
.map__circle:hover { background-position: -72px; }
.map__circle_red.map__circle_active,
.map__circle_purple.map__circle_active,
.map__circle_red:hover,
.map__circle_purple:hover { background-position: -72px; }

/* Панель инструментов карты */
.map-toolbar {
    position: absolute;
    right: 0;
    top: 25px;
    right: 20px;
    width: 46px;
    z-index: 90;

    -webkit-box-shadow: 0px 0px 5px 0px rgba(34, 60, 80, 0.8);
    -moz-box-shadow:    0px 0px 5px 0px rgba(34, 60, 80, 0.8);
    box-shadow:         0px 0px 5px 0px rgba(34, 60, 80, 0.8);
}
.map-toolbar__list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: white;
    font-size: 0;
}
.map-toolbar__item {
    display: inline-block;
    margin-right: 2px;
}
.map-toolbar__item:last-child { margin-right: 0; }
.map-toolbar__link {
    display: block;
    width: 46px;
    height: 46px;
    background-color: #d9e2fa;
}
.map-toolbar__link:before {
    content: "";
    position: absolute;
    display: block;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
    width: 19px;
    height: 19px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/map-tools.gif);
}
.map-toolbar__item_zoom-in .map-toolbar__link:before { background-position: -38px 0; }
.map-toolbar__item_zoom-out .map-toolbar__link:before { background-position: -19px 0; }
.map-toolbar__item_full-page .map-toolbar__link:before { background-position: 0 0; }

/* Модификаторы для страницы с картой объектов */
.objects-page__head--oml {
    position: absolute;
    top: 88px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 100%;
}
.map-panel--oml { display: none;}
.map-toolbar__item--oml {
    display: block;
    margin-bottom: 2px;
    margin-right: 0;
}
.map-toolbar__item--oml:last-child { margin-bottom: 0; }
.objects-page__categories--oml-hidden { display: none; }

/* Стили для выбранных подкатегорий */
.subcategory-oml-selected {
    background-color: white!important; 
    border-right: 2px solid #2738a4!important;
}
.objects-list__count--oml .map-panel__object:hover {
    color: #808080;
}

/* Адаптивные стили */
@media (max-width: 1100px) {
    .objects-page__categories--oml {
        flex-direction: column;
    }
    .objects-page__head--oml .objects-page__head-line {
        flex-direction: column;
    }
}
@media (min-width: 900px) and (max-width: 1100px) {
    .objects-page__head--oml {
        max-width: 500px;
    }
    .objects-page__head--oml .plate-nav__line {
        margin-top: 10px;
    }
}
@media (max-width: 900px) {
    .objects-page__head--oml {
        max-width: fit-content;
    }
}