.modal-search-offices {
  width: 100%;
  position: fixed;
  overflow-y: auto;
  z-index: 8;
  top: 115px;
  height: calc(100vh - 115px);
}

.modal-search-offices .modal-content {
  overflow-y: unset;
  overflow-x: unset;
  max-width: 100%;
  max-height: 100%;
}

.modal-search-offices .grid-container {
  padding: 0;
  background-color: transparent;
}

.modal-search-offices .modal-body {
  height: 100%;
  position: relative;
  align-content: flex-start;
}

.modal-search-offices .modal-content .modal-body .cell-search {
  min-height: 100%;
  max-width: 525px;
  padding: 75px 60px;
  border-right: none;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
  background-color: hsla(0, 0%, 96.9%, .86);
}

.modal-search-offices .modal-content .modal-body .cell-list-offices {
  padding: 80px 50px;
  position: relative;
  -webkit-backdrop-filter: blur(21px);
  backdrop-filter: blur(21px);
  box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
  background-color: hsla(0, 0%, 100%, .87);
}

.modal-search-offices .modal-content .modal-body .cell-search .btn-back {
  padding-left: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  align-items: center;
  text-transform: uppercase;
}

.modal-search-offices .tag {
  padding-top: 0;
  line-height: 1.33;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-search-offices .modal-content .modal-body .cell-search .location-undp {
  color: #006eb5;
  margin-top: 15px;
  line-height: 1.14;
  font-weight: 600;
  font-size: 2rem;
}

.modal-search-offices .modal-content .modal-body .cell-search .header-modal .title {
  margin-top: 40px;
  font-size: 3.5rem;
  line-height: 1.09;
  font-weight: 700;
}

.modal-search-offices .modal-content .modal-body .cell-search .header-modal .description {
  margin-top: 40px;
  color: #000;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 400;
}

.modal-search-offices .modal-content .modal-body .cell-search .header-modal .tag-current-section {
  margin-top: 30px;
  font-size: 0.75rem;
  line-height: 1.33;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-search-offices .modal-content .modal-body .cell-search .header-modal .text-link {
  margin-top: 25px;
  display: inline-block;
  color: #000;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  align-items: center;
  text-transform: uppercase;
}

.modal-search-offices a {
  background: none;
}

.text-link.arrow-3:hover {
  color: #55606f !important;
}

.text-link.text-link.arrow-3:hover .external-link-animated {
  box-shadow: -2px 2px 0 0 #d12800, -4px 0 0 -2px #d12800, -3px 3px 0 -1px #d12800;
}

.text-link.arrow-3:hover .external-link-animated::before {
  -webkit-transform: rotate(-45deg) translate(7px);
  -moz-transform: rotate(-45deg) translate(7px);
  -ms-transform: rotate(-45deg) translate(7px);
  -o-transform: rotate(-45deg) translate(7px);
  transition: rotate(-45deg) translate(7px, 0);
  background-color: #d12800;
}

.text-link.arrow-3:hover .external-link-animated::after {
  -webkit-transform: translate(5px, -5px);
  -moz-transform: translate(5px, -5px);
  -ms-transform: translate(5px, -5px);
  -o-transform: translate(5px, -5px);
  transition: translate(5px, -5px);
  border-right: 2px solid #d12800;
  border-top: 2px solid #d12800;
}

@media screen and(min-width: 1024px) {
  .hide-for-large {
    display: none !important;
  }
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .inputs {
  padding-right: 15px;
  display: flex;
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .inputs .search-input {
  flex: 1 0 auto;
  margin-right: 45px;
  position: relative !important;
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .inputs .search-select-group:not(:last-child) {
  margin-right: 30px;
}

.show-for-sr {
  color: #fff;
  font-size: 12px;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .inputs .search-input .input-search {
  width: 100%;
  font-size: 20px;
  line-height: 1.2;
  box-shadow: none;
  font-weight: 500;
  padding: 13px 20px 14px 55px;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #232e3e;
  color: #000;
}

.modal-search-offices input[type=search] {
  background: none;
}

.modal-search-offices .regions-select,
.modal-search-offices .office-type-select {
  height: 52px;
  position: relative;
}

.multi-select .select-control {
  flex: 1;
  top: 0;
  display: block;
  cursor: pointer;
  max-width: 100%;
  text-align: left;
  min-width: 230px;
  max-height: 52px;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 45px 15px 25px;
  border: 2px solid #000;
  text-transform: uppercase;
  background-color: hsla(0, 0%, 96.9%, .86);
}

.modal-search-offices .modal-content .active-filters {
  flex-wrap: wrap;
  min-height: 36px;
  margin-top: 20px;
  color: #9fa8ae;
  position: relative;
  margin-bottom: 0;
  flex-direction: row;
  align-items: center;
}

.modal-search-offices .modal-content .active-filters .tag {
  margin: 0 15px 0 0;
}

.modal-search-offices .modal-content .active-filters .filter {
  margin: 6px 10px 10px 0;
}

.active-filters .filter-clear {
  color: #000;
  line-height: 1.5;
  margin-left: 12px;
  font-size: 0.875rem;
  font-weight: 400;
  text-transform: capitalize;
  border-bottom: 1px solid #d12800;
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .countries {
  left: 0;
  right: 50px;
  padding: 0 50px;
  overflow-y: auto;
  position: absolute;
  margin: 44px 0 100px;
  max-height: calc(100% - 280px);
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .countries .country-item {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 500;
  padding: 20px 25px 20px 5px;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.flex-container {
  display: flex;
}

.align-justify {
  justify-content: space-between;
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .countries .country-item .country {
  display: flex;
  align-items: center;
  padding-right: 10px;
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .countries .country-item .languages {
  text-align: right;
  flex: 0 0 auto;
  max-width: 50%;
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .countries .country-item .text-link {
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  font-weight: 400;
  white-space: nowrap;
  text-transform: none;
}

.modal-search-offices .multi-select.open ul {
  position: absolute;
  z-index: 99;
}

.multi-select.open ul li {
  margin-left: 0;
}

.multi-select .options {
  background-color: hsla(0, 0%, 96.9%, .86);
  left: 0;
  top: 50px;
  width: 100%;
  display: none;
  max-width: 100%;
  min-width: 230px;
  overflow-y: auto;
  list-style: none;
  min-height: 100px;
  max-height: 300px;
  position: absolute;
  z-index: 5;
  font-weight: 400;
  padding: 0 23px 0 25px;
  border: 2px solid #000;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
}

.modal-search-offices .multi-select .options .checkbox-item {
  margin: 0;
  font-size: 1.25rem;
  padding: 15px 25px 15px 0;
  position: relative;
}

.multi-select .options .checkbox-item:hover {
  color: #4b5564;
}

.checkbox-item input {
  top: 50%;
  right: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  position: absolute;
  transform: translateY(-50%);
}

.modal-search-offices-filters .modal-content .filters .filter-office-type,
.modal-search-offices-filters .modal-content .filters .filter-region {
  margin-top: 18px;
  padding-top: 18px;
}

.modal-search-offices-filters .modal-content .filters .filter-office-type .checkbox-group,
.modal-search-offices-filters .modal-content .filters .filter-region .checkbox-group {
  margin-top: 18px;
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .countries::-webkit-scrollbar-thumb {
  background-color: #000;
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .countries::-webkit-scrollbar-track {
  background: linear-gradient(90deg, transparent 10%, #000 33%, transparent 0);
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .countries::-webkit-scrollbar {
  width: 5px;
}

.global-header .header .icon-globe.active,
.country-header .header .icon-globe.active {
  background: url('../images/icon-close.svg');
  background-repeat: no-repeat;
  color: black;
  mask: none !important;
  -webkit-mask: none !important;
  background-position: center;
  background-color: transparent;
}

.country-header .header .icon-globe.active:hover {
  background-color: transparent;
}

.country-header .icon-search {
  margin-left: 1rem;
}

.nav-item.icon-search:hover {
  opacity: 0.7;
}

.text-link.arrow-3 .external-link-animated {
  position: relative;
  margin-left: 10px;
  /* display: inline-block; */
  transition: transform .2s ease;
}

/* .user-logged-in .modal-search-offices {
  top: 11.825rem;
  height: calc(100vh - 11.825rem);
}

.user-logged-in .modal-popular-search {
  top: 11.825rem;
} */

@media screen and (max-width: 1025px) {
  .modal-search-offices {
    top: 4.6875rem;
    height: calc(100% - 4.6875rem);
    left: 0;
    -webkit-backdrop-filter: blur(21px);
    backdrop-filter: blur(21px);
    background-color: hsla(0, 0%, 100%, .87);
  }

  .modal-search-offices .modal-content .modal-body {
    flex-flow: column;
    flex-direction: column;
  }

  .modal-search-offices .modal-content .modal-body .cell-search {
    max-width: unset;
    box-shadow: unset;
    min-height: unset;
    -webkit-backdrop-filter: unset;
    backdrop-filter: unset;
    padding: 25px 15px 0;
    background-color: transparent;
  }

  .modal-search-offices .modal-content .modal-body .cell-list-offices {
    height: 100%;
    flex: 0 1 auto;
    position: static;
    box-shadow: unset;
    padding: 0 0 0 15px;
    background-color: transparent;
    -webkit-backdrop-filter: unset;
    backdrop-filter: unset;
  }

  .modal-search-offices .modal-content .modal-body .cell-search .header-modal .title-undp {
    color: #006eb5;
    font-size: 1.25rem;
    margin-top: 10px;
    font-weight: 600;
  }

  .modal-search-offices .modal-content .modal-body .cell-list-offices .inputs .search-input {
    width: 100%;
    max-width: unset;
    margin-right: 0;
  }

  .search-input .input-search {
    border: none;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 20px 10px 55px;
  }

  .modal-search-offices .modal-content .modal-body .cell-list-offices .countries {
    right: 0;
    width: 100%;
    flex: 0 1 auto;
    margin-bottom: 0;
    margin-top: 20px;
    position: static;
    max-height: none;
    padding: 0 10px 0 0;
    height: calc(100% - 160px);
  }

  .modal-search-offices .modal-content .modal-body .cell-list-offices .countries .country-item {
    padding: 20px 0;
    font-size: 1rem;
    line-height: 1.18;
    font-weight: 600;
  }

  .modal-search-offices .modal-content .modal-body .cell-list-offices .filter-options {
    position: static;
    width: calc(100% - 15px);
    left: 15px;
    right: 15px;
    bottom: 15px;
    margin-left: 0;
    display: block !important;
  }

  .modal-search-offices .modal-content .modal-body .cell-list-offices .filter-options .btn-filters {
    height: 50px;
    color: #fff;
    background-color: #006eb5;
    width: 100%;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .modal-search-offices .modal-content .modal-body .cell-list-offices .filter-options .btn-filters .current-filters {
    width: 24px;
    height: 24px;
    color: #000;
    margin-left: 15px;
    border-radius: 50%;
    font-weight: 600;
    background-color: #ffeb00;
    display: inline;
    padding: 2px 8px;
  }

  /* Modal search filters mobile popup */

  .modal-search-offices-filters {
    top: 70px;
    left: 0;
    height: calc(100% - 70px);
    width: 100%;
    position: fixed;
    overflow-y: auto;
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    z-index: 8;
    background-color: hsla(0, 0%, 100%, .98);
  }

  .modal-search-offices-filters .modal-content .custom-grid {
    height: 1px;
    min-height: 100%;
  }

  .modal-search-offices-filters .modal-content {
    min-height: 100%;
    position: relative;
    padding: 25px 15px 15px;
    align-content: flex-start;
  }

  .modal-search-offices-filters .modal-content .custom-grid .custom-cell {
    min-height: 100%;
    position: relative;
  }

  .modal-search-offices-filters .modal-content .header-modal {
    padding: 0 18px;
  }

  .show-for-large {
    display: none !important;
  }

  .btn-back {
    color: #000;
    display: flex;
    font-size: 0.875rem;
    font-weight: 700;
    align-items: center;
    text-transform: uppercase;
    pointer-events: all;
  }

  .btn-back .arrow-back {
    margin-right: 12px;
  }

  .modal-search-offices-filters .modal-content .header-modal .titles {
    margin-top: 40px;
  }

  .heading.h5 {
    font-size: 1.25rem;
    line-height: 1.04;
    font-weight: 400;
  }

  .btn-clear {
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: underline;
    color: #9b9b9b;
  }

  .modal-search-offices-filters .modal-content .filters {
    padding: 0 18px;
    position: relative;
    margin-bottom: 100px;
  }

  .modal-search-offices-filters .modal-content .btn-filters {
    left: 0;
    right: 0;
    bottom: 15px;
    position: absolute;
  }

  .modal-search-offices-filters .text-link {
    color: #000;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    align-items: center;
    display: inline-flex;
    text-transform: uppercase;
  }

  .checkbox-item:not(.displays-inline) {
    display: block;
    padding-right: 30px;
    position: relative;
  }

  .checkbox-item {
    padding: 15px 20px 15px 0;
  }

  .modal-search-offices-filters .modal-content .btn-filters .btn {
    height: 50px;
    border: none;
    color: #fff;
    cursor: pointer;
    background: #d12800;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    text-transform: uppercase;
    font-family: ProximaNova, sans-serif;
    padding: 14px 25px;
    width: 100%;
  }

  .modal-search-offices .modal-content .modal-body .cell-list-offices .countries .country-item .text-link {
    font-size: 1rem;
  }

  .mobile-nav.show-location {
    display: none;
  }

  /* .user-logged-in .modal-search-offices {
    top: 9rem;
    height: calc(100vh - 9rem);
  }

  .user-logged-in .modal-popular-search {
    top: 9rem;
  } */
}

.modal-search-offices .modal-content .modal-body .cell-list-offices .countries .country-item .text-link:not(:first-child) {
  margin-left: 20px;
}

@media print,
screen and (min-width: 1025px) {

  .modal-search-offices .hide-for-large,
  .modal-search-offices-filters .hide-for-large {
    display: none !important;
  }
}

.modal-search-offices .chip {
  font-size: 0.875rem;
}

.header .top-right .icon-search:focus,
.header .top-right .icon-globe:focus {
  background-color: #4F95DD;
}
