@charset "UTF-8";
/* Default */

/*	Reset
------------------------------------------------------------ */ 
@import url("reset.css");

/*	Elements
------------------------------------------------------------ */ 
@import url("elements.css");


/* Links
------------------------------------------------------------ */
a:link,
a:visited,
a:active { text-decoration: underline; color:#636363;}
a:hover { text-decoration: underline; color:#000000;}


/* Body
------------------------------------------------------------ */
body {
	position: relative;
	font-size:14px;
	color:#333;
	background-color:#fff;
	font-family:'メイリオ',Meiryo,'Lucida Grande',Verdana,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
	min-width: 1050px;
}



/* Header
------------------------------------------------------------ */
header {
	width: 100%;
	min-width: 1050px;
	height: 190px;
	background: #fff;
}
#header h1 {
	width: 209px;
	height: 108px;
	margin: 0 auto;
	padding-top: 20px;
	display: block;
}
#header #header_banner {
	height: 40px;
	margin-top: 20px;
	display: block;
}
#header #header_banner ul {
	float: left;
	position: relative;
	left: 50%;
	top: 0;
}
#header #header_banner ul li {
	position: relative;
	left: -50%;
	float: left;
	margin: 0 5px;
}	


/* Gnav
------------------------------------------------------------ */
#nav {
	position: relative;
	width: 100%;
	min-width: 1050px;
	height: 50px;
	overflow: hidden;
	background: #fff;
}
#nav ul {
	float: left;
	position: relative;
	left: 50%;
	top: 5px;
}
#nav ul li {
	position: relative;
	left: -50%;
	padding: 0 20px;
	height: 14px;
	border-right: 1px solid #c8c8c8;
	float: left;
}
#nav ul li:first-child {
	border-left: 1px solid #c8c8c8;
}
#nav ul li.gray span, #nav ul li a {
	text-decoration: none;
	height: 10px;
	line-height: 10px;
	display: block;
	margin-top: 2px;
	background-position: top -10px left 0px !important;
}
#nav ul li a span {
	display: none;
}
#nav ul #nav_news.gray span, #nav ul #nav_news a {
	background: url( ../img/menu_news.png ) no-repeat;
	width: 176px;
}
#nav ul #nav_about.gray span, #nav ul #nav_about a {
	background: url( ../img/menu_about.png ) no-repeat;
	width: 70px;
}
#nav ul #nav_races.gray span, #nav ul #nav_races a {
	background: url( ../img/menu_races.png ) no-repeat;
	width: 67px;
}
#nav ul #nav_results.gray span, #nav ul #nav_results a {
	background: url( ../img/menu_results.png ) no-repeat;
	width: 91px;
}
#nav ul #nav_dandts.gray span, #nav ul #nav_dandts a {
	background: url( ../img/menu_driversandteams.png ) no-repeat;
	width: 178px;
}
#nav ul #nav_gallery.gray span, #nav ul #nav_gallery a {
	background: url( ../img/menu_gallery.png ) no-repeat;
	width: 93px;
}
#nav ul #nav_media.gray span, #nav ul #nav_media a {
	background: url( ../img/menu_media.png ) no-repeat;
	width: 62px;
}
#nav ul #nav_entrant.gray span, #nav ul #nav_entrant a {
	background: url( ../img/menu_entrant.png ) no-repeat;
	width: 95px;
}
#nav ul #nav_languege a img {
	width: 30px;
	height: 19px;
	position: relative;
	top: -5px;
}
#nav ul li a:hover , #nav ul li a.selected {
	background-position: bottom left !important;
}
#nav #admin_logout {
	position: absolute;
	bottom: 10px;
	right: 10px;
}
#nav #admin_logout img:hover {
	opacity: 0.7;
	filter: alpha(opacity=70); /* IE lt 8 */
	-ms-filter: "alpha(opacity=70)"; /* IE 8 */
	-khtml-opacity: .70; /* Safari 1.x */
	-moz-opacity: .70; /* FF lt 1.5, Netscape */
}	



/* Container
------------------------------------------------------------ */
#container, #container_page {
	width: 100%;
	min-width: 1050px;
}




/*	Page Top
------------------------------------------------------------ */ 
.pagetop {
	cursor: pointer;
}
.pagetop:hover {
	opacity: 0.7;
	filter: alpha(opacity=70); /* IE lt 8 */
	-ms-filter: "alpha(opacity=70)"; /* IE 8 */
	-khtml-opacity: .70; /* Safari 1.x */
	-moz-opacity: .70; /* FF lt 1.5, Netscape */
}


/* Footer
------------------------------------------------------------ */
#footer {
	background:#323232;
	width: 100%;
	min-width: 1050px;
	height: 100px;
}
footer.admin {
	background: #ffc800 !important;
}
#footer_contents {
	width: 1050px;
	margin: 0 auto;
}
#footer_contents ul {
	float: left;
	margin-left: 20px;
	padding-top: 40px;
}
#footer_contents ul li {
	float: left;
	border-right: 2px solid #fff;
	line-height: 12px;
	padding: 0 6px;
}
#footer_contents ul li:first-child {
	border-left: 2px solid #fff;
}
#footer_contents ul li a {
	font-size: 12px;
	line-height: 12px;
	color: #fff;
	text-decoration: none;
}
#copyright {
	float: right;
	margin-right: 20px;
	padding-top: 40px;
	color: #fff;
	font-size: 12px;
}



/* 初期化 */
button, input, select, textarea {
	font-family:'メイリオ',Meiryo,'Lucida Grande',Verdana,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}

/* 画像リンク */
a:hover img {
	opacity: 0.7;
	filter: alpha(opacity=70); /* IE lt 8 */
	-ms-filter: "alpha(opacity=70)"; /* IE 8 */
	-khtml-opacity: .70; /* Safari 1.x */
	-moz-opacity: .70; /* FF lt 1.5, Netscape */
}

/* submit ボタン */
input[type="submit"] {
	cursor: pointer;
}

/* タイトル画像 */
h3 img {
	display: block;
}

.fancybox-title-float-wrap .child {
	border-radius: 0 !important;
	background: rgba(0, 0, 0, 0.6) !important;
}	