/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}



/* ==========================================================================
   Author's custom styles
   ========================================================================== */



* {
	margin: 0;
	padding: 0;
}
html, body {
	background: #fff;
	text-align: center;
	font-size: 13px;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-weight: 300;
}

.semi-bold{ font-weight: 400; text-align:left;}
.bold{ font-weight: 600; }
.extra-bold{ font-weight: 700; }

.detail-left, .filiale-detail, .ref-detail{

	float:left;
	clear:left;
}

.detail-right{
	padding:10px;
	width: 510px;
	
	float:right;
}

input:-moz-read-only { /* For Firefox */
     opacity: 0.5;
}

input:read-only { 
   opacity: 0.5;
}


.clear{ width:100% !important; height:1px !important; clear:both !important; }


.top-space-5{margin-top:5px !important;}
.top-space-10{margin-top:10px !important;}
.top-space-20{margin-top:20px !important;}
.top-space-30{margin-top:30px !important;}
.top-space-40{margin-top:40px !important;}
.top-space-50{margin-top:50px !important;}
.top-space-60{margin-top:60px !important;}

.left-space-10{margin-left:10px !important;}
.left-space-20{margin-left:20px !important;}
.left-space-25{margin-left:25px !important;}
.left-space-30{margin-left:30px !important;}
.left-space-40{margin-left:40px !important;}
.left-space-50{margin-left:50px !important;}
.left-space-60{margin-left:60px !important;}
.left-space-70{margin-left:70px !important;}
.left-space-80{margin-left:80px !important;}

.right-space-10{margin-right:10px !important;}
.right-space-20{margin-right:20px !important;}
.right-space-25{margin-right:25px !important;}
.right-space-30{margin-right:30px !important;}
.right-space-40{margin-right:40px !important;}
.right-space-50{margin-right:50px !important;}



/*
 *  CURRENT_TABLE, used for jquery to retrieve the current table
 */

#current_table{ display:none; }

/*
 *  searchcombo
 */

.searchcmb{
	position:absolute;
	top:70px;
	left:620px;
	width:300px;
}


.input-container{
	width: 32%;
	margin-bottom: 3px;
	float: left;

height:39px;
}
.search_label{
	color:#0018a8;
	font-weight: 600;
}
.input-container.data-richiesta{
width: 64.2%;
}
.input-container select{
	width: 92%;
}
.input-container input{
	width: 90%;
}
.input-container.data-richiesta input{
width: 44%;
}

/*
 *  LOGIN
 */
#login-container {
	width:22%;
	min-height: 300px;
	height: auto !important;
	margin-left: auto;
	margin-right: auto;
	background: #fff;
	position: relative;
	text-align: center;
	border:1px solid white;
	border-radius:4px;
	-moz-box-shadow: 0 0 10px #888;
	-webkit-box-shadow: 0 0 10px#888;
	box-shadow: 0 0 10px #888;
	padding-bottom: 20px;
	padding-right: 20px;
	padding-left: 20px;
	margin-top: 100px;
}
/**/
#company-logo {
	display: block;
	width:100%;
	height:72px;
	background-image: url('../img/index_logo2.png');
	background-position: center;
	background-repeat: no-repeat;
	margin-top:20px;
}
#loginForm {
	display: block;
	width:364px;
	margin:0 auto;
	margin-top:18px;
}
#loginForm form {
	margin: 0;
	padding: 0;
}
.login-error {
	text-align:center;
	margin-top: 15px;
	color: #ff0000;
	font-weight:500;
}

.big-btn{
	height: 40px !important;
	line-height: 40px;
	font-size:17px;
}

#error-container{
	width:700px;
	height:100px;
	margin:0 auto;
	margin-top:20px;
	-moz-box-shadow: 0 0 10px #888;
-webkit-box-shadow: 0 0 10px#888;
box-shadow: 0 0 10px #888;
border-radius:20px;
}

#error-container p{
	text-align: center;
	line-height: 100px;
	font-size:30px;
}


html,body {
height: 100%;
background:#fff;
}
#wrapper{
	margin:0;
	padding:0;
	background: #fff;
	min-width: 950px;
	max-width: 1250px;
	min-height: 100% !important;
	-moz-box-shadow: 0 0 10px #888;
-webkit-box-shadow: 0 0 10px#888;
box-shadow: 0 0 10px #888;
margin:0 auto;
position: relative;

padding-bottom: 100px;
}


