/* ************************************************ */
/* TOPLINE						 													*/
/* ************************************************ */

#topline {
	height: 10px;
	background: #444444;
	width: 100%;
	min-height:1px;
	border-bottom:1px solid #aaa;
	bborder-top:4px #D8D8D8 solid;
	bbackground:#F2F2F2;
}


/* ************************************************ */
/*      MENUBAR									 */
/* ************************************************ */

#menubar ul,
#menubar li,
#menubar span,
#menubar a {
  border: 0;
  margin: 0;
  padding: 0;
  position: relative;
  white-space: nowrap;
}
#menubar li {
	list-style-type:none;
}

#menubar {
	z-index: 100;
	margin: 15px 5px 20px 5px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  background: #e9e9e9;
  background: -moz-linear-gradient(top, #f2edea 0%, #c0bebf 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f2edea), color-stop(100%, #c0bebf));
  background: -webkit-linear-gradient(top, #f2edea 0%, #c0bebf 100%);
  background: -o-linear-gradient(top, #f2edea 0%, #c0bebf 100%);
  background: -ms-linear-gradient(top, #f2edea 0%, #c0bebf 100%);
  background: linear-gradient(to bottom, #f2edea 0%, #c0bebf 100%);
  width: auto;
  height:auto; 
}

#menubar a {
	line-height: 40px;
}

#menubar > ul > li:first-child a {
	height: 40px;
}

#menubar ul {
	bborder:1px solid black;
	width:100%;
	height:100%;
}

#menubar:after,
#menubar ul:after {
  content: '';
  display: block;
  clear: both;
}
#menubar a {
  display: inline-block;
  box-shadow: inset 0 1px 0 whitesmoke;
  -moz-box-shadow: inset 0 1px 0 whitesmoke;
  -webkit-box-shadow: inset 0 1px 0 whitesmoke;
  color: #555555;
  ccolor:blue;
  padding: 0px 10px;
  text-decoration: none;
  bborder:1px solid yellow;
  height:100%;
}

#menubar span {
	font-weight: 400;
	font-size: 17px;
	bborder:1px solid green;
}

#menubar ul {
  list-style: none;
}

#menubar ul ul {
	z-index: 999;
}

#menubar > ul {
  float: left;
}
#menubar > ul > li {
  float: left;
}

#menubar > ul > li:nth-child(2) {
	mmargin-left:10px;
}

#menubar > ul > li.active a,
#menubar > ul > li:hover > a {
  color: black;
}

#menubar > ul > li:first-child {
	bborder:1px solid green;
}

#menubar > ul > li:first-child a {
	background: #525354;
	color: white;
  border-radius: 5px 0 0 5px;
  -moz-border-radius: 5px 0 0 5px;
  -webkit-border-radius: 5px 0 0 5px;
  
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.15);
  
  background: -moz-linear-gradient(top, #525354 0%, #6b6d6e 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #525354), color-stop(100%, #6b6d6e));
  background: -webkit-linear-gradient(top, #525354 0%, #6b6d6e 100%);
  background: -o-linear-gradient(top, #525354 0%, #6b6d6e 100%);
  background: -ms-linear-gradient(top, #525354 0%, #6b6d6e 100%);
  background: linear-gradient(to bottom, #525354 0%, #6b6d6e 100%);
}

#menubar > ul > li:first-child a img {
	margin-left:2px;
	padding-top:5px;
}

#menubar .has-sub:hover > ul {
  display: block;
}

#menubar .has-sub ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width:auto;
}

#menubar .has-sub ul li {
	bborder-left: 1px solid #e1e1e1;
}

#menubar .has-sub ul li:last-child {
	border: 1px solid #e1e1e1;
  border-radius: 0px 0px 5px 5px;
  -moz-border-radius: 0px 0px 5px 5px;
  -webkit-border-radius: 0px 0px 5px 5px;
}

#menubar .has-sub ul li a {
	background: #e9e9e9;
  color: #666666;
  display: block;
}

#menubar .has-sub ul li:hover a {
	color:black;
	font-weight:bold;
	bbackground: #efefef;
}

#menubar .has-sub ul li:last-child:hover a {
  bborder-radius: 0px 0px 5px 5px;
  b-moz-border-radius: 0px 0px 5px 5px;
  b-webkit-border-radius: 0px 0px 5px 5px;
}

#menubar .has-sub .has-sub:hover > ul {
  display: block;
}
#menubar .has-sub .has-sub ul {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
}
#menubar .has-sub .has-sub ul li a {
  background: #6b6d6e;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}
#menubar .has-sub .has-sub ul li a:hover {
  background: #525354;
  box-shadow: inset 0 0 3px 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: inset 0 0 3px 1px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: inset 0 0 3px 1px rgba(0, 0, 0, 0.15);
}


/* ************************************************ */
/* SIDEMENU 						 													*/
/* ************************************************ */

#sidemenu {
	padding-left:3px;
	margin-top:20px;
	mborder:1px solid black;
}
#sidemenu ul {
	margin: 0px;
	padding:0px;
}

#sidemenu ul li {
	list-style-type: none;
	margin: 0px;
	margin-bottom:7px;
	padding:0px;
}

#sidemenu ul li:first-child {
	color:#4f4f4f;
	font-size: 13px;
	font-weight:600;
	text-transform:uppercase;
	letter-spacing:1px;
	margin-bottom:8px;
}

#sidemenu ul li:last-child {
	margin-bottom:25px;
}


#sidemenu a {
	color:black;
	font-size: 13px;
	text-decoration: none;
	padding-left:2px;
}

#sidemenu a:hover {
	color:#777;
	text-decoration: underline;
}


/* ************************************************ */
/* FOOTER 																					*/
/* ************************************************ */

#footer {
	border-top: 1px solid #6b6d6d;
	background: #F2F2F2;
	background: url('/images/bg/bright_squares.jpg');
	bbackground: #6b6d6d;
}

#footer-wrapper {
	padding-top: 15px;
	height:100%;
	max-width:800px;
	margin: 0 auto;
	text-align: left;
	bborder: 1px #D8D8D8 solid;
}

#footer-wrapper hr {
	width:20%;
	color: #D8D8D8;
}

#footer-wrapper table {
	border:0;
	padding:0;
	mmargin:0;
	margin-bottom:20px;
}

#footer-wrapper ul li a {
	font-size:11px;
}

#footer-wrapper table td {
	bbackground: #F2F2F2;
	background-color:transparent;
	border:0;
	padding:0;
	margin:0;
	padding-bottom:15px;
}

#footer-wrapper table td a {
	font-size:11px;
}

#footer p,
#footer p a {
	color:black;
	font-size: 18px;
	text-align:center;
}

#footer-wrapper a:link,
#footer-wrapper a:visited,
#footer-wrapper a:hover,
#footer-wrapper a:active {
	color:black;
	ffont-weight:normal;
	TEXT-DECORATION:none;
}

#footer-wrapper p:nth-of-type(1) {
	margin-top:30px;
}

#footer-wrapper p:nth-last-of-type(1),
#footer-wrapper p:nth-last-of-type(1) a {
	font-size: 12px;
}