@font-face {
	font-family: open sans;
	src: url("OpenSans-Regular.ttf");
}

@font-face {
	font-family: open sans;
	font-weight: bold;
	src: url("OpenSans-Bold.ttf");
}


html,body,div,span,h1,h2,h3,h4,h5,h6,p,a{
	margin:auto;
	padding:0;
	border:0;
	outline:0;
	background:transparent;
}

body{
	font-size:10px;
	font-family:Arial,Helvetica,sans-serif;
}

h1 {
	font: italic normal normal 24px/1.4em 'open sans', sans-serif;
	padding-bottom: 10px;
}

h2 {
	font: normal normal normal 17px/1.4em 'open sans', sans-serif;
	color: rgb(52, 52, 52);
	padding-bottom: 10px;
}

h2.part {
	font-weight: bold;
	margin-top: 15px;
}

p {
	font: normal normal normal 13px/1.4em 'open sans', sans-serif;
	color: rgb(52, 52, 52);
	text-align: justify;
}

a{
	color: rgb(52,52,52);
	text-decoration: none;
}

a.part {
	color: #7a71b0;
}

a:hover{
	text-decoration: underline;
}



ul {
	list-style-type: disc;
	padding-left: 1.3em;
	margin-left: 0.5em;
	line-height: normal;
	letter-spacing: normal;
	color: #080808;
	margin: 0;
	text-decoration: none;
	font: normal normal normal 13px/1.4em 'open sans', sans-serif;
	color: rgb(52, 52, 52);
}

li {
	padding-bottom: 10px;
}

#main_div {
	padding-bottom: 0px;
	max-width: 980px;
	position: relative;
	margin: 30px auto;
}

#header {
	width: 100%;
	height: 215px;
}

#head-wrap {
	background-color: #fff;
    width: 100%;
    height: 100%;
}

#logo {
	padding: 40px 0 0 10px;
	height: 135px;
}

#top_img {
	overflow: hidden;
	left: 523px;
	top: 1px;
	width: 452px;
	min-height: 175px;
	position: absolute;
	background: rgb(255, 255, 255);
}

#menu {
	width: 100%;
	min-height: 42px;
}

#menu_container {
	width: 100%;
	position: relative;
	display: flex;
	border-top: 3px solid #8a81b0;
	border-bottom: 3px solid #8a81b0;
}

#menu_container a {
    width: 100%;
}

.m_lvl_1 {
	padding-top: 10px;
	height: 30px;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	cursor: pointer;
	background: transparent;
	transition: background-color 0.4s ease 0s;
	-webkit-transition: background-color 0.4s ease 0s;
}

.m_lvl_1:hover {
	background-color: #e6e2f8;
}

.m_lvl_4 {
	text-align: center;
	font: normal normal bold 14px/1.4em 'open sans', sans-serif;
	color: rgb(52, 52, 52);
	transition: color 0.4s ease 0s;
	-webkit-transition: color 0.4s ease 0s;
}

#top_line {
	width: 100%;
	border-bottom: 3px solid #8a81b0;
	height: 0px;
	min-height: 0px;
}

#page_container {
	width: 100%;
	min-height: 500px;
}

#content {
	width: 100%;
	margin-left: 0px;
}

#page {
	width: 100%;
	min-height: 500px;
}

#main_page {
	background-color: #fff;
	min-height: 500px;
	width: 100%;
}

#text_div {
	margin: 30px;
	width: 630px;
	float: left;
}


#sidebar {
	float: right;
	width: 220px;
	margin: 35px 30px 30px 30px;
}

.side_block {
	margin-bottom: 35px;

}

.clear {
	clear: both;
}

#ter-img {
	float: right; 
	width: 270px; 
	padding: 0 0 10px 10px;
}

@media (max-width: 995px) {
	#top_img {
		display: none;
	}
	
	#text_div {
		width: initial;
	}
	
	#sidebar {
		width: 100%;
		margin: 0;
		padding-bottom: 5px;
		float: none;
	}
	
	.side_block {
		padding-left: 30px;
	}
}

@media (max-width: 650px) {
	#text_div {
		margin: 30px 20px;
	}
	
	.side_block {
		padding-left: 20px;
	}
}

@media (max-width: 500px) {
	#ter-img {
		width: 100%;
	}
}