/* @override http://surya.hdev.coptix.com/static/css/site.css */

/* ------------------------------------------------------------
   HTML tags
   ------------------------------------------------------------*/

html {
    background:rgb(255,255,255);
    color:rgb(92,91,91);
    overflow-y: scroll;
    
}

h1 {
    margin-top:0;
    padding:0;
}

a {
    color:rgb(68,68,68);
    text-decoration:none;
}

a:hover {
    color:rgb(164,122,19);
}

td {
    padding:0;
    border:0;
}

/* ------------------------------------------------------------
   heroshots
   ------------------------------------------------------------ */

div.heroshot {}

    div.heroshot a {
	display: block;
    }

div.heroshot-crossfade-True {
    position: relative; top: 0; left: 0;
}

    td.hero_right div.heroshot {
        width:338px;
        height:252px;
    }
    td.hero_right div.heroshot-crossfade-True {
    }
    
    td.hero_right div.heroshot-nav {
        display:none;
    }
    
    div.heroshot-crossfade-True a, div.heroshot-crossfade-True img {
	display: block;
	display: none;
	position: absolute; top: 0; left: 0;
	z-index: 10;
    }

    	div.heroshot-crossfade-True .first-item, div.heroshot-crossfade-True a img {
	    display: block;
	}

    div.heroshot-crossfade-True div.heroshot-nav {
	position: absolute; bottom: 0; right: 0;
	z-index: 20;
    }

    	div.heroshot-crossfade-True div.heroshot-nav a {
	    display: inline;
	    position: static; top: auto; left: auto;
	}

/* ------------------------------------------------------------
   base.html
   ------------------------------------------------------------ */

#doc3 { margin: auto; min-width: 960px; }

    .wrapper {
	margin: auto;
	min-width: 960px;
    width: 960px;

    }

#hd {
    background: rgb(72,76,79);
}

    #hd a {
	color: rgb(255,255,255);
    }

    #hd h2 {
	margin:0;
    }

    #hd ul.nav {
	margin:0;
	padding:0;
    }

    	#hd ul.nav li {
	    list-style: none;
	    float: left;
	    margin-right: 2em;
	    text-transform: uppercase;
	}

    	    #hd ul.nav li a {
		display: block;
	    }


    div#accounts_welcome {
        position:absolute;
        top:15px;
        right:0px;
        line-height:1.1;
        color:#333;
        font-weight:bold;
        font-size:11px;
    }
        div#accounts_welcome a {
            display:inline;
            color:#333;
        	text-decoration: underline;
        }
        
    div#facebook_like {
        position: absolute;
        top:8px;
        right:0px;
		height: 30px;
    }

    #hd #upper_hd {
	height:100px;
	line-height:100px;
	border-bottom:1px solid rgb(255,255,255);
	background:rgb(170,134,50) url(i/new_header.png) repeat-x;
    }

    	#upper_hd a {
	    display: block;
	}
	    #top_nav {
	        position:relative;
	        width:100%;
	        height:100px;
	    }

    	#top_nav h2 a {
	    float: left;
	    display: block;
	    position: relative;
	    background:url(i/new_surya_logo.png) 0 0 no-repeat;
	    width:153px;
	    height:97px;
	    text-indent:-9999px;
	}

	#top_nav ul.nav {
        position:absolute;
        bottom:20px;
        right:0;
	    font-size: 11px;
	}

	    #top_nav ul.nav li { 
	        margin: 0; 
	        height:21px;
	        overflow:hidden;
	        position:relative;
	        float:left;
	        }
	    #top_nav ul.nav li a { 
	        float:left;
	        height: 42px; 
	        text-indent: -9999px; 
	        margin: 0;
	        background:url(i/new-nav-bg.png) 0 0 no-repeat;
	        }
	    
	    #top_nav ul.nav li a:hover {
	        margin-top:-21px;
	    }

	    #top_nav ul.nav li.home a { 
	        width:56px; 
	        }
	    
	    #top_nav ul.nav li.about-surya a { 
	        width:109px; 
	        background-position:-56px 0;
	        }
	        
	    #top_nav ul.nav li.designers a { 
	        width:90px;
	        background-position:-165px 0;
	        margin-left:10px;
	        }

	    #top_nav ul.nav li.markets a { 
	        width:188px;
	        background-position:-255px 0;
	        }
	        
	    #top_nav ul.nav li.account a { 
	        width:105px; 
	        background-position:-588px 0;
	        margin-left:10px;
	        
	        }
	        
	    #top_nav ul.nav li.sign_in a { 
	        width:72px; 
	        background-position:-443px 0;
	        margin-left:10px;
	        }

	    #top_nav ul.nav li.sign_out a { 
	        width:78px; 
	        background-position:-510px 0;
	        }

	    #top_nav ul.nav li.cart { 
	        background:url(i/top_nav_shopping_bag_3.png) 0 50% no-repeat; 
	        margin-right:0; 
	        }
	    
	    #top_nav ul.nav li.cart a { 
	        background:transparent; 
	        padding:0 0 0 32px;
	        /*font-size:10px;*/
	        text-indent:0;
	        color:#5b6147; 
	        text-transform:uppercase; 
	        height:21px; 
	        display:block; 
	        height:21px;
	        line-height:21px;
	        }
	        
	        #top_nav ul.nav li.cart a:hover {
    	        margin-top:0;
	        }


    #hd form#search {
	margin-top:3px;
	float:right;
    }

    	#hd form#search input:focus {
	    outline: none;
	}

    	    #hd form#search input#terms {
		background:url(i/search_field.png) no-repeat;
		border:0;
		height:22px;
		display:block;
		float:left;
		padding:5px 0 0 20px;
		width:120px;
		color:rgb(159,159,159);
	    }

	    #hd form#search input#submit {
		height:22px;
		display:block;
		float:left;
		width:22px;
	    }

    #hd #lower_hd {
	height:30px;
	background:url(i/lower_hd_bg.png) repeat-x;
	font-size:12px;
    }

    	#lower_hd ul.nav {}

    	    #lower_hd ul.nav a {
		line-height:30px;
		display:block;
	    }

 
	    #lower_hd ul.nav li { margin: 0; }
	    #lower_hd li a {background-repeat:no-repeat; height:30px; text-indent:-9999px; margin:0;}
	    #lower_hd li a:hover { 
	        -moz-opacity: 0.50;
            filter: alpha(opacity=50);
            opacity: 0.5;
	        }

	    #hd #lower_hd li.art a {background-image:url(i/under_nav_art.png); width:43px;}
	    #hd #lower_hd li.lighting a {background-image:url(i/under_nav_lighting.png); width:101px;}
	    #hd #lower_hd li.accessories a {background-image:url(i/under_nav_accessories.png); width:127px;}
	    #hd #lower_hd li.coordinates a {background-image:url(i/under_nav_coordinates.png); width:130px;}
	    #hd #lower_hd li.rugs a {background-image:url(i/under_nav_rugs.png); width:70px;}
	    #hd #lower_hd li.pillows a {background-image:url(i/under_nav_pillows.png); width:94px;}
	    #hd #lower_hd li.throws a {background-image:url(i/under_nav_throws.png); width:92px;}
            #hd #lower_hd li.poufs a {background-image:url(i/under_nav_poufs.png); width:92px;}
	    #hd #lower_hd li.rugpads a {background-image:url(i/under_nav_rugpads.png); width:92px;}
	    #hd #lower_hd li.clearance a {background-image:url(i/under_nav_clearance.png); width:116px;}

    #hd #breadcrumbs {
	background:url(i/breadcrumbs_bg.png) repeat-x;
	_background:#696B6C;
	height:31px;
	line-height:31px;
	color:rgb(255,255,255);
	font-size:11px;
	text-align:left;
    }

    	#breadcrumbs a:hover {
    	    -moz-opacity: 0.75;
            filter: alpha(opacity=75);
            opacity: 0.75;
	        }

    	#breadcrumbs ul.crumbs {
	    margin: 0;
	    padding: 0;
	    float: left;
	}

	    #breadcrumbs ul.crumbs li {
		list-style-type: none;
		display: inline;
	    }

	    #breadcrumbs ul.crumbs span.delimitor {
		padding-right: 0.25em;
	    }

