body {
    margin: 0px;
    padding: 0px;
    background-color: #ffffff;
    overflow: auto;
}

body, td, a, input, select, textarea {
    font-family: Trebuchet MS;
    font-size: 12px;
    color: #2d7aac;
}

table {
    border-collapse: collapse;
}

td {
    padding: 0px;
    margin: 0px;
}

input, select {
    height: 19px;
}

input, select, textarea {
    font-weight: normal;
}

textarea {
    padding: 2px;
}

a {
    color: #2d7aac;
}

a:link {
    text-decoration: underline;
}

a:visited {
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.full_table {
    width: 100%;
    height: 100%;
}

.max_weight {
    height: 100%;
}

.page_add_box {
    border: 1px solid #c5c5c5;
    background-color: #ffecdc;
    padding: 10px;
    z-index: 8000;
}

.page_add_text {
    padding-top: 5px;
}

.action_link {
    font-weight: bold;
}

.page_add_els {
    width: 195px;
}

.no_spaces {
    margin: 0px;
    padding: 0px;
}

.nav_margin {
    margin-top: 20px;
}

.page_add_title {
    font-size: 14px;
    font-weight: bold;
}

.nav_name {
    padding-left: 5px;
    font-size: 13px;
    font-weight: bold;
}

#head {
    height: 67px;
    background-image: url('img/head_bg.jpg');
    background-repeat: repeat-x;
    padding-left: 10px;
    padding-right: 10px;
}

#content {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 65px;
    padding-bottom: 25px;
}

#footer {
    height: 20px;
    border-top: 1px solid #ff9d4d;
    padding-left: 10px;
    color: #d06c1b;
    font-size: 11px;
}

#menu_block {
    width: 220px;
    padding-right: 20px;
    vertical-align: top;
}

#menu_title {
    font-size: 18px;
    border-bottom: 1px solid #fa9848;
    margin-bottom: 15px;
}

#pop_block {
    padding-top: 5px;
    padding-bottom: 5px;
}

#page_properties {
    border-top: 3px solid #ff9f4f;
    border-bottom: 3px solid #ff9f4f;
    margin-bottom: 10px;
    display: none;
}

.cont_title {
    margin-top: 10px;
    height: 20px;
    background-color: #ff8e31;
    padding-left: 10px;
    padding-right: 10px;
    color: #ffffff;
    font-weight: bold;
}

.cont_title table td {
    color: #ffffff;
    font-weight: bold;
}

.cont_title table td a {
    color: #ffffff;
}

.cont_main {
    background-color: #d5ecfa;
    margin-top: 1px;
    border-bottom: 3px solid #ff9f4f;
}

.cont_main table td {
    padding: 5px;
    color: #2d7aac;
    font-weight: bold;
}

.cont_main table td a {
    color: #828282;
}

.cont_main table td input {
    width: 100%;
}

.cont_main table td textarea {
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
    overflow: auto;
}

.cont_main_2 {
    margin-top: 1px;
    border-bottom: 3px solid #ff9f4f;
}

.cont_edit {
    background-color: #b9d8eb;
    border: 1px solid #ffffff;
}

.cont_edit table td a {
    color: #828282;
}

.cont_tit {
    border: 1px solid #ffffff;
}

.cont_tit2 {
    width: 180px;
    text-align: right;
    border: 1px solid #ffffff;
}

.bold_text {
    font-weight: bold;
}

.data_grid {
    margin-top: 1px;
    border-bottom: 3px solid #ff9f4f;
}

.data_grid table {
    width: 100%;
    background-color: #d5ecfa;
}

.data_grid table td {
    padding: 10px;
    border: 1px solid #ffffff;
}

.data_grid table td a {
    color: #828282;
    font-weight: bold;
}

.tab_link_td {
    width: 100px;
    text-align: center;
}

.tab_title td {
    background-color: #ff9f4f;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
}

.nicEdit-main {
    background: #fff;
}

/*
 * @ photos
 */
.photos {
}

.photos ul {
    margin: 0;
    display: block;
}

.photos li {
    list-style: none;
    float: left;
    padding: 10px;
    width: 120px;
    height: 120px;
    background: #fff;
    border: 1px solid #ddd;
    margin: 0 10px 10px 0;
    position: relative;
}

.photos .remove-item {
    position: absolute;
    display: block;
    right: 5px;
    top: 5px;
    height: 16px;
    width: 16px;
    background: url(/admin/img/remove.png) 0 0 no-repeat;
    cursor: pointer;
}

.photos li em {
    width: 120px;
    height: 120px;
    display: block;
    overflow: hidden;
}

