/*********************** MAIN CSS **************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900,1000,1100');
* {
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  ::-webkit-scrollbar {
    display: none; /* Scrollbarları deaktive et Chrome, Safari, and Opera */
  }
  #map .body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    z-index: -2;
  }
  #map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
  }
  #map  .mapboxgl-ctrl-logo {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 1;
  }
  .grid{
    display: grid;
    background: #f7f5f5;
    grid-gap:10px;
    margin: 10px;
    /* grid-template-columns: 220px 220px; */
    justify-content:space-between;
    align-items: center;
    width: fit-content;
    height: fit-content;
  }
  .grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background: #f7f5f5;
    /* grid-template-columns: 220px 220px; */
    width: fit-content;
    justify-content:space-between;
    align-items: center;
    width: fit-content;
  }
  .grid-key {
    width: 305px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 0;
    padding-left: 10px;
    padding-bottom: 20px;
  }
  .grid-value {
    width: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 0;
    padding-bottom: 20px;
  }
  .grid2 .grid-key .grid-item .altbaslik {
    margin-top:0px;
    font-size: 18px;
    height:50px;
    width: 100%;  
    border-bottom: 2px solid #aec6d1;
  }
  .grid2 .grid-value .grid-item .altbaslik {
    margin-top:0px;
    font-size: 18px;
    height:50px;
    width: 100%;  
    border-bottom: 2px solid #aec6d1;
    z-index: 0;  
  }
  .grid2 .grid-key .grid-item #baslik {
    font-size: 15px;
    border-bottom: none;
    height: 30px; 
    width: 100%;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;  
  }
  .grid2 .grid-value .grid-item #baslik {
    font-size: 15px;
    border-bottom: none;
    height: 30px; 
    width: 100%;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;  
  }
  .grid-value .kentselValue,
  .grid-value .atikValue,
  .grid-value .havaValue,
  .grid-value .gurultuValue{
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .grid-key .kentselValue,
  .grid-key .atikValue,
  .grid-key .havaValue,
  .grid-key .gurultuValue {
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .section{ /* 485px */
    height: 220px;
    width: 220px;
    margin-bottom: 10px;
  }
  #baslik {
    text-align: center;
    font-size: 20px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding-top:10px;
    padding-bottom: 10px;
    width: 100%;
    background-color: #f7f5f5;
    border-bottom: 2px solid #aec6d1;
    z-index: 1;
  }
  #baslik2 {
    text-align: center;
    font-size: 14px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding-top:10px;
    padding-bottom: 10px;
    width: 100%;
    background-color: #f7f5f5;
    border-bottom: 2px solid #aec6d1;
    z-index: 1;
  }
  .altbaslik{
    padding-top:15px;
    bottom: 0;
    text-align: center;
    border-bottom: 2px solid #aec6d1;
  }
  #params{
    position: absolute;
    margin-top: 10px;
    margin-left: 10px;
  
  }
  #logo_img{
    height:100px; 
    width:100px;
    position: absolute;
    top: 20px;
    left: 20px;
  }
  /* Koyu modda beyaz arka plan ve opasite */
  .dark-mode #logo_img {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid #62baea;
    border-radius: 10px;
  }

  #myChart {
    width:250px;
    font-size: 15px;
  }
  .mapboxgl-canvas {
    position: absolute;
    left: 0;
    right:0;
    bottom:0;
    top: 0;
  }
  .coordinates {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    position: absolute;
    bottom: 40px;
    left: 10px;
    padding: 5px 10px;
    margin: 0;
    font-size: 11px;
    line-height: 18px;
    border-radius: 3px;
    display: none;
  }
  .marker {
    background-image: url('mapbox-icon.png');
    background-size: cover;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    cursor: pointer;
  }
  /*Mapbox Popup*/
  .mapboxgl-popup {
    padding:0px;
    border-radius: 10%;
    text-align: center;
    background: none;    
  }
  .mapboxgl-popup-content {
    text-align: center;
    word-wrap: break-word;
    border-radius:10%;
    opacity: 0.8;
    border: 1px solid #62baea;
    box-shadow:10px 10px 10px rgba(0, 0, 0, 0.3);
  }
  .mapboxgl-popup-close-button {
    color: #113a7c;
    font-size: 30px;
    font-weight: bolder;
    margin-top: 7%;
    margin-right:7%;
  }
  #popup-title{
    font-size: 18px;
    margin-bottom:5px;

  }
  .popup1{
    margin-top:10px;
    font-size: 18px;
    margin-bottom:5px;
  }
  .popup2{
    margin-top:30px;
    font-size: 18px;
    margin-bottom:5px;
  }

  .dropdown {
    position: absolute;
    border-radius: 10px;
    margin-top: 125px;
    margin-left: 10px;
    width: 295px;
    height: 45px;
    opacity: 0.8;
  }

  /* Üçgen ikon */
  .dropdown::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1;
    width: 10px;
    height: 10px;
    border: 2px solid #333; 
    border-top: 2px solid transparent;
    border-right: 2px solid transparent;
    transform: rotate(-45deg);
    transition: transform 0.3s, border-color 0.3s;
    pointer-events: none;
  }

  .dropdown:hover::before,
  .dropdown.active::before {
    border-color: #fff;
    border-top-color: transparent;
    border-right-color: transparent;
  }

  .dropdown.active::before {
    top: 22px;
    transform: rotate(-225deg);
  }

  .dropdown input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #f7f5f5;
    border: 1px solid #62baea;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    outline: none;
    padding: 12px 20px;
    border-radius: 10px;
    transition: background 0.3s, color 0.3s;
  }

  .dropdown:hover input {
    background: #62baea;
    color: #fff;
  }

  .dropdown .option {
    position: absolute;
    top: 55px;
    width: 100%;
    background: #f7f5f5;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #62baea;
    border-radius: 10px;
    overflow: hidden;
    display: none;
  }

  .dropdown.active .option {
    display: block;
  }

  
  .dropdown .option div {
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }

  .dropdown .option div:hover {
    background: #62baea;
    color: #f7f5f5;
  }

  .dropdown .option div ion-icon {
    position: relative;
    top: 4px;
    font-size: 1.2em;
  }

  /* Açılış Popup */
  .popup {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 1000px;
    width:703px;
    transform: translate(-50%, -50%);
    background-color: #f7f5f5;
    border-radius: 50px;
    border: 2px solid #62baea;
    padding: 20px;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    text-align: start;
    align-items: center;
  }
  .popup img {
    height:90px; 
    width:90px;
    display: block;
    margin: 0 auto;
  }
  .popup h2 {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top:10px;
  }

  .popup p {
    overflow-y: auto;
    margin-bottom: 15px;
  }

  .popup p .highlight-red {
    color:#EF4146;
    font-weight: bold;
  }
  .popup p .highlight-blue {
    color: #113a7c;
    font-weight: bold;
  }
  .popup p .bold {
    font-weight: bold;
  }
  .popup i {
    text-align: center;
    font-weight: bold;
    font-size: 20px;  
  }
  .popup .section {
    display: flex;
    align-items: center;
    width: fit-content;
    height:150px;
  }
  
  .popup .section img.spider {
    order: 1;
    width: 150px;
    height: 150px;
    border-radius: 20px;
    border: 1px solid #62baea;
  }
  
  .popup .section .spider-text {
    order: 2;
    margin-left: 20px;
  }
  .popup .section img.isochrone {
    order: 2;
    width: 150px;
    height: 150px;
    border-radius: 20px;
    border: 1px solid #62baea;
  }
  .popup .section .isochrone-text {
    order: 1;
    margin-right: 20px;
  }
  .close {
    background-color: rgba(21, 105, 140, 0.8);
    border-radius: 0px;
    justify-content: flex-start;
    padding: 10px 0px 10px 10px;
    width: 250px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    transition: .4s ease-in-out;
    letter-spacing: 1px;
    border-radius: 6px;
    margin-top: 10px;
    display: block;
    margin: 0 auto;
  }
  .close:hover{
    background-color: #62baea;
  }
  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    backdrop-filter: blur(10px);
  }
  /* Navbar */
  .nav{
    position: fixed;
    width: 200px;
    height: 100vh;
    background-color:#fff; 
    border-right: 2px solid  rgb(98,186,234);
    top:0;
    left: -200px;
    transition: 0.5s ease-in-out;
    z-index: 5;;
  }
  .nav .nav-item{
    padding: 40px 0px;
    position: relative;
  }
  .nav .nav-item .nav-items{
    list-style: none;
    padding: 15px 20px;
    text-align: left;
  }
  .nav .nav-item .nav-items .nav-links{
    text-decoration: none;
    text-transform: capitalize;
    color: #333;
    font-size: 14px;
    padding: 10px;
    transition: all .3s ease-in-out;
    border-radius: 6px;
  }
  .nav .nav-item .nav-items .nav-links:hover{
    background-color:rgb(98,186,234,.6);
    font-size: 14px;
    color: #fff;
  }

  .hamburgers{
    position: absolute;
    top: 0px;
    right: -40px;
    cursor: pointer;
    background-color:#fff;  
    border: 2px solid rgb(98,186,234);
    border-left: none;
    padding: 5px 6.5px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
  }
  .hamburgers span{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all .3s ease-in-out;
    transition: all .4s ease-in-out;
    background-color: black;
  }
  nav.active{
    left: 0;
  }
  
  /* Zoom Menu */
  .zoomMenu {
    position: absolute;
    top: 55px;
    right: 10px;
    z-index: 999;
  }
  .zoomMenu button {
    display: inline-block;
    width: 70px;
    margin-right: 5px;
    padding: 5px;
    border: 1px solid #62baea;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    color: #000;
    cursor: pointer;
  }
  .zoomMenu button.active,
  .zoomMenu button:hover {
    background-color: #62baea;
    opacity: 0.8;
    color: #fff;
  }
  .zoomMenu button.active:hover {
    opacity: 1;
  }

  /*Lejand CSS*/
  .legend {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid #62baea;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 10px;
    z-index: 0;
  } 
  .legend-title {
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    margin-bottom: 5px;
  }
  .legend-colors {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
  }
  .legend-color {
    width: 18px;
    height: 10px;
  }
  .legend-labels {
    display: flex;                                
    justify-content: space-between;
    font-size: 12px;
  }
  .legend-min-label {
    text-align: left;
    font-size: 12px;
  }
  .legend-max-label {
    text-align: right;
    font-size: 12px;
  }
  /*İconlar ve Textleri*/
  #menu {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
  #menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #menu li {
    width:45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid #62baea;
    margin-bottom: 10px; /*iconlar arası uzaklık ayarı*/
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
  }
  #menu li#temizlik {
  /* temizlik li element için özel css */
    width: 40px;
    height: 40px;
    border: 2px solid #62baea;
    background-color: rgb(207, 207, 207);
  }
  #menu li #icon{
    width: 22px;
    height: 22px;
  }
  #menu li#temizlik #temizlikicon{
    width: 22px;
    height: 22px;
  }
  #menu li:hover {
    background-color: #62baea;
  }
  #menu li#temizlik:hover{
    background-color: #62baea;
  }
  #menu li:hover::before {
    display: block; /* hover olunca göster yoksa gösterme*/
  }
  #menu li:hover::after {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    transform: translateY(-50%);
    background-color: #62baea ;
    color: #f7f5f5;
    padding: 5px;
    border-radius: 5px;
    font-size:13px;
    white-space: nowrap;
    z-index: 999; 
  }
  li.clicked:hover::after {
    display: none;
  }
  li.clicked:hover:not(.clicked)::after {
    display: block;
  }
  li.checked::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background-color: #62baea;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 1);
    z-index: 1000;
  }
  li.checked:hover:not(.clicked)::after  {
    display: none;
  }
  /*İconlar Choices Menuler*/
  .choices-box {
    display: none;
    position: absolute;
    width:280px;
    top: 0;
    left: 100%;
    transform: translateX(8px); /* kutunun ne kadar sağda açılacağını belirler */
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #62baea;
    box-shadow:10px 10px 10px rgba(0, 0, 0, 0.3);
    z-index: 4;
  }
  .choices-box .options {
    display: flex;
    flex-direction: column;

  }
  .choices-box .option {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #62baea;

  }
  .choices-box.show {
    display: block;
  }
   /*Toggle Switch'ler*/
   .switch-label {
    display: inline-block;
    margin-right: 10px;
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
    flex-basis: 78%;
    align-items: center;
  }
  .switch {
    position: relative;
    display: inline-block;
    flex-basis: 22%;
    text-align: right;
    width: 100%;
    height: 24px;
    margin-right: 10px;
    margin-bottom: 5px;
    align-items: center;
  }
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 24px;
  }
  .slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 3px;
    bottom: 4px;
    top:3px;
    background-color: #f7f5f5;
    border-radius: 50%;
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
    outline: none;
  }
  .switch::after {
    content: "";
    position: absolute;
    height: 17px;
    width: 17px;
    right: 3px;
    bottom: 4px;
    top:3px;
    background-color: #62baea;
    border-radius: 50%;
  }
  input:checked + .slider {
    background-color: #62baea;
  }
  input:focus + .slider {
    box-shadow: 0 0 3px #62baea;
  }
  input:checked + .slider:before {
    -webkit-transform: translateX(32px);
    -ms-transform: translateX(32px);
    transform: translateX(32px);
  }
  /*Popup Button*/
  #popup-button {
    background-color: #62baea;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    margin-top: 10px;
  }
  #popup-button:hover {
    background-color: #B8D3D3;
  }
  #popup-button:focus {
    outline: none;
  }
  /*Info Popup*/
  .info-popup {
    display: none;
    position: absolute;
    padding: 10px;
    width:220px;
    font-size:12px;
    font-weight: bold;
    background-color: #fff;
    border: 1.7px solid #62baea;
    border-radius: 10px;
    top: calc(100% + 3px);
    z-index:99;  
  }
  .info-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: cover;
    cursor: pointer;
    margin-left: 3px;
  }
  .grid-info {
    position: relative;
  }
  .grid-info:hover .info-popup {
    display: block;
  }
  .info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .info-text {
    flex-grow: 1;
  }

  /* Dark Mode Button */
  #dark-mode-btn {
    position: absolute;
    bottom: 0px; /* Legend div'inin alt kısmına hizalanmış */
    right: 105%; /* Legend div'inin sağ kenarının soluna yerleştirilmiş */
    background-color: rgba(255, 255, 255, 0.7); /* Varsayılan arka plan rengi */
    border: 1px solid #62baea;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.3);
    color: #333; /* Varsayılan metin rengi */
    border-radius: 10px;
    padding: 10px 15px 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1; /* Legend'dan üstte görünmesi için */
  }
  #dark-mode-btn ion-icon {
    font-size: 24px; /* İkon boyutu büyütülüyor */
  }
  /* Light mode (varsayılan) */
  #dark-mode-btn.light-mode {
    background-color: #fff;
    color: #333;
    opacity: 0.7;
  }
  #dark-mode-btn.light-mode:hover {
    background-color: #333;
    color: #fff;
    opacity: 0.7;
  }
  /* Dark mode */
  #dark-mode-btn.dark-mode {
    background-color: #333;
    color: #fff;
    opacity: 0.7;

  }
  #dark-mode-btn.dark-mode:hover {
    background-color: #fff;
    color: #333;
    opacity: 0.7;

  }
  #dark-mode-btn:focus {
    outline: none;
  }

  /*Side Bar 1 CSS*/
  .container {
    position: fixed;
    padding-top: 50px; /* Adjust as needed */
    border: 1px solid #62baea;
    padding-bottom:10px;
  }
  .rounded-rect {
    background: #f7f5f5;
    border-radius: 10px;
    box-shadow: 0 0 50px -25px black; 
  }
  .flex-center {
    position: absolute;
    display: grid;
    justify-content: center;
    align-items: center;
  }
  .flex-center.right {
    right: 0px;
  }
  .flex-center.left {
    left: 0px;
  }
  .sidebar {
    position: absolute;
    transition: transform 0.6s ease;
    z-index: 1;
    width: 485px; /*485px*/
    top: 10px;
    bottom: 10px;     
  }
  .sidebar-content {
    position: absolute;
    width: 98%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: gray;
    overflow: visible;
    overflow-y: scroll;
    z-index: 1;
    box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.3);
    border: 1px solid #62baea;
  }
  .sidebar-toggle { /*bu kısımlar responsive ayarlanacak*/
    top: 410px;
    position: absolute;
    background:rgba(255, 255, 255, 0.8);
    border: 1px solid #62baea;
    width: 35px;
    height: 220px;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    box-shadow: -3px -3px 3px 0px rgba(0, 0, 0, 0.3);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
    white-space: nowrap;
    transform: rotate(180deg);
    z-index:3;
  }
  .sidebar-toggle.right {
    left: -1.5em;
  }
  .sidebar-toggle.left {
    right: -1.5em;
  }
  .sidebar-toggle:hover {
    color: #13678a; /*bu kısımlar responsive ayarlanacak*/
    cursor: pointer;
  }
  /*Side Bar 2 CSS*/
  .sidebar2 {
    position: absolute;
    transition: transform 0.6s ease;
    z-index: 1;
    width: 485px; /*485px*/
    top: 10px;
    bottom: 10px;  
  }
  .sidebar2-content {
    position: absolute;
    width: 98%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: gray;
    box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.3);
    overflow: visible;
    overflow-y: scroll;
    z-index: 1;
    border: 1px solid #62baea;
  }
  .sidebar2-toggle2 { /*bu kısımlar responsive ayarlanacak*/
    top: 635px;   /*225 px aralık ver*/
    position: absolute;
    background:rgba(255, 255, 255, 0.8);
    box-shadow: -3px -3px 3px 0px rgba(0, 0, 0, 0.3);
    border: 1px solid #62baea;
    width: 35px;
    height: 220px;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
    white-space: nowrap;
    transform: rotate(180deg);
    z-index: 2;
  }
  .sidebar2-toggle2.right {
    left: -1.5em;
  }
  .sidebar2-toggle2.left {
    right: -1.5em;
  }
  .sidebar2-toggle2:hover {
    color: #13678a; /*bu kısımlar responsive ayarlanacak*/
    cursor: pointer;
  }
  .right.collapsed {
    transform: translateX(487px);
    position: fixed;
    z-index: 2; /*biri açılırken diğerinin toggle butonu gözüksün*/
  }
  #map-logo  .left.collapsed {
    transform: translateX(-487px);
    z-index: 1; /*biri açılırken diğerinin toggle butonu gözüksün*/
    /* position: fixed; */
  }
  /*Geocoder CSS*/
  .mapboxgl-ctrl-geocoder {
    position: fixed;
    top: 10px;
    right: 15px;
    width: 295px;
    border-radius: 10px;
    font-size: 15px;
    border: 1px solid #62baea;
    background:rgba(255, 255, 255, 0.8);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
  }
  /* Map İBB Logo */
  #map-logo {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 90px;
    height: auto; 
    z-index: -1;
  }
  .mapboxgl-ctrl button.mapboxgl-ctrl-icon {
    display: none;
  }
  /*Info Icon*/
  #help-icon {
    position: fixed;
    top: 92px;
    right: 10px;
    font-size: 29px;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid #62baea;
    background:rgba(255, 255, 255, 0.8);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
  }
