body,
html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

:root {
  --sb-track-color: #d5dde1;
  --sb-thumb-color: #464646;
  --sb-size: 5px;
  --map-buttons-top-margin: 75px;
}

*::-webkit-scrollbar {
  width: var(--sb-size);
}

*::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 3px;
}

*::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 3px;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}

.ui-autocomplete {
  max-height: 200px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.popover-body {
  padding: 0.5rem 1rem;
}

.mapboxgl-popup-close-button {
  background-color: #dcdcdcc9;
  border-radius: 3px;
}

.mapboxgl-popup-close-button:hover {
  background-color: rgb(0 0 0/5%);
}

.mapboxgl-popup-content .btn.link-gray {
  display: none;
}

.popup-layer-image {
  margin-right: 5px;
}

#popupAccordion * {
  font-size: 13px;
}

.loading-overlay-content {
  text-transform: none !important;
}

table.jsgrid-table tbody th {
  text-align: left !important;
}

table.jsgrid-table tbody td {
  text-align: left !important;
}

a:not([href]):not([tabindex]) {
  color: white;
  text-decoration: none;
}

.jssocials-share-logo {
  font-size: 18px !important;
}

.netigma-query-container {
  background-color: white;
  padding: 17px;
  font-size: 13px;
  text-align: left;
  display: inline-grid;
  z-index: 2;
  width: 100%;
}

.ui-front {
  z-index: 2000;
}

.jsgrid {
  font-size: 13px !important;
  text-align: left !important;
}

.jsgrid-pager {
  gap: 1px;
}

.jsgrid-pager-nav-button {
  padding: 0.2em 0.6em;
  background: #8080802e;
  border-radius: 4px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
}

.jsgrid-pager-nav-button > a {
  color: darkslategrey;
  text-decoration: none;
}

.jsgrid-pager-page {
  padding: 0.2em 0.6em;
  background: #8080802e;
  border-radius: 4px;
  width: 30px;
  display: flex;
  justify-content: center;
}

.jsgrid-pager-page > a {
  color: darkslategray;
  text-decoration: none;
}

.jsgrid-pager-current-page {
  background: #3c71f2d9;
  color: white;
}

.abis-result-grid {
  width: 100%;
  background-color: white;
  z-index: 2;
  padding: 3px;
  border-radius: 0 0 0 5px;
}

.abis-result-count {
  font-size: 12px;
  margin-right: 20px;
  display: none;
  font-size: 15px;
  color: #ee0202;
  font-weight: 500;
}

#abis-menu-container {
  display: flex;
}

