html, body {
	height: 100%;
	margin: 0;
	font: normal 12pt Geneva,Arial,Helvetica,sans-serif;
	background: #f9f9f9;
}

a {
	color: #3467C1;
	text-decoration: none;
	vertical-align: middle;
}

img {
	border: 0;
	outline: 0;
}

.layout {
	/*height: auto;*/
	margin-top: -42px;
	min-height: 100%;
	overflow: hidden;
}

.layout > .header {
	position: fixed;
	z-index: 100;
	left: 0;
	right: 0;
	top: 0;
	height: 40px;
	width: 100%;
	background: #222;
	box-shadow: 0 0 5px #555;
	border-bottom: 2px solid #000;
}

.layout > .main {
	padding: 0;
	margin: 104px 0px 504px;
	position: relative;
	z-index: 50;
}

.layout > .main .topbar {
	display: block;

	box-sizing: border-box;
	-moz-box-sizing: border-box;
	/*background: #888;*/
	/*height: 300px;*/
	margin: 0;
}

.layout > .main .sidebar {
    float: left;
	margin-left: 10px;
	width: 250px;
}

.layout > .main .center {
    float: left;
    max-width: 700px;
	min-width: 400px;
	padding: 0 0 20px 0;
}

.footer {
	clear: both;
	height: 40px;
	background: #333;
	box-shadow: 0 0 5px #555;
	border-top: 2px solid #000;
	position: fixed;
	bottom:0;
	width:100%;
	color: #eee;
	padding-left: 8px;
    z-index: 80;
}

.footer p {
	margin: 10px 0;
}

.debug-head {
	position: fixed;
	right: 5px;
	bottom: 48px;
    width: auto;
	z-index: 99;
	visibility: hidden;
}
.debug-head:after {
	/*display: block;*/
	/*position: fixed;*/
	/*content: ;*/
	content: "🐞";
	visibility: visible;
	background-color: red;
	padding: 5px;
}

.wrapper {
	margin: auto;
	max-width: 960px;
}

/* Cerafix */
.cf:before,
.cf:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.cf:after {
	clear: both;
}

.cf {
	*zoom: 1;
}

.TopMenu {
	/*height: 40px;*/
	border-radius: 3px;
	display: inline-block;
	float: right;
}

.TopMenu > ul {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
}

.TopMenu > ul > li {
	float: left;
	max-width: 200px;
	text-align: center;
	/*height: 40px;*/
	display: block;
	position: relative;
	height: 45px;
	line-height: 45px;
}

.TopMenu > ul > li:hover {
	background-color: #E4EEF9;
}

.TopMenu > ul > li:first-child a {
	/*padding-left: 20px;*/
}

.TopMenu__item_icon {
	margin: -2px 3px 0 0;
	display: inline-block;
	vertical-align: middle;
}

.TopMenu > ul > li > a {
	display: table-cell;
	vertical-align: middle;
	height: 40px;
	padding: 0px 10px 0px 10px;
	text-decoration: none;
    text-transform: capitalize;
	color: #fff;
}

.TopMenu > ul > li:hover > a {
	color: #111;
}

.TopMenu > ul > li > a span {
}

.TopMenu > ul li:hover > ul {
	display: block;
}

/* Подменю вертикальное */
.TopMenu > ul > li ul {
	list-style: none;
	display: none;
	position: absolute;
	margin: 0 0 0 0px;
	padding: 0;
	background-color: #FFF;
	box-shadow: 0px 0px 3px #999;
	z-index: 15;
	right: 0;
}

.TopMenu > ul > li ul > li {
	width: 200px;
	margin: 1px;
	text-align: left;
	height: 38px;
	padding: 0;
	display: block;
}

.TopMenu > ul > li ul > li > a {
	opacity: 1;
	text-decoration: none;
	display: block;
	padding: 10px 10px 10px 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	height: 18px;
	color: #111;
}

.TopMenu > ul > li ul > li:hover > a {
	background-color: #E4EEF9;
}

.TopMenu > ul > li ul li > ul {
	margin: -39px 0 0 0px;
	position: absolute;
	right: 200px;
}

