﻿
#dropdownmenu,
#dropdownmenu ul,
#dropdownmenu ul li,
#dropdownmenu ul li a,
#dropdownmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#dropdownmenu:after,
#dropdownmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#dropdownmenu #menu-button {
  display: none;
}
#dropdownmenu {
  width: auto;
  margin-left: 250px;
  font-family: 'Open Sans', sans-serif;
  line-height: 1;
  /* background: transparent; */
  background: transparent;
  display:block;
}
#menu-line {
  position:relative;
  top: 0;
  left: 0;
  height: 3px;
  background: #009ae1;
  /*
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -ms-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;  
  */
}


#dropdownmenu ul{
	float:right;
}
#dropdownmenu ul li{
	/* background: #fff; */
	background: transparent;
}
#dropdownmenu > ul > li {
  float: left;
}
#dropdownmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#dropdownmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#dropdownmenu.align-center ul ul {
  text-align: left;
}
#dropdownmenu.align-right > ul > li {
  float: right;
}
#dropdownmenu.align-right ul ul {
  text-align: right;
}
#dropdownmenu > ul > li > a {
  padding: 20px;
  font-size: 14px;
  text-decoration: none;
  text-transform: capitalize;
  color: #2C3740;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}


#dropdownmenu > ul > li:hover > a{
	color: #0059BA;
}
#dropdownmenu > ul > li.active > a {
	color: #2C3740;
}



#dropdownmenu > ul > li.has-sub > a {
  padding-right: 25px;
}
#dropdownmenu > ul > li.has-sub > a::after {
  position: absolute;
  top: 21px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #2C3740;
  border-right: 1px solid #2C3740;
  content: "";
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#dropdownmenu > ul > li.has-sub:hover > a::after {
  border-color: #2C3740;
}
#dropdownmenu ul ul {
  position: absolute;
  left: -9999px;
}
#dropdownmenu li:hover > ul {
  left: auto;
}
#dropdownmenu.align-right li:hover > ul {
  right: 0;
}
#dropdownmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#dropdownmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}


/*added by Kenneth*/
#dropdownmenu ul li ul {
  border: 1px #DDDDDD solid;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
}
/*added by Kenneth*/


#dropdownmenu ul ul li {
  height: 0;
}
#dropdownmenu ul li:hover > ul > li {
  width: 160px;
  height: auto;
  font-size: 14px;

  padding: 16px 24px 14px 22px;
  background: #fff;
}





#dropdownmenu ul ul li a {  
  background: transparent;
  text-decoration: none;
  color: #2C3740;
}





#dropdownmenu ul ul li:hover > a,
#dropdownmenu ul ul li a:hover {
  color: #0059BA;
}




#dropdownmenu ul ul li.has-sub > a::after {
  position: absolute;
  top: 13px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  content: "";
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#dropdownmenu.align-right ul ul li.has-sub > a::after {
  right: auto;
  left: 10px;
  border-bottom: 0;
  border-right: 0;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}
#dropdownmenu ul ul li.has-sub:hover > a::after {
  border-color: #ffffff;
}










@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #dropdownmenu {
	display:none;
  }
}
