﻿button {
    font-family: arial;
}

a, button {
   outline: 0;
}

/* Fix layout IE */
body {
    overflow: visible;    
}

/* Maschera per tutto il sito */

.sitemask {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0;
    z-index: 10000;
}

/* Filtri */
.filteritem {
    height: 30px;   
}

/* Fix chosen select e spazi */
.chzn-results .active-result {
    white-space: pre;   
}

/* Fix dropdown e explorer */

.dropdown-menu {
    z-index: 100 !important;
}

/* FF fix scelta strutture */

.mozilla #strtturechoice {
    background: white;    
}

.mozilla option[label] {
  visibility: hidden;
  width: 0;
  height: 0;
}
.mozilla option[label]:before {
  content: attr(label);
  visibility: visible;
  color: black;
}

/* plupload */

.pluploadoverdropdown {
    background-color: #263849;
    color: white !important;  
}

.pluploadoverbutton {
    background-color: #D58000;
}

/* Disabilito il bordo nei campi input per chrome */
textarea:focus, input:focus, a:focus {
    outline: none;
}

.container {
	padding-left: 0px !important;
	padding-right: 0px !important;	
}

/* Disabilito il mouse pointer sull'header dei blocchi del template */

.portlet-header {
    cursor: default !important;
}

/* Quando i campi testo sono all'interno del sistema a griglia prendono tutto lo spazione a disposizione */
fieldset input[type="text"], fieldset input[type="password"], fieldset textarea  {
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

fieldset select[multiple="multiple"] {
    width: 100%;
    height: 150px;    
}

fieldset select[disabled="disabled"] option[selected="selected"] {
    color: white;
}

fieldset textarea {
    height: 200px;
    resize:none;    
}

input[disabled] {
    background-color: White;
}

textarea[disabled] {
    background-color: White;
}

.right {
	float: right;	
}

.fieldmandatory {    
    color: red;
    font-weight: bold;        
}

/* Breadcrumb */

.breadcrumb {
	clear: both;	
}

.breadcrumb li {
	float: left;
	display: block;
	padding-right: 20px;
}

.breadcrumb li.separator {
    position: relative;
    width: 20px;
}

.breadcrumb li.separator div{
    position: absolute;
    top: -15px;
    width: 15px;
    height: 47px;
    left: -25px;
    border-right: 1px solid #CCC;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
}

/* Sfondo finestre fancy box */

.fancybox-skin {
    background-color: #F0F0F0 !important;
}

/* Finestra alert */

.dialog-message {
    text-align: center;
    display: table;
}

.dialog-message p {
    display: table-cell;
    vertical-align: middle;
    color: #263849;
    font-family: Arial;
    font-size: 14px;
    font-weight: bold;
    text-shadow: white 0px 1px 0px;
}


/* Finestra info */

.dialog-info {
    display: table;
}

.dialog-info p {
    display: table-cell;
    vertical-align: middle;
    color: #263849;
    font-family: Arial;
    font-size: 11px;
    text-shadow: white 0px 1px 0px;
}



/* Finestra conferma */

.dialog-confirm {
    text-align: center;
}

.dialog-confirm p {
    color: #263849;
    font-family: Arial;
    font-size: 14px;
    font-weight: bold;
    text-shadow: white 0px 1px 0px;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Finestra loading */

.dialog-loading {
    text-align: center;
}

.dialog-loading p {
    color: #263849;
    font-family: Arial;
    font-size: 14px;
    font-weight: bold;
    text-shadow: white 0px 1px 0px;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Errori validazioni */

#validationtarget {
    display: none;    
}

.alert_warning p img, .alert_info p img, .alert_success p img, .alert_error p img {
    position: relative;
    top: 2px;
    padding-right: 5px;
}

.alert_warning p, .alert_info p, .alert_success p, .alert_error p {
    margin: 12px;
}

.validationerror {
    border: 1px dotted red;
}

input.validationerror:focus {
    border-style: solid !important;
}

/* Box blue */

.coloredbox {
    background: none repeat scroll 0 0 #F1F1F1;
    color: #333;
    float: left;
    font-size: 11px;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
    padding: 10px 0 10px 10px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #DDD;
}

.coloredbox label {
    font-size: 12px;
    font-weight: bold;
    color: #263849;
    
}

/* Date picker */

.datepickercontainer {
    position: relative;
}

.datepickercontainer .date-picker-control {
    position: absolute;
    top: 28px;
    right: 10px;
}
body #datePickerLogStop .date-picker-control, body #datePickerLogStart .date-picker-control {
    top: 22px;
}

.mozilla .datepickercontainer .date-picker-control {
    top: 26px;
    right: -3px;
}

.msie .datepickercontainer .date-picker-control {
    top: 25px;
}

.chrome .fancybox-inner .date-picker-control {
    top: 25px;
}

.datePicker table thead th {
    font-size: 9px;
    background-color: transparent !important;
    border-top: none;
    border-bottom: none;   
}

.datePicker table thead tr {
    background-color: transparent !important;
}

/* Paginazione */

.pagination {
    text-align: right;
}

.pagination a button {
    margin-left: 5px;
    line-height: normal !important;
    font-size: 12px;
}

.pagination a button.current {
    text-decoration: underline;
}

.grid td, .grid th {
    overflow: hidden;
}

.grid .iconspacer {
    float: left;
    width: 19px;    
    height: 15px;
}

/* form per invio filtri */

#filter-form-description, #filter-form {
    display: none;    
}

/* Pulsanti */

button {
    white-space: nowrap;    
}

/* Select 2 */
.select2-container-multi input {
    box-sizing: initial !important;
}

/* Icone */
.icon-delete {
    background-image: url(../Images/icons/delete.png);    
    width: 16px !important;
    height: 16px !important;
    background-repeat: no-repeat;
}

/* Tab form dettagli */
ul.tabs li a {
    padding: 0 10px;
}

/* David Bandinelli */
.textBox400px {
    width: 400px;
}

/* Loading box */
.containerBox {
    display: flex;
     align-items: center;
   /* justify-content: center;*/
    height: 350px;
}

.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

.loaderLabel {
    color: #263849;
    font-family: Arial;
    font-size: 14px;
    font-weight: bold;
    text-shadow: white 0px 1px 0px;
    position:absolute;
    top:0;
    left:0;

}
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}