#nav-holder {
	height: 58px;
	width: 100%;
	background-color: #000;
	background-image: url(../images/menu-bar.jpg);
}
#nav,#nav ul {
	list-style: none outside none;
}

#nav {
	font-size: 12px;
	height: 58px;
	width: 870px;
	background-color: #000;
	font-weight: bold;
	margin-right: auto;
	margin-left: auto;
	background-image: url(../images/menu-bar.jpg);
	display: block;
}
#nav ul {
	background-color: #222;
	border-radius: 0 5px 5px 5px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
	left: -9999px;
	overflow: hidden;
	position: absolute;
	top: -9999px;
	z-index: 2;
	-moz-transform: scaleY(0);
	-ms-transform: scaleY(0);
	-o-transform: scaleY(0);
	-webkit-transform: scaleY(0);
	transform: scaleY(0);
	-moz-transform-origin: 0 0;
	-ms-transform-origin: 0 0;
	-o-transform-origin: 0 0;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-moz-transition: -moz-transform 0.1s linear;
	-ms-transition: -ms-transform 0.1s linear;
	-o-transition: -o-transform 0.1s linear;
	-webkit-transition: -webkit-transform 0.1s linear;
	transition: transform 0.1s linear;
}
#nav li {
	position: relative;
	background-image: url(../images/menu_line.png);
	background-repeat: no-repeat;
	background-position: right 5px;
	float: left;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
}
#nav li a {
	color: #FFFFFF;
	display: block;
	float: left;
	font-weight: bold;
	height: 30px;
	position: relative;
	text-decoration: none;
	text-shadow: 1px 1px 1px #000000;
	padding-top: 23px;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 20px;
	font-size: 14px;
}
#nav li:hover > a {
	color: #FFCC00;
	border-bottom-width: thick;
	border-bottom-style: solid;
	border-bottom-color: #F00;
}
.active  {
	color: #FFCC00 !important;
	border-bottom-width: medium;
	border-bottom-style: solid;
	border-bottom-color: #F00;
}
#nav li:hover, #nav a:focus, #nav a:hover, #nav a:active {
	outline: 0 none;
	-webkit-transition: background-color 1s ease 0s;
	-moz-transition: background-color 1s ease 0s;
	-ms-transition: background-color 1s ease 0s;
	-o-transition: background-color 1s ease 0s;
	transition: background-color 1s ease 0s;
}
#nav li:hover ul.subs {
    left: 0;
    top: 53px;
    width: 180px;
-webkit-transition: all 0.1s linear;
	-moz-transition: all 0.1s linear;
	-ms-transition: all 0.1s linear;
	-o-transition: all 0.1s linear;
	transition: all 0.1s linear;
}
#nav ul li {
	background: none;
	text-align: center;
}
#nav ul li a {
    float: none;
}
#nav ul li:hover > a {
	background-color: #121212;
	color: #FFCC00;
}

#home .home,#history .history {
	outline: 0 none;
	-webkit-transition: background-color 1s ease 0s;
	-moz-transition: background-color 1s ease 0s;
	-ms-transition: background-color 1s ease 0s;
	-o-transition: background-color 1s ease 0s;
	transition: background-color 1s ease 0s;
	
	}
	
table.tftable {
	font-size: 12px;
	color: #000000;
	width: 100%;
	border-width: 1px;
	border-color: #686767;
	border-collapse: collapse;
}
table.tftable th {
	font-size: 16px;
	background-color: #FFFFFF;
	padding: 8px;
	text-align: left;
	color: #000;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
table.tftable tr {
	background-color: #FFC;
}
table.tftable td {
	font-size: 14px;
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #686767;
	font-weight: bold;
}



table.tftable-chr{
	font-size: 12px;
	color: #000000;
	width: 100%;
	border-width: 1px;
	border-color: #686767;
	border-collapse: collapse;
}
table.tftable-chr th {
	font-size: 16px;
	background-color: #FFFFFF;
	padding: 8px;
	text-align: left;
	color: #000;
	border: 1px solid #999;
}
table.tftable-chr tr {
	background-color: #FFC;
}
table.tftable-chr td {
	font-size: 14px;
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #686767;
	font-weight: bold;
}
.popup{
    margin: auto;
    text-align: center
}
.popup img{
    width: 50px;
    margin: 5px;
    cursor: pointer
}
.show{
    z-index: 999;
    display: none;
}
.show .overlay{
    position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.9);
}
.show .img-show{
    position:fixed;
    top: 50%;
    left: 50%;
    width:50em;
    height:25em;
    margin-top: -12.5em; /*set to a negative number 1/2 of your height*/
    margin-left: -25em; /*set to a negative number 1/2 of your width*/
    border: 1px solid #ccc;
    background-color: #f3f3f3;
}
.img-show span{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 99;
    cursor: pointer;
}
.img-show img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
/*End style*/