@charset "utf-8";

/*//////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////*/

#container {
	width: auto;
	max-width: 1200px;
	min-width: 800px;
	margin: 0px auto 0px auto;/*t-r-b-l*/
	overflow: hidden;
}

/*//////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////*/

#header_ext {
	overflow: hidden;
	margin: 0px;
}
#header {
	background-color: #400;
	margin: 10px 10px 5px 10px;/*t-r-b-l*/
	overflow: hidden;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	padding: 0px 10px 0px 10px;

}
/*--------------------------------------------------------------*/
#header_text1 {
	font-size: 28px;
	text-align: center;
	margin: 0px 0px 0px 0px;/*t-r-b-l*/
	padding: 10px 0px 10px 0px;
	color: #F0F0F0;
	font-weight: bold;
	overflow: hidden;
}
#header_text1 a {
	text-decoration:none;
	color:#F0F0F0;
}
#header_text1 a:hover{
	color:#FFF;
}
/*--------------------------------------------------------------*/
#header_text2 {
	font-size: 20px;
	text-align: center;
	padding: 10px 0px 0px 0px;/*t-r-b-l*/
	color: #CCC;
	font-weight: bold;
	overflow: hidden;
}
#header_text2 a {
	text-decoration:none;
	color:#CCC;
}
#header_text2 a:hover{
	color:#FFF;
}
/*--------------------------------------------------------------*/
#logo {
	float: left;
	overflow: hidden;
	width: 15%;
	text-align: right;
	line-height: 114px;
	max-height: 114px;
}
#logo img {
	max-height: 114px;
}
/*--------------------------------------------------------------*/
#engrus {
	float: right;
	overflow: hidden;
	width: 15%;
	line-height: 114px;
	text-align: right;
	padding-right: 10px;
	font-weight: bold;
	color: #CCC;
}
#engrus a {
	text-decoration:none;
	color:#CCC;
}
#engrus a:hover{
	color:#FFF;
}
/*//////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////*/

#menu_ext {
	overflow: hidden;
}
#menu {
	background-color: #F0F0F0;
	overflow: hidden;
	margin: 5px 10px 5px 10px;/*t-r-b-l*/
	border: 2px solid #000;
}
/*--------------------------------------------------------------*/
#menu ul{
	text-align: center;
	height: 40px;
	margin: 0;
	list-style: none;
	font-weight: bold;
	padding: 0;
}
#menu ul li{
	line-height: 40px;
	margin: 0 0px;
	display: inline;
}
#menu ul li a{
	color: #500;
	text-decoration: none;
	line-height: 40px;
	display: inline-block;
	padding: 0 10px;
}
#menu ul li a:hover{
	color: #FFF;
	background: #400;
}

/*//////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////*/

#sidebar_ext {
	min-height: 100px; /*min-height: 500px;*/
	width: 220px; /*width: 250px;*/
	float: left;
	overflow: hidden;
}
#sidebar {
	background-color: #F0F0F0;
	/*min-height: 190px;*/ /*min-height: 490px;*/
	margin: 5px 0px 5px 10px;/*t-r-b-l*/
	width: auto;
	overflow: hidden;
	border: 2px solid #000;
}
/*--------------------------------------------------------------*/
#sidebar ul{
	text-align: left;
	margin: 10px; /*t-r-b-l*/
	list-style: none;
	padding: 0px;
}
#sidebar ul li{
	padding:0px 0px 12px 0px;
	color: #500; 
}

#sidebar ul li a{
	color: #500;
	text-decoration: none;
	line-height: 1;
	padding: 0px;
}
#sidebar ul li a:hover{
	color: #000000; /*color: #999;*/
	text-decoration: underline;
}
/*--------------------------------------------------------------*/
#sidebar ul li ul{
	text-align: left;
	margin: 0px 0px 0px 20px;  /*t-r-b-l*/
	list-style: none;
	list-style-type: circle;
	font-size: 14px;
}
#sidebar ul li ul li{
	padding: 6px 0px 0px 0px;
	color: #500;
}

