body {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	color: black;
}

* {
	outline: none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.activepol {color: #B466B5 !important;}

.gold_star { font-size: 200%; color: gold;  display:inline-block; margin: -5px 0px -5px 0px; padding: 1px; }
.help .gold_star { cursor: help; }
.gold_star.blank { color: #f0f0f0; }
.grey_zero { color: #f0f0f0; font-size: 200%; margin-right: -2px }
.grey_zero.selected span { color: #606080;  }
.grey_zero span { font-family: monospace; }  
.gold_star.selected, .grey_zero:hover span { color: orange; cursor: pointer; }

h1
{ font-size: 15px; margin: 0; padding: 8px 20px 8px 0; font-weight: 600; color: #B466B5;}

label {cursor: pointer;}
.wide {width: 100%;}
.half_block {width: 50%;}
.three_quarters_block {width: 75%; min-width: 800px; }
.clear {clear: both;}
.left {float: left;}
.right {float: right;}
.acenter { text-align: center !important; }
.aleft { text-align: left !important; }
.aright { text-align: right !important; }
.absolute { position: absolute; }
.relative { position: relative; }
.fixed { position: fixed; }

a {color: #444;}
a:hover {text-decoration: none;}

input[type="text"], input[type="password"], input[type="email"], textarea {
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
	padding: 2px;
}

input[type="radio"] {
	position: relative;
	top: 1px;
}

.btn {
	height: 26px;
	line-height: 26px;
	padding: 0 13px;
	cursor: pointer;
	border: 1px solid #AFAFAF;
	background: #f7f7f7; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #f7f7f7 0%,#dddddd 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */
	border-radius: 2px;
	display: inline-block;
	text-decoration: none;
}

.btn:hover {
	background: #cfcfcf; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #f7f7f7 0%,#cfcfcf 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#cfcfcf',GradientType=0 ); /* IE6-9 */
}

.btn.btn_ok {
	color: white;
    border: 1px solid #49864B;
	background: #6EB771; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #6EB771 0%,#529254  100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6EB771', endColorstr='#529254 ',GradientType=0 ); /* IE6-9 */
}

.btn.btn_ok:hover {
	background: #49864B; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #6EB771 0%,#49864B 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6EB771', endColorstr='#49864B',GradientType=0 ); /* IE6-9 */
}


.btn.btn_cancel {
	color: white;
    border: 1px solid #833A3A;
	background: #D26B6B; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #D26B6B 0%,#914141  100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#D26B6B', endColorstr='#914141 ',GradientType=0 ); /* IE6-9 */
}

.btn.btn_cancel:hover {
	background: #833A3A; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #D26B6B 0%,#833A3A 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#D26B6B', endColorstr='#833A3A',GradientType=0 ); /* IE6-9 */
}

.btn.btn_warning {
	color: white;
    border: 1px solid #BA7C25;
	background: #CE8929; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #CE8929 0%,#BA7C25 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#CE8929', endColorstr='#BA7C25',GradientType=0 ); /* IE6-9 */

}

.btn.btn_warning:hover {
	background: #CE8929; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #CE8929 0%,#A87221 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#CE8929', endColorstr='#A87221',GradientType=0 ); /* IE6-9 */

}


table {
	border-collapse: collapse;
}

.bottom_spacer {
	padding-bottom: 8px;
}

.menu {
	width: 100%;
	background: #eee;
	border-bottom: 1px solid #ddd;
	top: 0px;
}

.menu ul.top_level_menu {
	position: relative;
	bottom: -5px;
	list-style: none;
	margin: 0;
	padding: 5px;
	float: left;
}

.menu ul.top_level_menu li {
	float: left;
	position: relative;
    margin-right: 5px;
}

.menu ul.top_level_menu li a {
	display: block;
	padding: 3px 8px;
	color: #444;
	text-decoration: none;
}

.menu ul.top_level_menu li a:hover {
	color: black;
}

.menu ul.top_level_menu li:hover {
	background: #ddd;
}

.menu ul.top_level_menu li.active {
	background: #66AEB5;
}

.menu ul.top_level_menu li.active a {
	color: white;
}

.menu .user_login {
	float: right;
	padding: 0px;
	margin-top: 6px;
	margin-right: 10px;
}

.menu .menu-search {
	display: inline-block;
	margin-right: 10px;
}

.menu .menu-search .search {
	width: 180px;
	border: 1px solid #AFAFAF;
}

.menu ul.submenu {
	list-style: none;
	display: none;
	margin: 0;
	padding: 0;
	width: 100%;
	background: #66AEB5;
}

.menu ul.submenu.active {
	display: block;
}

.menu ul.submenu li {
	float: left;
}

.menu ul.submenu li a {
	display: block;
	padding: 5px;
    margin-right: 5px;
	color: white;
	text-decoration: none;
}

.menu ul.submenu li a:hover {
	text-decoration: underline;
}

.info_box {
	position: fixed;
	top: 45px;
	right: 45px;
	border-radius: 4px;
	z-index: 666;
	width: 350px;
	padding: 15px;
	box-shadow: 0 0 5px rgba(0,0,0,0.15);
}

.info_box.error {
	background: #cf0000;
	color: white;
}

.footer {
	border-top: 1px solid #ccc;
	margin: 0;
	padding: 0;
	text-align: center;
}


.block_1_of_4 {
	float: left;
	min-height: 25px;
	border-right: 1px dotted #dcdcdc;
}

.block_1 {
    width: 17%;
}

.block_2 {
    width: 40%;
}

.block_3 {
    width: 18%;
}

.block_4 {
    width: 25%;
}

.block_1_of_4 .in {
	padding: 0 6px;
}

.slat {
	position: fixed;
}

.container {
	padding: 0 3px;
}

.items_tree ul {
	list-style: none;
	padding: 0;
	line-height: 24px;
}

.items_tree ul span {
    font-weight: 300;
    padding: 0;
}



.items_tree ul:not(.root_category) {
	display: none;
	padding-left: 12px;
	margin-left: 6px;
	border-left: 1px dotted #ccc;
}

.open_tree {
	content: "+";
    border: 1px solid #ccc;
    display: inline-block;
    width: 13px;
    height: 13px;
    cursor: pointer;
    position: relative;
    top: 2px;
    margin-right: 0px;
}

.open_tree:before {
	content: "+";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 600;
	line-height: 11px;
	width: 100%;
	text-align: center;
	font-size: 12px;
}

.open_tree.opened:before {
	content: "-";
	line-height: 10px;
}

.items_tree ul > li.active > ul {
	display: block;
}

.items_tree ul.next_level > li {
	font-weight: 400;
	position: relative;
}

.items_tree ul.next_level > li:before {
	content: "";
	position: absolute;
	width: 10px;
	border-bottom: 1px dotted #ccc;
	top: 13px;
	margin-top: -1px;
	left: -18px;
}

.opener {
	border: 1px solid #ccc;
	display: inline-block;
	width: 13px;
	height: 13px;
	cursor: pointer;
	position: relative;
	top: 2px;
	margin-right: 0px;
}

.opener:before {
	content: "+";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 600;
	line-height: 11px;
	width: 100%;
	text-align: center;
	font-size: 12px;
}

.opener.opened:before {
	content: "-";
	line-height: 10px;
}

.search_input_content {
	position: relative;
	margin-left: 40px;
}

.category_tree_content {
	width: 300px;
	background: white;
	box-shadow: 0 0 3px rgba(0,0,0,0.3);
	z-index: 1010;
	padding: 10px;
	overflow-y: auto;
	display: none;
}

.category_tree_parent ul {
	border-left: none;
	margin: 10px 0px;
	padding: 0px;
	padding-left: 7px;
}

.category_tree_parent ul ul {
	margin: 2px 0px;
}

.category_tree_parent li {
	border-left: 1px dotted #bababa;
	margin: 0px;
	padding: 2px 0px;
	padding-left: 12px;
	list-style-type: none;
}

.category_tree_parent li.root_cat {
	border-width: 0px;
	padding-left: 0px;
}

.category_tree_parent li input.category {
	margin-left: 2px;
}

.category_tree_parent li input.category:checked + label.cat_title {
	font-weight: 800;
	color: #B466B5;
}

input.status_filter:checked + label, .src_product_name_col.selected, .product_name_col.selected a {
	font-weight: 800;
	color: #B466B5;
}

.category_tree_parent li .cat_title {
	cursor: pointer;
}

.category_tree_parent li .cat_title:hover {
	background-color: #f6f6f6;
}

.category_tree_parent li .cat_title.highlite {
	font-weight: 800;
	color: #4AAB5B !important;
}

.product_thumb {
	display: block;
}

table tr.inactive {
    background-color: #e0e0e0;
}

table tr.in_queue {
    background-color: #FDFDCC;
}

.src_product_holder {
	padding-bottom: 4px;
	margin-bottom: 8px;
	border-bottom: 1px solid #bababa;
}

.src_product_filter {
	position: relative;
	margin-left: 162px;
}

.src_product_filter_input {
	position: relative;
	margin-right: 150px;
}

.src_product_filter_input.without_reset {
	margin-right: 85px;
}

.assigned_categories, .gender_filters {
	padding: 1px 4px;
	display: inline-block;
	background: #f0f0f0;
	border: 1px solid #d0d0d0;
	margin: 1px 2px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 12px;
}

.assigned_categories:hover, .gender_filters:hover {
	background: white;
}

.product_list_table {
	border-color: #eee;
}

.product_list_table th {
	background: #eee;
}

.product_list_table td, .product_list_table th {
	text-align: left;
	padding: 2px 4px;
	border-bottom: 1px solid #ddd;
	vertical-align: top;
}

.product_list_table tr.assigned td.checkbox_col {
	background: #75BD75;
}

.product_list_table tr.unwanted td.checkbox_col {
	background: #CA2F2F;
}

.product_list_table tr.data_error td.checkbox_col {
    background: pink;
}

.product_list_table td:not(.product_list_img) {
	padding-top: 7px;
}


.product_list_table.vertical_middle td, .product_list_table.vertical_middle th {
	padding: 2px 4px !important;
	vertical-align: middle;
}


.src_product_variants {
	margin: 16px 0 8px;
	background: #efefef;
}

.src_product_variants td {
	vertical-align: middle;
	padding: 6px !important;
}

.src_product_assign {
	position: fixed;
	width: 100%;
	bottom: 0;
	left: 0;
	text-align: center;
	background: #eee;
	padding: 0px;
	z-index: 2;
	height: 26px;
}


/* ************************************************************************** pager */
.pager {
	background: #eee;
	border: 1px solid #ddd;
	margin-bottom: 6px;
	font-size: 12px;
}

.pager-in {
	padding: 6px;
}

.pager_left {
	float: left;
	width: 55%;
}

.pager_right {
	float: right;
	text-align: right;
	width: 45%;
	line-height: 25px;
}

.pager_left.half, .pager_right.half {
	width: 50%;
}

.pager a, .pager span.active {
    display: inline-block;
    padding: 4px 8px;
    background: white;
    border-radius: 2px;
    text-decoration: none;
}

.pager span.active {
	background: #66AEB5;
	color: white;
	font-weight: 800;
}

.pager a:hover {
	background: #fafafa;
}


/* ************************************************************************** login */
.login-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 325px;
    margin-left: -167px;
    margin-top: -150px;
}

.popup-header {
    background: #32434D;
    text-align: center;
    color: #fff;
    border-radius: 2px 2px 0 0;
    -webkit-border-radius: 2px 2px 0 0;
    -moz-border-radius: 2px 2px 0 0;
}

.text-semibold {
    font-weight: 600;
}

.popup-header > span {
    display: inline-block;
    margin: 11px 12px 12px 12px;
}

.well {
    padding: 15px;
    margin-bottom: 0;
    background-color: #FCFCFC;
    border: 1px solid #E5E5E5;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    box-shadow: none;
}

.has-feedback {
    position: relative;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
	font-weight: 600;
	margin-bottom: 5px;
	font-size: 12px;
	display: inline-block;
}

.well .form-group:first-child {
    margin-top: 5px;
}

.ui-selecting {
	background: #F8F8CD;
}

.src_product_thumb {
	position: absolute;
	background-color: white;
	width: 240px;
	display: none;
	top: -120px;
	right: 100%;
	box-shadow: 0 0 4px rgba(0,0,0,.4);
	z-index: 9999;
}

.src_product_thumb.reverse_thumb {
	right: auto;
	left: 100%;
	top: -100px;
}

.src_product_thumb img {
	max-height: 240px;
	max-width: 200px;
	display: block;
	margin: auto;
}

.src_product_thumb .prod_sizes {
	background: white;
	padding: 8px;
	text-align: center;
}


#buttons2 .btn {
	height: 24px;
	line-height: 24px;
	padding: 0 8px;
}

#buttons2 .btn.disabled {
	background-color: #ababab;
	linear-gradient(to bottom, #ababab 0%, #bababa 100%);
	color: #808080;
}

.product_err_label {
    background-color: #f0f0f0;
    display: inline-block;
    font-size: 10px;
    padding: 2px 4px;
    margin-left: 4px;
    white-space: nowrap;
    color: #585858;
    font-weight: normal;
}

#statuses { padding: 3px; margin-left: 8px; }
#statuses a {
	background-color: #f9f9f9;
	display: inline-block;
	min-width: 100px;
	padding: 4px 10px;
	text-align: center;
	border-radius: 3px;
	text-decoration: none;
    border: 1px solid #ccc;
}
#statuses a:hover { background-color: #eee; }
#statuses a.active { background-color: #66AEB5; color: white; border-color: #66AEB5; }

/* ************************************************************************** notice */

.notice-wrap { position: fixed; top: 20px; right: 20px; width: 300px; z-index: 9999; }
* html .notice-wrap { position: absolute;}
.notice-item { background: #333; box-shadow: 0 0 3px rgba(0,0,0,0.2); border-radius: 4px; color: #eee; line-height: 22px; padding: 20px; font-size: 14px; display: block; position: relative; margin: 0 0 12px 0; }
.notice-item p {margin: 0;}
.notice-item-close { position: absolute; font-size: 12px; font-weight: bold; right: 6px; top: 6px; cursor: pointer; }
.msg_success { background-color: #4CAB45; }
.msg_error { background-color: #CC4545; }

.TODO { background-color: #FB7878; border: 1px solid #aa0000; padding: 5px; }

/* prosim zpracovat */
a.src_product_ext_link { background-image: url('/static/ext_link.png'); display: inline-block; width: 10px; height: 10px; margin-left: 5px; }
.nonassigned_manufacturer { font-style: italic; }

.progress { position: relative; }
.progress .progress-bar { border-radius: 1px; float: left; height: 20px; }
.progress .progress-bar.progress-bar-success { background-color: #65B688; }
.progress .progress-bar.progress-bar-params { background-color: #932891; }
.progress .progress-bar.progress-bar-info { background-color: #50ABC2; }
.progress .progress-bar.progress-bar-danger { background-color: #D65C4F; }
.progress .progress-bar.progress-bar-primary { background-color: #546672; }


.activityStatsBlock {  }
.activityStatsBlock table { min-width: 800px; margin: 5px; }
.activityStatsBlock table td.pocet { width: 50px; }
.activityStatsBlock table td.aright, .activityStatsBlock table th.aright { padding-right: 8px; }

#page-menu { float: right; margin: 10px; }
#page-menu a { display: inline-block; margin: 0px 5px; }


.inspiration_item {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #dadada;
}

.color_admin_image_holder {
	float: left;
	width: 330px;
}

.color_admin_main_image {
	position: relative;
	min-width: 300px;
	min-height: 330px;
}

.color_admin_main_image img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid #ccc;
}

.color_admin_main_image .founded_colors {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 33px;
}

.color_admin_main_image .founded_colors div {
	width: 33px;
	height: 33px;
	border: 1px solid #ccc;
	margin-bottom: 2px;
}

.color_admin_main_image_switch {
	margin-top: 8px;
}

.color_admin_main_image_switch .image_item {
	width: 25%;
	float: left;
	cursor: pointer;
}

.color_admin_main_image_switch .image_item .in {
	padding: 5px;
	position: relative;
}

.color_admin_main_image_switch .image_item .founded_colors {
	width: 16px;
	position: absolute;
	top: 7px;
	left: 7px;
}

.color_admin_main_image_switch .image_item .founded_colors div {
	width: 16px;
	height: 16px;
	border: 1px solid #ccc;
}

.color_admin_main_image_switch .image_item img {
	max-width: 100%;
	height: auto;
	border: 1px solid #ccc;
	display: block;
}

.color_admin_main_image_switch.active img, .color_admin_main_image_switch:hover img {
	-moz-box-shadow: 0 0 0 4px #8ed48e;
	-webkit-box-shadow: 0 0 0 4px #8ed48e;
	box-shadow: 0 0 0 4px #8ed48e;
}

.color_admin_details {
	position: relative;
	margin-left: 345px;
}

.color_admin_details h1 {
	padding: 0 0 10px;
	font-size: 20px;
}

.color_admin_details h3 {
	margin-bottom: 6px;
}

.category_breadcrumbs span {
	position: relative;
	display: inline-block;
	padding-right: 20px;
}

.category_breadcrumbs span:not(.last):after {
	position: absolute;
	content: ">";
	right: 5px;
	top: 1px;
}

.category_breadcrumbs span.last {
	padding: 0;
}

.color_admin_detail_headline {
	position: relative;
	margin-right: 140px;
}

.report_product_color_admin {
	float: right;
	padding: 14px 24px;
	background: #cf0000;
	color: white;
	text-decoration: none;
	font-size: 16px;
}

.color_admin_items_block {
	margin-bottom: 20px;
	max-width: 700px;
}

.color_admin_items_block label {
	padding: 6px 12px 8px 6px;
	display: inline-block;
	margin: 6px 4px 0 0;
	white-space: nowrap;
	font-size: 13px;
}

.color_admin_items_block.small_items_block {
	max-width: 440px;
}

.color_admin_items_block.items_block_colors label {
	padding: 0;
	margin: 0 4px 6px;
}

.color_admin_items_block.items_block_textures label {
	width: 115px;
}

.color_admin_items_block.items_block_colors label.active {
	box-shadow: 0 0 0 4px #8ed48e;
	-moz-box-shadow: 0 0 0 4px #8ed48e;
	-webkit-box-shadow: 0 0 0 4px #8ed48e;
}

.color_admin_items_block.items_block_colors .colorBox {
	margin: 0;
}

.color_admin_items_block label.active {
	background: #b0f7b0;
}

.color_admin_items_block label.hidden_input {
	padding: 8px 12px;
}

.color_admin_items_block label.hidden_input input {
	display: none;
}

.color_admin_items_block input {
	position: relative;
	top: 2px;
}

.color_admin_another_images .image_content {
	float: left;
	width: 135px;
	min-height: 10px;
}

.color_admin_another_images .image_content .throw_img {
	display: block;
	width: 78px;
	background: #cf0000;
	margin: auto;
	padding: 8px 0;
	text-align: center;
	color: white;
}

.color_admin_another_images .image_content img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 1px solid #ccc;
}

.color_admin_another_images .colors_content {
	float: left;
	width: 440px;
	padding-left: 15px;
	min-height: 10px;
}

.color_admin_another_images .textures_content {
	float: left;
	width: 265px;
	padding-left: 15px;
	min-height: 10px;
}

.color_admin_another_images .view_content {
	float: left;
	width: 140px;
	padding-left: 15px;
	min-height: 10px;
}

.color_admin_another_images .view_content input[type=submit] {
	height: 50px;
	line-height: 50px;
	padding: 0 48px;
	background: #458C00;
	color: white;
	border: none;
	cursor: pointer;
}

.color_admin_same {
	background: #CCCCCC;
	padding: 8px 12px;
	color: black;
	width: 180px;
	cursor: pointer;
}

.color_admin_same img {
	max-height: 38px; 
	margin: 0px 11px 0px 0px; 
	float: left;	
}

.items_colors_background {
	font-size: 13px;
	font-weight: 600;
}

.items_colors_background label {
	margin: 0;
	font-weight: 400;
}

.items_linter {
	border-top: 1px solid #ccc;
	margin: 15px 0;
}

@media screen and (max-width: 1400px) {

	.color_admin_another_images .colors_content {
		width: 300px;
	}
}

@media screen and (max-width: 1250px) {

	.color_admin_another_images .textures_content {
		width: 155px;
	}
}


.assign_stats_table { 
    font-size: 11px; 
    background-color: white; 
    display: none; 
    min-width: 240px; 
    position: relative; 
    right: -2px; top: -12px;
}

.assign_stats_table td, .assign_stats_table th {
    padding: 2px 4px;	
}

.hidden {
	display: none;
}

.boxcolors { margin: 5px; }
.boxcolors span.bl { display: inline-block; margin: 2px 5px;}
.boxcolor { display: inline-block; width: 12px; height: 12px; background: orange; }
.boxcolor.dw { background: white; border: 1px solid #f0f0f0; }
.boxcolor.pr { background: gold; }
.boxcolor.dn { background: #75BD75; }
.boxcolor.sk { background: #75B9FF; }
.boxcolor.er { background: #D65C4F; }

#partner_detail .del_link, #account_detail .del_link {
	color: red;	
	cursor: pointer;
	font-weight: bold;
	padding: 1px 5px;
}


#partner_detail { }

#partner_detail #left_block, #partner_detail #right_block  {
	float: left;
	width: 50%;
	margin: 0px;
}

#partner_detail .block {
	background: #f0f0f0;
	margin: 1rem;
	padding: 0.8rem 1rem;
	border-radius: 3px;
	font-size: 100%;
}

#partner_detail .block h3 {
	border-bottom: 1px solid #e0e0e0;	
	padding-bottom: 2px;
	margin-top: 0;
}

#summary_block table, #bidding_block table {
	min-width: 250px;	
	margin-top: 0.5rem;	
}

table.fancytable {
	border: 1px solid #e0e0e0;
}

table.fancytable th {
	background: #e0e0e0;
	border-right: 1px solid #e0e0e0;
	padding: 4px;
}

#summary_block table td, #bidding_block table td, table.fancytable td {
	padding: 3px 4px;	
}

table.fancytable td {
	border-right: 1px solid #e0e0e0;
}

#bidding_block #global_bidding {
	margin: 1rem 0;
}

#accounts_block {

}

#payments_block {

}


#payments_block form {

}

#payments_block form input#add_payment {
	width: 6rem;
	padding-right: 10px;
	text-align: right;
}

#payments_block form select {
	height: 26px;
	width: 14rem;
	padding-left: 10px;
}

#partner_detail .spacer {
	margin-top: 1rem;
}

#partner_detail input.error {
	border-color: red;
	border-style: solid;
}


#partner_detail .del_link:hover, #account_detail .del_link:hover {	
	background: #f0e0e0;
}

