*::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

*::-webkit-scrollbar
{
	width: 5px;
	background-color: #F5F5F5;
}

*::-webkit-scrollbar-thumb
{
	background-color: #b80000;
	/* border: 2px solid #555555; */
}

body {
  font-family: "Lexend", cursive;
  overflow: hidden;
}
.header {
  background: #b80000;
  width: 100%;
  z-index: 100;
  position: relative;
}
.header a {
  text-decoration: none;
}


header .logo-doan {
    width: 100%;
    max-width: 60px;
}

header h1 {
  font-size: 20px;
  margin-top: 5px;
}
.search-wrapper input {
  width: 100%;
}
.map-wrapper {
  position: relative;
  height: calc(100vh - 102px);
}
.map-wrapper #map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}
.map-item-list {
  overflow-y: scroll;
  padding-right: 15px;
  position: relative;
  height: 100%;
}
.map-item-list ul {
  padding-top: 0x;
  padding-bottom: 15px;
  padding-left: 0px;
}
.map-item-list ul li {
  list-style: none;
}
.map-item-list ul li a {
  color: #b80000;
  text-decoration: none;
  font-size: 20px;
  line-height: 30px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.map-item-list ul li a img {
  width: 60px;
  margin-right: 10px;
}
.marker_diadanh {
    background-color: #ffffff;
    background-size: cover;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 8;
    border: 2px solid #ffffff;
    transition: ease-in-out border 100ms, ease-in-out width 200ms,ease-in-out height 200ms;
}
.marker_diadanh.active {
    border: 2px solid red;
    z-index: 18;
    transition: ease-in-out border 100ms, ease-in-out width 200ms,ease-in-out height 200ms;
    width: 120px;
    height: 120px;
}

.marker-tooltip {
    position: absolute;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    pointer-events: none;
    width: 200px;
    text-align: center;
    z-index: 9;
}
.marker-tooltip br {
    display: none;
}

.popup-address-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 102;
    width: 100vw;
    height: 100vh;
    visibility: hidden;
    opacity: 0;
    justify-content: center;
    align-items: center;
    background: #00000078;
    transition: linear all 100ms;
    display: flex;
}
.popup-address-wrapper.show {
    visibility: visible;
    opacity: 1;
    transition: linear all 100ms;
}
.popup-address-wrapper .popup-address-content * {
    position: relative;
    color: #ffffff;
    text-align: justify;
}
.popup-address-wrapper .popup-address-content {
    position: relative;
    max-width: 900px;
    top: 0;
    width: 100%;
    /* min-height: 500px; */
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0px;
    background: #3F51B5;
    border-radius: 15px;
    box-sizing: border-box;
/*    overflow-y: scroll;*/
}
.popup-address-wrapper .popup-address-content img.popup_background {
    position: absolute;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.popup-address-wrapper .popup-address-content .img-top-wrapper {
    margin-bottom: 20px;
    text-align: center;
    /* display: flex;
    gap: 20px; */
}
.popup-address-wrapper .popup-address-content img.logo_doan {
    max-width: 100px;
}
.popup-address-wrapper .popup-address-content img.address_avata {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}

.popup-address-wrapper .popup-address-content .content {
    text-align: center;
    font-size: 16px;
    /* overflow-y: scroll; */
}
.popup-address-wrapper .popup-address-content .content .content_text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.popup-address-wrapper .popup-address-content h2 {
    font-size: 25px;
    text-align: center;
    color: #fff;
    line-height: 35px;
    margin-bottom: 0px;
    text-transform: uppercase;
    padding: 0px 30px;
}
.popup-address-wrapper .popup-address-content .content {
    padding: 15px 30px;
}

.popup-address-wrapper .popup-address-content a.button-popup {
  display: flex;
  margin: 10px;
  width: 150px;
  text-align: center;
  padding: 5px 0px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: linear all 200ms;
  justify-content: center;
  align-items: center;
}

.popup-address-wrapper .popup-address-content .button-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.popup-address-wrapper .popup-address-content a:hover {
    transform: scale(1.1);
    opacity: 0.9;
    transition: linear all 200ms;
}
.popup-address-wrapper .popup-address-content a.visit_link {
    color: #ffffff;
    background: #f44336;
}

.popup-address-wrapper .popup-address-content a.map_link {
    color: #ffffff;
    background: #FF9800;
}


.popup-address-wrapper .popup-address-content button.close-button {
    width: 50px;
    color: transparent;
    background: unset;
    border: unset;
    position: absolute;
    right: 0px;
    top: 5px;
    transition: linear all 200ms;
    padding: 0px;
}


.popup-address-wrapper .popup-address-content button.close-button:hover {
    transform: scale(1.1);
    opacity: 0.9;
    transition: linear all 200ms;
}
@media (max-width: 1200px) { 
  
}
.bottom-nav {
  display: none;
}
@media (max-width: 767px) {
  .popup-address-wrapper .popup-address-content .content .content_text {
    margin-top: 15px;
  }
  .popup-address-wrapper {
    align-items: unset;
  }
  body {
    overflow: hidden;
  }
  .popup-address-wrapper .popup-address-content .content {
    overflow-y: scroll;
    padding-top: 0px;
    height: 300px;
  }
  .map-item-list { 
    overflow-x: hidden;
    /* overflow-y: unset; */
  }
  .sidebar {
    height: 100vh;
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100%;
    z-index: 99;
    background: #fff;
    padding: 15px;
    transition: linear 300ms all;
  }
  .sidebar.active {
    left: 0;
    transition: linear 300ms all;
  }
  .map-item-list ul li a {
    padding-left: 0px;
    font-size: 15px;
    line-height: 20px;
  }
  .map-item-list ul li a img {
    width: 40px;
  }
  .bottom-nav {
    display: block;
    position: fixed;
    bottom: 0;
    text-align: center;
    width: 100%;
    background: #b80000;
    padding: 10px 0px;
    z-index: 98;
  }
  .bottom-nav a {
    color: #ffffff;
    text-decoration: none;
    width: 100%;
    display: block;
  }
  .popup-address-wrapper .popup-address-content {
    justify-content: unset;
  }
  .popup-address-wrapper .popup-address-content img.address_avata {
    width: 70px;
    height: 70px;
  }
  .popup-address-wrapper .popup-address-content h2 {
    font-size: 18px;
    line-height: 24px;
    /* margin-bottom: 15px; */
  }
  .popup-address-wrapper .popup-address-content {
    border-radius: 0px;
  }
  .map-wrapper {
    margin-left: -15px;
    margin-right: -15px;
  }
}