/*  softCodex Sagl - www.softcodex.ch */

body{
margin:0px auto;
padding:0px;
font:79% Arial, Verdana,Tahoma,sans-serif;
background-color:#CC0000;
background-image:url(../images/bg.jpg);
background-repeat:repeat-x;
background-position:top;
color:#303030;
}

#body2 /* contenitore per il doppio sfondo al top */{
/*background-image:url(../images/bg2.jpg)!important;
background-position:top;
background-repeat:repeat-x;*/
}

#body3 /* contenitore per il doppio sfondo al bottom */{
/*background-image:url(../images/bg3.jpg);
background-position:bottom right;
background-repeat:no-repeat;*/
}

/* Contenitore esterno principale */
#wrap{
background:#FFFFFF;
color:#303030;
margin:0 auto;
width:800px;
background-image:url(../images/bg_middle.jpg);
background-position:top;
background-repeat:repeat-y;
}

/* Div al top della pagina con dentro le lingue e un eventuale extra */
.firstline{
background-image:url(../images/bg_top.jpg);
background-position:top left;
background-repeat:no-repeat;
background-color:#ffffff;
width:800px;
font-size:0.8em;
min-height: 59px;
height: auto !important;
height: 59px;
padding-top:0px;	
}

#firstline-left {
display:inline;
padding: 0px 0px 0px 5px;
float:left;
}

#firstline-left a {
color:#FFFFFF;
text-decoration:none;
}

#firstline-left a:hover {
text-decoration:underline;
}

#firstline-right {
color:#000000;
text-align:right;
padding:0px 5px 0px 0px;
}

#firstline-right a {
color:#000000;
text-decoration:none;
}

#firstline-right a:hover {
text-decoration:underline;
}

/* Header del sito */
#header{
background-image:url(../images/logo.jpg);
background-repeat:no-repeat;
background-position:top;
clear:both;
margin:0 0 0 0;
padding:0;
min-height: 145px;
height: auto !important;
height: 145px;	
}

#header h1{
width:0px;
margin:0 0 0 0;
float:left;
}

#header p{
width:400px;
float:right;
text-align:center;
color:#CC3333;
margin:0 0 10px 0;
font-size:1em;
line-height:1.2em;
background-color:inherit;
}

#header h3{
width:580px;
float:right;
text-align:center;
color:#CC3333;
margin:0 0 10px 0;
padding:20px 0px 0px 0px;
font-size:1.7em;
line-height:1.2em;
background-color:inherit;
}

/* Immagine dell'header */
#frontphoto{
margin:0 0 10px 0;
border-top:0px #000000 solid;
border-bottom:0px #000000 solid;
width:800px;
}

/* Colonna Sinistra */
#left-col {
clear:left;
float:left;
width:170px;
margin:0 0 10px 0;
padding:0;
font-size:0.9em;
}

/* Colonna Destra */
#right-col {
clear:right;
float:right;
width: 0px;    /* Mettere la larghezza che corrisponde con il right margin del contenuto*/
background-image:url(../images/bg_right.jpg);
background-repeat:repeat-x;
margin: 0 0px 0 0;
padding:0;
font-size:0.9em;
}

/************ 	M  E  N  U     V  E  R  T  I  C  A  L **************/
/* Menu principale */

#vmenu ul{	
list-style:none;
width:165px;
margin:0 0 20px 1px;
padding:0;
font-size:1.1em;
}	

#vmenu li{
margin-bottom:4px;
}

#vmenu li a{
font-weight:normal;
height:18px;
text-decoration:none;
color:#000000;
display:block;
padding:6px 0 0 10px;
background:#ffffff;
/*border-left:0px solid #cccccc;*/
}	
	
#vmenu li a:hover{
background-image:url(../images/bg_vmenu.jpg);
background-position:top left;
background-repeat:no-repeat;
background-color:#FF3333;
color: #ffffff;
}

/* Sub Menu*/

#vsubmenu{
clear:left;
width:165px;
padding:0;
font-size:0.8em;
}

#vsubmenu ul{	
list-style:none;
width:165px;
margin:1px 0 5px 0;
padding:0;
font-size:1.1em;
}	

#vsubmenu li{
margin-bottom:1px;
}

#vsubmenu li a{
font-weight:normal;
height:14px;
text-decoration:none;
color:#ff0000;
display:block;
padding:2px 0 2px 12px;
background:#FFFFFF;
/*background-image:url(../images/bg.png);
border-left:4px solid #FFFFFF;
border-right:4px solid #ffffff;*/
}	
	
#vsubmenu li a:hover{
text-decoration:underline;
color: #ff0000;
background:#FFFFFF;
border-left: 0px solid #ffffff;
}
/*****************  F  I  N  E   ******************/

/************ 	M  E  N  U     H  O  R  I  Z  O  N  T  A  L **************/
/* Menu principale */
#hmenu{
clear:left;
float:right;
margin:0 0 10px 0;
padding:15px 10px 0 0;;
font-size:0.9em;
}

#hmenu ul{	
list-style:none;
margin:0 0 20px 0;
padding:0;
font-size:1em;
}	

#hmenu li{
display:inline;
}