#bd {
    position:relative;
    text-align:left;
    line-height:1.5;
    top:20px;
    clear: both;
    font-size: 12px
}

#ft {
    border-top:1px solid rgb(228,230,231);
    margin-top:20px;
    padding-top:10px;
    color:rgb(138,139,115);
    font-size:10px;
    text-align:left;
}

    #ft a {
	color:rgb(138,139,115);
    }

    #ft p {
	float:left;
    }

    #ft p.copyright {
	float:right;
    }

/* ------------------------------------------------------------
   homepage
   ------------------------------------------------------------ */
    
body.home #heroshot div.heroshot {    
    width: 100%;
    height: 320px;
}

    body.home div.heroshot-nav {
	font-size: 45px;
	line-height: 1em;
	bottom: 0px; right: 20px;
    }

    	body.home div.heroshot-nav a {
	    padding: 0 3px;
	    color: #81846f;
	}

	    body.home div.heroshot-nav a.selected {		
		color: #eee;
	    }

body.home table {
    margin-top: 5px;
}

/* ------------------------------------------------------------
   base_yui-gf.html
   ------------------------------------------------------------ */

#bd div.sidebar ul.nav {
    margin:0;
    padding:0;
    font-size: 11px;
}

    #bd div.sidebar li {
	list-style:none;
    }

    #bd div.sidebar a.selected {
	color: rgb(164,122,19);
    }

    #bd div.sidebar ul.nav ul.nav {
	margin-left: 1.25em;
    }

/* ------------------------------------------------------------
   {% block main %}
   ------------------------------------------------------------ */


#bd a.feed-indicator {
    text-indent:-9999px;
    width:27px;
    height:13px;
    background: url(i/rss.png);
    font-size: 8px;
    color: white;
    font-weight: normal;
}

    #bd h1 a.feed-indicator {
	display: inline-block;
	position: relative;
	top: -2px; left: 0;
    }

/*** item-list ***/

