/*file should be checked since there might be rules not used anymore*/
  
:root {
    --sfondoscuro: #232834;
    --sfondosalmone: rgb(255, 79, 79);
    --sfondochiaro: rgb(237, 237, 237);
  }

  [v-cloak]{
    visibility: hidden;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: ivory;
    background-color: var(--sfondochiaro);
  }

  
  /* Navbar */
  
  .navbar {
    background-color: var(--sfondoscuro);
    display: flex;
    font-size: medium;
    position: sticky;
    top:0;
    z-index: 100;
  }
  
  .navbar.on-full-screen {
    display: none;
  }
  
  .navbar a {
    color: white;
    text-decoration: none;
  }
  
  .navbar-link {
    padding: 10px 20px;
    border-right: 1px solid white;
  }
  
  .navbar-link:hover {
    background-color: rgb(94, 106, 138);
  }
  
  .navbar-link-home {
    padding-left: 10px;
  }
  
  /* Header */
  
  .top-header {
    display: flex;
    justify-content: space-between;
  }
  
  .top-header.on-full-screen {
    display: none;
  }
  
  .header-img {
    padding: 20px;
    margin-left: 20px;
  }
  
  .header-title {
    font-size:x-large;
    background-color: var(--sfondosalmone);
    padding: 8px 30px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }
  
  .leaflet-popup-content {
    font-size: 15px;
  }

  .alarm-icon{
    margin-right: 30px;
  }

  #info-list{
    margin-top: 7px;
    font-size: large;
    list-style-type: circle;
  }
  
  /*+++++++++++++++++++ Main content *****************************************************/
  
  .main-content {
    display: grid;
    grid-template-columns: 4fr 16fr 2fr;
    grid-template-rows: 7fr;
    justify-content: space-between;
    margin: 0px 28px 28px 28px;
  }
  
  /* Product lateral column */
  
  .lateral-menu-wrapper.on-full-screen {
    z-index: 11;
    margin-top: 80px;
    left: 20px;
    position: relative;
  }
  
  /*.product-list, .load-layer*/
  .product-list {
    background-color: white;
    color: #232834;
    border-radius: 12px;
    padding: 12px;
    margin: 15px 25px 0px 0px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  }
  
  
  .product {
    position: relative; 
    margin-bottom: 5px;
  }

  /*description*/

  .description-container{
    color: black;
  }

  /*legend*/


  .legend-titles-container {
    display: flex;
    flex-direction: row;
    overflow-y: hidden;
    overflow-x: auto;
    margin-top: 15px;
    margin-right: 25px;
    margin-bottom: 10px;
    height: 60px;  
    
    color: white;
    z-index: 11;
  }

  .legend-title, .legend-title-selected {
    font-size: 13pt;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    padding-left: 5px;
    padding-right: 5px;
    height: 38x;
    text-align: center;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .4);
    border-right: black solid 1px;
  }
  
  .legend-title:hover, .legend-title-selected {
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
  }

  .legend-img {
    object-fit: contain;
  }
  
  /* Titles of lateral menus */
  
  p.lateral-menu-title {
    margin-top: 0;
    margin-bottom: 5px;
  }
  
  /* Map container */
  
  .map-container {
    position: relative;
  }
  
  .map-container.on-full-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  
  .map-over {
    z-index: 1;
  }
  
  .map-over.on-full-screen {
    z-index: 12;
  }
  
  .button-full {
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .button-nav {
    position: absolute;
    bottom: 30px;
    right: 20px;
  }
  
  .map-button {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    border: none;
    border-radius: 8px;
    text-align: center;
    padding: 6px 6px 4px 6px;
    background-color: white;
    cursor: pointer;
    z-index: 1;
  }
  
  .map-button:hover {
    background-color:rgb(241, 241, 241);
  }
  
  .map-box.on-full-screen {
    height: 100%;
    z-index: 10;
  }
  
  .map {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
  
  .map.on-full-screen {
    height: 100%;
    border-radius: 0%;
  }
  
  /* FL container */
  
  .FL-container {
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 600px;
  }
  
  
  .FL-container.on-full-screen {
    z-index: 11;
    position: absolute;
    right: 20px;
    top: 10%;
    height: 80%;
  }
  
  #FL-title {
    text-align: left;
    color: black;
    padding-top: 10px;
  }
  
  .radio-FL, .radio-FL-selected {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 50px;
    height: 40px;
    text-align: center;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .4);
    border-bottom: black solid 1px;
  }
  
  .radio-FL:hover, .radio-FL-selected {
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
  }
  
  .FL-container {
    padding-left: 10px;
  }
  
  /* Time container */
  
  .time-container {
    
    display: flex;
    overflow-y: hidden;
    overflow-x: auto;
    position: relative;
  
    height: 60px;
    padding-top: 10px;
  
    flex-direction: row;
  
    color: white;
    font-size: 13pt;
    
    z-index: 11;
  }
  
  .main-content.on-full-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
  }

  
  #time-title {
    text-align: top;
    color: black;
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
    top: -10px;
  }
  
  .radio-time, .radio-time-selected {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    width: 50px;
    height: 40px;
    text-align: center;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .4);
    border-right: black solid 1px;
  }
  
  .radio-time:hover, .radio-time-selected {
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
  }

  @keyframes highlight-background{
    from{background-color: red;}
    to{}
  }

  @keyframes highlight-text{
    from{color: red;}
    to{}
  }


  
  /* scrollbars for time and FL */
  
  .FL-container::-webkit-scrollbar, .time-container::-webkit-scrollbar, .legend-titles-container::-webkit-scrollbar, .submenu::-webkit-scrollbar, .available-days-container::-webkit-scrollbar {
    width: 10px;
    height: 6px;
  }
  
  .FL-container::-webkit-scrollbar-track, .time-container::-webkit-scrollbar-track, .legend-titles-container::-webkit-scrollbar-track, .available-days-container::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
  }

  .submenu::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0, 153, 230, 0.5);
  }
  
  .FL-container::-webkit-scrollbar-thumb, .time-container::-webkit-scrollbar-thumb, .legend-titles-container::-webkit-scrollbar-thumb, .available-days-container::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
  }

  .submenu::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(0, 153, 230, 0.5);
  }
  
  .FL-container::-webkit-scrollbar-thumb:hover, .time-container::-webkit-scrollbar-thumb:hover, .legend-titles-container::-webkit-scrollbar-thumb:hover, .available-days-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
  }

  .submenu::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 153, 230, 0.5);
  }
  
  .FL-container::-webkit-scrollbar-thumb:active, .time-container::-webkit-scrollbar-thumb:active, .legend-titles-container::-webkit-scrollbar-thumb:active, .available-days-container::-webkit-scrollbar-thumb:active {
    background: rgba(0, 0, 0, .9);
  }

  .submenu::-webkit-scrollbar-thumb:active {
    background: rgba(0, 153, 230, 0.9);
  }
  
  /*blank spaces*/
  
  .left-blank{
    display: block;
  }
  
  .right-blank{
    display: block;
  }
  
  /*
  .left-blank.on-full-screen {
    display: none;
  }
  
  .right-blank.on-full-screen {
    display: none;
  }*/
  
  /************************************* Lower Content *************************************/

  .lower-content{
    margin: 100px 60px 50px;
    color: black;
  }

  .lower-content.on-full-screen{
    display: none;
  }

  .descriptions-main-title{
    font-size: x-large;
    margin-bottom: 30px;
  }

  .descriptions-container{
    column-count: 2;
    column-gap: 50px;
  }

  .description-title{
    font-size: large;
    color: #0099E6;
    font-family: 'Arial Black';
  }

  .description-text{
    line-height: 22px;
    font-size: large;
  }

  .description-container{
    break-inside: avoid;
    margin-bottom: 25px;
    font-family: 'Times';
    text-align: justify;
  }

  .project-info-container{
    margin-top: 100px;
  }

  .project-info-title{
    font-size: x-large;
  }

  /****************************************** Footer ********************************************************/
  
  .footer {
    background-color: white;
  }
  
  .footer.on-full-screen {
    display: none;
  }
  
  .partners {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    justify-content:space-between;
  }
  
  .partner {
    height: 60px;
    width: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 20px;
  
  }
  
  
  /************************* checkbox PRODUCTS ******************/


  .checkbox-product {
	  appearance: none;
	  -webkit-tap-highlight-color: transparent;
	  position: relative;
	  border: 0;
	  outline: 0;
	  cursor: pointer;
	  margin-right: 5px;
    margin-top: 5px;
    bottom: -2px;
  }

  .checkbox-product:after {
	  content: '';
	  width: 30px;
	  height: 20px;
	  display: inline-block;
	  background: rgba(196, 195, 195, 0.55);
	  border-radius: 10px;
	  clear: both;
  }

  .checkbox-product:before {
	  content: '';
	  width: 17px;
	  height: 17px;
	  display: block;
	  position: absolute;
	  left: 0;
    top: 1px;
	  border-radius: 50%;
	  background: rgb(255, 255, 255);
	  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  }

  .checkbox-product:checked:before {
	  left: 13px;
	  box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.6);
  }

  .checkbox-product:checked:after {
	  background: #0099E6;
  }

  /*available days*/
  
  .products-available-days{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
    row-gap: 20px;
    color: black;
    margin-bottom: 30px;
  }
  
  .product-available-days{
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /*dropdown*/

  ul { list-style-type: none; }

  .accordion {
    width: 100%;
    max-width: 360px;
    margin: 0px auto 0px;
    padding-left: 0px;
    background: #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }
  
  .accordion .link {
    cursor: pointer;
    display: block;
    padding: 15px 15px 15px 42px;
    color: #4D4D4D;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #CCC;
    position: relative;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
  }
  
  .accordion li:last-child .link { border-bottom: 0; }
  
  .accordion li i {
    position: absolute;
    top: 16px;
    left: 12px;
    font-size: 18px;
    color: #595959;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
  }
  
  

  .accordion li i.fa-chevron-down {
    right: 12px;
    left: auto;
    font-size: 16px;
  }
  
  .accordion li.open .link { color: #0099E6; }
  
  .accordion li.open i { color: #0099E6; }
  
  .accordion li.open i.fa-chevron-down {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  
  /**
   * Submenu
   -----------------------------*/
  
  
  .submenu {
    display: none;
    
    font-size: 14px;
    padding-left: 0px;
  }
  
  .submenu li { border-bottom: 1px solid #4b4a5e; }
  
  .submenu li {
    display: block;
    text-decoration: none;
    color: #d9d9d9;
    padding: 12px;
    padding-left: 42px;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
  }

  .submenu {
    max-height: 350px;
    overflow-y: auto;
  }

  /*new availability container*/

  .new-availability-container.on-full-screen{
    display: none;
  }

  .new-availability-container{
    margin-top: 15px;
    display: grid;
    grid-template-columns: 4fr 8fr 8fr 2fr;
    grid-gap: 10px;
    row-gap: 20px;
    color: black;
    margin-bottom: 30px;
  }

  .desirable-products-container{
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 28px;
  }

  .desirable-products-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 10px;
    column-gap: 10px;
    color: white;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .desirable-products-title.main{
    margin-bottom: 10px;
  }

  .not-selected-desirable-product{
    cursor: pointer;
    height: 30px;
    width: 150px;
    padding: 10px 10px 10px 15px;
    background: #444359;
    vertical-align: middle;
    line-height: 30px;
  }

  .not-selected-desirable-product:hover{
    background: #0077E6;
  }

  .selected-desirable-product{
    cursor: pointer;
    height: 30px;
    width: 150px;
    padding: 10px 10px 10px 15px;
    background: #0099E6;
    vertical-align: middle;
    line-height: 30px;
  }

  .availability-substitute-text{
    width: 50%;
    height: 50%;
    top:25%;
    margin: 0 auto;
    position: relative;
  }

  .availability-substitute-text.no-selection {
    color: #4fae3ee9;
  }

  .availability-substitute-text.no-days {
    color: #e62a00e9;
  }

  .available-days-container{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 3px;
    max-height: 350px;
    overflow-y: auto;
    color: white;
    margin-top: 9px;
  }

  .not-selected-day{
    cursor: pointer;
    height: 30px;
    width: 150px;
    padding: 10px 10px 10px 15px;
    background: #444359;
    vertical-align: middle;
    line-height: 30px;
  }

  .not-selected-day:hover{
    background: #0077E6;
  }

  .selected-day{
    cursor: pointer;
    height: 30px;
    width: 150px;
    padding: 10px 10px 10px 15px;
    background: #0099E6;
    vertical-align: middle;
    line-height: 30px;
  }

  .circle-container, .legend-image-container{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
  }
 

  .circle-legend{
    display: inline-block;
    border-radius: 50%;
    width: 50px;
    height: 50px;
  }

  .legend-image{
    display: inline-block;
    height: 50px;
    width: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .circle-label, .legend-image-label{
    top: 50%;
    bottom: 50%;
    display: inline-block;
    margin-left: 10px;
    color: black;
    font-weight: 700;
    cursor: pointer;
  }

  #days-selection-text{
    font-size: larger;
  }


