/* header */
.header {
  position: sticky;
  top: -41px;
  background: #fff;
  width: 100%;
  color: #ffffff;
  z-index: 1000;
  transition: all 1s;
  box-shadow: 0px 9px 10px #00000026;
}
.header_content .header_top_box {
  padding: 11px 0 10px;
  background: #efefef;
  height: 41px;
}
.header_content .header_top_box .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.header_content .header_top_left a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.3;
  color: #032045;
  font-family: "PublicSans-SemiBold";
  overflow: hidden;
  position: relative;
}
.header_top_right {
  display: flex;
  align-items: center;
}
.header_links a {
  display: inline-block;
  margin: 0 30px 0 0;
  font-size: 14px;
  color: #032045;
  line-height: 1.3;
  overflow: hidden;
  position: relative;
}
.header_links a:last-child {
  margin: 0;
}
/*country  */
.header_content .new_country {
  cursor: pointer;
}
.header_content .new_country .new_country_block {
  display: flex;
  align-items: center;
  position: relative;
}
.header_content .new_country .new_country_block img {
  width: 20px;
  vertical-align: middle;
}
.header_content .new_country .new_country_block span {
  display: inline-block;
  color: #032045;
  line-height: 1.2;
  font-size: 14px;
  padding-left: 10px;
  vertical-align: -webkit-baseline-middle;
  font-family: "PublicSans-Bold";
}
.header_content .new_country_hide {
  position: fixed;
  top: 0;
  right: -100%;
  max-width: 344px;
  width: 100%;
  background: #f4f4f4;
  box-shadow: 0 0 20px rgb(0 0 0 / 30%);
  z-index: 1000000;
  transition: all 0.5s;
}
.header_content .new_country_hide.active_right {
  right: 0%;
}
.header_content .new_country_hide .header_language_box {
  padding: 20px 0 40px;
  height: 100vh;
  overflow-y: auto;
}
.header_content .new_country_hide li {
  text-align: left;
  position: relative;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  cursor: pointer;
}
.header_content .new_country_hide li:hover {
  background-color: #e5e5e5;
}
.header_content .new_country_hide li a {
  display: flex;
  align-items: center;
  padding: 20px 34px;
}
.header_content .new_country_hide li img {
  width: 30px;
  height: 30px;
  display: block;
  margin-right: 30px;
}
.header_content .new_country_hide li strong {
  font-family: "PublicSans-SemiBold";
}
.header_content .new_country_hide li span {
  font-size: 18px;
  font-family: "PublicSans-Regular";
}

.header_content .new_country_hide_mask_layer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 100000;
}
.mobile_mask_layer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
}
/*country  */

.header_content .header_box {
  padding: 20px 0;
  position: relative;
  height: 86px;
  width: 100%;
  transition: all 1s;
}
.header_content .header_box .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_left,
.header_right {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 100%;
}

.header_right {
    margin-top: -57px;
}

.header .inner .logo {
  display: block;
  width: 146px;
  margin: 0 0 10px;
}
.header .logo img {
    display: block;
    width: 80%;
    height: auto;
    margin-top: -50px;
}

.mobile_menu_hamburger {
  position: relative;
  width: 20px;
  text-align: center;
  cursor: pointer;
  display: none;
}

.header_right_link {
  display: flex;
  align-items: center;
}
.header_content .header_trade_button {
  width: max-content;
  text-align: center;
  padding: 11px 30px 10px;
  font-size: 16px;
  font-family: "PublicSans-Bold";
}
.header_content .header_login_button {
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-size: 16px;
  font-family: "PublicSans-Bold";
  color: #0a65de;
  line-height: 1.6;
  margin: 0 20px 0 32px;
  padding: 10px 20px 12px;
  border-radius: 23px;
}
.header_content .header_login_button:hover {
  color: #000;
}
.header_content .header_login_button::after {
  z-index: -1;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  background-color: #00f0ff;
  transform-origin: center;
  transform: translate3d(-50%, -50%, 0) scale(0, 0);
  transition: transform 0.5s ease-in-out;
}
.header_content .header_login_button:hover::after {
  transform: translate3d(-50%, -50%, 0) scale(15, 15);
}
.header_top_bar {
  display: none;
  position: absolute;
  right: 0;
  top: 65px;
  max-width: calc(100% - 61px);
  width: 100%;
  height: auto;
  overflow: auto;
  z-index: 1000;
  border-radius: 0 0 0 10px;
}

