/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

hr.blue {
	height: 1px;
	border: none;
	background-color: #6b9cde;
	color: #6b9cde;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	margin: 0 auto;
	padding: 20px;
	font-size: 0.8em;
	color: #555;
}


nav {
	float: right;
	min-width: 180px;
	margin: 0 0 30px 10px;
	padding: 0;
	border: 1px solid #6b9cde;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background-color: #6b9cde;
}
nav a {
	color: #fff;
	text-decoration: none;
}
nav a.current, 
nav a:hover {
	color: #ffe48d;
}
nav ul {
	//margin-top: 10px;
	padding: 15px;
}
nav ul li {
	line-height: 30px;
}


h1 {
	margin: 0 0 15px 0;
	font-size: 1.5em;
	color: #6b9cde;
}

h1 span.family {
	text-transform: uppercase;
	color: #4a72a8;
}

h2 {
	font-size: 1em;
	font-weight: normal;
	color: #ff0000;
	margin: 0 0 10px 0;
} 
h3 {
	font-weight: normal;
	color: #6b9cde;
	margin: 0 0 15px 0;
	padding-bottom: 5px;
	border-bottom: 1px solid #6b9cde;
}
.excel h3 {
	color: #1d7044;
	border-bottom: 1px solid #1d7044;
}


ul, li {
	list-style: none;
	padding: 0;
	margin: 0;
}
ul.list-features li {
	margin-bottom: 10px;
}
/*
ul {
	margin-left: 1.5em;
}
*/
a.edit {
	color: #6b9cde;
	cursor: pointer;
	text-decoration: underline;
}
a.edit:hover {
	text-decoration: none;
}
#order-edit a {
	font-size: 12px;
	opacity: 0.4;
	filter: alpha(opacity=40);
}
#order-edit a:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}

.right {
    text-align: right;
}
.center {
    text-align: center;
}
span.mr {
	margin-right: 5px;
}

.result_label {
	margin: 10px 0;
	clear: left;
}
.result_label a {
	color: #6b9cde;
}
.result_label a:hover {
	text-decoration: none;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 1em;
}
table thead {
	background-color: #eaf2ff;
}
table, th, td {
    border: 1px solid #6b9cde;
}
/*
table#list-order-products, table#list-order-products th, table#list-order-products td {
    border: 1px solid #ff4010;
}
*/
table th {
	/* vertical position of floating element with Firefox (sort arrows)
	white-space: nowrap;
	*/
	white-space: normal;
}

table th, table td {
    padding: 2px 5px;
    vertical-align: top;
    text-align: left;
}
table tr.impair {
    background-color: #f9f9f9;
}
table tr.orders {
	opacity: 0.3;
	filter: alpha(opacity=30);
}

table tr td.cmd {
    background-color: #ffffca;
}
table tr.orders td.cmd {
	background-color: #008800;
}

table tr td.empty {
	background-color: #ffd4ca;
}
table tr.impair td.empty {
	background-color: #f0c6bd;
}
table tr td.attl {
	background-color: #eaf2ff;
}
/*
table .right {
    text-align: right;
}
table .center {
    text-align: center;
}
*/
table .list a {
	color: #6b9cde;
	text-decoration: none;
}
table.list a:hover {
	color: #555;
	text-decoration: none;
}
.light, 
table .light {
	color: #999;
	font-weight: normal;
	font-size: 0.8em;
}
table .arrow {
	float: right;
	margin-top: 5px;
	margin-bottom: 3px;
	width: 0; 
	height: 0; 
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
}
table .arrow.up {
	border-bottom: 6px solid #6b9cde;
}
table .arrow.down {
	border-top: 6px solid #6b9cde;
}
table .tbl.arrow.up {
	border-bottom: 6px solid #ffc100;
}
table .tbl.arrow.down {
	border-top: 6px solid #ffc100;
}
table .light .arrow {
	margin-top: 7px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
}
table .light .arrow.up {
	border-bottom: 5px solid #95b8e7;
}
table .light .arrow.down {
	border-top: 5px solid #95b8e7;
}
table .arrow:hover, 
table .tbl.arrow:hover {
	border-top-color: #555;
	border-bottom-color: #555;
}
table .light .arrow:hover {
	border-top-color: #999;
	border-bottom-color: #999;
}