#add_message_box { }
#add_message_box table { width: 100%; }
#add_message_box table td.save_td { width: 100px; text-align: center; }
#add_message_box textarea { width: 98%; min-height: 30px; height: 150px; padding: 5px; border-radius: 4px; resize: vertical; }

#messages  { overflow: auto; max-height: 800px; }
#messages .msg { background-color: #f0f0f0; margin: 15px 0px; border-radiusx: 5px; }
#messages .msg .msg_header { background-color: #e0e0e0; padding: 5px; border-top-left-radiusx: 5px; border-top-right-radiusx: 5px; }
#messages .msg .msg_header .msg_time { float: right; }
#messages .msg .msg_header .msg_type { font-weight: bold;  }
#messages .msg .msg_header .msg_author { font-weight: bold;  }
#messages .msg .msg_content { padding: 8px; clear: both; word-break: break-word; }
#messages .msg .msg_content a { color: #155494; }
#messages .msg .msg_footer { text-align: right; padding: 2px 12px 3px 12px; background-color: #e0e0e0; border-bottom-left-radiusx: 5px; border-bottom-right-radiusx: 5px;  }
#messages .msg .msg_footer a.delete_message, #messages .msg .msg_footer a.delete_notification { color: #b10000; cursor: pointer; }
#messages .msg .msg_footer a.delete_message:hover { text-decoration: underline; }
x#messages .msg.type1 .msg_header { background-color: orange; }
x#messages .msg.type2 .msg_header { background-color: blue; }
x#messages .msg.type3 .msg_header { background-color: green;  background: linear-gradient(to bottom, #0b8e0b 0%, #008000 100%);  }


