/* Category tree */
.category-tree .clear {
	clear: left;
}

.shop-products-wrap .icon-wrap {
	background-color: #f0f0ee;
	border: 1px solid #c0c0c0;
	float: left;
	margin-right: 0.5em;
	padding: 0px;
}

#main .shop-products-wrap.shop-products-wrap-loading {
	background: transparent url("../../images/admin/throbber.gif") center center no-repeat;
	height: 100px;
}

#main .shop-products-wrap.shop-products-wrap-loading * {
	display: none;
}

#main ul.category-tree,
#main ul.category-tree ul {
	list-style-type: none;
}

#main ul.category-tree {
	clear: left;
	padding-left: 0;
}

#main ul.category-tree ul {
	padding-left: 28px;
}

#main ul.category-tree li,
#main ul.category-tree ul li {
	padding-top: 1em;
}



#main ul.category-tree li.cat-sorting,
#main ul.category-tree ul li.cat-sorting {
	background-color: #f0f0ee;
	border: 1px solid #c0c0c0;
	opacity: 0.7;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	padding: 4px;
}

#main ul.category-tree .cat-drag-placeholder {
	background-color: #eef0ee;
	border: 1px solid #b0d0b0;
	height: 8px;
	margin-top: 1em;
}

.shop-products-wrap .cat-expansion-toggle-active,
.shop-products-wrap .cat-expansion-toggle {
background-color: transparent;
border-color: transparent;
}

.shop-products-wrap .cat-expansion-toggle-active:hover {
	background-color: #f0f0ee;
	border: 1px solid #c0c0c0;
}

.shop-products-wrap .icon-wrap:hover {
	background-color: transparent;
}

/* Not-yet-activated fancy javascript buttons */
.shop-products-wrap .cat-grab-handle,
.shop-products-wrap .cat-expansion-toggle,
.shop-products-wrap .category-adopt-button {
	opacity: 0.2;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
}

/* Activated fancy javascript buttons */
.shop-products-wrap .cat-expansion-toggle-active,
.shop-products-wrap .cat-grab-handle-active,
.shop-products-wrap .category-adopt-button-active {
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.shop-products-wrap .category-top-level-controls .category-adopt-button {
	display: none;
}

.shop-products-wrap .cat-expansion-toggle-active {
	cursor: pointer;
}

.shop-products-wrap .cat-grab-handle-active {
	cursor: n-resize;
}

.shop-products-wrap .category-adopt-button-active {
	cursor: pointer;
}

.category-tree .cat-title {
	float: left;
	margin-right: 1em;
	margin-left: 0.5em;
	padding-top: 3px;
	line-height: 10px;
}

.category-tree .cat-title a {
text-decoration: none;
}

.category-tree .cat-title.cat-visible {
	font-weight: bold;
}


.category-tree .cat-controls ul {
	clear: left;
}

.category-tree .cat-controls.cat-controls-closed ul {
	display: none;
}

.category-tree .cat-actions .icon-wrap {
	display: none;
}
.category-tree .cat-actions .icon-wrap.show-anyways,
.category-tree li:hover > .cat-controls > .cat-actions .icon-wrap {
	display: inline;
}

.cat-adopt-notice {
	position: fixed;
	left: 25%;
	top: 0;
	width: 50%;
	
	border: 1px solid #c0c0c0;
	
	background: #fafaf9 url("../../images/admin/caution-tape.png") left top repeat;
	border: 1px solid #f2752b;
	
	border-top-width: 0;
	-moz-border-radius-bottomleft: 10px;
	-webkit-border-bottom-left-radius: 10px;
	border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
	padding: 10px;
}

.cat-adopt-notice p.text {
	margin-bottom: 0.5em;
	text-align: center;
}

.cat-adopt-notice p.cancel {
	text-align: right;
}


/* Products AND Categories */

.category-tree .section-title {
	clear: left;
	display: block;
}

.category-tree .cat-controls.cat-controls-closed .section-title {
	display: none;
}


/* Products */

.category-tree .prod-title {
	float: left;
	margin-right: 1em;
	margin-left: 0.5em;
	padding-top: 3px;
	line-height: 10px;
}
.category-tree .prod-title.prod-visible {
	font-weight: bold;
}

.category-tree .cat-controls.cat-controls-closed ul.prods {
	display: none;
}

.shop-products-wrap .prod-grab-handle-active {
	cursor: n-resize;
}

#main ul.category-tree .prod-drag-placeholder {
	background-color: #eef0ee;
	border: 1px solid #b0d0b0;
	height: 8px;
	margin-top: 1em;
}


/* Collections */

