@font-face {
    font-family: "covington";
    src: url("../font/covington.woff") format('woff');
}

html, body {
    height: 100%;
}

.font-covington {
    font-family: "covington", serif !important;
    letter-spacing: 5px !important;
}

.font-size-3rem {
    font-size: 3rem !important;
}

.less-margin-left {
    margin-left: 10px !important;
}

.less-margin-right {
    margin-right: 10px !important;
}

@media only screen and (max-width: 600px) {
    /*.hide-on-small-only, .hide-on-small-and-down {*/
    .no-margin-on-small-only, .no-margin-on-small-and-down {
        margin: 0 !important;
    }

    nav ul#nav-mobile > li > a {
        padding: 0 10px !important;
    }

}

.margin-top-15 {
    margin-top: 15px !important;
}

.checkbox-header {
    width: 30px;
}

.min-width-200 {
    min-width: 200px !important;
}

i.tiny-small {
    font-size: 1.7rem !important;
}

i.tiny-smaller {
    font-size: 1.5rem !important;
}

i.tiny-smallest {
    font-size: 1.3rem !important;
}

[type="checkbox"].filled-in.vertical-middle + span:not(.lever):before, [type="checkbox"].filled-in + span:not(.lever):after {
    margin-top: 2px !important;
}

[type="checkbox"].filled-in.vertical-middle + span:not(.lever):before {
    margin-top: 5px !important;
}

[type="checkbox"].no-label-spacing + span:not(.lever) {
    padding-left: 0 !important;
}

td, th {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

[type="submit"].btn.submit-normalize-fix {
    -webkit-appearance: unset !important;
}

form .input-field.col.s12 {
    padding: 0 !important;
}

form .input-field.col.s12 label {
    left: 0 !important;
}

/* input form help font size fix */
.input-field > label + p,
.input-field > label ~ ul {
    font-size: 12px !important;
}

/* table column sort arrow position fix */
.sort-arrow {
    margin: 3px 0 0 3px !important;
}

.sort-header,
.update-anchor {
    text-decoration: none !important;
    color: inherit !important;
}

.not-selectable {
    user-select: none !important;
}

.tabella-disponibilita thead tr,
.tabella-disponibilita.has-summary tbody tr:nth-last-child(2) {
    border-bottom-color: black;
}

.tabella-disponibilita.has-summary tbody tr:last-child {
    border-bottom: none;
}

.tabella-disponibilita td.disp-0 {
    color: lightgray;
}

.materialize-select:not(.no-default-value) li:first-child span {
    color: lightgray;
}

.materialize-select.empty-label-selected:not(.no-default-value) input {
    color: lightgray;
}

input[type=number][value="0"] {
    color: lightgray;
}

span.help-block,
.row.taglie-errors ul li {
    color: red;
    font-size: 0.9em;
}

.user-warning {
    color: red;
}

nav ul li.active {
    background-color: inherit !important;
    box-shadow: inset 0 -4px 0 white !important;
}

table.inventario th.etichetta-header {
    cursor: default;
}

table.inventario th.etichetta-header,
table.inventario td.etichetta-checkbox {
    width:0.1%;
    white-space: nowrap;
}

.message-error {
    background: #ff0000a0;
    padding: 10px;
    border: 1px solid red;
}

a.inventario-filter {
    text-decoration: none;
    color: black;
}

/* fix per la posizione dei menu dropdown nella navbar che non rispettano l'opzione */
/* di apparire sotto al pulsante che li ha aperti quando lo schermo risulta essere piccolo */
@media screen and (max-width: 600px) { .fixed-top-fix { top: 56px !important; } }
@media screen and (min-width: 601px) { .fixed-top-fix { top: 64px !important; } }


/* pagination fix */
.pagination li.active span {
    color: #fff;
}

.pagination li.disabled span {
    cursor: default;
    color: #999;
}

.pagination li span {
    color: #444;
    display: inline-block;
    font-size: 1.2rem;
    padding: 0 10px;
    line-height: 30px;
}

.materialize-select.no-default input,
.materialize-select.no-default span {
    color: black !important;
}

.materialize-select.no-default.width-100 input {
    width: 100px    ;
}