/* Homepage-only search and news presentation. */
#sloganCatalog .carousel-inner > .item > a,
#sloganCatalog .carousel-inner > .item > img,
#sloganCatalog .carousel-inner > .item > a > img {
    display: block;
    width: 100%;
}

#sloganCatalog .carousel-inner > .item > img,
#sloganCatalog .carousel-inner > .item > a > img {
    height: auto;
}

#sloganCatalog .carousel-indicators li,
#sloganCatalog .carousel-indicators .active {
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    margin: 2px 3px;
    border-radius: 50%;
}

#sloganCatalog .carousel-indicators li {
    border: 2px solid rgba(255, 255, 255, 0.96);
    background-color: #20543e;
    box-shadow: 0 0 0 1px rgba(24, 48, 38, 0.88), 0 1px 4px rgba(0, 0, 0, 0.5);
}

#sloganCatalog .carousel-indicators .active {
    border-color: #294737;
    background-color: #f7c928;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.96), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.portal-mobile-public .navbar2 .search-form-block .input-group {
    position: relative;
}

.portal-mobile-public .navbar2 .search-form-block .input-group::after {
    position: absolute;
    top: calc(50% + 2px);
    right: 22px;
    z-index: 1001;
    color: #168453;
    content: "\e003";
    font-family: "Glyphicons Halflings";
    font-size: 15px;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

.portal-mobile-public .navbar2 .search-form-block #search {
    height: 40px;
    padding-right: 50px !important;
    padding-left: 14px !important;
    border: 1px solid #168453 !important;
    background-color: #fff;
    box-shadow: none;
}

.portal-mobile-public .navbar2 .search-form-block #search:focus {
    border-color: #0f6f43 !important;
    box-shadow: 0 0 0 2px rgba(22, 132, 83, 0.16);
}

.portal-mobile-public .navbar2 .search-form-block .input-group-btn:empty {
    display: none;
}

.portal-home-news {
    margin-bottom: 20px;
}

.portal-home-news__card {
    overflow: hidden;
    border: 1px solid #e1e6e3;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(27, 43, 36, 0.1);
}

.portal-home-news__card:empty {
    display: none;
}

.portal-home-news__item {
    padding: 11px 13px;
    border-bottom: 1px solid #e5e9e7;
}

.portal-home-news__item:last-child {
    border-bottom: 0;
}

.portal-home-news__item-header,
.portal-home-news__meta {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.portal-home-news__title {
    min-width: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.portal-home-news__title a {
    color: #263238;
}

.portal-home-news__title a:hover,
.portal-home-news__title a:focus {
    color: #126c45;
}

.portal-home-news__age {
    flex: 0 0 auto;
    padding: 2px 7px;
    border-radius: 2px;
    background: #7b827f;
    color: #fff;
    font-size: 10px;
    line-height: 1.35;
    white-space: nowrap;
}

.portal-home-news__summary {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    color: #59645f;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.portal-home-news__meta {
    align-items: center;
    margin-top: 6px;
}

.portal-home-news__date,
.portal-home-news__open {
    color: #718078;
    font-size: 12px;
}

.portal-home-news__date .glyphicon {
    margin-right: 4px;
    font-size: 11px;
}

.portal-home-news__open {
    flex: 0 0 auto;
    padding: 3px;
}

.portal-home-news__open:hover,
.portal-home-news__open:focus {
    color: #126c45;
}

.portal-home-news__all {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .portal-mobile-public .navbar2 .search-form-block #search {
        min-height: 44px;
    }

    .portal-home-news__item {
        padding: 11px 12px;
    }
}