#shop_css .form_table { width: 100%; }
#shop_css .form_table tr { border-bottom: 1px solid #cdcdcd; }
#shop_css .form_table tr:last-child { border-bottom: 0; }
#shop_css .form_table td { padding: 6px 0; }
#shop_css .form_table.table_campaigns { max-width: 65%; }
#shop_css .form_table.table_campaigns th { padding: 6px 6px 6px 3px; }
#shop_css .form_table.table_campaigns td { padding: 6px 9px 6px 3px; }

@media screen and (max-width: 1550px) {
	#shop_css .form_table.table_campaigns { max-width: 100%; }
}

#shop_css .itext { min-width: 300px; max-width: 500px; }
#shop_css .ext_link { display: inline-block; padding-right: 1rem; background: url('/static/ext_link.png') right no-repeat; }
#shop_css .read_only { border-width: 1px; }
#shop_css .read_only:read-only { background-color: #ddd; }

#shop_css input[type=number] { text-align: right; }

#shop_css .css_block { margin-bottom: 1.5rem; }
#shop_css .css_shop_block { background: #f8f8f8; margin: 0.5rem 0; padding: 0.3rem 0.8rem; border-radius: 5px; }

#shop_css .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px;}

#shop_css .css_info { display: flex; padding-left: 0; list-style: none; }
#shop_css .css_info li { margin-right: 1.5rem; }

