h1,
h2,
h3,
h4,
h5,
h6,
.menu {
    font-family: 'Raleway', sans-serif;
    font-weight: bold !important;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em
}

h4 span {
    padding-right: 8px;
    font-size: 0.8em;
    color: #333
}

ul,
ol {
    margin: 0 0 8px 13px;
}

li ul {
    margin-bottom: 0;
}

thead th,
tbody th {
    font-family: "Open Sans", arial, verdana, sans-serif;
    text-align: center;
    white-space: nowrap;
}

button span,
a.btn span,
input[type="submit"],
input[type="reset"],
input[type="button"],
blockquote {
    font-family: "Open Sans", arial, verdana, sans-serif;
}

input.file,
input[type="file"] {
    background-color: transparent
}

.menu [class^="fa-"],
.menu [class*=" fa-"] {
    padding-right: 5px;
}
.menu li a{padding: 13px 20px;}

#ajax_response {
    margin: 0 auto;
    text-align: center;
    width: 80%;
}

.notice {
    width: 500px;
    margin: 13px;
    position: absolute;
    top: auto;
    left: 50%;
    margin-left: -250px;
    z-index: 999;
}

.notice i {
    margin-right: 8px;
    font-size: 18px;
}

.notice.loading {
    background-color: transparent;
    border-color: transparent;
    color: #666;
}

.notice.loading i {
    font-size: 100px;
}

h6.notice {
    text-align: center;
}

/*[class^="fa-"] span,
[class*=" fa-"] span {
    padding-left: 5px;
}*/
button i+span,
a i+span {
    padding-left: 5px;
}

a {
    cursor: pointer !important;
    text-decoration: none;
}

li {
    padding: 3px 0;
}

tr {
    background-color: #eee
}

tr.active {
    background-color: yellow !important;
}

tr.definitivo {
    background-color: lightgreen !important;
}

.floatleft {
    float: left;
}

.floatright {
    float: right;
}

.left {
    text-align: left !important;
}

.right {
    text-align: right !important;
}

.width50 {
    width: 50%;
}

.zero {
    margin: 0;
    padding: 0
}

.fullheight {
    height: 100%;
}

.fullwidth {
    width: 100%;
}

.noborder {
    border: none !important;
}

/*.inline, .inline * {display:inline !important;}
.inline button{
    margin-left: -190px;
    width: 190px;
}*/
.pulsanti a {
    display: block;
    float: none;
    margin: 8px 0;
}

tr:hover {
    background-color: #ccc !important;
}

/*tr.alt{background-color: #fff;}*/

input,
select,
label {
    padding: 3px;
    margin: 2px 0;
    /*    border: 0 none;*/
}

label {
    margin: 4px 0 0 1em;
}

fieldset label {
    width: 8em;
}

fieldset .input-container label {
    width: auto;
}


span label {
    width: auto;
}

legend i,
label i {
    font-size: 13px !important;
    color: #333;
    margin-right: 5px;
}

label i {
    display: inline-block;
    width: 13px;
    text-align: center;
}

select,
option {
    font-size: 1em;
    background-color: #fff;
    text-indent: 0;
    padding-left: 5px;
}

textarea {
    height: auto
}

address {
    font-style: normal;
}

#preview {
    float: right
}

#preview .img-wrap {
    margin: 30px 0 0 13px
}

#preview img {
    height: 150px;
}

#preview img:after {
    background-color: #fafafa;
    border: 1px dotted red;
    font-family: FontAwesome, 'Font Awesome 5 Free';
    content: "\f1c5\ Image not found: (" attr(src) ")";
    height: auto;
    left: -35px;
    min-height: 100%;
    max-width: 200px;
    padding: 3px;
    z-index: 1;
    display: inline-block;
}

.quantita {
    white-space: nowrap;
}

.quantita span {
    margin: 0 3px;
}

.coprifili label:not(:first-child) {
    text-align: right;
}

/*.tight td > a.button {color:pink !important;padding: 3px !important;}*/


/* Tabelle elenco preventivi/ordini */
/*a[href^="clienti"] {
    color: lime;
    white-space: nowrap;
}*/
.gestione {
    width: 175px;
}

.icone_td {
    width: 220px;
    white-space: nowrap
}

#page_ordini button[type="submit"],
#page_preventivi button[type="submit"] {
    margin-left: 2em !important;
}

#ordini tr .icone_td {
    width: 100px !important;
}


#ordini_dettaglio {
    width: 95%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 2em;
}

#ordini_dettaglio th,
#ordini_dettaglio td {
    border: 1px solid black;
    padding: 1px;
    text-align: center;
}

#ordini_dettaglio th {
    text-align: center;
    background-color: rgb(122, 188, 255);
    color: #000;
    font-size: 1.1em;
}

.data_th {
    width: 80px;
}

.cliente {
    min-width: 20%
}

.riferimento {
    min-width: 35%
}

.tight tr td a {
    margin: 0 3px;
    padding: 0;
}

.grid\.flex>div {
    margin-bottom: 30px;
}

#edit_bar {
    background-color: rgba(10, 0, 0, 0.2);
    bottom: 0;
    left: 0;
    padding: 5px 21px;
    position: fixed;
    width: 100%;
    z-index: 999;
}


#esclusi td {
    height: 2em;
    background-color: #fff;
}

.imposto {
    white-space: nowrap;
    color: red;
}

.elimina_file {
    color: red;
    margin-left: -26px;
    position: relative;
    right: 3px;
}