#bd div.item-list {}

    div.item-list h1 {}

    	div.item-list h1 span {
	    font-weight: normal;
	    text-transform: uppercase;
	    font-size: 0.75em;
	    letter-spacing: 1px;
	    padding: 0.2em;
	}

    div.item-list h2 {
	margin: 0;
    }

    	div.item-list h2 span {
	    font-weight: normal;
	    text-transform: uppercase;
	    font-size: 0.9em;
	    letter-spacing: 1px;
	    padding: 0.2em;
	}

    div.item-list div.item {
	border-top: 1px solid #EFF0F2;
	padding: 1em 0 0 0;
	margin: 0 0 1em 0;
    }

    	div.item-list div.first-item {
	    border-top: none;
	    padding-top: 0;
	}

/*** pagination ***/

div.pagination {
    clear: both;
    text-align: right;
    color: #5c5c5c;
    font-size: 11px;
    font-weight: bolder;
}

    div.pagination span.sep {
	padding: 0 0.5em;
    }

    div.pagination a.page, div.pagination span.disabled {
	padding: 0 0.1em;
    }

    	div.pagination a.selected {
	    color: rgb(164,122,19);
	}

	div.pagination span.disabled {
	    -moz-opacity: 0.50;
        filter: alpha(opacity=50);
        opacity: 0.50;
	}

	body.designers div.pagination a.prev, body.designers div.pagination span.prev, body.designers div.pagination a.next, body.designers div.pagination span.next {
	    text-indent:-9999px;
	    width:5px;
	    height:8px;
	}
	body.designers div.pagination a.prev {background:url(i/pagination_left.png) no-repeat;}
	body.designers div.pagination span.prev {background:url(i/pagination_left_dis.png) no-repeat;}
	body.designers div.pagination a.next {background:url(i/pagination_right.png) no-repeat;}
	body.designers div.pagination span.next {background:url(i/pagination_right_dis.png) no-repeat;}

/*** slider ***/

div.slider {	
    position: relative;
    top: 0;
    left: 0;
}

    div.slider-wrap {
	overflow: hidden;
    }

	div.slider .slide-prev, div.slider .slide-next {
	    position: absolute;
	    top: 38%;
	    display: block;
	    width: 24px;
	    height:24px;
	}

	    div.slider .slide-prev span, div.slider .slide-next span {
		display: none;
	    }

            	div.slider a.slide-next {
		    right: -30px;
		    background: url(i/slider_right.png) no-repeat center right;
		}
		
		div.slider .slide-prev {
		    left: -30px;
		    background: url(i/slider_left.png) no-repeat center left;
		}
		
	    div.slider a.disabled {
	        -moz-opacity: 0.50;
		filter: alpha(opacity=50);
		opacity: 0.50;
	    }

	div.slider div.item-list {
	    width: 100%;
	}

    	    div.slider div.item {
		border: none;
		float: left;
		padding: 0 2px;
		margin: 0;
	    }

	    	#modal div.slider div.first-item {
		    padding-left: 0;
		}

/*** modal ***/

#modal {
    background:url(i/modal-shadow-throws.png);
	_background-image: none;
	_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/css/i/modal-shadow-throws.png', sizingMethod='image');
}
body.showrooms #modal {
    background:url(i/modal-shadow-showroom.png);
	_background-image: none;
	_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/css/i/modal-shadow-showroom.png', sizingMethod='image');
}

    #modal .wrap {
        position:relative;
        height:590px;
        width:760px;
        margin:0;
        padding-top:20px;
        top:20px;
        left:20px;
	    border: 0;
	    background-color: white;
	    text-align: center;
    }
    
    body.showrooms #modal .wrap {
        height:440px;
        width:620px;
    }
    
    #modal div.big-image {
        position:relative;
        height: 300px;
        clear:both;
        display:block;
    }

    #modal div.slider {
        position:relative;
	margin: 10px auto 0 auto;
	width: 520px;
	height:100px;
	display:block;
    }    

    #modal div.slider div.item-list { }

    	#modal div.slider div.item, #modal div.slider img {
	    width: 100px;
	    height: 100px;
	}

    .ui-resizable-disabled .ui-resizable-handle {
	display: none;
    }

    .ui-dialog-titlebar-close {
	display: block;
	position: absolute;
	top: 8px;
	left: 8px;
	z-index:2000;
	background:url(i/modal-close.png) no-repeat;
	_background-image: none;
	_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/css/i/modal-close.png', sizingMethod='image');
	width: 24px;
	height: 24px;
	text-indent:-9999px;
    }

/*** forms ***/

#bd form {
    width: 100%;
}

    form ul.errorlist {
	margin: 0;
	padding: 0;
	color: red;
    }

    	form ul.errorlist li {
	    list-style-type: none;
	}

    form ul.fields {
	margin: 0;
    }

    	form ul.fields li.field {
	    clear: both;
	    list-style-type: none;
	    margin-bottom: 1em;
	}

	form ul.fields label {
	    color: #7F8082;
	    font-weight: bolder;
	    display: block;
	}

	    form ul.fields li.has-errors label {
		color: red;
	    }

	form ul.fields input, form ul.fields textarea {
	    border: 1px solid #a6a6a6;
	    padding: 0.25em;
	    width: 98.5%;
	}

    div#bd div.buttons {
	clear: both;
	text-align: right;
	width: 100%;
    }
        div#bd div.sidebar div.buttons {
        	text-align: left;
        }

    	form div.buttons input {
	    background-color: #7F8082;
	    border: 1px solid #A5A7A6;
	    color: white;
	    text-transform: uppercase;
	    padding: 2px 15px;
	    font-size: 9px;
	}

