/* MOBILE STYLING */
#menu ul {
  margin: 0;
  padding: 0;
  font-size:14px;
}

#menu .main-menu {
  display: none;
}

#tm:checked + .main-menu {
  display: block;
}

#menu input[type="checkbox"], 
#menu ul span.drop-icon {
  display: none;
}

#menu li, 
#toggle-menu, 
#menu .sub-menu {
  border-style: solid;
  border-color: rgba(0, 0, 0, .05);
}

#menu li, 
#toggle-menu {
  border-width: 0 0 1px;
}

#menu .sub-menu {
  /*background-color: #444;*/
  background-color: rgba(0, 0, 0, 0.7);
  border-width: 1px 1px 0;
  margin: 0 1em;
}

#menu .sub-menu li:last-child {
  border-width: 0;
}

#menu li, 
#toggle-menu, 
#menu a {
  position: relative;
  display: block;
  color: white;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .125);
}

#menu, 
#toggle-menu {
  /*background-color: #09c;*/
  background-color: #383232;
  margin-top:-0.15em;
}

#toggle-menu, 
#menu a {
  /*padding: 1em 1.5em;*/
  padding: 0.6em 0.5em;
}

#menu ul li ul li a {
	padding: 0.4em;
	text-transform: uppercase;
}
#menu ul li ul li ul li a {
	text-transform: none;
}

#menu a {
  transition: all .125s ease-in-out;
  -webkit-transition: all .125s ease-in-out;
}

#menu a:hover {
  text-decoration:underline;
}

#menu .sub-menu {
  display: none;
}

#menu input[type="checkbox"]:checked + .sub-menu {
  display: block;
}

#menu .sub-menu a:hover {
  /*color: #444;*/
  color: #fff;
}

#toggle-menu .drop-icon, 
#menu li label.drop-icon {
  position: absolute;
  right: 0.7em;
  top: 0.18em;
}

#menu label.drop-icon, #toggle-menu span.drop-icon {
  border-radius: 50%;
  width: 1em;
  height: 1em;
  text-align: center;
  background-color: rgba(0, 0, 0, .125);
  text-shadow: 0 0 0 transparent;
  color: rgba(255, 255, 255, .75);
  font-size:28px;
}

#menu .drop-icon {
  line-height: 1;
}

#searchForm {
	width:100%;
}

/* tablets landscape */
@media only screen and (max-width: 64em) and (min-width: 50.01em) {
  
  #logo {
    float: none;
    /* margin: 0.5% 2%; */
    margin: 0.25em 1em;
    /* width: 19%; */
    width: 12em;
}
  
  #menu li {
    width: 12.333%;
  }
  
  #toggle-menu, #menu a {
    /* padding: 1em 1.5em; */
    padding: 0.4em;
}

  #menu .sub-menu li {
    width: 100px;
	float:right;
  }
  /* homepage */
  figure.snip0014.large{
	  display:none;
  }
  
  .leftDiv {
	  top: 7%;
  }
  
  
}

@media only screen and (min-width: 52em) { /* PC  STYLING */
	
  #menu, #toggle-menu {
	  background-color: rgba(0,0,0,0); 
	  margin-top:0.7%;
  }
  #menu .main-menu {
    display: block;
  }
  
  #toggle-menu, 
  #menu label.drop-icon {
    display: none;
  }
  
  #menu ul {
	  font-size:18px;
  }

  #menu ul span.drop-icon {
    display: inline-block;
  }

  #menu li {
    float: left;
    /*border-width: 0 1px 0 0;*/
    border:0;
  }

  #menu .sub-menu li {
    float: none;
  }

  #menu .sub-menu {
    border-width: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 9em;
    z-index: 3000;
  }

  #menu .sub-menu, 
  #menu input[type="checkbox"]:checked + .sub-menu {
    display: none;
  }

  #menu .sub-menu li {
    border-width: 0 0 1px;
  }

  #menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
  }

  #menu li:hover > input[type="checkbox"] + .sub-menu {
    display: block;
  }
  
  #toggle-menu .drop-icon, 
#menu li label.drop-icon {
  position: absolute;
  right: 1.5em;
  top: 1.25em;
}

#menu label.drop-icon, #toggle-menu span.drop-icon {
  border-radius: 50%;
  width: 1em;
  height: 1em;
  text-align: center;
  background-color: rgba(0, 0, 0, .125);
  text-shadow: 0 0 0 transparent;
  color: rgba(255, 255, 255, .75);
}

#menu .drop-icon {
  line-height: 1;
}

#menu .sub-menu .drop-icon {
	margin-left:0.5em;
}
  
  #searchForm {
		width:18%;
	}
}