.SearchForm {
	float: right;
	height: 20px;
	padding: 8px 0 0;
	margin: 0 10px 0 0;
    height: 40px;
}
.SearchForm div{
    margin-bottom: 1em;
}

.Slider {
	position: relative;
	max-height: 100%;
}

.Slider .controls {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 1000;
	text-align: center;
	font: 700 12px/20px Arial, sans-serif;
	opacity: 0.5;
}

.Slider .controls .slidesjs-navigation,
.Slider .controls .slidesjs-pagination li {
	width: 20px;
	height: 20px;
	display: inline-block;
	background: #666;
	color: #fff;
	margin: 0 0 0 1px;
	text-align: center;
	/*border-radius: 10px;*/
}

.Slider .controls .slidesjs-navigation {
	background: #333;
}

.Slider .controls .slidesjs-previous {
	content: "<";
}

.Slider .controls .slidesjs-next {
	content: ">";
}

.Slider .controls a {
	text-decoration: none;
	width: 20px;
	height: 20px;
	display: block;
	color: #fff;
	vertical-align: middle;
}

.Slider a:hover,
.Slider .slidesjs-navigation:hover {
	background: #000;
}

.Slider a.active {
	background: #000;
}

.Slider .controls .slidesjs-pagination {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.Slider .controls .slidesjs-pagination li {

}

.Slider {
	position: relative;
	max-height: 100%;
}

.Slider .controls {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 1000;
	text-align: center;
	font: 700 12px/20px Arial, sans-serif;
	opacity: 0.5;
}

.Slider .controls .slidesjs-navigation,
.Slider .controls .slidesjs-pagination li {
	width: 20px;
	height: 20px;
	display: inline-block;
	background: #666;
	color: #fff;
	margin: 0 0 0 1px;
	text-align: center;
	/*border-radius: 10px;*/
}

.Slider .controls .slidesjs-navigation {
	background: #333;
}

.Slider .controls .slidesjs-previous {
	content: "<";
}

.Slider .controls .slidesjs-next {
	content: ">";
}

.Slider .controls a {
	text-decoration: none;
	width: 20px;
	height: 20px;
	display: block;
	color: #fff;
	vertical-align: middle;
}

.Slider a:hover,
.Slider .slidesjs-navigation:hover {
	background: #000;
}

.Slider a.active {
	background: #000;
}

.Slider .controls .slidesjs-pagination {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.Slider .controls .slidesjs-pagination li {

}

.Menu {
	padding: 10px 10px 15px;
	background: #efefef;
	margin: 10px 0;
	border: 1px solid #e8e8e8;
}

.Menu .title {
	font-size: 12pt;
	display: none;
}

.Menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.Menu ul li {
	margin: 10px 5px 10px 0;
	padding: 0 0 0 19px;
}

.Menu ul li a {

}

.Menu ul li > a:hover {
	color: #000;
}

.Menu ul li ul {

}

.Menu__item_icon {
	margin: -2px 3px 0 0;
	display: inline-block;
	vertical-align: middle;
}

.HtmlBlock {
}

/**
 * SyntaxHighlighter
 * http://alexgorbatchev.com/SyntaxHighlighter
 *
 * SyntaxHighlighter is donationware. If you are using it, please donate.
 * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
 *
 * @version
 * 3.0.83 (July 02 2010)
 * 
 * @copyright
 * Copyright (C) 2004-2010 Alex Gorbatchev.
 *
 * @license
 * Dual licensed under the MIT and GPL licenses.
 */
.syntaxhighlighter a,
.syntaxhighlighter div,
.syntaxhighlighter code,
.syntaxhighlighter table,
.syntaxhighlighter table td,
.syntaxhighlighter table tr,
.syntaxhighlighter table tbody,
.syntaxhighlighter table thead,
.syntaxhighlighter table caption,
.syntaxhighlighter textarea {
	-moz-border-radius: 0 0 0 0 !important;
	-webkit-border-radius: 0 0 0 0 !important;
	background: none !important;
	border: 0 !important;
	bottom: auto !important;
	float: none !important;
	height: auto !important;
	left: auto !important;
	line-height: 1.1em !important;
	margin: 0 !important;
	outline: 0 !important;
	overflow: visible !important;
	padding: 0 !important;
	position: static !important;
	right: auto !important;
	text-align: left !important;
	top: auto !important;
	vertical-align: baseline !important;
	width: auto !important;
	box-sizing: content-box !important;
	-moz-box-sizing: content-box !important;
	font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
	font-weight: normal !important;
	font-style: normal !important;
	font-size: 1em !important;
	min-height: inherit !important;
	min-height: auto !important;
}

.syntaxhighlighter {
	width: 100% !important;
	margin: 1em 0 1em 0 !important;
	position: relative !important;
	overflow: auto !important;
	font-size: 1em !important;
}

.syntaxhighlighter.source {
	overflow: hidden !important;
}

.syntaxhighlighter .bold {
	font-weight: bold !important;
}

.syntaxhighlighter .italic {
	font-style: italic !important;
}

.syntaxhighlighter .line {
	white-space: pre !important;
}

.syntaxhighlighter table {
	width: 100% !important;
}

.syntaxhighlighter table caption {
	text-align: left !important;
	padding: .5em 0 0.5em 1em !important;
}

.syntaxhighlighter table td.code {
	width: 100% !important;
}

.syntaxhighlighter table td.code .container {
	position: relative !important;
}

.syntaxhighlighter table td.code .container textarea {
	box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	width: 100% !important;
	height: 100% !important;
	border: none !important;
	background: white !important;
	padding-left: 1em !important;
	overflow: hidden !important;
	white-space: pre !important;
}

.syntaxhighlighter table td.gutter .line {
	text-align: right !important;
	padding: 0 0.5em 0 1em !important;
}

.syntaxhighlighter table td.code .line {
	padding: 0 1em !important;
}

.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
	padding-left: 0em !important;
}

.syntaxhighlighter.show {
	display: block !important;
}

.syntaxhighlighter.collapsed table {
	display: none !important;
}

.syntaxhighlighter.collapsed .toolbar {
	padding: 0.1em 0.8em 0em 0.8em !important;
	font-size: 1em !important;
	position: static !important;
	width: auto !important;
	height: auto !important;
}

.syntaxhighlighter.collapsed .toolbar span {
	display: inline !important;
	margin-right: 1em !important;
}

.syntaxhighlighter.collapsed .toolbar span a {
	padding: 0 !important;
	display: none !important;
}

.syntaxhighlighter.collapsed .toolbar span a.expandSource {
	display: inline !important;
}

.syntaxhighlighter .toolbar {
	position: absolute !important;
	right: 1px !important;
	top: 1px !important;
	width: 11px !important;
	height: 11px !important;
	font-size: 10px !important;
	z-index: 10 !important;
}

.syntaxhighlighter .toolbar span.title {
	display: inline !important;
}

.syntaxhighlighter .toolbar a {
	display: block !important;
	text-align: center !important;
	text-decoration: none !important;
	padding-top: 1px !important;
}

.syntaxhighlighter .toolbar a.expandSource {
	display: none !important;
}

.syntaxhighlighter.ie {
	font-size: .9em !important;
	padding: 1px 0 1px 0 !important;
}

.syntaxhighlighter.ie .toolbar {
	line-height: 8px !important;
}

.syntaxhighlighter.ie .toolbar a {
	padding-top: 0px !important;
}

.syntaxhighlighter.printing .line.alt1 .content,
.syntaxhighlighter.printing .line.alt2 .content,
.syntaxhighlighter.printing .line.highlighted .number,
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
	background: none !important;
}