/*********************** RESPONSIVE CSS **************************************************************************************************************************************************************/

@media screen and (max-height: 1200px) {
  .sidebar-toggle {
    top: 310px; 
    width: 35px;
    height: 220px;
    font-size: 25px;
  }
  .sidebar2-toggle2 {
    top: 535px;
    width: 35px;
    height: 220px;
    font-size: 25px;
  }
}
@media screen and (max-height: 1035px) {
  .sidebar-toggle {
    top: 280px; 
    width: 30px;
    height: 180px;
    font-size: 20px;
  }
  .sidebar2-toggle2 {
    top: 465px;
    width: 30px;
    height: 180px;
    font-size: 20px;
  }
  /* Açılış Popup */
  .popup {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 760px;
    width:650px;
    transform: translate(-50%, -50%);
    background-color: #f7f5f5;
    border-radius: 50px;
    border: 2px solid #62baea;
    padding: 20px;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    text-align: start;
    align-items: center;
  }
  .popup img {
    height:60px; 
    width:60px;
    display: block;
    margin: 0 auto;
  }
  .popup h2 {
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
    margin-top:10px;
  }

  .popup p {
    overflow-y: auto;
    margin-bottom: 15px;
    font-size: 12px;  
  }

  .popup p .highlight-red {
    color:#EF4146;
    font-weight: bold;
  }
  .popup p .highlight-blue {
    color: #113a7c;
    font-weight: bold;
  }
  .popup p .bold {
    font-weight: bold;
  }
  .popup i {
    text-align: center;
    font-weight: bold;
    font-size: 12px;  
  }
  .popup .section {
    display: flex;
    align-items: center;
    width: fit-content;
    height:100px;
  }
  
  .popup .section img.spider {
    order: 1;
    width: 100px;
    height: 100px;
    border-radius: 15px;
    border: 1px solid #62baea;
  }
  
  .popup .section .spider-text {
    order: 2;
    margin-left: 10px;
  }
  .popup .section img.isochrone {
    order: 2;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    border: 1px solid #62baea;
  }
  .popup .section .isochrone-text {
    order: 1;
    margin-right: 15px;
  }
  .close {
    background-color: rgba(21, 105, 140, 0.8);
    border-radius: 0px;
    justify-content: flex-start;
    padding: 10px 0px 10px 10px;
    width: 250px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    transition: .4s ease-in-out;
    letter-spacing: 1px;
    border-radius: 6px;
    margin-top: 10px;
    display: block;
    margin: 0 auto;
  }
}
@media screen and (max-height: 970px) {
  #logo_img{
    height:90px; 
    width:90px;
    top: 20px;
    left: 20px;
  }
  .dropdown {
    position: absolute;
    margin-top:115px;
    margin-left:8px;
    font-size: 13px;
    width: 240px;
    height: 40px; 
  }
  .dropdown input {
    font-size: 13px;
  }
  .dropdown .option {
    top: 50px;
  }
  .dropdown .option  div{
    padding:5px 8px;
  }
  .dropdown::before {
    width: 8px;
    height: 8px;
  }
}
@media screen and (max-height: 900px) {
  .sidebar-toggle {
    top: 210px; 
    width: 30px;
    height: 180px;
    font-size: 20px;
  }
  .sidebar2-toggle2 {
    top: 395px;
    width: 30px;
    height: 180px;
    font-size: 20px;
  }
  #menu li {
    width:35px;
    height: 35px;
    margin-bottom: 8px; /*iconlar arası uzaklık ayarı*/
    margin-left: 10px;
  }
  #menu li#temizlik {
    /* temizlik li element için özel css */
    width: 30px;
    height: 30px;
  }
  #menu li #icon{
    width: 20px;
    height: 20px;
  }
  #menu li#temizlik #temizlikicon{
    width: 18px;
    height: 18px;
  }
  li.checked::after {
    width: 13px;
    height: 13px
  }
  #menu li:hover::after {
    font-size: 10px;
    padding: 5px;
    left: calc(100% + 5px);
    height:fit-content;
  }
  .choices-box {
    width:220px;
    top: 0;
    left: 100%;
    transform: translateX(8px); /* kutunun ne kadar sağda açılacağını belirler */
    padding: 5px;
    font-size:12px;
  }
  .switch-label {
    margin-right: 5px;
    margin-bottom: 0px;
    flex-basis: 80%;
  }
  .switch {
    height: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    flex-basis: 20%;
  }
  .switch::after {
    height: 15px;
    width: 15px;
    right: 2px;
    bottom: 2px;
    top:2px;
  }
  .slider:before {
    height: 15px;
    width: 15px;
    right: 2px;
    bottom: 2px;
    top:2px;
  }
  input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
  }
}
@media screen and (max-height: 760px) {
  .sidebar-toggle {
    top: 150px; 
    width: 30px;
    height: 180px;
    font-size: 20px;
  }
  .sidebar2-toggle2 {
    top: 335px;
    width: 30px;
    height: 180px;
    font-size: 20px;
  }
  #logo_img{
    height:80px; 
    width:80px;
    top: 20px;
    left: 20px;
  }
  .dropdown {
    position: absolute;
    margin-top:105px;
    margin-left:8px;
    font-size: 13px;
    width: 220px;
    height: 35px; 
  }
  .dropdown input {
    font-size: 13px;
  }
  .dropdown .option {
    top: 45px;
  }
  .dropdown .option  div{
    padding:5px 8px;
  }
  .dropdown::before {
    width: 8px;
    height: 8px;
  }
  /* Açılış Popup */
  .popup {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 650px;
    width:650px;
    transform: translate(-50%, -50%);
    background-color: #f7f5f5;
    border-radius: 50px;
    border: 2px solid #62baea;
    padding: 20px;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    text-align: start;
    align-items: center;
  }
  .popup img {
    height:60px; 
    width:60px;
    display: block;
    margin: 0 auto;
  }
  .popup h2 {
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
    margin-top:10px;
  }

  .popup p {
    overflow-y: auto;
    margin-bottom: 12px;
    font-size: 12px;  
    line-height: 1.6;  
  }

  .popup p .highlight-red {
    color:#EF4146;
    font-weight: bold;
  }
  .popup p .highlight-blue {
    color: #113a7c;
    font-weight: bold;
  }
  .popup p .bold {
    font-weight: bold;
  }
  .popup i {
    text-align: center;
    font-weight: bold;
    font-size: 15px;  
  }
  .popup .section {
    display: flex;
    align-items: center;
    width: fit-content;
    height:80px;
    line-height: 1.6;  

  }
  
  .popup .section img.spider {
    order: 1;
    width: 80px;
    height: 80px;
    border-radius: 15px;
    border: 1px solid #62baea;
  }
  
  .popup .section .spider-text {
    order: 2;
    margin-left: 15px;
  }
  .popup .section img.isochrone {
    order: 2;
    width: 80px;
    height: 80px;
    border-radius: 15px;
    border: 1px solid #62baea;
  }
  .popup .section .isochrone-text {
    order: 1;
    margin-right:  15px;
  }
  .close {
    background-color: rgba(21, 105, 140, 0.8);
    border-radius: 0px;
    justify-content: flex-start;
    padding: 10px 0px 10px 20px;
    width: 250px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 12px;
    transition: .4s ease-in-out;
    letter-spacing: 1px;
    border-radius: 6px;
    margin-top: 10px;
    display: block;
    margin: 0 auto;
  }

}
@media screen and (max-height: 710px) {
  .sidebar-toggle {
    top: 180px;
    width: 25px;
    height: 140px;
    font-size: 15px;
  }
  .sidebar-toggle.right {
    left: -1.8em;
  }
  .sidebar2-toggle2 {
    top: 320px;
    width: 25px;
    height: 140px;
    font-size: 15px;
  }
  .sidebar2-toggle2.right {
    left: -1.8em;
  } 
  .legend {
    height:70px;
    padding-left:10px;
    padding-right:10px;
  }
  .legend-color{ 
    width: 10px;
    height: 5px;
  }
  .legend-title {
    font-size: 10px;
  }
  .legend-min-label {
    font-size: 8px;
  }
   
  .legend-max-label {
    font-size: 8px;
  }
  #menu li {
    width:25px;
    height: 25px;
    margin-bottom: 5px; /*iconlar arası uzaklık ayarı*/
    margin-left: 8px;
  }
  #menu li#temizlik {
    /* temizlik li element için özel css */
    width: 20px;
    height: 20px;
  }
  #menu li #icon{
    width: 15px;
    height: 15px;
  }
  #menu li#temizlik #temizlikicon{
    width: 13px;
    height: 13px;
  }
  li.checked::after {
    width: 10px;
    height: 10px
  }
  #menu li:hover::after {
    font-size: 10px;
    padding: 3px;
    height:fit-content;
  }
  .choices-box {
    width:200px;
    top: 0;
    left: 100%;
    transform: translateX(8px); /* kutunun ne kadar sağda açılacağını belirler */
    padding: 5px;
    font-size:10px;
  }
  .switch-label {
    margin-right: 5px;
    margin-bottom: 0px;
    flex-basis: 80%;
  }
  .switch {
    height: 15px;
    margin-right: 5px;
    margin-bottom: 0px;
    flex-basis: 20%;
  }
  .switch::after {
    height: 11px;
    width: 11px;
    right: 1px;
    bottom: 2px;
    top:1px;
  }
  .slider:before {
    height: 11px;
    width: 11px;
    right: 1px;
    bottom: 2px;
    top:1px;
  }
  input:checked + .slider:before {
    -webkit-transform: translateX(21px);
    -ms-transform: translateX(21px);
    transform: translateX(21px);
  }
  #map-logo {
    position: fixed;
    bottom: 5px;
    left: 5px;
    width: 70px;
    height: auto; 
    z-index: -1;
  } 
}
@media screen and (max-width: 850px) {  
  /* Açılış Popup */
  .popup {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 760px;
    width:650px;
    transform: translate(-50%, -50%);
    background-color: #f7f5f5;
    border-radius: 50px;
    border: 2px solid #62baea;
    padding: 20px;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    text-align: start;
    align-items: center;
  }
  .popup img {
    height:60px; 
    width:60px;
    display: block;
    margin: 0 auto;
  }
  .popup h2 {
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
    margin-top:10px;
  }

  .popup p {
    overflow-y: auto;
    margin-bottom: 15px;
    font-size: 12px;  
  }

  .popup p .highlight-red {
    color:#EF4146;
    font-weight: bold;
  }
  .popup p .highlight-blue {
    color: #113a7c;
    font-weight: bold;
  }
  .popup p .bold {
    font-weight: bold;
  }
  .popup i {
    text-align: center;
    font-weight: bold;
    font-size: 12px;  
  }
  .popup .section {
    display: flex;
    align-items: center;
    width: fit-content;
    height:100px;
  }
  
  .popup .section img.spider {
    order: 1;
    width: 100px;
    height: 100px;
    border-radius: 15px;
    border: 1px solid #62baea;
  }
  
  .popup .section .spider-text {
    order: 2;
    margin-left: 10px;
  }
  .popup .section img.isochrone {
    order: 2;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    border: 1px solid #62baea;
  }
  .popup .section .isochrone-text {
    order: 1;
    margin-right: 15px;
  }
  .close {
    background-color: rgba(21, 105, 140, 0.8);
    border-radius: 0px;
    justify-content: flex-start;
    padding: 10px 0px 10px 10px;
    width: 250px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    transition: .4s ease-in-out;
    letter-spacing: 1px;
    border-radius: 6px;
    margin-top: 10px;
    display: block;
    margin: 0 auto;
  }
}
@media screen and (max-width: 640px) {
  #params{
    margin-top: -15px;
    margin-left: 10px;
  
  } 
  #logo_img{
    height:90px; 
    width:90px;
    top: 5px;
    left: 5px;
  }
  .dropdown {
    position: absolute;
    margin-top:95px;
    margin-left:8px;
    font-size: 12px;
    width: 210px;
    height: 37px; 
  }
  .dropdown input {
    font-size: 12px;
  }
  .dropdown .option {
    top: 45px;
  }
  .dropdown .option  div{
    padding:5px 8px;
  }
  .dropdown::before {
    width: 8px;
    height: 8px;
  }
  .mapboxgl-ctrl-geocoder {
    position: fixed;
    top: 10px;
    right: 10px;
    height:38px;
    width: 295px;
    font-size: 15px;
  }
  .mapboxgl-ctrl-geocoder--input{ 
    height:100%;
  }
  .legend-color{ 
    width: 12px;
    height: 8px;
  }
  .legend-title {
    font-size: 12px;
  }
  .legend-min-label {
    font-size: 10px;
  }
  .legend-max-label {
    font-size: 10px;
  }
  
}
@media screen and (max-width:570px) {

  #dark-mode-btn ion-icon {
    font-size: 18px; 
  }
  .zoomMenu {
    top: 55px;
    right: 5px;
  }
  .grid2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap:0px;
    width: fit-content;
  }
  .grid-key {
    width: 160px;
    padding-right:0px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 0;
    padding-bottom:10px;
  }
  .grid-value {
    width: 80px;
    padding-left:0px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 0;
    padding-bottom: 10px;
  }
 
  .grid2 .grid-key .grid-item .altbaslik {
    margin-top:5px;
    font-size: 10px;
    height:40px;
    width: 100%;  
    border-bottom: 2px solid #aec6d1;
  }
  .grid2 .grid-value .grid-item .altbaslik {
    margin-top:5px;
    font-size: 10px;
    height:40px;
    border-bottom: 2px solid #aec6d1;
  }
  .grid2 .grid-key .grid-item #baslik {
    font-size: 8px;
    border-bottom: none;
    height: 20px; 
    padding-top:5px;
    padding-bottom: 5px;
    width: 100%;
    z-index: 0;
  }
  .grid2 .grid-value .grid-item #baslik {
    font-size: 8px;
    border-bottom: none;
    height: 20px; 
    padding-top:5px;
    padding-bottom: 5px;
    width: 100%;
    line-height: 1.5; /* Eklediğim satır */  
    z-index: 0;
  }
  .grid-value .kentselValue,
  .grid-value .atikValue,
  .grid-value .havaValue,
  .grid-value .gurultuValue{
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .grid-key .kentselValue,
  .grid-key .atikValue,
  .grid-key .havaValue,
  .grid-key .gurultuValue {
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /*Info Popup*/
  .info-popup {
    display: none;
    position: absolute;
    padding: 8px;
    width:120px;
    font-size:9px;
    font-weight: bold;
    background-color: #fff;
    border: 1.7px solid #62baea;
    border-radius: 10px;
    z-index: 5;
    line-height: 1.3;
  }
  .info-icon {
    display: flex;
    justify-content: center;
    align-items: center;    
    width: 10px;
    height: 15px;
    background-size: cover;
    cursor: pointer;
    margin-left: 2px;
    font-size:10px;
    text-align: center;
  }

  #baslik2 {
    text-align: center;
    font-size: 12px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding:5px;
    width: 100%;
    background-color: #f7f5f5;
    border-bottom: 2px solid #aec6d1;
    z-index: 1;
  }

  .sidebar {
    width: 250px;
  }
  .sidebar2 {
    width: 250px;
  }
  .sidebar-toggle.right {
    left: -1.7em;
  }
  .sidebar-toggle.left {
    right: -1.7em;
  }
  .sidebar2-toggle2.right {
    left: -1.7em;
  }
  .sidebar2-toggle2.left {
    right: -1.7em;
  }
  .right.collapsed {
    transform: translateX(250px)
  }
  .left.collapsed {
    transform: translateX(-250px);
  }
  .mapboxgl-popup {
    padding:0px;
    border-radius: 10%;
    text-align: center;
    background: none;
    width: 220px;
    height: 300px;     
  }
  .mapboxgl-popup-content {
    text-align: center;
    word-wrap: break-word;
    border-radius:10%;
    opacity: 0.8;
    width: 220px;
    height: 300px;  
    border: 1px solid #62baea;
    box-shadow:10px 10px 10px rgba(0, 0, 0, 0.3);
  }
  .mapboxgl-popup-content .h6 {
    font-size: 10px;
  }
  .mapboxgl-popup-close-button {
    color: #113a7c;
    font-size: 25px;
    font-weight: bolder;
    margin-top: 5%;
    margin-right:5%;
  }
   #popup-title{
    font-size: 12px;
    margin:0px;
    padding:0px;
   }
  .popup1{
    margin-top:10px;
    font-size: 14px;
  }
  .popup2{
    margin-top:0px;
    font-size: 13px;
    margin-bottom:0px;
  }
  #popup-button {
    padding: 0px;
    font-size: 10px;
    width:100px;
    height:20px;
    margin:0px;
    text-align: center;
  }
  #myChart {
    width:200px;
    font-size: 10px;
  }
  .legend-color{ 
    width: 12px;
    height: 5px;
  }
  .legend-title {
    font-size: 10px;
  }
  .legend-min-label {
    font-size: 8px;
  }
  .legend-max-label {
    font-size: 8px;
  }
  /* Açılış Popup */
  .popup {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 570px;
    width:360px;
    transform: translate(-50%, -50%);
    background-color: #f7f5f5;
    border-radius: 50px;
    border: 2px solid #62baea;
    padding: 10px;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    text-align: start;
    align-items: center;
  }
  .popup img {
    height:40px; 
    width:40px;
    display: block;
    margin: 0 auto;
  }
  .popup h2 {
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 6px;
    margin-top:6px;
  }

  .popup p {
    overflow-y: auto;
    margin-bottom: 10px;
    font-size: 8px; 
    line-height: 12px;
  }

  .popup p .highlight-red {
    color:#EF4146;
    font-weight: bold;
  }
  .popup p .highlight-blue {
    color: #113a7c;
    font-weight: bold;
  }
  .popup p .bold {
    font-weight: bold;
  }
  .popup i {
    font-weight: bold;
    font-size: 8px;
    display: inline-block;
    vertical-align: middle;
  }
  .popup .section {
    display: flex;
    align-items: center;
    width: fit-content;
    height:90px;
  }
  
  .popup .section img.spider {
    order: 1;
    width: 90px;
    height: 90px;
    border-radius: 15px;
    border: 1px solid #62baea;
  }
  
  .popup .section .spider-text {
    order: 2;
    margin-left: 10px;
  }
  .popup .section img.isochrone {
    order: 2;
    width: 90px;
    height: 90px;
    border-radius: 10px;
    border: 1px solid #62baea;
  }
  .popup .section .isochrone-text {
    order: 1;
    margin-right: 10px;
  }
  .close {
    background-color: rgba(21, 105, 140, 0.8);
    border-radius: 0px;
    justify-content: flex-start;
    padding: 7px 0px 10px 10px;
    width: 200px;
    height:35px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 10px;
    transition: .4s ease-in-out;
    letter-spacing: 1px;
    border-radius: 6px;
    margin-top: 10px;
    display: block;
    margin: 0 auto;
  }
} 
@media screen and (max-width:454px) {
  #logo_img{
    height:80px; 
    width:80px;
  }
  .dark-mode #logo_img {
    height: 75px;
    width: 75px;
    margin-top: 5px;
  }
} 
@media screen and (max-width:380px) {
  #logo_img{
   display:none;
  }
} 