.category-tree .coll-title {
	float: left;
	margin-right: 1em;
	margin-left: 0.5em;
	padding-top: 3px;
	line-height: 10px;
}
.category-tree .coll-title.coll-visible {
	font-weight: bold;
}

.category-tree .cat-controls.cat-controls-closed ul.colls {
	display: none;
}

.shop-products-wrap .coll-grab-handle-active {
	cursor: n-resize;
}

#main ul.category-tree .coll-drag-placeholder {
	background-color: #eef0ee;
	border: 1px solid #b0d0b0;
	height: 8px;
	margin-top: 1em;
}


/* Attributes Tab */

#tabs-attributes .break {
	clear: left;
	height: 1px;
	overflow: hidden;
}

#tabs-attributes .icon-wrap {
	background-color: #f0f0ee;
	border: 1px solid #c0c0c0;
	cursor: pointer;
	margin-right: 4px;
	padding: 3px;
}

#tabs-attributes .icon-wrap:hover {
	background-color: #fafaf9;
}

#tabs-attributes .drag-handle {
	cursor: n-resize;
}

#tabs-attributes input.saving {
	background: transparent url("../../images/admin/throbber.gif") right center no-repeat;
}

#tabs-attributes input.saved {
	background-color: #f0fff0;
}

#tabs-attributes .tiny-label {
	color: #a0a0a0;
	font-size: 7pt;
	text-transform: lowercase;
}

#tabs-attributes .attributes {
	list-style-type: none;
}

#tabs-attributes .attribute {
	clear: left;
	margin-top: 1.5em;
}

#tabs-attributes .attribute > .label,
#tabs-attributes .attribute > .required,
#tabs-attributes .attribute > .remove-attribute {
	float: left;
}

#tabs-attributes .ui-button-text-only .ui-button-text {
	font-size: 9pt;
	padding: 3px 6px;
}

#tabs-attributes .attribute > .drag-handle {
	margin-right: 8px;
}

#tabs-attributes .attribute > .label .tiny-label {
	display: block;
}

#tabs-attributes .attribute > .label {
	margin-right: 8px;
}

#tabs-attributes .attribute > .label input {
	border: 1px solid #c0c0c0;
	font-size: 13px;
	line-height: 1.2;
	padding: 3px;
	width: 250px;
}

#tabs-attributes .attribute > .remove-attribute {
	margin-left: 8px;
}

#tabs-attributes .attribute-config {
	clear: left;
	padding-top: 1px;
	padding-left: 2em;
}

#tabs-attributes .attribute-options {
	list-style-type: none;
}

#tabs-attributes .attribute-option {
	margin-top: 0.75em;
}

#tabs-attributes .attribute-option input[type='text'] {
	border: 1px solid #a0a0a0;
}

#tabs-attributes .attribute-option .tiny-label {
	display: block;
}

#tabs-attributes .attribute-option > .drag-handle,
#tabs-attributes .attribute-option > .name,
#tabs-attributes .attribute-option > .price_difference,
#tabs-attributes .attribute-option > .remove-option {
	float: left;
	margin-right: 4px;
}

#tabs-attributes .attribute-option .icon-wrap,
#tabs-attributes .add-option .icon-wrap {
	padding: 1px;
}

#tabs-attributes .attribute-config .add-option {
	margin-left: 24px;
	margin-top: 0.75em;
	overflow: auto;
	padding-bottom: 1px;
}

#tabs-attributes .attribute-config .add-option .tiny-label,
#tabs-attributes .attribute-config .add-option input,
#tabs-attributes .attribute-config .add-option .add-option-button {
	float: left;
}

#tabs-attributes .attribute-config .add-option input {
	border: 1px dashed #a0a0a0;
	margin-right: 4px;
}

#tabs-attributes .attribute-config .add-option .tiny-label {
	clear: left;
}

#tabs-attributes .add-attribute {
	margin-top: 1.5em;
}


/* Category Tree 2.0 */

/* Not-yet-activated fancy javascript buttons */
.shop-categories-wrap .grab-handle,
.shop-categories-wrap .cat-expansion-toggle,
.shop-categories-wrap .adopt-button,
.shop-categories-wrap .toggle-featured {
	opacity: 0.2;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
}