.add-button-container {
    height: 30px;
}
.add-button-container a {
    display: block;
    height: 28px;
    width: 170px;
    color: #fff;
    text-decoration: none;
}
.add-button-container a span {
    display: block;
    height: 28px;
    float: left;
    width: 10px;
    background: url(/admin/img/add.png) left top no-repeat;
}
.add-button-container a em {
    display: block;
    height: 28px;
    line-height: 28px;
    font-style: normal;
    text-align: center;
    margin: 0 0 0 10px;
    padding: 0 10px 0 0;
    color: #fff;
    background: url(/admin/img/add.png) right top no-repeat;
}
#razdel-list {
    float: left;
    width: 50%;
    height: 25px;
    border: 1px #ddd solid;
    box-shadow: 0 0 5px #aaa;
}
#related-cache {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
#ajax-filtered-listing-default {
    height: 500px;
    line-height: 500px;
    font-size: 20px;
    font-family: Verdana;
    color: #aaa;
    text-align: center;
}
#razdel-listing-form {
    width: 500px;
    position: relative;
}
#razdel-listing-form #razdel-fixed {
    padding: 5px;
    background: #fff;
    height: 30px;
}
#razdel-listing-form #ajax-filtered-listing {
    padding: 5px;
    overflow-y: scroll;
    height: 500px;
    border: 1px #eee solid;
}
#razdel-listing-form #ajax-filtered-listing ul {
    margin: 0;
    padding: 0;
}
#razdel-listing-form #ajax-filtered-listing li {
    border-bottom: 1px #eee solid;
    padding: 5px 5px 5px 32px;
    list-style: none;
    background: #fff url(/admin/img/selected.png) 0px -32px no-repeat;
    cursor: pointer
}

#razdel-listing-form #ajax-filtered-listing li.selected {
    background: #fff url(/admin/img/selected.png) 0px 15px no-repeat;
}
#razdel-listing-form #ajax-filtered-listing li img {
    vertical-align: middle;
    margin: 0 5px;
}

.save-button {
    padding: 10px 0;
}

.hidden {
    display: none;
}

.tbox {
    position: absolute;
    display: none;
    padding: 14px 17px;
    z-index: 900
}

.tinner {
    padding: 15px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 2px 4px 27px #414040; /* Firefox */
    -webkit-box-shadow: 2px 4px 27px #414040; /* Safari, Chrome */
    box-shadow: 2px 4px 27px #414040; /* CSS3 */
    background: #fff;
}

.tmask {
    position: fixed;
    display: none;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: #000;
    z-index: 800
}

.tclose {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: url(/img/close.png) no-repeat
}

.tclose:hover {
    background-position: 0 -30px
}