table#list-companies tbody tr:hover, 
table#list-products tbody tr.list:hover, 
table#list-orders tbody tr.list:hover {
	cursor: pointer;
	background-color: #ffffcc;
}
table#list-order-products tbody tr.list td.del:hover {
	cursor: pointer;
	background-color: #ff0000;
}
table#list-order-products tbody tr.list td.checked {
	background-color: #ff0000;
}
table#list-products tbody tr.checked {
	background-color: #ffffcc;
}

table#list-products {
	table-layout: fixed;
}
table#header-fixed {
	table-layout: fixed;
	position: fixed;
	top: 0px;
	display: none;
	opacity: 0.9;
	filter: alpha(opacity=90);
}
table#header-fixed thead { 
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
}

#stock_prev {
	float: right;
	margin-top: 2px;
	font-size: 0.8em;
	color: #ffc100;
	cursor: pointer;
	text-decoration: underline;
}
#stock_prev:hover {
	text-decoration: none;
}
.stock_prev {
	display: none;
}
/*
th.visuel, 
td.visuel {
	display: none;
}
*/
/*
.status.green {
	color: #008800;
}
.status.red {
	color: #ff0000;
}
*/
.green {
	color: #008800;
}
.red {
	color: #ff0000 !important;
}
.gray {
	color: #999;
}
input.yellow {
	color: #ffc100;
}

.col-left {
	float: left;
	width: 240px;
}

#product .col-left {
	border: 1px solid #bcbcbc;
	border-radius: 3px;
	background-color: #f9f9f9;
	margin-right: 20px;
	margin-bottom: 20px;
	padding: 10px;
	min-height: 600px;
}
#product .col-main {
	padding: 10px;
}
#product .col-left .active {
	color: #ff4010;
}
#product .block.main .features {
	float: right;
	margin: 0 10px 10px 10px;
	padding: 10px;
	border: 1px solid #6b9cde;
	border-radius: 3px;
	background-color: #eaf2ff;
	font-size: 90%;
}
#product .block.main .description {
	min-width: 300px;
}
#product .block.main .big {
	font-size: 120%;
}
#product .block.main .light,
#product .block.zip .light {
	opacity: 0.5;
	filter: alpha(opacity=50);
}

#product .block.image a {
	position: relative;
	display: inline-block;
	margin-bottom: 20px;
}
#product .block.image a .caption {
	position: absolute;
	bottom: -20px;
	color: #777;
	font-size: 0.9em;
}

#product .block.image .preview {
	vertical-align: top;
	border: 1px solid #bcbcbc;
	margin-top: 5px;
}
#product .block.zip {
	float: left;
	border: 1px solid #bcbcbc;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background-color: #f9f9f9;
	margin-top: 20px;
	padding: 10px;
}

.admin .block {
	position: relative;
	padding: 15px;
	margin-bottom: 20px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #bcbcbc;
	background-color: #f9f9f9;
}
.admin .block.blue {
	border-color: #6b9cde;
	background-color: #eaf2ff;
}
.admin .block.excel {
	border-color: #1d7044;
	background-color: #e5fff1;
}
.admin .block.yellow {
	border-color: #ffe48d;
	background-color: #fffbea;
}
.admin th.yellow {
	background-color:#fffbea;
}
.admin.product .block, 
.admin.update-ddb .block {
	position: relative;
	//width: 624px;
	display: table;
}
.admin .block {
	float: left;
	margin-right: 20px;
}

