/* body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
} */

#partner-search-modal {
  word-break: break-all;
}

h1 {
  margin: 0 0 0.25em;
  color: black;
}

.popup-container {
  max-width: 592px;
  margin: auto;
  min-height: 518px;
  max-height: 680px;
  margin-top: 200px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  /* padding: 30px 29px 30px 29px; */
  padding-bottom: 30px;
  border: 1px solid #888;
  width: 100%;
  /*min-height: 518px;*/
  height: 680px;
}

/* The Close Button */
.close {
  float: right;
  font-size: 40px;
  margin-top: -15px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* pop up */
.title-popup {
  font-size: 22px;
  font-weight: bold;
  text-align: left !important;
  line-height: normal !important;
  display: initial;
  color: #000;
}

#local-search {
  width: 100%;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
}

.data-partner {
    height: 400px;
    overflow-y: auto
}
.data-partner-item-dv {
    margin: 0 29px;
}

.data-text-partner-item-dv {
    margin: 0 29px;
}
/* Thiết kẻ thẻ select */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  background-image: none;
  border: 1px solid #d3d3d3;
  flex: 1;
  padding: 0 0.5em;
  cursor: pointer;
  color: #000;
  font-weight: 700;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.88;
  font-size: 16px;
}

.select {
  position: relative;
  display: flex;
  width: 70%;
  height: 52px;
  line-height: 3;
  background: #fff;
  overflow: hidden;
  /* border-radius: .25em; */
  padding-right: 5px;
}

.select-1 {
  position: relative;
  display: flex;
  width: 70%;
  height: 52px;
  line-height: 3;
  background: #fff;
  overflow: hidden;
  /* border-radius: .25em; */
  padding-right: 5px;
}

/* The container must be positioned relative: */
.custom-select {
  position: relative;
  font-family: Arial;
}

.custom-select select {
  display: none; /*hide original SELECT element: */
}

.select-selected {
  background-color: #fff;
  height: 52px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.88;
  letter-spacing: normal;
  text-align: left;
  color: #000;
  border: 1px solid #d3d3d3 !important;
  width: 210px;
}

.select-selected.active {
  border: 1px solid #028267 !important;
  border-bottom: none !important;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(calc(-50% + 4px));
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #000 transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #000 transparent;
  top: 50%;
  transform: translateY(calc(-50% - 4px));
}

/* style the items (options), including the selected item: */
.select-items div,
.select-selected {
  color: #000;
  padding: 8px 16px;
  cursor: pointer;
  height: 52px;
}

.select-items div {
  display: flex;
  align-items: center;
}

