.hd-eol-header {
  display: flex;  
  position: fixed;
  width: 100%;
  z-index: 9999;
}

.hd-eol-header .logo {
  padding: 19px 16px 11px 16px;
  display: flex;
}

.hd-eol-header .logo-mobile {
  display: block;
}

.hd-eol-header .logo-mobile img {
  max-width: 100%;
  height: auto;
}

.hd-eol-header .logo-desktop {
  display: none;
}

.hd-eol-header .hide-mobile {
  display: none;
}

.hd-eol-header .header-text {
  font-size: 20px;
  line-height: 30px;
  font-weight: bold;
}

.hd-eol-header .header-text p {
  margin: 0;
}

.hd-eol-header .header-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.hd-eol-header .header-bg {
  width: 100%;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*   padding: 16px 16px 16px 10px; */
  padding: 16px;
  margin-left: -6px;
}

.hd-eol-header .header-lang {
  display: flex;
  position: relative;
  padding: 0;
  margin-top: 5px;
}

.hd-eol-header .header-lang-label {
  width: 100%;
}

.hd-eol-header .globe_class {
  background-image: url('https://mktgfiles.britishcouncil.org/hubfs/HD%20-%20Assets/icons/img-language-icon.svg');
  width: 35px;
  height: 21px;
  border-radius: 0;
  margin-right: 18px;
}

.hd-eol-header .lang_switcher_class {
  display: flex;
  position: unset;
}

.hd-eol-header .lang_switcher_class:after {
  content:"\f107";
  font-family: "Font Awesome 5 Pro";
  font-weight: 700;
  border-radius: 20px;
  display: flex;
  align-items: center;
  color: #24065A;
  padding-right: 5px;
}

.hd-eol-header .globe_class:hover .lang_list_class {
  display: none;
}

.hd-eol-header .header-lang .lang_list_class {
  display: none;
  transform: none;
  left: auto;
  right: -10px;
  background: #FFFFFF;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  top: 36px;
  min-width: 120px;
  border: 1px solid #e0e0e0;
  padding: 0;
}

.hd-eol-header .header-lang.open .lang_list_class {
  display: block; 
}

.hd-eol-header .lang_list_class:after, .hd-eol-header .lang_list_class:before {
  right: 8px;
  left: auto;
}

.hd-eol-header .lang_list_class li a {
  font-size: 16px; 
  font-weight: bold;
}

.hd-eol-header .lang_list_class li {
  border: none;
  padding: 0 18px 18px 18px;
}

.hd-eol-header .lang_list_class li:first-child {
  padding-top: 18px;
  border-top: none;
}

.hd-eol-header .lang_list_class li:last-child {
  padding-bottom: 18px;
  border-bottom: none;
}

.hd-eol-header .lang_list_class li a:hover, 
.hd-eol-header .lang_list_class li a:focus {
  color: #6555EE;
}

.hd-eol-header .lang_list_class:before {
  top: -25px;
  border-bottom-color: #e0e0e0;
}

.hd-eol-header .lang_list_class:after {
  top: -24px;
  border-bottom-color: #fff;
  margin-bottom: -1px;
}

.hd-eol-header .header-cta-mobile {
  margin-top: 10px;
  display: block;
}

.hd-eol-header a.cta_button {
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
  font-family: 'British Council Sans', 'Arial', 'sans-serif';
}

.hd-eol-header .header-desktop-cta {
  display: none;
}

@media (max-width: 767px) {

  .hd-eol-header a.cta_button {
    font-size: 12px;
    padding: 5px;
    text-align: center;
    line-height: 1.2;
  }

}

@media (min-width: 768px) {

  .hd-eol-header .header-cta-mobile {
    display: none;
  }

  .hd-eol-header .header-desktop-cta {
    display: inline-block;
    margin-right: 25px;
  }

  .hd-eol-header .header-right {
    display: flex;
  }

  .hd-eol-header .header-lang {
    align-items: center;
    margin-top: 0;
  }

  .hd-eol-header .header-bg {
    margin-left: -6px;
  }

}

