/* RITOCCHI A BOOTSTRAP */

/*force google font for every element*/
* {
    font-family: Lato, sans-serif;
}

select,
input[type="file"] {
    width: auto !important;
}

.select2-container .select2-selection--single {
    padding-top: 0px !important;
}

.alert {
    font-size: 1.2em;
    padding: 8px;
    margin-bottom: 5px;
}

.form-group {
    margin: 5px !important;
}

label.dropdown-toggle {
    cursor: pointer;
    font-size: 18px;
    color: dodgerblue;
    margin-bottom: 0px;
}

label.dropdown-toggle:after {
    content: "\00BB";
}

.scrollable-menu {
    max-height: 500px;
    overflow-y: auto;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 5px;
}

input[type="checkbox"] + label {
    margin-right: 5px;
}

label + input[type="checkbox"] {
    margin-left: 5px;
}

.alert > .btn {
    margin-right: 5px !important;
    line-height: 1;
}

.form-inline .control-label {
    vertical-align: auto;
}

.control-label:not(:first-child) {
    margin-left: 10px;
    margin-right: 5px;
}

.alert.piccolo {
    font-size: 1em;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-bottom: 5px;
    margin-top: 10px;
}

.grossa {
    font-size: 30px;
}

.text-nobold {
    font-weight: normal !important;
}

table.dataTable thead .sorting_asc:after {
    content: "" !important;
}

table.dataTable thead .sorting_desc:after {
    content: "" !important;
}

table.dataTable thead .sorting:after {
    content: "" !important;
}

/* usata per lo sfondo delle righe alternate */
.even {
    background-color: #f9f9f9 !important;
}

.tabella {
    float: left;
    width: auto !important;
}

.tabella-nuova {
    float: left;
    width: auto !important;
}

/* FINE RITOCCHI A BOOTSTRAP */

/* RITOCCO A DATATABLES.NET */
/* riduco il padding per occupare meno spazio verticale */
table.dataTable td {
    padding: 3px !important;
}
table.dataTable thead > tr > th.no-sort {
    padding: 0px;
}
table.dataTable thead th {
    /*padding-right: 5px !important;
    padding-left: 5px !important;*/
    text-align: center;
}

.dataTables_filter {
    float: left !important;
}

.margin-left {
    margin-left: 20px;
}

/*body {
    margin: 0px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #2b2a2a;
    line-height: 14px;
}

img_old {
    border-style: none;
    vertical-align: middle;
}

h1 {
    font-size: 14px;
    color: #3f65b1;
}

h2 {
    color: #3F65B1;
    font-size: 11px;
    margin-bottom: 0px;
}

a {
    color: #294273;
    font-weight: bold;
}

    a:hover {
        text-decoration: none;
    }

input[type="submit"] input[type="button"] {
    margin: 0px;
    padding: 0px;
}

select {
    font-size: 12px;
    margin-right: 4px;
}

fieldset {
    border: 1px solid #999;
    padding: 7px;
    display: inline-block;
    border-radius: 5px;
}

    fieldset legend {
        font-weight: bold;
    }

table {
    border-collapse: inherit !important;
}*/

::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: Silver;
    font-style: italic;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: Silver;
    font-style: italic;
    opacity: 1;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: Silver;
    font-style: italic;
    opacity: 1;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: Silver;
    font-style: italic;
}

/* ================ CLASSI =================== */
.info {
    color: black;
    font-size: 12px;
    margin: 0 0 10px 0;
    background-color: #f4f3f3;
    cursor: pointer;
    border: 1px;
    border-style: solid;
    border-color: #3f65b1;
    padding: 10px;
}

.info_hide {
    display: none;
    background-color: white;
    cursor: auto;
}

.info_home {
    color: black;
    font-size: 12px;
    margin: 0 0 10px 0;
    background-color: #f4f3f3;
    cursor: pointer;
    border: 1px;
    border-style: solid;
    border-color: #3f65b1;
    padding: 10px;
}

