@charset "utf-8";
/* CSS Document */

/* Some stylesheet reset */
#expertise  > ul {
	list-style: none;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  line-height: 1;
  z-index:1000;
}
/* The container */
#expertise  > ul {
display: block;
  position: relative;
/* The list elements which contain the links */

}
#expertise  > ul li {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  margin-bottom:10px;
}
/* General link styling */
#expertise  > ul li a {
  /* Layout */
 display: block;
  position: relative;
 padding:20px 10px 10px 15px ;
 margin:0px auto;
border:1px solid #CCCCCC;
 /* Border Radius */
-webkit-border-radius:10px;
-moz-border-radius: 10px;
border-radius: 10px;
text-align:center;
  /* Typography */
 letter-spacing:0.5px;
font-size:22px;
font-family:Agency FB;
 font-weight:bold;
text-decoration:none;
color:#0d4b82;
/* Background & effects */
background-color:#f4f4f4;
}
/* Rounded corners for the first link of the menu/submenus */
#expertise > ul li:first-child > a {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-top: 0;

}
/* Rounded corners for the last link of the menu/submenus */
#expertise > ul li:last-child > a {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom: 0;
}
/* The hover state of the menu/submenu links */
#expertise > ul li > a:hover,
#expertise > ul li:hover > a {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  background: #085ca2;

}
/* The arrow indicating a submenu */
#expertise > ul .has-sub > a::after {
 content: '';
  position: absolute;
  top: 16px;
  right: 10px;
  width: 0px;
  height: 0px;
  /* Creating the arrow using borders */

  border: 4px solid transparent;
  border-left: 4px solid #d8d8d8;
}
/* The same arrow, but with a darker color, to create the shadow effect */
#expertise > ul .has-sub > a::before {
  content: '';
  position: absolute;
  top: 17px;
  right: 10px;
  width: 0px;
  height: 0px;
  /* Creating the arrow using borders */

  border: 4px solid transparent;
  border-left: 4px solid #000;
}
/* Changing the color of the arrow on hover */
#expertise > ul li > a:hover::after,
#expertise > ul li:hover > a::after {
  border-left: 4px solid #ffffff;
}
#expertise > ul li > a:hover::before,
#expertise > ul li:hover > a::before {
  border-left: 4px solid rgba(0, 0, 0, 0.3);
}
/* THE SUBMENUS */
#expertise > ul ul {
  position: absolute;
  left: 100%;
  top: -9999px;
  padding-left: 5px;
  opacity: 0;
  width: 140px;
  /* The fade effect, created using an opacity transition */

  -webkit-transition: opacity 0.3s ease-in;
  -moz-transition: opacity 0.3s ease-in;
  transition: opacity 0.3s ease-in;
}
/* Showing the submenu when the user is hovering the parent link */
#expertise > ul li:hover > ul {
  top: 0px;
  opacity: 1;
}
