html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

[v-cloak] {
  display: none;
}

.nav {
    height: 60px;
    background-color: lightgray;
}

.navbar-brand img {
    max-height: 48px;
}

li.nav-item a {
    font-family: 'Jost';
    font-size: 17px;
    color: #181818 !important;
}

a {
    color: #555555 !important;
}

a:hover {
    color: #3c71c2 !important;
    text-decoration: none !important;
}

.footer {
    height: 140px;
    background-color: lightgray;
}

#map {
    height: 93%;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 68px;
    right: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 40px;
    border-top: 1px solid lightgray;
    border-left: 1px solid lightgray;
}
 
.sidenav .content {
    width: 350px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 30px;
}

.sidenav .content p  {
    font-size: 14px;
    color: #818181;
    display: block;
    line-height: 8px;
    transition: 0.3s;
    padding-left: 15px;
}

a.gallery {
    padding-left: 5px;
}

.sidenav .left img {
    width: 100%;
    height: auto;
    margin-right: 10px;
    max-height: 640px;
}

#roadImage {
    border: 2px solid #ccc;
}

.sidenav .right img {
    width: 70px;
    height: auto;
    margin-right: 5px;
    margin-bottom: 20px;
    cursor: pointer;
    border: 2px solid #ccc;
}

.sidenav .right p {
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: 20px;
    color: black;
}

.sidenav .row {
    margin-top: 10px;
}

.sidenav .content tr td {
    font-size: 14px;
    color: #5B5B5B;
    font-weight: bold;
    transition: 0.3s;
    padding-left: 5px;
    padding-top: 10px;
}

.sidenav .content table {
    margin-bottom: 20px;
}

.sidenav .content h6 {
    margin-bottom: 20px;
    margin-right: 10px;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .content h6 a::after{
    content: "\f054";
    font-family: 'Font Awesome\ 5 Free';
    font-weight: bold;
    font-size: 20px;
    color: #333;
    left: -10px;
    position: absolute;
    transform: translateY(-4px);
}

.sidenav .content h6 a[aria-expanded="true"]::after {
    content: "\f078";
}

.sidenav .closebtn {
    position: absolute;
    top: -15px;
    font-size: 42px;
    padding-left: 5px;
}

#main {
    transition: margin-right .5s;
}

#modal-road .slide-img {
    width: 800px;
    height: auto;
    margin: auto;
    border-radius: 3px;
    border: solid 1px #dadada;
    box-shadow: 0px -10px 8px #ccc;
}

#modal-road .road-img {
    width: 500px;
    height: auto;
    margin-right: 10px;
    margin-top: 20px;
}

@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

.map-legend {
    position: absolute;
    top: 150px;
    left: 10px;
    background-color: #fff;
    width: 300px;
}

.map-legend p {
    margin-bottom: 0;
}

.map-legend p a {
    width: 100%;
    display: block;
    padding: 10px 10px 10px 10px;
    color: #ababab;
    font-size: 13px;
    font-weight: bold;
    background-color: #f8fbfc;
    border-bottom: 1px solid #f0f4f6;
}

.map-legend p a::after {
    content: "\f054";
    font-family: 'Font Awesome\ 5 Free';
    color: #333;
    right: 15px;
    position: absolute;
}

.map-legend p a[aria-expanded="true"] {
    background-color: #eaf3f6;
}

.map-legend p a[aria-expanded="true"]::after {
    content: "\f078";
}

.legend-body {
    padding: 15px;
}

.legend-body p {
    margin-bottom: 10px;
    font-size: 12px;
}

.dot {
    height: 15px;
    width: 15px;
    background-color: #bbb;
    border-radius: 50%;
    margin-right: 10px;
    transform: translateY(2px);
    display: inline-block;
}

.dot.white {
    background-color: #fff;
    border: 1px solid #d5d5d5;
}

.dot.iri-1 {
    background-color: #AFD336;
}
.dot.iri-2 {
    background-color: #FFE746;
}
.dot.iri-3 {
    background-color: #F89D14;
}
.dot.iri-4 {
    background-color: #CC2D2D;
}

.dot.etd-1 {
    background-color: #006405;
}
.dot.etd-2 {
    background-color: #92D050;
}
.dot.etd-3 {
    background-color: #FFE746;
}
.dot.etd-4 {
    background-color: #CC2D2D;
}

.dot.rut-1 {
    background-color: #AFD336;
}
.dot.rut-2 {
    background-color: #FFE746;
}
.dot.rut-3 {
    background-color: #F89D14;
}
.dot.rut-4 {
    background-color: #CC2D2D;
}

/*
nuovo dot pci (icp) che passa da 7 valori a 5
*/
.dot.pci-1 {
    background-color: #006405;
}
.dot.pci-2 {
    background-color: #92D050;
}
.dot.pci-3 {
    background-color: #FFFF1D;
}
.dot.pci-4 {
    background-color: #FFC013;
}
.dot.pci-5 {
    background-color: #FF0101;
}

/*
    RL colori per segnali
*/
.dot.RL-0 {
    background-color: #5b5b5b;
}
.dot.RL-1 {
    background-color: #CC2D2D;
}
.dot.RL-2 {
    background-color: #F89D14;
}
.dot.RL-3 {
    background-color: #92D050;
}
.dot.RL-4 {
    background-color: #115fb8;
}

