/*
	Author Name	: 	ToRokZoli
	Author Site	: 	http://torokzoli.hu
	Style Name	: 	Dropdown2
	Style URI	:	http://torokzoli.hu/2007/02/25/drop-down-menu-wordpress-k2-hoz/
	Version		: 	1.3+
	Comments	: 	Simple and smart, thanks to http://jillij.com
*/

#dropdown {
	display: block;
	z-index: 5;
	margin: 0;
	padding: 0;
	position: relative;
	bottom: 0;
}

#dropdown ul {
/*	width:780px; */
	width:742px; /* MIL mod */
	min-height: 30px;
	list-style-type: none;
	padding: 0;
/*	margin: 0; */
	margin: 0px 0px 0px 38px; /* MIL mod */
	z-index: 500;
}


#dropdown li {
	display: inline;
	float: left;
	min-height: 20px;
	position: relative;
	text-align: left;
/*	padding: 5px 16px 5px; */
	padding: 0px; /* MIL mod */
	margin: 0px 0px 0px 0px;
}

#dropdown li ul {
	width: 150px;
	height: auto;
	top: 100%;
	left: 0px;
	margin: 0px; /* MIL mod */
}

#dropdown li ul li {
	text-align: left;
/*     wdith: 118px; */
	width: 150px;	 /* MIL mod */
	height: auto;
	min-height: auto;
	display: block;
}

#dropdown a {
	text-decoration: none;
	}

#dropdown li li ul {
	top: 0;
	left: 0;
}

#dropdown li li:hover ul {
	left: 150px;
}

/* initialy hide all sub sidemenus */
#dropdown ul ul,
#dropdown ul li:hover ul ul,
#dropdown ul ul li:hover ul ul,
#dropdown ul ul ul li:hover ul ul,
#dropdown ul ul ul ul li:hover ul ul {
	display: none;
	position: absolute;
}

/* display them on hover */
#dropdown li:hover ul,
#dropdown ul li:hover ul,
#dropdown ul ul li:hover ul,
#dropdown ul ul ul li:hover ul,
#dropdown ul ul ul ul li:hover ul,
#dropdown ul ul ul ul ul li:hover ul {
  display: block;
}

/* colors */

#dropdown {
	color: #FFFFFF;
}

#dropdown ul{
	background: #000000;
	-moz-opacity:0.95; /* for mozilla */
	opacity: 0.95; /* for safari */
	khtml-opacity: 0.95 /* for konquerer and older safari */
}

#dropdown ul ul {
	background: #000000;
}
#dropdown ul li {
	background: #000000;
}


#dropdown h2 {
	color: #FFFFFF;
}

#dropdown a {
	color: #FFFFFF;
	display:block; /* MIL MOD */
	padding: 9px 13px 9px; /* MIL MOD */
	margin: 0px; /* MIL MOD */
	}

#dropdown ul li:hover {
	background: #333333;
}

#dropdown ul li ul {

}

#dropdown ul li ul li {
	background: #333333;
}

#dropdown ul li ul li:hover {
	background: #666666;
}

#dropdown ul li ul ul li{
	background: #666666;
	
}

#dropdown ul li ul ul li:hover {
	background: #999999;
}



/* MIL MODIFICATIONS */

#dropdown {
	background-image: url('mil_titlebaricon.png');
	background-repeat: no-repeat;
	background-color: #657e00;
}

#dropdown ul li.current_page_item, #dropdown ul li.current_page_parent {
	background: #666666;
}

#dropdown ul li.current_page_parent li.current_page_item{
	background: #333333;
}

#dropdown ul li.current_page_parent li.current_page_item:hover{
	background: #666666;
}

div.admintab{
position:absolute;
top: 190px;
right: 0px;
display:block;
}

div.admintab a{
margin: 5px;
color: black;
}

div.admintab a:visited{
color: black;
}

div.admintab a:hover{
text-decoration: underline;
}

/* menu size */
#dropdown ul {
	height: 30px;
}

h3{
 	border-bottom: 1px dotted #ccc;
}

.rightAndClear{
  padding-left: 10px;
  padding-bottom: 3px;
  padding-top: 3px;
  float:right;
  clear:both;
}

.leftAndClear{
  padding-right: 10px;
  padding-bottom: 3px;
  padding-top: 3px;
  float:left;
  clear:both;
}

.right{
  padding-left: 10px;
  padding-bottom: 3px;
  padding-top: 3px;
  float:right;
}

.left{
  padding-right: 10px;
  padding-bottom: 3px;
  padding-top: 3px;
  float:left;
}

.header-description, p.header-description, .entry-content p.header-description{
  font-size: 1em;
  line-height: 1.6em;
  margin-top: 1px;
  color: #999999;
}