#advanced-search-btn{
	cursor: pointer;
	position: absolute;
	top:40px;
	right: 10px;
	padding-left: 15px;
}
.plus{background:transparent url(../img/icon_plus.png) left 3px no-repeat}
.minus{background:transparent url(../img/icon_minus.png) left 3px no-repeat}
#advanced_search_block{
	display: none;
}
#container {
	margin:0;
	padding:0;
	z-index: 1;
	
	background-image: url('../img/logo2.png');

	background-repeat: no-repeat;

	min-height: 100% !important;
   
   	
	margin-top:0;
	margin:0 auto;
	

position: relative;
}



#form-report{
	margin-top:10px;
	margin-left:0px;
	font-weight:400;
	display: none;
}

#form-report span{
	color: #ff0000;
}

 #overlay{
	display:none;
	position:fixed;
	top:0;
	left:0;
	bottom:0;
	right:0;
	z-index: 2000;
	background: rgba(0, 0, 0, 0.5);
}
.preview-image{
	width:200px;
}

#loading-spinner{
	position:absolute;
	top:50%;
	left:50%;
}
input[type="checkbox"] {
    width:20px;
    height:20px;
}

input[type="radio"] {
    width:20px;
    height:20px;
}


#searchbox {
	width: 100%;
	
	margin-top:15px;
	

}
p{margin:0;padding:0;}
#cblistanav {
	position: relative;
	text-align: center;
	width: 950px;
	height: 30px;
	border-bottom: 1px solid #ccc;
}
#cblistanav .abs2 {
	position: absolute;
	top: 3px;
	left: 11px;
}
#cblistanav a {
	font-weight: bold;
	color: #107FC9;
	text-decoration: none;
}
#download{
	float:right;
	width: 150px;
	margin-top:25px;
	margin-right:0px;

}
.no-download #download{
	display: none;
}

/*
 *  TABELLA CONTENUTI
 */
table {
	width: 100%;
	border: 1px solid #f6f6f6;
	border-collapse: collapse;
	margin:0 auto;
	margin-top:15px;
margin-bottom:15px;
}

tr:nth-child(even){
	background-color : #f6f6f6;
}
tr.highlighted{
	
	background-color : #b2e0f4;
}

th {
	color: #ffffff;

border: 1px solid #f6f6f6;
	padding: 2px;
	text-align: center;
}
td {
	border: 1px solid #f6f6f6;
	padding: 2px;
}
table img {
	border-style: none;
}
table a {
	color: #007ba8;
	text-decoration: none;
}
table a:visited {
	color: #007ba8;
}
table a:hover {
	color: #007ba8;
}
/*
 MAIN MENU
 */
#mainmenu {
	width: 100%;
	height: 100px;
	font-size: 15px;
	text-align: right;
	padding-top: 70px;

}
#mainmenu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	padding-right: 20px; /* per spostare il menu in base al numero di tabelle*/
}
#mainmenu ul li {
float:right;
text-transform: lowercase;
margin-left: 20px;
}
/*#mainmenu ul li a {
	margin-right: 13px;
	color: #222;
	text-decoration: none;
	
	padding: 0px 20px 0px 20px;
	border-radius: 3px;
	line-height: 22px;
	font-size:14.5px;
	display: inline-block;
	height: 22px;

	background: -webkit-gradient(linear, center top, center bottom, from(#FFF), to(#E6E6E6));
	background: -webkit-linear-gradient(#FFF, #E6E6E6);
	background: -moz-linear-gradient(#FFF, #E6E6E6);
	background: -o-linear-gradient(#FFF, #E6E6E6);
	background: -ms-linear-gradient(#FFF, #E6E6E6);
	background: linear-gradient(#FFF, #E6E6E6);
	background-image: -moz-linear-gradient(center top , #FFF, #E6E6E6)!important;
	background-image:-webkit-gradient(center top , #FFF, #E6E6E6)!important;
	background-image:linear-gradient(center top , #FFF, #E6E6E6)!important;
	background-repeat: repeat-x;
	border-width: 1px!important;
	border-style: solid!important;
	border-color:#7F9DB9!important;
	color: #193D87!important;
	font-weight: 700;
	
}
#mainmenu ul li a:hover {
	color: #1a3857;
	background: -webkit-gradient(linear, center top, center bottom, from(#FFF), to(#99d6f1));
	background: -webkit-linear-gradient(#FFF, #99d6f1);
	background: -moz-linear-gradient(#FFF, #99d6f1);
	background: -o-linear-gradient(#FFF, #99d6f1);
	background: -ms-linear-gradient(#FFF, #99d6f1);
	background: linear-gradient(#FFF, #99d6f1);
	background-image: -moz-linear-gradient(center top , #FFF, #99d6f1)!important;
	background-image:-webkit-gradient(center top , #FFF, #99d6f1)!important;
	background-image:linear-gradient(center top , #FFF, #99d6f1)!important;
	background-repeat: repeat-x;
	border-width: 1px!important;
	border-style: solid!important;


}
#mainmenu ul li .active {
	color: #1a3857;
	background: -webkit-gradient(linear, center top, center bottom, from(#FFF), to(#99d6f1));
	background: -webkit-linear-gradient(#FFF, #99d6f1);
	background: -moz-linear-gradient(#FFF, #99d6f1);
	background: -o-linear-gradient(#FFF, #99d6f1);
	background: -ms-linear-gradient(#FFF, #99d6f1);
	background: linear-gradient(#FFF, #99d6f1);
	background-image: -moz-linear-gradient(center top , #FFF, #99d6f1)!important;
	background-image:-webkit-gradient(center top , #FFF, #99d6f1)!important;
	background-image:linear-gradient(center top , #FFF, #99d6f1)!important;
	background-repeat: repeat-x;
	border-width: 1px!important;
	border-style: solid!important;


}*/

