/* generali */
body {
	font-family: arial, sans-serif;
	background-color: #ffffff;
}
h1 {
	margin: 10px 240px 0px 0px;
	padding: 0px 10px 0px 10px;
	font-size: 1.2em;
	font-weight: bold;
	color: #000000;
	text-align: left;
	text-transform: uppercase;
	border: 0px;
}
h2, h3, h4 {
	margin: 10px 0px 10px 0px;
	padding: 0px 0px 0px 0px;
	font-size: 1.1em;
	font-weight: normal;
	color: #1e7eb8;
	text-align: left;
	text-transform: uppercase;
	border: 0px;
}
h2 a, h3 a, h4 a {
	color: #1e7eb8;
}
h2 a:hover, h3 a:hover, h4 a:hover {
	color: #000000;
}

/* color */
a {
	color: #1e7eb8;
	text-decoration: none;
}
a:hover {
	color: #000000;
	text-decoration: none;
}
p {
	color: #000000;
}
.mainTable p {
	color: #000000;
}
.mainTable tbody p {
	color: #333333;
}
form p {
	color: #666666;
}
legend {
	color: #1e7eb8;
}
select, textarea, input, .fm-right, #fm-other {
	color: #000000;
}
label, .fm-left {
	color: #666666;
}

/* mainTable */
.mainTable tr:hover {
	background-color: #d2e1ea;
}

/* messaggi */
div.info, div.warning, div.danger {
	color: #666666;
}
div.info {
	background-image: url("images/info.gif");
}
div.warning {
	background-image: url("images/warning.gif");
}
div.danger {
	background-image: url("images/alert.gif");
}

/* container */
#container, .module, .module_table {
	height: 100%;
}
/* .action */
.action {
	position: relative;
	min-height: 100%;
	margin: 0px auto;
	padding: 0px 0px 50px 0px;
	border-left: 1px solid #1a1a1a;
	background: url("images/sfondo_container.png") repeat-y top right;
	background-color: #ffffff;
	box-sizing: border-box;
	overflow: auto;
}

/* header */
#header {
	position: relative;
	float: right;
	width: 238px;
	height: 90px;
	text-align: center;
	line-height: 90px;
	border-right: 1px solid #1a1a1a;
	border-left: 1px solid #1a1a1a;
	background-color: #333333;
}
#header a {
	z-index: 2;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}
#header img {
	max-width: 100%;
	max-height: 90px;
}

/* links, menubar, pathbar */
#links, #menubar, #pathbar {
	float: left;
	width: 100%;
	margin: 0px -240px 0px 0px;
}
#links #user, #menubar ul, #pathbar p, #pathbar ul {
	margin: 0px 240px 0px 0px;
	overflow: hidden;
}
/* links */
#links #user {
	height: 29px;
	line-height: 29px;
	background-color: #333333;
}
#links form, #links p {
	float: left;
	margin: 5px 0px 0px 0px;
	padding: 0px 10px 0px 10px;
	line-height: 20px;
	border-right: 1px solid #4d4d4d;
}
#links .text {
	float: left;
	width: 120px;
	margin: 0px 5px 0px 0px;
	padding: 1px 1px 1px 1px;
	color: #666666;
	background-color: #ffffff;
}
#links .submit {
	float: left;
	width: auto;
	padding: 0px 1px 0px 1px;
	color: #666666;
}
::-webkit-input-placeholder { /* WebKit browsers */
	color: #999999;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color: #999999;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color: #999999;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
	color: #999999;
}
#links p {
	color: #999999;
	font-size: 1.1em;
}
#links a {
	color: #999999;
}
#links a:hover {
	color: #d2e1ea;
}
/* menubar */
#menubar ul {
	list-style-type: none;
	height: 30px;
	border-top: 1px solid #1a1a1a;
	border-bottom: 1px solid #1a1a1a;
	background-color: #333333;padding-left: 0px;
}
#menubar a {
	float: left;
	margin: 5px 0px 0px 0px;
	padding: 0px 10px 0px 10px;
	font-size: 1.2em;
	font-weight: normal;
   text-transform: uppercase;
   color: #ffffff;
   line-height: 20px;
	border-right: 1px solid #4d4d4d;
}
#menubar a:hover, #menubar #selected a {
	color: #1e7eb8;
}
/* pathbar */
#pathbar p {
	height: 29px;
	padding: 0px 10px 0px 10px;
	font-weight: 1.1em;
	color: #666666;
	line-height: 29px;
	background-color: #e5e5e5;
}
#pathbar a {
	color: #666666;
}
#pathbar a:hover {
	color: #1e7eb8;
}
#pathbar ul {
	list-style-type: none;
	float: right;
	height: 29px;
	padding: 0px 10px 0px 10px;
	font-weight: 1.1em;
	color: #666666;
	line-height: 29px;
	background-color: #e5e5e5;
}

