.clear
{
	clear: both;
}
#sofa-builder-container
{
	position: relative;
	clear: both;
	margin: 20px 0;
}
#sofa-builder-holder
{
	float: left;
	margin-left: 20px;
}
.sofa-builder-subparts
{
/*	overflow: hidden;*/
}
.sofa-builder-sideparts
{
	clear: both;
	position: relative;
	width: 100%;
}
.sofa-builder-subparts.left
{
	float: left;
	position: relative;
}
.sofa-builder-subparts.center
{
	position: relative;
	z-index: 9999;
}
.sofa-builder-subparts.right
{
	float: right;
	position: relative;
}
.sofa-builder-subparts ul
{
	float: left;
}
.sofa-builder-subparts.center li
{
	float: left;
}
li .overlay
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.remove-part
{
	text-indent: 0;
	position: absolute;
	top: 2px;
	left: 2px;
	width: 10px;
	height: 10px;
	font-weight: bold;
	line-height: 9px !important;
	cursor: pointer;
	font-size: 10px;
	z-index: 9999;
	background: red;
	color: #000;
	padding: 2px;
	-moz-border-radius: 5px;
}
#sofa-builder-store ul
{
	width: 700px;
	height: 150px;
	oveflow: hidden;
}
#sofa-builder-store ul
{
	padding: 5px;
}
#sofa-builder-store li
{
	float: left;
	background: #eee;
	text-align: center;
	position: relative;
	overflow: hidden;
	margin: 5px;

}
#sofa-builder-store li.title
{
	font-weight: bold;
}


.sofa-builder-subparts li
{
	background: #eee;
	line-height: 85px;
	text-align: center;
	position: relative;
	overflow: hidden;
	text-indent: -300px;
}
.sofa-builder-subparts li .desc
{
	display: none;
}










.center .divan-left, .center .divan-right, .center .divan
{
	height: 180px;
	width: 100px;
	margin-bottom: -80px;
}
.left .divan-left, .left .divan-right
{
	height: 100px;
	width: 180px;
	margin-right: -80px;
}
.right .divan-left, .right .divan-right
{
	height: 100px;
	width: 180px;
	margin-left: -80px;
}

.center .divan-open-left, .center .divan-open-right, .center .divan-open
{
	width: 130px;
	height: 160px;
	margin-bottom: -70px;
}
.right .divan-open-right, .right .divan-open-left, .left .divan-open-left, .left .divan-open-right
{
	height: 130px;
	width: 160px;
	margin-right: -60px;
}
.right .divan-open-right
{
	margin-left: -60px;
}

.center .cushion, .center .cushion-otto
{
	height: 100px;
	width: 80px;
}
.right .cushion, .left .cushion, .right .cushion-otto, .left .cushion-otto
{
	height: 80px;
	width: 100px;
}
.center .corner-left, .center .corner-right
{
	height: 100px;
	width: 100px;
}
.left .corner-right, .right .corner-right, .left .corner-left, .right .corner-left
{
	height: 100px;
	width: 100px;
}
.ui-sortable-helper
{
	margin: 0 !important;
}


#themes
{
	margin: 10px;
}
#themes li
{
	cursor: pointer;
}




/* Overlays */
.sofa-builder-subparts li
{
}

.center .divan-left .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/divan-center-left.png) no-repeat;
}
.center .divan-right .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/divan-center-right.png) no-repeat;
}
.center .divan-open-left .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/divan-open-center-left.png) no-repeat;
}
.center .divan-open-right .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/divan-open-center-right.png) no-repeat;
}
.center .cushion .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/cushion-center.png) no-repeat;
}
.center .corner-left .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/corner-left.png) no-repeat;
}
.center .corner-right .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/corner-right.png) no-repeat;
}

.left .divan-left .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/divan-left-left.png) no-repeat;
}
.left .divan-right .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/divan-left-right.png) no-repeat;
}
.left .divan-open-left .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/divan-open-left-left.png) no-repeat;
}
.left .divan-open-right .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/divan-open-left-right.png) no-repeat;
}
.left .cushion .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/cushion-left.png) no-repeat;
}
.left .corner-left .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/corner-left-left.png) no-repeat;
}
.left .corner-right .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/corner-left-right.png) no-repeat;
}

