* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}
.hidden, .yes-print {
    display:none;
}
#page_container {

    min-width:1200px;
    height:100%;
}
@media screen and (mn-width: 768px) {
    #page_container {
        min-height: 1240px;
    }
}
html {

    height:100%;
}
body {

    font:Verdana, Georgia;
    font-size:16px;
    color:#333333;
    height:100%;
    min-height:100%;
}
a {

    color:#008dde;
    text-decoration:none;
}
img {
    border:0;
}
a:hover {
    text-decoration:underline;
}
h3 {
    color:#333;
    padding-top:12px;
}
td.clickable {

    color:#008dde;
    cursor:pointer;
    text-decoration:none;
}
td.clickable:hover {

    text-decoration:underline;
}
.text-muted {
    color:#aaa;
}
.text-primary {
    color: #F99500 !important;
}

.text-green {
    color: #00a046 !important;
}

.text-blue {
    color: #165abf !important;
}

.text-red {
    color: red !important;
}

.text-purple {
    color: #6e1ca7 !important;
}
*:focus {
    outline: none;
}
span.price {
  color: #00a046;
  font-weight: bold;
  font-size: 20px;
}
#languages {
    min-width:150px;
    text-align: center;
}
#languages span {
    float:left;
    display:block;
    margin-top:3px;
}
#languages a {

    margin-right:8px;
}
#dialog_background {

    width:101%;
    height:101%;
    position:fixed;
    background:url(../img/bg.png);
    z-index: 99;
}
#dialogbox {

    border:1px solid #999999;
    background-color:#fff;
    border-radius:9px;
    -moz-border-radius: 9px;
    left:50%;
    top:50%;
    padding:8px 24px 40px;
    position:absolute;
    overflow: auto;
    max-height: 650px;
}
#dialog_title {

    width:100%;
    font-size:22px;
    color:#333;
}
#dialog_content {

    padding-top:12px;
    width:100%;
}
#dialog_content input {
    min-width:250px;
}
#dialog_content .tablesorter input {
    min-width:0px !important;
}
#close_dialogbox {

    float:right;
    margin-bottom:16px;
    margin-right:-16px;
    padding:3px;
}
#messagebox {

    position:fixed;
    top:60px;
    left:50%;
    width:500px;
    margin-left:-250px;
    text-align:left;
    vertical-align:middle;
    color:#000;
    padding:8px;
    z-index: 3;
}
#messagebox.error {

    border:1px dashed #d13333;
    background-color:#ffeded;
}
#messagebox.done {

    border:1px dashed #3ec245;
    background-color:#e3ffe4;
}
#messagebox #msg_img {

    position:absolute;
    top:8px;
    left:8px;
    width:23px;
    height:18px;
}
#messagebox.error #msg_img {

    background:url(../img/messagebox/icon_error.png) no-repeat center;
}
#messagebox.done #msg_img {
    background:url(../img/messagebox/icon_done.png) no-repeat center;
}
#messagebox #msg_txt {
    padding-left:39px;
}
#login_form td {
    padding-top:6px;
}
#header_table td {

    padding:3px 20px;
    margin:2px 20px;
}
.select2-container--default .select2-selection--single {
    border:1px solid #999999 !important;
    background-color:#FFFFFF;
}
input, select, textarea {

    border:1px solid #999999;
    background-color:#FFFFFF;
    padding:6px;
    height:28px;
    width:180px;
    border-radius: 4px;
}
input.changed {
    border-color:#ffd973;
}
input.capitalize {
    text-transform:capitalize;
}
input.uppercase {
    text-transform:uppercase;
}
input::placeholder {
    text-transform:none;
}
input:disabled, select:disabled, textarea:disabled, button:disabled, .select2-container--default.select2-container--disabled .select2-selection--single {
    background-color:#ccc !important;
}
div.disabled {
    opacity: 0.2;
    pointer-events: none;
}
.small-visible {
    opacity: 0.5;
}
select {
    height:25px;
    width:188px;
}
button {
    white-space:nowrap;
    cursor:pointer;
    background-color: #f7941e;
    color: #fff;
    border: 0;
    font-weight: bold;
    padding: 8px 16px !important;
    border-radius: 6px;
}
button.red {
    background-color: red;
}
button.muted {
    background-color: #ccc;
    color: #fff;
}
button:hover {
    background-color: #000 !important;
    color: #fff !important;
}
button.big {
    font-size: 20px;
    padding: 25px;
}
button.medium {
    font-size: 15px;
    padding: 12px;
}
button.submit, button.green {
    background-color:#28a745;
}
button.grey {
    background-color:#ccc;
}
button.black {
    background-color:#000;
}
button.black:hover {
    background-color:#777 !important;
}
button.submitForm {
  min-width: 150px;
}
button.category {

    background:url(../img/cat_button.png) no-repeat top #fff;
    border:0px;
    width:162px;
    height:155px;
    text-align:center;
    float:left;
    margin:0 12px;
    font-size:18px;
    color:#333;
}
button.category:active {
    background:url(../img/cat_button.png) no-repeat bottom #fff;
}
button#close_dialogbox {
    padding: 4px 8px !important;
    background-color: #ccc;
    color:#777;
}
#login {

    height:550px;
    width:500px;
    position:absolute;
    left:50%;
    top:50%;
    margin-top:-375px;
    margin-left:-250px;
    text-align:center;
    overflow:hidden;
}
#login h1, #logo h1 {

    font-size:26px;
    color:#ec5222;
}
#header {

    width:100%;
    min-width:1050px;
    border-bottom:1px solid #BEBEBE;
    overflow:hidden;
    padding-bottom:12px;
    height:80px;
    background-color:#ebf1f5;
}
#logo {

    padding:0;
    margin:0;
    background-color:#ebf1f5;
    border-bottom:1px solid #BEBEBE;
    border-right:1px solid #BEBEBE;
    width:249px;
}
#sidebar {

    min-width:250px;
    float:left;
    height:100%;
    overflow:hidden;
    background-color:#f5f1eb;
}
#sidebar .menu_header {

    background-color:#333;
    color:#FFF;
    text-align:center;
    padding:10px;
    font-size:16px;
}
#sidebar ul {
    border-right:1px solid #BEBEBE;
}
#sidebar ul:last-child {
    height:100%;
}
#sidebar ul li {

    list-style:none;
    border-bottom:1px dashed #BEBEBE;
    text-align:left;
}
#sidebar ul li.shop span {
    border-left:1px dashed #BEBEBE;
    margin-left: 20px;
    border-bottom:1px dashed #BEBEBE;
}
#sidebar ul li.active {
    background-color: #ebf1f5;
}
#sidebar ul li:last-child, #sidebar ul li.shop {
    border-bottom:0px;
}
#sidebar ul li a {

    display:block;
    width:100%;
    text-decoration:none;
    color:#008dde;
    background:url(../img/disclosure.png) no-repeat right;
    background-size: 24px;
}
#sidebar ul li.shops a {
    background-image:url(../img/arrow_down.png);
}
#sidebar ul li.shop {
    display: none;
}
#sidebar ul ul.opened li.shops a {
    background-image:url(../img/arrow_up.png);
}
#sidebar ul ul.opened li.shop {
    display: block;
}
#sidebar ul li a:hover {

    background-color:#fff3d4;
    text-decoration:none;
}
#sidebar ul li a img {

    float:left;
    margin: 4px 8px 0;
    width: 30px;
}
#sidebar ul li a span {

    display:block;
    font-size:18px;
    padding:10px 0 10px 8px;
    position: relative;
}
#sidebar .menu-counter {
    position: absolute;
    background-color: #ccc;
    border-radius: 4px;
    padding: 0px 6px;
    right: 34px;
    top: 10px;
    color: #777;
}
#sidebar .menu-counter.notify {
    background-color: red;
    color: #fff;
}
#content {

    float:left;
    min-width:950px;
}
#footer {
    width:100%;
    font-size:13px;
}
#footer div {

    float:left;
    text-align:center;
    font-weight:normal;
    vertical-align:middle;
}
.tablesorter {

    /*font:Icon;*/
    font-size:14px;
    background:Window;
    color:WindowText;
}
.form-div {

    width:100%;
    background:Window;
    border:1px solid #BEBEBE;
    background-color:#efefef;
}
.tablesorter thead tr th, .tablesorter tfoot tr td {

    background-color:#d9d9d9;
    padding:4px;
    text-align:center;
}
.tablesorter tbody tr td {

    padding:2px 6px;
    background-color:#f7f7f7;
    border:0px;
    text-align:center;
}
.tablesorter tbody tr.in-progress td {
    background-color:#cfddf3;
}
.tablesorter tbody tr.completed td {
    background-color:#d9f3df;
}
.tablesorter tbody tr.completed td.blured {
    opacity: 0.2;
}
.tablesorter tr:hover td {
    background-color:#e7e7e7 !important;
}
.tablesorter tr td.selling-price {

    background-color:#d4ffd4 !important;
}
.tablesorter tr:hover td.selling-price {

    background-color:#befcbe !important;
}
.tablesorter tr td.photo {

    background-color:#fff !important;
}
.tablesorter tr:hover td.photo {

    background-color:#fff !important;
}
.tablesorter tr td input {
    width:100%;
}
.tablesorter tr td.move-amount input, .tablesorter tr td.move-case input {
    height:12px;
}
.tablesorter tr td input.number {
    margin-right:1px;
}
.tablesorter tbody tr td.case {

    text-align: center !important;
    vertical-align: middle !important;
}
.tablesorter tr:hover td .small-visible {
    opacity: 1.0;
}
.tablesorter tr.summary_row td, .tablesorter tr.summary_row:hover td {
    font-size:18px !important;
    background-color:#333 !important;
    color:#fff !important;
}
.tablesorter tr.summary_row.blue td, .tablesorter tr.summary_row.blue:hover td {
    background-color:#031e57 !important;
}
.tablesorter tr.summary_row.green td, .tablesorter tr.summary_row.green:hover td {
    background-color:#093f02 !important;
}
.head-selling-price, .foot-selling-price {
    background-color:#a6fda6 !important;
}
.top-sum {

    background-color:#f7f7f7;
    border:1px solid #BEBEBE;
    border-bottom:0;
    border-top:0;
    padding:4px;
    text-align:right;
    color:#BEBEBE;
}
.top-sum span {

    padding:0 8px;
    color:#000;
}
.sys_menu {

    width:100%;
    /*border:1px dashed #BEBEBE;*/
    padding:8px 0;
    overflow:hidden;
    /*background-color:#f5f1eb;*/
    margin-bottom:6px;
}
.buttons {

    float:right;
    padding-right:5px;
    padding-top:4px;
    white-space:nowrap;
}
.buttons a img {

    float:left;
    margin:0 6px;
}
.buttons a span {

    display:block;
    font-size:15px;
    padding-top:4px;
    padding-right:45px;
}
.form-div {
    border:1px solid #BEBEBE;
    border-top:0;
    padding:24px 0;
    background-color:#f7f7f7;
}
.form-div tr td:first-child {
    padding-right:6px;
}
.form-div td {
    padding:8px 0 3px;
}
.form-div input, textarea {
    width:100%;
}
.addform {
  width: 95%;
  margin: 0 auto;
  text-align: center;
}
.addform table {
  width: 45%;
  margin: 0 2.5%;
  float: left;
}
.addform table tr td:first-child {
  width: 20%;
  min-width: 180px;
}
.addform table tr td:last-child {
  margin-left: 5%;
}
.number {
    text-align: right !important;
    padding-right: 6px !important;
}
.text {
    text-align: left !important;
    padding-left: 6px !important;
}
.action, .photo, .indicator, .amount-info, .view-payments, .bill {
    padding:4px 4px 0 !important;
}
.action a {
    margin:0 8px;
}
.action a img {
    width: 20px;
}
.tab {

    min-width:90px;
    border:1px solid #BEBEBE;
    text-align:center;
    padding:7px 5px;
    background-color:#f5f1eb;
    cursor:pointer;
    font-size:15px;
    float:left;
    color:#008dde;
}
.tab:not(:first-child) {
    border-left:0 !important;
}
.tab:hover {

    background-color:#fff3d4;
}
.active-tab {

    background-color:#f7f7f7 !important;
    border-bottom:0 !important;
    margin-bottom:-1px !important;
    padding:8px !important;
    cursor:default !important;
    color:#000 !important;
}
#category_stock_tab.active-tab, #order_status_tab.active-tab {
    cursor:pointer !important;
}
#category_stock_tab.stock_tab, #order_status_tab.stock_tab {
    background-color:#ebf1f5 !important;
    cursor:default !important;
}
table.tablesorter thead tr .header {
	background-image: url(../img/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(../img/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(../img/desc.gif);
}
.row-bad-value {

    color:red;
    border:1px solid red !important;
}
.input-bad-value {

    border-color:red;
    background-color:#fff4f4;
}
div.img_editor {

    width:285px;
    padding:3px;
}
div.img_thumbnail {
    height:174px;
    width:252px;
    margin:0 auto;
    border:1px solid #999;
}
div.img_editor_menu {

    padding:3px;
    background-color:#fff;
    opacity:0.6;
    text-align:right;
    height:21px;
}
div.img_editor_menu a {
    float:right;
    padding:2px 6px 0;
}
.custom_msg {

    padding:6px;
    margin:0 auto;
    width:500px;
    text-align:center;
    margin-bottom:6px;
}
.custom_error {

    border:1px dashed #cb3f3f;
    background-color:#ffe2e2;
}
.custom_done {

    border:1px dashed #b4e397;
    background-color:#e4fcd5;
}
.img_thumb {

    position:absolute;
    z-index:999;
    left:-9999px;
    background-color:#dedede;
    padding:5px;
    border:1px solid #fff;
    display:none;
}
.div30days_amount {

    position:absolute;
    z-index:999;
    left:-9999px;
    background-color:#fff;
    padding:15px 25px;
    border:1px solid #bebebe;
    display:none;
    font-size:14px;
    font-weight:normal;
    text-align:center;
    min-width:70px;
}
.tablesorter tr:hover td .div30days_amount table td {

    background-color:#fff !important;
    color:#333;
    padding:1px 0 0 !important;
}
.green-text {
    color:#00ad18 !important;
}
.red-text {
    color:#ff0000 !important;
}
.blue-text {
    color:#0024ff !important;
}
.dark-red-text {
    color:#8d0e0e !important;
}
.smallgrey {

    color:#aaa !important;
    font-size:12px !important;
}
tr.marked_row td {
    border-bottom:1px solid #1f94e6 !important;
    border-top:1px solid #1f94e6 !important;
    background-color:#eff7fd !important;
}
tr.marked_row td:first-child {
    border-left:1px solid #1f94e6 !important;
}
tr.marked_row td:last-child {
    border-right:1px solid #1f94e6 !important;
}
#category_stock, #order_status {

    position:absolute;
    padding-top:7px;
    min-width:156px;
    list-style:none;
    margin-left:-9px;
    display:none;
    z-index: 2;
}
#category_stock li div, #order_status li div {

    border-top:1px dashed #BEBEBE;
    float:left;
    position:relative;
    margin:-1px 0 0;
}
#search_div {

    width:500px;
    margin:0 auto;
    margin-top:16px;
    color:#333;
}
.last-amount {

    color:#aaaaaa;
    cursor:help;
}
.thumbs-gallery {

    float:left;
    margin:6px;
    background:url(../img/inactive_thumb.png) no-repeat center;
    cursor:pointer;
    width:87px;
    height:115px;
}
.thumbs-gallery img {
    margin:4px;
}
.emp-selected {
    background:url(../img/selected_thumb.png) no-repeat center !important;
    cursor:default !important;
}
.first-row {
    background-color:#dee7ed !important;
}
.second-row {
    background-color:#edeade !important;
}
.green-row {
    background-color:#e4fcd5 !important;
}
.red-row {
    background-color:#fff4f4 !important;
}
.autocomplete_output {
    position:relative;
    top:4px;
    display:block;
}
#div_autocomplete {padding:5px;width:326px;text-align:left;background:#FFFFFF;border:1px solid #999999;border-radius:0px 0px 3px 3px;box-shadow:0px 1px 2px #AEAEAE;position:absolute;z-index:990;display:block;}
#div_autocomplete div.innerBlock {background:#FFFFFF;border-bottom:1px solid #AEAEAE;cursor:pointer;float:left;margin:0px -5px;padding:6px 6px;width:324px;display:block;}
#div_autocomplete div.innerBlock:hover {background:#eaf3ff;}
#div_autocomplete div.innerBlock:last-child {border-bottom:medium none currentColor;border-radius:0px 0px 5px 5px;margin-bottom:-5px;}
#div_autocomplete div.innerBlock:first-child {margin-top:-5px;}