.top-fixed {
    background-color: #1b1b1b;
    background-image: -moz-linear-gradient(top, #222222, #111111);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111));
    background-image: -webkit-linear-gradient(top, #222222, #111111);
    background-image: -o-linear-gradient(top, #222222, #111111);
    background-image: linear-gradient(to bottom, #222222, #111111);
    background-repeat: repeat-x;
    border-color: #252525;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 3000;
}
.top-fixed ul {
    margin: 0 20px;
    height: 50px;
}
.top-fixed ul li {
    list-style: none;
    float: left;
    height: 50px;
    color: #fff;
    line-height: 50px;
    display: block;
    height: 50px;
    line-height: 50px;
}
.top-fixed li a {

    color: #fff;
    padding: 0 20px;
}
.top-fixed a.current {
    font-weight: bold;
}

#content {
    padding: 60px 20px 20px 20px;
}

#modal-form {
    position: fixed;
    top: 50px;
    left: 0px;
    width: 100%;
    height: 600px;
    overflow: auto;
    background: #fff;
    display: none;
}

.filter {
    background: rgba(255,255,255,0.9);
    position: fixed;
    top: 50px;
    left: 0px;
    width: 100%;
    box-shadow: 0 0 10px #222;
}
.filter .wrapper {
    padding: 10px 10px 10px 250px;
    float: left;
}
.filter select {
    height: 25px;
    line-height: 25px;
    background: #fff;
    border: 1px #ddd solid;
    border-radius: 3px;
    float: left;
    margin: 0 10px 0 0;
    padding: 0;
    width: 200px
}
.filter select option {
    height: 25px;
    line-height: 25px;
}
.filter input {
    height: 25px;
    line-height: 25px;
    background: #222;
    border: 1px #222 solid;
    border-radius: 3px;
    color: #fff;
}

.popup-window {
    position: absolute;
    top: 90px;
    left: 50%;
    width: 800px;
    margin: 0 0 0 -400px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    border: 1px #ccc solid;
    z-index: 1000;
    overflow: hidden
}
.popup-window .popup-header {
    background: rgb(252,252,252); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(252,252,252,1) 0%, rgba(228,228,228,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(100%,rgba(228,228,228,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(252,252,252,1) 0%,rgba(228,228,228,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(252,252,252,1) 0%,rgba(228,228,228,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(252,252,252,1) 0%,rgba(228,228,228,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(252,252,252,1) 0%,rgba(228,228,228,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#e4e4e4',GradientType=0 ); /* IE6-9 */
    color: #222;
    text-shadow: 0 1px 0 #fff;
    font: bold 14px/40px Arial;
    height: 40px;
    border-bottom: 1px #ccc solid;
    padding: 0 10px;
    position: relative;
}
.popup-window .popup-close {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 40px;
    width: 40px;
    background: url(/admin/img/close.png) center center no-repeat;
    cursor: pointer;
}
.popup-window .popup-content {
    padding: 10px;
    font:12px/20px Arial;
    color:#333;
}
.popup-window h1{
    font:28px/22px Arial;
    color:#333;
    margin:0 0 10px 0;
    padding:0;
}
.popup-window h2{
    font:24px/22px Arial;
    color:#333;
    margin:0 0 10px 0;
    padding:0;
}
.popup-window h3{
    font:18px/22px Arial;
    color:#333;
    margin:0 0 10px 0;
    padding:0;
}
.popup-window h4{
    font:14px/22px Arial;
    color:#333;
    margin:0 0 10px 0;
    padding:0;
}
.popup-window fieldset{
    float:left;
    width:100%;
    padding:5px 0;
    border:none;
}
.popup-window fieldset label{
    display:block;
    padding:0 0 5px 0;
    font-weight:bold;
}
.popup-window fieldset .input{
    width:95%;
    display:block;
    border:1px #ddd solid;
    height:25px;
    line-height:25px;
    background:#fff;
    margin:0 0 5px 0;
    padding:0 10px;
    color:#333;
}
.popup-window form{
    float:left;
    width:100%;
}
.popup-window fieldset .submit{
    background: linear-gradient(#2DADDC,#0271BF) repeat scroll 0 0 transparent;
    border: 1px solid #1C7CDB;
    border-radius: 3px;
    box-shadow: 0 1px 1px #74BAFF inset;
    color: #FFF;
    cursor: pointer;
    float: left;
    padding:0 5px;
    width: auto;
    height:32px;
    line-height:32px;
}
.popup-window fieldset textarea.input{
    height:100px;
}
.popup-window .width50{
    width:50%;
}
.float-left{
    float:left;
}

.popup-bg {
    background: #000;
    opacity: 0.8;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 999;
}


/* tabs */
.tabs {
	background: #fff url(/admin/img/back.jpg) repeat-x scroll 0 0;
	border: 1px solid #DDD;
	border-radius: 10px;
	box-shadow: 0 0 3px #DDD inset;
	float: left;
	width: 100%;
	margin: 10px 0;
}
.tabs .tabs-header {
	float: left;
	height: 40px;
	line-height: 40px;
	position: relative;
	width: 100%;
	z-index: 10
}
.tabs .tabs-header ul {
	display: block;
	height: 40px;
	line-height: 40px;
	margin: 0 10px;
	padding: 0
}
.tabs .tabs-header ul li {
	cursor: pointer;
	float: left;
	font-weight: 700;
	height: 30px;
	line-height: 30px;
	list-style: none;
	margin: 6px 0 4px;
	padding: 0 10px
}
.tabs .tabs-header li.active {
	background: #EEE;
	border-bottom: 1px solid #FFF;
	border-radius: 5px;
	box-shadow: 0 0 3px #D4D4D4 inset
}
.tabs .tabs-header .tabs-actions {
	position: absolute;
	height: 35px;
	right: 0px;
	top: 0px;
	padding: 3px 5px;
}
.tabs .tabs-content {
	float: left;
	margin: 10px 0;
	width: 100%
}
.tabs .tabs-content h1, .tabs .tabs-content h2{
  padding: 0 10px;
}
.tabs .tabs-content-text {
	padding: 10px
}
.tabs-content-text:after {
  clear:both;
  display: table;
  content: ''
}
.tabs .tabs-header .actions {
	position: absolute;
	right: 5px;
	top: 5px
}


.tabs table{
	border:none;
	color:#333;
}
.tabs table th{
	background:#eee;
	padding:10px;
	color:#333;
	font-weight:bold;
	font-size:12px;
}
.tabs table td{
	padding:10px;
	color:#333;
	border-bottom:1px #ddd solid;
}


.notice {
    background: rgba(0,0,0,0.8);
    bottom: -300px;
    left: 50%;
    width: 300px;
    height: auto;
    margin: 0 0 0 -150px;
    color: #fff;
    text-shadow: 0 -1px 1px #000;
    font: 14px/22px Arial, Helvetica, sans-serif;
    text-align: center;
    padding: 10px;
    position: fixed;
    box-shadow: 0 5px 10px #222;
    z-index:999999;
}

.statistic-wrapper{
	width:480px;
    height:320px;
}
.statistic-wrapper-full{
	width:960px;
	height:480px;
}
.statistic-header{
    font:24px/25px Arial;
    color:#333;
    margin:20px 0 10px 0;
    padding:0;
}
.modern-table{
    border-top:1px #ccc solid;
    width:100%;
    font:12px/20px Arial, Helvetica, sans-serif;
	margin:40px 0 0 0;
}
.modern-table td,.modern-table th{
    border-bottom:1px #ccc solid;
    padding:10px;
    color:#333;
    font:12px/20px Arial, Helvetica, sans-serif;
	text-align:left;
}

.width-50-percent{
	width:50%;
}
.width-100-percent{
	width:100%;
}
.float-left{float:left;}

.counter{
	height:32px;
	line-height:32px;
	border:1px #ddd solid;
	border-radius:5px;
	background:#fff;
	float:left;
}
.counter .counter-left,.counter .counter-right{
	border-right:1px #ddd solid;
	width:20px;
	text-align:center;
	color:#000;
	font-weight:bold;
	font-size:14px;
	float:left;
	height:32px;
	line-height:32px;
	background:#eee;
	box-shadow:0 0 5px #ddd inset;
	cursor:pointer;
}
.counter .counter-right{
	border-left:1px #ddd solid;
	border-right:none;
}
.counter .counter-center{
	width:32px;
	text-align:center;
	height:32px;
	float:left;
	position:relative;
	overflow:hidden;
}
.counter .counter-center ul{
	width:64px;
	float:left;
	height:32px;
	margin:0;
	position:relative;
}
.counter .counter-center ul li{
	list-style:none;
	float:left;
	width:32px;
	background:#fff;
	text-align:center;
	color:#222;
	font:bold 14px/32px Arial;
}
.no-select {
	-webkit-user-select: none; /* Chrome all / Safari all */
	-moz-user-select: none; /* Firefox all */
	-ms-user-select: none; /* IE 10+ */
	/* No support for these yet, use at own risk */
	-o-user-select: none;
	user-select: none;
}

.add-new-product-form-popup{
	position:absolute;
	top:40px;
	width:700px;
	left:50%;
	margin:0 0 0 -350px;
	background:#fff;
	z-index:30000;
	box-shadow:0 0 10px #333;
}
.add-new-product-form{
	width:650px;
	margin:0 auto;
}
.add-new-product-form-search{
	width:100%;
	float:left;
	border:1px #ccc solid;
	height:24px;
	line-height:24px;
	background:#fff;
	margin:10px 0;
}
.add-new-product-form-search input{
	height:24px;
	border:none;
	line-height:24px;
	width:100%;
	display:block;
}

.add-new-product-results{margin:10px 0;}
.add-new-product-results ul{
	margin:0 10px;
}
.add-new-product-results li{
	list-style:none;
	width:100%;
	float:left;
	border-bottom:1px #ccc solid;
}
.add-new-product-results li.first-row{
	height:100px;
	line-height:100px;
	color:#ccc;
	text-align:center;
}
.add-new-product-to-order{
	height:32px;
	line-height:32px;
	padding:0 10px;
	cursor:pointer;
	color:#333;
	font:12px/32px Arial;
	margin:0 0 10px 0;
}

.wrapper-column{
	width:100%;
	float:left;
}

.autocomplete-w1 {

    position: absolute;
    top: 0px;
    left: 0px;
    margin: 8px 0 0 6px;
    z-index:2000;
}

.autocomplete {
    width: 600px !important;
    border: 1px solid #999;
    background: #FFF;
    cursor: default;
    text-align: left;
    max-height: 350px;
    overflow: auto;
    margin: -6px 6px 6px -6px;
}

.autocomplete .selected {

    background: #F0F0F0;
}

.autocomplete div {

    padding: 2px 5px;
    white-space: nowrap;
}

.autocomplete strong {

    font-weight: normal;
    color: #3399FF;
}