#shop_css .semafor_inline { position: relative; }
#shop_css .semafor_inline::before { content:''; position: absolute; left: 3px; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: #dba848; }
#shop_css .semafor_inline.css_status_1::before { background: #50A541; }
#shop_css .semafor_inline.css_status_-1::before { background: #cf0000; }

/* semafor play symbol */
.table_css_status .chosen-single.po::after,
.table_css_status .chosen-single.ne::after,
#shop_css .semafor_inline.export_run::after,
.semafor_inline.export_run::after,
.semafor .export_run::after {
	content: '';
	position: absolute;
	left: 8px;
	top: 5px;
	width: 0;
	height: 0;
	border-left: 6px solid white;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
}
.table_css_status .chosen-single.po::after,
.table_css_status .chosen-single.ne::after {
	left: 8px;
	top: 8px;
}
.semafor .export_run::after {
	left: 5px;
	top: 3px;
}

#shop_css #cboxClose { top: 10px; }
#shop_css #cboxLoadedContent { overflow: hidden !important; }
#shop_css .shop_css { height: calc(100% - 36px); margin: 0 12px; }
#shop_css .ui-widget { height: 100%; font-family: inherit;	font-size: inherit;	}
#shop_css .ui-tabs .ui-tabs-panel { height: calc(100% - 36px); overflow: auto; }