.right .divan-left .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/divan-right-left.png) no-repeat;
}
.right .divan-right .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/divan-right-right.png) no-repeat top right;
}
.right .divan-open-left .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/divan-open-right-left.png) no-repeat;
}
.right .divan-open-right .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/divan-open-right-right.png) no-repeat top right;
}
.right .cushion .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/cushion-right.png) no-repeat;
}
.right .corner-left .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/corner-right-left.png) no-repeat;
}
.right .corner-right .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images/corner-right-right.png) no-repeat;
}


/*
* Store overlays
*/
#sofa-builder-store .sofa-builder-subparts li
{
	background: url(/wp-content/themes/thehome/images/pattern.png) no-repeat;
}

#sofa-builder-store .divan-left .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images-thumb/divan-center-left.png) no-repeat;
}
#sofa-builder-store .divan-right .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images-thumb/divan-center-right.png) no-repeat;
}
#sofa-builder-store .divan-open-left .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images-thumb/divan-open-center-left.png) no-repeat;
}
#sofa-builder-store .divan-open-right .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images-thumb/divan-open-center-right.png) no-repeat;
}
#sofa-builder-store .cushion .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images-thumb/cushion-center.png) no-repeat;
}
#sofa-builder-store .cushion-otto .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images-thumb/cushion-center-otto.png) no-repeat;
}
#sofa-builder-store .cushion-otto-flipped .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images-thumb/cushion-center-otto-flipped.png) no-repeat;
}
#sofa-builder-store .corner-left .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images-thumb/corner-left.png) no-repeat;
}
#sofa-builder-store .corner-right .overlay
{
	background: url(/wp-content/themes/thehome/images/base-images-thumb/corner-right.png) no-repeat;
}


#sofa-builder-store li
{
	background: #eee;
	text-align: center;
	position: relative;
	overflow: hidden;
}
#sofa-builder-store li .desc
{
	font-size:9px;
	color: #888 !important;
}
.cushion .desc
{
	padding:32px 0 0 0;
}
.corner-left .desc
{
	padding:32px 0 0 14px;
}
.divan-left .desc
{
	padding:32px 0 0 14px;
}
.divan-open-left .desc
{
	padding:34px 10px 0 9px;
}
.cushion-otto .desc
{
	padding:32px 0 0 2px;
}
#sofa-builder-store .divan-left, #sofa-builder-store .divan-right
{
	height: 107px;
	width: 72px;
	margin-bottom: -71px;
}
#sofa-builder-store .divan-open-left, #sofa-builder-store .divan-open-right
{
	width: 91px;
	height: 87px;
	margin-bottom: -71px;
}

#sofa-builder-store .cushion, #sofa-builder-store .cushion-otto
{
	height: 59px;
	width: 47px;
}
#sofa-builder-store .cushion-otto-flipped
{
	width: 59px;
	height: 47px;
}
#sofa-builder-store .corner-left, #sofa-builder-store .corner-right
{
	height: 59px;
	width: 59px;
}

/* Themes */

.theme-0 .sofa-builder-subparts li, #sofa-sidebar .theme-0
{
	background: url(/wp-content/themes/thehome/images/themes/0.jpg);
}
.theme-1 .sofa-builder-subparts li, #sofa-sidebar .theme-1
{
	background: url(/wp-content/themes/thehome/images/themes/1.jpg);
}
.theme-2 .sofa-builder-subparts li, #sofa-sidebar .theme-2
{
	background: url(/wp-content/themes/thehome/images/themes/2.jpg);
}
.theme-3 .sofa-builder-subparts li, #sofa-sidebar .theme-3
{
	background: url(/wp-content/themes/thehome/images/themes/3.jpg);
}
.theme-4 .sofa-builder-subparts li, #sofa-sidebar .theme-4
{
	background: url(/wp-content/themes/thehome/images/themes/4.jpg);
}
.theme-5 .sofa-builder-subparts li, #sofa-sidebar .theme-5
{
	background: url(/wp-content/themes/thehome/images/themes/5.jpg);
}