#mainmenu a.active {
	background:#88B5DD;


}

ul.pagination{
	list-style: none;
	margin: 0;
	padding: 0;
display: block; text-align:center;
margin-top:15px;
}


/*ul.pagination li a {
	margin-right: 8px;
	color: #222;
	text-decoration: none;



}
ul.pagination li a:hover {
	color: #ffffff;
	background: #ccc;
	border:1px solid #f6f6f6;
}

ul.pagination li.active  {
	margin-right: 8px;
	color: #107FC9;
	text-decoration: none;
	background: #ccc;
	padding: 0px 10px 0px 10px;
	border-radius: 6px;
	border:1px solid #ccc;
	font-weight:600;
}*/
ul.pagination li.disabled  {
	display:none;
}

.pagination {
  height: 36px;

}
.pagination ul {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */

  *zoom: 1;
  margin-left: 0;
  margin-bottom: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.pagination li {
  display: inline;
}
.pagination a,.pagination span {
  display: inline-block;
  height: 30px;
  padding: 0 14px;
  line-height: 30px;
  text-decoration: none;
  border: 1px solid #ddd;
  border-left-width: 1px;
}
.pagination a:hover,
.pagination .active a {
  background-color: #f5f5f5;
}
.pagination .active a,.pagination .active span {
  color: #107FC9;
  cursor: default;
  font-weight: 700;
}
.pagination .disabled span,
.pagination .disabled a,
.pagination .disabled a:hover {
  color: #999999;
  background-color: transparent;
  cursor: default;
}
.pagination li:first-child a,.pagination li:first-child span {
  border-left-width: 1px;
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
.pagination li:last-child a ,.pagination li:last-child span{
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}
.pagination-centered {
  text-align: center;
}
.pagination-right {
  text-align: right;
}



.uploadify{
	margin-top:10px;
}
.uploadify-queue-item{

	width:485px !important;
}

select{
	width:505px;
}

#myform label{
	color:#007ba8;
	font-weight: 600;
}




/*
 CONTENT
 */

 
#content {

	width: 97%;
	
	text-align: left;
	
	position:relative;
height: auto !important;
	margin: 0 auto;
}
#insert_content {
	background: #FFFFFF;
	text-align: left;
}
#content h4 {
	padding-left: 50px;
	margin: 0px;
	margin-top: 20px;
}
.report {
	padding-left: 50px;
	margin: 0px;
	margin-top: 20px;
	color: #107FC9;
}

#back-to-list{
	position:absolute;
	top:115px;
	left:37px;
	opacity:0.8;
	width:120px;
	height:30px;
	line-height:30px;
	text-decoration:none;
	font-size:18px;
	
	text-align:center;


	-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