#shop_css .tabs-history, #shop_css .tabs-timeline { background-color: #f8f8f8 !important; }

#shop_css .css_history_table .action_log_row .action_log_item { 
	position: relative;
	width: 100%;
	border: 1px solid #bbb;
	border-radius: 4px;
	padding: 15px;
	display: block;
	background-color: #fff;
	margin: 0.5rem;
}

#shop_css .css_history_table .action_log_row .action_log_item:after {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 10px 15px 10px 0;
	border-color: transparent #ffffff;
	display: block;
	width: 0;
	z-index: 1;
	margin-top: -10px;
	left: -15px;
	top: 50%;
}
#shop_css .css_history_table .action_log_row .action_log_item:before {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 10px 15px 10px 0;
	border-color: transparent #bbbbbb;
	display: block;
	width: 0;
	z-index: 0;
	margin-top: -10px;
	left: -16px;
	top: 50%;
}

#shop_css .css_history_table .action_log_row .action_log_item.msg_log_item { 
	padding: 0;
}

#shop_css .css_history_table .action_log_row .action_log_item.msg_log_item:after {
	border-color: transparent #f0f0f0;
}
	
#shop_css .css_history_table .history_time { width: 140px; position: relative; }
#shop_css .css_history_table .history_time::after { 
	content: " ";
	display: block;
	position: absolute;
	width: 9px;
	height: 9px;
	right: 20px;
	top: 50%;
	margin-top: -5px;
	border: 1px solid rgb(153, 153, 153);
	border-radius: 100%;
	background: #f8f8f8;
}
#shop_css .css_history_table tr:first-child .history_time:before { 
	top: 50%;
}
#shop_css .css_history_table tr:last-child .history_time:before { 
	bottom: 50%;
}
#shop_css .css_history_table .history_time { 
	padding-bottom: 0.8rem;
	text-align: right;
	padding-right: 3rem;
}
#shop_css .css_history_table .history_user { 
	color: #999;
}
#shop_css .css_history_table .history_time::before { 
	content: " ";
	display: block;
	position: absolute;
	width: 0px;
	border-right: 1px solid rgb(153, 153, 153);
	inset: 0px 25px 0px auto;
}

