/* DEFAULTS
----------------------------------------------------------*/
body {
	font-size: 12px;
	font-family: "Segoe UI", Arial, sans-serif;
	background-size: cover;
	margin: 5px;
	user-select: none; /* Prevent text selection */
	-webkit-user-select: none; /* Safari compatibility */
}

a:link, a:visited, a:active {
	color: #2c4182;
}

a:hover {
	text-decoration: none;
}

select {
	color: #000000;
	font-weight: normal;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: #9d9da1;
	background-color: #f2f2ee;
	font-family: inherit;
	padding: 2px 0 2px 0;
}

textarea, input[type=text], input[type=password] {
	color: #000000;
	font-size: inherit;
	font-weight: normal;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: #9d9da1;
	font-family: inherit;
	padding-bottom: 4px;
}

input[type=image]:hover, input[type=submit]:hover, input[type=button]:hover, button:hover {
	opacity: 0.5;
}

select:disabled, input[type=image]:disabled, input[type=submit]:disabled, input[type=button]:disabled, button:disabled {
	opacity: 0.3;
	cursor: default;
}

input[placeholder], [placeholder], *[placeholder] {
	color: #555555 !important;
}

input[type=range] {
	color: white;
	border: none;
	cursor: pointer;
}

input[type=image] {
	margin-left: 4px;
}

span.more {
	display: inline-block;
	width: 12px;
	height: 7px;
	padding-bottom: 4px;
	white-space: nowrap;
	background-color: transparent;
	background-image: url(/images/more_arrow.gif);
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center;
}

span.greenArrow {
	display: inline-block;
	width: 16px;
	height: 16px;
	white-space: nowrap;
	background-color: transparent;
	background-image: url(/images/check.png);
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center;
}

span.orangeArrow {
	display: inline-block;
	width: 16px;
	height: 16px;
	white-space: nowrap;
	background-color: transparent;
	background-image: url(/images/caution.png);
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center;
}

span.redArrow {
	display: inline-block;
	width: 16px;
	height: 16px;
	white-space: nowrap;
	background-color: transparent;
	background-image: url(/images/alert.png);
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4 {
	color: #2c4182;
	font-weight: bold;
	font-variant: small-caps;
	margin: 0;
	padding: 0;
	text-transform: none;
}

h1 {
	font-size: 1.8em;
}

h2 {
	font-size: 1.6em;
}

h3 {
	font-size: 1.1em;
}

h4 {
	font-size: 1.0em;
}

/* DATATABLE
----------------------------------------------------------*/
.dataTable {
	border: solid 1px #2c4182;
}

.dataTableAlt {
	border: solid 1px #2c4182;
}

.dataTable th {
	padding: 2px 4px 2px 4px;
	border: solid 1px #2c4182;
	background-image: linear-gradient(#5d72b5, #3e5496);
	color: #fff;
}

.dataTable td {
	background-color: #f5feff;
}

.dataTableAlt td {
	background-color: #e8fdff;
}

.dataTable th a {
	color: #fff;
	text-decoration: underline;
}

.dataTable th a:hover {
	text-decoration: none;
}

.dataTableNote {
	padding: 2px 4px 2px 4px;
	color: #ffffff;
	background-image: linear-gradient(#5d72b5, #3e5496) !important;
}

.dataTablePager td {
	padding: 4px;
	background-image: linear-gradient(#5d72b5, #3e5496);
	color: #ffffff;
}

.dataTablePager a:link {
	color: #ffffff;
	text-decoration: none;
}

.dataTablePager a:hover {
	text-decoration: underline;
}

/* DATATABLENESTED
----------------------------------------------------------*/
.dataTableNested th {
	color: #ffffff;
	padding: 2px;
	background-color: #224272;
    font-variant: small-caps;
}

.dataTableNested td {
    margin: 2px;
    background-color: #f5f6f7;
}

.dataTableAltNested td {
    margin: 2px;
	background-color: #e0e0e0;
}

/* DATATABLEVIRTUALMENU (HOMEPAGE)
----------------------------------------------------------*/

table.virtualMenu {
	padding: 4px 4px 4px 4px;
	background-color: #fff;
	border: solid 1px #2c4182;
	font-size: 1.2em;
}

td.virtualMenu {
	padding: 4px 8px 8px 8px;
	white-space: nowrap;
	background-image: linear-gradient(#5d72b5, #3e5496);
	border: solid 1px #2c4182;
	color: #fff;
}

td.virtualMenu a {
    color: #fff;
}

td.virtualMenu:hover {
    opacity: 0.5;
    cursor: pointer;
}

/* MISC
----------------------------------------------------------*/
.green, a.green {
	color: #339900;
}

.orange, a.orange {
	color: #ff9900;
}

.red, a.red {
	color: #cc3300;
}

.black {
	color: #000000;
}

.title1 {
	display: block;
	font-variant: small-caps;
	font-size: 16px;
	font-weight: bold;
	padding: 3px 5px 5px 5px;
	color: #fff;
	background-image: linear-gradient(#5d72b5, #3e5496 90%);
	border: solid 1px #2c4182;
}

.title2 {
	margin-top: 8px;
	padding: 2px 5px 4px 5px;
	font-weight: bold;
	font-size: 14px;
	white-space: nowrap;
	color: #ffffff;
	background-image: linear-gradient(#5d72b5, #3e5496 90%);
	border: solid 1px #2c4182;
}

.par1
{
	padding-top: 5px;
	font-weight: bold;	
}

.obbligatorio {
    font-weight: bold;
}

.aziendaTitolo {
	font-variant: small-caps;
	font-weight: bold;
	font-size: 14px;
	color: #cc3300;
}

.marker {
	font-family: inherit;
	font-size: inherit;
    font-weight: bold;
	background-color: #80ff00;
}

.pdf_icon {
	background: url(/images/pdf_icon.png);
	background-repeat: no-repeat;
	cursor: pointer;
	width: 32px;
	height: 32px;
	border: none !important;
}

.msword_icon {
	background: url(/images/doc_icon.png);
	background-repeat: no-repeat;
	cursor: pointer;
	width: 32px;
	height: 32px;
	border: none !important;
}

.msexcel_icon {
	background: url(/images/xls_icon.png);
	background-repeat: no-repeat;
	cursor: pointer;
	width: 32px;
	height: 32px;
	border: none !important;
}

.obbligo_titolo {
	background-color: #d9d9d9;
}

.obbligo_riferimento {
	background-color: #e8e8e8;
}

.area {
    font: inherit;
    border: 1px solid #707070;
    background-color: #e5effe;
}

/* LOADER */
.loader {
	position: fixed;
	z-index: 999;
	top: 40%;
	left: 40%;
	border: 16px solid #f3f3f3; /* Light grey */
	border-top: 16px solid #3498db; /* Blue */
	border-radius: 50%;
	width: 120px;
	height: 120px;
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}