.scroll_bar {
  overflow: auto;
}

.header_menu_nav {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding: 10px 0;
  margin: 0 0 0 40px;
}
.header_menu_nav > li {
  padding: 0 25px 0 0;
}
.header_menu_nav > li:last-child {
  padding: 0;
}
.header_menu_nav a {
  display: block;
  position: relative;
  text-decoration: none;
  zoom: 1;
  font-size: 16px;
  font-family: "PublicSans-SemiBold";
}
.header .header_menu_nav h5 {
  color: #031f45;
  font-size: 16px;
  font-family: "PublicSans-SemiBold";
  line-height: 1.15;
  cursor: pointer;
  margin: 0;
  overflow: hidden;
  position: relative;
}
.header .header_menu_nav h5 a {
  font-size: 16px;
}
.header .header_menu_nav h5:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background-color: #007bff;
  transition: width 0.5s ease-in-out;
}

.header .header_menu_nav li.active h5:before {
  width: 100%;
}
.header .header_menu_nav h5:hover,
.header .header_menu_nav h5 a:hover,
.header .header_menu_nav li.active h5,
.header .header_menu_nav li.active h5 a {
  color: #0051ff;
}

.header_menu .header_menu_item {
  display: block;
  height: 0;
  transition: all 0.425s;
  position: absolute;
  left: 0px;
  top: 100%;
  width: 100%;
  background: #efefef;
  overflow: hidden;
  z-index: 99;
  -webkit-box-shadow: 0 12px 16px -4px #10182814, 0 4px 6px -2px #10182808,
    inset 0 20px 20px rgb(0 0 0 / 10%);
  -moz-box-shadow: 0 12px 16px -4px #10182814, 0 4px 6px -2px #10182808,
    inset 0 20px 20px rgb(0 0 0 / 10%);
  box-shadow: 0 12px 16px -4px #10182814, 0 4px 6px -2px #10182808,
    inset 0 20px 20px rgb(0 0 0 / 10%);
}
.header_menu .header_menu_item.active {
  height: 467px;
}
.header_menu .header_menu_item.active .menu_box {
  opacity: 1;
}
.header_menu .menu_box {
  opacity: 0;
  transition: none;
  max-width: 1164px;
  min-height: 467px;
  margin: 0 auto;
  padding: 28px 25px 12px 210px;
  display: flex;
  display: -webkit-flex;
  position: relative;
  z-index: 11;
}
.header_menu .menu_box .menu_section {
  margin-right: 75px;
}
.header_menu .menu_box .menu_section:last-child {
  margin: 0;
}
.header_menu .header_menu_item h5 {
  padding: 0px 0 20px;
  margin: 0px;
  font-size: 18px;
  color: #032045;
  line-height: 1.28;
  font-family: "PublicSans-SemiBold";
  cursor: context-menu;
}
.header_menu .header_menu_item h5 a {
  font-size: 18px;
  color: #032045;
  line-height: 1.28;
  font-family: "PublicSans-Bold";
}
.header_menu .header_menu_item h5:hover {
  color: #032045;
}
.header_menu .header_menu_item .sub-menu {
  padding: 0px;
  margin: 0px;
  position: static;
  display: block;
  width: auto;
}
.header_menu .header_menu_item.active .sub-menu li {
  animation-name: headerfadein;
}
@keyframes headerfadein {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0px);
    opacity: 1;
  }
}
.header_menu .header_menu_item .sub-menu li {
  padding: 0px 0px 12px;
  margin: 0px;
  position: relative;
  animation-timing-function: cubic-bezier(0.9, 0.02, 0.4, 1);
  transition: transform 0.3s;
}
.header_menu .header_menu_item .sub-menu li a {
  position: relative;
  display: block;
  width: fit-content;
  color: #032045;
  text-decoration: none;
  font-size: 16px;
  padding: 0px;
  margin: 0px;
  line-height: 1.28;
  cursor: pointer;
  font-family: "PublicSans-Regular";
}
.header_menu .header_menu_item .sub-menu li:hover {
  transform: translateX(10px);
  color: #0051ff;
}
.header_menu .header_menu_item .sub-menu li a:hover {
  color: #0051ff;
}
.header_menu .header_menu_item .sub-menu li:before {
  content: "";
  position: absolute;
  display: none;
  top: 10px;
  left: 0;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background-color: #00f0ff;
  border-radius: 50%;
  transition: all 0.5s ease-in-out;
}
.header_menu .header_menu_item .sub-menu li:hover:before {
  display: block;
  left: -10px;
}