#shop_css .action_log_item .action_item { display: flex; }
#shop_css .action_log_item .action_item .action { flex-basis: 80%; }
#shop_css .action_log_item .action_item .data { display: flex; min-width: 170px; justify-content: space-evenly; align-items: flex-end; }
#shop_css .action_log_item .action_item .data.one_item { display: block; min-width: 210px; text-align: right; margin-right: 1rem; }
#shop_css .action_log_item .action_item .data .old_val { color: #bbb; }
#shop_css .action_log_item .action_item .data .new_val { font-size: 115%; font-weight: 700; }
#shop_css .action_log_item .action_item:not(:last-child) { margin-bottom: 0.8rem; }
	
#shop_css .bid_preview { padding-left: 0.6rem; }

#shop_css .bid_default { padding-left: 0.6rem; }

#shop_css .tabs-messages .css_block {
	width: 70%;
}

#shop_css #messages .msg { margin: 0; }

#shop_css #loader { 
	height: 100%;
	width: 100%;
	position: absolute;
	align-items: center;
	background-color: rgba(255,255,255,0.7); 
}

#shop_css a.css_start_indexation { margin-left: 1.5rem; text-decoration: none; cursor: pointer; }
#shop_css a.css_start_indexation img { margin-bottom: -2px; }
#shop_css .status_bar { margin-left: 1.5rem; }