.syntaxhighlighter.printing .line .number {
	color: #bbbbbb !important;
}

.syntaxhighlighter.printing .line .content {
	color: black !important;
}

.syntaxhighlighter.printing .toolbar {
	display: none !important;
}

.syntaxhighlighter.printing a {
	text-decoration: none !important;
}

.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
	color: black !important;
}

.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
	color: #008200 !important;
}

.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
	color: blue !important;
}

.syntaxhighlighter.printing .keyword {
	color: #006699 !important;
	font-weight: bold !important;
}

.syntaxhighlighter.printing .preprocessor {
	color: gray !important;
}

.syntaxhighlighter.printing .variable {
	color: #aa7700 !important;
}

.syntaxhighlighter.printing .value {
	color: #009900 !important;
}

.syntaxhighlighter.printing .functions {
	color: #ff1493 !important;
}

.syntaxhighlighter.printing .constants {
	color: #0066cc !important;
}

.syntaxhighlighter.printing .script {
	font-weight: bold !important;
}

.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
	color: gray !important;
}

.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
	color: #ff1493 !important;
}

.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
	color: red !important;
}

.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
	color: black !important;
}

.syntaxhighlighter {
	background-color: white !important;
}

.syntaxhighlighter .line.alt1 {
	background-color: white !important;
}