.header_menu_nav > li > a:hover,
.header_menu_nav li li:hover > a {
  color: #0051ff;
}
/* mobile */
.mobile_menu {
  display: none;
  position: relative;
  width: 100%;
  text-align: center;
  overflow: auto;
}
.mobile_menu_content {
  background: #efefef;
  position: relative;
  padding: 0 0 48px 37px;
}

.mobile_menu_content .mobile_header_menu {
  text-align: left;
  position: relative;
}
.mobile_menu_content .mobile_header_menu li {
  position: relative;
}
.mobile_menu_content .mobile_header_menu li:first-child .title {
  padding-top: 20px;
}
.mobile_menu_content .mobile_header_menu .title {
  display: block;
  color: #031f45;
  padding: 32px 25px 10px;
  font-size: 16px;
  text-decoration: none;
  text-align: right;
  font-family: "PublicSans-Bold";
  border-bottom: 1px solid #d9d9d9;
}
.mobile_menu_content .mobile_header_menu a {
  display: block;
  color: #031f45;
  padding: 16px 30px 16px;
  font-size: 20px;
  text-decoration: none;
}
.mobile_menu_content .mobile_header_menu li > a {
  padding: 10px 54px 10px 20px;
  text-transform: none;
  text-align: right;
  color: #0051ff;
  font-size: 14px;
  position: relative;
}
.mobile_menu_content .mobile_header_menu li > a::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 40px;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #00f0ff;
}
.mobile_menu_content .mobile_header_menu li ul {
  border: 0px;
  padding: 0px;
  display: none;
}
.mobile_menu_button .deep_blue_button {
  max-width: 242px;
  width: 100%;
  margin-top: 64px;
  text-align: center;
}
/* mobile */
.header.header_flex .header_box {
  width: 100%;
  z-index: 999;
  background: #fff;
  box-shadow: 0px 9px 15px #00000026;
}
/* header */

html[lang="fr-FR"] .header_menu_nav {
  margin: 0 0 0 20px;
}
html[lang="fr-FR"] .header_menu_nav > li {
  padding: 0 20px 0 0;
}
html[lang="fr-FR"] .header .header_menu_nav h5 {
  font-size: 15px;
}
html[lang="fr-FR"] .header_content .header_trade_button {
  font-size: 15px;
  padding: 11px 20px 10px;
}
html[lang="fr-FR"] .header_content .header_login_button {
  margin: 0 10px;
  font-size: 15px;
}
html[lang="fr-FR"] .header_menu .menu_box .menu_section {
  margin-right: 20px;
}
html[lang="fr-FR"] .header_menu .menu_box {
  padding: 28px 25px 12px 185px;
}

