.districts-page__item-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.districts-page__section-map h1 {
    color: rgb(51, 51, 51);
}

.districts-page__section-item {
    padding-bottom: 30px;
}

.districts-page__block {
    width: 100%;
    text-align: center;
    margin: 30px 0;
    border-radius: 5px;
    background-color: #fff;
    padding: 14px;
    box-shadow: 0 6px 10px rgb(0 0 0 / 20%);
}

.districts-page__text-area {
    width: 100%;
    text-align: left;
    border-radius: 5px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 6px 10px rgb(0 0 0 / 20%);
}

.districts-page__text-area p {
    margin-bottom: 10px;
}

.districts-page__item {
    width: 315px;
    height: 380px;
    position: relative;
    vertical-align: top;
    letter-spacing: normal;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 6px 10px rgb(0 0 0 / 20%);
    margin: 6px;
    display: inline-block;
    text-align: center;
}

.districts-page__item:hover {
    opacity: .9;
    cursor: pointer;
    box-shadow: 0 6px 10px rgb(0 0 0 / 40%);
}


.districts-page__item-img {
    position: absolute;
    left: 0;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    height: 83%;
    background-position: 50%;
}

.districts-page__item-img-grad {
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top,#202030 25%,rgba(32,32,48,0.85) 35%,rgba(32,32,48,0.6) 45%,rgba(32,32,48,0) 70%);
}

.districts-page__item-text-href {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: #fff;
    z-index: 1;
    text-decoration: none;
    border: none;
    outline: none;
}

.districts-page__item-text {
    display: flex;
    flex-flow: column nowrap;
    z-index: 1;
    justify-content: flex-start;
    outline: 0;
    user-select: none;
    position: absolute;
    padding: 0;
    height: auto;
    bottom: 10px;
    max-height: 137px;
    width: 100%;
    color: #fff;
}

.districts-page__item-text h4 {
    font-size: 22px;
    line-height: 26px;
    padding: 0 18px 6px;
    font-weight: 600;
}

.districts-page__item-text p {
    font-size: 15px;
    line-height: 20px;
    opacity: .8;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    padding: 3px 18px 2px;
}
.districts__main-map {
    background: #fff;
    box-shadow: 0 0 10px rgb(0 0 0 / 20%);
    transition: box-shadow .15s;
    margin: 20px auto;
    padding: 20px;
    border-radius: 5px;
}
.districts__main-map h1,h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
}
.districts__main-map-wrapper {
    border-radius: 5px;
    box-shadow: 0 6px 10px rgb(0 0 0 / 20%);
    padding: 10px;
}

.districts__menu-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    line-height: 65px;
    margin: 0 auto;
    text-align: center;
    background-color: #fff;
    transition: all 100ms linear;
    font-weight: 300;
    
}

.districts__menu-wrapper a {
    color: #333;
    padding: 0 5px;
    font-size: 14px;
    height: 65px;
    margin: 0 10px;
}

.districts__menu-act {
    border-bottom: 5px solid #DE2A1B !important; 
}

.districts__menu-act {
    color: #DE2A1B !important;
    font-weight: 700;
}

.districts__menu-wrapper span {
    margin-right: 30px;
}


.districts__menu-wrapper a:hover {
    color: #b7171c;
}
