/*----------------------------------------------------
                  APRE Partner Search - CSS File
------------------------------------------------------*/


/* Global
------------------------------------------------------*/
html,body{height:100%}
body{
/*font-family:Georgia, "Times New Roman", Times, serif;*/
font-family:Arial, "Times New Roman", Times, serif;
font-size:12px;
margin:0 auto;
padding:0;
color:#4c4c4c;
height:100%;
}
*{
margin:0;
padding:0;
}
*:focus{
outline:none; /* removes ugly dotted border but may make template more unsuable, up to you
				 if you want to keep it! */
}
.clr{clear:both}
form{
	margin:0; 
	padding:0; 
	}
fieldset{
	margin:0; 
	padding:10px 10px 20px 10px;
	border:0;
	background-color: #f5f5f5;
	border:1px solid #dedede;
}
hr{
border:0;
color:#dedede;
background-color: #dedede;
height: 1px;
margin:2px 0px 5px 0px;
padding:0px;
}
td{
	padding:5px;
	font-family:Arial, Helvetica, sans-serif;
}
tr.grey{
	background-color:#E9E9E9;
}
tr.head{
	background-color:#3159AE;
	text-transform:uppercase;
	color:#fff;
	font-size:10px;
}
.blu{font-size:16px;color:#039fe5; font-weight:bold; line-height:3px;}
.orange{color:#e58d08; font-weight:bold; margin-left:15px;}
.div-modifica h4{ color:#e58d08;}

/* Default Element Styles
------------------------------------------------------*/
/* heading */
/*h1, h2, h3, h4, h5{margin-bottom:10px; font-family: Georgia, "Times New Roman", Times, serif; font-weight:normal; color:#444444;}*/
h1, h2, h3, h4, h5{margin-bottom:10px; font-family: Arial, "Times New Roman", Times, serif; font-weight:normal; color:#444444;}
h1{font-size:28px; line-height:30px;}
h2{font-size:22px; line-height:28px; letter-spacing:1px; color:#039fe5;}
h3{font-size:18px; line-height:20px;color:#039fe5;}
h4{font-size:16px; line-height:14px;}
h5{font-size:12px; margin:3px 0px; padding:0px;letter-spacing:1px;}
h6{font-size:18px; line-height:20px; color:#e58d08; margin-bottom:15px;}
.zz {font-size:18px; line-height:20px; color:#0099cc; margin-bottom:15px;}
/* links */
a{color:#17a; text-decoration:none;}
a:visited{color:#17a; text-decoration:none;}
a:hover{color:#4ba7cc;}
a img{border:none}
.imgleft{float:left; padding:5px 12px 0px 0px;}
.imgright{float:right; padding-left:12px;}
/* lists, blockquotes and paragraphs */
p, ul, ol, blockquote{
font-size:13px;
line-height:18px;
margin-bottom:20px;
color:#4c4c4c;
font-family:Arial, Helvetica, sans-serif;
list-style:none;
margin-left: 0;
padding-left:0;
}
p.small{
font-size:11px;
line-height:18px;
color:#666;
font-family:Arial, Helvetica, sans-serif;
}
ul, ol{
margin:10px 0 35px 40px;
}
li ol, li ul{
font-size:1.0em;
list-style:square;
margin-bottom:0;
margin-top:0;
}
li ol{list-style:decimal;}
blockquote{
font-style:italic;
margin:0px;
color:#4c4c4c;
padding:0px 4px 0px 32px;
background-image:url(../images/quote.png);
background-position:0px 5px;
background-repeat:no-repeat;
}


/* code */
code
{
    /*font-family:Georgia, "Times New Roman", Times, serif;*/
font-family:Arial, "Times New Roman", Times, serif;
letter-spacing:1px;
margin:25px 0 25px 0px;
display:block;
font-size:0.9em;
border-left:4px solid #dddddd;
padding:15px 10px;
}


/* Container
------------------------------------------------------*/
#main_container{background-image:url(../images/bg-top-container.gif); background-repeat:repeat-x; background-color:#fff; min-height:82%;}
#bottom_container{background-image:url(../images/bg-container-bottom.gif); background-position:top; background-repeat:no-repeat; height:54px;}


/* Centercolumn
------------------------------------------------------*/
#centercolumn{width:960px; margin:0px auto 0px auto;}


/* Top
------------------------------------------------------*/
#top{height:125px; width:960px;}
#logo{
	width:960px;
	padding:2px 0 0 0;
	background-image:url(../images/banner2.gif);
	background-repeat:no-repeat;
	background-position:top;
	height:76px;
}
#topmenu{width:960px; float:left; height:50px;}

/* Seacrh styling */
#search-box{
	padding:10px 0px 15px 0px;
	height: 30px;
	text-align:right;
}
#search{
float:right;
width:auto;
}
#s{
/*font:12px Georgia, "Times New Roman", Times, serif;*/
font:12px Arial, "Times New Roman", Times, serif;
font-size:11px;
color:#c8c9be;
padding:3px 30px 2px 3px;
background:none;
border:1px solid #d9d9d9;
width:185px;
}
#s:focus{
border:1px solid #adacac;
color:#adacac;
}
#search .go{
position:absolute;
margin:2px 0 0 -26px;
}


/* Top Navigation bar menu styling */
#nav{
float:left;
list-style-type: none;
margin:10px 0px 0px 0px;
}
#nav li{
float:left;
border-right:1px solid #cbcbcb;
}
#nav li a:link, #nav li a:active, #nav li a:visited{
display:block;
padding:4px 20px;
text-decoration: none;
line-height: 20px;
outline: none;
text-align:left;
font-size: 16px;
color:#294a8f;
}
#nav li a:hover, #nav li.selected a{
color:#e58d08;
}
span.descmenu{
font-size:11px; 
padding:0px 20px;
color:#989797
}


/* Content
------------------------------------------------------*/
#content{width:960px;}
#maincontent{padding:10px 0px 10px 0px; float:left}
.h-line {padding:4px 0px;}

/* main */
#main{width:610px; float:left;}
#maintext{padding:0px 0px 20px 0px}
#maintext h2{margin:0px;}
#maintext h1{
	color:#e58d08;
}
#logo h1 {
	color:#294a8f;
	font-size:36px;
	margin: 23px 0 0 0;
}
#maintext_portfolio{padding:0px 0px 0px 0px}
.box-main{width:300px; float:left; padding:20px 0px 0px 0px;}
.spacer{
	width:10px;
	float:left;
	display:block;
	height:100%;
}
.icon{width:81px; height:92px; float:left;}