.admin.product .block.images {
	//width: 634px;
	width: 79%;
}
.admin.product .block.images .image {
	margin: 0 5px 10px;
	vertical-align: top;
	display: inline-block;
	position: relative;
}
.admin.product .block.images .image.main {
	border: 1px solid #ff0000;
}
.admin.product .block.images .image.new.main {
	border-color: transparent;
}
.admin.product .block.images a {
	position: absolute;
	top: 2px;
	opacity: 0.7;
	filter: alpha(opacity=70);
}
.admin.product .block.images a:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}
.admin.product .block.images a.delete {
	right: 2px;
}
.admin.product .block.images a.replace {
	right: 20px;
}
.admin.product .block.images .div-upload {
	display: none;
	top: 30px;
}
.admin.product .block.images .image.new .div-upload {
	display: block;
}
.admin.product .block.images .div-upload a {
	top: 0;
}

/*
.admin.product .block.images img {
	margin: 0 5px;
	vertical-align: top;
}
*/

.admin.product .block.features label {
	width: 170px;
}
.admin.product .block.features input {
	width: 118px;
	margin: 5px 0;
}
.admin.product .block.features select {
	width: 130px;
}

.admin.product .block.buttons {
	padding-bottom: 20px;
	/*
	background-color: #fff999;
	*/
	background-color: transparent;
	border-color: transparent;
	text-align: center;
}
.admin.company .block.buttons {
	width: 370px;
}
.admin.orders .block.buttons {
	width: 259px;
}

.admin.product .textbox.combo {
	margin: 5px 0px;
}
.admin.product button {
	margin: 0 3px;
}

.admin .ddb_table_info, 
.admin .msg_error {
	margin: 10px 0 20px 0;
	padding: 10px;
	background-color: #95b8e7;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border-color: #6b9cde;
	color: #fff;
	max-width: 688px;
}
.admin.product .msg_error {
	width: 666px;
}
.admin .msg_error {
	background-color: #ee0000;
	border-color: #ee0000;
}
.admin .ddb_table_info a {
	color: #fff;
	cursor: pointer;
	text-decoration: underline;
}
.admin .ddb_table_info a:hover {
	text-decoration: none;
}
.admin #check-container {
	color: #ff0000;
}
.admin #check-container label {
	line-height: normal;
	height: auto;
	margin: 1px 0;
}
.msg_error a {
	color: #ffffff;
}
.msg_error a:hover {
	text-decoration: none;
}


fieldset {
	margin-bottom: 0px !important;
}
/*
fieldset#field-main {
	float: left;
	margin-right: 41px;
}
.admin.company fieldset#field-main {
	margin-right: 0;
}
fieldset#field-prices {
	float: left;
	margin-right: 165px;
}
*/
fieldset#field-description-short {
	clear: both;
}
.admin.product fieldset#field-status {
	position: absolute;
	bottom: 20px;
	right: 23px;
}

label {
	line-height: 24px;
	height: 24px;
	//padding: 0 5px;
	display: inline-block;
	margin: 5px 0;
}
label.jq {
	line-height: inherit;
	height: inherit;
	margin-top: 3px;
	padding: 0;
}
span.label {
	position: relative;
	top: 1px;
}

label.small {
	width: 70px;
}
label.medium {
	width: 140px;
}
/*
label.long {
	width: 200px;
}
*/

input {
	font-weight: normal;
}
input.textbox {
	line-height: 22px;
	height: 22px;
	padding: 0 5px;
}


.admin.product .block.prices input.textbox {
	width: 40px;
	margin-bottom: 10px;
}
.admin input {
	margin: 0;
}
.admin.company input {
	width: 200px;
}
.admin.company input.small {
	width: 50px;
}
.admin.company input.right {
	text-align: right;
}
.admin.company input[type="checkbox"] {
	width: 12px;
}

input[type="text"]:disabled, 
select:disabled, 
option:disabled {
	cursor: not-allowed;
	background-color: #f2f2f2 !important;
}