/* ------------------------------------------------------------
   content/page.html
   ------------------------------------------------------------ */

#bd div.story p.intro {
    font-size:120%;
}

/* ------------------------------------------------------------
   careers
   ------------------------------------------------------------ */

body.careers div.item {}

    body.careers div.item p.application {
	font-size: 11px;
	font-weight: bold;
	margin-top: 0.5em;
    }

    	body.careers div.item p.application a {
	    display: block;
	    width: 15%;
	    /* The icon is 20x20 */
	    background: url(i/pdf-icon-link.gif) no-repeat left center;
	    padding-left: 25px;
	    line-height: 20px;
	}

/* ------------------------------------------------------------
   rug care
   ------------------------------------------------------------*/

body.rug-care {}

    body.rug-care div.story h2 {
	margin-bottom: 0;
    }

/* ------------------------------------------------------------
   media
   ------------------------------------------------------------ */

div.media-list {}

    div.media-list span.supplementary {
	float: right;
	padding: 0 0 1em 1em;
    }

/* ------------------------------------------------------------
   showrooms
   ------------------------------------------------------------ */

#bd div.showrooms-list {}

    div.showrooms-list div.row {
	width: 690px; /* item-width x 3 */
	margin: 0 0 1.5em 0;
	padding: 2em 0 0 0;
	height: 100px;
	clear: both;
	border-top: 1px solid #EFF0F2;
    }

    	div.showrooms-list div.first {
	    border-top: none;
	    padding-top: 0;
	}

    div.showrooms-list div.item {
	width: 230px; /* photo-width + padding + detail-width */
	height: 100px; /* photos are 100x100 */
	float: left;
	position: relative;
	top: 0;
	left: 0;
    }

	div.showrooms-list td.last {
	}

	div.showrooms-list a.photo {
	    display: block;
	    float: left;
	}

	div.showrooms-list div.details {
	    width: 110px;
	    position: absolute;
	    bottom: -0.3em; /* adjust for line height of 1.5em */
	    right: 10px;
	}

	    div.showrooms-list div.details h3, div.showrooms-list div.details h4 {
		font-weight:normal;
		font-size: 80%;
	    }

	    div.showrooms-list h3.name, div.showrooms-list h4.date {
		text-transform:uppercase;
		letter-spacing:0.1em;
		margin: 0;
	    }

#bd div.showroom {
    width: 480px;
}

    div.showroom div.title {
	margin-bottom: 1em;
    }

    	div.showroom div.title h1 {
	    display: inline;
	}

	div.showroom div.title h4 {
	    display: inline;
	    padding-left: 0.5em;
	    font-size: 0.9em;
	    font-weight: normal;
	}

    div.showroom div.item {
	border: none;
	padding: 0;
	margin: 0 10px 10px 0;
	width: 150px;
	height: 150px;
	float: left;
    }

    div.showroom div.pagination {
	padding-right: 10px;
    }

#bd div.wrapper a.online-catalog {
    font-weight: bold;
    color:rgb(164,122,19);
	text-decoration: underline;
	font-size: 1.2em;
}

body.showrooms #modal .slide-prev, body.showrooms #modal .slide-next {
}
    

/* ------------------------------------------------------------
   contact us
   ------------------------------------------------------------ */

body.contact-us {}

    body.contact-us div.kill {
	clear: both;
	height: 2em;
    }

    body.contact-us #bd form, div.contact-info, body.contact-us div.sent {
	width: 77.5%;
    }

    	body.contact-us li.field-message textarea {
	    height: 12em;
	}

    div.contact-info {
	border-top: 1px solid #EFF0F2;
	margin-top: 2em;
	padding-top: 2em;
	font-size: 0.9em;
    }

    	div.contact-info h2 {
	    margin: 0 0 0.25em 0;
	}

	div.contact-info div.address, div.contact-info div.po-box, div.contact-info div.support {
	    float: left;
	    margin-right: 5em;
	    line-height: 1.75em;
	}

	div.contact-info dl {
	    margin: 0;
	}

	    div.contact-info dt, div.contact-info dd {
		float: left;
	    }

	    div.contact-info dt {
		font-weight: bold;
		clear: both;
		width: 5em;
		text-align: right;
	    }

    body.contact-us div.sent {
	    background:url(i/contact_sent.png) 50% 20px no-repeat;
	    padding-top:120px;
	    font-weight:bold;
	    text-align:center;
        }
        

/* ------------------------------------------------------------
   sitemap
   ------------------------------------------------------------ */

body.site-map {}

    body.site-map div.sitemap h2 {
	clear: both;
	margin: 0;
	padding: 0 0 1em 0;
    }

    body.site-map div.sitemap h3 {
	text-transform: uppercase;
	font-weight: normal;
	font-size: 0.9em;
	margin: 0;
    }

    body.site-map table.sitemap {
	width: 85%;
    }

    	body.site-map table.sitemap td {
	    border-top: 1px solid #EFF0F2;
	    width: 33%;
	    padding: 0.75em 0 1.25em 0;
	}

    	body.site-map table.sitemap ul {
	    margin: 0;
	}

    	    body.site-map table.sitemap li {
		list-style-type: none;
	    }