/* side */
#side{width:312px; margin:8px 0px 0px 38px; float:left;}
.sidebox{
padding:10px 18px 5px 18px;
margin-bottom:14px;
border-left:1px solid #d9d9d9;
border-right:1px solid #d9d9d9;
border-bottom:1px solid #d9d9d9;
}

.sidebox-top{
border-top:4px solid #294a8f;
}
.sidebox-top-red{
border-top:4px solid Red;
}
#latest-news{
padding:10px 18px 0px 18px;
margin-bottom:14px;
border-left:1px solid #d9d9d9;
border-right:1px solid #d9d9d9;
border-bottom:1px solid #d9d9d9;
}

/* scroll widget */
.scroll{
position:relative;
min-height:137px;
border:1px solid #efefef;
margin:0 0 20px 0;
background:#fff;
}
.scroll ul{
position:relative;
width:276px;
height:78px;
margin:0px;
list-style:none;
}
.scroll ul li{
width:276px;
height:78px;
margin:0;
line-height:18px;
}
.scroll ul li span{
display:block;
margin:0 0 .4em;
}
.scroll ol{
height:22px;
position:absolute;
top:0;
right:15px;
list-style:none;
}
.scroll ol li{
float:left;
}
.scroll ol a{
display:block;
width:11px;
height:22px;
margin:0 1px;
padding:0 2px;
text-indent:-9999px;
background-repeat:no-repeat;
background-position:50% 0;
}
.scroll ol li.previous a{background-image:url("../images/icon-arrow-down.gif");}
.scroll ol li.next a {background-image:url("../images/icon-arrow-up.gif");}
.scroll ol li a:hover {background-position:50% 100%; }


/* Footer
------------------------------------------------------*/
#footer{width:960px; margin:0px auto; color:#a0a0a0 !important}
#footer a, #footer a:visited{color:#a0a0a0; text-decoration:none;}
#foot a:hover{text-decoration:underline;}
#copyright-foot{
margin:0px 0px 0px 0px;
padding:20px 0px 0px 0px;
float:left;
color:#a0a0a0;
}
#rss-foot{
	width:86px;
	padding:20px 0px 0px 0px;
	float:right;
	color:#a0a0a0;
}
.valid {float:left; }
.rss-img {float:left;}

#slider1 {
    width: 960px; /* important to be same as image width */
     /* important to be same as image height */
    position: relative; /* important */
	overflow: hidden; /* important */
	border-bottom:4px solid #294a8f;
	border-top:1px solid #294a8f;
	margin-top:3px;
	padding-top:2px;
}

