/*  
Theme Name: Oivil 2013
Description: New personal theme for glp.oivil.eu
Version: 1.0
Author: Giorgio Partesana
Author URI: http://www.oivil.eu/
*/

body, h1, h2, h3, h4, h5, h6, address, blockquote, dd, dl, hr, p{
	margin: 0;
	padding: 0;
}

body{
	font-family: "Lucida Grande", "Trebuchet MS", verdana, sans-serif;
	font-size: 100%;
/*	font-family: "Lucida Grande", "Microsoft Sans Serif", verdana, arial, trebuchet, sans-serif;    */
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	background: #ffffff;
	color: #000000;
	position: relative;
	margin: 0;
	border:0;
    }

img{
	text-decoration: none;
	outline: none;
	}
	
h2{
	font-size: 14px;
	color: #444;
	}

p{
	font-size: 12px;
	line-height: 14px;
	color: #888;
	}

a{
	color: #444;
	text-decoration: none;
	outline: none;
	}
    
a:hover{
	color: #ff9933;
    }



#wrapper{
	margin: 40px auto 0 auto;
	width: 1016px;
	text-align: left;
	}


#fullscreen{
	position:fixed;
	left: 0;
	top: 0;
	top: 0px;
	width: 100%;
	height: 100%;
	background:url('http://oivil.eu/2013/wp-content/themes/oivil_2013_theme/graphics/line_grey90.png');
	opacity:0.4;
	filter:alpha(opacity=50); /* For IE8 and earlier */
	background-repeat:repeat;
	z-index: 1;
}


/* ------------------- Header Layout ------------------- */

#header{
	position: relative;
	left: -56px;
 	z-index: 10;

 	}

.header_img a{
	display: block;
	position: absolute; 
	float: left;
	width: 36px;
	height: 36px;
	background-color: rgba(255,255,255,0.5);
 	background-image: url('http://oivil.eu/2013/wp-content/themes/oivil_2013_theme/graphics/giphi.png');
	background-size: 36px 36px;   
 	z-index: 15;
	}

.header_img a:hover{
 	background-image: url('http://oivil.eu/2013/wp-content/themes/oivil_2013_theme/graphics/giphi_o.png');

 	z-index: 12;
	}
	
	
/* ------------------- Sidebar Layout ------------------- */

#sidebar{
	display: block;	
	float: left;
	position: relative;
	width: 966px;
	height: 15px;
	padding: 10px 15px 11px 15px;
	background-color: rgba(255,255,255,0.5);
	z-index: 30;
	}
	
/* Sidebar Layout > Categories Menu */

#cats{
	display: inline;
	float: left;
	text-align: left;
	width: 400px;
	margin: 0px; 
	padding: 0px;	
	z-index: 30;
	}	
		
#cats ul{
	margin: 0;
	padding: 0;
	list-style: none inside none;
	}	

#cats li{
	display: inline;
	padding: 0 20px 0 0; 
	}	


/* Sidebar Layout > Pages Menu */

#pages{
	display: inline;
	float: right;
	text-align: right;
	width: 300px;
	margin: 0px; 
	padding: 0 0 0 5px;
	z-index: 30;
	}	
		
#pages ul{
	margin: 0;
	padding: 0;
	list-style: none inside none;
	}		
	
#pages li	{
	display: inline;
	padding: 0 0 0 20px; 
	}



/* ------------------- Posts Preview by Category ------------------- */

.prev_container{
	display: inline;
	float: left;
	position: relative;
	width: 1016px;
	margin: 20px 0 0 0;
	padding: 0;
	text-align: justify;
	z-index: 10;
	}	


.post_prev{
	position: relative;
	float: left;
	display: block;
	width: 234px;
	height: 234px;
	margin: 0px 20px 20px 0px; 
	padding: 0;
	line-height: 0px;
/*	background-color: rgba(255,255,255,0.9);  */
	z-index: 10;
	}
	
.post_prev a{
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 234px;
	height: 234px;
	z-index: 3000;
	}	

.post_prev a:hover{
	background-color: rgba(245,245,245,0.1);
	}


.post_prev_thumb{
	width: 234px;
	height: 234px;
	z-index: 0;		
	}

.post_prev_description{
	position: absolute;
	float: bottom;
	bottom: 0;
	width: 214px;
	height: 68px;
	padding: 2px 10px 5px 10px;
	background-color: rgba(255,255,255,0.9);
	z-index: 2000;		
	}

.post_prev_description h2{  /*spazio sopra dall'imagine alla descrizione */
	margin: 7px 0 5px 0;
	font-size: 12px;
	line-height: 8px;
	z-index: 2000;		
	}

.post_prev:hover h2{
	color: #ff9933;	
	}
	
.post_prev_description p{
	font-size: 10px;
	line-height: 12px;
	text-align: justify;
	padding: 0px;
	z-index: 2000;		
	}

.post_date{
	position: absolute;
	top: 8px;
	right: 10px;
	text-align: left;
	z-index: 2000;		
	}
		


