
a:link {
  color: #0ee;
}

a:visited {
 color: #0dd;
}

a:hover{
  color: #000;
  background-color: #00f;
}

a:active {
 color: #111;
 background:white;
}

a:link.redlink {
  color: #f00;
}

a:visited.redlink {
  color: #b00;
}


/*start nav menu build*/

nav {
  background-color:#000;
  /*height:60px;*/
  width:100%;

  float: left;
  position: relative;
  margin-bottom:20px;
/*  width:400px;*/

  
}
 
 
nav ul {
/*  clear: left;*/
  font-family: Arial, Verdana;
  font-size: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
/*  display: inline-block;*/
  left: 50%;
  float: left;
  position: relative;
}
 
nav ul li {
  display: block; 
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  float: left;
  border:1px solid #0c3;
  right: 50%;

 
}
 
nav li ul { 
  display: none; 
}
 
nav ul li a {
  display: block;
  text-decoration: none;
  padding: 7px 15px 7px 15px;
  background: #222222;
  color: #000000;  
  margin-left: 1px;
  white-space: nowrap;
  height:30px; /* Width and height of top-level nav items */
  width:90px;
  text-align:center;
 
}



 
nav ul li a:hover { 
  background: #617F8A; 
}
 
nav li:hover ul {
  display: block;
  position: absolute;
  height:30px;
  z-index: 100;
}
 
nav li:hover li {
  float: none;
  font-size: 11px;
 
}
 
nav li:hover a { 
  background: #3A464F; 
  height:30px; /* Height of lower-level nav items is shorter than main level */
}
 
nav li:hover li a:hover { 
  background: #95A9B1; 
}
 
nav ul li ul li a {
    text-align:left; /* Top-level items are centered, but nested list items are left-aligned */
}
 
/* END NAV MENU */


#menu {

background: #000;

}
#menu ul {
list-style: none;
margin: 0;
padding: 0;
width: 150px;
float: left;
}
#menu a, #menu h2 {
font: bold 11px/16px arial, helvetica, sans-serif;
display: block;
border-width: 1px;
border-style: solid;
border-color: #ccc #888 #555 #bbb;
margin: 0;
padding: 2px 3px;
}
#menu h2 {
color: #000;
background: #555555;
text-transform: uppercase;
}
#menu a {
color: #0ff;
background: #111;
text-decoration: none;
}
#menu a:hover {
color: #055;
background: #fff;
}

#menu li {
    position: relative;
	 }

#menu ul ul li {
color:red;
}

#menu ul ul ul {
position: absolute;
top: 0;
left: 100%;
}

#menu ul ul {
position: absolute;

}


div#menu ul ul,
div#menu ul li:hover ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

 
div#menu ul li:hover ul,
div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}



h3 {
    color: #f55;
    font-family: tahoma;
    font-size: 16px;
}	

h2 { font-style: italic;
     color: #0ff;
     font-family: tahoma;
     font-size: 12px;
}

h1 {
	font-style: italic;
	color: #0ff;
	font-family: tahoma;
  }


body {
  
    background-color: #000;
    background-image:url('images/bg3.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: 0px 100px;
 color: #55c9e9;




 z-index: 5;
 
}





	#wrap_slideshow {
		padding:0px 0;
		padding-top:10px;
		margin-top:15px;
		margin-bottom:10px;
		margin:0 auto;
		/*float: left;*/
		position: relative;
		width: 600px;
		height: 440px;
		overflow:hidden;
	}
	
	#slideshow {
		padding:0px 0;
		padding-top:0px;
		margin-top:0px;
		margin-bottom:0px;
		float: left;
		position: relative;
		width: 500px;
		height: 440px;
		/*background: #b5b5b5;*/
		overflow:hidden;
		/*-moz-box-shadow: 0 0 20px black;
		-webkit-box-shadow: 0 0 20px black;
		box-shadow: 0 0 20px black;*/
	}
	
	.button {
		width:35px;
		margin:0 auto;
	}

	.wrap {
		position:relative;
		margin:0 auto;
		width:500px;
	}	


.center {
    margin:auto;
    text-align:center;
    width:80%;
    display:block;
/*    background-color:green;*/
    margin-bottom: 10px;
    margin-top:10px;
}



.block th {
    color: #f90;
    font-size: 22px;
    text-align: center;
}

.block tr, td {
    text-align: center;
}


.block ul {
    text-align: right;
    color: #3dd;
}

.block li ul {
    text-align: left;
    color: #3a3;
}

.story h3 {
    color: #f90;

}



.fullblock ul {

    list-style: none;

}

.fullcenter {

    width:100%;
    margin:auto;
    text-align:center;
    display:block;
    margin-bottom:10px;
    color:#a0afa0;

}




i, em  {
    font-style: italic;
    color:#c60;

}




.menusize {
    margin:auto;
    width:400px;
    display:block;
    color:#30afa0;
    margin-bottom:20px;
}


.nearfullcenter {


    

    max-width: 900px;
    min-width: 200px;
    width:80%;
    margin:auto;
    text-align:center;
    display:block;
}



.block {
    border-style: ridge;
    border-width: 3px;
    border-color: #444;
    max-width: 450px;
    width: 47%;
    margin:1px;
    min-width: 200px;
    display: inline-block;
    vertical-align: top;
}






.fullblock {
    min-width: 200px;
    border-style: ridge;
    border-width: 3px;
    border-color: #333;

    width: 95%;
    margin:auto;
    display:block;
    font-size: 200%;
    color: #f55;
    max-width: 600px;
}


.fullblock ul {
    font-size: 16px;
}

.fullblock ul li {
    float: left;
    text-align: right;
    color: #3a3;
}

.fullblock ul li ul li{
    float: left;
    text-align: left;
    color: #aa3;
}


table {
    margin: auto;
    
}

th {
    font-size: 22px;
    font-style: italic;
    color: #d93 ;
    
}

tr,td {
    font-size: 16px;
    vertical-align: top;

}
    

.left {
    text-align: left;
    color: #3a3;
}

.right {
    color: #f55;
    text-align: right;
}



.story {
    max-width: 600px;
    margin:auto;
    width:80%;
    display:block;
    color:#30af30;
    margin-bottom:20px;
    text-indent:50px;
}

.story li {
    text-indent:10%;

}


.story em {
    color:#d80;
}


.footer {
    margin:auto;
    text-align:center;
    width:80%;
    display:block;
/*    background-color:green;*/
    margin-bottom: 10px;
    margin-top:10px;
    padding:5px;
    color:#50cf50;

}



input[type="checkbox"] {

}

input[type="text"].edit {
    width:95%;
    font-size:12px;

}


input[type="text"].readonly {
    width:95%;
    font-size:12px;
  background-color: #000;
  color: #f90;

}

textarea.edit {
    width:95%;
    font-size:12px;
    height: 125px;


}

input[type="text"] {
    width: 80%;
    font-size:20px;
}





.blockc {
    border-style: ridge;
    border-width: 3px;
    border-color: #444;
    max-width: 900px;
    width: 95%;
    margin: auto;
    padding-bottom: 10px;
    min-width: 200px;
    display: block;
    vertical-align: top;
    font-size: 20px;
}


.pad {
  padding: 5px;
}