/*
Theme Name: AMPmovies
Description: The AMPmovies Theme.
Version: 1.0
Author: Andrea Ravizzola
Tags: white, fixed width, two columns
*/

/*--------------------------------------------------
Author: Andrea Ravizzola

* Colors:
	- arancione / #F30 (255,51,0)
	- grigio / #8F8F8C (143,143,140)

* Fonts:
	- body: Arial, Helvetica, sans-serif
	- h1,h2,h3,h4,h5,h6: Georgia, "Times New Roman", Times, serif
--------------------------------------------------*/

/******************** reset ********************/
html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, a, abbr, acronym, address, em, img, strong, sub, sup, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body{line-height: 1;}
ol, ul{list-style: none;}
blockquote, q{quotes: none;}
/******************** reset ********************/

/******************** basic elements ********************/
body{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 20px;
	background-color: #DCDEDE;
	color: #666;
	background-image:url(images/bg-body-2.gif);
	background-repeat:repeat-x;
}
	h1,h2,h3,h4,h5,h6{font-family: Arial, Helvetica, sans-serif;font-weight: bold;}
	a{text-decoration: none;}
/******************** basic elements ********************/


/******************** generic classes ********************/
.center{text-align: center;}
.clear{clear: both;}
.hidden{display: none;}
/******************** generic classes ********************/


/******************** basic layout ********************/
div#main{margin: 0 auto;width: 940px;position: relative;}

div#header{height: 120px;}

div#content{width: 620px;float: left; padding:20px 10px 10px 10px; background-color:#FFF;}
div#sidebar{width: 260px;float: right; background-color:#FFF; padding:20px 10px;}

div#footer{clear: both;}
/******************** basic layout ********************/


/******************** header ********************/
div#header{position: relative;}
	#header h1{
		width: 255px;
		height: 35px;
		background-image: url(images/logo.gif);
		background-repeat: no-repeat;
		text-indent: -99999px;
		position: absolute;
		top: 40px;
		left: 0;
	}
		#header h1 a{display: block;width: 255px;height: 35px;}
	
	#header ul{position: absolute;top: 40px;right: 0;}
		#header ul li{
			font-size: 14px;
			line-height: 18px;
			height: 18px;
			float: left;
			display: inline;
			margin: 0 20px 0 0;
			background-color:#CCC;
			padding:5px;
		}
			#header ul li.last{margin: 0;}
			
			#header ul li a{color:#333;}
			#header ul li.active a{color: #999;}
/******************** header ********************/


/******************** content ********************/
div#content{}
	#content h2{font-size: 24px;line-height: 28px;color: #FB7D0F;}
	#content a{color: #FB7D0F;}
	
	/******************** .home ********************/
	.home{}
		.home #content{width: 940px;float: none; background-color:transparent;}
		.home #content h2{width: 620px;}
		.home #content p{font-size: 14px;line-height: 20px;width: 620px;}
		
		.home #content ul{margin: 40px 0 0 0;}
			.home #content li{width: 300px;float: left;margin: 0 20px 40px 0; background-color:#FB7D0F;}
			.home #content li:nth-child(3){margin: 0;}
			.home #content li.last{margin: 0;}
			
			.home #content div.image{}
				.home #content div.image a{display: block;}
				.home #content div.image img{display: block;margin: 0;padding: 0;}
			
			.home #content div.entry{font-size: 12px;line-height: 16px;  padding:10px;}
				.home #content h3{font-size: 18px;line-height: 22px;color: #FFF;}
					.home #content h3 a{color: #FFF;}
				.home #content div.entry p{font-size: 12px;line-height: 16px;width: 280px; color:#FFF;}
					.home #content div.entry p.more{font-size: 12px;line-height: 14px;background-color: #FFF; width: 110px; float: right; margin:0 0 10px 0;text-indent:-9999px; width:26px; height:26px;background-image:url(images/more.gif);}
						.home #content div.entry p.more a{display: block; width:26px; height:26px;}
	/******************** .home ********************/
	
	/******************** .single ********************/
	.single{}
		
		.post{margin: 0 0 20px;}
			.post h2{}
			.post .meta{margin: 0 0 20px;}
			
			.post .body{margin: 10px 0 0;font-size: 14px;}
				.post .body p{margin: 0 0 20px;}
			
			.post .postinfo{margin: 20px 0;}
				.post .postinfo h3{font-size: 18px;line-height: 22px;color: #FB7D0F;}
		
		#respond{}
	/******************** .single ********************/
	
	/******************** .archive ********************/
	.archive{}
		.archive #content{width: 640px;}
			
			.archive #content ul{margin: 20px 0 0;}
				.archive #content ul li{width: 300px;float: left;display: inline;margin: 0 20px 20px 0;}
					.archive #content ul li:nth-child(odd){clear: left;}
					.archive #content ul li.first{clear: left;}
					.archive #content ul li h3{font-size: 18px;line-height: 22px;color: #FB7D0F;width: 300px;}
					.archive #content ul li div.entry{font-size: 12px;line-height: 16px;width: 300px;}
					.archive #content ul li div.entry p{font-size: 12px;line-height: 16px;width: 300px;}
	/******************** .archive ********************/
	
	/******************** .search ********************/
	.search{}
		.search #content{width: 640px;}
			
			.search #content ul{margin: 20px 0 0;}
				.search #content ul li{width: 300px;float: left;display: inline;margin: 0 20px 20px 0;}
					.search #content ul li:nth-child(odd){clear: left;}
					.search #content ul li.first{clear: left;}
					.search #content ul li h3{font-size: 18px;line-height: 22px;color: #FB7D0F;width: 300px;}
					.search #content ul li div.entry{font-size: 12px;line-height: 16px;width: 300px;}
					.search #content ul li div.entry p{font-size: 12px;line-height: 16px;width: 300px;}
	/******************** .search ********************/
	
/******************** content ********************/


/******************** sidebar ********************/
div#sidebar{}
	
	#sidebar h3{font-size: 14px;line-height: 26px; height:26px; background-color: #FB7D0F; color:#FFF; padding:0 0 0 5px;}
	
	#sidebar ul{list-style: none;margin: 0 0 30px;padding: 0;}
		#sidebar ul ul li{font-size: 14px;line-height: 20px; padding:0 0 0 5px;}
		#sidebar a{color: #666;}
	
	div#search{position: relative;margin: 0 0 30px;}
		#search form{position: relative; width: 260px;height: 26px;}
			#search input{
				border: 1px solid #8F8F8C;
				width: 230px;
				height: 14px;
				line-height: 14px;
				font-size: 12px;
				margin: 0;
				padding: 5px 0 5px 5px;
				vertical-align: middle;
				position: absolute;
				top: 0;
				left: 0;
			}
			#search button{
				width: 30px;
				height: 26px;
				margin: 0;
				padding: 0;
				border: none;
				cursor: pointer;
				position: absolute;
				top: 0;
				right: 0;
				text-indent: -99999px;
				background-image: url(images/search.gif);
				background-position: center center;
				background-repeat: no-repeat;
				border: 1px solid #8F8F8C;
				border-left: none;
			}
				#search button:focus{margin: 0;padding: 0;}
/******************** sidebar ********************/


/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */



/* Begin Form Elements */
.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */







/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}


	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}


a img{border: none;}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */
