.main { 
    height:100vh; 
    display: grid; 
    grid-template-rows: 8vh 84vh 8vh; 
    grid-template-columns: 1fr 3fr; 
    grid-template-areas:  
      "header  header"
      "filters      map"
      "footer       footer"
    ; 
} 

.mainsrc { 
    height:100vh; 
    display: grid; 
    grid-template-rows: 8vh 84vh 8vh; 
    grid-template-columns: 1fr;
    grid-template-areas:  
      "header"
      "sources"
      "footer"
    ; 
} 

sources {
    grid-area: sources;
    margin: 15px;
}

map {
    grid-area: map;
    background-color: transparent;
}

header {
    grid-area: header;
    background-color: lightgreen;
    display: grid;
    grid-template-rows: 100%;
    grid-template-columns: 1fr 3fr; 
    grid-template-areas: "header_left  header_right"; 
}

header_left {
    grid-area: header_left;
    display: flex;
    align-items: center;
    justify-content: center;
}

header_right {
    grid-area: header_right;
    display: flex;
    align-items: center;
    justify-content: end;;
}

filters {
    padding: 5px;
    grid-area: filters;
    background-color: transparent;
}

footer {
    padding: 5px;
    grid-area: footer;
    background-color: lightgreen;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#heading {
    text-align: center;
}

#btn_expand {
    width: 100%;
    text-decoration: none;
}

#map{
    height: 100%;
}

.slider {
    width: 100%;
    height: 10px;
    border-radius: 5px;  
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%; 
    background: #04AA6D;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #04AA6D;
    cursor: pointer;
  }

/* Override for green switch */
.form-switch .form-check-input:checked {
    background-color: #04AA6D;
}

.form-switch .form-check-input {
    border-color: lightgray;
}

#scroll {
    height: 80vh;
    overflow-y: auto;
}

.applybtn{
    background-color: #04AA6D;
    border-color: lightgray;
}

.srcbtn{
    background-color: #04AA6D;
    border-color: lightgray;
    margin-right: 10px;
}