/*
Theme Name: GrayExtremeMag Theme
Author: WPCorner.com
Author URI: http://www.wpcorner.com/
*/

* {
	margin: 0; padding: 0;
}
body {
	text-align: center;
	font: 12px Verdana;
	color: #2E3337;
	background: #E4E4E4 url(/images/scratchcardsbg5.gif) repeat-x 0 0;
}
a {
	color: #807f7f;
}
a:hover {
	text-decoration: none;
	color: #ff0000;
}
img {
	border: 0;
}

.break {
	font-size: 0;
	width: 0; height: 0;
	clear: both;
}
.alignleft {
	float: left;
	margin: 4px 10px 5px 0;
}
.alignright {
	float: right;
	margin: 4px 0 5px 10px;
}
.aligncenter {
	text-align: center;
}
.hidden {
	display: none;
}

/** BEGIN wrapper **/
.wrapper {
	width: 935px;
	margin: auto auto;
	text-align: left;
}
/** END wrapper **/

/** BEGIN main **/
#main {
	padding-bottom: 15px;
}
/** END main **/

	/** BEGIN header **/
	#header {
		height: 132px;
	}
		#header ul {
			clear: both;
			list-style-type: none;
		}
			#header ul li {
				float: left;
			}
		#header h1 {
			clear: both;
			text-transform: uppercase;
			font-size: 2.4em;
			padding: 32px 0;
		}
		
		#header p {
			clear: both;
			text-transform: uppercase;
			font-size: 2.4em;
			padding: 15px 0 12px 0;
			background-image:url(/images/flags-bg4.jpg);
			background-repeat:no-repeat;
			background-position:bottom right;
		}
			#header h1 a {
				color: #ffffff;
				text-decoration: none;
			}
		#header .pages {
			height: 30px;
			overflow: hidden;
		}
			#header .pages li {
				font-size: 0.9em;
				text-transform: uppercase;
				font-weight: bold;
				padding: 9px 25px 9px 0;
			}
			#header .pages li a {
				text-decoration: none;
				color: #ffffff;
			}
			#header .pages li a:hover {
				text-decoration: underline;
			}
		#header .categories {
			height: 45px;
			overflow: hidden;
		}
			#header .categories li {
				font-size: 0.9em;
				text-transform: uppercase;
				font-weight: bold;
				padding: 5px 30px 5px 0;
			}
			#header .categories li a {
				color: #2E3337;
				text-decoration: none;
			}
			#header .categories li a:hover {
				color: #26759A;
				text-decoration: underline;
			}
			#header ul.categories li ul.children {
				display:none;
			}
			
	/** END header **/
	
	/** BEGIN content **/
	#content {
		width: 580px;
		float: left;
		padding-top: 15px;
	}
		#content .featured {
			margin-bottom: 15px;
			background-color: #ffffff;
			padding:15px;
			position: relative;
		}
		#content .featured h3 {
			position: absolute;
			top: 5px; left: -14px;
			background: url(images/date.gif) no-repeat 0 0;
			font-size: 0.9em;
			text-transform: uppercase;
			color: #ffffff;
			font-family: Verdana;
			width: 98px; height: 28px;
			text-align: center;
			padding-top: 8px;
			z-index: 99;
		}
		#content .featured .buffer {
			width: 550px; height: 250px;
			overflow: hidden;
		}
			#content .featured img {
				width: 550px;
				z-index:1;
			}
			#content .featured .main {
				width: 550px;
				height: 250px;
				overflow: hidden;
				position: relative;
			}
				#content .featured .main .text {
					position: absolute;
					bottom: 0;
					padding: 10px;
					color: #ffffff;
					font-family: Arial;
					background: url(/images/shade2.png);
					width: 530px;
					z-index:999;
				}
					#content .featured .main .text h2 {
						font-size: 2.5em;
						margin-bottom: 5px;
					}
						#content .featured .main .text h2 a {
							color: #ffffff;
							text-decoration: none;
						}
					#content .featured .main .text p {
						line-height: 1.6em;
					}
		

		#content .post {
			width: 250px;
			float: right;
			background-color: #ffffff;
			padding: 15px;
			margin-bottom: 15px;
			font-family: Arial;
			position: relative;
			min-height:170px;
/*			height:303px;
*/		}
		#content .homepage {
			height:	290px;
		}
			#content .l {
				float: left;
/*				clear: both;
*/			}
			#content .post h2 {
				font-size: 1.6em;
				margin-bottom: 5px;
				padding: 0 0px;
			}
				#content .post h2 a {
					color: #222222;
					text-decoration: none;
				}
				#content .post h2 a:hover {
					text-decoration:underline;
				}
			#content .post .continue {
