body {
    position: relative;
    margin: 0;
    min-width: 980px;
}

* html body {
	height:100%;
}

h1 {
    margin: 10px 0;
    padding: 0;
    font-size: 20px;
    font-weight: normal;
    color: #555;
}

h2 {
    margin: 10px 0;
    padding: 0;
    font-size: 18px;
    font-weight: normal;
    color: #555;
}

iframe {
	border: 0;
}

a.lang-uk {
    padding-left: 20px;
    background: url(images/langs/uk.gif) no-repeat left center;
}

a.lang-ru {
    padding-left: 20px;
    background: url(images/langs/ru.gif) no-repeat left center;
}

a.lang-en {
    padding-left: 20px;
    background: url(images/langs/en.gif) no-repeat left center;
}

#body {
	position: relative;
}

#header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    min-width: 980px;
    z-index: 99;
}

#logo {
    position: absolute;
    z-index: 10;
    left: 14px;
    top: 3px;
    font-size: 12px;
    line-height: 13px;
    color: #fff;
}

#logo a {
	font-size: 11px;
    color: #fff;
    text-decoration: none;
}

#logo a:hover {
	text-decoration: underline;
}

#logo .debug {
	color: #f00;
}

#logo sup {
    padding-left: 2px;
    font-size: 9px;
    color: #ddd;
}

#header-langs {
    position: absolute;
    right: 10px;
    top: 10px;
}

#header-langs a,
#header-langs span {
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    outline: none;
}

#header-langs .uk {
    background: url(images/langs/uk.gif) no-repeat;
}

#header-langs .ru {
    background: url(images/langs/ru.gif) no-repeat;
}

#header-langs .en {
    background: url(images/langs/en.gif) no-repeat;
}

#header-langs .pl {
    background: url(images/langs/pl.gif) no-repeat;
}

#mainmenu {
	height: 35px;
	background-color: #1c5289;
}

#toolbar {
	height: 24px;
	background-color: #e9f5fa;
    overflow: overlay;
}

#toolbar ul {
	margin: 0;
	padding: 0 0 0 200px;
	list-style: none;
}

#toolbar li {
	float: left;
	padding: 2px;
}

#toolbar a {
	display: block;
	padding: 2px 8px;
	color: #0c4970;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
    transition: .3s ease-out;
}

#toolbar a:hover {
	background-color: #1c5289;
	color: #fff;
	border-radius: 4px;
}

#toolbar a span {
	padding: 0 4px;
	font-size: 11px;
	color: #fff;
	background: #a1cadb;
	border-radius: 3px;
}

#toolbar a:hover span {
	color: #296f9b;
	background: #e9f5fa;
}

#content #panel {
    border-right: 10px solid #184776;
    z-index: 1;
    left: -200px;
}

#content #panel:hover {
    left: 0px;
    border-right: 2px solid #184776;
}

#content.opened #panel{
    left: 0px;
    z-index: 0;
}

#content:not(.opened) #panel{
    left: -200px;
    z-index: 0;
}

#panel {
    position: fixed;
    top: 56px;
    left: 0;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    background: #184776;
    width: 5px;
    height: 100%;
    z-index: 100;
}


#panel.opened {
	width: 200px;
}

#panel-content {
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    background-color: #f0f9ff;
    width: 200px;
    height: 100%;
    text-align: left;
    min-height: 200px;
}

#panel-button {
	position: fixed;
	left: 24px;
	top: 36px;
	font-size: 11px;
	text-decoration: none;
	color: #9ebac6;
	border-bottom: 1px dotted #9ebac6;
    width: max-content;
    z-index: 100;
}

#panel-button:hover {
	border-bottom: none;
}

#content:not(.opened) span.closed {
    display: none;
}

#content.opened span.opened {
    display: none;
}

#main{
    padding: 55px 20px 80px 20px;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

#content.opened div#main {
    margin-left: 200px;
}

#note-box {
	position: absolute;
	top: 1px;
	right: 4px;
	z-index: 102;
}

#note-button {
	position: absolute;
	right: 70px;
	top: 2px;
	width: 24px;
	height: 24px;
	background: url(images/note.png) no-repeat;
	outline: none;
	cursor: pointer;
	z-index: 103;
}

#note {
	display: none;
	position: absolute;
	right: 20px;
	top: 30px;
	padding: 10px;
	width: 300px;
	background-color: #ffeb63;
	border: 1px solid #a63b01;
}

