/* IMPORT RESET */
@import url("reset.css");

/* IMPORT 12 COLUMN RESPONSIVE GS */
@import url("responsive.gs.12col.css");


/*	EXAMPLE STYLES */
body {
	font-family: 'Open Sans', sans-serif;
	color: #666;
}

img {
	max-width: 100%;
	height: auto;
}

img.YouTube{
	vertical-align: middle;
}

a {
	color: #333;
}

a:hover {
	color: #ccc;
	text-decoration:none;
}

h1 a{
	text-decoration:none;
}

h2 {
	padding-top: 15px;
	padding-bottom: 15px;
	border-top: 2px #999 solid;
	border-bottom: 1px #999 dotted;
}

h3 {
	font-size: 16px;
	padding: 3px 5px;
	color: #000;
	background-color: #efefef;
}

h3.pjtitle {
	font-size: 12px;
	color: #666;
	padding-top: 4px;
	padding-left: 0px;
	background-color: #fff;
}

h4 {
	padding-top: 15px;
	padding-bottom: 10px;
	border-bottom: 1px #999 dotted;
}

h5 {
	font-size: 14px;
	text-align: center;	
}

header {
	font-size: 16px;
	text-align: center;
	margin-top: 30px;
	margin-bottom: 27px;
	padding-left: 10px;
	padding-right: 10px;
}

nav {
	font-size: 11px;
	text-align: right;
	padding-top: 3px;
	margin-right: 0px;
}

nav ul {
	text-align: right;
}

nav ul li {
	display: inline;
	padding-left: 20px;
}

nav ul li a{
	text-decoration:none;
}

main {
	margin-top: 20px;
	padding-left: 10px;
	padding-right: 10px;
}

article {
	font-size: 12px;
	text-align: center;
	padding-bottom: 20px;
}

aside {
	font-size: 12px;
	text-align: center;
	padding-bottom: 20px;
}

footer {
	font-size: 10px;
	margin-top: 10px;
	margin-bottom: 20px;
	padding-left: 10px;
	padding-right: 10px;
}

footer p {
	padding-top: 15px;
	border-top: 1px #999 dotted;
}

p.title {
	padding-top: 2px;
}

p.jptitle {
	padding-top: 3px;
}

p.small {
	font-size: 9px;
}

/* Navigation */

#nav > a
{
	display: none;
}

#nav li
{
	position: relative;
}

#nav li a
{
	color: #555;
	display: block;
}

/* first level */

#nav > ul
{
	height: 20px;
	float: right;
}

#nav > ul > li
{
	float: left;
}

#nav > ul > li > a
{
	height: 100%;
	font-size: 11px;
}

#nav > ul > li:hover > a,
#nav > ul:not( :hover ) > li.active > a
{
	color: #ccc;
}

@media only screen and ( max-width: 699px )
{

h1 {
	text-align:center;
}
	#nav > a
	{
		width: 2em; /* 50 */
		height: 2em; /* 50 */
		text-align: left;
		text-indent: -9999px;
		background-color: #555;
		position: relative;
	}
	#nav > a:before,
	#nav > a:after
	{
		position: absolute;
		border: 1px solid #fff;
		top: 35%;
		left: 22%;
		right: 22%;
		content: '';
	}
	#nav > a:after
	{
		top: 60%;
	}

	#nav:not( :target ) > a:first-of-type,
	#nav:target > a:last-of-type
	{
		display: block;
	}

/* first level */

	#nav > ul
	{
		height: auto;
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		background-color: #555;
	}
	#nav:target > ul
	{
		display: block;
	}
	#nav > ul > li
	{
		width: 100%;
		float: none;
	}
	#nav > ul > li > a
	{
		height: auto;
		text-align: left;
		color: #fff;
		padding: 0 0.833em; /* 20 (24) */
	}
	#nav > ul > li:hover > a,
	#nav > ul:not( :hover ) > li.active > a
	{
		background-color: #666;
		color: #fff;
	}
}

.imgLink{
	width:144px;
	height:15px;
	display:block;
	background:url(../imgs/common/ultrafactory.gif) left top no-repeat;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
.imgLink:hover{
	background-position:right top;
}

.imgLink2{
	width:144px;
	height:15px;
	display:block;
	background:url(../imgs/common/twitter.gif) left top no-repeat;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
.imgLink2:hover{
	background-position:right top;
}

.imgLink3{
	width:144px;
	height:15px;
	display:block;
	background:url(../imgs/common/facebook.gif) left top no-repeat;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
.imgLink3:hover{
	background-position:right top;
}