z-index: 1000;
background: -webkit-gradient(linear, center top, center bottom, from(#FFF), to(#E6E6E6));
	background: -webkit-linear-gradient(#FFF, #E6E6E6);
	background: -moz-linear-gradient(#FFF, #E6E6E6);
	background: -o-linear-gradient(#FFF, #E6E6E6);
	background: -ms-linear-gradient(#FFF, #E6E6E6);
	background: linear-gradient(#FFF, #E6E6E6);
	background-image: -moz-linear-gradient(center top , #FFF, #E6E6E6)!important;
	background-image:-webkit-gradient(center top , #FFF, #E6E6E6)!important;
	background-image:linear-gradient(center top , #FFF, #E6E6E6)!important;
	background-repeat: repeat-x;
	border-width: 1px!important;
	border-style: solid!important;
	border-color:#7F9DB9!important;
	color: #193D87!important;
	font-weight: 700;
}


#next-item{
	position:absolute;
	top:280px;
	left:950px;
	opacity:0.6;
}

#prev-item{
	position:absolute;
	top:280px;
	left:-80px;
	opacity:0.6;
}
#next-item:hover, #prev-item:hover{
	opacity:0.8;
}

#myform {
	
	font-weight: 400;
	text-align: left;
	padding-top:70px;
	padding-left:20px;
	z-index: 2000;
}

#myform > div{
	margin-bottom:20px;
}

#search-form {
	
	
	text-align: left;
	
	z-index: 2000;
}

#search-form input[type="text"] {
height:20px;
	line-height: 20px;
	background:white;
}

textarea {
	width: 500px;
	line-height: 20px;
	border:1px solid #ccc;
	background:#f6f6f6;
	padding-left:5px;
	height:100px;
	resize:none;
	border-radius:3px;
}
input {
	width: 500px;
	border-radius:3px;
	height:40px;
	line-height: 40px;
	border:1px solid #ccc;
	background:#f6f6f6;
	padding-left:5px;
}
#searchstring{width:200px;}

.welcome{
	margin-top: 50px;
	font-size: 18px;
	line-height: 24px;
}

a.button{
	text-decoration: none;
	display: inline-block;
	width: 100px;
	border-radius:3px;
	color: black;
	text-align: center;
}

.button {
	width:100%;
	background-color: #007ba8;
	/*background: -webkit-gradient(linear, center top, center bottom, from(#FFF), to(#E6E6E6));
	background: -webkit-linear-gradient(#FFF, #E6E6E6);
	background: -moz-linear-gradient(#FFF, #E6E6E6);
	background: -o-linear-gradient(#FFF, #E6E6E6);
	background: -ms-linear-gradient(#FFF, #E6E6E6);
	background: linear-gradient(#FFF, #E6E6E6);*/
	background-image: -moz-linear-gradient(center top , #FFF, #E6E6E6)!important;
	background-image:-webkit-gradient(center top , #FFF, #E6E6E6)!important;
	background-image:linear-gradient(center top , #FFF, #E6E6E6)!important;
	background-repeat: repeat-x;
	border:none!important;
	/*border-width: 1px!important;
	border-style: solid!important;
	border-color:#7F9DB9!important;*/
	color: #fff!important;
	font-weight: 700;
	opacity:1;
}
.button:hover {
	/*background: -webkit-gradient(linear, center top, center bottom, from(#FFF), to(#99d6f1));
	background: -webkit-linear-gradient(#FFF, #99d6f1);
	background: -moz-linear-gradient(#FFF, #99d6f1);
	background: -o-linear-gradient(#FFF, #99d6f1);
	background: -ms-linear-gradient(#FFF, #99d6f1);
	background: linear-gradient(#FFF, #99d6f1);*/
	background-image: -moz-linear-gradient(center top , #FFF, #99d6f1)!important;
	background-image:-webkit-gradient(center top , #FFF, #99d6f1)!important;
	background-image:linear-gradient(center top , #FFF, #99d6f1)!important;
	background-repeat: repeat-x;
	/*border-width: 1px!important;
	border-style: solid!important;*/
	border:none;
	opacity:.9;
	
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    background-color:#eaf1f7!important;
    background-image: none;
    color: rgb(0, 0, 0);
    -webkit-box-shadow: 0 0 0px 1000px #eaf1f7 inset;
}


.button.large {
	width: 200px;
}
#photo {
	text-align: center;
}
.cbox {
	width: 13px;
}



#loginForm .login-input{
	width: 96%;
	border-radius:3px;
	padding: 2%;
	margin: 10px 0px;
	height:20px;
	line-height: 20px;
	border:1px solid #ccc;
	background:white;
	z-index: 10000;
}
/*
 FOOTER
 */
#footer {
	
	position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%);
min-width: 950px;
	max-width: 1250px;
	width: 100%;
	height: 42px;
	background:#f5f5f5;
	border-top: 1px solid #ccc;
	text-align: center;

}
#footer p{
	font-size:11px;
}
#footer #abs {
	position: absolute;
	top: 3px;
	left: 11px;
}
#footer #userinfo {
	color:#808080;
	padding-top:10px;
}
#footer #logout {
	font-weight: bold;
	position: absolute;
	top: 6px;
	right: 20px;
	background:transparent;
	padding:5px 18px 5px 18px;
	border-radius:3px;
	/*background-image: url('../img/logout.png');*/
	background-size: auto 27px;
	background-position: top right;
	background-repeat: no-repeat;
	cursor: pointer;
	padding-right: 30px;
}
#footer a {
	color: #1a3857;
	text-decoration: none;
}
.sky{
	color: #007ba8 !important;
}
#new-btn{
	height:40px;
	line-height: 30px;
	margin-top: 5px;
}
#new-btn a {
	/*font-weight: bold;

	margin-left:20px;
	background:#f6f6f6;
	padding:1px 20px 1px 20px;
	border-radius:3px;
	border-color:red;

	text-decoration: none;
	display: inline-block;
	color: #0098db;
	background: -webkit-gradient(linear, center top, center bottom, from(#FFF), to(#E6E6E6));
	background: -webkit-linear-gradient(#FFF, #E6E6E6);
	background: -moz-linear-gradient(#FFF, #E6E6E6);
	background: -o-linear-gradient(#FFF, #E6E6E6);
	background: -ms-linear-gradient(#FFF, #E6E6E6);
	background: linear-gradient(#FFF, #E6E6E6);
	background-image: -moz-linear-gradient(center top , #FFF, #E6E6E6)!important;
	background-image:-webkit-gradient(center top , #FFF, #E6E6E6)!important;
	background-image:linear-gradient(center top , #FFF, #E6E6E6)!important;
	background-repeat: repeat-x;
	border-width: 1px!important;
	border-style: solid!important;
	border-color:#7F9DB9!important;
	color: #193D87!important;
	font-weight: 700;*/
}
/*
 CONTACT
 */

