/*
Theme Name: CodiciRicerche.it
Theme URI: http://www.codiciricerche.it
Description: Template per il sito Codici Ricerche
Version: 1.0
Author: Alessandro Cosci for Link Up
Author URI: http://www.programmatorephp.it
*/

/**
 * PICCOLO RESET e ELEMENTI RIUSABILI
 */
body, html {
	/*height: 100%;*/
	margin: 0;
	/*background-color: White;*/
}
* {
	margin: 0 0 0 0;
}
p {
	margin-bottom: 8px;
}
img {
	border: none;
}
a {
	text-decoration: none;
}
.clearer, .clear {
	clear: both;
}
.toLeft {
	float: left;
}
.toRight {
	float: right;
}



/**
 * FONT di BASE
 */
html, body {
	font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: #4B8296;
	font-size:12px;
}
.darker, b, strong {
	color: #004D69;
}
/* Links - A:link A:visited A:hover A:active */
a, a:visited {
	color: #004D69;
}
a:hover {
	color: #7A2A38;
}



/**
 * STRUTTURA BASE
 *  .container,
 *		(.header, .middle, .footer),
 *			(.middle.left, .middle.center, .middle.right)
 */
body {
	text-align: center; /* for container position */
	padding-top: 10px;
}
.container {
	width: 900px;
	height: 560px;
	
	text-align: left;
	margin: 0 auto;
	/*margin-top: 10px;*/
}
.header {
	width: 100%;
	height: 50px;
	overflow: hidden;
}
.middle {
	width: 100%;
}
/* middle e i suoi immediati figli left, center e right devono avere la stessa altezza */
.middle, .middle > div {
	height: 310px; /* 560px - footer(200px) - header(50px) = 310px */
}
.middle div.left {
	width: 553px; /* (.middle.Width - .middle.center/right.Width = 573px) - padding(20px) */
	height: 290px; /* 310px - padding(20px) */
	float: left;
	
	padding-top: 20px;
	padding-right: 20px;
}
.middle div.bigleft {
	width: 753px; /* (.middle.Width - .middle.center/right.Width = 573px) - padding(20px) */
	height: 290px; /* 310px - padding(20px) */
	float: left;
	
	padding-top: 20px;
	padding-right: 10px;
}
.middle div.center {
	width: 190px; /* this.width - this.padding-left */
	height: 275px; /* .middle.Height - this.marginTop = 275px */
	float: left;
	
	margin-top: 21px; /* 35px */
	padding-left: 8px;
	
	font-size: 11px;
	
	background-image: url(images/linea_a.jpg);
	background-repeat: no-repeat;
}
.middle div.right {
	width: 122px; /* this.width - this.padding-left */
	height: 275px; /* .middle.Height - this.marginTop = 275px */
	float: left;
	
	margin-top: 21px; /* 35px */
	padding-left: 7px;
	
	background-image: url(images/linea_b.jpg);
	background-repeat: no-repeat;
}
.footer {
	height: 200px;
}



/**
 * ELEMENTI VARI
 */
 
/* menu principale */

ul.menu_principale {
	margin-top: 7px;
	
	padding: 0;
}
ul.menu_principale li {
	text-transform: lowercase;
	
	display: block;
	float: left;
	margin-left: 5px;
	
	padding-left: 5px;
	border-left: 1px #004D69 solid;
	height: 10px;
	line-height: 10px;
	padding-bottom: 1px;
}
ul.menu_principale li:first-child {
	border-left: 0;
}
ul.menu_principale li a {
	/*font-weight: bold;*/
}
ul.menu_principale li a:hover {
	color: #7A2A38;
}
ul.menu_principale li.current_page_item a,
ul.menu_principale li.current_page_parent a {
	color: #7A2A38;
}

/* menu secondario */

ul.menu_secondario {
	margin-top: 20px;
	margin-left: 130px;
	
	padding: 0;
}
ul.menu_secondario li {
	text-transform: lowercase;
	
	display: block;
	float: left;
	margin-left: 5px;
	
	padding-left: 5px;
	border-left: 1px #004D69 solid;
	height: 10px;
	line-height: 10px;
	padding-bottom: 1px;
}
ul.menu_secondario li:first-child {
	border-left: 0;
}
ul.menu_secondario li a {
}
ul.menu_secondario li a:hover {
	color: #7A2A38;
}
ul.menu_secondario li.current_page_item a {
	color: #7A2A38;
}

/* small title */

.small_title {
	color: #4B8296;
}

/* .bottom_menu */

.footer div.bottom_menu {
	font-size: 10px;
	/*float: right;*/
	text-align: right;
	margin-top: 14px;
}
.footer div.bottom_menu img {
	vertical-align: middle;
}
.footer div.bottom_menu a {
	color: #4B8296;
}
.footer div.bottom_menu a:hover {
	color: #7A2A38;
}
.theme_red {
	color: #7A2A38;
}