/*				text-align: right;
				font-family: Verdana;
				margin-top: 10px;
				padding: 0 10px;*/
				position: absolute;
				bottom: 5px; right: -24px;
				background: url(/images/continue-button.gif) no-repeat 0 0;
				font-size: 0.9em;
				text-transform: uppercase;
				color: #ffffff;
				font-family: Verdana;
				width: 98px; height: 30px;
				text-align: left;
				padding: 6px 0 0 10px;
				font-weight:bold;
				
			}
				#content .post .continue a {
					text-decoration: none;
					font-size: 0.9em;
					text-transform: uppercase;
					color: #ffffff;
				}
				#content .post .continue a:hover {
					text-decoration:underline;	
				}
			#content .post p {
				line-height: 1.6em;
				color: #89898C;
				padding: 0 0px;
			}
			.thumb {
				padding: 5px;
				border: 1px solid #eeeeee;
				margin-bottom: 10px;
			}
				.thumb a {
					display: block;
					width: 238px; height: 105px;
					overflow: hidden;
				}
			#content .post h3, h3.speacial-h3 {
				position: absolute;
				top: 10px; left: -14px;
				background: url(images/date.gif) no-repeat 0 0;
				font-size: 0.9em;
				text-transform: uppercase;
				color: #ffffff;
				font-family: Verdana;
				width: 98px; height: 29px;
				text-align: center;
				padding-top: 7px;
			}
			h3.speacial-h3 {
				background: url(/images/rated-bg.gif) no-repeat 0 0;
				width: 130px;
			}
			
			#content .lists h3 {
				position:static;
				background:none;
				font-family:Arial, Helvetica, sans-serif;
				font-size:14.4px;
				width:auto;
				height:auto;
				text-transform:none;
				text-align:left;
				padding:10px 10px 0px 10px;
			}
			#content .lists ul {
				margin:	0 0 0 20px;
				
			}
			
		#content .postnav {
			clear: both;
			padding: 20px 0;
			text-transform: uppercase;
			font-size: 0.9em;
			font-weight: bold;
		}
			#content .postnav a {
				text-decoration: none;
			}
	/** END content **/
	
	/** BEGIN sidebar **/
	#sidebar {
		width: 340px;
		float: right;
		padding-top: 15px;
		border-bottom:1px solid #CCCCCE;
	}
		#sidebar .box {
			background-color: #FAFAFA;
			border-width: 1px 1px 0;
			border-style: solid;
			border-color: #CCCCCE;
			padding: 15px;
		}
			#sidebar .box h2 {
				font-size: 0.9em;
				text-transform: uppercase;
				margin-bottom: 10px;
				line-height:0.9em;
			}
			#sidebar .box h2 a {
				color:#2E3337;
				text-decoration:none;
			}
			#sidebar .box h2 a:hover {
				text-decoration:underline;
				color:#FF0000;
			}
			#sidebar .box .ads {
				text-align: center;
			}
				#sidebar .box .ads img {
					margin: 5px;
				}
			#sidebar .box form {
				width: 296px; height: 36px;
				background: url(images/search.gif) no-repeat 0 0;
				margin-bottom: 0px;
			}
				#sidebar .box form input {
					border: 0;
					background-color: transparent;
					width: 285px;
					margin: 10px 5px 0;
				}
				#sidebar .box form button {
					display: none;
				}
			#sidebar .box ul {
				list-style-type: none;
			}
				#sidebar .box ul li {
					line-height: 1.6em;
					padding: 5px 0;
				}
				#sidebar .box ul li a {
					font-weight: normal;
				}
		#sidebar .divided {
			background-color: #FAFAFA;
			border: 1px solid #CCCCCE;
		}
			#sidebar .divided .l {
				float: left;
				width: 130px;
				padding: 15px;
			}
			#sidebar .divided .r {
				float: right;
				width: 130px;
				padding: 15px;
			}
			#sidebar .divided h2 {
				font-size: 0.9em;
				text-transform: uppercase;
				margin-bottom: 10px;
			}
			#sidebar .divided ul {
				list-style-type: none;
				margin-bottom: 20px;
			}
				#sidebar .divided ul li {
					line-height: 1.6em;
					padding: 5px;
				}
				#sidebar .divided ul li a {
					color: #222222;
					text-decoration: none;
				}
				#sidebar .divided ul li a:hover {
					text-decoration: underline;
					color: #496A72;
				}
	/** END sidebar **/