#note h3 {
	padding: 0;
	margin: 0 0 4px 0;
}

#note-text {
	max-height: 400px;
	overflow: auto;
}

#note-edit {
	padding-top: 4px;
	text-align: right;
}

#page-help-box {
    position: absolute;
    top: 1px;
    right: 4px;
    z-index: 102;
}

#page-help-button {
    position: absolute;
    right: 97px;
    top: 2px;
    width: 24px;
    height: 24px;
    background: url(images/page-help.png) no-repeat;
    outline: none;
    cursor: pointer;
    z-index: 103;
}

#page-help {
    display: none;
    position: absolute;
    right: 20px;
    top: 30px;
    padding: 10px;
    width: 300px;
    background-color: #ffeb63;
    border: 1px solid #a63b01;
}

#page-help h3 {
    padding: 0;
    margin: 0 0 4px 0;
}

#page-help-text {
    max-height: 400px;
    overflow: auto;
}

#page-help-edit {
    padding-top: 4px;
    text-align: right;
}

#site-box {
    position: absolute;
    top: 1px;
    right: 131px;
    z-index: 102;
}
#site-button {
    position: absolute;
    top: 7px;
    left: 16px;
    width: 20px;
    height: 20px;
    background: url(images/processing.gif) no-repeat;
    outline: none;
    cursor: pointer;
    z-index: 104;
}

#site-button.wait {
    background: url(images/processing.png) no-repeat;
}

#site-button.stopped {
    background: url(images/processing-stopped.png) no-repeat;
}

#site-button.hanging {
    background: url(images/processing-hanging.png) no-repeat;
}

#sited {
    display: none;
    position: absolute;
    right: -20px;
    top: 30px;
    padding: 10px 10px 10px 10px;
    background-color: #e0fbdb;
    border: 1px solid #99cccc;
    box-shadow: 0 0 3px #999;
}

.panel-menu ul {
    padding: 30px 0 0 0;
    margin: 0;
    list-style: none;
}

.panel-menu ul li.text {
	padding-left: 24px;
}

.panel-menu ul li input {
	float: left;
	position: relative;
	top: 2px;
	width: 20px;
}

.panel-menu h2 {
    margin: 8px 0;
    padding: 0;
    font-size: 16px;
    font-weight: normal;
    border-bottom: 1px solid #94b4d4;
    color: #527eaa;
}

.panel-menu ul li a {
    display: block;
    padding: 4px 0 4px 24px;
    border-bottom: 1px solid #dde7ee;
    text-decoration: none;
    color: #1c5289;
}

.panel-menu ul li.selected a {
    background-color: #fff;
    color: #000;
}

.panel-menu ul li a:hover,
.panel-menu ul li.selected a:hover {
    background-color: #fff;
    color: #000;
}

.panel-menu ul li a em {
    float: right;
    margin: 2px 10px 0 0;
    font-size: 10px;
    font-weight: bold;
    font-style: normal;
    color: #060;
}

.panel-menu ul li a:hover em {
    color: #fff;
}

.popup-menu {
	margin: 0;
	padding: 20px 0 0 10px;
	list-style: none;
}

.popup-menu li {
	margin: 6px 0;
}

.popup-menu li a {
    padding: 2px 0 2px 20px;
}

.qtip {
	font-size: 12px !important;
	line-height: 14px !important;
}

table.report th {
	text-align: right;
	font-weight: normal;
}

table.report td {
	width: 120px;
	padding: 2px 0;
	text-align: right;
	font-weight: bold;
	white-space: nowrap;
}

#preview-file {
	font-size: 11px;
    background-color: #ffffe4;
	border: solid #777 1px;
	height: 250px;
	padding: 10px;
	overflow: scroll;
}

.popup-form {
	padding: 10px;
}

.product-box {
    border: solid #eee 1px;
    display: box;
    position: relative;
    width: 130px;
    height: 160px;
    overflow: hidden;
}

.product-box.image {
    display: box;
    position: relative;
    width: 110px;
    height: 110px;
    padding: 10px 10px;
}

.product-box.name {
    display: box;
    position: relative;
    width: 130px;
    height: 30px;
}

.product-box.clear {
    display: box;
    height: 10px;
    width: 130px;
    padding: 0px 0px;
    border: 0;
}