.select-items div:hover {
  color: #000;
  background-color: #e6f3f0 !important;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: #fff;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  border: 1px solid #028267;
  border-top: none;
  overflow-y:auto;
  max-height:400px;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div.same-as-selected {
  color: #fff;
  background-color: #028267;
}

.select-items div.same-as-selected:hover {
  color: #000;
}

/* thiết kế dấu mũi tên */
.select::after {
  content: url(../icons/icon-dropdown.svg);
  position: absolute;
  top: 0;
  right: 0;
  padding: 18px 16px 18px 16px;
  line-height: 1;
  cursor: pointer;
  pointer-events: none;
  -webkit-transition: 0.25s all ease;
  -o-transition: 0.25s all ease;
  transition: 0.25s all ease;
}

/* Transition */
.select:hover::after {
  color: Gainsboro;
}

/* thiết kế dấu mũi tên */
.select-1::after {
  content: url(../icons/icon-dropdown.svg);
  position: absolute;
  top: 0;
  right: 0;
  padding: 18px 16px 18px 16px;
  line-height: 1;
  cursor: pointer;
  pointer-events: none;
  -webkit-transition: 0.25s all ease;
  -o-transition: 0.25s all ease;
  transition: 0.25s all ease;
}

/* Transition */
.select-1:hover::after {
  color: Gainsboro;
}

.div-popup {
  padding: 40px 29px 0 29px;
}

.btn-search {
  width: 92px;
  margin-left: 10px;
}

.btn-search-detail {
  min-height: 40px !important;
  border: solid 1px #888 !important;
  background-color: #fff !important;
  float: right;
  padding: 0px 15px !important;
}

.lable-title-text {
  font-family: Pretendard;
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.88;
  letter-spacing: normal;
  text-align: left;
  color: #000;
}

.lable-content-text {
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.57;
  letter-spacing: normal;
  text-align: left;
  color: #727272;
}

.search-lable-content-text {
  font-size: 14px;
  line-height: 2.14;
  color: #555 !important;
  font-family: "Pretendard";
}

.mt-40 {
  margin-top: 40px;
  display: flex;
}

.mt-30 {
  margin-top: 30px;
}

.mt-8 {
  margin-top: 8px;
}

.mt-19 {
  margin-top: 15px;
}

.mt-10 {
  margin-top: 2px;
}

.pl-2 {
  padding-left: 2%;
}

.mt-16 {
  margin-top: 16px;
  margin-bottom: 12px;
  text-align: center;
}

.lable-search-detail {
  font-size: 12px;
  font-stretch: normal;
  font-style: normal;
  line-height: 2;
  text-align: center;
  color: #000;
  cursor: pointer;
}

.address {
  font-size: 12px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.83;
  text-align: center;
  margin: 0 10px 0 0;
  padding: 3px 4px;
}

.address-status-1 {
  color: #028267;
  background-color: #e5faf5;
}

.address-status-2 {
  color: #555555;
  background-color: #efefef;
  padding: 3px 10px 1px 10px;
}

hr {
  margin: 25px 0 25px 0;
  background-color: #eee;
  opacity: 0.2;
}

.search-no-data {
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.57;
  text-align: center;
  color: #888 !important;
}

.icon-search {
  text-align: center;
  padding-top: 60px;
}

#search-doc {
  max-height: 386px;
  overflow: hidden;
  overflow-y: auto;
  padding: 0 29px;
  padding-bottom: 20px;
}

#partner-search {
  padding-top: 30px;
  flex-direction: column;
}

#data-partner {
    overflow-y: auto;
    /* height: 445px; */
}

.div-select {
  display: flex;
  padding: 0 29px;
}

.div-select-1 {
  display: flex;
  width: 100%;
  margin-left: 10px;
}

.content-detail-local {
  width: 25%;
}

.title-detail-local {
  width: 75%;
}

.mb-12 {
  margin-bottom: 12px !important;
}

/* parnet search */
div#search-doc-partner {
  max-height: 386px;
  overflow-y: auto;
  padding: 0 29px;
}

.search-doc-partner-content {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}

.label-title-text-bold {
  font-size: 18px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: left;
  color: #000;
}
.lh-12 {
  line-height: 1.2 !important;
}

.label-title-text {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  gap: 3px;
  margin-left: 10px;
}

.label-title-text-cyan {
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.8;
  letter-spacing: normal;
  text-align: left;
  color: #555;
  margin-bottom: 8px;
  display: flex;
}

span.label-title-tag {
  font-size: 12px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.83;
  letter-spacing: normal;
  text-align: center;
  color: #727272;
  background-color: #eaeaea;
  width: 40px;
  height: 20px;
}

button.label-title-text-right {
  font-size: 12px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 2;
  letter-spacing: normal;
  text-align: center;
  color: #000;
  width: 54px;
  height: 40px;
}

hr.line {
  background-color: #eaeaea;
  margin-top: 20px;
}

.label-title-header {
  padding: 30px 29px 0 29px;
}

#div-search {
  display: flex;
  padding: 0 29px;
}

@media screen and (max-width: 450px) {
  /*.btn-search-detail {
    display: none !important;
  }*/

    /*.content-detail-local {
    display: none;
  }*/

  .title-detail-local {
    width: 100%;
  }

  .lable-title-text {
    font-size: 16px;
  }
}

@media only screen and (min-width: 490px) and (max-width: 500px) {
  .select-1 {
    width: 83% !important;
  }
}

@media only screen and (min-width: 450px) and (max-width: 489px) {
  .select-1 {
    width: 82% !important;
  }
}

@media only screen and (min-width: 435px) and (max-width: 449px) {
  .select-1 {
    width: 80% !important;
  }
}

@media only screen and (min-width: 400px) and (max-width: 434px) {
  .select-1 {
    width: 79% !important;
  }
}