/* ------------------------------------------------------------
   catalog
   ------------------------------------------------------------ */

body.product-list div.yui-gf div.sidebar,
body.clearance div.yui-gf div.sidebar {
    width: 210px; 
    _width: 15.7895em;   
    overflow:hidden;
}

    form.product_filter {}

    	form.product_filter h2 {
	    text-transform: uppercase;
	    font-weight: normal;
	    font-size: 0.9em;	    
	}

	form.product_filter h2, form.product_filter ul.fields label {
	    color: #333;
	    text-transform: uppercase;
	}

	    form.product_filter ul.fields input,
	    form.product_filter ul.fields li.checkboxselectmultiple li label,
	    form.product_filter ul.fields select {
		color:#666;
		text-transform: none;
	    }

    	form.product_filter ul.fields select {
            background:url(i/form_product_filter_select_bg.png);
            border:1px solid #999;
            width:150px;
            height:22px;            
	}	

	form.product_filter li.field {
	    clear: both;
	}	

	form.product_filter ul.fields li.field-colors label,
	form.product_filter ul.fields li.select label {
	    font-weight: normal;
	    display: none;
	}

    	form.product_filter li.checkboxselectmultiple label {
	    font-weight: normal;
	    font-size: 0.9em;
	    padding: 1em 0 0.75em 0;
	}

	form.product_filter li.checkboxselectmultiple {
	    padding-top: 1em;
	}

	    form.product_filter li.checkboxselectmultiple ul {
		margin: 0;
	    }

	    	form.product_filter li.checkboxselectmultiple li {
		    float: left;
		    width: 49.9%;
		    margin-left: 0;
		    height: 1.9em;		
		}
	    
	    	    form.product_filter li.checkboxselectmultiple li {
			width: 49.9%;
			line-height: 1.5em;
			height: 1.5em;
			overflow: hidden;
			padding: 0.3em 0;
		    }

		    	form.product_filter li.checkboxselectmultiple li input {
			    width: auto;
			    margin-right: 0.5em;
			    border: none;
			}			
		    
	    		form.product_filter li.checkboxselectmultiple li label {
			    text-transform: normal;
			    padding: 0;
			    font-size: 0.95em;
			}

    	form.product_filter li.field-colors {
	    padding-top: 1.5em;
	}

	    form.product_filter li.field-colors input {      
		width: 126px;
		height: 16px;
		background: transparent url(i/product-filter-color.gif) no-repeat 0 1px;
		padding-left: 20px;
		color: #666;
	    }

	    	form.product_filter li.field-colors input:focus {
		    outline: none;
		}

    	form.product_filter div.buttons {
	    padding: 1.5em 0;
	    text-align: left;
	}

body.product-list div.yui-gf div.main,
body.clearance div.yui-gf div.main {
    width: 750px;
    _width: 56.391em;
    overflow:hidden;
}
    
    body.clearance div.yui-gf div.main div.links {
        width:640px;
        overflow:hidden;
        text-align:center;
        margin:4px auto 50px;
    }
        body.clearance div.yui-gf div.main div.links div.heroshot {
            float:left;
            width:154px;
            margin-right:5px;
        }

div.catalog-pagination {
    margin: 1em 0;
    width: 100%;
    font-weight: normal;
    font-size: 11px;
}

    div.catalog-pagination div.left {
	float: left;
	width: 20%;
	text-align: left;
    }

    	div.catalog-pagination div.left ul.crumbs {
	    margin: 0;
	    display: inline;
	}

	    div.catalog-pagination div.left ul.crumbs a.selected {
		color: #786A4F;
	    }

	    div.catalog-pagination div.left li {
		list-style-type: none;
		display: inline;
	    }

	    div.catalog-pagination div.left span.delimitor {
		padding: 0 0.5em;
	    }

    div.catalog-pagination div.middle {
	float: left;
	width: 60%;
	position: relative; top: 0; left: 0;
	overflow: hidden;
    }

    	div.catalog-pagination div.wrap-pages {
	    float: left;
	    position: relative; top: 0; left: 50%;
	    text-align: center;
	}
	
    	div.catalog-pagination div.middle a, div.catalog-pagination div.middle span.disabled {	    
	    margin: 0 0.25em;
	    padding: 1px 0 0 0;
	    display: block;
	    float: left;
	    position: relative; top: 0; right: 50%;
	    text-align: center;
	    color:#786A4F;
	}

	    div.catalog-pagination div.middle span.pages a, div.catalog-pagination span.ellipsis {
		display: block;
		width:20px;
		height:19px;
	    }

	    div.catalog-pagination div.middle a.selected {
		background: url(i/pagination-selected.png) no-repeat top left;
		color: white;
	    }

    div.catalog-pagination div.right {
	float: right;
	width: 20%;
	text-align: right;
    }

    div.catalog-pagination div.kill {
	clear: both;
    }

    div.catalog-pagination a.view-all {
	padding-left: 1em;
    }

div.product-list a, div.product-detail a {
    color: #786A4F;
}

    div.product-list a:hover, div.product-detail a:hover {
	color: rgb(164,122,19);
    }

div.product-list span.photo, div.product-detail span.photo {
    display: block;    
}

div.product-list div.item {
    border: none;
    float: left;
    width: 24.9%;
    text-align: center;
}

    div.product-list div.item a {
	display: block;
    }

    	div.product-list div.item strong {
	    display: block;
	    margin: 1em 0;
	    padding: 0;
	}

	div.product-list span.photo {
	    margin: 0 auto;
	    height: 135px;
	    line-height: 135px;
	    width: 135px;
	}

    	div.product-list span.missing {
	    background-color: #333;
	    color: white;
	    font-size: 2em;
	}

	/* This rule exist to make IMG products align with SPAN.missing
	   products.  If the SPAN.no-image is elimitated from the
	   template, this rule may be removed. */

	div.product-list div.item img {
	    display: block;
	    margin: 0 auto;
	}

div.product-detail {
    color: #7c7c7c;    
}

    div.product-detail span.missing {
	display: block;
	background-color: #333;
	color: white;
	font-size: 2em;
	text-align: center;
	height: 290px;
	line-height: 290px;
    }

    div.product-detail div.photo {
	overflow: hidden; /* see: /rugs/flirty/ */
    }

    	div.product-detail div.photo strong {
	    display: block;
	    font-weight: normal;
	    font-size: 0.9em;
	    margin-top: 0.3em;
	}

    div.product-detail div.info {}

    	div.product-detail div.ui-tabs-panel {
	    clear: both;
	    margin: 0;
	    padding: 0;
	    overflow: auto;
	    position: relative; top: 0; left: 0;
	    border: 2px solid #eee;
	    height: 265px; /* eyballed to be same height as product image */
	}

	    div.product-detail .ui-panel-wrap {
		padding: 0.5em;
	    }

            /*
                Add By Ricardo on 07-29-2011 Ticket:0000
            */
    
                div.product-detail .ui-panel-wrap div.inventoryUpdateTimestamp{
                        position:absolute;
                        bottom:0px;
                        right:0px:
                        text-align:right;
                        width:90%;
                        heigth:15px;
			font-weight:bold;
                }
    
                        div.product-detail .ui-panel-wrap div.inventoryUpdateTimestamp span.inventoryUpdateTimestamp{
                                font-size:15px;
                        }

                                div.product-detail .ui-panel-wrap div.inventoryUpdateTimestamp span.inventoryUpdateTimestamp strong{
                                        color:#003399;
                                }


            /*
                Add By Ricardo on 07-29-2011
            */

    	    div.product-detail .ui-tabs-hide {
		display: none;
	    }

	div.product-detail ul.ui-tabs-nav {
	    margin: 0;
	}

	    div.product-detail ul.ui-tabs-nav li {
		list-style-type: none;
		float: left;
		margin: 0;
		-moz-opacity: 0.60;
        filter: alpha(opacity=60);
        opacity: 0.60;
	    }

	    	div.product-detail ul.ui-tabs-nav a {
		    display: block;
		    text-transform: uppercase;
		    border: 0;
		    border-bottom: none;
		    width:102px;
		    height:22px;
		    margin:0;
		    padding:0;
		}

		    div.product-detail ul.ui-tabs-nav a span {
			display: none;
		    }

	    	div.product-detail li.ui-tabs-selected {
	    	    -moz-opacity: 1;
                filter: alpha(opacity=100);
                opacity: 1;
		        }
	    div.product-detail ul.ui-tabs-nav a.product_info {
	        background:url(i/ul_tabs_product_info.png);
	    }
	    div.product-detail ul.ui-tabs-nav a.designer {
	        background:url(i/ul_tabs_designer_bio.png);
	    }

		    div.product-detail .ui-tabs-selected a {
			background-color: #eee;
			padding: 0;
			margin:0;
		    }

	    	div.product-detail li.ui-tabs-disabled {
		    display: none;
		}

		    div.product-detail li.ui-tabs-disabled a {
			color: #999;
		    }
		    
    	div.product-detail h1, body.rugs div.product-detail h2 {
	    font-size: 1.25em;
	    margin: 0 0 0.25em 0;
	}

	    div.product-detail h1 span {
		text-transform: uppercase;
		font-weight: normal;
		font-size: 0.9em;
	    }

	div.product-detail a.designed-by {
	    display: block;
	    border: none;
	    width: 90%;
	    color: inherit;
	    margin-top: 1em;
	    position: relative; top: 0; left: 0;
	}

	    div.product-detail a.designed-by span.photo, div.product-detail #designer span.photo, table.skus span.photo {
		width: 80px;
		height: 80px;
		line-height: 80px;
		margin: 0;
	    }
	    
	    div.product-detail a.designed-by span.name {
		display: block;
		position: absolute;
		bottom: 0;
		left: 90px;
		text-transform: none;		    
	    }

	    	div.product-detail a.designed-by span.name strong {
		    display: block;
		}

	div.product-detail #designer {}
	
    	    div.product-detail #designer span.photo {
		float: right;
	    }

	    div.product-detail #designer a.more {
		display: block;		
	    }

    div.related-slider {
	margin-bottom: 2.5em;
    }

    	div.color-ways {
	    margin-bottom: 0;
	}

    	div.product-detail div.related-slider h2 {
	    font-weight: normal;
	    font-size: 0.95em;
	    margin-bottom: 2em;
	}
    
    	div.related-slider div.slider {
	    margin: 0 auto;
	    width: 254px;
	}

	    div.related-slider div.slider-wrap {
		width: 254px;
		height: 80px;
	    }

    	div.related-slider a.slide-prev, div.related-slider a.slide-next {
	}
	    
    	div.related-slider div.item span.missing, div.related-slider div.item {
	    width: 80px;
	    height: 80px;
	    line-height: 80px;
	    text-align: center;
	}
    table.skus {
        width: 100%;
    }

    div.product-detail table.skus {
	width: 100%;	
    }
    	table.skus th {
	    border: none;
	    text-align:left;
	    padding:0.5em 1em;
	}
        table.skus th.inventory,
        table.skus th.order {
            text-align:center;
        }
	table.skus td {
	    padding: 0.5em 1em;
	    border-left: 2px solid #ececec;
	    width:20%;
	}
	
	table.skus td.empty {
	    border-left:0;
	}

	    table.skus tr.even td {
		border-bottom: 2px #ececec solid;
		border-top: 2px #ececec solid;
	    }

	    table.skus td.photo {
		text-align: center;
		border-left: none;
	    }

	    	table.skus td.photo span.photo {
		    margin: 0 auto;
		}

		    table.skus td.photo img {
			height: 80px;
			vertical-align:middle;
		    }

        table.skus td.empty {
		border-left: none;
	    }

        table.skus td.qty {
		width:140px;
		padding-bottom:2em;
	    }
    	
	    table.skus td.size {
		border-left: none;
		width: 20%;
	    }

	    	table.skus td.size span {
		    display: block;
		}
		
		table.skus td.inventory {
		    text-align:center;
		}





 
		/**
			Add by Ricardo
			On 07-20-2011
			Ticket: 00003
		**/
		table.skus td.inventory span.inventory{
		    font-weight:bolder;
		    font-size:14px;
		}
                /**
                        Add by Ricardo
                        On 07-20-2011
                        Ticket: 00003
                **/


	    table.skus td.price {
		width: 15%;
	    }

    div.product-detail #modal {
    }

    	div.product-detail #modal div.wrap {
	    height: 550px;
	}

    	div.product-detail #modal div.big-image {
	    height: 550px;
	    width: 570px;
	    margin-left: 20px;
	    float: left;
	    overflow: hidden;
	}

	div.product-detail #modal div.slider {
	    margin: 70px 20px 0 0;
	    width: 150px;
	    height: auto;
	    float: right;
	}

	    div.product-detail #modal div.slider-wrap {
		height: 417px;
	    }

	    div.product-detail #modal .slide-prev, div.product-detail #modal .slide-next {
		width: 100%;
		text-align: center;
	    }

	    	div.product-detail #modal .slide-prev {
		    top: -30px; left: 0;
		    bottom: auto; right: auto;
		    background: url(i/slider_up.png) no-repeat top center;
		}

		div.product-detail #modal .slide-next {
		    top: auto; right: auto;
		    bottom: -30px; left: 0;
		    background: url(i/slider_down.png) no-repeat bottom center;
		}

	    div.product-detail #modal div.slider div.item-list {
		height: 550px;
	    }

	    	div.product-detail #modal div.slider div.item {
		    float: none;
		    width: auto;
		    height: 135px;
		    padding: 2px 0;
		    text-align: center;
		}

		div.product-detail #modal div.slider img {
		    width: auto;
		    height: 135px;
		    margin: 0 auto;
		}
		    