/*---------------------------------
        LAYOUT
-----------------------------------*/
body {
    margin: 0;
    padding: 0 0 0 0;
    color: #000;
    background: #efefef url(img/gray_jean.png);
    font: normal 0.8em/140% 'Open Sans', arial, verdana, sans-serif;
    text-shadow: 0 0 1px transparent;
    /* google font pixelation fix */
}


@media print {

    /* Risolve il problema del testo selezionabile con la stampa in pdf */
    body,
    * {
        font-family: Arial, verdana, sans-serif !important;
    }

    hr {
        margin: 21px 0 !important;
    }

    .intro {
        font-size: 0.9em;
    }

    .noprint {
        display: none;
    }

    tbody tr {
        /* Probabilmente inutile... Firefox lo fa lo stesso, e chrome lo ignora perchè inline */
        page-break-inside: avoid !important;
    }

    tfoot {
        /* Evita di stampare il tfoot in ogni pagina */
        display: table-row-group
    }
}

#print {
    font-family: Arial, verdana, sans-serif !important;
    background: #fff none;
    margin: 0 1em;
}

#print h5 {
    page-break-before: always;
}

#print td {
    vertical-align: top;
    line-height: 1.2em;
    font-size: 0.9em;
}

#print td strong {
    white-space: nowrap;
}

#print td img {
    max-height: 100px;
    max-width: 150px;
}

#print td.condizioni {
    background-color: #fff;
    padding: 0;
    font-size: 1em
}

#wrap {
    width: 100%;
    background: #fff;
    margin: 30px auto 30px auto;
    padding: 0 2%;
    border: 1px solid #ccc;
}

#dati_alberto {
    text-align: left;
    margin: 0 3px;
    color: #999;
    font-size: 0.8em;
    text-shadow: 0 1px 1px #fff;
    min-width: 630px;
}

#dati_alberto hr {
    margin: 8px 0 !important;
    clear: both;
}

#dati_alberto img {
    margin: 0 3px;
}

#dati_alberto h2,
#dati_alberto a {
    color: #999;
    text-decoration: none;
}

.dd-container {
    display: inline-block;
    margin-bottom: 8px;
    top: 3px;
    vertical-align: top;
}

.dd-select,
.dd-selected {
    border-radius: 5px;
    border: solid 1px #ccc;
    position: relative;
    cursor: pointer;
}

.dd-selected {
    overflow: hidden;
    display: block;
    padding: 5px;
    font-weight: bold;
}

.dd-option-image,
.dd-selected-image {
    vertical-align: middle;
    float: left;
    margin-right: 5px;
    max-height: 70px;
}

.dd-pointer {
    width: 0;
    height: 0;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -3px;
}

.dd-pointer-down {
    border: solid 5px transparent;
    border-top: solid 5px #000;
}

.dd-desc {
    color: #aaa;
    display: block;
    overflow: hidden;
    font-weight: normal;
    line-height: 1.4em;
}

.dd-options {
    border: solid 1px #ccc;
    border-top: none;
    list-style: none;
    box-shadow: 0 1px 5px #ddd;
    display: none;
    position: absolute;
    z-index: 2000;
    margin: 0;
    padding: 0;
    background: #fff;
    overflow: auto;
}

.dd-option {
    padding: 10px;
    display: block;
    border-bottom: solid 1px #ddd;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
}

.dd-option label,
.dd-select label {
    width: auto;
    margin: 0;
}

.dd-options>li:last-child>.dd-option {
    border-bottom: none;
}

.dd-option:hover {
    background: #f3f3f3;
    color: #000;
}

.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    padding: 2px 5px;
}

.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

body .ui-colorpicker-swatch {
    width: 21px;
    height: 21px;
}

img[src*="ui-colorpicker.png"] {
    margin: 3px;
}

.pagine {
    font-size: 0.9em;
    text-align: right;
    float: right;
    margin: 8px 5px 0;
}

.pagine a {
    font-size: 1em;
}

.paginacorrente {
    color: red;
    font-size: 1.1em
}

.space_prev {
    width: 25px;
    display: inline-block;
}

.space_next {
    width: 20px;
    display: inline-block;
}

#gestione_prezzi td:nth-child(+n+3) {
    text-align: center;
}

#gestione_prezzi td:nth-child(+n+4) {
    text-align: right;
}

table.striped {
    margin-top: 0.5em;
}

/* Interventi */
table.striped tr.tipo_M,
.tipo_M {
    background: #e5ddd1;
}

table.striped tr.tipo_M.alt {
    background: #d8ccba;
}

/* Altri prodotti */
table.striped tr.tipo_P,
.tipo_P {
    background: #D2FFA5;
}

table.striped tr.tipo_P.alt {
    background: #BFE996;
}

/* Prodotti magazzino */
table.striped tr.tipo_A,
.tipo_A {
    background: #c0e8e8;
}

table.striped tr.tipo_A.alt {
    background: #b0d6ee;
}

.firme div {
    margin-top: 3em;
    font-size: 1.1em;
}

#edit_bar input[type=checkbox] {
    display: none;
}

#edit_bar input[type="checkbox"]+label::before {
    font-family: "Font Awesome 5 Free";
    content: "\f0c8";
    font-size: 20px;
    color: #666;
    position: relative;
    top: 3px;
    left: -5px;
}

#edit_bar input[type="checkbox"]:checked+label::before {
    content: "\f14a";
    color: #000;
}

html,
body,
.fullheight {
    min-height: 100% !important;
    height: 100%;
}

.fancybox__content {
    padding: 0 !important;
}

#ordini .finito::before {
    content: "\f00c";
    color: green;
    font: var(--fa-font-solid);
    margin: 0 3px 0 0;
}