.after-before {
  position: absolute;
  content: '';
}

.img-default {
  float: left;
  width: 100%;
  height: auto;
}

.float-default {
  float: left;
  width: 100%;
}

.menu_item_bg {
  position: relative;
  float: left;
  width: 100%;
}

.menu_item {
  float: left;
  width: 100%;
  height: 56px;
  line-height: 55px;
  /*text-transform: uppercase;*/
  text-align: center;
  text-transform: uppercase;
  -webkit-transition: all 180ms linear;
  -moz-transition: all 180ms linear;
  -o-transition: all 180ms linear;
  -ms-transition: all 180ms linear;
  transition: all 180ms linear;
  border-top: 1px dotted rgba(15, 47, 81, 0.12);
  color: #0f2f51;
  text-shadow: 0 0 1px rgba(15, 47, 81, 0.8);
  letter-spacing: 3px;
  font-size: 16px;
}

.menu_item_bg:nth-child(4) .menu_item {
  border-bottom: 1px dotted rgba(15, 47, 81, 0.12);
}

.menu_item span {
  font-size: 14px;
}

.menu_item i {
  float: right;
  height: 56px;
  width: 36px;
  line-height: 55px;
  font-size: 23px;
  text-align: center;
  color: #0F2F51;
  display: none;
}

.menu_item_bg:hover .menu_item,
.menu_item_bg.active .menu_item,
.menu_item:hover,
.show_sub_menu .menu_item {
  background: #0f2f51;
  color: #FFF;
}

.menu_item_bg:hover .menu_item i,
.menu_item_bg.active .menu_item i {
  color: #0A1753;
}

/*=============================================Sub Menu=============================================*/
.sub_menu_bg {
  position: absolute;
  /*height:232px;*/
  width: auto;
  /*padding:10px 20px 10px 0;*/
  right: -239px;
  top: 1px;
  z-index: 9999;
  display: none;
}

.sub_menu_box {
  float: left;
  width: 238px;
  margin: 0 0 0 0;
  /* font-family: 'Quicksand-Medium'; */
}

.sub_menu_item {
  position: relative;
  float: left;
  width: 100%;
  /*height:36px;
	line-height:36px;*/
  font-size: 14px;
  line-height: 18px;
  color: #0f2f51;
  text-shadow: 0 0 1px rgba(15, 47, 81, 0.5);
  background: white;
  padding: 12px 2px 11px 38px;
  border-bottom: 1px dotted rgba(15, 47, 81, 0.16);
}

.sub_menu_item::after {
  position: absolute;
  /* content: '\f03e';
	font-family: 'Font Awesome 5 Pro'; */
  content: "\f147";
  font-family: "Flaticon";
  color: #0f2f51;
  text-shadow: 0 0 1px rgba(15, 47, 81, 0.1);
  font-size: 18px;
  width: 20px;
  height: 42px;
  line-height: 42px;
  left: 10px;
  top: 0;
}

.sub_menu_item[lang="en"] {
  font-size: 12px;
  line-height: 16px;
}

.sub_menu_item[lang="en"]::after {
  height: 33px;
  line-height: 33px;
}

/* .sub_menu_item:first-child{
	border-bottom:1px solid rgba(41,45,113,0);
	border:none;
} */
.sub_menu_item:hover {
  color: #fff;
  background: #0f2f51;
  text-shadow: none;
}

.sub_menu_item:hover::after,
.sub_menu_item.active::after,
.sub_menu_item.selected::after {
  color: #fff;
}

.sub_menu_item.active,
.sub_menu_item.selected {
  color: #fff;
  background: #0f2f51;
  text-shadow: none;
}

.menu_thumb_bg {
  position: absolute;
  width: 380px;
  left: 239px;
  top: 0;
  background: white;
  padding: 8px 8px 0 8px;
  display: none;
}

.menu_thumb_bg.bottom_thumb {
  top: auto;
  bottom: 0;
}

/*.menu_thumb_bg.left{
	left:-381px;
}*/
/*.menu_thumb_bg:nth-child(5){
	margin-top:30px;
}*/
.menu_thumb_bg img {
  float: left;
  width: 100%;
  height: auto;
  background: #0f2f51;
}

.menu_thumb_bg div {
  float: left;
  width: 100%;
  /*height: 42px;
	line-height: 42px;*/
  font-size: 14px;
  padding: 12px 2px 12px 2px;
  color: #0f2f51;
  text-shadow: 0 0 1px rgba(15, 47, 81, 0.5);
  /*text-transform: uppercase;*/
}

/*.menu_bg[lang="en"] .menu_thumb_bg div{
	font-size: 12px;
}*/
.hover_thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-image:url(../thumbnail.jpg);*/
  background-size: cover;
  -webkit-transition: all 260ms linear;
  -moz-transition: all 260ms linear;
  -o-transition: all 260ms linear;
  -ms-transition: all 260ms linear;
  transition: all 260ms linear;
  -webkit-transition-delay: 110ms;
  /* Safari */
  -moz-transition-delay: 110ms;
  -o-transition-delay: 110ms;
  -ms-transition-delay: 110ms;
  transition-delay: 110ms;
  /*display:none;*/
}

.menu_bottom_bg {
  position: fixed;
  width: 318px;
  height: 60px;
  bottom: 0;
  left: 0;
  z-index: 999;
  -webkit-transition: all 180ms linear;
  -moz-transition: all 180ms linear;
  -o-transition: all 180ms linear;
  -ms-transition: all 180ms linear;
  transition: all 180ms linear;
}

.menu_bottom_bg.bg {
  background: rgba(0, 0, 0, 0.48);
}
