.d-w h1,h2,h3 {
    font-weight: 400;
    text-align: center;
}

.d-w h3 {
    font-size: 22px;
}


.d-w h1,h2 {
    font-size: 30px;
}
.b-district__body {
    margin: 20px;
}

@media only screen and (max-width: 500px) {
.d-w h1,h2 {
		font-size: 20px;
}

.d-w h3 {
    font-size: 19px;
}

}
.d-w {
    padding: 30px 0;
}

.d-w p {
    text-align: justify;
    line-height: 20px;
    margin: 12px 0;
}




.cat-m__wrap {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
}
.cat-m__item{
	width: calc((100% - 72px)/3);
	margin:12px;
	box-shadow: 0 0 10px rgb(0 0 0 / 20%);
    height: 330px;
    border-radius: 5px;
    padding: 30px;
}
@media only screen and (max-width: 1200px) and (min-width: 771px){
.cat-m__item {
    width: calc((100% - 48px)/2);
}
}
@media only screen and (max-width:770px) {
	.cat-m__item{
        width:100%;
        justify-content: center;
    }
}

.cat-m__item ul li:last-child {
    margin-bottom: 0;
}


.cat-m__item-title{
    font-weight:500;
    margin-bottom:18px;
}
.cat-m__item ul li{
    margin-bottom:10px;
}

.cat-m__item ul li a {
    display:flex;
    align-items:center;
}
.cat-m__item ul li a{
    justify-content:space-between;
    font-size:16px;
    color: #fff;
    font-weight: 400;
}
.cat-m__item ul li a:hover{
    color:#e41b45;
    text-shadow: 0 1px 1px rgb(0 0 0 / 90%);
}

.cat-m__item-title a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.cat-m__item-title a:hover {
    color:#e41b45;
    text-shadow: 0 1px 1px rgb(0 0 0 / 90%);
}



.b-district__item-wrap {
    background: #F3F4F6;
    margin: 20px 20px 0;
    padding: 10px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.b-district__item {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 5px;
    background: #F2F4F6;
    width: 280px;
    margin: 12px;
    box-shadow: 0 6px 10px rgb(0 0 0 / 10%);
    cursor: pointer;
    text-align: center;
}


.b-district__item:hover {
    box-shadow: 0 6px 10px rgb(0 0 0 / 30%);
}


.b-district__item-title {
    color: #242629;
    font-size: 18px;
    line-height: 20px;
    font-weight: 500;
}

.b-district__item-count {
    color: #737476;
    margin-top: 10px;
}
.b-district__flex {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}


.dist_flat-s {
    background: url(../../img/districts/flat-s.jpg) no-repeat;
}

.dist_flat-r {
    background: url(../../img/districts/flat-r.jpg) no-repeat;
}

.dist_flat-n {
    background: url(../../img/districts/flat-n.jpg) no-repeat;
}

.dist_house {
    background: url(../../img/districts/house.jpg) no-repeat;
}

.dist_com-s {
    background: url(../../img/districts/commerce-s.jpg) no-repeat;
}
.dist_com-r {
    background: url(../../img/districts/commerce-r.jpg) no-repeat;
}


  .dist-dark {
    background: rgba(0, 0, 0, 0);
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: 0.3s;
  }
  .dist-dark i {
    margin-top: 30%;
    color: transparent;
    transition: 0.5s;
    transform: scale(0.5);
    font-size: 30px;
  }
  
  .b-district__item:hover .dist-dark {
    background: rgba(0, 0, 0, 0.8);
  }
  .b-district__item:hover .dist-dark i {
    color: #fff;
    transform: scale(1);
  }