@media only screen and (min-width: 385px) and (max-width: 399px) {
  .select-1 {
    width: 78% !important;
  }
}

@media only screen and (min-width: 370px) and (max-width: 385px) {
  .select-1 {
    width: 77% !important;
  }
}

@media only screen and (min-width: 355px) and (max-width: 369px) {
  .select-1 {
    width: 76% !important;
  }
}

@media only screen and (min-width: 330px) and (max-width: 354px) {
  .select-1 {
    width: 74% !important;
  }
}

@media only screen and (min-width: 315px) and (max-width: 329px) {
  .select-1 {
    width: 73% !important;
  }
}

@media only screen and (min-width: 300px) and (max-width: 315px) {
  .select-1 {
    width: 71% !important;
  }
}

@media only screen and (min-width: 290px) and (max-width: 300px) {
  .select-1 {
    width: 70% !important;
  }
}

@media only screen and (max-width: 767px) {
  .close {
    float: right;
    font-size: 40px;
    padding-top: 15px;
  }

  .select-1 {
    height: 48px;
    overflow: hidden !important;
  }

  .select {
    height: 48px;
    overflow: hidden !important;
  }
  /* thiết kế dấu mũi tên */
  .select::after {
    padding: 15px 20px 15px 15px;
  }

  /* thiết kế dấu mũi tên */
  .select-1::after {
    padding: 15px 20px 15px 15px;
  }

  #search-doc {
    padding: 0 20px;
    max-height: 100%;
  }

  .close {
    font-size: 35px;
    padding-top: 15px;
  }

  #div-search {
    display: flex;
    padding: 0 20px;
  }

  .label-title-header {
    padding: 18px 20px 0 20px;
  }

  .label-title-text-right {
    display: none;
  }

  .label-title-text-bold {
    font-size: 16px;
  }

  hr.line {
    margin-top: 16px;
  }
  .label-title-text-cyan-mb {
    margin-top: 14px;
  }

  .label-title-text {
    margin-left: 10px;
  }

  select {
    font-weight: bold !important;
    font-size: 14px;
  }

  #local-search {
    padding-top: 32px;
    /*height: calc(100% - 100px);
    padding-bottom: 30px;*/
  }

  #data-partner {
    overflow-y: auto;
    /* height: 445px; */
  }

  div#search-doc-partner {
    padding: 0 20px;
    max-height: 100%;
  }

  .btn-search {
    width: 72px;
  }

  /* Modal Content */
  .modal-content {
    /* padding: 20px; */
    border: 0px solid #fff;
    max-height: 100%;
    height: 100%;
  }

  /* pop up */
  .title-popup {
    font-size: 18px;
    font-weight: bold;
  }

  .data-partner {
    height: 560px;
    overflow-y: auto
  }

  .div-popup {
    padding: 33px 0 0 0;
  }

  #partner-search {
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 100px);
    padding-bottom: 30px;
  }

  .modal {
    padding-top: 0px;
  }

  .popup-container {
    height: 100%;
    margin-top: 0;
    max-height: 100%;
    min-width: 100%;
  }

  .mt-40 {
    margin-top: 32px;
  }

  .menu li a {
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 2px solid #d3d3d3;
    font-size: 14px;
    font-weight: bold;
  }

  .menu li.active a {
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 2px solid #292929;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
  }

  .menu li:first-child a {
    border-right: none;
    border-left: 0px;
  }

  .menu li:first-child.active a {
    border-right: 0px;
    border-left: 0px;
  }

  .menu li:last-child.active a {
    border-bottom: 2px solid #292929;
    border-right: 0px;
    border-left: 0px;
  }

  .div-select {
    display: inline;
    padding: 0 20px;
  }

  .select-1 {
    width: 82%;
    height: 48px;
  }

  /* The container must be positioned relative: */

  .custom-select {
    position: relative;
    font-family: Arial;
    flex: 1;
  }

  .custom-select select {
    display: none; /*hide original SELECT element: */
  }

  /* Style the arrow inside the select element: */
  .select-selected:after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(calc(-50% + 4px));
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #000 transparent transparent transparent;
  }

  /* Point the arrow upwards when the select box is open (active): */
  .select-selected.select-arrow-active:after {
    border-color: transparent transparent #000 transparent;
    top: 50%;
    transform: translateY(calc(-50% - 4px));
  }

  /* style the items (options), including the selected item: */

  .select-selected {
    width: 100%;
    height: 48px;
  }

  .div-select-1 {
    margin-left: 0;
    display: flex;
  }

  .div-select-1 .select-selected {
    height: 48px;
  }

  .select-items div,
  .select-selected {
    color: #000;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
  }

  /* Style items (options): */
  .select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
  }

  /* Hide the items when the select box is closed: */
  .select-hide {
    display: none;
  }

  .select-items div.same-as-selected {
    color: #fff;
    background-color: #028267;
  }

  .select-items div.same-as-selected:hover {
    background-color: #e6f3f0;
    color: #000;
  }

  .select {
    width: 100%;
    height: 48px;
  }

  .div-select-1 {
    padding-top: 10px;
  }
}