html[lang="tr-TR"] .header_menu .menu_box .menu_section {
  margin-right: 20px;
}
@media (max-width: 1520px) {
  .header_menu_nav > li {
    padding: 0 20px 0 0;
  }
  .header_menu .menu_box .menu_section {
    margin-right: 40px;
  }
}
@media (max-width: 1440px) {
  .header .header_menu_nav h5 {
    font-size: 14px;
  }
  .header .header_menu_nav h5 a {
    font-size: 14px;
  }
  .header_menu .header_menu_item h5,
  .header_menu .header_menu_item h5 a {
    font-size: 18px;
  }
  .header_menu .header_menu_item .sub-menu li a {
    font-size: 16px;
  }
}
@media (max-width: 1240px) {
  .header_content .header_box {
    height: auto;
  }
  .header_menu_nav {
    margin: 0 0 0 20px;
  }
  .header_menu_nav > li {
    padding: 0 10px 0 0;
  }
  .header_menu .menu_box {
    min-height: 280px;
  }
  .header_menu .menu_box .menu_section {
    margin-right: 20px;
  }
  .header_content .header_login_button {
    margin: 0 20px;
  }

  html[lang="fr-FR"] .header_menu_nav {
    margin: 0 0 0 10px;
  }
  html[lang="fr-FR"] .header_menu_nav > li {
    padding: 0 10px 0 0;
  }
  html[lang="fr-FR"] .header .header_menu_nav h5 {
    font-size: 14px;
  }
  html[lang="fr-FR"] .header_content .header_trade_button {
    font-size: 14px;
  }
  html[lang="fr-FR"] .header_content .header_login_button {
    margin: 0 10px;
    font-size: 14px;
  }

  html[lang="pt-PT"] .header_content .header_trade_button {
    padding: 11px 20px 10px;
  }
  html[lang="pt-PT"] .header_menu_nav > li {
    padding: 0 10px 0 0;
  }
}
@media (max-width: 1060px) {
  html[lang="fr-FR"] .header_links a {
    margin: 0 20px 0 0;
  }

  html[lang="fr-FR"] .header .inner .logo {
    margin: 0 auto 5px;
    margin-top: 25px;
  }

  html[lang="fr-FR"] .header {
    background: #fff;
    width: 100%;
    height: auto;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0px 9px 15px #00000026;
  }
  html[lang="fr-FR"] .header.header_flex .header_box {
    box-shadow: none;
  }
  html[lang="fr-FR"] .header_content .header_top_box {
    display: none;
  }

  html[lang="fr-FR"] .header_content .new_country {
    margin: 0 25px;
  }
  html[lang="fr-FR"] .header_content .new_country_hide {
    display: none;
    max-width: 237px;
    transform: none;
    padding: 30px 0;
    transition: none;
    position: absolute;
    top: 65px;
    border-radius: 0 0 10px 10px;
    background-color: rgba(240, 240, 240, 0.96);
  }
  html[lang="fr-FR"] .header_content .new_country_hide.active_right {
    right: 37px;
    display: block;
  }
  html[lang="fr-FR"] .header_content .new_country_hide .header_language_box {
    padding: 0;
    height: 558px;
  }
  html[lang="fr-FR"] .header_content .new_country_block {
    position: relative;
    width: auto;
    z-index: 999;
  }
  html[lang="fr-FR"] .header_content .new_country .new_country_block span {
    padding-left: 5px;
  }
  html[lang="fr-FR"] .header_content .new_country_hide_mask_layer {
    display: none !important;
  }

  html[lang="fr-FR"] .header_content .header_right .header_trade_button {
    display: block;
    padding: 0px;
    color: rgb(0, 81, 255);
    background-color: transparent;
    font-size: 16px;
    text-decoration: underline;
    max-width: max-content;
  }
  html[lang="fr-FR"] .header_content .header_right .header_trade_button::after {
    display: none;
  }
  html[lang="fr-FR"] .header_content .header_right .header_login_button {
    display: none;
  }

  html[lang="fr-FR"] .header_content .header_box {
    position: relative;
    top: 0;
  }
  html[lang="fr-FR"] .header_content .header_box .inner {
    align-items: center;
    justify-content: space-between;
  }

  html[lang="fr-FR"] .header_left {
    display: block;
  }
  html[lang="fr-FR"] .mobile_menu_hamburger {
    display: block;
  }
  html[lang="fr-FR"] .header_menu {
    display: none;
  }
  html[lang="fr-FR"] .mobile_menu {
    display: block;
  }

  html[lang="fr-FR"] .header.active .mobile_menu_hamburger img {
    display: none;
  }
  html[lang="fr-FR"] .header.active .mobile_menu_hamburger::after,
  .header.active .mobile_menu_hamburger::before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: #001a49;
    content: "";
    transform: rotate3d(0, 0, 1, 45deg);
    transform-origin: 50% 50%;
  }
  html[lang="fr-FR"] .header.active .mobile_menu_hamburger::before {
    transform: rotate3d(0, 0, 1, -45deg);
  }
  html[lang="fr-FR"] .header.active .header_box {
    background: #eaeaea;
  }
}
@media (max-width: 1060px) {
  .header .inner .logo {
    padding: 0;
  }
  .header_menu_nav {
    margin: 0 0 0 20px;
  }
  .header_menu .menu_box {
    padding-left: 190px;
    justify-content: space-between;
  }
  .header_menu .header_menu_item h5,
  .header_menu .header_menu_item h5 a {
    font-size: 16px;
  }
  .header_menu .header_menu_item .sub-menu li a {
    font-size: 14px;
  }
  .header_content .header_trade_button {
    padding: 14px 15px 12px;
    font-size: 14px;
  }
  .header_content .header_login_button {
    margin: 0 10px;
  }
}
@media (max-width: 900px) {
  .header_links a {
    margin: 0 20px 0 0;
  }

  .header .inner .logo {
    margin: 0 auto 5px;
    margin-top: 25px;
  }

  .header {
    background: #fff;
    width: 100%;
    height: auto;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0px 9px 15px #00000026;
  }
  .header.header_flex .header_box {
    box-shadow: none;
  }
  .header_content .header_top_box {
    display: none;
  }

  .header_content .new_country {
    margin: 0 25px;
  }
  .header_content .new_country_hide {
    display: none;
    max-width: 237px;
    transform: none;
    padding: 30px 0;
    transition: none;
    position: absolute;
    top: 71px;
    border-radius: 0 0 10px 10px;
    background-color: rgba(240, 240, 240, 0.96);
  }
  .header_content .new_country_hide.active_right {
    right: 37px;
    display: block;
    padding: 20px 0;
  }
  .header_content .new_country_hide .header_language_box {
    padding: 0;
    height: 558px;
  }
  .header_content .new_country_block {
    position: relative;
    width: auto;
    z-index: 999;
  }
  .header_content .new_country .new_country_block span {
    padding-left: 5px;
  }
  .header_content .new_country_hide_mask_layer {
    display: none !important;
  }

  .header_content .header_right .header_trade_button {
    display: block;
    padding: 0px;
    color: rgb(0, 81, 255);
    background-color: transparent;
    font-size: 16px;
    text-decoration: underline;
    max-width: max-content;
  }
  .header_content .header_right .header_trade_button::after {
    display: none;
  }
  .header_content .header_right .header_login_button {
    display: none;
  }

  .header_content .header_box {
    position: relative;
    top: 0;
  }
  .header_content .header_box .inner {
    align-items: center;
    justify-content: space-between;
  }

  .header_left {
    display: block;
  }
  .mobile_menu_hamburger {
    display: block;
  }
  .header_menu {
    display: none;
  }
  .mobile_menu {
    display: block;
  }

  .header.active .mobile_menu_hamburger img {
    display: none;
  }
  .header.active .mobile_menu_hamburger::after,
  .header.active .mobile_menu_hamburger::before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: #001a49;
    content: "";
    transform: rotate3d(0, 0, 1, 45deg);
    transform-origin: 50% 50%;
  }
  .header.active .mobile_menu_hamburger::before {
    transform: rotate3d(0, 0, 1, -45deg);
  }
  .header.active .header_box {
    background: #eaeaea;
  }
}
@media (max-width: 768px) {
  .mobile_menu_content {
    height: 462px;
    overflow-y: auto;
  }
}
@media (max-width: 650px) {
  .header_content .new_country_hide .new_country_hide_left {
    padding: 0 10px 0 0;
  }
}
@media (max-width: 520px) {
  html[lang="fr-FR"] .header_top_bar {
    top: 96px;
  }
  html[lang="fr-FR"] .header_content .header_box .inner {
    flex-direction: column;
  }
  html[lang="fr-FR"] .header_left {
    margin-bottom: 10px;
  }
  html[lang="fr-FR"] .header_right {
    justify-content: space-between;
    width: 100%;
  }
  html[lang="fr-FR"] .header_content .new_country {
    margin: 0 10px;
  }
}
@media (max-width: 480px) {
  .header .inner .logo {
    width: 110px;
  }
  .header_content .new_country_hide.active_right {
    top: 65px;
  }

  .header_content .new_country_hide li a {
    padding: 10px 30px;
  }
  .header_content .new_country_hide li img {
    margin-right: 20px;
  }
  .header_content .new_country_hide li strong {
    font-family: "PublicSans-Regular";
  }
  .header_content .new_country_hide li span {
    font-size: 14px;
  }
  .header_content .new_country_hide li span br {
    display: none;
  }

  .header_content .new_country {
    margin: 0 15px;
  }
}
@media (max-width: 380px) {
  .mobile_menu_button {
    text-align: left;
  }
}
@media (max-width: 380px) {
  .header_content .new_country_hide .header_language_box {
    height: auto !important;
  }
}
@media (max-width: 365px) {
  .header_top_bar {
    top: 96px;
  }
  .header_content .header_box .inner {
    flex-direction: column;
  }
  .header_left {
    margin-bottom: 10px;
  }
  .header_right {
    justify-content: space-between;
    width: 100%;
  }
  .header_content .new_country {
    margin: 0 10px;
  }
  .header_content .new_country_hide.active_right {
    top: 97px;
  }
}
