*{
outline: none !important;	
}

.logo a{border: none;}

#header nav.use-middle:after {height: auto;}

#header nav ul{border-bottom:0; max-width: 950px;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;	
}

#header nav ul li {width: 25%;border-bottom: solid 1px #ffffff;}

#header nav ul li a {padding: 0 0.5rem; height: 60px; line-height: 1.0rem;
	display: grid;
	align-items: center;
}


/*inner_page*/
#inner_page {width: 40rem; max-width: 100%;  margin: 80px 0 0;}
#inner_page:before {display: none;}
#inner_page aside{background-color: rgba(27, 31, 34, 0.85); border-radius: 4px; padding: 1.5rem 2.5rem;}

.photo_list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
}
.photo_list a {display: block; position: relative; overflow: hidden; height: 150px; text-decoration: none !important; outline: none !important; border: none !important;}
.photo_list a img{transition: 0.5s; outline: none !important;}
.photo_list a:hover img{transform: scale(1.05);}

@media screen and (max-width: 680px) {
	.photo_list {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width: 480px) {

	#header nav ul li {width: 100%; border-top: none; }
	.about_page {order:7;}
	.cont_page {order:8;}

	.photo_list {
		grid-template-columns: repeat(2, 1fr);
	}
}


/*descr_txt*/
.descr_txt {text-align: left; margin-bottom: 50px;}
.descr_txt p{margin-bottom:10px;}
.descr_txt ul{margin-bottom:10px;}