.syntaxhighlighter .line.alt2 {
	background-color: white !important;
}

.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
	background-color: #e0e0e0 !important;
}

.syntaxhighlighter .line.highlighted.number {
	color: black !important;
}

.syntaxhighlighter table caption {
	color: black !important;
}

.syntaxhighlighter .gutter {
	color: #afafaf !important;
}

.syntaxhighlighter .gutter .line {
	border-right: 3px solid #6ce26c !important;
}

.syntaxhighlighter .gutter .line.highlighted {
	background-color: #6ce26c !important;
	color: white !important;
}

.syntaxhighlighter.printing .line .content {
	border: none !important;
}

.syntaxhighlighter.collapsed {
	overflow: visible !important;
}

.syntaxhighlighter.collapsed .toolbar {
	color: blue !important;
	background: white !important;
	border: 1px solid #6ce26c !important;
}

.syntaxhighlighter.collapsed .toolbar a {
	color: blue !important;
}

.syntaxhighlighter.collapsed .toolbar a:hover {
	color: red !important;
}

.syntaxhighlighter .toolbar {
	color: white !important;
	background: #6ce26c !important;
	border: none !important;
}

.syntaxhighlighter .toolbar a {
	color: white !important;
}

.syntaxhighlighter .toolbar a:hover {
	color: black !important;
}

.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
	color: black !important;
}

.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
	color: #008200 !important;
}

.syntaxhighlighter .string, .syntaxhighlighter .string a {
	color: blue !important;
}

.syntaxhighlighter .keyword {
	color: #006699 !important;
}

.syntaxhighlighter .preprocessor {
	color: gray !important;
}

.syntaxhighlighter .variable {
	color: #aa7700 !important;
}

.syntaxhighlighter .value {
	color: #009900 !important;
}

.syntaxhighlighter .functions {
	color: #ff1493 !important;
}

.syntaxhighlighter .constants {
	color: #0066cc !important;
}

.syntaxhighlighter .script {
	font-weight: bold !important;
	color: #006699 !important;
	background-color: none !important;
}

.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
	color: gray !important;
}

.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
	color: #ff1493 !important;
}

.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
	color: red !important;
}

.syntaxhighlighter .keyword {
	font-weight: bold !important;
}

