/*
 * This file should contain all the info for positioning things in response to page size.
 */

/* Import Fonts
------------------------------------------------------------ */

@import url(http://fonts.googleapis.com/css?family=Droid+Serif);
@import url(http://fonts.googleapis.com/css?family=Oswald);

html
{
	padding: 0px;
	margin: auto;
	border: 0px;
	text-align: center;
}

body
{
	Font-family: "Droid Serif", Times, serif;
	Font-Size: medium;
	Color: #000000;
	background: url(images/bg-light.png);
	text-align: center;
	border: 0px;
	margin: auto;
	padding: 0px;
	min-width:320px;
	max-width:960px;
}

#title
{
	position:absolute;
	width: 100%;
}


#topbar 
{
	text-align: left;
	position:relative;
	margin: 0px 0px 0px 0px;
	height: 110px;
}
#topbarimage
{
	background: #000 url(images/bestdishwashers.jpg) no-repeat right center;
	height: 110px;
	display:block;
	text-indent:-9999px;
}


#topbar H1
{
	Font-Size: 290%;
	Font-Weight: 700;
	Color: #404040;
	margin: 0px;
	display: inline;
}
#topbar H1 a 		{  color: #000000; text-decoration: none;}
#topbar H1 a:hover	{  color: #444444; text-decoration: none;}


#sitebody
{
	background: #ffffff;
	position:relative;
	display:inline-block;
	width:100%;
	padding: 0px;
	border-left: 1px solid #d5d5d5;
	border-right: 1px solid #d5d5d5;
	border-bottom: 1px solid #d5d5d5;
}


.menu1
{
	display:inline;
}
.menu2
{
	display:none;
}
#menu
{
	float: left;
	clear:left;
	position:relative;
	border-width:0px;
	width:100%;
	height:40px;
	margin:0px;
	overflow:hidden;
	background:#000;
	z-index:1;
	font-family: 'Oswald', Times, serif;
	text-transform: uppercase;
}
#menu li
{
	border-color:#888;
}

#menu ul
{
	list-style:none;
	padding:0px;
	margin:0px;
	margin-left:0px;
	z-index:100;
}
#menu ul li
{
	display: block;
	position: relative;
	float: left;
	border-left-width:1px;
	padding:0px;
	text-align:center;
	margin:0px;
	clear:none;
	text-indent:0px;
	font-size:14px;
}
#menu ul li a
{
	position:relative;
	display: block;
	padding: 9px 15px;
	line-height: 20px;
}

#menu li a 		{  color: #ffffff; text-decoration: none; }
#menu li a:hover{  color: #0094d2;; text-decoration: none;}
#menu #menusel a 	{  color: #0094d2;; text-decoration: none;}

#bannerad
{
	width:100%;
	height:90px;
	float:left;
}

#banneradouter
{
	clear:left;
	background:#fff;
	margin-left:10px;
	margin-right:10px;
	margin-top:10px;
	overflow:hidden;
}

#rightad
{
	background:#fff;
	position: absolute;
	top:255px;
	right:0px;
	margin-right:10px;
	width:160px;
	height:600px;
}

#maintext
{
	clear:left;
	background:#fff;
	text-align:left;
	margin:10px 180px 10px 20px;
	min-height:600px;
	padding:2px;
	color: #111;
	font-size: 13px;
	line-height: 22px;
}
#maintext H1
{
	color: #333;
	Font-Weight: normal;
	font-family: 'Oswald', Times, serif;
	font-size: 24px;
	line-height: 30px;
	margin: 0 0 10px 0;
	padding: 0 0 10px 0;
	text-align: left;
}

#footer
{
	background: url(images/footer.png) no-repeat top;
	Font-Size: 11px;
	Font-Weight: normal;
	color: #333;
	text-align: right;
	margin:0px;
	padding: 30px 10px 20px 0px;
	clear: both;
	overflow:hidden;
	text-transform: uppercase;
}

@media all and (max-width: 980px) 
{
	#sitebody
	{
		border: 0px;
	}
}
@media all and (max-width: 880px) 
{
	.menu1
	{
		display:none;
	}
	.menu2
	{
		display:inline;
	}
}
@media all and (max-width: 810px) 
{
	#topbar 
	{
		margin: 0px;
		height: 90px;
	}
	#topbarimage
	{
		height: 90px;
		background: #000 url(images/bestdishwashers_small.jpg) no-repeat right center;
	}
	#banneradouter
	{
		margin:0px;
		left:5px;
	}
	#bannerad
	{
		float:left;
	}
	#rightad
	{
		top:235px;
	}
}


@media all and (max-width: 764px) 
{
	#banneradouter
	{
		top:0px;
		right:0px;
		left:0px;
		margin-right:0px;
		width:inherit;
	}


/* convert right-hand column ad to banner above the footer */
	#rightad
	{
		position:relative;
		top:0px;
		left:0px;
		margin:0px;
		width:100%;
		height:101px;
		float:right;
		overflow:hidden;
	}
	#maintext
	{
		margin:10px 5px 10px 5px;
	}
}
@media all and (max-width: 486px) 
{
/* spread horizontal menu over two lines */
	#menu
	{
		height:76px;
	}
	#menu ul li
	{
		border-style:solid;
		border-color:#fff;
		border-width: 0px 0px 1px 0px;
	}
	#topbar 
	{
		height: 55px;
	}
	#topbarimage
	{
		height: 55px;
		background: #000 url(images/bestdishwashers_vsmall.jpg) no-repeat right center;
	}
/* change top banner ad to smaller size */
	#bannerad
	{
		width: 100%;
		max-width:468px;
		height:60px;
	}
	#banneradouter
	{
		height:60px;
	}
}