#footer{
  background-image: url('footer.png');
  background-repeat: no-repeat;
  background-position: top center;
}

#footer-content{
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  padding-top: 15px;
  position: relative;
  width: 780px;  
}

#footer-content a{
  border:none;
}

#footer-content img{
  float:right;
  margin-right: 20px;
}

p.footerfeedlinks{
  text-align:left;
  color: #b0b0b0;
  margin-left: 30px;
}

p.footerfeedlinks a{
  color: #b0b0b0 !important;
}

#page{
  border-bottom: none;
}

.clearRightAndLeft{
  clear:both;
}

.addTopBottomMargin
{
  margin-top: 13px;
  margin-right: 0pt;
  margin-bottom: 13px;
  margin-left: 0pt;
}

p.footerstyledwith{
display:none;
}

body{
  background-color: #f4f4f4;
}

div.orderSuccess{
  border: 1px solid #657e00;
  padding: 10px;
  background: #cfdc9c;
  font-size: 1.2em;
  font-weight: bold;
}


div.fhlogo{
  right: 0px;
  top: 0px;
  position:absolute;  
}

div.fhlogo img{
  right: 4px;
  top: 5px;
  position:absolute;  
}

div.fhlogo a.fhlink{
  display:block;
  margin-top: 7px;
  margin-right: 73px;
  font-size: 8.5px;
  text-align: right;
  color:#33291f;
}

#page{
  padding-top: 10px;
}

/* twitter sidebar */
/*******************/

#mil-twitter:before{
  content: url('/wp-content/themes/k2/styles/dropdown/twitter_logo.png');  
}

#mil-twitter h4{
  display: none;
}

#mil-twitter li{
  padding: 4px 4px 4px 4px;
  color: #444444;
}

#mil-twitter div{
  margin: 0px;
}

#mil-twitter li a.aktt_tweet_time{
  display:block;
  color: #aaaaaa; 
  font-size: smaller;
}

/**************************/
/* END of twitter sidebar */


/* for project pages */
/*********************/

table.project{
  font-size: 9px;
  line-height: 12px;
  width: 282px;  
}

table.project td{
  vertical-align: top;
  text-align: left;
  padding-right: 3px;
  padding-top: 1px;
  padding-bottom: 1px;
  color: #777777;
}

table.project th{
  vertical-align: top;
  padding-right: 3px;
  padding-top: 1px;
  padding-bottom: 1px;
  font-weight: bold;
}

div.activeproject th{
  color: #a6c607;
}

div.completedproject th{
  color: #678001;
}

h2.projecttitle{
  text-align: right;
  font-size: 2em;
  display: block;
  color: white;
  padding-top: 40px;
  padding-right: 7px;
  padding-bottom: 4px;
  font-weight: normal;
  margin-bottom: 3px;
  border-radius: 3px 3px 0px 0px;
  -moz-border-radius: 3px 3px 0px 0px;
  -webkit-border-radius: 3px 3px 0px 0px;
}

div.activeproject{
  border-bottom: 20px solid #a6c607;
  border-radius:  0px 0px 3px 3px;
  -moz-border-radius:  0px 0px 3px 3px;
  -webkit-border-radius:  0px 0px 3px 3px;
  max-width: 500px;
  padding-bottom: 3px;
  zoom: 1;     /* triggers hasLayout */

}

div.completedproject {
  border-bottom: 20px solid #678001;
  border-radius:  0px 0px 3px 3px;
  -moz-border-radius:  0px 0px 3px 3px;
  -webkit-border-radius:  0px 0px 3px 3px;
  max-width: 500px;
  padding-bottom: 3px;
  zoom: 1;     /* triggers hasLayout */

}

div.activeproject:after, div.completedproject:after{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

div.activeproject p, div.completedproject p{
  margin: 0px;
  padding: 0px;
}

div.activeproject h2.projecttitle{
  background-color: #a6c607;
}

div.completedproject h2.projecttitle{
  background-color: #678001;
}

div.project-sidebar{
  width: 180px;
  float: right;
  font-size: 10px;
  line-height: 1.5em;
  margin-top: 0px;
}

div.activeproject img, div.completedproject img{
  float: right;
}


div.project-sidebar h4{
  font-family: "Trebuchet MS",Verdana,sans-serif;
  font-size: 1.5em;
  font-weight: normal;
  letter-spacing: -1px;
  padding-top: 0pt;
  padding-right: 0pt;
  padding-bottom: 0pt;
  padding-left: 0pt;
  display: block;
  margin-bottom: 5px;
}

/*************************/
/* END for project pages */


/*************************/
/* bib2html pages        */

div.bibtex{
  margin-top: 0px;
  font-size: 0.8em;
  line-height: 1.2em;
  background-color: #e6f1ff;
  padding: 5px;
}

/* END for bib2html pages*/
/*************************/