#sidebar ul li ul li a{
	color: #500;
	text-decoration: none;
	line-height: 1;
	padding: 0px;
}
#sidebar ul li ul li a:hover{
	color: #000000; /*color: #999;*/
	text-decoration: underline;
}

/*//////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////*/

#mainbody_ext {
	/*min-height: calc(100vh - 241px);*/
	overflow: hidden;
}
#mainbody {
	min-height: calc(100vh - 285px);
	/*min-height: 70vh;*/ /*min-height: 490px;*/
	background-color: #F0F0F0;
	margin: 5px 10px 5px 10px;/*t-r-b-l*/
	overflow: hidden;
	padding: 15px;
	text-align: justify;
	border: 2px solid #000;
	word-wrap: break-word;
	overflow-wrap: break-word;
}
#article_auth {
	color: #a06060; /*#404040;*/
	font-style: italic;
	font-size: 14px;
	text-align: right;
}
/*--------------------------------------------------------------*/
#mainbody h1 {
	color: #500;
	font-size: 24px;
	text-align: center;
	margin:15px;
	margin-top: 12px; /* Отступ сверху */
    margin-bottom: 24px; /* Отступ снизу */
}

#mainbody h2 {
	color: #500;
	font-size: 20px;
	text-align: center;
	margin:15px;
	margin-top: 12px; /* Отступ сверху */
    margin-bottom: 24px; /* Отступ снизу */
}

#mainbody h4 {
	color: #500;
	font-size: 20px;
	margin:1px;
	margin-top: 0px; /* Отступ сверху */
    margin-bottom: 0px; /* Отступ снизу */
}
#mainbody h5 {
	color: #500;
	font-size: 16px;
	margin-top: 0px; /* Отступ сверху */
    margin-bottom: 0px; /* Отступ снизу */
}
/*--------------------------------------------------------------*/
#mainbody p {
    margin-top: 12px; /* Отступ сверху */
    margin-bottom: 12px; /* Отступ снизу */
}
/*--------------------------------------------------------------*/
#mainbody ul{
	list-style-type: circle;
	margin-top: 6px; /* Отступ сверху */
    margin-bottom: 6px; /* Отступ снизу */
}
#mainbody ol{
	margin-top: 6px; /* Отступ сверху */
    margin-bottom: 6px; /* Отступ снизу */
}
/*--------------------------------------------------------------*/
#mainbody a {
	color: #B40000;
	text-decoration: none;
}
#mainbody a:hover {
	color: #999999;
}
/*--------------------------------------------------------------*/
#mainbody #ref a {
	color: #000;
}
#mainbody #ref a:hover {
	color: #999999;
}
/*--------------------------------------------------------------*/
#mainbody .teammember {
	padding: 0px 20px 0px 20px; /*t-r-b-l*/
	height: 500px;
	width: 320px;
	display: inline-block; /*вместо float: left;*/
  	vertical-align: top;
	text-align: center;
	/*background: #ccc;*/
}
/*//////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////*/

#footer_ext {
	clear: both;
	overflow: hidden;
}
#footer {
	background-color: #400;
	overflow: hidden;
	margin: 5px 10px 10px 10px; /*t-r-b-l*/
	text-align: center;
	color: #CCC;
	padding: 2px 5px; /*padding: 5px 0px;*/
	border: 2px solid #000;
	font-weight: bold;
	height: 31px;
}

/*//////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////*/

#team {
	max-width: 800px;
	text-align: center;
	position: relative;
	margin: 0 auto;
}

/*//////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////*/

#ref_list a {
	color: #000000;
}

#ref_list a:hover{
	color: #999;
}

/*//////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////*/

#map {
	height: 400px;
	width: 500px;
	margin: 20px auto 0px auto;/*t-r-b-l*/
}
#map_text {
	width: 500px;
	margin: 20px auto 0px auto;/*t-r-b-l*/
}
/*//////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////*/
