a {
  text-decoration: none !important;
}

.mainpage-topic-item {
  margin-left: 15px;
  padding-top: 3px;
  padding-bottom: 3px;
  line-height: 18px;
}

.mainpage-topic-icon {
  margin-right: 5px;
  width: 18px;
}

.modal-80w {
  max-width: none !important;
  height: 100%;
  margin: 0 !important;
  padding: 30px;
  flex-direction: column;
}

.modal-image-content {
  height: 100%;
  width: auto !important;
}

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #c0c0c0;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #c0c0c0;
}

html,
body {
  margin: 0;
  padding: 0;
  overscroll-behavior-y: contain;
}

#root {
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  bottom: 0;
}

#app-nav-bar {
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
  /* background-color: black !important; */
}

#app-nav-bar .dropdown-menu {
  font-size: 14px;
}

@media(max-width: 768px) {
  #app-nav-bar-title-normal-container {
    display: none;
  }
}

@media(max-width: 768px) {
  #app-nav-bar-title-sm-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #app-nav-bar-icon {
    height: 27px;
  }

  #app-nav-bar-title-sm {
    display: inline-block;
    vertical-align: middle;
    display: flex;
    justify-content: center;
  }
}

@media(min-width: 768px) {
  #app-nav-bar-title-sm-container {
    display: none;
  }
}

#app-nav-bar-title {
  font-size: 1.3rem;
  color: white !important;
  padding-left: 10px;
}

.app-nav-bar-link {
  color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
  font-size: 10px;
}

#main-content {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  position: relative;
}

@media(max-width: 768px) {
  #app-nav-bar-search {
    padding-left: 0px;
    flex-grow: 1;
  }
}

@media(min-width: 768px) {
  #app-nav-bar-search {
    padding-left: 25px;
    padding-right: 25px;
  }
}

.app-nav-bar-typeahead {
  font-size: 14px;
  width: 200px;
}

@media(max-width: 768px) {
  .app-nav-bar-typeahead{
    width: 95%;
  }
}

#map {
  width: 100%;
}

#left-content {
  position: absolute;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 1005;
}

@media(max-width: 450px) {
  #left-content {
    width: 100%;
    margin: 0px 0px;
  }
}

/* .card {
  --bs-card-border-radius: 0 !important;
} */


#left-content-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: auto;
  margin: 10px 10px;
  box-shadow: 5px 5px 5px #d4d4d4;
  width: 22.5rem;
}

@media(max-width: 450px) {
  #left-content-container {
    width: 100%;
    margin: 0px 0px;
  }

  .card {
    border-radius: 0 !important;
  }
}


#intro-page-content h5 {
  font-size: 14px;
}

#intro-page-title {
  margin-bottom: 10px;
}

.mapboxgl-canvas-container.mapboxgl-interactive,
.mapboxgl-ctrl-nav-compass {
  cursor: auto !important;
}

.table-no-border tr {
  border: none !important;
}

.table-no-border td {
  border: none !important;
}

#no-image-placeholder {
  height: 17px;
  margin-bottom: 15px;
  background-color: #D3D3D3;
  color: white;
  align-content: center;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.static-content-title-bar {
  height: 17px;
  margin-bottom: 15px;
  background-color: #D3D3D3;
  color: white;
  align-content: center;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#close-poi-intro-button {
  top: 0;
  right: 0;
  margin-top: 5px;
  margin-right: 5px;
  background-color: rgba(255, 255, 255, 0.7);
  border-color: #D0D0D0;
  position: absolute;

}

.theme-img-desc {
  position: absolute;
  z-index: 1005;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 3px 10px;
  font-size: 12px;
  text-align: left;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(to right, rgba(30, 30, 30, 0.65) 0%, transparent 100%);
}

.theme-pic-link {
  color: rgba(255, 255, 255, 0.82);
}

.poi-attribute-badge {
  color: white;
  padding: 4px 8px;
  margin-right: 4px;
  border-radius: 0.25em;
}

.map-legend {
  position: absolute;
  z-index: 1001;
  opacity: 0.8;
  bottom: 30px;
  right: 5px;
}

.map-legend .accordion-button {
  padding: 0.5rem 0.8rem;
}

.legend-item {
  margin-top: 5px;
}

.legend-icon {
  margin-right: 5px;
}

.poi-accordion .accordion-body {
  padding: 0rem 1rem 1rem 1rem;
}

.poi-accordion .accordion-button:not(.collapsed) {
  color: black;
  box-shadow: none;
  background-color: white;

}

.poi-accordion .accordion-button {
  padding-bottom: 0;
  padding-left: 1rem;
}

#poi-card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

#poi-basic-info-section {
  gap: 0.25rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
}

.poi-section-title {
  color: #6699ff;
}

.poi-section-hr {
  margin: 1rem 0px 1rem 0px;
}

.poi-section-content-padding {
  padding-left: 1rem;
  padding-right: 1rem;
}

.poi-section-content-padding ul {
  margin-bottom: 0;
}

#station-info-img {
  height: 18px;
  vertical-align: middle;
  margin-right: 5px;
}

#transfer-info-img {
  height: 16px;
  vertical-align: middle;
  margin-right: 4px;
}

.tweet-preview-thumbnail {
  width: 150px;
  height: 150px;
  margin-left: 2px;
  margin-right: 2px;
  margin-top: 2px;
  margin-bottom: 2px;
  object-fit: cover;
  cursor: pointer;
}