/* For Firefox */
.admin.orders input:-moz-read-only, 
.admin.orders option:-moz-read-only { 
    cursor: not-allowed;
	background-color: #f2f2f2 !important;
}
.admin.orders input:read-only, 
.admin.orders option:read-only { 
    cursor: not-allowed;
	background-color: #f2f2f2 !important;
}

select.textbox {
	margin: 0px !important;
	background-color: #ffffff;
	margin: 5px 0px !important;
}
select.textbox, 
select.textbox option {
	line-height: 24px;
	height: 24px;
	/* work only with Firefox (not Chrome)
	padding: 0 5px;
	*/
}
.datebox {
	line-height: 22px !important;
	height: 22px !important;
	padding: 0 2px !important;
	margin: 4px 0px !important;
}
textarea.textbox {
	padding: 2px 5px;
	white-space: normal;
	margin: 5px 0px;
}
textarea.textarea {
	margin: 0 20px 0 0;
	padding: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
input.textbox:focus, 
select.textbox:focus, 
select.textbox option:focus,
textarea.textbox:focus,
textarea.textarea {
	border-color: #6b9cde;
	-moz-box-shadow: 0 0 3px 0 #95b8e7;
	-webkit-box-shadow: 0 0 3px 0 #95b8e7;
	box-shadow: 0 0 3px 0 #95b8e7;
	outline: none !important;
}

.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
.inputfile + label {
	height: auto;
	margin: 0;
	max-width: 80%;
	/*font-size: 1.25rem;*/
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: pointer;
	display: inline-block;
	overflow: hidden;
	/*padding: 0.625rem 1.25rem;*/
	padding: 0 0.9rem 0.625rem 0;
	color: #777777;
}
.new .inputfile + label {
	color: #0c2772;
}
.main .inputfile + label {
	color: #ff0000;
}
.inputfile + label figure {
	/*
	width: 80px;
	height: 100px;
	*/
	width: 71px;
	height: 80px;
	background-color: #cccccc;
	display: block;
	position: relative;
	padding: 30px;
	margin: 0 auto 10px;
}
.new .inputfile + label figure {
	background-color: #bfc6ff;
}
.main .inputfile + label figure {
	background-color: #ff0000;
}
.inputfile + label figure::before {
	border-top: 20px solid #f9f9f9;
	border-left: 20px solid transparent;
}
.inputfile + label figure::after {
	border-bottom: 20px solid #999999;
	border-right: 20px solid transparent;
}
.new .inputfile + label figure::after {
	border-bottom: 20px solid #7e85bf;
}
.main .inputfile + label figure::after {
	border-bottom: 20px solid #b32424;
}
.inputfile + label figure::before, 
.inputfile + label figure::after {
	width: 0;
	height: 0;
	content: '';
	position: absolute;
	top: 0;
	right: 0;
}
.inputfile + label svg {
	width: 100%;
	height: 100%;
	fill: #ffffff;
}
.inputfile + label svg {
	vertical-align: middle;
	margin-top: -0.25em;
	margin-right: 0.25em;
}

.inputfile:focus + label,
.inputfile + label:hover {
    opacity: 0.5;
}
.inputfile:focus + label svg,
.inputfile + label:hover svg {
    fill: #000000;
}
/*
.inputfile:focus + label,
.inputfile + label:hover {
    background-color: red;
}
.inputfile + label {
	cursor: pointer;
}
.inputfile:focus + label {
	outline: 1px dotted #000;
	outline: -webkit-focus-ring-color auto 5px;
}
*/

button.easyui-linkbutton .l-btn-text {
	line-height: 22px;
}
button.easyui-linkbutton.bold .l-btn-text {
	font-weight: bold;
}


input[type="checkbox"].delete {
	margin-top: 11px;
}

input[type="text"].number {
	width: 40px !important;
	margin-top: 5px;
	padding-right: 25px;
	text-align: right;
}
#list-product .alloc {
	cursor: default;
}
input[type="text"].alloc {
	width: 20px !important;
	text-align: right;
	cursor: text !important;
}
input[type="text"].alloc.changed {
	color: #6b9cde;
}
input[type="text"].stock {
	width: 30px !important;
	text-align: right;
	cursor: pointer !important;
	border: none;
	background: transparent !important;
}