@media (min-width: 992px) {

  .hd-eol-header .logo {
    padding: 18px 12px 16px 50px;
    box-shadow: 0px 4px 4px -3px rgba(0, 0, 0, 0.25);
    border-radius: 0px 0px 0 38px;
  }

  .hd-eol-header .header-bg {
    padding: 18px 44px 16px 12px;
    box-shadow: 0px 4px 4px -3px rgba(0, 0, 0, 0.25);
    border-radius: 0px 0px 38px 0;
    margin-left: -6px;
  }

  .hd-eol-header .logo-mobile {
    display: none;
  }

  .hd-eol-header .logo-desktop {
    display: block;
    max-width: 160px;
    margin-right: 25px;
  }

  .hd-eol-header .logo-desktop img {
    max-width: 100%;
    height: auto;
  }

  .hd-eol-header .header-text {
    font-size: 29px;
    line-height: 32px;
  }

  .hd-eol-header .header-lang {
    padding: 10px 0;
    align-items: center;
  }

  .hd-eol-header .header-lang .lang_list_class {
    min-width: 180px;
    top: 49px;
  }

  .hd-eol-header .lang_list_class li {
    padding: 0 35px 18px 35px;
  }

  .hd-eol-header .lang_list_class li a {
    font-size: 18px; 
    line-height: 28px;
  }

  .hd-eol-header .globe_class {
    background: none;
    margin-right: 30px;
    width: auto;
    height: auto;
  }

  .hd-eol-header .hide-mobile {
    display: block;
  }

  .hd-eol-header .header-lang-label {
    font-size: 22px;
    line-height: 32px;
    font-weight: 700;
  }

  .hd-eol-header .lang_switcher_class:after {
    font-size: 20px;
    height: 25px;
    align-items: flex-end;
  }

}

@media (max-width: 1199px) {

  .hd-eol-header .button, .hd-eol-header a.cta_button {
    font-size: 15px;
    padding: 10px 15px;
  }

}

@media (min-width: 1200px) {

  .hd-eol-header .logo {
    align-items: center;
  }

  .hd-eol-header .header-content {
    align-items: center;
  }

}

@media (min-width: 1600px) {

  .hd-eol-header {
    width: 88%;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

}

{# Right to Left content - e.g. Arabic #}

html[dir='rtl'] .hd-eol-header .logo {
  box-shadow: 0px 4px 4px -3px rgb(0 0 0 / 25%);
  border-radius: 0px 0px 38px 0px;
} 

html[dir='rtl'] .hd-eol-header .header-bg {
  box-shadow: 0px 4px 4px -3px rgb(0 0 0 / 25%);
  border-radius: 0 0 0 38px;   
  padding-left: 20px;
  padding-right: 12px;
}

html[dir='rtl'] .hd-eol-header .header-lang .lang_list_class {
  min-width: 115px;
}

html[dir='rtl'] .hd-eol-header .header-lang .lang_list_class {
  right: -30px;
}

html[dir='rtl'] .hd-eol-header .lang_list_class:before {
  top: -25px;
  right: auto;
  left: 25px;
}

html[dir='rtl'] .hd-eol-header .lang_list_class:after {
  top: -24px;
  left: 25px;
  right: auto;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  
  html[dir='rtl']  .hd-eol-header .header-bg {
    margin-right: -6px;
    margin-left: 0;
  }

  html[dir='rtl'] .hd-eol-header .header-lang {
    margin-right: 25px;
  }
  
  html[dir='rtl'] .hd-eol-header .header-lang .lang_list_class {
    right: -38px;
    top: 47px;
  }
  
  html[dir='rtl'] .hd-eol-header .lang_list_class:before {
    left: 14px;
  }
  
  html[dir='rtl'] .hd-eol-header .lang_list_class:after {
    left: 14px;
  }
  
}

@media (min-width: 992px) {
  
  html[dir='rtl'] .hd-eol-header .header-bg {
    padding-right: 10px;
    padding-left: 44px;
  }
  
  html[dir='rtl'] .hd-eol-header .header-lang .lang_list_class {
    min-width: 148px;
    right: -30px;
    top: 50px;
  }
  
  html[dir='rtl'] .hd-eol-header .lang_list_class:before {
    left: 27px;
  }
  
  html[dir='rtl'] .hd-eol-header .lang_list_class:after {
    left: 27px;
  }
  
}