/* ------------------- Pages and Posts Display ------------------- */


#post_container{
	display: inline;
	float: left;
	position: relative;
	width: 916px;
	margin: 20px 0 40px 0;
	padding: 25px 40px 35px 40px;
	background-color: rgba(255,255,255,0.9);
	z-index: 10;
	}

.post p{
	padding: 0px;
	text-align: justify;
	}
	
.post h2{
	padding: 10px 0 20px 0px;
	}

.inpost_img{
	float: left;
	margin: 15px 0px 15px 0px;
	}

.inpost_img_left{
	float: left;
	margin: 0px 15px 15px 0px;
	}

.inpost_img_right{
	float: right;
	margin: 0 0 15px 15px;
	}

/*
.inpost_thumb{
	float: left;
	margin: 0 15px 15px 0;	
	width: 275px;
	height: 109px;
	z-index: -1;		
	}
*/



/* Media Embed Layout */

.media_embed_right{
	float: right;
	margin: 0 0 25px 25px;

	height: auto;
/*	line-height: 0;
	font-size: 0;   */
	z-index: 100;
	clear: none;
	}

	
.media_embed_left{
	float: left;
	margin: 0 25px 25px 0px;
/*	width: 660px;
	height: auto;   */
	line-height: 0;
	font-size: 0;	
	z-index: 100;
	clear: none;
	}
			
	
.media_embed_full{
	float: left;
	margin: 0 25px 25px 0px;
/*	width: 916px;
	height: auto; */
	line-height: 0;
	font-size: 0;
	z-index: 100;
	clear: none;
	}


/* ------------------- News Display ------------------- */

.sml_subscribe{
	position: absolute;
	float: right;
	width: 350px;
	right: 40px;
	top: 20px;
	}

.sml_email{
	position: absolute;
	float: right;
	right: 80px;
	top: 0;
	}
	
.sml_submit{
	position: absolute;
	float: right;
	right: 0px;
	top: 0;
	}

.sml_thankyou{
	position: absolute;
	float: right;
	right: 220px;
	top: 5px;
	}



/* -------------------------------------- Mobile/Tablet -------------------------------------- */

 
 
 
 
/*  Mobile Layout: 320px   */
@media only screen and (max-width: 767px) { 


#wrapper { 
	width: 280px;
    padding: 0;
  	margin: 20px auto 0 auto;
    }   
   
#header { 
	width: 0px;	
	float: left;
	left:0;
	top: 0px; 
    padding: 0;
	margin: 0;
	}
 
#sidebar{
	float: left;
	position: relative;
	width: 280px;
	height: 15px;
	background-color: rgba(255,255,255,0);
	padding: 0;
	}
	
/* Sidebar Layout > Categories Menu */

#cats{
	display: block;
	float: left;
	text-align: left;
	width: 235px;
	margin: 9px 0 0 41px; 
	}	
	
#cats ul{
	display: block;
	margin: 0;
	padding: 0;
	list-style: none inside none;
	}	

#cats li{
	display: inline;
    padding: 9px 13px 9px 13px;
	background-color: rgba(255,255,255,0.9);
	}	


/* Sidebar Layout > Pages Menu */

#pages{
	display: inline;
	float: right;
	text-align: right;
	width: 140px;
	margin: -18px 0 0 0; 
	}	
		
#pages ul{
	margin: 0;
	padding: 0;
	list-style: none inside none;
	}		
	
#pages li	{
	display: inline;
    padding: 9px 13px 9px 13px;
	background-color: rgba(255,255,255,0.9);
	}



/* ------------------- Pages and Posts Display ------------------- */


#post_container{
	width: 240px;
 	margin: 40px auto 20px auto;
	padding: 15px 20px 25px 20px;

	}

.post p{
	font-size: 10px;
	line-height: 12px;
	}


/* ------------------- Posts Preview by Category ------------------- */

.prev_container{
	width: 280px;
	margin: 40px auto 0 auto;
	}	

.post_prev{
	width: 280px;
	height: 280px;
	}
	
.post_prev a{
	width: 280px;
	height: 280px;
	}	

.post_prev_thumb{
	width: 280px;
	height: 280px;
	}

.post_prev_description{
	width: 260px;
	}

.sml_subscribe{
	display: none;	
	}

/* Media Embed Layout */

.media_embed_right{
	float: right;
	margin: 0 0 25px 25px;
	width: 600px;
	height: auto;
/*	line-height: 0;
	font-size: 0;   */
	z-index: 100;
	clear: none;
	}

	
.media_embed_left{
	float: left;
	margin: 0 25px 25px 0px;
/*	width: 660px;
	height: auto;   */
	line-height: 0;
	font-size: 0;	
	z-index: 100;
	clear: none;
	}
			
	
.media_embed_full{
	float: left;
	margin: 0 25px 25px 0px;
    width: 100px;
	height: auto;
	line-height: 0;
	font-size: 0;
	z-index: 100;
	clear: none;
	}
    
}