/* ------------------------------------------------------------
   rugs
   ------------------------------------------------------------ */

body.rugs {}

    body.rugs div.product-list div.item {
	width: 20%;
	text-align: center;
    }

    	body.rugs div.product-list div.item span.photo {
	    height: 135px;
	    line-height: 135px;
	}

	body.rugs div.product-list .item span.missing {
	    width: 85px;
	}

    body.rugs div.product-detail {}

    	body.rugs div.product-detail div.photo {
	    width: 20%;
	    position: relative; top: 0; left: 0;
	    overflow: visible;
	}

	    body.rugs div.product-detail div.photo img {
		position: absolute;
		top: 0;
		right: 0;
	    }

            body.rugs div.product-detail div.photo span.photo {
		width: 200px;
		height: 290px;
		line-height: 290px;
	    }

	body.rugs div.product-detail div.info {
	    width: 33%;
	}

	body.rugs div.product-detail div.related {
	    width: 43%;
	}

    body.rugs div.product-detail #modal div.slider {
	margin-right: 10px;
    }

    body.rugs div.related-slider div.slider, body.rugs div.related-slider div.slider-wrap {
	width: 336px;
    }
	
/* ------------------------------------------------------------
   designers
   ------------------------------------------------------------ */

body.designers {}

    body.designers div.sidebar h2 {
	margin: 0 0 0.5em 0;
	font-size: 0.95em;
    }

    body.designers div.sidebar li {
	margin-left: 1em;
    }

    body.designers span.photo {
	display: block;
	width: 180px;
	height: 180px;
	line-height: 180px;
	float: left;
	margin: 0 1em 1em 0;
    }

    	body.designers span.missing {
	    display: block;
	    background-color: #333;
	    color: white;
	    font-size: 2em;		    	    
	    text-align: center;
	}

    body.designers div.related {
	clear: both;
	padding-top: 1em;
    }

    	body.designers div.related h2 {
	    text-transform: uppercase;
	    font-weight: normal;
	    letter-spacing: 1px;
	    margin-bottom: 0;
	}

    body.designers div.item-list {}    

    	body.designers div.item {
	    border: none;
	    width: 25%;
	    float: left;
	    text-align: center;
	}

	    body.designers div.item a {
		display: block;
	    }

	    body.designers div.item span.photo {
		width: auto;
		height: 135px;
		line-height: 135px;
		margin: 0 auto;
		float: none;
	    }

	    	body.designers div.item span.missing {
		    width: 135px;
		}

	    body.designers div.item strong {
		display: block;		
	    }

    div.designers div.designer {
	float: none;
	border-top: 1px solid #ccc;
	width: 100%;
	text-align: left;
	height: 180px;
	padding: 10px 0;
	clear: both;
    }

    	div.designers div.first-item {
	    border-top: none;
	    padding-top: 0;
	}

    	div.designers h2 {
	    color: #333;
	    font-size: 1.25em;
	    margin-bottom: 0.5em;
	}

    	div.designers div.designer-photo span.missing, div.designers div.designer-photo span.photo {
	    width: 100px;
	    height: 150px;
	    line-height: 150px;
	    margin: 0;
	}

    	div.designers div.slider {
	    float: right;
	    margin: 0;
	    width: 556px;
	    height: 135px;
	}
	        
	        body.markets div.designers div.slider {
	            float:left;
	            margin-left:40px;
	        }

	    div.designers div.slider-wrap {
		width: 556px;
		height: 135px;
	    }
	        body.markets div.designers div.slider-wrap {
	        }

    	div.designers a.slide-prev, div.designers a.slide-next {
	}
	    
    	div.designers div.slider div.item span.missing, div.designers div.slider div.item {
	    width: 135px;
	    height: 135px;
	    line-height: 135px;
	    text-align: center;
	}
	
	
	body.markets div.main div.designer-photo {
	    width:140px;
	    height:140px;
	    overflow:hidden;
	    float:left;
	}

