/* navbar container */
#nav_container {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 0px);
  z-index: 2;
  width: 100vw;
  max-width: 1500px;
  margin: 0px auto;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  /* height: 130px; */
  background: white;
}
/* div#nav_container::after {
  content: "";
  width: 100vw;
  height: 100%;
  position: absolute;
  background-color: white;
  z-index: -1;
  left: 50%;
  transform: translate(-50%, 0);
} */
/* logo */
#nav_left {
}

/* menu */
#menu_holder {
  width: 100vw;
  /* max-width: 1200px; */
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: white;
  z-index: 5;
}

/* lang and search */

#lang_log_social_container {
  position: absolute;
  top: -50px;
  font-size: 16px;
  right: 0px;
  z-index: 2;
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
  justify-content: flex-end;
}
.lang_sep {
  display: inline-block;
  height: 14px;
  width: 1px;
  background-color: #043368;
  margin: 0px 5px -1px 5px;
}
.lang_drop_item {
  display: inline-block;
  color: #043368;
  cursor: pointer;
}

#show_log_in {
  border-bottom: 1px solid;
  margin: 0 20px;
  cursor: pointer;
}

.social_item {
  display: inline-block;
  margin-left: 5px;
  width: 26px;

  position: relative;
  top: 5px;
}
.social_item img {
  width: 100%;
}

#desktop_menu_holder {
  color: #043368;
  width: 98%;
  max-width: 1500px;
  margin: auto;
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 15px 10px;
  position: relative;
  z-index: 1;
}

#desktop_menu_left {
  /* width: 15%; */
  min-width: 140px;
  display: flex;
  align-items: flex-end;
}

.phone_img {
  width: 30px;
  margin-right: 10px;
}

#desktop_main_menu {
  height: 30px;
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
  justify-content: space-between;
}

.main_menu_item {
  border-bottom: 2px solid transparent;
  margin-left: 20px;
  cursor: pointer;
}

.menu_trigger.active {
  border-bottom: 2px solid #043368;
}

@media (hover: hover) and (pointer: fine) {
  .main_menu_item:hover {
    border-bottom: 2px solid #043368;
  }
}

.main_menu_logo {
  width: 350px;
}

.main_menu_logo img {
  width: 100%;
  position: relative;
  left: 0px;
}

#desktop_menu_right {
  /* width: 15%; */
  position: relative;
  min-width: 140px;
}

.social_icon {
  display: inline-block;
  width: 25px;
  height: 25px;
  float: right;
  margin-left: 10px;
}

.sub_menus_drop {
  display: flex;
  position: absolute;
  top: calc(100% + 15px);
  flex-flow: column nowrap;
  color: white;
  z-index: 1;
  background-color: #043368;
  padding: 0 15px 5px;
}

.sub_menu_item {
  margin: 15px 0 10px;
}

.sub_menu_item:hover {
  opacity: 1;
}

/* the full width background */

#desktop_drop_menu_holder {
  display: none;
  width: 98%;
  max-width: 1500px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0px);
  margin: auto;
  box-sizing: border-box;
  background-color: #043368;
  color: white;
  height: 150px;
}

/* #desktop_drop_menu {
	  width: 60%;
	  min-width: 850px;
	  margin: auto;
	  display: flex;
	  align-items: center;
	  justify-content: flex-start;
	  height: 150px;
	  
  } */

#header_image iframe {
  max-height: 562px;
  height: 56.2vw;
  width: 100vw;
  max-width: 1000px;
  margin: auto;
  display: block;
}
/******* mobile menu  *******/

#mobile_menu_holder {
  display: none;
}

#mobile_menu_holder {
  width: 90%;
  margin: auto;

  max-width: 1000px;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 15px 0 0 0;
}

#mobile_menu_logo {
  width: 230px;
  
}

#mobile_menu_logo img {
  width: 100%;
}


#mobile_menu_right {
  width: 40px;
  cursor: pointer;
}

#mobile_menu_left .phone_img {
  width: 100%;
}

#mobile_menu_right {
  height: 50px;
  position: relative;
  background: transparent;
}

.mobile_menu_hr {
  transition: all ease-out 0.5s;
  width: 115%;
  height: 4px;
  border: none;
  position: absolute;
  background-color: #043368;
  left: -8px;
}

#menu_hr_1 {
  top: 5%;
}

#menu_hr_2 {
  top: 35%;
}

#menu_hr_3 {
  top: 65%;
}

/* when opened */

#mobile_menu_right.active .mobile_menu_hr {
  top: 35%;
}

#mobile_menu_right.active #menu_hr_1 {
  transform: rotate(135deg);
}

#mobile_menu_right.active #menu_hr_2 {
  transform: rotate(-135deg);
}

#mobile_menu_right.active #menu_hr_3 {
  transform: rotate(-135deg);
}

#drop_menu_holder {
  display: none;
  width: 100%;
  padding: 10px 0px 20px;
  box-sizing: border-box;
  background-color: #043368;
  color: white;
  overflow: scroll;
  max-height: calc(100vh - 120px);
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
  scrollbar-width: none;
  /* Firefox */
}

#drop_menu_holder::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
  width: 0;
  height: 0;
}

.drop_menu_item {
  width: 100%;
  text-align: center;
  margin: 30px 0 10px;
  font-size: 1.2em;
  cursor: pointer;
}

.mobile_submenu_drop {
  display: none;
  margin: 35px 0 0 0;
  background-color: #044fa5;
}

.mobile_sub_menu_item {
  display: block;
  padding: 15px 0 15px;
  text-align: center;
}


#reading_progress_container {
  width: 100vw;
  height: 10px;
  background-color: #cdd6e1;
  position: fixed;
  top: 120px;
  left: 0;
  z-index: 1;
}
#reading_progress {
  height: 100%;
  width: 0%;
  background: #043368;
}


@media screen and (max-width: 950px) {
  #desktop_menu_holder,
  .desktop {
    display: none !important;
  }

  #mobile_menu_holder {
    display: flex;
  }
  #reading_progress_container {
    top: 74px;
  }
}

@media screen and (min-width: 950px) {
  .mobile {
    display: none !important;
  }
}

@media screen and (max-width: 600px) {
/*   #content {
    margin: 68px auto 0;
  } */


  #mobile_menu_logo {
    width: 150px;
  }
  #reading_progress_container {
    top: 55px;
  }
  #mobile_menu_left {
    width: 30px;
  }
  #mobile_menu_right {
    height: 30px;
    width: 30px;
    top: -5px;
  }
}

/******* end mobile menu  *******/
