@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
#profilemenu,
#profilemenu ul,
#profilemenu ul li,
#profilemenu ul li a,
#profilemenu #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;
}

#profilemenu:after,
#profilemenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

#profilemenu #menu-button {
	color: #d3eced;
	display: block;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
}

#profilemenu {
  width: auto;
  font-family: 'Open Sans', Helvetica, sans-serif;

}

#profilemenu > ul {
  background: url(../../../images/bg.png);
}

#profilemenu.align-right > ul > li {
  float: right;
}

#profilemenu > ul > li {
  float: left;
  display: inline-block;
}

#profilemenu.align-center > ul {
  float: none;
  text-align: center;
}

#profilemenu.align-center > ul > li {
  float: none;
}

#profilemenu.align-center ul ul {
  text-align: left;
}

#profilemenu > ul > li > a {

  
  
  border-right: 1px solid rgba(80, 80, 80, 0.12);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #b3afaf;
  text-shadow: 1px 1px 0px #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#profilemenu > ul > li:hover > a,
#profilemenu > ul > li > a:hover,
#profilemenu > ul > li.active > a {
	text-shadow: 1px 1px 0px #fff;
}

#profilemenu > ul > li.has-sub > a {
  padding-right: 45px;
}

#profilemenu > ul > li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #d3eced;
  right: 17px;
}

#profilemenu > ul > li.has-sub.active > a::after,
#profilemenu > ul > li.has-sub:hover > a {
  border-top-color: #f1f4f6;
}

#profilemenu ul ul {
  position: absolute;
  left: -9999px;
  padding-top: 6px;
  font-size: 13px;
  opacity: 0;
  -webkit-transition: top 0.2s ease, opacity 0.2s ease-in;
  -moz-transition: top 0.2s ease, opacity 0.2s ease-in;
  -ms-transition: top 0.2s ease, opacity 0.2s ease-in;
  -o-transition: top 0.2s ease, opacity 0.2s ease-in;
  transition: top 0.2s ease, opacity 0.2s ease-in;
}

#profilemenu.align-right ul ul {
  text-align: right;
}

#profilemenu > ul > li > ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-bottom-color: #f1f4f6;
  top: -4px;
  left: 20px;
}

#profilemenu.align-right > ul > li > ul::after {
  left: auto;
  right: 20px;
}

#profilemenu ul ul ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-right-color: #f1f4f6;
  top: 11px;
  left: -4px;
}

#profilemenu.align-right ul ul ul::after {
  border-right-color: transparent;
  border-left-color: #f1f4f6;
  left: auto;
  right: -4px;
}

#profilemenu > ul > li > ul {
  top: 120px;
}

#profilemenu > ul > li:hover > ul {
  top: 52px;
  left: 0;
  opacity: 1;
}

#profilemenu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
}

#profilemenu ul ul ul {
  padding-top: 0;
  padding-left: 6px;
}

#profilemenu.align-right ul ul ul {
  padding-right: 6px;
}

#profilemenu ul ul > li:hover > ul {
  left: 180px;
  top: 0;
  opacity: 1;
}

#profilemenu.align-right ul ul > li:hover > ul {
  left: auto;
  right: 100%;
  opacity: 1;
}

#profilemenu ul ul li a {
	background: #f1f4f6;
	width: 160px;
	color: #b3afaf;
	padding: 8px 15px;
	text-shadow: 1px 1px 0px #fff;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(0, 0, 0, 0.1), -1px 1px 1px rgba(0, 0, 0, 0.1);
	
	text-decoration: none;
	font-weight: 400;
}

#profilemenu ul ul li:hover > a,
#profilemenu ul ul li.active > a {
  color: #49657d;
}

#profilemenu ul ul li:first-child > a {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

#profilemenu ul ul li:last-child > a {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

#profilemenu > ul > li > ul::after {
  position: absolute;
  display: block;
}

#profilemenu ul ul li.has-sub > a::after {
}

#profilemenu.align-right ul ul li.has-sub > a::after {
  border-left-color: transparent;
  border-right-color: #777777;
  right: auto;
  left: 17px;
}

#profilemenu ul ul li.has-sub.active > a::after,
#profilemenu ul ul li.has-sub:hover > a::after {
	border-left-color: #333333;
}

#profilemenu.align-right ul ul li.has-sub.active > a::after,
#profilemenu.align-right ul ul li.has-sub:hover > a::after {
  border-right-color: #333333;
  border-left-color: transparent;
}

@media all and (max-width: 800px), 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) {
  #profilemenu {
    background: #39b1cc;
}

#profilemenu > ul {
    display: none;
}

#profilemenu > ul.open {
    display: block;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#profilemenu.align-right > ul {
    float: none;
}

#profilemenu.align-center > ul {
    text-align: left;
}

#profilemenu > ul > li,
  #profilemenu.align-right > ul > li {
    float: none;
    display: block;
}

#profilemenu > ul > li > a {
    padding: 18px 25px 18px 25px;
    border-right: 0;
}

#profilemenu > ul > li:hover > a,
  #profilemenu > ul > li.active > a {
    background: rgba(0, 0, 0, 0.1);
}

#profilemenu #menu-button {
    display: block;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: #d3eced;
    padding: 18px 25px 18px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: url(../../../images/bg.png);
    cursor: pointer;
}

#profilemenu ul ul,
  #profilemenu ul li:hover > ul,
  #profilemenu > ul > li > ul,
  #profilemenu ul ul ul,
  #profilemenu ul ul li:hover > ul,
  #profilemenu.align-right ul ul,
  #profilemenu.align-right ul li:hover > ul,
  #profilemenu.align-right > ul > li > ul,
  #profilemenu.align-right ul ul ul,
  #profilemenu.align-right ul ul li:hover > ul {
    left: 0;
    right: auto;
    top: auto;
    opacity: 1;
    width: 100%;
    padding: 0;
    position: relative;
    text-align: left;
}

#profilemenu ul ul li {
    width: 100%;
}

#profilemenu ul ul li a {
    width: 100%;
    box-shadow: none;
    padding-left: 35px;
}

#profilemenu ul ul ul li a {
    padding-left: 45px;
}

#profilemenu ul ul li:first-child > a,
  #profilemenu ul ul li:last-child > a {
    border-radius: 0;
}

#profilemenu #menu-button::after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #d3eced;
    border-bottom: 2px solid #d3eced;
    right: 25px;
    top: 18px;
}

#profilemenu #menu-button::before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #d3eced;
    right: 25px;
    top: 28px;
}

#profilemenu > ul > li.has-sub > a::after,
  #profilemenu ul ul li.has-sub > a::after {
    display: none;
}


}


		
		