body div.data-container {
    padding: 5px !important;
}

.btn-full-width {
    width: 100%;
}
div.train-cliente,
span.train-cliente {
    font-size: 8px;
}

.full-size {
    width: 100% !important;
}

.arrivato strong, .partito strong {
    color: #555555;
}

.teorico strong {
    color: #888888;
    font-style: italic;
    font-weight: normal;
}

li.user {
    background: #EEE;
}
li.user a {
    color: black !important;
}

.table-header {
    text-align: center;
}

/*Overrides Responsive Media Query*/
.info-small {
    display: none;
}
.info-large {
    display: table-cell;
}

.table-real-time {
    width: 100%;
}

.table-real-time tr, .table-real-time td {
    padding: 5px;
    font-size: .95em;
}

.table-real-time tr.even {
    background-color: white;
}

.table-real-time tr.odd {
    background-color: whitesmoke;
}

.table-real-time td.scostamento {
    font-size: .925em;
    border-bottom: 2px solid black;
}

.table-detail {
    margin-bottom: 5px;
}

.table-detail tr.early td {
    background-color:  rgb(240, 255, 255);
}

.table-detail tr.time td {
    background-color: rgb(208, 255, 208);
}

.table-detail tr.late5 td {
    background-color: rgb(255, 255, 208);
}

.table-detail tr.late60 td {
    background-color: rgb(255, 208, 208);
}

.table-detail tr.late61 td {
    background-color: rgb(255, 192, 255);;
}




@media (max-width:768px) {
    
    body {
        min-width: 320px !important;
    }
    .container {
        padding: 0px !important;
    }
    div.data-container {
        padding: 45px 5px 0px 5px !important;
    }

    .real-time-container {
        margin-left: -5px;
        margin-right: -5px;
        margin-top: -5px;
    }

    table.real-time {
        font-size: 12px;
        width: 100% !important;
    }
    table.real-time th,
    table.real-time td {
        padding: 3px !important;
    }
    table.real-time th.num-treno,
    table.real-time td.num-treno {
        min-width: 75px;
    }

    .navbar {
        min-height: 30px;
        margin-bottom: 5px;
    }
    .navbar-nav>li>a {
        padding-left: 25px !important;
    }

    .navbar-toggle {
        padding: 5px;
        margin: 5px 20px 5px 5px;
    }
    .navbar-brand {
        height: 30px !important;
        line-height: 10px;
        margin-left: 10px;
    }
    .info-small {
        display: table-cell;
    }

    .info-large {
        display: none;
    }
    div.dettaglio-treno h4 {
        margin: 5px 0px;
        font-size: .9em;
    }

    div.dettaglio-treno .alert {
        padding: 2px 5px;
        margin: 3px 0px;
    }
    table.table-detail {
        font-size: .75em;
    }

    .notes {
        font-size: .75em;
    }

    table.table-detail th {
        padding: 3px !important;
        margin: 3px !important;
    }

    table.table-detail td {
        padding: 1px !important;
    }


}

h4.locality-name {
    margin-top: 0px;
    color: darkblue;
}
h4.reticolo-name {
    font-size: .8em;
    color: #444444;
}

.train-link.m {
    color: #00BB00;
}

.train-link.ic {
    color: #CC0000;
}

.train-link.exp {
    color: #000084;
}

.train-link.reg {
    color: #123456;
}
strong.geo {
    font-size: 1.4em;
    color: blue;
}
#map-container {
    background-color: yellow;
    height: 440px;
    width: 100%;
    margin-top: 10px;
}

span.map-label {
    color: black;
    display: inline-block;
    text-align: right;
    padding: 0px 5px;
    width: 50px;
    color: #006361;
}

.obj-container {
    background-color: white;
    position: absolute;
    left: 0px;
    top: 50px;
    width: 100%;
    height: 100%;
}

.obj-container object {
    background-color: white;
    width: 100%;
    min-height: 750px;
    height: auto;
}

.real-time tr.treno-P td.treno-info{
    color: red;
}

.real-time tr.treno-M td.treno-info{
    color: blue;
}


td.delay-Y {
     background-color: lightyellow;
 }

td.delay-P {
    background-color: #FFCCFF;
}
td.delay-G {
    background-color: #dff0d8;
}

.real-time tr.treno td {
    height: 40px;
    vertical-align: middle;
    text-align: center;
}

.real-time td.treno-localita {
    width: 100px;
    max-width: 100px;
    white-space: normal !important;
}

.real-time thead.legend {
    color: white;
}

.real-time thead.legend th {
    background-color: blue;
}

.cliente {
    font-size: .50em;
    color: darkblue;
}

.extra {
    font-size: .75em;
    color: darkgreen;
    font-weight: bold;
}


.extra2 {
    font-size: .75em;
    color: gray;
    font-weight: normal;
}

.scostamento {
    font-size: .80em;
    font-weight: bold;
}

td.legend {
    background-color: #e1edf7;
}

.train-row-hide {
    display: none;
}

.dataTables_wrapper div.row {
    width: 100%;
}

.dataTables_filter,
.dataTables_length,
.dataTables_info,
.dataTables_paginate {
    padding: 10px;

}

.dataTables_filter label,
.dataTables_length label,
.dataTables_info label,
.dataTables_paginate label {
   display: inline;
}

.navbar-saro {
    padding: 5px;
    margin-bottom: 0px;
}
.navbar-brand-saro {
    color: white;
    line-height: 30px;
}

.navbar-saro .navbar-toggler  {
    padding: 0px;
    font-size: 1em;
}

.list-group-item-content {
    padding: 0px;
}

.table-no-padding tr,
.table-no-padding th,
.table-no-padding td {
    padding: 0px;
}

.card-train-info {
    margin-top: 5px;
}

.card-train-info .card-body {
    padding: 5px;
}

.user-data {
    font-size: .8em;
    text-align: right;
    padding: 0px 10px;
    background-color: #EEE;
}

@font-face {
    font-family: 'Futura';
    src: url('/cdn/fonts/hinted-Futura-Bold.eot');
    src: url('/cdn/fonts/hinted-Futura-Bold.eot?#iefix') format('embedded-opentype'),
    url('/cdn/fonts/hinted-Futura-Bold.woff2') format('woff2'),
    url('/cdn/fonts/hinted-Futura-Bold.woff') format('woff'),
    url('/cdn/fonts/hinted-Futura-Bold.ttf') format('truetype'),
    url('/cdn/fonts/hinted-Futura-Bold.svg#Futura-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

span.station-name {
    display: inline-block;
    font-family: 'Futura';
    font-weight: bold;
    font-style: normal;
    background-color: #1E2460;
    color: white;
    padding: 5px;
}

.time.preview {
    font-weight: normal;
    color: #333;
}

.time.real {
    font-weight: bold;
    font-size: .9em;
    color: #000;
}

.paginate_button {
    margin: 2px;
}

tr.perio-table {
    display: none;
}