.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 99999999;
  top: 0;
  left: 0;
  background-color: white;
  overflow-y: hidden;
  transition: 0.5s;
  top: 146.6px;
}

.overlay-content {
  position: relative;
  top: 1%;
  width: 100%;
  text-align: center;
  margin-top: 5%;
  padding-top: 2%;
  margin-bottom: 7%;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #4c42a3;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  z-index: 9999;
}

.flags-nav {
	display: flex;
	padding-top: 2%;
	position: fixed;
	z-index: 999999;
	width: 100%;
	overflow: hidden;
	background: white;
}

.flags-search {
	padding-left: 1.4%;
}

.flags-text {
	padding-left: 13%;
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}


.all-country-flag {
    width: 100%;
    display: inline-block;
    column-count: 4;
    transition: all 0.5s;
}
@media (max-width: 1360px){
  .all-country-flag {
    column-count: 3;
  }
}
@media (max-width: 1140px){
  #myNav{
    top: 99px !important;
  }
  .overlay-content {
    top: 1%;
  }
}
@media (max-width: 930px){
  .all-country-flag {
    column-count: 2;
  }
  .overlay {
    top: 96px !important;
  }
}
@media (max-width: 450px){
  .all-country-flag {
    display: flex;
    flex-direction: column;
  }
}

.all-country-flag .flag {
    padding: 10px;
}
.all-country-flag .flag .t-body2{
    color: #898989;
}
.all-country-flag .flag .t-body{
    font-size: 16px;
    /* font-weight: 700; */
    padding: 10px;
}
.h-form-field__wrapper {
    position: relative;
    flex-grow: 1;
    max-width: 543px;
}
.h-form-field__icon {
    right: 16px;
}
.h-form-field__icon {
    z-index: 1;
    position: absolute;
    top: 12px;
    display: inline-flex;
    pointer-events: none;
}
.h-form-field__element {
    line-height: 20px;
    color: #36344d;
    display: block;
    width: 100%;
    padding: 13px 16px;
    outline: 0;
    border: 1px solid #dadce0;
    border-radius: 4px;
    background-color: #fff;
}
.all-country-flag .flag .flag-hover {
    transition: all 0.5s;
    text-align: left;
}
.all-country-flag .flag-hover:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.overlay {overflow-y: auto;}