/** BEGIN middle **/
#middle {
	clear: both;
	background-color: #5e5e5e;
	color: #ffffff;
	padding: 15px 0 5px 0;
}
	#middle h2 {
		font-size: 1.1em;
		text-transform: uppercase;
		margin-bottom: 20px;
	}
	#middle h2 a {
		color:#FFFFFF;
		text-decoration:none;
	}
	#middle h2 a:hover {
		text-decoration:underline;
	}
	#middle .flickr {
		float: left;
		width: 280px;
	}
		#middle .flickr h2 {
			padding-left: 0px;
		}
		#middle .flickr img {
			margin: 7px;
			border: 5px solid #ffffff;
		}
		#middle .flickr ul {
			list-style-type: none;
		}
			#middle .flickr ul li {
				font-weight: bold;
				line-height: 1.6em;
				padding: 2px 0;
				font-family: Arial;
			}
			#middle ul li a {
				
			color:#CCC;	
				
			}
	#middle .tags {
		float: left;
		width: 275px;
		margin: 0 30px 0 15px;
	}
		#middle .tags .tagcloud {
			margin-bottom: 30px;
		}
		#middle .tags .tagcloud a {
			color: #ffffff;
			text-decoration: none;
		}
		#middle .tags .tagcloud a:hover {
			color: #26759A;
		}
		#middle .tags p {
			line-height: 1.6em;
			margin-bottom: 10px;
			font-family: Arial;
		}
	#middle .recent {
		float: left;
		width: 230px;
	}
		#middle .recent ul {
			list-style-type: none;
		}
			#middle .recent ul li {
				font-weight: bold;
				line-height: 1.6em;
				padding: 2px 0;
				font-family: Arial;
			}
/** END middle **/

/** BEGIN footer **/
#footer {
	background-color: #414040;
	color: #ffffff;
	font-size: 0.9em;
	padding: 15px 0;
}
	#footer .l {
		float: left;
	}
	#footer .r {
		float: right;
	}
	#footer a {
		color: #ffffff;
		text-decoration: none;
	}
/** END footer **/

/** BEGIN miscellaneous **/
#content .single {
	background-color: #ffffff;
	padding:5px 15px;
	margin-bottom: 15px;
	font-family: Arial;
	position:relative;
}

	#content .single .homepage-news {
		
		position: absolute;
		top: 5px; left: -14px;
		background: url(/images/latest-news.gif) no-repeat 0 0;
		font-size: 0.9em;
		text-transform: uppercase;
		color: #ffffff;
		font-family: Verdana;
		width: 210px; height: 28px;
		text-align: center;
		padding-top: 8px;
		z-index: 99;	
		
	}
	
	#content .single-news {
		padding-top:44px;
	}
	#content .single a {
		text-decoration:none;	
	}
	#content .single p a {
		text-decoration: underline;
	}
	#content .single h1 {
		font-size: 2em;
		margin-bottom: 10px;
	}
	#content .single h2 {
		/*font-size: 2em;*/
		margin-bottom: 10px;
	}
	#content .single p {
		line-height: 1.5em;
		margin-bottom: 10px;
	}
	#content .single ul, #content .single ol {
		list-style-position: inside;
		margin-bottom: 10px;
	}
	#content .single li {
		line-height: 1.5em;
		padding: 2px 0;
	}
	#content .single blockquote {
		padding: 10px 10px 5px;
		margin-bottom: 10px;
		background-color: #eeeeee;
		border-width: 1px 0;
		border-style: solid;
		border-color: #eeeeee;
	}
	#content .single h3, #content .single h4, #content .single h5, #content .single h6 {
		font-size: 1.2em;
		margin-bottom: 5px;
	}
	#content .single h3 a {
		color:#000;	
	}
	#content .single h3 a:hover {
		color:#666;	
		text-decoration:underline;
	}
