﻿/*
	HTML styles
*/

/* ReSharper disable CssBrowserCompatibility */

*
{
    font-family: "Segoe UI", Arial, sans-serif;
}

body
{
	background-color: #fff;
	color: #333;
	font-weight: normal;
}

a:link
{
	color: #000080;
	font-weight: bold;
}

img
{
	border: 0;
}

h1
{
	display: none;
}

h1 span
{
	display: none;
}

h2
{
    color: #26298F;
    font-size: 18pt;
}

h3
{
	color: #5D55B7;
	font-variant: small-caps;
	font-size: 12pt;
	font-weight: bold;
	margin-top: 6pt;
}

p
{
	text-align: left;
}

div
{
	text-align: left;
}


/*
	Parts
*/

#header
{
	display: none;
}

#footer
{
    border-top: solid 1px #D4D4D4;
	margin-top: 32px;
	padding-top: 8px;
}

#busy
{
	background-color: #fff;
	border: solid 2px #1D1B6F;
	-ms-border-radius: 15px;
	border-radius: 15px;
	color: #1D1B6F;
	/*display: none;*/
	font-size: x-large;
	left: 25%;
	margin: 0 auto 0 auto;
	padding-bottom: 48px;
	padding-top: 48px;
	position: absolute;
	text-align: center;
	top: 25%;
	width: 50%;
	z-index: 9999999;
}


/*
	Forms
*/

div.submit
{
	margin-bottom: 8px;
	margin-top: 8px;
}

form label.field
{
	float: left;
	font-weight: bold;
	display: block;
	width: 200px;
}

form input, form textarea, form select
{
	background-color: #fff273;
}

form input:not([disabled]), form textarea:not([disabled]), form select:not([disabled])
{
	background-color: #fff273;
}

form input:not([readonly]), form textarea:not([readonly]), form select:not([readonly])
{
	background-color: #fff273;
}

form input:disabled, form textarea:disabled, form select:disabled
{
	background-color: #eee;
}

form input[readonly='readonly'], form textarea[readonly='readonly'], form select[readonly='readonly']
{
	background-color: #eee;
}

form input.imported
{
	background-color: green;
	color: white;
}

form input.important, form select.important
{
	background-color: #dfd200;
}

input[type="submit"]
{
	height: 30px;
}

input[type=text]::-ms-clear {
    display: none;
}

div#searchform
{
	border: solid 2px #5F9EA0;
	padding: 10px 10px 10px 10px;
	margin: 10px 10px 10px 10px;
}

DIV.form span.field
{
	display: block;
	font-weight: bold;
	width: 200px;
}

form.pagerForm
{
	padding: 0;
	margin: 0;
	text-align: center;
	vertical-align: middle;
}

form.pagerForm select
{
	background-color: #fff;
	color: #5d55b7;
	width: 100px;
}

form.form-small
{
	font-size: 8pt;
}

form.form-small input[type='text']
{
	font-size: 8pt;
}


/*
	Tables
*/

table
{
	font-size: 9pt;
}

table td.act
{
	text-align: center;
    white-space: nowrap;
}

table td.main
{
	width: 100%;
}

table caption
{
    text-align: right;
}

table.table-fixed
{
	table-layout: fixed;
}

table.table-fixed thead
{
	display: block;
	margin: 0;
}

table.table-fixed tbody
{
	display: block;
	height: 100px;
	overflow: auto;
}

table td.permessoExpired
{
	background-color: #000000;
	color: #FFFFFF;
	font-weight: bold;
}

table td.permessoAlertRed
{
	background-color: Red;
}

table td.permessoAlertYellow
{
	background-color: Yellow;
}

table tr.permessoGrid:hover td
{
	color: #000000;
}

table td.highlight {
    background-color: #ff9;
}


div.table
{
	border: solid 1px #e8eef4;
	border-collapse: collapse;
	clear: both;
	font-size: 9pt;
	margin-bottom: 4px;
	width: 100%;
}

div.table div.block
{
	clear: both;
}

div.table div.block label
{
	display: block;
	float: left;
	width: 150px;
}

DIV.note
{
	margin-right: 3px;
	width: auto;
	height: 50px;
	line-height: 50px;
	clear: both;
	float: left;
}

.errorListItem
{
	margin-left: 30px;
	padding-left: 30px;
}

div.box
{
	border: solid 1px #5f9ea0;
	padding: 4px;
	-ms-border-radius: 2px;
	border-radius: 2px;
	margin: 2px;
}


/*
	JQuery
*/

.ui-datepicker
{
	z-index: 1100;
}

.ui-autocomplete
{
	height: 140px;
	overflow: auto;
	z-index: 1100;
}

.ui-tabs .ui-state-disabled {
	display: none; /* disabled tabs don't show up */
}


/*
	EditCommessa
*/

.larghezza_fissa
{
	width: 400px;
}

.larghezza_fissa_mini
{
	width: 250px;
}

/*
	Backward compatibility
*/

.block
{
	clear: both;
	font-size: 9pt;
}

.block .field
{
	float: left;
	font-size: 9pt;
	font-weight: bold;
	margin-right: 4pt;
	width: auto;
}


/*
	Bootstrap
*/

.accordion-large {
    background-color: #afeeee;
    background-image: url('../Img/bgAccordion.png');
    background-repeat: no-repeat;
    background-position: right bottom;
}

.accordion-heading a
{
    font-weight: bold;
}

a.btn
{
	color: #000;
	font-weight: normal;
}

a.btn-danger, a.btn-primary, .btn-primary, .btn-success
{
	color: #fff;
}

.btn-wide {
    width: 140px;
}

/*
	JQuery
*/

.ui-dialog
{
	z-index: 99;
}

.dateTextBox
{
	width: 80px
}

.timeTextBox
{
	width: 60px
}

.ui-timepicker-trigger
{
	background: url('../Fw/jquery/images/ui-icons_222222_256x240.png') -80px, -96px;
	border: dotted 1px #99c;
	color: #9cc;
	cursor: pointer;
	display: inline-block;
	height: 20px;
	width: 20px;
}

.ui-timepicker-trigger span
{
	display: none;
}

/*
	NavBar
*/

a.brand small {
    text-transform: uppercase;
}

a.brand small.dev {
    color: gray;
}

.navbar div.dev {
    background-color: #ddd;
    background-image: none;
}

a.brand small.beta {
    color: maroon;
}

.navbar div.beta {
    background-color: #fdd;
    background-image: none;
}

a.brand small.staging {
    color: green;
}

.navbar div.staging {
    background-color: lightgoldenrodyellow;
    background-image: none;
}

a.brand small.rtm {
    display: none;
}


/*
    Clipboard
*/

.copy-on-click:after {
    content: '\1F4CB';
    font-size: larger;
    font-style: normal;
    text-decoration: none;
}


/*
    Additional styles
*/

.center {
    text-align: center !important;
}

.flag-link {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 30px;
    display: inline-block;
    height: 30px;
    width: 30px;
}

.flag-link span {
    display: none;
}

.flag-link[data-value='True'] {
    background-image: url("../Img/check-true.png");
}

.flag-link[data-value='False'] {
    background-image: url("../Img/check-false.png");
}

.note-link {
    background-image: url("../Img/note.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 30px;
    display: inline-block;
    height: 30px;
    width: 30px;
}

.note-link span {
    display: none;
}
