html {
    height: 100%;
    overflow: hidden;
}
.login {
    width: 100%;
    height: 100%;
    background: url('../Images/background.jpg');
    display: flex;
}

.login-box {
    flex: 0 1 30%;
    display: grid;
    place-items: center;
}

.login-banners {
    flex: 1 1 auto;
}

.login-frame {
    display: flex;
    background-color: white;
    width: 400px;
    height: 350px;
    padding: 10px;
    box-shadow: 1px 1px 10px 5px black;
    flex-direction: column;
}

.login-header {
    flex: 0 0 auto;
    padding: 10px;
}

.login-header img {
    width: 100%;
}

.login-body {
    flex: 1 1 auto;
    padding: 10px;
}

.login-footer {
    flex: 0 0 auto;
    text-align: center;
}

.login-footer img {
    width: 24px
}

.login-footer a {
    color: black;
}

.login-invalid-credential {
    color: red;
    visibility: hidden;
    margin-top: 3px;
}

.login-invalid-credential.show {
    visibility: visible;
}

.main {
    width: 100%;
    height: 100%;
}

.main_container {
    display: flex;
    height: calc(100% - 60px);
}

.nvbar {
    background-color: black;
    color: white;
    height: 60px;
    display: flex;
    align-items: center;
}

.nvbar .title {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.nvbar .user {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    flex-direction: row-reverse;
    margin-right: 20px;
    overflow: visible;
    position: relative;
    cursor: pointer;
}

.nvbar .user .user-image img {
    width: 28px;
}

.nvbar .user .user-data {
    text-align: right;
    margin-right: 10px;
    line-height: 16px;
}

.nvbar .user .user-data .cognome {
    font-size: 18px;
}

.nvbar .title img {
    width: 250px;
    margin-right: 10px;
}

.nvbar .hamburger {
    font-size: 28px;
    margin-left: 17px;
    color: white;
    cursor: pointer;
}

.sidebar {
    left: 0;
    width: 60px;
    height: 100%;
    position: absolute;
    background-color: black;
    color: white;
    overflow: hidden;
    z-index: 99;
}

.sidebar .element {
    padding: 14px;
    width: 410px;
    display: flex;
    align-items: baseline;
    cursor: pointer;
}

.sidebar .element:hover {
    background-color: gray;
}
.sidebar .element i {
    font-size: 24px;
    display: inline-block;
}

.sidebar .element span {
    font-size: 22px;
    display: inline-block;
    margin-left: 20px;
}

.sidebar.open {
    width: 410px;
    transition: width 0.2s ease
}

.frame_container {
    flex: 1 1 auto;
    margin-left: 60px;
    display: flex
}

.leaflet-control-attribution {
    display: none;
}

.dettagli-utente {
    background-color: white;
    color: black;
    position: absolute;
    z-index: 999;
    top: 46px;
    width: 350px;
    height: 270px;
    display: flex;
    flex-direction: column;
    padding: 5px;
    border-radius: 3px;
    box-shadow: 0 0 20px black;
    display: none;
}

.dettagli-utente.visible {
    display: flex;
}

.dettagli-utente>.user-data {
    display: grid;
    place-items: center;
    flex: 1 1 auto;
    text-align: center;
}

.dettagli-utente>.user-data img{
    width: 80px;
    margin-bottom: 22px;
}

.dettagli-utente>.user-data div{
    text-align: center;
}

.dettagli-utente>.user-data .utente{
    font-size: 20px;
}

.dettagli-utente>.user-data .societa{
    font-size: 16px;
    margin-top: 5px;
}

.dettagli-utente>.user-commands {
    flex: 0 0 60px;
    display: flex;
    place-items: center;
    border-top: 1px solid #ccc;
}

.dettagli-utente>.user-commands div {
    flex: 1 1 50%;
    text-align: center;
}

.dettagli-utente>.user-commands div button {
    width: 150px;
}