#shop_css .graph_interval, .graph_step { min-width: 65px; }
#shop_css .graph_interval.selected, .graph_step.selected { font-weight: bold; }

#shop_css #add_message_box { margin-bottom: 1rem; }
#shop_css #add_message_box textarea { width: 100%; }

/* shop_css - vyloucena klicova slova */
#shop_css .select_filter { height: 26px; margin-right: 8px; font-size: 13px; font-family: Arial, Helvetica, sans-serif; }
#shop_css .keyword-text { min-width: 200px; margin-right: 8px; font-size: 13px; font-family: inherit;}

.nkw-form-wrapper { margin-bottom: 1rem; }
.nkw-form-wrapper form { display: flex; }

.nkw_item { padding: 5px 8px; margin: 5px; margin-left: 0; border-radius: 4px; border: 0px solid #999; background: #ddd; display: inline-flex; align-items: center; line-height: 1; }
.nkw_item .del_nkw { display: flex; justify-content: center; color: red; cursor: pointer; font-size: 20px; font-weight: bold; margin-left: 7px; width: 20px; height: 20px; border-radius: 10px; }
.nkw_item .del_nkw:hover { color: #b80000; background-color: #c0c0c0; }

/* ************************************************************************** tables sticky header + row hover bg color */
table tr:hover td {
	background-color: #f0f0f0;
}

table.tablesorter tbody td {
	vertical-align: middle;
}

table.tablesorter thead tr th,
table.sticky_head thead tr th {
	position: sticky;
	top: -1px;
	z-index: 1009;
	background-color: #fff;
}
table.tablesorter thead tr:nth-child(2n) th {
	position: sticky;
	top: 19px;
}

/* th background */
.th_gray thead th {
	background-color: #eee;
}