/* updated header styles */
header.site-header {
	height: 105px;
	height: var(--headerHeight);
	background-color: #383232;
	display: flex !important;
	justify-content: center;
	flex-direction: column;
	padding: 0;
}
header.site-header.sticky {
	/* background: rgba(0,0,0,0.3); */
	background-color: #383232;
}
header.site-header > .wrapper {
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
header.site-header .logo-img {
  max-width: 240px;
}
header.site-header .logo-img img {
  width: 100%;
}
/* nav */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}
.header-nav {
    flex: 4;
}
.header-search {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}
.header-search .search-box {
    width: 100%;
    max-width: 250px;
    height: 35px;
    /* background-color: #e9e9e9; */
	background: none;
	border: 1px solid #FFF;
	border-radius: 13px;
    margin-bottom: 1rem;
}
.header-search .search-box #searchInput {
	font-size: 1.1rem;
	color: #FFF;
}
.header-search .search-box #searchInput::placeholder {
	color: #FFF;
}
.search-box form {
    display: flex;
    justify-content: space-between;
    height: 100%;
}
.search-box input {
    height: 100%;
    background: none;
    border: none;
    outline: none;
    padding-left: 10px;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    min-width: 0;
    flex: 1;
}
.search-box .search-btn {
    height: 100%;
    padding: 0 8px;
	width: auto;
}
.search-box button i {
    font-size: 1.2rem;
	color: #FFF;
}
.lang-btns {
    position: absolute;
    bottom: -40%;
    right: 3px;
	margin: 0;
}
.lang-btns .wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
}
.lang-btn {
    width: 30px;
    height: 20px;
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
}
.lang-btn img {
    display: block;
    width: 100%;
    height: 100%;
}
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
	margin-left: 4rem;
    gap: 0.5rem;
    position: relative;
}
.nav-menu.lang {
	margin-left: 7rem;
}
.nav-item {
    cursor: pointer;
    position: relative;
	line-height: normal;
}
.nav-item > a {
    font-size: 1.5rem;
    padding: 8px;
    color: #fff;
	text-decoration: none;
}
.nav-item.lang > a {
	font-size: 1.5rem;
}
.nav-item::after {
    content: "";
    position: absolute;
    width: 80%;
    background-color: #fff;
    height: 2px;
    bottom: -15px;
    left: 0;
    right: 0;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s all;
}
.nav-item.active::after {
    opacity: 1;
    visibility: visible;
    bottom: -6px;
}
.nav-item:hover > a {
    color: rgba(255, 255, 255, 0.8);
}
.nav-item:hover::after {
    bottom: -6px;
    opacity: 1;
    visibility: visible;
    background-color: rgba(255, 255, 255, 0.5);
}
.nav-item.nav-drop:hover::after {
    opacity: 0;
    visibility: hidden;
}
.nav-drop a i {
    font-size: 1.2rem;
}
.nav-drop .drop-btn {
    display: none;
    padding: 0 10px;
    color: var(--darkBlue);
}
.nav-drop .drop-btn i {
    font-size: 1.5rem;
    color: #fff;
}
.nav-drop .drop-menu {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s all;
    background-color: #544f4f;
    z-index: 9;
    min-width: 150px;
}
header.sticky .nav-drop .drop-menu,
header.sticky .nav-drop .sub-drop-menu {
	/* background: rgba(0,0,0,0.7); */
}
.nav-item:hover > .drop-menu {
    opacity: 1;
    visibility: visible;
}
.drop-menu .drop-item {
    cursor: pointer;
    padding: 4px;
	position: relative;
}
.drop-item > a {
    display: block;
    font-size: 1.3rem;
    color: #fff;
    padding: 4px;
	text-transform: uppercase;
	text-align: left;
}
.drop-item:hover > a {
    background-color: #fff;
    color: #383232;
	text-decoration: none;
}
.drop-item:hover > a span {
	text-decoration: underline;
}
.hidden-check {
    display: none;
}
.nav-btn {
    cursor: pointer;
    padding: 6px;
	width: auto !important;
}
.nav-btn i {
    font-size: 2rem;
    color: #fff;
}
.nav-btn.close-nav {
    display: none;
    width: 30px;
    height: 30px;
    padding: 4px;
	margin-right: 10px;
}
.nav-btn.close-nav i {
	font-size: 2.4rem;
}
.nav-btn.open-nav i {
    font-size: 2.5rem;
}
.header-btns {
    display: none;
}

.mobile-menu-header {
	display: none;
}
.mobile-menu-header .logo-img {
	max-width: 170px !important;
	padding: 5px;
}
.drop-item > .sub-drop-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.drop-item .sub-drop-icon {
	margin-right: 5px;
}
.sub-drop-menu {
	position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s all;
    background-color: #544f4f;
    z-index: 9;
    min-width: 150px;
	top: 0;
	left: 100%;
}
.sub-drop-item:hover .sub-drop-menu {
	opacity: 1;
	visibility: visible;
}
/* end nav */

