#page{
	/* The main container div */
	width:500px;
	margin:0;
	padding:0;
}

#searchForm{
	/* The search form. */
	margin:0;
	padding:0;
	background-color:#234864;
	padding:20px;
	position:relative;

	-moz-border-radius:16px;
	-webkit-border-radius:16px;
	border-radius:16px;
}

fieldset{
	margin:0;
	padding:0;
	border:none;
}

#searchInputContainer{
	/* This div contains the transparent search box */
	margin:0;
	padding:0;
	width:420px;
	height:36px;
	background:url("img/searchBox.png") no-repeat;
	float:left;
	margin-right:12px;
}

#s{
	/* The search text box. */
	
	margin:0;
	padding:0;
	border:none;
	/*color:#888888;*/
	background:url("img/searchBox.png") no-repeat;
	
	float:left;
	font-family:Arial,Helvetica,sans-serif;
	font-size:15px;
	height:36px;
	line-height:36px;
	margin-right:12px;
	outline:medium none;
	padding:0 0 0 35px;
	text-shadow:1px 1px 0 white;
	width:330px;
}

/* The UL that contains the search type icons */

.icons{
	margin:0;
	padding:0;
	list-style:none;
	margin:10px 0 0 335px;
	height:19px;
	position:relative;
}

.icons li{
	margin:0;
	padding:0;
	background:url("img/icons.png") no-repeat;
	float:left;
	height:19px;
	text-indent:-9999px;
	cursor:pointer;
	margin-right:5px;
}

/* Styling each icon */

li.web{ 	margin:0;
	padding:0;
width:15px;}
li.web.active,
li.web:hover{background-position:left bottom;}

li.images{ 	margin:0;
	padding:0;
width:22px; background-position:-18px 0;}
li.images.active,
li.images:hover{background-position:-18px bottom;}

li.news{ 	margin:0;
	padding:0;
width:14px; background-position:-44px 0;}
li.news.active,
li.news:hover{background-position:-44px bottom;}

li.videos{ 	margin:0;
	padding:0;
width:17px; background-position:right 0;}
li.videos.active,
li.videos:hover{background-position:right bottom;}

span.arrow{
	/* The little arrow that moves below the icons */
	
	margin:0;
	padding:0;
	width:11px;
	height:6px;
	margin:21px 0 0 5px;
	position:absolute;
	background:url('img/arrow.png') no-repeat;
	left:0;
}


/* The submit button */


#submitButton{
	margin:0;
	padding:0;
	background:url('img/buttons.png') no-repeat;
	width:83px;
	height:36px;
	text-indent:-9999px;
	overflow:hidden;
	text-transform:uppercase;
	border:none;
	cursor:pointer;
}

#submitButton:hover{background-position:left bottom;}


/* The Search tutorialzine.com / Search the Web radio buttons */


#searchInContainer{
	margin:0;
	padding:0;
	float:left;
	margin-top:12px;
	width:330px;
}

label{
	margin:0;
	padding:0;
	color:#DDDDDD;
	cursor:pointer;
	font-size:11px;
	position:relative;
	right:-2px;
	top:-2px;
	margin-right:10px;
	white-space:nowrap;
	/*float:left;*/
}

input[type=radio]{
	margin:0;
	padding:0;
	cursor:pointer;
	/*float:left;*/
}


/* Styling the search results */


#resultsDiv{
	margin:0;
	padding:0;
font-size: 13px;
color: #666;
font-family: Arial, Helvetica, sans-serif;
position: absolute;
width: 490px;
left: 50%;
margin-left: -30px;
padding-top: 30px;
background: #FFF;
top: 106px;
border: 5px solid #234864;
display:none;
z-index:1000;
}

#closeRDiv{
	margin:0;
	padding:0;
float: right;
margin: -25px 20px;
font-weight: bold;
cursor:pointer; 
}

.overlayall{
	margin:0;
	padding:0;
width: 100%;
height: 100%;
background: rgba(100,100,100,0.7);
position: absolute;
top: 0px;
left: 0px;
z-index:100;
display:none;
}

.pageContainer{
	/* Holds each page with search results. Has an inset bottom border. */
	margin:0;
	padding:0;
	border-bottom:1px solid #5e7481;
	margin-bottom:50px;
	
	/* Adding a dark bottom border with box shadow */
	
	-moz-box-shadow:0 1px 0 #798e9c;
	-webkit-box-shadow:0 1px 0 #798e9c;
	box-shadow:0 1px 0 #798e9c;
}


p.notFound{
	margin:0;
	padding:0;
	text-align:center;
	padding:0 0 40px;
}


/* Web & news results */


.webResult{	margin:0;
	padding:0;
margin:0 10px 20px 10px;}
.webResult h2{ 
		margin:0;
	padding:0;
background-color:#234864;
	font-size:18px;
	font-weight:normal;
	padding:8px 20px;
	margin-bottom:0;
	
	/* Applying CSS3 rounded corners */
	-moz-border-radius:18px;
	-webkit-border-radius:18px;
	border-radius:18px;
}
.webResult h2 b{ 	margin:0;
	padding:0;
color:#fff; }
.webResult h2 a{ 	margin:0;
	padding:0;
color:#eee;border:none;}
.webResult p{ 	margin:0;
	padding:0;
line-height:1.5;padding:15px 20px; margin-bottom:0;}
.webResult p b{ 	margin:0;
	padding:0;
color:#666;}
.webResult > a{ 	margin:0;
	padding:0;
margin-left:20px;}


/* Image & video search results */


.imageResult{
	margin:0;
	padding:0;
	float:left;
	height:180px;
	margin:0 0 20px 40px;
	text-align:center;
	width:152px;
	overflow:hidden;
}
.imageResult img{ 	margin:0;
	padding:0;
display:block;border:none;}
.imageResult a.pic{
	margin:0;
	padding:0;
	border:1px solid #fff;
	outline:1px solid #777;
	display:block;
	margin:0 auto 15px;
}

/* The show more button */

#more{
	margin:0;
	padding:0;
	width:83px;
	height:24px;
	background:url('img/more.png') no-repeat;
	cursor:pointer;
	margin:40px auto;
}

#more:hover{background-position:left bottom;}



/* Giving Credit */

p.credit{
	margin:0;
	padding:0;
	margin:20px 0;
	text-align:center;
}

p.credit a{
	margin:0;
	padding:0;
	background-color:#4B5A64;
	border:1px solid;
	border-color:#3D4D57 #788E9B #788E9B #3D4D57;
	color:#c0d0d8;
	font-size:10px;
	padding:4px 8px;
	text-shadow:1px 1px 0 #38464F;
}

p.credit a:hover{
	background-color:#38464f;
	border-color:#38464f #788E9B #788E9B #38464f;
}

#resultsDiv a, #resultsDiv a:visited {
	text-decoration:none;
	outline:none;
	border-bottom:1px dotted #97cae6;
	color:#97cae6;
}

#resultsDiv a:hover{
	border-bottom:1px dashed transparent;
}

.clear{
	clear:both;
}