/* stats */
#stats {
	margin: 0px 240px 0px 0px;
	padding: 8px 10px 8px 10px;
}
#stats p {
	text-align: center;
	color: #000000;
	font-size: 1em;
}

/* footer */
#footer {
	z-index: 2;
	position: absolute;
	bottom: 22px;
	left: 0px;
	right: 0px;
	clear: both;
	height: 21px;
	margin: 0px 0px 0px 0px;
	padding: 7px 10px 0px 10px;
	border-top: 1px solid #1a1a1a;
	border-bottom: 1px solid #1a1a1a;
	border-right: 1px solid #1a1a1a;
	background-color: #333333;
	overflow: hidden;
}
#footer p {
	text-align: left;
	color: #ffffff;
	font-size: 1em;
}

/* credits */
#credits {
	z-index: 2;
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	clear: both;
	height: 18px;
	margin: 0px 0px 0px 0px;
	padding: 4px 4px 0px 4px;
	border-right: 1px solid #1a1a1a;
	background-color: #333333;
	overflow: hidden;
}
#credits p {
	text-align: right;
	color: #999999;
	font-size: 1em;
}
#credits a {
	color: #999999;
	text-decoration: underline;
}
#credits a:hover {
	color: #666666;
}

/* rightcol */
#rightcol {
	float: right;
	width: 238px;
	margin: 0px 0px 0px 0px;
	border-top: 1px solid #1a1a1a;
	border-bottom: 1px solid #4d4d4d;
	border-right: 1px solid #1a1a1a;
	border-left: 1px solid #1a1a1a;
	background-color: #333333;
	overflow: hidden;
}
#rightcol li {
	list-style-type: none;
}
#rightcol .menuTitle a {
   display: block;
	padding: 5px 5px 5px 5px;
	color: #ffffff;
	text-transform: uppercase;
   font-size: 1.2em;
   font-weight: bold;
	border-top: 1px solid #4d4d4d;
	border-bottom: 1px solid #1a1a1a;
	background-color: #333333;
}
#rightcol .menuTitle a:hover {
	color: #ffffff;
	background-color: #1a1a1a;
}
#rightcol .menuItem a {
   display: block;
	padding: 5px 5px 5px 5px;
	color: #ffffff;
	border-top: 1px solid #4d4d4d;
	border-bottom: 1px solid #1a1a1a;
}
#rightcol .menuItem a:hover {
	color: #ffffff;
	background-color: #1a1a1a;
}

/* content */
#content {
	float: left;
	width: 100%;
	margin: 0px -240px 10px 0px;
	border-top: 1px solid #cccccc;
}
.page {
	margin: 0px 240px 0px 0px;
	padding: 0px 10px 10px 10px;
	text-align: justify;
	font-size: 1em;
}

/* home */
.single, .double, .triple, .quadruple, .quintuple {
	float: left;
	width: 100%;
}
.single h2, .double h2, .triple h2, .quadruple h2, .quintuple h2 {
	margin: 10px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	font-size: 1.2em;
	font-weight: normal;
	color: #000000;
	text-align: left;
	text-transform: uppercase;
	border: 0px;
}
.single h2 a, .double h2 a, .triple h2 a, .quadruple h2 a, .quintuple h2 a {
	color: #000000;
}
.single h2 a:hover, .double h2 a:hover, .triple h2 a:hover, .quadruple h2 a:hover, .quintuple h2 a:hover {
	color: #1e7eb8;
}
.single_div, .double_div, .triple_div, .quadruple_div, .quintuple_div {
	float: left;
}
.single_div {
	width: 100%;
}
.double_div {
	width: 50%;
}
.triple_div {
	width: 33.33%;
}
.quadruple_div {
	width: 25%;
}
.quintuple_div {
	width: 20%;
}
.single_div h3, .double_div h3, .triple_div h3, .quadruple_div h3, .quintuple_div h3 {
	margin: 10px 10px 0px 0px;
	padding: 5px 0px 5px 0px;
	font-size: 1.2em;
	font-weight: bold;
	color: #000000;
	text-align: center;
	text-transform: uppercase;
	border: 1px solid #cccccc;
	background-color:	#e5e5e5;
	overflow: hidden;
}
.single h3 a, .double h3 a, .triple h3 a, .quadruple h3 a, .quintuple h3 a {
	color: #000000;
}
.single h3 a:hover, .double h3 a:hover, .triple h3 a:hover, .quadruple h3 a:hover, .quintuple h3 a:hover {
	color: #1e7eb8;
}
.single_div .content, .double_div .content, .triple_div .content, .quadruple_div .content, .quintuple_div .content {
	margin: 5px 10px 0px 0px;
	padding: 10px 0px 10px 0px;
	text-align: center;
	border: 1px solid #cccccc;
	background-color:	#f7f7f7;
}
.single_div .content_image img, .double_div .content_image img, .triple_div .content_image img, .quadruple_div .content_image img, .quintuple_div .content_image img {
	width: 80%;
}

