.popup {
  position: absolute;
  right: 50px;
  width: 400px;
  min-height: 100px;
  background: var(--white);
  top: 50%;
  /* transform: translateY(-50%); */
  /* display: none; */

  transform: translate(100%, -50%);
  transition: all .4s ease;
  right: 0;
  visibility: hidden;
}

.custom-map-component {
  overflow: hidden;
}

.popup.pop-visible {
  /* display: block; */
  transform: translate(-50px, -50%);
  visibility: visible;
}

.close-pop {
  /* background: url(../img/popup/home_close.png)no-repeat center center; */
  background: url(../img/popup/home_close.svg)no-repeat center center;
  width: 16px;
  height: 16px;
  font-size: 0;
  display: block;
  position: absolute;
  right: 15px;
  top: 15px;
}

.close-pop:hover {
  opacity: .75;
}

.country-name {
  font-size: 24px;
  font-family: var(--font-secondary);
  color: var(--primary);
}

.pop-header {
  display: flex;
  justify-content: space-between;
  padding: 21px 40px 13px;
}

.country-detail {
  display: flex;
  align-items: center;
}

.country-flag img {
  width: 38px;
  border: 1px solid #f2f2f2;
}

.country-detail:not(.no-flag) .country-name {
  margin-left: 10px;
}

.pop-inner {
  padding: 15px 20px;
}

.inner-detail {
  /* padding: 25px 40px 30px; */
  padding: 10px 20px 15px;
  max-height: 450px;
  overflow: auto;
}

.no-pop-img+.pop-inner .inner-detail {
  padding-top: 0;
}

.pop-img img {
  max-width: 100%;
  display: block;
  height: auto;
}

.coutry-more {
  border-top: 1px solid var(--pale-1);
  padding-top: 30px;
  padding-top: 21px;
}

.pop-title {
  font-size: 21px;
  line-height: 27px;
  font-family: var(--font-secondary);
  color: var(--primary);
  display: flex;
}

.detail-item:not(:last-child) {
  border-bottom: 1px solid var(--gray2);
  padding-bottom: 9px;
  margin-bottom: 9px;
}

.detail-item .labels {
  width: 60%;
  position: relative;
  margin-right: 20px;
  color: var(--pale-3);
}

.detail-item .labels::after {
  content: ':';
  position: absolute;
  right: 0;
}

.list-pop {
  padding-top: 15px;
}

.list-pop ul,
.pop-inner ul {
  padding-left: 0;
  list-style: none;
}

.pop-inner ul {
  padding-top: 15px;
}

.list-pop li,
.pop-inner li {
  font-size: 16px;
  line-height: 21px;
  color: var(--gray);
  position: relative;
  padding-left: 14px;
}

.list-pop li:before,
.pop-inner li:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--pale-1);
  display: inline-block;
  margin-right: 11px;
  vertical-align: middle;
  position: absolute;
  top: 9px;
  left: 0;
}

.list-pop li:not(:last-child),
.pop-inner li:not(:last-child) {
  margin-bottom: 10px;
}

/*state*/
.state-pop .pop-title {
  margin-bottom: 7px;
}

.cal-item {
  font-size: 16px;
  color: var(--gray);
}

.cal-item:not(:last-child) {
  margin-bottom: 10px;
}

.cal-item>*:not(:last-child) {
  margin-bottom: 5px;
}

/* .state-pop>div {
  margin-bottom: 28px;
}
 */

.des p:last-child {
  margin-bottom: 0;
}

.state__desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 24px;
}

@media screen and (max-width: 767px) {
  .popup {
    width: calc(100% - 30px);
    /* right: 15px; */
    max-width: 400px;
  }

  .popup.pop-visible {
    transform: translate(-15px, -50%);
  }

  .country-name {
    font-size: 22px;
  }

  .pop-title {
    font-size: 18px;
  }
}