.spinner {
	position: relative;
	display: inline-block;
}
.spinner .fa {
	display: inline-block;
	//font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	border: 1px solid #95B8E7;
	width: 17px;
	height: 10px;
	position: absolute;
	right: 0;
	cursor: pointer;
	opacity: 0.5;
	filter: alpha(opacity=50);
}
.spinner .fa:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}
.spinner .fa-chevron-up {
	top: 5px;
	background: url('../easyui/themes/default/images/spinner_arrows.png') no-repeat 0px center;
	-moz-border-radius: 0px 5px 0px 0px;
	-webkit-border-radius: 0px 5px 0px 0px;
	border-radius: 0px 5px 0px 0px;
}
.spinner .fa-chevron-down {
	bottom: 0px;
	background: url('../easyui/themes/default/images/spinner_arrows.png') no-repeat -16px center;
		-moz-border-radius: 0px 0px 5px 0px;
	-webkit-border-radius: 0px 0px 5px 0px;
	border-radius: 0px 0px 5px 0px;
}


ul.pagination {
	margin: 10px 0;
}
ul.pagination li {
	display: inline-block;
	margin: 0 5px 0 0;
}

.pagination a {
	color: #999;
	float: left;
	padding: 3px 5px;
	text-align: center;
	text-decoration: none;
	border: 1px solid #95b8e7;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.pagination a:not(.next) {
	width: 15px;
}
.pagination a:hover:not(.active) {
	color: #555;
	border-color: #6b9cde;
	-moz-box-shadow: 0 0 3px 0 #95b8e7;
	-webkit-box-shadow: 0 0 3px 0 #95b8e7;
	box-shadow: 0 0 3px 0 #95b8e7;
	background-color: #f9f9f9;
}
.pagination a.active {
	color: #555;
	cursor: default;
	background-color: #ffe48d;
	border-color: #6b9cde;
}

th.easyui-tooltip {
	cursor: help;
}
sup.easyui-tooltip {
	cursor: help;
	color: #6b9cde;
}


/* Tooltip container */
.tooltip {
	position: relative;
	display: inline-block;
	border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
	visibility: hidden;
	/*
	width: 120px;
	*/
	background-color: black;
	color: #fff;
	text-align: center;
	padding: 5px 0;
	border-radius: 6px;
 
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
	visibility: visible;
}


#add_company, 
.del_company, 
#add_order, 
.del_order {
	color: #6b9cde;
	cursor: pointer;
	text-decoration: underline;
}
#add_company:hover, 
.del_company:hover,
#add_order:hover, 
.del_order:hover {
	text-decoration: none;
}

#html_companies_list, 
#html_orders_list {
	margin: 10px 0 0 5px;
	line-height: 20px;
}


#category-edit .panel {
	float: left;
}
#category-edit .form {
	float: left;
	margin-left: 20px;
}

#category-edit .category_target {
	color: #4a72a8;
}


#shipping_address_edit {
	cursor: pointer;
	color: #6b9cde;
	margin: 5px 0 10px 0;
	text-decoration: underline;
}
#shipping_address_edit:hover {
	text-decoration: none;
}
#window_close {
	cursor: pointer;
	color: #ffffff;
	margin: 5px 0 10px 0;
	text-decoration: underline;
}
#window_close:hover {
	text-decoration: none;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
.hidden {
    display: none !important;
    visibility: hidden;
}
*/
.hidden {
    display: none;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}