.mapview-buttons {
  position: absolute;
  background: #ffffffce;
  border: solid 3px #ffffff;
  box-shadow: rgb(0 0 0 / 35%) 0px 2px 8px 1px;
  cursor: pointer;
  border-radius: 6px;
  font-family: "Open Sans", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-search-button {
  top: 15px;
  left: 20px;
  content: "";
  width: 50px;
  height: 50px;
  border-radius: 6px 0 0 6px;
  border-right-style: none;
}

.map-search-button__bar {
  width: 250px;
  height: 50px;
  background: #ffffffce;
  position: absolute;
  left: 47px;
  border-radius: 0 5px 5px 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 20px;
  box-shadow: rgb(0 0 0 / 35%) 3px 0px 6px 0px;
  border: solid 3px white;
  border-left-style: none;
}

.map-switch {
  top: var(--map-buttons-top-margin);
  left: 20px;
  height: 50px;
  width: 50px;
  background-image: url(../../images/satellite.jpg);
}

.map-limit {
  top: calc(60px + var(--map-buttons-top-margin));
  left: 20px;
  background-image: none;
  width: 50px;
  height: 50px;
}

.map-limit img {
  width: 30px;
}

.map-help {
  color: #272727;
  left: 20px;
  top: calc(120px + var(--map-buttons-top-margin));
  width: 50px;
  height: 50px;
}

.map-deprem {
  color: #272727;
  left: 20px;
  top: 255px;
  width: 50px;
  height: 50px;
}

.deprem {
  background-color: #ffffffba;
  border: 1px solid #cccccc;
  border-radius: 10px;
  font-size: 15px;
  padding: 10px 20px;
}

.legend {
  position: absolute;
  bottom: 64px;
  left: 50px;
}

.legend div {
  display: flex;
  align-items: center;
  padding: 0px 4px;
  border-radius: 5px;
  justify-content: space-between;
}

.legend span {
  width: 15px;
  height: 15px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
  border: 1px solid rgba(255, 0, 0, 0.397);
}

.list {
  position: absolute;
  top: 75px;
  left: 75px;
  /* height: 50vh; */
  width: 20vw;
  /* overflow-y: scroll; */
  display: flex;
  flex-direction: column;
}

.list p {
  margin-bottom: 0;
}

.deprem-panel {
  display: flex;
  align-items: stretch;
  margin-bottom: 10px;
  border-radius: 10px;
}

.deprem.list {
  background-color: rgba(255, 255, 255, 0.7);
  overflow-x: hidden;
}

.abis-menu-result {
  display: none;
}

.menu-subcontainer {
  display: flex;
  float: right;
}

.menu-item-icon {
  border: 0;
  color: #5f6368;
  display: inline-block;
  fill: currentColor;
  height: 40px;
  line-height: 24px;
  width: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.menu-item-label {
  color: #3e3e3e;
  font-size: 12px;
  margin-top: 0px;
  font-weight: 500;
  width: 100%;
  padding: 2px;
}

.menu-item {
  padding: 4px;
  cursor: pointer;
  /* margin-bottom: 20px; */
  font-weight: 600;
  font-size: 15px;
  background-color: #edf0f1;
  color: #272727;
  border-right: solid 1px #c3c3c3;
  text-align: center;
  border-bottom: solid 1px #d0d1d1;
  width: 120px;
  padding-top: 10px;
}

.menu-item .item {
  display: block;
}

.menu-item:hover {
  background-color: #dedede;
}

.menu-item.active {
  background-color: #fafafa;
  border-bottom: solid 1px #fafafa;
}

.abis-menu-container {
  right: 0px;
  top: 0px;
  position: absolute;
  max-width: 50%;
  justify-items: end;
}

.abis-menu-container.full {
  width: 100% !important;
}

.company-logo {
  position: absolute;
  bottom: 1px;
  cursor: pointer;
  left: 10px;
  z-index: 5;
}

.company-image {
  margin-left: 95px !important;
  margin-bottom: 7px;
  width: 21px;
}

.abis-container {
  width: 100%;
  height: 100%;
}

#map {
  width: 100%;
  height: 100%;
}

.menu-item-length:empty {
  display: none;
}

.menu-subcontainer > div:first-of-type .menu-item-icon {
  height: 75px;
}
.kurum-icon {
  position: absolute;
  bottom: 20px;
  right: 10px;
}

.mapboxgl-marker {
  display: none;
}

.form-group {
  position: relative;
}

.modal-dropdown-caret {
  position: absolute;
  right: 10px;
  top: 0;
  line-height: 6;
}

@media (max-width: 1025px) {
  .jsgrid-pager {
    font-size: medium;
    font-weight: bold;
  }

  .abis-menu-container {
    width: 80% !important;
  }

  .menu-subcontainer {
    width: 100% !important;
    text-align: center;
  }

  .menu-item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }

  .mapview-buttons {
    left: 10px;
  }

  .map-search-button {
    top: 115px;
    border-right-style: solid;
    border-radius: 6px;
  }

  .map-search-button__bar {
    display: none;
  }

  .map-switch {
    top: 168px;
  }

  .map-limit {
    top: 221px;
  }

  .map-help {
    top: 274px;
  }

  .map-deprem {
    top: 327px;
  }

  .list {
    top: 110px;
    width: 30vw;
  }

  .kurum-icon {
    bottom: 10px;
    right: 40px;
  }
}

@media (max-width: 500px) {
  .abis-result-count {
    font-size: 10px !important;
  }

  .btn {
    font-size: 9px;
  }

  label {
    margin-bottom: 4px;
  }

  .jsgrid {
    font-size: 9px !important;
  }

  .menu-item {
    padding: 0px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    background-color: #edf0f1;
    color: #272727;
    border-right: solid 1px #c3c3c3;
    text-align: center;
    border-bottom: solid 1px #d0d1d1;
    width: 120px;
  }

  .menu-item-icon {
    border: 0;
    color: #5f6368;
    display: inline-block;
    fill: currentColor;
    height: 40px;
    line-height: 17px;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    display: table;
  }

  .jsgrid-pager {
    padding: 0.5em 0;
    font-size: medium;
    font-weight: bold;
  }

  .abis-detail-report-container > div:nth-child(2) > div:nth-child(1) {
    white-space: pre-line;
    line-height: 0.9;
  }

  .abis-detail-report-container {
    height: auto !important;
  }
  .abis-detail-report-container img {
    height: 100px !important;
  }

  .menu-item-label {
    font-size: 9px;
  }

  .menu-item-icon {
    height: 30px;
    width: 100%;
  }

  .menu-subcontainer > div:first-of-type .menu-item-icon {
    height: 50px;
  }

  .mapview-buttons {
    width: 36px;
    height: 36px;
  }

  .mapview-buttons > img {
    width: 24px;
  }

  .legend {
    left: 45px;
    bottom: 54px;
  }
  .deprem {
    padding: 10px;
    font-size: 13px;
    border-radius: 6px;
  }

  .list {
    display: none;
  }
}
