/* CSS Document */
html {
	height:100%;
}
body {
	height: auto;
	height: 100%;
	min-height: 100%;
	background: #f3f2ee;
/*	color: #493d20; */
	color: #3c3c3c;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: 400;
    margin: 0;
	padding: 0;
	text-align: center;
}
#top-spacer {
	height: 27px;
}
#container {
	min-width: 800px;
	max-width: 1800px;
	background: url(/img/new/l_side_bg.png) top left no-repeat, url(/img/new/r_side_bg.png) top right no-repeat;
	margin: 0 auto;
	padding: 15px 20px 15px;
	text-align: center;
}
#main-table {
	width: 100%;
}
/* Header */
#header-1 {
	height: 145px;
	background: #d5d5d5 url(/img/new/header_bg.png) bottom repeat-x;
	padding: 0;
}
  #header-2 {
	  height: 145px;
	  background: url(/img/new/header_bg.jpg) left bottom no-repeat;
	  overflow: hidden;
	  position: relative;
  }
    #header-2 p {
		text-indent: 0 !important;
		white-space: nowrap;
	}
	.minobr {
	    background: url(/img/new/gerb.png) left no-repeat;
		display: none;
		font-size: 14px;
		margin: 7px 20px 3px 30px;
		padding: 7px 0 10px 35px;
	}
	  .minobr a {
		  color: #787878 !important;
		  text-decoration: none;
	  }
	.gerb {
		width: 69px;
		height: 75px;
	    background: url(/img/new/gerb_big.png) no-repeat;
		position: absolute;
		top: 35px;
		left: 42px;
	}
	.header-text {
		font-size: 28px;
		margin: 32px 20px 3px 125px;
	}
	  .header-text a {
		  color: #a72d2d !important;
		  text-decoration: none;
	  }
	  .header-text a:hover {
		  text-decoration: none;
	  }
	.header-text-2 {
		color: #4f4f4f;
		font-size: 18px;
		margin: 0 20px 3px 125px;
	}
	.medalium {
  		width: 140px;
		height: 29px;
		display: block;
		top: 10px;
		right: 12px;
		position: absolute;
	}
	  .medalium img {
	  		width: 140px;
			height: 29px;
	  		border: 0;
	  }
/* Autorization block */
#autorisation-1 {
	background: #a0a0a0;
	padding: 0;
}
  #autorisation-2 {
	  background: url(/img/new/auto_bg.png) top left no-repeat;
	  position: relative;
  }
  #autorisation-3 {
	  width: 100%;
	  height: 7px;
	  background: #d1cbbf;
	  background: linear-gradient(to right, #f3f2ee, #d1cbbf);
  }
  #autorisation {
	  border-collapse: collapse;
	  border-spacing: 0;
	  float: right;
	  margin: 2px 10px 3px;
  }
    #autorisation td {
		padding: 0 2px;
		vertical-align: middle;
	}
    .auto-text {
		text-align: right;
	}
      .auto-text span {
		  color: #fff;
		  display: block;
		  font-size: 14px;
		  padding: 0 5px 0 20px;
	  }
    .auto-text-2 {
		text-align: center;
	}
      .auto-text-2 a, .auto-text-2 a:visited {
		  color: #d7e9fe;
		  display: block;
		  font-size: 14px;
		  padding: 0 20px 0 10px;
		  text-decoration: none;
	  }
      .auto-text-2 a:hover {
		  color: #ff0000;
		  text-decoration: underline;
	  }
    .auto-input {
		text-align: center;
	}
      .auto-input input {
		  border: 0; 	
		  color: #000;
		  font-size: 14px;
		  padding: 3px 5px;
	  }
	.auto-button, .auto-button-r {
		width: auto;
		border: 0;
		color: #fff;
		cursor: pointer;
		font-size: 14px;
		margin: 0 15px;
		padding: 7px 20px;
	}
	.auto-button {
		background: #9ac9ff url(/img/new/button_bg.png) bottom repeat-x;
	}
	.auto-button-r {
		background: #c37e7e url(/img/new/button_up_bg.png) bottom repeat-x;
	}
	  .auto-button:hover, .auto-button-r:hover {
		  background: #c37e7e url(/img/new/button_up_bg.png) bottom repeat-x;
		  cursor: pointer;
	  }

#usertable {
	width: 100%;
	background: #d1cbbf url(/img/new/user_bg.png) left repeat-y;
}
  #userpic {
	  padding: 35px 0 30px 15px;
	  text-align: left;
	  vertical-align: top;
  }
  #userpic div {
	  width: 64px;
	  height: 85px;
	  background: url(/img/new/no_photo.jpg) no-repeat;
	  background-size: cover;
  }
  #userpic img {
	  width: 64px;
	  height: auto;
	  border: 0;
  }
  #username {
	  color: #fff;
	  padding: 40px 15px 30px 15px;
	  text-align: left;
	  vertical-align: top;
  }
  #username p {
	  font-weight: 600; 
	  text-align: left;
	  text-indent: 0;
  }
  #username p:nth-child(2) {
	  color: #a00000;
	  font-size: 1.1em;
  }

/* Menu */
#mainmenu-block {
	width: 18%;
	max-width: 300px;
	background: url(/img/new/menu_bg.png) right repeat-y;
	display: table-cell;
	padding: 0;
	vertical-align: top;
}
  #mainmenu {
		width: 100%;
	    min-width: 200px;
		min-height: 300px;
		padding: 30px 0;
		position: relative;
  }
#mainmenu-block-hid {
	width: 0;
	display: table-cell;
	padding: 0;
}
  #mainmenu-block-hid div {
	  width: 0;
	  position: relative;
  }
