﻿@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 100;
    src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'), url(https://fonts.gstatic.com/s/roboto/v20/KFOiCnqEu92Fr1Mu51QrEzQdKg.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 300;
    src: local('Roboto Light Italic'), local('Roboto-LightItalic'), url(https://fonts.gstatic.com/s/roboto/v20/KFOjCnqEu92Fr1Mu51TjASc-CsE.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: local('Roboto Italic'), local('Roboto-Italic'), url(https://fonts.gstatic.com/s/roboto/v20/KFOkCnqEu92Fr1Mu51xMIzc.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 500;
    src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'), url(https://fonts.gstatic.com/s/roboto/v20/KFOjCnqEu92Fr1Mu51S7ACc-CsE.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'), url(https://fonts.gstatic.com/s/roboto/v20/KFOjCnqEu92Fr1Mu51TzBic-CsE.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 900;
    src: local('Roboto Black Italic'), local('Roboto-BlackItalic'), url(https://fonts.gstatic.com/s/roboto/v20/KFOjCnqEu92Fr1Mu51TLBCc-CsE.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: local('Roboto Thin'), local('Roboto-Thin'), url(https://fonts.gstatic.com/s/roboto/v20/KFOkCnqEu92Fr1MmgVxMIzc.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmSU5fABc9.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu5mxP.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: local('Roboto Medium'), local('Roboto-Medium'), url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmEU9fABc9.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmWUlfABc9.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: local('Roboto Black'), local('Roboto-Black'), url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmYUtfABc9.ttf) format('truetype');
}

html {
    position: relative;
    min-height: 100%;
    max-height: 100%;
}

body {
    min-height: 100%;
    max-height: 100%;
    padding-top: 50px;
    padding-bottom: 20px;
    /*background-image: linear-gradient(#ED1B24, white, #2E343A);*/
    background-color: #34495e;
    background-repeat: no-repeat;
    background-size: contain;
    background-attachment: fixed;
    font-family: "Roboto", 'Helvetica Neue, Helvetica, Arial', sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.4;
}


/*--------------------- CUSTOM SCROLLBAR---------------------*/
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background-color: #ebebeb;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #6d6d6d;
}
/*---------------------END CUSTOM SCROLLBAR---------------------*/


/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px; 
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/*GESTIONE LOCOMOTORE*/
#gestLocomotore {
    border: 5px solid #22272B;
    background-color: white;
}

/*GESTIONE SCELTA LOCOMOTORI*/
select:required:invalid {
    color: gray;
}

option[value=""][disabled] {
    display: none;
}

option {
    color: black;
}

#btnAggiungiLocomotore{
    /*margin-top:15px;
    margin-bottom: 5rem;*/
}

#locomotiva {
    /*margin-top: 1.5rem;*/
}

#filter_input_container{
    padding-left:0px;
}

    #filter_input_container div.sticky > div {
        margin-top: 1rem;
    }

div.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 50px;
    z-index: 1020;
}

/* LOGIN */
#loginForm {
    /*border: 5px solid #22272B;*/
    background-color: white;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

    .form-signin .checkbox {
        font-weight: 400;
    }

    .form-signin .form-control {
        position: relative;
        box-sizing: border-box;
        height: auto;
        padding: 10px;
        font-size: 16px;
    }

        .form-signin .form-control:focus {
            z-index: 2;
        }

    .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.login-logo-container {
    margin-bottom: 20px;
    margin-top: 20px;
}

.error {
    color: #FF4136;
}


/* MAIN */
.main-container {
    background-color: white;
    /*border: 5px solid #22272B;*/
    /*margin-top: 60px;*/
    margin: 2rem 3rem 3rem 3rem;
}

    .main-container > .row {
        margin:0px;
    }

.form-container {
    padding: 20px;
}

#main-top-logo{
    height: 47px;
}

#logout {
    cursor: pointer;
}
#welcome-message {
    color: #FFC107;
}
.dt-button {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.dt-button:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}
.buttons-excel {
    background-color: forestgreen;
    border-color: forestgreen;
}
.buttons-excel:hover {
    background-color: green;
    border-color: green;
}
.buttons-csv {
    background-color: orange;
    border-color: orange;
}

    .buttons-csv:hover {
        background-color: chocolate;
        border-color: chocolate;
    }

#date {
    display: flex;
    /*position: absolute;
    left: 32.7%;
    bottom: -7px;*/
    padding-left: 0px !important;
}

@media only screen and (max-width: 500px) {
    
    .flatpickr-input.flatpickr-mobile{
        max-width: 170px;
    }
}

/*#btnDownloadMapCsv{
    margin-top: 2px;
}*/

.form-control.input[readonly] {
    background-color: #e9ecef;
    max-width: 172px;
    opacity: 1;
}
/*MESSAGGI ERRORE FORM REGISTRAZIONE*/
.messaggioErrore {
    color: #e23b3b;
    float:left;
    padding-left:5px;
    padding-top:5px;
}

@media screen and (min-width: 576px) { /*DESKTOP*/
    #last_update_container {
        overflow: hidden;
        background-color: white;
        border-radius: .25rem;
        margin: 3rem 3rem 0rem 3rem;
        padding: 1rem;
    }
}

@media screen and (max-width: 576px) { /*MOBILE*/
    #last_update_container {
        background-color: white;
        border-radius: .25rem;
        margin: 3rem 1rem 0rem 1rem;
        padding: 1rem;
    }
}


    @media screen and (min-width: 576px) { /*DESKTOP*/
        #last_update_container .row {
            margin-left: 0px;
            margin-right: 0px;
        }
    }

    /*#last_update_container .row {
        margin-left: 0px;
        margin-right: 0px;
    }*/

        #last_update_container .row > div {
            width: 100%;
        }
       
        @media screen and (max-width: 576px) { /*MOBILE*/
            #last_update_container .row #scelta_locomotore_container {
                margin: 1rem 0rem;
            }
        }

        @media screen and (min-width: 576px) { /*DESKTOP*/
            #last_update_container .row #scelta_locomotore_container {
                /*margin: 1rem 0rem;*/
            }
        }

        

#map_container.desktop {
    height: 550px;
    background-color: white;
    border-radius: .25rem;
    margin: 1rem 3rem 3rem 3rem;
    padding: 1rem;
}

#map_container.laptop {
    height: 550px;
    background-color: white;
    border-radius: .25rem;
    margin: 3rem 1rem 0rem 1rem;
    padding: 1rem;
}

#map {
    height: 100%;
}


.navbar-collapse > button{
    margin-left: 15px;
}
/*------------------------------------------------------------------CUSTOM DROPDOWN------------------------------------------------------*/

.bootstrap-select .btn:focus {
    outline: none !important;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.mdl-data-table{
    width: 100%;
}