#hmenu li a{
font-weight:normal;
height:16px;
text-decoration:none;
color:#000000;
padding:2px 3px 0 3px;
border-left:1px solid #339966;
}	
	
#hmenu li a:hover{
color: #FFFFFF;
border-left: 1px solid #339966;
}

/* Sub Menu*/
#hsubmenu{
clear:left;
width:150px;
padding:0;
font-size:0.9em;
}

#hsubmenu ul{	
list-style:none;
width:150px;
margin:0 0 5px 0;
padding:0;
font-size:1.1em;
}	

#hsubmenu li{
margin-bottom:0px;
}

#hsubmenu li a{
font-weight:normal;
height:14px;
text-decoration:none;
color:#505050;
display:block;
padding:4px 0 0 20px;
/*background:#dedede;*/
background-image:url(../images/bg.jpg);
border-left:4px solid #FFFFFF;
border-right:4px solid #ffffff;
letter-spacing:0.1em;
}	
	
#hsubmenu li a:hover{
background:#ebe8fd;
color: #0000cc;
border-left: 4px solid #ffffff;
}
/************ 	F  I  N  E    **************/

/* Parte sotto il menu sempre a sinistra */
#extra-left{
margin:10px 0 10px 0;
padding:10px;
width:130px;
color:#505050;
background-color:#ffffff;
line-height:1.3em;
}

/* Parte sul lato destro della pagina */
#extra-right{
float:right;
width:130px;
margin:0 0 10px 0;
padding:0;
font-size:0.9em;
line-height:1.5em;
}

#extra-right p{
margin:0 0 1.5em 0;
}

/* Contenuti principali */
#content{
margin:0 0px 20px 170px;
border-left:1px solid #CC0000;
/*border-right:2px solid #33cc66;*/
padding: 5px 10px 0 10px;
line-height:1.4em;
text-align:left;
background-image:url(../images/bg_content.jpg);  /*Solo se si vuole un bg nei contenuti statici */
background-repeat:no-repeat;
background-position:right top;
min-height: 400px;
height: auto !important;
height: 400px;	
}

#content h2{
font-size:1.4em;
margin:0 0 0.5em 0;
}

#content img{
padding:1px;
display:inline;
background:#FFFFFF;
color:#303030;
border:4px solid #FFFFFF;
}

h3{
font-size:1.3em;
margin:0 0 10px 0;
}

a{
text-decoration:underline;
color:#339966;
}

a:hover{
text-decoration:underline;
color:#339966;
}

a img{
border:0;
}

#footer{
background-image:url(../images/bg_footer.jpg);
background-position:top;
background-repeat:no-repeat;
background-color:#ffffff;
clear:both;
margin:0 auto;
padding:0px 0 0px 0;
width:800px;
text-align:center;
color:#ff0000;
font-size:0.9em;
min-height: 92px;
height: auto !important;
height: 92px;
}

#footer p {
padding: 40px 0 0 0;

}
#footer a{
color:#ff0000;
text-decoration:none;
}

#footer a:hover{
text-decoration:underline;
}

.left{
margin:10px 10px 5px 0;
float:left;
}

.right{
margin:10px 0 5px 10px;
float:right;
}

.textright{
text-align:right;
}

.center{
text-align:center;
}

.small{
font-size:0.8em;
}

.bold{
font-weight:bold;
}

.hide{
display:none;
}

.login {
padding:0px 0 0px 0;
margin:0px 2px 0px 2px;
background:inherit;
}

.login table {
background:#EEEEEE;
padding:10px;
border:1px dotted #dcdcdc;
color:#808080;
}

.login table:hover {
background:#ffcccc;
padding:10px;
border:1px dotted #dcdcdc;
color:#808080;
}
.login input {
background:#FFFFFF;
font-size:0.9em;
color:#666666;
border: 1px solid #dcdcdc;
padding:1px;
}

.login #button {
border: 1px solid #DCDCDC;
}

.logout, .logout a {
color:#FFFFFF;
font-size:0.9em;
text-decoration:none;
padding: 0 0 0 3px;
}

.logout:hover {
color:#FFFFFF;
text-decoration:underline;
}

/* Rumereq login firstline
#username, #password, #button, #pass{
color:#339933;
font-size: 0.8em; 
}*/

.form {
width:600px;
}

/* Form di registrazione per Rumania */
#registrationform {
width:600px;
min-height: 750px;
height: auto !important;
height: 750px;	
}

#registrationform input, select {
/*background-color:#EEEEEE;*/
background-image:url(../images/bg_input_box.png);
border: 1px solid #CCCC99;
font-size:1em;
color:#808080;
}



#registrationform textarea {
/*background-color:#EEEEEE;*/
background-image:url(../images/bg_input_box.png);
border: 1px solid #339966;
font-size:1.2em;
color:#339966;
}

#registrationform-left {
float:left;
width:300px;
}

#registrationform-right {
width:300px;
margin:0 0 0 300px;
}

/* Alert Messages */
.alert {
	background: #fff6bf url(../images/alert.png) center no-repeat;
	background-position: 15px 50%; /* x-pos y-pos http://www.w3.org/TR/CSS21/colors.html */
	text-align: left;
	padding: 5px 20px 5px 45px;
	/*border-top: 2px solid #ffd324;
	border-bottom: 2px solid #ffd324;*/
}