#usermenu-block {
	width: 18%;
	max-width: 300px;
	display: table-cell;
	background: url(/img/new/menu_bg_r.png) left repeat-y;
	padding: 0;
	text-align: right;
	vertical-align: top;
}
  #usermenu {
		width: 100%;
	    min-width: 200px;
		min-height: 250px;
		padding: 20px 0 30px;
		position: relative;
  }
  .menu, .menu ul {
		display: block;
		list-style: none;
		margin: 0;
		padding: 0 0 5px;
  }
    .menu li {
  		display: block;
		list-style: none;
		margin: 0;
		padding: 0;
    }
    .menu li span {
		display: block;
	}
    .menu a {
		display: block;
		font-size: 16px;
		margin: 0;
		text-align: left;
		text-decoration: none;
	}
    .item-1 {
    }
    .item-1 a, .item-1 a:visited {
		color: #594d31;
		font-weight: 600;
		padding: 10px 17px 10px 20px;
    }
    .item-2 {
    }
    .item-2 a, .item-2 a:visited {
		color: #c82a2a;
		padding: 8px 17px 8px 27px;
    }
    .item-3 {
    }
    .item-3 a, .item-3 a:visited {
		color: #000;
		font-size: 15px;
		padding: 6px 17px 6px 34px;
    }
    .item-4 {
    }
    .item-4 a, .item-4 a:visited {
		color: #1e518d;
		font-size: 14px;
		padding: 4px 17px 4px 41px;
    }
	#mainmenu .selected {
		background: url(/img/new/menu_item_sel.png) right repeat-y;
	}
	#usermenu .selected {
		background: url(/img/new/menu_item_sel.png) left repeat-y;
	}
	#mainmenu a:hover {
		color: #ff0000;
		background: url(/img/new/menu_item_up.png) right repeat-y;
	}
	#usermenu a:hover {
		color: #ff0000;
		background: url(/img/new/menu_item_up.png) right repeat-y;
	}
#menu-hide-button {
	position: absolute;
	top: 300px;
	right: -13px;
}
	#menu-hide-button a {
		width: 28px;
		height: 28px;
		background: url(/img/new/menu_hide_btn.png) no-repeat;
		display: block;
	}
	#menu-hide-button a:hover {
		background: url(/img/new/menu_hide_btn_up.png) no-repeat;
	}
	  #menu-hide-button img {
		  width: 28px;
		  height: 28px;
		  border: 0;
	  }
#menu-show-button {
	position: absolute !important;
	top: 300px;
	left: -14px;
	z-index: 1000;
}
	#menu-show-button a {
		width: 28px;
		height: 28px;
		background: url(/img/new/menu_show_btn.png) no-repeat;
		display: block;
		
	}
	#menu-show-button a:hover {
		background: url(/img/new/menu_show_btn_up.png) no-repeat;
	}
	  #menu-show-button img {
		  width: 28px;
		  height: 28px;
		  border: 0;
	  }

/* Center block */
#center-block {
	width: 100%;
	display: table;
	margin: 0;
}
#content-block {
	width: auto;
	display: table-cell;
	background: #fff;
	padding: 30px;
	vertical-align: top;
}
	#content-header {
		position: relative;
	}
		#content-header h1 {
			font-weight: 400;
			font-size : 1.6em;
			margin-top: 0;
			text-transform: none;
		}
		#content-header hr {
			height: 5px !important;
			background: #d8d4ca;
			margin: 0 !important;
		}
		#icons {
			width: auto;
			height: 30px;
			position: absolute;
			right: 0;
			top: -20px;
		}
			#icons a {
				width: 30px;
				height: 30px;
				display: block;
				float: right;
				margin-left: 5px;
			}
			#icon-print {
				background: url(/img/new/icon_print.png) no-repeat;
			}
			#icon-rss {
				background: url(/img/new/icon_rss.png) no-repeat;
			}
			#icons img {
				width: 30px;
				height: 30px;
				border: 0;
			}
	#content {
		min-height: 400px;
		padding: 20px 0 0 0;
		text-align: left;
	}

/* Footer */
#footer-1 {
	background: #8a7f66;
	position: relative;
	padding: 35px 30px 20px;
}
  #footer-2 {
	  height: 100%;
	  width: 17px;
	  background: #716853;
	  position: absolute;
	  top: 0;
	  left: 0;
  }
  #footer-table {
	  width: 100%;
	  border-collapse: collapse;
	  border-spacing: 0;
	  margin: 0 auto;
  }
    #footer-table td {
	    width: 33%;
	    vertical-align: bottom;
		padding: 0;
	}
    #copyright {
	    color: #fff;
		font-size: 12px;
		padding-left: 10px !important;
		text-align: left;
	}
	  #copyright a {
		  color: #fff;
		  text-decoration: none;
	  }
	  #copyright a:hover {
		  color: #fff;
		  text-decoration: underline;
	  }
	  #copyright span  {
		  color: #8a7f66;
	  }
    #contacts {
	    color: #fff;
		font-size: 14px;
		padding: 0 20px !important;
		text-align: center;
	}
	  #contacts a {
		  color: #c3dfff;
		  text-decoration: none;
	  }
	  #contacts a:hover {
		  color: #fff;
		  text-decoration: underline;
	  }
    #requirements {
	    color: #cac6bd;
		font-size: 12px;
		text-align: right;
	}
	  #requirements a {
		  color: #cac6bd;
		  text-decoration: none;
	  }
	  #requirements span, #requirements span a {
	      color: #fff;
	  }
	  #requirements a:hover {
		  color: #fff;
		  text-decoration: underline;
	  }