#comments-box {
	padding-top: 40px;
}
	#comments-box a {
		text-decoration: none;
	}
	#comments-box h2 {
		font-size: 1.5em !important;
	}
	#comments-box p {
		margin-bottom: 10px;
		line-height: 1.6em;
	}
	#comments-box .children li {
		padding: 10px;
	}
	#comments-box form {
		
	}
	#comments-box form p {
		margin-bottom: 5px;
	}
		#comments-box form input {
			margin-right: 5px;
		}
		#comments-box form input, textarea {
			border: 1px solid #e0e0e0;
			font-size: 0.9em;
			font-family: Verdana;
			padding: 4px;
			background-position: 4px 4px;
			background-repeat: no-repeat;
		}
		#comments-box form input {
			width: 240px;
			border: 1px solid #e0e0e0;
		}
		#comments-box form textarea {
			width: 350px;
			padding: 4px 4px !important;
			border: 1px solid #e0e0e0;
		}
		#comments-box form button {
			border: 1px solid #a0a0a0;
			font-size: 1em;
			font-family: Verdana;
			padding: 2px 6px;
		}
	.commentdetails {
		margin-top: 25px;
	}
	.commentauthor {
		margin-bottom: 5px !important;
		font-weight: bold;
	}
	.commentdate {
		font-size: 0.8em;
		margin-bottom: 5px;
		color: #909090;
	}
	.required {
		color: #ff0000;
	}
h2.title {
	font-size: 1em !important;
	text-transform: uppercase;
	margin-bottom: 15px;
	color: #565656;
}
.notfound {
	padding: 40px;
}
	.notfound h2 {
		font-size: 18px;
		font-weight: normal;
		margin-bottom: 10px;
	}

/** END miscellaneous **/

/** BEGIN wordpress 2.7 comments **/
#comments-box ol {
	list-style-type: none;
	clear: both;
	padding: 0;
	margin: 0;
}
	#comments-box .buffer {
		padding: 10px;
	}
	#comments-box ol li {
		margin-bottom: 10px;
	}
	#comments-box ol li ul li {
		border: 1px solid #eeeeee;
		padding: 10px;
	}
	#comments-box ol li .avatar {
		float: right;
	}
	#comments-box ol li .comment-author {
		
	}
		#comments-box ol li .comment-author .fn {
			font-weight: bold;
			font-size: 1.2em;
		}
	#comments-box ol li .comment-meta {
		font-size: 0.9em;
		color: #999999;
		margin: 5px 0 10px;
	}
	#comments-box ol li .reply {
		font-size: 0.9em;
		font-weight: bold;
		padding-bottom: 10px;
	}
	#comments-box .children {
		list-style-type: none;
	}
#comments-box .navigation {
	padding: 0 0 40px;
	font-size: 0.9em;
}
	#comments-box .navigation a {
		color: #999999;
		padding: 3px 8px;
		border: 1px solid #eeeeee;
	}
	#comments-box .navigation a:hover {
		color: #000000;
		border-color: #000000;
		text-decoration: none;
	}
#comments-box .says {
	display: none;
}
/** END wordpress 2.7 comments **/


/* Additions */
.align-center {text-align:center; font-size:1em;}

.thumb2 {
	padding: 5px;
	border: 1px solid #eeeeee;
	margin-right:10px;
	float:left;
}

.thumb2 a {
	display: block;
	width: 245px; height: 105px;
	overflow: hidden;
}
			
#content .site-list {
	width:550px;
	height:117px;
	padding:15px;
}

#content .site-list h2 {
	line-height:1em;	
	margin-bottom:5px;
}
#content .site-list p {
	margin-bottom:0;
}

span.single-top-image1 {
	float:right; margin:0 0 5px 5px;
	border:1px solid #EEEEEE;
	padding:5px;
	text-align:center;
}
span.single-top-image2 {
	position:absolute;
	top:45px;
	right:15px;
	border:1px solid #EEEEEE;
	padding:5px;
	text-align:center;
}
.geoad120 {
 float:left;
 margin:0 14px 0 14px;
	
}
#sidebar .box .ads img {
	margin:0;	
}
span.link-text {
	line-height:20px;
	color:#000;
	font-weight:bold;
	
}
hr.news-divider {
	margin:-5px 0 5px 0;
	border:none;
	border-bottom:1px solid #CCC;
}
hr.news-divider2 {
	margin:10px 0 15px 0;
	border:none;
	border-bottom:1px solid #CCC;
}
span.single-top-image2 {
	display:none;	
}
.lists ul {
	list-style:square;
}
.booktaskbutton a {
	text-decoration:none !important;
}
.booktaskbutton {
	border:1px solid #CCC;
	padding:5px;

}
.taskbuttoncontainer {
	margin-top:15px;	
}
.details-date {
	color:#999;	
	margin-bottom:0 !important;
}
.topad {
	margin-top:0;
}
.botad {
	margin-bottom:0;
}
.leftad {
	position:absolute;
	top:15px;
	left:15px;
}
.rightad {
	position:absolute;
	top:15px;
	right:15px;
}
.titleonly h1, .titleonly p {
	margin-bottom:0 !important;
}
#adverts1,#adverts2 {
	position:relative;
	height:125px;
}