﻿/* Reset dello style della pagina */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
/*time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;*/
/*vertical-align: baseline;*/
/*}*/
/*#region font-face */
/*@font-face {
    font-family: 'Jaldi-Regular';
    src: url('../fonts/Jaldi-Regular.ttf') format('truetype');
}*/
/*#endregion */
/*#region mt-font-family */
.mt-font-family-jaldi {
    font-family: Jaldi-Regular, Arial, 'Times New Roman', Times, sans-serif;
}

.mt-font-family-jaldiBold {
    font-family: Jaldi-Bold, Arial, 'Times New Roman', Times, sans-serif;
}

/*#endregion */


@font-face {
    font-family: 'Roboto-Regular';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
}

/*#region BODY */

body {
    font-family: Roboto-Regular;
    text-align: left;
    background-color: #1f2127; /*#1c6498*/ /*#1A5279*/
    color: white;
    width: 100%;
    height: 100vh;
    position: absolute;
    bottom: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

/*#endregion */

/* #region FONT */

.mt-font-10 {
    font-size: 0.8vw;
}

/* #endregion*/


/*#region MODIFICHE CLASSI W3.CSS*/

.w3-container {
    padding: 0.01em 8px;
}
/*#endregion */

.w3-dropdown-content {
    left: -110px;
    top: 40px;
    min-width: 150px !important;
}

.w3-btn {
    padding: 4px 12px !important;
}

/*#region CLASSI MT*/

.mt-bold {
    font-weight: bold !important;
}

.mt-li-padding {
    padding: 0px 3px;
}

.mt-imgdidascalia {
    width: 30px;
    height: 20px;
    border-radius: 2px 2px;
}

.mt-xsmall {
    font-size: 0.8em;
}

.mt-fs-15em {
    font-size: 1.5em;
}

.mt-fs-1em {
    font-size: 1em;
}

.mt-mr-4 {
    margin-right: 4px;
}

.mt-mt-8 {
    margin-top: 8px;
}

.mt-mb-4 {
    margin-bottom: 4px;
}

.mt-ml-4 {
    margin-left: 4px;
}

.mt-pointer {
    cursor: pointer;
}

.mt-w450 {
    width: 450px;
}

.mt-iconinfo {
    width: 1.2em;
    height: 1.2em;
    margin-top: 9px;
    margin-left: 25px;
    margin-right: 10px;
}

.mt-tab {
    padding-left: 0.8em;
}

/*#endregion */
/*#region CARD */
.mt-card-width {
    width: 100% !important;
}

.mt-card-header {
    height: 60px;
    margin: 7px 0px 7px 0px;
    box-shadow: 0px 1px 0px 0px lightgray;
}

.mt-riepilogo {
    /*border: 1px solid #0F507E !important;*/
    background-color: #1A93DB;
}

.img-logo {
    display: inline-block;
    width: 45px;
    height: 45px;
}

/*#endregion */
/*#region INDICATORI DPQ */
.mt-bar {
    width: 100%;
    height: 15px;
    margin-top: 5px;
    background-color: black;
}

.mt-bar-percentuale {
    height: 15px;
    vertical-align: middle;
    /*padding-top: 6px;*/
    background-color: #1571D3;
}

.icon-lang, .img-info {
    display: normal;
}

#dataora {
    display: normal;
}

#info {
    display: none;
}

/*#endregion */


/*#region STATI MACCHINA*/

.mt-txtstato {
    /*giallo*/
    color: white; /*#C6B90F;*/
}

.mt-allarme {
    color: #D82729; /*#CB5503;*/ /*#B42E24;*/ /*#98170D;*/ /*#ff1200;*/
    font-weight: bold;
}

/*sconosciuto*/
.mt-br-grigio {
    /*grigio*/
    border: 4px solid #AAADAD; /*#73787C;*/
}

/*semiauto e auto*/
.mt-br-verde {
    border: 4px solid #34A853;
}

/*inattiva*/
.mt-br-nero {
    /*nero*/
    border: 4px solid #1F2127;
}

/*manutenzione attesaop e attrezzaggio*/
.mt-br-giallo {
    border: 4px solid #E3E352; /*#C6B90F;*/
}