/* ------------------------------------------------------------
   search
   ------------------------------------------------------------ */

body.search {}

    body.search h1 q {
	font-style: italic;
    }    


div#bd div.side_spin {
    position:relative;
    width:120px;
    margin:0 auto;
}

div#bd div.side_spin input {
    position:absolute;
    top:0;
    left:20px;
    width:77px;
    border:1px solid #A5A7A6;
}

div#bd div.side_spin a.up_link,
div#bd div.side_spin a.down_link {
    display:block;
    text-indent:-9999px;
    width:16px;
    height:16px;
    position:absolute;
    top:0px;
    left:0;
    background:url(a/spin_Down.png);
    cursor:pointer;
}
div#bd div.side_spin a.up_link {
    right:0;
    left:auto;
    background:url(a/spin_Up.png);
}

div#bd table.skus td button {
    background:#7F8082;
    border:1px solid #A5A7A6;
    font-weight:normal;
    color:#fff;
    margin:0;
    padding:2px 15px;
    display:inline;
    cursor:pointer;
    text-transform:uppercase;
    font-size:9px;
    
}

img.ajax_loader {
    display: none;
}

span.cart-disclaimer {
    margin-left: -250px;
}

tr.cart-error {
    background-color: #ffffcc;
}

/* ------------------------------------------------------------
   print ads
   ------------------------------------------------------------ */

#bd div.printads-list {}

    div.printads-list div.row {
      width: 735px; /* item-width x 3 */
      margin: 0;
      padding: 0;
      height: 230px;
      clear: both;
    }

    div.printads-list div.first {
      border-top: none;
      padding-top: 0;
    }

    div.printads-list div.item {
      width: 242px; /* photo-width + padding + detail-width */
      height: 230px;
      float: left;
      position: relative;
      top: 0;
      left: 0;
    }

  div.printads-list a.photo {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
  }
  
  div.printads-list a.photo img {
    margin:0;
    padding:0;
  }

  div.printads-list div.printad {
    width: 242px;
    position: absolute;
    bottom: -0.3em; /* adjust for line height of 1.5em */
    right: 0px;
  }

#bd div.printads {
    width: 480px;
}

    div.printads div.title {
  margin-bottom: 1em;
    }

      div.printads div.title h1 {
      display: inline;
  }

  div.printads div.title h4 {
      display: inline;
      padding-left: 0.5em;
      font-size: 0.9em;
      font-weight: normal;
  }

    div.printads div.item {
  border: none;
  padding: 0;
  margin: 0 10px 10px 0;
  width: 150px;
  height: 150px;
  float: left;
    }

    div.printads div.pagination {
  padding-right: 10px;
    }