.testata {
    background-color: #448ce8;
    color: white;
}

.lista {
    background-color: white;
    color: black;
    border-width: 1px;
    border-style: solid;
    cursor: default;
}

.lista_riga:hover {
    background-color: #fdfcad;
}

.tdcenter {
    text-align: center;
    font-weight: bold;
}

.barra {
    background-color: #5d7b9d;
    color: white;
}

.rosso {
    color: red;
}

.messaggio {
    font-weight: bold;
    color: red;
    font-size: 12px;
}

.campo {
    font-weight: bold;
}

.titolo {
    font-weight: bold;
    font-size: 14px;
    color: #3f65b1;
    padding-top: 5px;
    padding-bottom: 10px;
}

.titolo1 {
    font-weight: bold;
    font-size: 14px;
    color: #0000ff;
    padding-top: 5px;
    padding-bottom: 10px;
}

.notizie {
    background-color: white;
    border: 1px solid #3f65b1;
    cursor: pointer;
    font-size: 10px;
}

.notizie_riga:hover {
    background-color: #ffc06f;
}

/*.sfondo {*/
/*     background-color: #f4f3f3;
     background-image:url('../img/sfondo.jpg');
*/
/*aaedit background-color: #e7e7e7;*/
/*}*/

.linkHomePage {
    text-decoration: none;
    font: 11px "Arial Narrow" sans-serif;
    color: White;
}

.tips {
    text-align: left;
    font-weight: bold;
    background-color: white;
    font-style: italic;
    cursor: pointer;
    width: 134px;
}

.comandoLink {
    cursor: pointer;
    font-size: 11px;
    text-decoration: none;
    color: Black;
    border: solid 1px black;
}

.allarme {
    background-color: white;
    color: black;
    border-width: 1px;
    border-style: solid;
    border-color: Black;
    cursor: pointer;
    font-weight: bold;
}

.timbratura {
    text-align: center;
}

.ditino {
    cursor: pointer;
}

.valutazione {
    text-align: center;
    padding: 6px;
}

.ore {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    background-color: #f4fb85;
}

.note {
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    background-color: #f4fb85;
}

.foglioPres {
    text-align: center;
    font-size: 10px;
    font-weight: normal;
    text-decoration: none;
    vertical-align: middle;
}

.foglioPresErrore {
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    vertical-align: middle;
    color: Red;
}

.labelTitolo {
    padding: 15px;
    height: 30px;
}

.titoloRapportino {
    border-width: thin;
    border-color: #0000ff;
    font-weight: bold;
    color: #0000ff;
    border-bottom-style: solid;
}

.girasoli {
    background-image: url("img/girasoli.jpg");
}

.DDLBeltrami {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: black;
}

.AlberoFornitori {
    vertical-align: middle;
}

.link {
    color: #294273;
    font-weight: normal;
    font-size: 10px;
    text-decoration: underline;
    cursor: pointer;
}