/**
 * Elementi ad hoc per alcune pagine
 */

/* tabella dei contatti */
table.contatti,
table.contatti a {
	color: #4B8296;
}
table.contatti a:hover {
	color: #004D69;
}
table.contatti strong {
	color: #004D69;
}

/* pagina link */
.post_link span a{
	font-weight: bold;
}
.post_link p span {
	display: block;
}

/* pagina news */
.item-news{
	margin-bottom: 10px;
}
.post_news .title {
	margin-top: 28px;
}
.post_news span.description p {
	margin-bottom: 0px;
}
.post_news span.description{
	
}
.post_news a.attachment {
	font-weight: bold;
}
.post_news a:hover {

}

/* pagina progetti */

.form_progetti select {
	width: 170px;
}

.post_91 span.title b {
	color: #7FA8B5;
}

.post_91 .description p {
	margin:0;
	padding:0;
	display: inline;
}

.post_91 a.attachment {
	font-weight: bold;
}

.post_91 a.attachment:hover {
}

.post_91 form select {
	font-size: 9px;
}

/* pagina rassegna_stampa */

.post_172 span.title b {
	color: #7FA8B5;
}

.post_172 .description p {
	margin:0;
	padding:0;
	display: inline;
}

.post_172 a.attachment {
	font-weight: bold;
}

.post_172 a.attachment:hover {
}

.post_172 form select {
	font-size: 9px;
}

/* pagina testi */

.post_174 span.title b {
	color: #7FA8B5;
}

.post_174 .description p {
	margin:0;
	padding:0;
	display: inline;
}

.post_174 a.attachment {
	font-weight: bold;
}

.post_174 a.attachment:hover {
}

.post_174 form select {
	font-size: 9px;
}

/* pagina interventi */

.post_176 span.title b {
	color: #7FA8B5;
}

.post_176 .description p {
	margin:0;
	padding:0;
	display: inline;
}

.post_176 a.attachment {
	font-weight: bold;
}

.post_176 a.attachment:hover {
}

.post_176 form select {
	font-size: 9px;
}
.post_97 .container .middle .center{
	background-image: none;
}
/* pagina collaboratori */
div.colonna_collaboratori {
	width: 150px;
	float: left;
	line-height: 15px;
}
div.colonna_soci {
	padding-right: 30px;
	float: left;
	line-height: 15px;
}

.post_204 div.description_list{
	height: 200px;
	overflow: hidden;
}

.post_204 div.description_item{
	height: 200px;
}

/* pagina soci */
.post_196 div.description_list{
	height: 175px;
	overflow: hidden;
}

.post_196 div.description_item{
	height: 175px;
}

/* pagina pubblicazioni */

.post_248 .description p {
	margin:0;
	padding:0;
	display: inline;
}

.post_248 a.attachment:hover {
}


/**
 * SCROLLER
 */
.detector {
}
#detector_wraper {
	width: 498px; /* .middle.Width - #scroller.width */
	height: 275px; /* 310 - middle.paddingTop = 290 --- 280 */
	overflow: hidden;
	text-align: justify;
}
.scroller_wraper{
	width: 47px;
	height: 20px; /* 310 - middle.paddingTop = 290 - this.paddingTop = 20px*/
	
	padding-top: 270px;
	padding-left: 8px;
	
	float: left;
}
#scrollerDown {
	margin-left: 7px;
}
#scroller{
	display: none;
	overflow: hidden;
	margin-bottom: 15px;
}

/*scroller pagina larga*/
.middle div.bigleft div.detector {
}
.middle div.bigleft div#detector_wraper {
	width: 698px; /* .middle.Width - #scroller.width */
	height: 275px; /* 310 - middle.paddingTop = 290 --- 280*/
	overflow: hidden;
	text-align: justify;
}
.middle div.bigleft div.scroller_wraper{
	width: 47px;
	height: 20px; /* 310 - middle.paddingTop = 290 - this.paddingTop = 20px*/
	
	padding-top: 270px;
	padding-left: 8px;
	
	float: left;
}
.middle div.bigleft div#scrollerDown {
	margin-left: 7px;
}
.middle div.bigleft div#scroller{
	display: none;
	overflow: hidden;
	margin-bottom: 15px;
}


/**
 * Headline
 */

#headline_box {
  position: relative;
  overflow: hidden;
  height: 250px;
  width: 120px
}
.headline {
  position: absolute;
  top: 260px;
  left: 5px;
  height: 245px;
  width:110px;
}
div.right div.headline_box {
	font-size: 10px;
}
.alto{
	height: 10px;
	line-height: 10px;
}