#contact-container{
	width:948px;
	height:598px;
	background:#fff;
	position:relative;
	border: 1px solid #ccc;
}

#user-activity-data{
	position:absolute;
	top:20px;
	left:20px;
	width:600px;
	height:560px;
	background:#fff;
	text-align: left;
}

#user-activity-data h2{
	color:#333;
}

#user-activity-data .big-label{
	font-size:14px;
}

#activity-list{
	position:absolute;
	top:110px;
	left:0px;
	width:910px;
	height:430px;
	overflow-y:auto;
	border: 1px solid #ccc;
}



#activity-download-list{
	position:absolute;
	top:550px;
	left:0;
	width: 100px;
}

.approved{color:green;}
.rejected{color:red;}


.ui-multiselect ul.selected , .ui-multiselect ul.available{
	height: 200px !important;
}
a.action span.ui-icon{
	background-image: none !important;
}






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
    
    
}


#login-container {
    width: 400px!important;/**/
}

#searchbox {
    height: auto!important;
}

#searchstring {
    height: auto!important;
    padding: 6px;
    margin: 10px -6px;
}
.search{
	width: 200px;
    padding: 7px;
    height: auto;
    margin: 0 10px;
    margin-left: 0;
 }
#new-btn {
    height: auto!important;
    padding: 10px 0px!important;
}

.form-control{
	width: 510px;
}

#download {
    height: auto!important;
    padding: 6px!important;
}
/*#mainmenu ul li a, .reset {
    margin-right: 13px;
    color: #222;
    text-decoration: none;
    border-radius: 2px!important;
    line-height: auto!important;
    font-size: 14.5px;
    display: inline-block;
    height: auto!important;
    background: -webkit-gradient(linear, center top, center bottom, from(#FFF), to(#E6E6E6));
    background: -webkit-linear-gradient(#FFF, #E6E6E6);
    background: -moz-linear-gradient(#FFF, #E6E6E6);
    background: -o-linear-gradient(#FFF, #E6E6E6);
    background: -ms-linear-gradient(#FFF, #E6E6E6);
    background: linear-gradient(#FFF, #E6E6E6);
    background-image: -moz-linear-gradient(center top , #FFF, #E6E6E6)!important;
    background-image: -webkit-gradient(center top , #FFF, #E6E6E6)!important;
    background-image: linear-gradient(center top , #FFF, #E6E6E6)!important;
    background-repeat: repeat-x;
    border-width: 1px!important;
    border-style: solid!important;
    border-color: #8eaad4!important;
    color: #0018a8!important;
    font-weight: 700;
    padding: 7px 31px!important;
}*/