.search-box {
    position: absolute;
    top: 150px;
    right: 10px;
    background-color: #fff;
    width: 308px;
}

.menu-button {
    position: absolute;
    top: 200px;
    right: 10px;
    border: 1px solid #d5d5d5;
    background-color: white;
    width: 48px;
    height: 48px;
}

.infoFooter {
    margin-top: 100px;
    border-top: solid 1px #c3c3c3;
    padding-top: 30px; 
}

.infoFooter p {
    margin-bottom: 0;
    vertical-align: bottom;
}

.btn.entra {
    width: 100%;
    background-color: #3c71c2;
    border: none;
}

.login-img .image {
    background-image: url("/assets/login-image.jpg");
    width: 100%;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-img {
    position:relative;
}

.login-img img {
    max-width: 100%;
    height: 100vh;
}

.login-img .overlay { 
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent linear-gradient(180deg, #3c6ec2f2 0%, #2d4047e6 100%) 0% 0% no-repeat padding-box;
    top: 0;
}

.login-img .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%, -50%);
    color:white;
}

.login-img .register {
    font-size: 24px;
    font-weight: bold;
}

.btn {
    background-color: #3c71c2;
    color: white;
    height: 38px;
}

.btn:hover {
    color: white;
}

.btn.white {
    background-color: white;
    color: #555555;
    border: 1px solid lightgray;
}

.btn.white:hover {
    background-color: #3c71c2;
    color: white;
}

.trash {
    position: absolute;
    right: -5px;
    top: -8px;
    width: 30px;
    height: 30px;
    color: gray;
    background-color: transparent;
    border: 1px solid lightgray;
    border-radius: 5px;
}

.box-selection {
    padding-top: 20px;
    padding-bottom: 20px;
}

.box-selection-container {
    background-color: #f9fbfc;
    padding: 20px;
    min-height: 220px;
    border-radius: 5px;
}

.box-selection-container.green {
    background-color: #3bc2af;
    color: white;
}

.box-selection-inner {
    background-color: #f0f4f6;
    padding: 10px;
}

.box-selection .count {
    color: #7b8989;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
}

.box-selection .count.bottom {
    position: absolute;
    right: 0;
    bottom: 0;
}

.box-selection .count.white {
    color: white;
}

.projects-header {
    background-color: #f9fbfc;
    padding-top:20px;
    padding-bottom: 10px;
}

.projects-header p {
    font-weight: bold;
}

.projects-header p, .project-line p {
    margin-top: 5px;
}

.project-line {
    background-color: #f9fbfc;
    padding-bottom: 10px;
    margin-top: 20px;
}

.project-line .col-md-4, .project-line .col-md-2 {
    margin-top: 20px;
}

.project-line button {
    transform: translateY(-4px);
}

.navbar-nav.center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
}

.navbar-nav p {
    margin-top: 15px;
}

.navbar-nav.center i {
    cursor: pointer;
    transform: translateY(5px);
}

.project-section {
    margin-top: 40px;
}

.project-section span {
    cursor: pointer;
}

.project-section span.active {
    border-bottom: 1px solid #3cc2af;
    padding-bottom: 6px;
    color: #3cc2af;
    cursor: pointer;
}

.project-section #sec-analisi {
    margin-left: 25px;
}

.dati-dettagliati {
    background-color: #f9fbfc;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 40px;
}

.dati-dettagliati input {
    margin-bottom: 20px;
}

.selection-graph {
    width: 100%;
}

.selection-graph th {
    font-size: 11px;
    font-weight: 300;
}

.selection-graph td p {
    margin-top: 10px;
}

.login-img .home_text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform:translate(-50%, -50%);
    color:white;
}

.login-img .home_img {
   background-image: url('/assets/road_home.jpg'); 
   width: 100%; 
   height: 100vh; 
   background-position: center; 
   background-repeat: no-repeat; 
   background-size: cover;	
}

.gallery-button {
    background-color: gray !important;
    border: 2px solid gray !important;
    border-radius: 5px !important;
}

.report-download {
    position: absolute;
    bottom: 0;
    right: 20px;
}

.spinner-border[id^=report-spinner-] {
    width: 15px;
    height: 15px;
    display: none;
}

a.btn {
    color: white !important;
    height: 100%;
}

/*.table.border-bottom th {
    border-top: none !important;
    border-bottom: 1px solid #dee2e6 !important;
}*/

.select-group {
    position: absolute;
    top: 90px;
    right: 100px;
    width: 220px;
}

.contracts {
    position: absolute;
    bottom: 30px;
    left: 10px;
}

.contracts span {
    cursor: pointer;
    padding: 7px;
    margin-left: 10px;
    border: 1px solid lightgray;
    background-color: #f8fbfc;
    color: #555555;
}

.contracts span:hover {
    color: #3c71c2;
}

.contracts span.active {
    background-color: #0660cc;
    border: 1px solid gray;
    color: white;
}

#modal-alert {
    top: 200px;
}

.language span {
    cursor: pointer;
    padding-right: 10px;
}

.language span.active {
    text-decoration: underline; 
}

.segnaletica {
    position: absolute;
    top: 105px;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10;
}

.segnaletica button {
    padding: 8px 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: gray;
    color: white;
    cursor: pointer;
    text-align: center;
}

.segnaletica button.active {
    background-color: #007bff;
}

.user-email {
    display: inline-block;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 5px 8px;
    border-radius: 3px;
  }