@import url(http://fonts.googleapis.com/css?family=Open+Sans:300&subset=latin,cyrillic-ext,latin-ext,cyrillic,greek-ext,greek,vietnamese);

body {
	font-family: "Open Sans";
}

/*
#nav{
	background-color:black;
	z-index:150;
	width:900px;
	padding-bottom:10px;
}
*/

.navWrapper{
	padding-bottom:30px;
}

#nav {
	z-index:999;
	width: auto;
  	padding: 0px;
	
	list-style: none;
	background-color: #111;
	background-image: -moz-linear-gradient(#444, #111); 
	background-image: -webkit-gradient(linear, left top, left bottom, from(#444), to(#111));  
	background-image: -webkit-linear-gradient(#444, #111);  
	background-image: -o-linear-gradient(#444, #111);
	background-image: -ms-linear-gradient(#444, #111);
	background-image: linear-gradient(#444, #111);
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	-moz-box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
	-webkit-box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
	box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
}

#nav li {
	float: left;
    border: 1px solid #444;
    -moz-box-shadow: 1px 0 0 #444;
    -webkit-box-shadow: 1px 0 0 #444;
    box-shadow: 1px 0 0 #444;
    position: relative;
}

#nav a {
	cursor: pointer;
	float: left;
	padding: 10px 10px;
	color: #ddd;
	text-transform: uppercase;
	font: bold 12px Arial, Helvetica;
	text-decoration: none;
	text-shadow: 0 1px 0 #000;
}

#nav a:hover {
  background-color: #003147;
  background-image: -moz-linear-gradient(#32596b, #003147); 
  background-image: -webkit-gradient(linear, left top, left bottom, from(#32596b), to(#003147));
  background-image: -webkit-linear-gradient(#32596b, #003147);
  background-image: -o-linear-gradient(#32596b, #003147);
  background-image: -ms-linear-gradient(#32596b, #003147);
  background-image: linear-gradient(#32596b, #003147);
  color: #fff;
}

/*
ul.topNav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #222;
    border-color: #080808;
}

ul.topNav li {
	float: left;
}

ul.topNav li a {
    display: inline-block;
    color: White;
    text-align: center;
    padding: 5px 5px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 18px;
}

ul.topNav li a:hover {
	background-color: DodgerBlue;
	color:white;
}


*/

.navScrolled {
	position:fixed;
	top:0;
	width:900px;
	margin:0;
}

/*
#nav li {
	display: inline;
    border: 2px solid;
    border-color: #333;
    border-style: outset;
    margin: 0;
    padding: .3em;
}

#nav, div#logo {
	width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#nav li a {
	text-decoration: none;
}
*/

body {
	width: 905px;
    /*background-color: #666666;*/
    margin-right: auto;
    margin-left: auto;
    border-right-width: 10px;
    border-left-width: 10px;
    border-right-style: solid;
    border-left-style: solid;
    /*border-right-color: #666666;*/
    /*border-left-color: #666666;*/
}

.fadingImg{
	animation:fading 20s infinite
}@keyframes fading{
	0%{
		opacity:0
	}
	50%{
		opacity:1
	}
	100%{
		opacity:0
	}
}

#right{
	margin-top:10px;
}

#bodyarea{
	position:relative;
}

body #bodyarea #right {
    background-color: #000;
	color: #FFFFFF;
}

body #bodyarea #right #rightcontent {
    margin-right: 2%;
	margin-left: 2%;
}

body #bodyarea #footer p {
	text-align: center;
    color: #fff;
} 

body {
	background-color: #000000;
}

.upperBuffer{
	padding-top:10px;
}

a:link, a:visited, a:active {
	COLOR: #FFFFFF;
}

a:hover {
	COLOR: #666666;
}

p {
	padding: 2px 5px;
	color: #ddd;
	font-size: 18px;
}

.centerView{
	margin-left:auto;
	margin-right:auto;
	margin-bottom:20px;
}

table td img {
	cursor: pointer; 
}

.image {
	display: block;
    text-align: center;
}

h1, h2 {
	text-align: center;
	padding-top: 10px;
}

ul {
    padding-top: 10px;
    color: #ddd;
	list-style-position: inside;
}

table { 
	margin-left: auto;
    margin-right: auto;
}

table p {
	text-align: right;
    font-size: 14px;
}

.projects li {
	list-style-type: square;
}

#system p {
	padding: 2px;
}

p > #main .image {
	padding-top: 10px;
    text-align: center;    
}

table {
	border-collapse: collapse;
    text-align: right;
}

table tr th, table tr td {
	padding: 2px 5px;
}

div#ad p#ad img {
	border: 1px solid white;
}