.linkAllegato {
    color: black;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.linkDelete {
    color: GrayText;
    font-weight: normal;
    font-size: 10px;
    text-decoration: underline;
    cursor: pointer;
}

.hiddencol {
    display: none;
}

.foglia {
    color: black;
    font-size: 10px;
    font-weight: normal;
}

.nonFoglia {
    color: blue;
    font-size: 11px;
    font-weight: bold;
}

.menudx {
    font: 11px "Arial Narrow" sans-serif;
    font-weight: bold;
    color: #990000;
    cursor: pointer;
    text-align: center;
}

.popupControl {
    background-color: #aad4ff;
    position: absolute;
    visibility: hidden;
    border-style: solid;
    border-color: Black;
    border-width: 2px;
}

.modalBackground {
    background-color: Gray;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.modalPopup {
    background-color: #ffffdd;
    border-width: 3px;
    border-style: solid;
    border-color: Gray;
    padding: 7px;
    width: auto;
    height: auto;
    max-height: 90%;
    min-width: 200px;
}

.tabs {
    position: relative;
    top: 1px;
    left: 10px;
}

.tab {
    border: solid 1px black;
    background-color: #eeeeee;
    padding: 2px 10px;
}

.selectedTab {
    background-color: white;
    border-bottom: solid 1px white;
}

.tabContents {
    border: solid 1px black;
    padding: 10px;
    background-color: white;
}

td {
    padding: 4px;
}

.GridView_Header_Style {
    border: solid #5d7b9d 1px;
    background-color: #9fa9b5;
    color: White;
    font-weight: bold;
}

.GridView_Header_Style th {
    padding: 4px;
    text-align: center;
}

.GridView_Header_Style a {
    color: White;
}

.separatore {
    font-size: 11px;
    display: block;
    /*margin: 0px;
    padding: 0px;*/
    margin-bottom: 5px;
    color: White;
    font-family: Verdana;
    font-weight: bold;
    font-style: italic;
    height: 20px;
    line-height: 20px;
    padding-left: 7px;
    background: linear-gradient(to top, #5d7b9d, rgba(93, 123, 157, 0.2));
}

.separatore img {
    position: relative;
    vertical-align: middle;
    height: 12px;
    margin-left: 10px;
    margin-bottom: 2px;
}

/*.bannerTitolo {*/
/*aaedit height: 24px;
    line-height: 24px;
    background-image: URL('../img/sfondoTitolo.gif');
    background-repeat: no-repeat;
    background-position: center;
    font-weight: bold;
    color: White;
    font-size: 14px;
    padding-left: 7px;
    vertical-align: middle;
    margin-bottom: 5px;*/
/*}*/

.bannerTitolo img {
    position: relative;
    vertical-align: middle;
    height: 14px;
    margin-left: 10px;
    margin-bottom: 3px;
}

.watermarked {
    color: Silver;
    font-style: italic;
}

.popupMenu {
    background-color: Gray;
    padding: 0px;
    border-style: solid;
    border-width: 1px;
    border-color: White;
    border-collapse: collapse;
    border-spacing: 0;
}

.popupMenu li {
    height: 12px;
    line-height: 12px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: White;
    white-space: nowrap;
    font-family: Verdana;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    padding: 4px 5px 4px 7px;
    color: white;
    list-style-type: none;
}

.popupMenu a {
    text-decoration: none;
    color: white;
}

.popupMenu li:hover {
    background-color: #5d7b9d;
}

.vocePopupMenu {
    font-weight: bold;
    color: White;
    text-decoration: none;
}

.griglia {
    border: 1px solid black;
    font-size: 9px;
    text-align: center;
    white-space: nowrap;
    width: 29px;
    line-height: 10px;
}

.linkButtonSeparatore {
    font-weight: bold;
    font-style: normal;
    font-family: Arial Narrow;
    margin-left: 50px;
    color: Yellow;
    text-transform: uppercase;
}

.linkButtonSeparatoreDx {
    font-weight: bold;
    font-style: normal;
    color: Yellow;
    float: right;
    margin-right: 10px;
    font-family: Arial Narrow;
    text-transform: uppercase;
}

table.tableNoWrap td {
    white-space: nowrap;
}

.toastOK {
    background-color: Green;
    color: White;
    font-weight: bold;
    text-align: center;
    position: fixed;
    vertical-align: bottom;
    padding: 10px;
    top: 80%;
    left: 50%;
    width: 400px;
    margin-left: -200px;
}

.toastKO {
    background-color: Red;
    color: White;
    font-weight: bold;
    text-align: center;
    position: fixed;
    vertical-align: bottom;
    padding: 10px;
    top: 80%;
    left: 50%;
    width: 400px;
    margin-left: -200px;
}

.imgButton {
    border-style: none;
}

.linkButtonAlone {
    margin-bottom: 5px;
}

.modalLoading {
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    z-index: 99;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    min-height: 100%;
    width: 100%;
}

.loading {
    font-family: Arial;
    font-size: 10pt;
    border: 5px solid #67cff5;
    width: 200px;
    height: 100px;
    display: none;
    position: fixed;
    background-color: White;
    z-index: 999;
}

div#FixedHeaderDiv {
    height: 600px;
    overflow: auto;
    position: relative;
}

div#FixedHeaderDiv th {
    top: expression(document.getElementById("FixedHeaderDiv") .scrollTop-2);
    left: expression(parentNode.parentNode.parentNode.parentNode.scrollLeft);
    position: relative;
    z-index: 20;
}

.linguetta {
    width: auto;
    padding: 3px;
    background-color: lightgrey;
    margin-top: 5px;
}

.ui-autocomplete-loading {
    background: white url("../img/ui-anim_basic_16x16.gif") right center no-repeat;
}

.ui-autocomplete {
    z-index: 2147483647 !important;
}

.ui-dialog {
    z-index: 2147483647 !important;
}

table.plain {
    border-spacing: 0;
    border-collapse: collapse;
    padding: 0px;
}

input.watermark {
    color: #b0c4de;
    background-color: white;
}

input.selected {
    color: initial;
    background-color: #add8e6;
}

.menuSx ul,
.menuSx li {
    font-size: 14px;
    border-bottom: 1px solid gray;
    white-space: nowrap;
    background-color: lightgray;
    color: #294273;
}

.menuSx1 li {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 10px;
    padding-right: 10px;
}

.menuSx li:hover {
    background-color: lightblue;
}

.ui-widget.ui-widget-content {
    border: 1px solid gray;
}

.help {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-image: URL("../img/help.png");
    min-width: 20px;
    max-width: 20px;
    min-height: 20px;
    max-height: 20px;
    cursor: pointer;
}

/* Tooltip text */
.help span {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 1s;
}

/* Tooltip arrow */
.help span::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.help:hover span {
    visibility: visible;
    opacity: 1;
    cursor: help;
}

.helpPopup {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-image: URL("../img/help.png");
    min-width: 20px;
    max-width: 20px;
    min-height: 20px;
    max-height: 20px;
    cursor: pointer;
}

.helpPopup a {
    color: lightgray;
}

/* The actual popup (appears on top) */
.helpPopup span {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

/* Popup arrow */
.helpPopup span::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) */
.helpPopupShow {
    visibility: visible !important;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.collapsable {
    display: block;
    border-bottom: solid gray 1px;
    margin-top: 10px;
}

/*  DRAG AND DROP CSS      */ /* TODO drag and drop css seaction */

.file-droppable {
    background: #d9d5ec;
    border: dashed 2px #5b537d;
    border-radius: 5px;
    overflow: hidden;
    transition: all 1s;
    min-height: 70px;
    position: relative;
}

.file-droppable.filled {
    background: #c5dfdc;
    border: solid 2px #6faca5;
    border-radius: 5px;
}

.file-droppable:after {
    position: absolute;
    left: 13px;
    top: 38px;
    font-size: 10px;
    font-weight: bold;
}

.file-droppable::before {
    content: " ";
    display: inline-block;
    height: 100%;
    width: 1%;
    vertical-align: middle;
}

.file-droppable div {
    display: inline-block;
    vertical-align: middle;
    padding: 10px;
    overflow: hidden;
    word-break: break-all;
}

.file-droppable span {
    position: absolute;
    font-weight: bold;
    right: 5px;
    top: -5px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: none;
}

.file-droppable input {
    position: absolute;
    z-index: 3;
    display: block;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
}

.rotate {
    transform: rotate(-90deg);

    /* Legacy vendor prefixes that you probably don't need... */

    /* Safari */
    -webkit-transform: rotate(-90deg);

    /* Firefox */
    -moz-transform: rotate(-90deg);

    /* IE */
    -ms-transform: rotate(-90deg);

    /* Opera */
    -o-transform: rotate(-90deg);

    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