.tweet-preview-pic-num {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  text-align: center;
  position: absolute;
  font-size: 36px;
  font-weight: 600;
  color: white;
  line-height: 150px;
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.5);
}

.tweet-markdown p:last-child {
  margin-bottom: 0;
}

#primary-poi-name {
  margin-bottom: 0;
}

#legend-box {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

/* hc site index page style*/
.hcsitepage-item-title {
  font-weight: 500;
}

.hcsitepage-item-title-id {
  font-size: 14px;
  margin-right: 20px;
}

.hcsitepage-table-item-td {
  border-left: 0px solid !important;
  border-right: 0px solid !important;
  padding: 0.6rem .3rem !important;
}

.media-manager-img-thumbnail {
  width: 300px;
  height: 200px;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 3px;
  margin-bottom: 3px;
  object-fit: cover;
}

.profile-view-img-thumbnail {
  width: 300px;
  height: 200px;

  object-fit: cover;
}

.mediaexplorer-view-img-thumbnail {
  width: 240px;
  height: 160px;
  object-fit: cover;
}

#single-user-view-header {
  height: 50px;
}

#single-user-view-nav {
  /* margin-left: 10px; */
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

#user-name {
  font-weight: 600;
  color: brown;
}

#gallery-tweet-text {
  width: 30%;
  height: 100%;
  /* flex-grow: 1; */
  padding-left: 10px;
  padding-right: 10px;
}

#md-image-gallery-container {
  max-width: 1300px;
  margin: auto;
  width: 100%;
  height: 100%;
  background-color: black;
}

#md-image-gallery-gallery-viewport {
  height: calc(100% - 100px);
}

#md-image-gallery-metadata-viewport {
  height: 100px;
  padding-top: 20px;
  font-size: 14px;
  color: white;
}

#md-image-gallery-close-button {
  min-width: 50px;
  align-self: start;
}

@media(max-width: 768px) {
  #md-image-gallery-close-button {
    display: none;
  }
}

@media(max-width: 768px) {
  #md-image-gallery-intro {
    padding-left: 12px;
    padding-right: 12px;
  }
}

.dropdown-menu {
  z-index: 1107 !important;
}

#full-screen-dialog-container {
  width: 60%;
  height: 100%;
  display: flex;

  flex-direction: column;
}

@media(max-width: 1200px) {
  #full-screen-dialog-container {
    width: 90%;
  }
}

@media(max-width: 768px) {
  #full-screen-dialog-container {
    width: 100%;
  }
}

.dialog-stat-navhref {
  color: white;
  font-size: 1.3rem;
}

.dialog-stat-navhref:hover {
  color: #d3d3d3
}

/* generic attribute layout style */

.attribute-table {
  color: #333;
}

.attribute-section-title {
  width: 100%;
  background-color: #b0b0b0;
  color: white;
  padding: 4px;
  text-align: center;
}


.wt-general-info-table tbody tr td {
  color: #333
}

.wt-connection-table {
  text-align: center;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  width: 100%;
  max-width: 100%;
  font-size: 9.5pt;
}

.wt-connection-table tbody tr {
  border-top: 1px solid #e0e0e0;
}

.wt-connection-table tbody tr th {
  padding: 5px 5px;
}

.wt-connection-table tbody tr td {
  padding: 7px 5px;
}

.wt-connection-line-badge {
  color: white;
  padding: 4px 8px;
  border-radius: 0.25em;
  display: inline-block;
}

.wt-connection-line-badge a {
  color: white;
}

.wt-view-title {
  width: 100%;
  text-align: center;
}

.wt-rail-diagram-table {
  padding: 0px;
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.wt-rail-diagram-table tbody tr {
  display: flex;
  flex-direction: row;
  border: none;
}

.wt-rail-diagram-table tbody tr td {
  padding: 0px;
  display: flex;
  height: 20px;
  border: none;
  align-items: center;
}

.wt-rail-diagram-table-mileage {
  width: 40px;
  margin-left: 15px;
  margin-right: 15px;
  font-family: "Courier New", Courier, monospace;
}

.wt-rail-diagram-table-desc {
  font-size: 90%;
  color: #777;
}

.wt-route-timetable {
  font-size: 9.5pt;
}

.wt-route-timetable tbody {
  border-top-width: 1px;
}

.wt-route-timetable tbody tr td {
  padding: 5px 5px;
  color: #333;
  vertical-align: middle;
}

.wt-route-timetable thead tr th {
  vertical-align: middle;
}

.wt-stop-lname {
  color: #a6a6a6;
}

.wt-route-departure-badge {
  font-weight: 700;
  color: white;
  padding: .2em .6em .3em;
  border-radius: 0.25em;
  display: inline-block;
  font-size: 9pt !important;
  cursor: pointer;
}

.wt-station-main {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.wt-route-departuretable tbody {
  border-top-width: 1px;
}

.wt-route-departuretable tbody tr td {
  vertical-align: middle;
  padding: 3px 5px;
  color: #333;
}

.wt-route-departuretable a {
  color: #337ab7;
  text-decoration: none;
}

.wt-station-route-title-bar {
  width: 100%;
  display: flex;
  flex-direction: row;
  padding-top: 15px;
  padding-bottom: 15px;
  justify-content: space-between;
}

.wt-station-route-title {
  margin-bottom: 0px;
}

.wt-station-route-table {
  overflow-y: auto;
}

.tab-title-svg {
  width: 14px;
  height: 14px;
}

.attr-sec-svg {
  width: 16px;
  height: 16px;
}

.tab-title-text {
  margin-left: 6px;
  vertical-align: middle;
}