/* InternetRugs v2 by davebrowndesign */
/* CSS general to every page  */

/* overall layout */
body  {
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #181818;
	line-height: 150%;
	background-color: #353d3c;
}
#container {
	width: 950px;
	margin: 0 auto;
	text-align: left; /* this overrides the text-align: center on the body element. */
	background-color: #FFFFFF;
	background-image: url(../images/layout/column.gif);
	background-repeat: repeat-y;
	position: relative;
} 
#mastheadLeft {
	height: 179px;
	width: 175px;
	position: absolute;
	top: 0px;
	left: 0px;
	display: block;
	background-image: url(../images/layout/mastheadLeft.jpg);
}
#mastheadRight {
	height: 90px;
	position: absolute;
	top: 0px;
	right: 0px;
	width: 775px;
	display: block;
	background-image: url(../images/layout/mastheadRight.gif);
}
#mastheadLeft a {
	height: 150px;
	width: 100px;
	display: block;
	position: absolute;
	left: 45px;
	top: 18px;
}
#mastheadRight a {
	height: 69px;
	width: 404px;
	display: block;
	position: absolute;
	left: 96px;
	top: 14px;
}
#navbar {
	height: 30px;
	width: 750px;
	left: 175px;
	position: absolute;
	top: 90px;
	display: block;
	font-family: Arial, Helvetica, sans-serif;
}
#main {
	float: right;
	margin-top: 123px;
	width: 740px;
	margin-right: 25px;
	display: inline;
}
#mainContent {
	float: left;
	width: 500px;
	display: inline;
} 
#mainSidebar {
	float: right;
	width: 225px;	
}
#sidebarLeft {
	float: left; /* since this element is floated, a width must be given */
	width: 150px;
	margin-top: 176px;
	margin-left: 25px;
	display: inline;
}
#footer {
	height: 52px;
	width: 950px;
	background-image: url(../images/layout/footer.gif);
	background-repeat: no-repeat;
	clear: both;
	position: relative;
}
#signature {
	position: absolute;
	right: 30px;
	top: 30px;
}
#signature, #signature a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #666666;
	text-decoration:none;
}
#signature a:hover {
	color:#CCCCCC;
}

/*----styling by section div ------------------------------*/

/*----navbar------------------------------------*/

#navbar a   {
	text-decoration: none;
	color: #FFFFFF;
	width: 147px;
	float: left;
	text-align: center;
	font-size: 17px;
	line-height: 28px;
	height: 30px;
	
	/*border-left-width: 2px;
	border-left-style: solid;
	border-left-color: #FFFFFF;
	display: inline;*/
	
	background-image: url(../images/layout/navbar-texture.jpg);
	background-repeat: repeat-x;
	margin-left: 2px;
}
#navbar a:hover {
	background-color: #8D3320;
	background-image: none;
}
#navbar #current {
	color: #8D3320;
	background-image: none;
	width: 146px;
	height: 29px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #8D3320;
	border-right-color: #8D3320;
	border-left-color: #8D3320;
}
#navbar  #current:hover  {
	background-color: #FFFFFF;
}

/*----main-------------------------------------*/

#main h3 {
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 0.2em;
	margin-top: 2em;
	letter-spacing: 0.2em;
	border-bottom: 1px solid silver;
	font-size: 90%;
}
#main a {
	color: #6699cc;
	text-decoration: none;
}

/*----# mainContent (nested in #main) ----------*/


#mainContent p, #mainContent h1, #mainContent h2, #mainContent h3, #mainContent ul, #mainContent ol {
	margin: 10px 25px 10px 8px;
	padding: 0px;
}
#mainContent h1, #mainContent h2, #mainContent h3 {
	padding: 0px;
	margin-top: 20px;
	margin-bottom: 5px;
	font-family: Arial, Helvetica, sans-serif;
}
#mainContent h1, #mainContent h1 a {
	margin-top: 5px;
	font-size: 120%;
	color: #444444;
}
#mainContent h2 {
	font-size: 120%;
	color: #913023;
}
#mainContent h3 {
	padding-left: 2px;
	color: #6699cc;
}
#mainContent ul, #mainContent ol {
	margin-top: 10px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 15px;
}
#mainContent ul {
	list-style: none;
}
#mainContent li {
	margin-top: 10px;
	margin-bottom: 10px;
}


/*---- #mainSidebar (on right, nested in #main) -------------*/

.mainSidebarBlock {
	width: 200px;
	display: block;
	margin-top: 15px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #5B5B5B;
	text-align: left;
	margin-right: 15px;
	line-height: 20px;
	border: 2px solid #AACCCA;
	margin-bottom: 15px;
}
.mainSidebarBlock img, .mainSidebarBlock p, .mainSidebarBlock h1, .mainSidebarBlock h2, .mainSidebarBlock h3, .mainSidebarBlock ul {
	margin-top: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
}
.mainSidebarBlock img {
	margin-left: 8px;
}
.mainSidebarBlock h3 {
	color: #34353e;
}
#mainSidebar ul {
	list-style: none;
	margin-top: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.mainSidebarBlock  #emmettpic {
	margin-right: 10px;
	margin-bottom: 3px;
	margin-top: 15px;
	margin-left: 10px;
}

/*---- #sidebarLeft -------------------------*/


.sidebarLeftBlock {
	border-top-width: 2px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
	font-size: 12px;
	font-weight: normal;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 20px;
	position:relative;
}
.sidebarLeftBlock  p {
	margin-top: 7px;
	margin-right: 1px;
	margin-bottom: 0px;
	margin-left: 1px;
}
.sidebarLeftBlock  a {
	color: #000000;
	text-decoration: none;
}
.sidebarLeftBlock  a:hover {
	text-decoration: underline;
}
img#rugMark, img#shipping {
	margin-bottom: 7px;
	margin-top: 7px;
}
.dealOfDayWidget {
	background-image: url(../images/content/dealofday-block.jpg);
	background-repeat: no-repeat;
	position:relative;
	width:139px;
	height:194px;
	margin-bottom: 4px;
	margin-top: 7px;
	margin-right:0px !important;
	left:6px;
	z-index:99;
}
a.dealOfDayWidgetLink {
	position:absolute;
	top:0px;
	left:0px;
	width:135px;
	height:190px;
	z-index:99;
}

img.dealOfDayWidgetThumb {
	position:absolute;
	top:35px;
	left:24px;
	z-index:0;
}
p.dealOfDayDescription {
	color: white;
	position:absolute;
	left:0px;
	top:130px;
	padding-left:10px;
	padding-right:10px;
	line-height:15px;
	z-index:0;
}

p.dealOfDayDescription a {
	color:white;
}
/*---- #footer-----------------------------*/


#footerNav {
	font-size: 14px;
	margin-left: 10px;
	margin-right: 20px;
	text-align: center;
	line-height: 32px;
	color: #FFFFFF;
}
#footerNav a {
	color: #FFFFFF;
	text-decoration: none;
}
#footerNav  a:hover {
	text-decoration: underline;
}

/*---- miscellaneous styles -------------------*/

img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}