/* --------------- reset.css --------------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, sub, sup, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; vertical-align: baseline; background: transparent; }

a { margin: 0; padding: 0; vertical-align: baseline; background: transparent; text-decoration: none; color: #666; }

table { border-collapse: collapse; border-spacing: 0; }

td, td img { vertical-align: top; }

input, select, button, textarea { margin: 0; font-size: 100%; color: #666; }

input[type="checkbox"] { vertical-align: bottom; }

input[type="radio"] { vertical-align: text-bottom; }

sub { vertical-align: sub; font-size: smaller; }

sup { vertical-align: super; font-size: smaller; }

.rub{font-size:12px; color:#a0a0a0; text-align:center; display:block; padding-top:3px;}

/* --------------- /reset.css --------------- */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; }

.clearfix:after { clear: both; }

.clearfix { zoom: 1; }

body { position: relative; color: #000; text-align: left; font: 62.5%/1.2em arial, sans-serif; background: #fff; }
body.main-page{min-width:1000px; background:#f8f8f8; overflow-y: scroll; overflow-x: auto;}

-body.main-page input[type=text]{
	color:#1c898a;
	padding:7px 4px; border:1px solid #cacaca; border-radius:2px; 
	background: #ededed; /* Old browsers */
	background: -moz-linear-gradient(top,  #ededed 0%, #fefefe 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ededed), color-stop(100%,#fefefe)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ededed 0%,#fefefe 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ededed 0%,#fefefe 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ededed 0%,#fefefe 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ededed 0%,#fefefe 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */

}

label, input[type="button"], input[type="submit"], button { cursor: pointer; }

.post p { font-size: 14px; color: #000; line-height: 24px; padding-bottom: 20px; }
.post strong, .post b { font-weight: 600; }
.post a { color: #D14A24; text-decoration: underline; }
.post a:hover { text-decoration: none; }
.post img[align="left"] { float: left; margin: 0 20px 20px 0; }
.post img[align="right"] { float: right; margin: 0 0 20px 20px; }
.post h1 { font-size: 32px; font-weight: normal; line-height: 36px; color: #433931; padding-bottom: 10px; }
.post h2 { font-size: 22px; font-weight: 300; line-height: 26px; color: #D14A24; padding-bottom: 15px; }
.post h3 { font-size: 20px; line-height: 24px; color: #D14A24; padding-bottom: 15px; font-weight: 200; }
.post h4 { font-size: 18px; line-height: 20px; color: #D14A24; padding-bottom: 10px; font-weight: 300; }
.post h5 { font-size: 16px; line-height: 20px; color: #463333; padding-bottom: 10px; }
.post h6 { font-size: 14px; font-weight: 600; line-height: 18px; color: #463333; padding-bottom: 10px; }
.post ul { list-style: none; }
.post ul li { font-size: 14px; color: #999; line-height: 18px; padding: 0 0 10px 14px; }
.post ol { padding-left: 15px; }
.post ol li { font-size: 16px; color: #433931; line-height: 21px; padding-bottom: 10px; }
.post table { width: 100%; margin-bottom: 20px; }
.post table tr td { font-size: 14px; line-height: 18px; padding-bottom: 15px; padding: 10px; }
.post table[border="1"] tr td { border: 2px solid #333; }

input[type="text"], textarea { -webkit-appearance: none; }

html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, dl, dt, dd, ol, ul, li, fieldset, form, label, legend { vertical-align: baseline; font-family: inherit; font-weight: inherit; font-style: inherit; font-size: 100%; outline: 0; padding: 0; margin: 0; border: 0; }

/* remember to define focus styles! */
:focus { outline: 0; }

body { background: white; line-height: 1; color: black; }

ol, ul { list-style: none; }

/* tables still need cellspacing="0" in the markup */
table { border-collapse: separate; border-spacing: 0; }

caption, th, td { font-weight: normal; text-align: left; }

/* remove possible quote marks (") from <q> & <blockquote> */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }

blockquote, q { quotes: "" ""; }

.inp_i { height: 39px; border: 1px solid #2ba4a5; border-radius: 5px; -webkit-box-shadow: 0 20px 39px rgba(204, 204, 204, 0.23) inset; -moz-box-shadow: 0 20px 39px rgba(204, 204, 204, 0.23) inset; box-shadow: 0 20px 39px rgba(204, 204, 204, 0.23) inset; padding-left: 10px; font-size: 16px; color: #555; margin-bottom: 15px; font-weight: 300; letter-spacing: 1px; width: 100%; font-family: 'Open Sans', sans-serif; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

@media only screen and (min-width: 768px) and (max-width: 1024px) { .home-page, html { min-height: 100%; height: 100%; } }
@media only screen and (max-width: 767px) { .home-page, html { min-height: 100%; height: 100%; } }

body { font-family: 'Open Sans', sans-serif; }
.touch body.home-page { background: url(../img/bg1.jpg) 50% 50% no-repeat; background-size: cover; }
@media only screen and (max-width: 767px) { body { background: url(../img/bg5.jpg) 20% 50% no-repeat; background-size: cover; } }

.home-page { overflow: hidden; position: relative; }

header { /*@include sized-sprite($icons, f);*/ background: rgba(238, 238, 238, 0.12); -webkit-box-shadow: 0 5px 5px rgba(77, 77, 77, 0.23); -moz-box-shadow: 0 5px 5px rgba(77, 77, 77, 0.23); box-shadow: 0 5px 5px rgba(77, 77, 77, 0.23); height: 57px; position: fixed; top: 0px; width: 100%; z-index: 100; }
@media only screen and (max-width: 767px) { header { height: 48px; } }
header .nav { float: left; }
header .nav .topmenu, header .nav .topmenu-link, header .nav .topmenu-main { display: block; float: left; padding: 9px 19px; height: 38px; border-right: 1px solid #c5c3bf; -webkit-box-shadow: 1px 0 2px #9b988d; -moz-box-shadow: 1px 0 2px #9b988d; box-shadow: 1px 0 2px #9b988d; }
header .nav .searchform { display: block; float: left; padding: 11px 19px; height: 35px; }
header .nav .searchform input[type=text] { background: inherit; border: 1px solid #438080; border-radius: 5px; padding: 7px 12px; box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5); color: #FFF; }
header .nav .searchform input[type=text]::-webkit-input-placeholder {color:#fff;}
header .nav .searchform input[type=text]:-moz-placeholder {color:#fff;}

@media only screen and (max-width: 767px) {
	header .nav .topmenu, header .nav .topmenu-link, header .nav .topmenu-main { 
		height: 40px; padding: 7px 10px 0; text-align: center; 
	}
	header .nav .topmenu  img, header .nav .topmenu-link img, header .nav .topmenu-main img { min-width: 30px; width: 30px; } 
}
header .nav .topmenu.active, header .nav .topmenu-main.active { background: #1c898a; }
header .nav .topmenu:hover, header .nav .topmenu-link:hover, header .nav .topmenu-main:hover { background: #1c898a; }
header .nav-right { float: right; }
header .nav-right.phone { color:#fff; width: 150px; }
header .nav-right.phone a.number { padding:20px 0px; display: block; color:#fff; }
header .nav-right .topmenu-main.valute{
	color: #FFF;
	font-size: 12px;
	float: right;
	padding: 10px 20px;
	border-left: 1px solid #C5C3BF;
	-webkit-box-shadow: 1px 0 2px #9B988D;
	-moz-box-shadow: 1px 0 2px #9b988d;
	box-shadow: 1px 0 2px #9B988D;
	margin-left: 20px;
	text-align: center;
}
@media only screen and (max-width: 767px) and (orientation: landscape) { header#navbar .nav-right { float: right; } header .nav-right { display:block!important; } }
@media only screen and (max-width: 767px) and (orientation: portrait) { header .nav-right { display:none!important; } }
header .nav-right .topmenu { display: block; float: left; padding: 9px 25px; height: 38px; border-left: 1px solid #c5c3bf; -webkit-box-shadow: 1px 0 2px #9b988d; -moz-box-shadow: 1px 0 2px #9b988d; box-shadow: 1px 0 2px #9b988d; }
@media only screen and (max-width: 767px) {
  header .nav-right .topmenu { height: 30px; padding: 13px 0 5px; text-align: center; width: 100px; }
  header .nav-right .topmenu:first-child { border-left: 0; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
  header .nav-right .topmenu:last-child { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
  header .nav-right .topmenu img { width: 70%; min-width: 70%; } 
}
header .nav-right .topmenu:hover { background: #1c898a; }

.mainmenuwrapper{
	position:fixed; 
	top:0px; 
	width:100%; 
	height:245px; 
	background:#fff; 
	z-index:50;
	background: #F8F8F8;
}
section.mainmenu{height:210px;width:100%; background:url('/img/background-menu.png') 50% top no-repeat; box-shadow: 0 0 20px #000; background-size: cover; position: fixed;}
section.mainmenu ul{width:1000px; margin:0px auto; padding:80px 0px 0px 0px;}
section.mainmenu ul li a{display:block; width:200px; padding-top:94px; float:left; color:#fff; text-align:center; position:relative;}
section.mainmenu.adminmenu ul li a{width:160px!important;}
section.mainmenu ul li a:hover{text-decoration:underline;}
section.mainmenu ul li a.catalog{background:url(/img/menu-catalog.png) 50% top no-repeat;}
section.mainmenu.adminmenu ul li a.catalog{background:url(/img/menu-admincatalog.png) 50% top no-repeat;}
section.mainmenu ul li a.orders{background:url(/img/menu-orders.png) 50% top no-repeat;}
section.mainmenu ul li a.rekvizit{background:url(/img/menu-rekvizit.png) 50% top no-repeat;}
section.mainmenu ul li a.messages{background:url(/img/menu-messages.png) 50% top no-repeat;}
section.mainmenu ul li a.clients{background:url(/img/menu-clients.png) 50% top no-repeat;}
section.mainmenu ul li a.settings{background:url(/img/menu-settings.png) 50% top no-repeat;}
section.mainmenu ul li a.cart{background:url(/img/menu-cart.png) 50% top no-repeat;}
section.mainmenu ul li a span.count{
	display: block;
	position: absolute;
	top: 60px;
	left: 112px;
	background: #FFF;
	color: #438080;
	width: 28px;
	height: 13px;
	border-radius: 13px;
	padding: 7px 0px;
	font-size: 15px;
	text-align: center;
}

.section-item { background: url("../img/bg1.jpg") top center no-repeat; background-size: cover; min-width: 900px; }
.touch .section-item { display: none; }
@media only screen and (max-width: 767px) { .section-item { display: none; } }

.section-item2 { background: url("../img/bg2.jpg") center no-repeat; background-size: cover; min-width: 900px; }
.touch .section-item2 { display: none; }
@media only screen and (max-width: 767px) { .section-item2 { display: none; } }

.logo-main { height: 45%; text-align: center; position: fixed; top: 120px; width: 100%; z-index: 80; }
.logo-main a img { height: 100%; min-height: 100%; }
@media only screen and (min-width: 768px) and (max-width: 1024px) { .logo-main a img { width: 30%; min-width: 30%; height: initial; min-height: initial; } }
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { .logo-main { top: 120px; }
  .logo-main a img { width: 40%; min-width: 40%; height: initial; min-height: initial; } }
@media only screen and (max-height: 767px) { .logo-main { height: 31%; } }
@media only screen and (max-width: 767px) { .logo-main { position: absolute; top: -184px; }
  .logo-main a img { width: 240px; min-width: 240px; height: initial; min-height: initial; } }

.content-wrap { position: fixed; bottom: 30px; width: 100%; height: 310px; background: #fff; z-index: 98; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); }
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { .content-wrap { bottom: 130px; } }
@media only screen and (max-width: 767px) { .content-wrap { height: auto; position: relative; bottom: auto; border: 0; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; top: 48px; } }
.content-wrap .box-main { display: block; width: 746px; margin: auto; text-align: center; }
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { .content-wrap .box-main { width: auto; } }
@media only screen and (max-width: 767px) { .content-wrap .box-main { width: auto; padding: 10px; background: #fff; margin-top: 250px; } }
.content-wrap .box-main .title { padding-top: 70px; font-family: 'Open Sans', sans-serif; font-weight: 300; font-size: 34px; color: #555; line-height: 38px; }
@media only screen and (max-width: 767px) { .content-wrap .box-main .title { padding-top: 30px; font-size: 19px; line-height: 23px; font-weight: 300; } }
.content-wrap .box-main .autopanel { background: url("../img/mainradio.png") top center no-repeat; width: 287px; height: 44px; margin: 20px auto 0px; position: relative; padding-bottom: 30px; }
.content-wrap .box-main .autopanel .autopanel_i { margin: 0 3px; width: 281px; height: 44px; position: relative; cursor: pointer; }
.content-wrap .box-main .autopanel .autopanel_i .btn { cursor: pointer; background: url("../img/backradio.png") top center no-repeat; width: 142px; height: 44px; position: absolute; top: 4px; left: 0; z-index: 5; }
.content-wrap .box-main .autopanel .autopanel_i .btn.animated { -webkit-transition-property: left; -moz-transition-property: left; -o-transition-property: left; transition-property: left; -webkit-transition-duration: 0.6s; -moz-transition-duration: 0.6s; -o-transition-duration: 0.6s; transition-duration: 0.6s; -webkit-transition-timing-function: ease; -moz-transition-timing-function: ease; -o-transition-timing-function: ease; transition-timing-function: ease; }
.content-wrap .box-main .autopanel .link { pointer-events: none; display: block; width: 50%; text-align: center; float: left; color: #fff; text-decoration: none; font-weight: 300; z-index: 10; padding: 14px 0px; position: absolute; cursor: pointer; font-size: 18px; font-weight: 400; top: 0; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.content-wrap .box-main .autopanel .link.link-right { right: 0; }

.box-reg { display: none; width: 264px; margin: auto; padding-top: 39px; }
@media only screen and (max-width: 767px) { .box-reg { margin-top: 250px; padding: 25px 25px 0 25px; }
  .box-reg .inp { text-align: center; } }
@media only screen and (max-width: 767px) and (max-width: 767px) { .box-reg .inp .inp_i { width: 264px; display: block; margin: auto; margin-bottom: 15px; } }
.box-reg label { font-size: 14px; line-height: 16px; font-weight: 300; color: #555; margin-left: 12px; }
.box-reg .rememberpassword { font-size: 14px; line-height: 16px; font-weight: 300; color: #555; float: right; }
.box-reg .rememberpassword:hover { text-decoration: underline; }

.checkbox { position: relative; top: -5px; height: 19px; width: 19px; margin-left: 4px; margin-right: 4px; clear: left; float: left; background: url("../img/check.png") no-repeat; cursor: pointer; text-align: left; overflow: hidden; }
.checkbox input { position: absolute; left: -400px; top: 0px; }

.btn { text-align: center; }
.btn .btn-green { display: inline-block; text-align: center; width: 163px; height: 44px; line-height: 44px; border: none; background: url("../img/btn.png") no-repeat 0 -46px; margin: 22px auto; font-size: 18px; font-weight: 300; color: #fff; }
.btn .btn-green:hover { background-position: 0 0; }

.btn .btn-red { display: inline-block; text-align: center; width: 163px; height: 44px; line-height: 44px; border: none; background: url("../img/btn-red.png") no-repeat 0 -46px; margin: 22px auto; font-size: 18px; font-weight: 300; color: #fff; }
.btn .btn-red:hover { background-position: 0 0; }

.box-regmain { display: none; width: 635px; margin: auto; padding-top: 42px; }
@media only screen and (max-width: 767px) { .box-regmain { width: auto; padding: 25px; } }
@media only screen and (max-width: 767px) and (orientation: landscape) { .box-regmain { width: 416px; } }
.box-regmain .item { float: left; padding-left: 37px; }
@media only screen and (max-width: 767px) { .box-regmain .item { float: none; padding: 0; } }
@media only screen and (max-width: 767px) and (orientation: landscape) { .box-regmain .item { float: left; padding-left: 10px; width: 200px; } }
.box-regmain .item:first-child { padding-left: 0; }
.box-regmain .item .inp { text-align: right; }
@media only screen and (max-width: 767px) { .box-regmain .item .inp { text-align: left; } }
.box-regmain .item .inp .inp_i { width: 173px; margin-bottom: 11px; }
@media only screen and (max-width: 767px) { .box-regmain .item .inp .inp_i { width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } }
.box-regmain .item .inp label { font-size: 18px; line-height: 20px; font-weight: 300; color: #555; margin-right: 12px; }
@media only screen and (max-width: 767px) { .box-regmain .item .inp label { display: block; padding-bottom: 10px; } }
.box-regmain .item .btn { float: right; margin: 0 5px 0 0; }
@media only screen and (max-width: 767px) { .box-regmain .item .btn { float: none; margin: 0; text-align: center; } }
.box-regmain .item .btn .btn-green { margin: 0; }
@media only screen and (max-width: 767px) { .box-regmain .item .btn .btn-green { margin: 22px auto; } }
.box-regmain .error { margin: 5px; color:#f00; }

.box-remember { width: 740px; margin: auto; padding-top: 32px; display: none; }
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { .box-remember { width: auto; } }
@media only screen and (max-width: 767px) { .box-remember { width: 300px; margin-top: 250px; padding: 25px; } }
.box-remember .title { text-align: center; font-size: 30px; line-height: 36px; font-weight: 300; color: #555; letter-spacing: 1.5px; padding-bottom: 19px; }
@media only screen and (max-width: 767px) { .box-remember .title { font-size: 15px; font-weight: 300; line-height: 17px; letter-spacing: 0; } }
.box-remember .inp { text-align: center; }
.box-remember .inp .inp_i { width: 320px; }
@media only screen and (max-width: 767px) { .box-remember .inp .inp_i { font-size: 14px; width: 252px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } }
.box-remember .btn { text-align: center; }
.box-remember .btn .btn-green { margin: 0 auto; }

.box-info { width: 829px; margin: auto; padding-top: 16px; display: none; }
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { .box-info { width: auto; padding: 10px 10px 0 10px; } }
@media only screen and (max-width: 767px) { .box-info { width: auto; padding: 10px; padding-top: 40px; } }
.box-info .text p { font-size: 16px; line-height: 22px; color: #555; }
@media only screen and (max-width: 767px) { .box-info .text p { font-size: 14px; line-height: 18px; } }
.box-info .text ul { list-style: inherit; list-style-position: inside; }
.box-info .text ul li { font-size: 16px; line-height: 22px; color: #555; }
@media only screen and (max-width: 767px) { .box-info .text ul li { font-size: 14px; line-height: 18px; } }
.box-info .btn { display: none; }
@media only screen and (max-width: 767px) { .box-info .btn { display: block; }
  .box-info .btn .btn-small { background: url(../img/btn-c.png) 0 -46px no-repeat; width: 44px; }
  .box-info .btn .btn-small:hover { background-position: 0 0; } }

  
.content-wrapper{width:1000px; margin:0px auto; padding-top: 245px; padding-bottom:20px; position:relative;}
.content-wrapper .content table input[type=text].ajaxreload{border: 1px solid #960000!important;}
.content-wrapper .itog{background:#c9e0e1; padding:15px 0px 15px 15px; font-weight:bold; margin:10px 0px;}
.content-wrapper .itog .caption{margin-left:645px; display: block; float: left; /* padding-top: 7px; */}
.content-wrapper .itog .value{margin: -5px 0px -5px 25px; width: 125px; text-align: center; display: inline-block; padding: 5px;}

.content-wrapper .infomessage{text-align:center; padding:10px;}
.content-wrapper .head{width:1000px; background:#1c898a; border:1px solid #1c898a; color:#fff; font-size:15px;}
.content-wrapper .head span{display:inline-block; padding:15px;}
.content-wrapper .head span.left{padding-left:20px; text-align:left;}
.content-wrapper .head span.center{ text-align:center;}
.content-wrapper .content{width:1000px; border:1px solid #d7d7d7; font-size:14px;}
.content-wrapper .content .leftcategory{width:160px; padding:20px 30px; float:left;}
.content-wrapper .content .leftcategory a{display:block; padding:3px; color:#848484;}
.content-wrapper .content .leftcategory a.active{color:#000; text-decoration:underline;}
.content-wrapper .content .leftcategory a.different{font-style:italic;}
.content-wrapper .content .leftcategory a:hover{color:#000;}

.content-wrapper .content table.productitems {border-collapse:collapse;}
.content-wrapper .content table.productitems td { padding:10px; border-left:1px solid #d7d7d7; border-bottom:1px solid #d7d7d7; vertical-align:middle;}
.content-wrapper .content table.productitems td img{ float:left; width:80px; height:80px; margin-right:10px;}
.content-wrapper .content table.productitems td.center {text-align:center;}
.content-wrapper .content table.productitems td input[type=text] {width:30px;}
.content-wrapper .content table.productitems td input[type=submit] {border:2px solid #fff; background:url(/img/productsubmit.png) top left repeat-x; height:31px; color:#fff; border-radius: 20px; font-size: 12px; padding: 5px 12px;}


.content-wrapper table.details{width:100%; border-collapse:collapse;}
.content-wrapper table.details tr.head{background:#1c898a;}
.content-wrapper table.details tr.clickable{cursor:pointer;}
.content-wrapper table.details tr.odd{background:#f0f0f0}
/* .content-wrapper table.details tr.new{background:rgba(255, 87, 87, 0.21)!important;}
.content-wrapper table.details tr.red{background:rgba(255, 0, 0, 0.5)!important;}
.content-wrapper table.details tr.green{background:rgba(87, 255, 87, 0.4)!important;} */
.content-wrapper table.details tr td.docs_yes{background:#1c898a; color:#fff;}

.content-wrapper table.details tr:hover{background:#e5e5e5!important;}
.content-wrapper table.details tr.head td{background:#1c898a; border:1px solid #1c898a; text-align:center; font-size:14px; padding:14px 0px}
.content-wrapper table.details td{border:1px solid #d7d7d7; font-size:13px; padding:10px; text-align:center; vertical-align:middle;}
.content-wrapper table.details td.left{text-align:left;}

.content-wrapper .content table.productitems td input[type=submit]:hover{border:2px solid #ccc;}
.content-wrapper .content table.rekvizit{border:none; width:96%; margin:2%;}
.content-wrapper .content table.rekvizit td{border:none; width:33%; padding:10px;}
.content-wrapper .content table.rekvizit td label{display:block; padding:3px;}
.content-wrapper .content table.rekvizit td input[type=text]{width:240px; height:37px; border:1px solid #bdbdbd; border-radius:3px; background:url(/img/inputtext.png) top left repeat-x; padding: 0px 10px;}
.content-wrapper .content table.rekvizit td select{width:260px; height:37px; border:1px solid #bdbdbd; border-radius:3px; background:url(/img/inputtext.png) top left repeat-x; padding: 0px 10px;}
.content-wrapper .content table.rekvizit td .grouplabel{border-bottom:1px solid #1C898A; color:#1C898A; font-size: 16px; font-weight:bold; padding-bottom:10px;}

.popupwindow table.rekvizit{border:none; width:300px;}
.popupwindow table.rekvizit td{border:none; width:33%; padding:10px;}
.popupwindow table.rekvizit td label{display:block; padding:3px;}
.popupwindow table.rekvizit td input[type=text]{width:240px; height:37px; border:1px solid #bdbdbd; border-radius:3px; background:url(/img/inputtext.png) top left repeat-x; padding: 0px 10px;}
.popupwindow table.rekvizit td select{width:260px; height:37px; border:1px solid #bdbdbd; border-radius:3px; background:url(/img/inputtext.png) top left repeat-x; padding: 0px 10px;}
.popupwindow table.rekvizit td .grouplabel{border-bottom:1px solid #1C898A; color:#1C898A; font-size: 16px; font-weight:bold; padding-bottom:10px;}

.content-wrapper .content table.orderproducts td{border:none; width:15%; padding:10px; text-align:center;}
.content-wrapper .content table.orderproducts td.rowname{width:40%; text-align:left;}
.content-wrapper .content table.orderproducts td.rowname input[type=text]{ width:300px; text-align:left;}
.content-wrapper .content table.orderproducts td input[type=text]{ text-align:center; width:170px; height:37px; border:1px solid #bdbdbd; border-radius:3px; background:url(/img/inputtext.png) top left repeat-x; padding: 0px 10px;}
.content-wrapper .content table.orderproducts td input[type=text].plusminus{width:50px; margin:0px 10px;}
.content-wrapper .content table.orderproducts tr.head td{text-align:center;}

.content-wrapper .orderdetail{border:1px solid #dfdfdf; padding:20px; font-size: 14px;}
.content-wrapper .orderdetail .documents{float:right; height: 175px; padding:20px; /* background:#d6d6d6; */ width:235px; margin:-20px;}
.content-wrapper .orderdetail .documents .docname{float:left;  padding:10px; background:#1c898a; color:#fff; width:150px; margin:7px;}
.content-wrapper .orderdetail .documents a img{margin-top: 10px; margin-left: 10px;}
.content-wrapper table.orderdetailtable{width:500px; border-collapse:collapse; font-weight:bold!important;}
.content-wrapper table.orderdetailtable td{padding:5px;font-weight:bold;}
.content-wrapper table.orderdetailtable td.label{font-weight:normal!important;}
.content-wrapper .adminorderdetail{padding:20px; color:#1C898A; font-size: 16px; font-weight:bold;}
.content-wrapper table.adminorderdetailtable{width:350px; border-collapse:collapse; font-weight:bold!important;}
.content-wrapper table.adminorderdetailtable td{padding:5px;font-weight:bold;}
.content-wrapper table.adminorderdetailtable td.label{font-weight:normal!important;}

.content-wrapper .content.messages{padding:20px; width:960px;}
.content-wrapper .content.messages .message-wrapper{max-height:200px; overflow-y:auto;}
.content-wrapper .content .message-item{ 
	background:#fff; border-radius:5px; margin:5px; padding:10px; border:1px solid #ccc; width:400px; 
	background: #ededed; /* Old browsers */
	background: -moz-linear-gradient(top,  #ededed 0%, #ffffff 51%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ededed), color-stop(51%,#ffffff)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ededed 0%,#ffffff 51%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ededed 0%,#ffffff 51%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ededed 0%,#ffffff 51%); /* IE10+ */
	background: linear-gradient(to bottom,  #ededed 0%,#ffffff 51%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
.content-wrapper .content .message-item .date{ color: #636363; font-size: 12px; padding-top: 2px; padding-right: 10px;}
.content-wrapper .content .message-item.self{ float:left;}
.content-wrapper .content .message-item.self .date{ float:right;}
.content-wrapper .content .message-item.other{ float:right;}
.content-wrapper .content .message-item.other .date{ float:right;}

.content-wrapper .content .write-message {border-top:1px solid #ccc; margin-top:20px;}
.content-wrapper .content .write-message textarea{width:700px; height:80px; margin:20px; display:block; float:left; border:1px solid #ccc; border-radius:10px; padding:10px;}
.content-wrapper .content .write-message input[type=submit]{float:right; margin-top:50px; margin-right:30px;}

.clear{clear:both;}


.mboxHD{width:1000px; margin:0px auto; padding:250px 10px 30px 10px; font-weight:bold; font-size:16px;}
.mboxBody{width:1000px; margin:0px auto;}
.listmessages{background:#fff;}
.listmessageitem{
	display:block;
	padding:15px 20px;
	border-bottom:1px solid #f0f0f0;
}
.listmessageitem span.lastmessage{
	display:block;
	float:right;
	width:700px;

	padding:5px;
	font-size:11px;
	margin-top: -7px;
	color:#000;
}
.listmessageitem span.lastmessage.unreaded{
	background:#E8E8E8;
}
.listmessageitem span.lastmessage span.messagebody{
	display:block;
	padding:3px;
	margin:3px 1px;
	border-left:1px solid #ccc;
}
.listmessageitem span.lastmessage strong{
	font-weight:bold;
}
.listmessageitem b{
	padding:5px 0px;
	color: #000;
	display: block;
}

span.minus, span.plus {
    font-family: 'Lora', serif;
	font-size: 13px;
	background: #e8e8e8;
	padding: 2px 6px;
	border-radius: 20px;
	cursor: pointer;
	color: #676666;
	border: 1px solid #cfcfcf;
}
span.minus:hover , span.plus:hover {
	background:#1C898A;
	border:1px solid #1C898A;
	color:#fff;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}	
.plusminus {
    width: 35px;
    text-align: center;
    vertical-align: middle;
    height: 37px;
    line-height: 37px;
    border: 1px solid #BDBDBD;
	border-radius: 3px;
	background: url(/img/inputtext.png) top left repeat-x;
}

.actionlink a{
	font-size: 12px;
	line-height: 19px;
}
.actionlink a:hover{
	text-decoration:underline;
}

.addpanel{
	display:block;
	padding:0px 5px 10px 5px;
	text-align: center;
}
.addpanel .addform{
	display:none; 
	margin: 5px -30px;
	border: 2px solid #1C898A;
	color: #1C898A;
	background: #E2E2E2;
	padding: 10px 0px 10px -30px;
	border-radius: 5px;
}
.addpanel .addform input[type=text]{ margin:5px; border:1px solid #1C898A; border-radius:5px; padding:5px 10px; width:220px!important;}
.addpanel .addform textarea{ border:1px solid #1C898A; border-radius:5px; padding:5px 10px; width:220px!important; height:50px; margin:5px;}
.addpanel .addlink a{color:#1C898A!important; /* margin:0px -30px; font-weight:bold; */ font-size:14px; padding:10px; /* display:block; */}

.header-message{
	background: #1c898a;
	padding: 15px;
	text-align: center;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
	box-shadow: 0 0 10px rgb(0,0,0);
	z-index: 10000;
	position: fixed;
	color: #fff;
	font-size: 14px;
	bottom: 0px;
	left: 35%;
	width:30%;
}

.pagnav{  text-align: center; background: #1C898A;}
.pagnav span{
	display: inline-block;
	margin: 5px;
	padding: 8px 0px;
	border-radius: 25px;
	width: 32px;
	height: 15px;
	text-align: center;
	background: #ebebeb;
	font-size: 14px;
	color: #1C898A;
}
.pagnav span.pagenav_current{ background:#fff; }
.pagnav span.pagenav_current a{ color: #000;}

.ui-datepicker{background:#fff!important; width:500px!important; z-index: 1000!important;}
.ui-datepicker .ui-datepicker-header{background:#5FB3B4!important; color:#000!important; border-radius:0px!important; border:none!important;}
.ui-datepicker .ui-datepicker-header .ui-icon{background-image:url("/images/ui-icons_222222_256x240.png")!important;}
.ui-datepicker .ui-datepicker-calendar{color:#000!important;}
.ui-datepicker .ui-state-default{text-align:center!important;}
.ui-datepicker .ui-state-hover{border-radius:0px!important;}
.ui-datepicker .ui-state-highlight{border:1px solid #5FB3B4!important;}
.ui-datepicker td a{padding:5px!important;}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next{background:none!important; border:1px solid #5FB3B4!important;}
.ui-datepicker .ui-datepicker-prev:hover, .ui-datepicker .ui-datepicker-next:hover{background:none!important; border:2px solid #5FB3B4!important;}

.ui-icon-circle-triangle-e {
    background-position: -32px -16px!important;
}
.ui-icon-circle-triangle-e:hover {
	background-position: -48px -192px!important;
}

.ui-icon-circle-triangle-w {
    background-position: -96px -16px!important;
}
.ui-icon-circle-triangle-w:hover {
	background-position: -80px -192px!important;
}


.video-parent {
	display:none;
	width: 100%;
	height: 50%;
	position: absolute;
	top: 0;
	left: 0;
	overflow: auto;
	background:rgba(0, 0, 0, 0.80);
	z-index:99;
}

.video-block {
	width: 720px;
	height: 480px;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	background: #60a839;
}

.comment-row{
	padding:10px;
	margin-bottom:10px;
	border:1px solid #bdbdbd;
	background:#f3f3f3;
	font-size: 12px;
}
.comment-row p.text{
	font-size:13px;
	padding:5px 0px;
}
.comment-row.system_comment p.text {
	color:#f00;
}