/* Activated fancy javascript buttons */
.shop-categories-wrap .grab-handle-active,
.shop-categories-wrap .cat-expansion-toggle-active,
.shop-categories-wrap .adopt-button-active,
.shop-categories-wrap .toggle-featured-active {
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.shop-categories-wrap .adopt-button-active.up-for-adoption {
	cursor: auto;
	opacity: 0.2;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
}

.category-tree2 .cat-expansion-toggle-active {
	cursor: pointer;
}

.category-tree2 .grab-handle-active {
	cursor: n-resize;
}

.category-tree2 .drag-placeholder {
	background-color: #eef0ee;
	border: 1px solid #b0d0b0;
	height: 16px;
}

.category-tree2 .clear {
	clear: left;
}

.shop-categories-wrap .adopt-notice {
	position: fixed;
	left: 25%;
	top: 0;
	width: 50%;
	
	background: #fafaf9 url("../../images/admin/caution-tape.png") left top repeat;
	border: 1px solid #f2752b;
	border-top-width: 0;
	-moz-border-radius-bottomleft: 10px;
	-webkit-border-bottom-left-radius: 10px;
	border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
	display: none;
	padding: 10px;
}
.shop-categories-wrap.adopting .adopt-notice {
	display: block;
}

.shop-categories-wrap .adopt-notice p.text {
	margin-bottom: 0.5em;
	text-align: center;
}

.shop-categories-wrap .adopt-notice p.cancel {
	text-align: right;
}

.shop-categories-wrap .icon-wrap {
	background-color: #f0f0ee;
	border: 1px solid #c0c0c0;
	float: left;
	/* margin-right: 0.5em; */
	margin-right: 8px;
	padding: 0px;
}
.shop-categories-wrap .icon-wrap:hover {
	background-color: transparent;
}

.shop-categories-wrap .category-top-level-controls .top-level-adopt-target {
	opacity: 0.2;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
}
.shop-categories-wrap .category-top-level-controls .top-level-adopt-target.top-level-adopt-target-active {
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

#main ul.category-tree2,
#main ul.category-tree2 ul {
	list-style-type: none;
}

#main ul.category-tree2 {
	clear: left;
	padding-left: 0;
}

#main ul.category-tree2 ul {
	padding-left: 28px;
	padding-left: 0;
}

/*
#main ul.category-tree2 li,
#main ul.category-tree2 ul li {
	padding-top: 1em;
}
*/
#main ul.category-tree2 > li,
#main ul.category-tree2 .subcats > li,
ul.category-tree2 .subcats > .drag-placeholder {
	padding-top: 1em;
}

ul.category-tree2 .subcats > .drag-placeholder {
}

/* Hide controls until hovered */
/*
.category-tree2 li > .cat-controls .cat-title ~ * {
	display: none;
}
.category-tree2 li:hover > .cat-controls .cat-title ~ * {
	display: block;
}
*/

.category-tree2 .cat-controls .icon-wrap,
.category-tree2 .cat-controls .cat-title {
	float: left;
}

.category-tree2 .cat-controls .cat-title {
	/* margin-right: 0.5em; */
	margin-right: 8px;
}

.category-tree2 .cat-controls .cat-expansion-toggle-active {
	cursor: pointer;
}

.category-tree2 .cat-controls .category-adopt-button-active {
	cursor: pointer;
}

.category-tree2 .cat-content {
	padding-left: 26px;
}

.category-tree2 .cat-closed > .cat-content {
	display: none;
}

.category-tree2 .cat-content .cat-subitem-tabs {
	margin-top: 0.5em;
}

.category-tree2 .ui-widget-header {
	background-color: transparent;
	background-image: none;
}

.category-tree2 .ui-tabs {
	border-width: 0;
	padding: 0;
}

#main .category-tree2 .ui-tabs-nav {
	padding: 0;
}

.category-tree2 .ui-tabs-panel {
	border: 1px solid #999;
	border-top-width: 0;
}

.category-tree2 .cat-subitem-tabs .collections > li,
.category-tree2 .cat-subitem-tabs .products > li,
.category-tree2 .cat-subitem-tabs .drag-placeholder {
	margin-bottom: 1em;
}

.category-tree2 .cat-subitem-tabs .drag-placeholder {
}

.category-tree2 .coll-controls .icon-wrap,
.category-tree2 .coll-controls .coll-title,
.category-tree2 .prod-controls .icon-wrap,
.category-tree2 .prod-controls .prod-title {
	float: left;
}

.category-tree2 .coll-controls .coll-title,
.category-tree2 .prod-controls .prod-title {
	/* margin-right: 0.5em; */
	margin-right: 8px;
}

/* Hide controls until hovered */
/*
.category-tree2 .cat-subitem-tabs li > .coll-controls .coll-title ~ *,
.category-tree2 .cat-subitem-tabs li > .prod-controls .prod-title ~ * {
	display: none;
}
.category-tree2 .cat-subitem-tabs li:hover > .coll-controls .coll-title ~ *,
.category-tree2 .cat-subitem-tabs li:hover > .prod-controls .prod-title ~ * {
	display: block;
}
*/

.category-tree2 .product-is-featured .prod-controls .toggle-featured-active {
	background: #69d2fe url("../../images/admin/a4d6f1_1x50.png") center center repeat-x;
}