.pictures {float: left;width:45%;margin:0 2.5%;}
.pictures .choseButton, .pictures .uploadedImage {display:block; float:left; overflow:hidden; width:117px; height:140px; background:transparent url(/control/img/addphoto-bg.png) no-repeat; background-size:117px 140px; text-align:center; color:#a1a1a1; margin:5px 5px 5px 25px;cursor:pointer;vertical-align:middle}
.pictures .tip {color:#6d6d6d; float:right; font-size:12px; width:265px}

.pictures .uploadedImage .imgBlock {width:100px; height:100px; margin:6px auto 0px 9px}
.pictures .uploadedImage .progressbar {width:103px; height:7px; overflow:hidden; margin:-10px 0 0 5px !important;position: absolute;}
.pictures .uploadedImage .actions {width: 108px;height: 27px;margin: 1px auto 0;}
.pictures .uploadedImage .actions .actionButton {cursor: pointer;width: 28px;height: 20px;float: left;background:transparent no-repeat;background-size:20px 20px;background-position: right;margin: 3px;border-left: 1px dashed #ccc;padding-left: 8px;opacity:0.5}
.pictures .uploadedImage .actions .actionButton:hover {opacity: 1.0}
.pictures .uploadedImage .actions .actionButton:first-child {border-left: 0}
.pictures .uploadedImage .actions .actionButton.rotate.cw {background-image:url(/control/img/ico/rotate-right.png)}
.pictures .uploadedImage .actions .actionButton.rotate.ccw {background-image:url(/control/img/ico/rotate-left.png)}
.pictures .uploadedImage .actions .actionButton.delete {background-image:url(/control/img/ico/delete.png)}

.pictures div {margin-top:0px}

.pictures .pause {color:#d1423b; text-decoration: underline; float:right; cursor:pointer; display: none}
.pictures .mainPictureRibbon {display: none;position:absolute;left:40px;top:37px;width:15px;height:31px;background:transparent url(/control/img/ico/main-pic.png) no-repeat;background-size:15px 31px}
#upload_warning {color:red; display: none; font-weight: bold;width:500px;text-align:center;margin:0 auto}
.pictures #statusText {display: none}
#total_progressbar {margin:5px 0px; height:7px; overflow: hidden; display: none}
.ui-progressbar {height:7px; line-height:7px; width:96%; margin:7px 0 0 12px !important}
.ui-progressbar-value {height:7px; line-height:7px; border:0px; border-radius:0px}
.ui-widget-header {border:0px !important; background:transparent url(/control/img/progress_back.gif) repeat !important;}
#total_progressbar .ui-widget-header {border:0px !important; background:transparent url(/control/img/progress_back_green.gif) repeat !important;}

img.desaturate, img.disabled {-webkit-filter: grayscale(100%);filter:gray;filter:grayscale(100%)}

.light-gray {color:#c2c2c2}

#error-msg, .error-msg {
	padding:6px;
	display:none;
	border:1px dashed #ffdfdf;
	background-color:#fff8f8;
	text-align:center;
	margin:24px 24px
}

#img_preview_div {
  padding: 4px;
  border: 1px solid #ccc;
  background: #fff url(/control/img/5.gif) no-repeat;
  background-position: center center;
  width: 200px;
  height: 200px;
}

#img_preview_div img {
  width: 198px;
  height: auto;
  margin: 0;
  left: 0;
  top: 0;
  position: absolute;
}

#button_print img {
  vertical-align: bottom;
}

.form-tabs {
    text-align: center;
    margin: 5px 0 15px;
}

.form-tabs a {
    margin: 0 25px;
    cursor:pointer;
    border-bottom: 1px dashed #008dde;
}

.form-tabs a:hover {
    text-decoration: none;
    border-bottom: 0;
}

.form-tabs a.active {
    font-weight: bold;
    color:#000;
    cursor:default;
    border-bottom: 0;
}

.langedit_row {
    display: none;
}
.langedit {
    display: none;
    background: url(/control/img/languages/ru.png) #fff no-repeat 98% center;
    background-size: 32px;
    padding-right: 40px;
}

.langedit.lang_ua {
    background-image: url(/control/img/languages/uk.png);
}

.langedit.lang_en {
    background-image: url(/control/img/languages/en.png);
}

.langedit.active, .langedit_row.active {
    display: block;
}
.documents {
    width: 90%;
    margin: 12px auto;
}
.documents img {
    width: 64px;
}
.documents td {
    cursor: pointer;
    padding: 6px;
}
.documents td:hover {
    -webkit-box-shadow: 0px 0px 15px -1px #000000;
    box-shadow: 0px 0px 15px -1px #000000;
}
.img-flag {
    width:50px;
    float: left;
    vertical-align: middle;
    margin-right: 8px;
}
.addform .select2-container {
    max-width: 425px;
}