/*fermo manuale allarme*/
.mt-br-rosso {
    border: 4px solid #D82729;
}

.mt-darkgray {
    background-color: #2E2E31 /*2C2E31*/;
}

.mt-darkblue {
    background-color: #1A439D /*#2952AA*/;
}

.mt-br-darkblue {
    border: 4px solid #1A439D;
}

.mt-font-blue {
    color: #0358B2;
}

.mt-opacity {
    opacity: 0.5;
}

/*endregion*/


/*#region SLIDEUP LIST*/

.ticker {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

    .ticker li {
        list-style: none;
        padding: 0px 2px;
        margin: 0;
        height: 23px;
        border-radius: 4px 4px;
        /*border-bottom: 1px solid #52555D #393E43;*/
        /*padding: 10px;*/
    }


.mt-tag-border {
    font-size: 2.4em;
    padding: 0px 13px;
}

.mt-br-red {
    border: 1px solid #F26641;
}

.mt-red {
    background-color: #F26641;
}

.mt-font-red {
    color: #F26641 !important;
}

.mt-font-lawngreen {
    color: lawngreen !important;
}

.mt-br-lightblue {
    border: 1px solid #0080C6;
}

.mt-lightblue {
    background-color: #0080C6;
}

.mt-font-lightblue {
    color: #0080C6 !important;
}

.mt-br-violet {
    border: 1px solid #8B8BC4;
}

.mt-violet {
    background-color: #8B8BC4;
}

.mt-font-violet {
    color: #8B8BC4 !important;
}

.mt-fontblue {
    color: #0769AA;
}

.mt-font-2-4em {
    font-size: 2.4em;
}

.mt-lblsimbolo {
    font-size: 1.1em;
    color: #000;
    margin: 0px 5px 0px 5px;
}

.mt-lblformula {
    font-family: Roboto-Regular;
    font-weight: 300;
    font-size: 1em;
    color: #0769AA;
}

.mt-mb-20 {
    margin-bottom: 20px;
}

.mt-lbl-h5 {
    color: #000;
    font-size: 1.2em;
    font-family: Roboto-Regular;
}

.mt-lblnumero {
    color: #000;
    font-weight: 300;
    font-size: 1.05em;
    font-family: Roboto-Regular;
}

.div-didascalie {
    display: none;
}

/*#endregion */
/*#region MEDIA QUERIES*/
/*orientation screen: horizontal  */

@media only screen and (max-width:950px) {
    .w3-xlarge {
        font-size: 15px !important;
    }
}


@media only screen and (max-width:890px) {

    .mt-lblformula, .mt-lblnumero, .mt-lblsimbolo {
        font-size: 0.7em;
    }

    .mt-bar, .mt-bar-percentuale {
        height: 12px;
    }

    .mt-bar-percentuale {
        padding-top: 0px;
    }

    .w3-xxlarge {
        font-size: 20px !important;
    }

    .w3-xlarge {
        font-size: 11px !important;
    }

    .w3-large {
        font-size: 14px !important;
    }

    .w3-medium {
        font-size: 12px !important;
    }

    .mt-fs-1em {
        font-size: 0.8em !important;
    }

    .mt-fs-15em {
        font-size: 1em !important;
    }

    .mt-xsmall {
        font-size: 0.7em !important;
    }

    /*Gestione spazio nell'intestazione*/
    /*.dataora {
        display: none;
    }*/

    #info {
        display: normal;
    }

    .title-txt {
        display: none !important;
    }

    .title {
        width: 30.33% !important;
        display: inline-block !important;
    }

    .logo {
        /*width: 60% !important;*/
        display: inline-block !important;
    }

    .mt-imgdidascalia {
        width: 20px;
        height: 16px;
    }

    .img-info {
        display: none !important;
    }

    .div-didascalie {
        display: inherit !important;
    }

    .icon-lang img {
        width: 1.5em;
        height: 1.5em;
    }

    .mt-iconinfo {
        margin-left: 9px !important;
    }
}

@media only screen and (max-width:600px) {
    .mt-acapo {
        display: none;
    }

    .contatore {
        padding-left: 0.8em;
    }

    .w3-third {
        float: left;
        width: auto;
    }
}