/* dispositivi mobili */
@media only screen and (max-width: 800px) {
	/* action */
	.action {
		font-size: 0.9em;
		background: url("images/sfondo_container_160.png") repeat-y top right;
		background-color: #ffffff;
	}
	/* header */
	#header {
		width: 158px;
		height: 60px;
		line-height: 60px;
	}
	/* links, menubar, pathbar */
	#links, #menubar, #pathbar {
		margin: 0px -160px 0px 0px;
	}
	#links #user, #menubar ul, #pathbar p {
		margin: 0px 160px 0px 0px;
	}
	#pathbar {
		display: none;
	}
	#menubar ul {
		border-bottom: 0px;
	}
	/* rightcol */
	#rightcol {
		width: 158px;
	}
	/* content */
	#content {
		margin: 0px -160px 10px 0px;
	}
	h1 {
		margin: 10px 160px 0px 0px;
	}
	.page {
		margin: 0px 160px 0px 0px;
	}
	#stats {
		margin: 0px 160px 0px 0px;
	}
	/* home */
	.single, .double, .triple, .quadruple, .quintuple {
		font-size: 0.9em;
	}
}
@media only screen and (max-width: 640px) {
	/* action */
	.action {
		font-size: 0.9em;
		padding: 45px 0px 50px 0px;
		border-left: 1px solid #1a1a1a;
		border-right: 1px solid #1a1a1a;
		background: none;
		background-color: #ffffff;
	}
	/* header */
	#header {
		z-index: 2;
		position: fixed;
		top: 0px;
		left: 0px;
		float: none;
		width: 100%;
		height: 44px;
		line-height: 44px;
		text-align: left;
		border: 0px;
		border-bottom: 1px solid #1a1a1a;
		background-color: #333333;
	}
	#header a {
		z-index: auto;
		position: relative;
		width: auto;
		height: auto;
	}
	#header img {
		width: auto;
		max-height: 34px;
		padding: 5px 5px 5px 5px;
	}
	/* mobile_menu */
	#mobile_menu {
		display: block;
		z-index: 3;
	}
	#mobile_menu p {
		/*border: 0px;*/
	}
	.mobile_hidden, .mobile_hidden_rightcol {
		display: none;
	}
	/* menu a comparsa */
	#links, #pathbar {
		display: none;
	}
	#menubar, #rightcol {
		z-index: 99;
		position: fixed;
		top: 45px;
		float: none;
		width: 50%;
		max-height: calc(100% - 45px);
		margin: 0px 0px 0px 0px;
		padding: 0px 0px 0px 0px;
		border: 0px;
		overflow-y: auto;
	}
	#menubar a, #rightcol .menuTitle a, #rightcol .menuItem a {
		height: 20px;
		padding: 0px 5px 0px 5px;
		line-height: 20px;
		overflow: hidden;
	}
	#menubar {
		left: 0px;
		border-right: 1px solid #1a1a1a;
	}
	#menubar ul {
		height: auto;
		margin: 0px 0px 0px 0px;
		border: 0px;
	}
	#menubar a {
		float: none;
		display: block;
		margin: 0px 0px 0px 0px;
		color: #ffffff;
   	font-weight: bold;
   	text-transform: uppercase;
   	border-right: 0px;
		border-top: 1px solid #4d4d4d;
		border-bottom: 1px solid #1a1a1a;
		background-color: #333333;
	}
	#menubar a:hover, #menubar #selected a {
		color: #ffffff;
		background-color: #1a1a1a;
	}
	#rightcol {
		right: 0px;
		margin-right: -1px;
		border-left: 1px solid #1a1a1a;
	}
	#rightcol a img {
		margin-top: -1px;
		display: none;
	}
	/* footer */
	#footer {
		border-right: 0px;
	}
	/* credits */
	#credits {
		border-right: 0px;
	}
	/* content */
	#content {
		margin: 0px 0px 10px 0px;
		border: 0px;
	}
	h1 {
		margin: 10px 0px 0px 0px;
		padding: 0px 5px 0px 5px;
	}
	.page {
		margin: 0px 0px 0px 0px;
		padding: 0px 5px 5px 5px;
	}
	#stats {
		margin: 0px 0px 0px 0px;
	}
	/* home */
	.single, .double, .triple, .quadruple, .quintuple {
		font-size: 0.8em;
	}
	.single_div h3, .double_div h3, .triple_div h3, .quadruple_div h3, .quintuple_div h3 {
		margin: 5px 5px 0px 0px;
	}
	.single_div .content, .double_div .content, .triple_div .content, .quadruple_div .content, .quintuple_div .content {
		margin: 5px 5px 0px 0px;
		padding: 5px 0px 5px 0px;
	}
}