@media screen and (max-width: 500px) {
  .close {
    font-size: 35px;
    padding-top: 15px;
  }

  #div-search {
    display: flex;
    padding: 0 20px;
  }

  .label-title-header {
    padding: 18px 20px 0 20px;
  }

  .label-title-text-right {
    display: none;
  }

  .label-title-text-bold {
    font-size: 16px;
  }

  hr.line {
    margin-top: 16px;
  }
  .label-title-text-cyan-mb {
    margin-top: 14px;
  }

  .label-title-text {
    margin-left: 10px;
  }

  select {
    font-weight: bold !important;
    font-size: 14px;
  }

  #local-search {
    padding-top: 32px;
  }

  div#search-doc-partner {
    padding: 0 20px;
  }

  .btn-search {
    width: 72px;
  }

  /* Modal Content */
  .modal-content {
    /* padding: 20px; */
    border: 0px solid #fff;
    max-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
  }

  /* pop up */
  .title-popup {
    font-size: 18px;
    font-weight: bold;
  }

  .div-popup {
    padding: 33px 0 0 0;
  }

  #partner-search {
    padding-top: 32px;
  }

  .modal {
    padding-top: 0px;
  }

  .popup-container {
    height: 100vh;
    margin-top: 0;
    max-height: 100vh;
  }

  .mt-40 {
    margin-top: 32px;
  }

  .menu li a {
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 2px solid #d3d3d3;
    font-size: 14px;
    font-weight: bold;
  }

  .menu li.active a {
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 2px solid #292929;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
  }

  .menu li:first-child a {
    border-right: none;
    border-left: 0px;
  }

  .menu li:first-child.active a {
    border-right: 0px;
    border-left: 0px;
  }

  .menu li:last-child.active a {
    border-bottom: 2px solid #292929;
    border-right: 0px;
    border-left: 0px;
  }

  .div-select {
    display: inline;
  }

  .select-1 {
    width: 82%;
    height: 48px;
  }

  /* The container must be positioned relative: */

  .custom-select {
    position: relative;
    font-family: Arial;
    flex: 1;
  }

  .custom-select select {
    display: none; /*hide original SELECT element: */
  }

  /* Style the arrow inside the select element: */
  .select-selected:after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(calc(-50% + 4px));
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #000 transparent transparent transparent;
  }

  /* Point the arrow upwards when the select box is open (active): */
  .select-selected.select-arrow-active:after {
    border-color: transparent transparent #000 transparent;
    top: 50%;
    transform: translateY(calc(-50% - 4px));
  }

  /* style the items (options), including the selected item: */

  .select-selected {
    width: 100%;
    height: 48px;
  }

  .div-select-1 {
    margin-left: 0;
    display: flex;
  }

  .div-select-1 .select-selected {
    height: 48px;
  }

  .select-items div,
  .select-selected {
    color: #000;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
  }

  /* Style items (options): */
  .select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
  }

  /* Hide the items when the select box is closed: */
  .select-hide {
    display: none;
  }

  /* .select-items div:hover,
  .same-as-selected {
    color: #fff !important;
    background-color: #028267 !important;
  } */

  .select {
    width: 100%;
    height: 48px;
  }

  .div-select-1 {
    padding-top: 10px;
  }
}