td {
    padding: 10px!important;
}
#footer #userinfo {
 margin-left: auto;
 margin-right: auto;
 text-align: center;
    
}
tr.highlighted {
    background-color: #eaf1f7;
}
#search_form {
    margin-top: 132px!important;
    margin-left: 18px!important;
    width: 1151px!important;
}
.input-container select, #tratt, #prodotto_PT, #id_prodotto_PT {
    height: 31px;
    margin-top: 8px!important;
    -webkit-appearance: menulist-button;
}

#richieste, #note_interne
	{margin-top: 8px!important;}

.input-container input {
    padding: 5px!important;
    margin-top: 7px!important;
}

.input-container {
    height: 65px!important;
}

th {
    color: #007ba8;;
    background-color: #e0e0e0!important;
    border: 1px solid #f1f1f1;
    padding: 10px 0!important;
}

#group_id, #admin_area, #fil_idsl{
    padding: 6px 0;
    margin-top: 8px;
    height: 31px!important;
    -webkit-appearance: menulist-button!important;
}

#first_name, #last_name, #password, #email, #last_mod, #last_login, #tentativi, #data_tentativi, #activation_token, #created_at, #updated_at, #is_activated{	
	padding: 6px 4px;
    margin-top: 8px;
}

#edit-btn, #delete-btn, #send-activation-email-btn, #send-password-btn {
    width: 200px!important;
    padding: 8px!important;
   
}
#container {
    background-position: 39px 0px!important;
}



#footer #logout {
    right: 28px!important;
}
.ui-datepicker-calendar{
	    width: 324px!important;
	
}

.pagination .active a, .pagination .active span {
    background-color: #0098db;
    color: #fff;
    cursor: default;
    font-weight: 700;
}

#back-to-list, #back-to-list a {
    position: absolute;
    top: 115px;
    left:12px;
    opacity: 0.8;
    width: 120px;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    font-size: 15px;
    text-align: center;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-transform: capitalize;
    z-index: 1000;
    /* background: -webkit-gradient(linear, center top, center bottom, from(#FFF), to(#E6E6E6)); */
    /* background: -webkit-linear-gradient(#FFF, #E6E6E6); */
    background: -moz-linear-gradient(#FFF, #E6E6E6);
    background: -o-linear-gradient(#FFF, #E6E6E6);
    background: -ms-linear-gradient(#FFF, #E6E6E6);
    /* background: linear-gradient(#FFF, #E6E6E6); */
    background-image: -moz-linear-gradient(center top , #FFF, #E6E6E6)!important;
    background-image: -webkit-gradient(center top , #FFF, #E6E6E6)!important;
    background-image: linear-gradient(center top , #FFF, #E6E6E6)!important;
    /* background-repeat: repeat-x; */
    /* border-width: 1px!important; */
    /* border-style: solid!important; */
    /* border-color: #7F9DB9!important; */
    color: #0018a8!important;
    font-weight: 700;
    background: none;
    border: none!important;
    text-transform: lowercase;
    outline:none!important
}

.ja_btn_wrap.optBack, .jAlert {
    background: #fff!important;}
    
 .ja_lg {
    width: 30%;
}

.ja_btn_red, .ja_btn_red:link, .ja_btn_red:visited, .ja_btn_red:hover {
    background: #e00034!important;
    border: none!important;
    color: white;
}

.ja_btn_green, .ja_btn_green:link, .ja_btn_green:visited, .ja_btn_green:hover {
    background: #20A711;
    border: none!important;
    color: white;
}

.ja_body {
    font-size: 18px!important;}
    
   .ja_sm {
    width: 30%;}
    
  input[type="checkbox"] {
    margin-top: 8px!important;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
    border-bottom-right-radius: 4px;
    width: 324px;
}

select:disabled {
    background: #eaeaea!important;
    opacity:.2!important;
}

.input-container.data-richiesta input {
    width: 321px!important;/**/
}
#myform {
    height: 1000px!important;
}

.max-height{ height:1800px!important;}

