/* стили для внешнего вида сайта */

/*
:root {
  --color-main_bg: white;
  --color-logo_bg: #eff2f9;
  --color-logo_text: #464345;
  --color-text: black;
  --color-selected_block: #fffacd;
}
*/


body {
	margin: 0;
	padding: 0;
	background-color: White;
	background: url(/images/catherine.png);
}

div, header, footer, nav, ul {
	display: block;
	height: auto;
	overflow: hidden;
}

.mb {
	margin-bottom: 5px;
}

.mb2 {
	margin-bottom: 10px;
}

.mb3 {
	margin-bottom: 15px;
}

.mb4 {
	margin-bottom: 20px;
}

.mb5 {
	margin-bottom: 25px;
}

.mb6 {
	margin-bottom: 30px;
}

.mt6 {
	margin-top: 30px;
}


.headpanel {
	padding: 15px 0;
	background: rgba(255,255,255, 0.5);
}


.headpanel .container {
	display: grid;
	grid-gap: 20px;
	grid-template-columns: 3fr 2fr 2fr;
	align-items: center;
}

.sitetitle {
	display: grid;
	grid-gap: 15px;
	grid-template-columns: 83px auto;
}

.logo img {
	width: 83px;
}

.ano, .yar {
	font-size: 0.8rem;
}

.ksm {
	font-weight: bold;
	font-size: 1.2rem;
	margin: 5px 0;
}

.top_contacts {
	text-align: center;
	font-weight: bold;
	font-size: 1rem;
}

.top_contacts div:first-child {
	margin-bottom: 10px;
}

.top_contacts a {
	color: black;
	text-decoration: none;
}

.top_contacts a:hover {
	text-decoration: underline;
}

.as_button {
	display: inline-block;
	padding: 10px 20px;
	text-decoration: none;
	background: black;
	color: white;
	border-radius: 15px;
}

.as_button_blue {
	display: inline-block;
	padding: 15px 40px;
	text-decoration: none;
	background: #1f5bff;
	color: white;
	border-radius: 25px;
}

.pol_info div {
	float: left;
	margin-right: 10px;
}


@media screen and (max-width: 800px) {

.headpanel .container {
	grid-gap: 10px;
	grid-template-columns: 3fr 1fr;
	align-items: start;
}

.pol_info {
	position: absolute;
	right: 10px;
	top:10px;
}

.pol_info div {
	float: none;
	margin-right: 0px;
	margin-bottom: 10px;
}

.pol_info div img {
	display: block;
	height: 20px;
}

.top_contacts {
	text-align: left;
}

.sitetitle {
	margin-right: 40px;
}

}


@media screen and (max-width: 600px) {


.headpanel .container {
	grid-template-columns: auto;
	grid-gap: 0px;
}

.top_contacts {
	padding-left: 98px;
}


}




.mainmenu {
	padding: 10px 0;
	background: rgba(255,255,255, 0.8);
}

.openmenu {
	display: none;
}


.dropdown_menu {
	padding:0;
	margin: 0;
}

.mm_level1 {
	display: block;
	list-style: none;
	float: left;
	margin-right: 20px;
	padding: 0px;
}

.mm_level1:hover {
	background: #000000;
}

.current_mm1 {
	background: #000000;
}

.mm_level1>a {
	color: black;
	text-decoration: none;
	display: block;
	padding: 10px 20px;
	text-transform: uppercase;
}

.mm_level1:hover a, .current_mm1 a {
	color: white;
}

.dropdown_subsections {
	padding: 10px;
	background: #000000;
	position: absolute;
	display: none;
	z-index: 100;
}

.dropdown_menu li:hover .dropdown_subsections {
	display: block;
}

.dropdown_subsections li {
	padding: 0;
	margin: 0;
	list-style: none;
}

.dropdown_subsections li a {
	display: block;
	padding: 5px;
	color: white;
}

.dropdown_subsections li a:hover {
	background: #404040;
}



@media screen and (max-width: 900px) {

.dropdown_subsections {
	display: none;
	margin-left: 0
}

}









@media screen and (max-width: 800px) {

.dropdown_menu {
	display: grid;
	grid-gap:0;
	grid-template-columns:1fr 1fr 1fr 1fr;
}

}


@media screen and (max-width: 600px) {

.dropdown_menu {
	display: grid;
	grid-gap:0;
	grid-template-columns:1fr 1fr 1fr;
}

}

@media screen and (max-width: 500px) {

.dropdown_menu {
	grid-template-columns:auto;
}

.mm_level1 {
	border-style:solid;
	border-width: 0 0 1px 0;
	border-color: gray;
	
}

.menu {
	display: none;
}


.openmenu {
	display: block;
	cursor: pointer;
}

.menu_symbol {
	font-size: 30px;
	float: left;
	margin-right: 10px;
}

.menu_text {
	padding-top: 12px;
	font-size: 1.2rem;
}

.dropdown_subsections {
	position: relative;
	display: block;
	background: transparent;
}

.dropdown_subsections li a {
	color: black;
}

.current_mm1 .mm_level2 a{
	color: white !important;
}




}



.poster {
	background: url(/images/natanke.jpg) no-repeat top center / cover;
}

.poster_bg {
	background: rgba(0,0,0,0.7);
	color: white;
}

.poster_bg .container {
	display: grid;
	grid-gap:50px;
	grid-template-columns:3fr 2fr;
	min-height: 800px;
	align-items:center;
}


.svo_fond {
	font-size: 4.5rem;
	margin-bottom: 1rem;
}

.svo_fond_yar {
	font-size: 1.2rem;
}

@media screen and (max-width: 1024px) {

.poster_bg .container {
	grid-gap:30px;
	min-height: 0;
	padding-top: 50px;
	padding-bottom: 50px;
}

}

@media screen and (max-width: 600px) {

.poster_bg .container {
	grid-gap:30px;
	grid-template-columns:auto;
}

.svo_fond {
	font-size: 3rem;
}

}





.poster_icon {
	margin-bottom: 50px;
	padding-left: 70px;
	font-size:1.2rem;
	min-height: 50px;
	padding-top: 10px;
}

.pi_calendar {
	background: url(/images/calendar.svg) no-repeat left top;
}

.pi_clock {
	background: url(/images/clock.svg) no-repeat left top;
}

.pi_point {
	background: url(/images/point.svg) no-repeat left top;
}

.poster_icon:last-child {
	margin-bottom: 0;
}


@media screen and (max-width: 600px) {

.poster_icon {
	margin-bottom: 20px;
}

}


.prev_next_news {
	display: grid;
	grid-template-columns:1fr 1fr;
	grid-gap:50px;
}

.prev_next_news strong {
	font-size: 0.9rem;
	margin-bottom: 5px;
	display: block;
}

.next_news {
	text-align: right;
}


@media screen and (max-width: 800px) {

.prev_next_news {
	grid-template-columns:auto;
	grid-gap:20px;
}



}


footer {
	background: url(/images/footer.jpg);
}

.ftr {
	background: rgba(0,0,0,0.5);
	padding: 100px 0;
}

.contacts {
	background: white;
	padding: 100px;
	text-align: center;
}

@media screen and (max-width: 800px) {

.contacts {
	padding: 50px;
}

.ftr {
	padding: 50px 0;
}

}



@media screen and (max-width: 600px) {

.contacts {
	padding: 30px;
}

.ftr {
	padding: 30px 0;
}

}



.address {
	margin: 15px 0;
	font-size: 0.9rem;
	color: gray;
}

.address a {
	color: gray;
} 