/* nav responsive */
@media only screen and (max-width: 1400px) {
	.nav-menu.lang {
		margin-left: 2rem;
	}
}
@media only screen and (max-width: 1250px) {
    .header-search .search-box {
        max-width: 160px !important;
    }
    .nav-item > a {
        font-size: 1.55rem !important;
    }
	.nav-item.lang > a {
		font-size: 1.4rem !important;
	}
	.nav-menu {
		justify-content: center;
		margin-left: 0;
	}
	header.site-header > .wrapper {
        width: 95%;
    }
}
@media only screen and (max-width: 1000px) {
	.header-search .search-box {
        max-width: 140px !important;
    }
}
@media only screen and (max-width: 970px) {
	header.site-header.sticky {
		background: #383232;
	}
    .header-content {
        z-index: 9;
        position: fixed;
        width: 100%;
        top: 0;
        right: 0;
        min-height: 100vh;
        transform: translateX(100%);
        display: flex;
        flex-direction: column-reverse;
        justify-content: flex-start;
        transition: 0.3s all;
        background-color: #544f4f;
    }
	.mobile-menu-header {
		display: flex;
		justify-content: space-between;
		width: 100%;
		padding: 1rem;
		background: #383232;
		box-sizing: border-box;
	}
    .header-search {
        min-height: 10vh;
        flex: 0;
        flex-direction: column-reverse;
        justify-content: space-between;
        width: 100%;
        gap: 1.5rem;
    }
    .lang-btns {
        position: static;
        display: flex;
        justify-content: center;
		margin-top: 1.5rem;
    }
    .lang-btns .wrapper {
        gap: 10px;
    }
    .header-search .search-box {
        margin: 0 auto;
        max-width: none !important;
        width: 80%;
    }
    .search-box .search-btn {
        padding: 0 10px;
    }
    .header-nav {
        width: 100%;
    }
    .header-nav nav {
        margin-top: 5vh;
        max-height: 70vh;
        overflow-y: auto;
    }
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        background: none;
		width: 80%;
		margin: 0 auto;
    }
    .nav-menu .nav-item {
        display: block;
        width: 100%;
        text-align: left;
    }
    .nav-item > a,
	.nav-item.lang > a {
        display: block;
        padding: 4px;
        font-size: 1.4rem !important;
    }
    .nav-item::after {
        content: none;
    }
    .nav-item > .drop-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        width: 95%;
        margin-left: auto;
    }
    .nav-drop a {
        display: flex;
        gap: 0.5rem;
        justify-content: flex-start;
        align-items: center;
    }
    .nav-drop .fa-chevron-down {
        display: none;
    }
    .nav-drop .drop-btn {
        display: flex;
    }
	.drop-menu a {
		font-size: 1.2rem;
	}
    #dropBtn1:checked ~ .drop-menu {
        display: block;
    }
	#dropBtn2:checked ~ .drop-menu {
        display: block;
    }
    #navOpen:checked ~ .header-content {
        transform: translateX(0);
    }
	.drop-item:hover > a {
		background: none;
		color: #FFF;
	}
    .nav-btn.close-nav {
        display: inline-block;
    }
    .header-btns {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }
    .header-btns .open-search i {
        transform: translateY(-1px);
    }
	header.site-header > .wrapper {
        justify-content: space-between;
    }
	header.site-header .logo-img {
		max-width: 180px;
	}
	.drop-item .sub-drop-icon {
		display: none;
	}
	.drop-item > .sub-drop-link {
		justify-content: flex-start;
	}
	.sub-drop-menu {
		display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        width: 95%;
        margin-left: auto;
        border-left: 2px solid rgba(255,255,255,0.4);
	}
	.sub-drop-menu a {
		font-size: 1.1rem;
	}
	#subDropBtn1:checked ~ .sub-drop-menu {
        display: block;
    }
	#subDropBtn2:checked ~ .sub-drop-menu {
        display: block;
    }
	#subDropBtn3:checked ~ .sub-drop-menu {
        display: block;
    }
	#subDropBtn4:checked ~ .sub-drop-menu {
        display: block;
    }
	#subDropBtn5:checked ~ .sub-drop-menu {
        display: block;
    }
	#subDropBtn6:checked ~ .sub-drop-menu {
        display: block;
    }
}

@media only screen and (max-width: 500px) {
	.header-btns .open-search i {
		font-size: 1.6rem;
	}
	.nav-btn.open-nav i {
		font-size: 2rem;
	}
}