.PagePreview {
	box-shadow: -1px 1px 3px 0px #DCDCDC, inset -10px -5px 10px 0px #FEFEFE;
	clear: both;
	margin: 10px 0 0;
	background: #FFF;
	padding: 30px;
	display: inline-block;
	width: 100%;
	min-width: 217px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.PagePreview h1 {
	font-size: 16pt;
	font-weight: normal;
	margin: 0;
}

.PagePreview .more {
	display: inline-block;
	float: right;
}

.PartPreview {
	border-radius: 5px;
	box-shadow: -1px 1px 3px 0px #DCDCDC, inset -10px -5px 10px 0px #FEFEFE;
	clear: both;
	margin: 10px 0px 15px 0;
	background: #FFF;
	padding: 24px 24px 24px 30px;
	max-width: 290px;
	width: 290px;
	float: left;
	clear: none;
}

.PartPreview:nth-child(even){
	margin-right: 12px;
}

.PartPreview p {
	font-size:3em;
	line-height: 0; 
	text-align: center;
}

.Page {
	line-height: 1.48;
	width: 700px;
}

/*.Page > *{*/
/*display: inline-block;*/
/*width: 100%;*/
/*}*/

.post {
	border-radius: 5px;
	box-shadow: -1px 1px 3px 0px #DCDCDC, inset -10px -5px 10px 0px #FEFEFE;
	clear: both;
	margin: 10px 0px 15px 0;
	padding: 15px 0 25px 0;
	background: #FFF;
	overflow: hidden;
}

.post h1 {
	line-height: normal;
	font-size: 26pt; /*margin-top: 15px;*/
}

.post h1 a {
	text-decoration: none;
}

.post h1 a:hover {
	text-decoration: underline;
}

.post h2 {
	margin: 30px 0 0 0;
	padding: 0;
	text-align: left;
	font-size: 18pt;
}

.post h3 {
	margin: 25px 0 0 0;
	font-size: 1.30em;
}

.post h4 {
	margin: 10px 0 0 0;
	font-size: 1.05em;
	font-style: italic;
	font-family: Georgia, "Times New Roman";
}

.post h5 {
	font-size: 1.0em;
}

.post h6 {
	font-size: 0.9em;
}

.post img {
	max-width: 100%;
}

.Page {
	line-height: 1.48;
}

/*.Page > *{*/
/*display: inline-block;*/
/*width: 100%;*/
/*}*/

.post {
	border-radius: 5px;
	box-shadow: -1px 1px 3px 0px #DCDCDC, inset -10px -5px 10px 0px #FEFEFE;
	clear: both;
	margin: 10px 0px 15px 0;
	padding: 15px 0 25px 0;
	background: #FFF;
	overflow: hidden;
}

.post h1 {
	line-height: normal;
	font-size: 26pt; /*margin-top: 15px;*/
}

.post h1 a {
	text-decoration: none;
}

.post h1 a:hover {
	text-decoration: underline;
}

.post h2 {
	margin: 30px 0 0 0;
	padding: 0;
	text-align: left;
	font-size: 18pt;
}

.post h3 {
	margin: 25px 0 0 0;
	font-size: 1.30em;
}

.post h4 {
	margin: 10px 0 0 0;
	font-size: 1.05em;
	font-style: italic;
	font-family: Georgia, "Times New Roman";
}

.post h5 {
	font-size: 1.0em;
}

.post h6 {
	font-size: 0.9em;
}

.post img {
	max-width: 100%;
}

table {
	border: 1px solid #F0F0F0;
	border-bottom: none;
	width: 100%;
	font-size: small;
}

table caption {
	font-weight: bold;
	border: 1px solid #F0F0F0;
	border-bottom: none;
	padding: 1.2em;
}

td, th {
	vertical-align: top;
    border: none;
	padding: 5px;
	border-bottom: 1px solid #F8F8F8;

}

th {
    color: #777;
    border-bottom: 1px solid #f0f0f0;
    background: #f9f9f9;
}

tr:hover,
tr:nth-child(odd):hover td {
	background-color: #EEE;
	cursor: default;
}

tr:nth-child(odd) td {
	background-color: #FFFFF1;
}

h1 {

}

h2 {
	font-size: 12.0pt;
	margin: 0 0 5px;
}

textarea {
	width: 100%;
	max-width: 405px;
	height: 12em;
	display: block;
	margin-bottom: 1em;
}

form.block {
    padding: 10px 1em 10px 0;
	margin: 0;
}

form.block label{
	display: block;
	color: #777;
	font-size: small;
	text-transform: lowercase;
}

form.block input{
	border: 1px solid gray;
	margin-bottom: 5pt;
}

form.block input,
form.block select {
    width: 100%;
    min-height: 14px;
    padding: 5px 7px;
}

form.block select {
    width: 110%;
}

form.block div.column {
    width: 180px;
    height: auto;
    margin-bottom: 8px;
    margin-right: 35px;
}

form.block input[name="work[]"],
form.block select[name="work_mechanic[]"] {
    width: 180px;
}
form.block input[name="work_amount[]"],
form.block input[name="work_count[]"] {
    width: 90px;
}

form.block input[type="submit"],
form.block input[type="button"] {
    width: 180px;
}

form.block input[type="checkbox"] {
	width: auto;
}

form.SearchTask input[name="query"] {
    width: 100%;
}

.left {
    float: left;
    margin-right: 1em;
}

.clear {
    clear: both;
}

div.rate input {
    width: 20%;
    text-align: right;
}

.autocomplete-w1 {
    background:url(img/shadow.png) no-repeat bottom right;
    position:absolute;
    top:0px;
    left:0px;
    margin:6px 0 0 6px; /* IE6 fix: */
    _background:none;
    _margin:1px 0 0 0;
}
.autocomplete-suggestions {
    border:1px solid #999;
    background:#FFF;
    cursor:default;
    text-align:left;
    max-height:350px;
    overflow:auto;
    margin:-1px 0 0 0; /* IE6 specific: */
    font-size: 12px;
    _height:350px;
    _margin:0;
    _overflow-x:hidden;
}
.autocomplete-suggestions .autocomplete-selected{
    background: #40D;
    color: white;
}
.autocomplete-suggestions div {
    padding:2px 5px;
    white-space:nowrap;
    overflow:hidden;
}
.autocomplete-suggestions strong {
    font-weight:normal;
    background-color: #22bbbb;
    color: white;
}

.pager {
    background-color: #F0F0F0;
}
.pager a {
    border: 1px solid white;
    padding: 5px 10px;
    text-decoration: none;
}
.pager a.active {
    background-color: green;
    color: white;
}
.pager a:hover {
    background-color: #DDD;
}
.pager a.active:hover {
    background-color: #0D0;
    border: 1px solid #0D0;
}

div.error {
    background: #fee;
    padding: 10pt 30pt;
    color: #030;
    border: 1px solid #F55;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

div.working div {
    float: left;
    margin-right: 1em;
}

div.working div.work {
	margin: 0;
	width: 100%;
	clear: both;
}

div.control {
	text-align: right;
	margin-right: 4em;
    margin-bottom: 1em;
}

div.control a {
	font-size: 10pt;
	text-decoration: none;
	border-bottom: 1px dashed;
}

div.chat {
    height: 350px;
}

div.fchat {
    position: fixed;
    top: 60px;
    left: 10%;
    right: 10%;
    bottom: 60px;
    background: #EEE;
    padding: 2px;
    z-index: 1;
    box-shadow: 10px 2px 50px #555;
}

div.ChatControl {
    position: relative;
    height: 32px;
    width: 100%;
}

div.ChatControl div {
    position: absolute;
    width: 32px;
    height: 32px;
    right: 20px;
    cursor: hand;
    display: none;
}

div.moveup {
    background: url(/img/up_arrow.png);
}

div.movedown {
    background: url(/img/down_arrow.png);
}

div.chat div.ChatControl:hover div.moveup {
    display: block;
}

div.fchat div.ChatControl:hover div.movedown {
    display: block;
}

.requisites  {
	border: none;
	margin-left: 2em;
}
.requisites td {
	margin: 0;
	padding: 0;
	background-color: inherit;
	border: none;
}

.requisites tr:hover,
.requisites tr:nth-child(odd):hover td {
	background-color: inherit;
	cursor: default;
}

.requisites tr:nth-child(odd) td {
	background-color: inherit;
}

.task-info th {
    text-align:right;
}

.right {
	text-align: right;
}

.small {
    font-size: smaller;
	color: #898585;
}

.icon {
	text-underline: none;
	text-decoration: none;

	color: gray;
	vertical-align: middle;
}

a:hover {
	color: #0a348f;
}

hr {
    border: none;
    border-top: 1px solid #ccc;
}

div.Menu ul li a span {
    font-size: 14px;
    display: inline-block;
    text-transform: lowercase;
}
div.Menu ul li a span:first-letter {
    text-transform: uppercase;
}

.noname a {
    color: gray;
    text-decoration: none;
}

div.comments {
    margin-left:20px;
    margin-bottom: 30px;
}

div.comments .comment {
    margin-bottom: 15px;
    border-radius: 7px;
    border: 1px solid #ccc;
    box-shadow: 0 0 5px #ddd;
}

div.comments .comment .head {
    padding: 5px 10px;
    font-size: 9pt;
    color: #777;
    border-bottom: 1px solid #f0f0f0;
    background: #f9f9f9;
    border-radius: 7px;
}

div.comments .comment .head .name{
    font-weight: bold;
}

div.comments .comment .head .time{
    font-style: italic;
}

div.comments .comment p{
    margin: 0;
    padding: 5px 10px 30px;
    font-size: 10pt;
}

div.comments .comment:nth-child(odd) {
}

div.attributes {
    width: 500px;
}

div.attributes div {
    height: 63px;
}

table.attribute-values input {
    margin: 0;
    border: 1px solid #eee;
}

table.attribute-values td {
    padding: 0;
}

table.attribute-values a{
    text-decoration: none;
    border-bottom: 1px dashed blue;
}

div.required label:after {
    content: " *";
    color: red;
    font-weight: bold;
}

.w50 {
	width: 50px;
}

.ShowMenu {
	display: none;
}

@media screen and (max-width: 800px) {
	.TopMenu {
		float: none;
	}
    .TopMenu ul li{
		display: block;
		float: none;
	}

	.SearchForm {
		display: none;
	}
    .layout > .header {
		display: block;
        height: 44px;
		overflow: hidden;
	}
	.ShowMenu {
        position: absolute;
		top: 6px;
		right: 8px;
		display: block;
    }

	.ShowMenu a {
		color: whitesmoke;
		font-size: xx-large;
	}

	.layout > .main .sidebar {
		float: left;
		margin: 0;
		width: 100%;
        position: relative;
	}
    .Menu {
        margin: 0 20px;
	}

	.layout > .main .center {
		margin: 0;
        float: none;
	}

	.Page {
		width: auto;
	}

	form.block {
		padding: 0;
	}

	form.block div.column {
		width: auto;
		margin-bottom: 0px;
		margin-right: 18px;
		height: auto;
	}

	form.block input, form.block select {
		width: 150px;
		/*padding: 0;*/
		/*margin: 0;*/
	}

	form.block select {
		height: 32px;
		padding: 0;
        margin: 0;
	}

	form.block input[name="detail_count[]"],
	form.block select[name="detail_count[]"] {
		width: 50px;
	}

	form.block input[name="detail_amount[]"],
	form.block input[name="detail_amount[]"] {
		width: 50px;
	}

	form.block input[name="detail[]"],
	form.block input[name="detail[]"] {
		width: 148px;
	}

	form.block input[type="submit"],
	form.block input[type="button"] {
		width: 180px;
	}

	div.working div.detail {
		width: 100%;
		border-bottom: 1px solid #efefef;
        margin-bottom: 2px;
		padding-bottom: 2px;
		margin-top: 2px;
	}

	div.working div.work {
		border-bottom: 1px solid #efefef;
		margin-top: 16px;
		margin-bottom: 4px;
		padding-bottom: 16px;
		padding-top: 4px;
	}

	div.control {
		margin-right: 16px;
	}

	form.block input[type="submit"], form.block input[type="button"] {
		width: 100%;
		background-color: #008200;
		color: white;
		border-radius: 12px;
        font-size: x-large;
	}
	.HtmlBlock {
        padding: 0 10px;
		overflow-x: auto;
	}

	.PartPreview {
		max-width: 90%;
		width: 100%;
	}
}

@media screen and (max-width: 410px) {
	form.block div.column {
		width: auto;
		margin-right: 10px;
	}

	form.block input, form.block select {
		width: 135px;
	}

	.layout > .main .center {
		min-width: 335px;
	}

	.PagePreview {
		min-width: 335px;
        padding-left: 0;
		padding-right: 0;
	}
	div.attributes {
		width: auto;
		min-width: 335px;
	}

	form.block input[name="detail_count[]"],
	form.block select[name="detail_count[]"] {
		width: 45px;
	}

	form.block input[name="detail_amount[]"],
	form.block input[name="detail_amount[]"] {
		width: 45px;
	}

	form.block input[name="detail[]"],
	form.block input[name="detail[]"] {
		width: 148px;
	}
}

.devices td {
	line-height: 50px;
}
.devices img {
	vertical-align: middle;
}
.devices .control {
	text-align: right;
}
.devices .control a{
	padding: 10px;
	border-radius: 40px;
}
.devices .control a:hover{
	background-color: green;
	text-color: white;
	color: white;
}
.devices .control a:hover .icon{
	color: white;
}