#sofa-builder-store-template
{
	display: none;
}
.center ul.empty
{
	border: 1px dashed #aaa;
	padding: 40px 80px;
}
.empty
{
	display: none;
	border: 1px dashed #aaa;
	padding: 40px;
	z-index: 9999;
	opacity: 0.5;
	-moz-opacity: 0.5;
	filter:alpha(opacity=50);
	background: #fff;
	position: relative;
}
.place-hover
{
	padding: 20px  50px !important;
	border: 1px dashed #aaa;
}
#sofa-builder-store .place-hover
{
	padding: 0px !important;
	border: 0px dashed #aaa;
	background: transparent;
}
.sofa-temp
{
	border: 1px solid #aaa;
	width: 85px;
	height: 85px;
	background: #eee !important;
	border: #ddd 1px solid;
	text-indent: 0 !important;
	margin: 5px !important;
}
.sofa-temp.error
{
	background: url(/wp-content/themes/thehome/images/error-position.jpg) center center no-repeat !important;
}
.sofa-title
{
	font-weight: bold;
	font-size: 25px;
	margin: 15px 0 -20px;
}
.sofa-build-title
{
	margin: 0 0 20px -20px;
	font-weight: bold;
	font-size: 25px;
}
#sofa-builder-container .sofa-build-title
{
	margin: 0 0 20px 0px;
}
#sofa-sidebar
{

}
#sofa-sidebar .price
{
	font-size: 28px;
	white-space: nowrap;
	font-weight: bold;
	margin: -5px 0 10px;
	border: 0;
}
#sofa-sidebar .sub-title
{
	margin: 10px 0 0px;
	font-weight: bold;
	font-size: 12px;
	border: 0;
}
#sofa-sidebar .patterns ul
{
	overflow: hidden;
}
#sofa-sidebar .patterns ul li
{
	min-width: 0px !important;
	clear: none !important;
	width: 30px !important;
	height: 30px !important;
	border: 1px solid #eee;
	float: left !important;
	margin: 7px !important;
	cursor: pointer;
}
#sofa-preview-image
{
	max-width: 100%;
	clear: both;
	display: none;
	border: 0 !important;
	background: #fff !important;
	margin: 40px 0 0;
}

#sofa-width
{
	display: none;
	border-bottom: 2px solid #000;
	position: relative;
	left: 20px;
	top: -5px;
	margin: 0 0 10px;
}
#sofa-width span
{
	position: absolute;
	left: 50%;
	background: #fff;
	padding: 0 10px;
	top: -5px;
	margin-left: -20px;
}
#sofa-height
{
	display: none;
	border-right: 2px solid #000;
	position: absolute;
	top: 220px;
	left: 0px;
}
#sofa-height span
{
	position: absolute;
	top: 50%;
	background: #fff;
	padding: 10px 0;
	margin-top: -20px;
	left: 50%;
	margin-left: -20px;
	display: block;
}

.ie .sofa-builder-subparts *
{
	line-height: 0 !important;
	float: left;
}
.ie .sofa-builder-subparts.left
{
	float: left;
}
.ie .sofa-builder-subparts.right
{
	float: none;
}
.ie .sofa-builder-subparts.right, .ie .sofa-builder-subparts.left
{
	width: 87px;
}
.ie #sofa-builder-holder
{
	display: inline;
}

.sofa-info-error
{
	margin: 60px 0 0;
	width: 700px;
	height: 300px;
	font-size: 30px;
	font-weight: bold;
	text-align: center;
	position: absolute;
	z-index: 99;
}
#sofa-sidebar p
{
	padding: 0 10px 10px;
}
#site-side-content #magnify-large
{
	width: auto;
	float: left !important;
	margin: 0 10px 0 0;
}
#sofa-description
{
	float: right;
	position: relative;
	top: -40px;
	width: 290px;
	margin: 0 0 -30px;
}
#sofa-description h2
{
	font-size: 18px;
	font-weight: bold;
	margin: 0 0 5px;
}
#sofa-description ol
{
	list-style: disc inside;
	font-size: 11px;
	font-weight: bold;
	border: 1px solid #ddd;
	-moz-border-radius: 10px;
	padding: 10px;
}
#sofa-description ol li
{
	padding: 5px 0 !important;
	margin: 0!important;
}
#sofa-description strong
{
	color: red;
}
.under-divan
{
	margin-top: 80px;
}
.under-divan-large
{
	margin-top: 60px;
}
.right
{
	float: right;
}