
/* 
 * Global styles
 */

body 
{
	font-family: verdana;
	font-size: 13px;
	background-color: #3498DB;
}


/* 
 * Header
 */
header
{
	display: block;
	margin: 5px;
	padding: 5px;
	background-image: url("../images/bg.png");
	background-size: 100%;
}

header p
{
	font-weight: bold;
	font-size: 28px;
	text-align: center;
	color: white;
}

/*
 * Nav bar
 */
nav 
{
	line-height: 30px;
	border: 2px solid black;
	height: 225px;
	width: 150px;
	float: left;
	margin: 5px;
	background-color: #333;
}

nav ul 
{
	list-style-type: none;
	margin: 0;
	padding: 5px;
} 

nav ul li a 
{
	max-width: 100%;
	display: block;
}

nav ul li a 
{
	color: white;
	text-decoration: none;
}
 
nav ul li a:hover, nav ul li a:active 
{
	background-image: url("../images/back.png");
	background-position: right bottom;
}

/* 
 * Content thumbnails
 */
#content_gallery
{
	display: block;
	margin: auto;
	height: 100%;
	margin-left: 170px;
}

.contentItemClass 
{
	position: relative;
	float: left;
	margin: 5px;
	padding: 5px;
	width: 220px;
	height: 220px;
	border: 1px solid black;
    background-color: white;
}

/* 
 * This fills the contentItemBorder div sothat we can apply a border on hover.
 * Hovering directly on contentItemBorder will not work because changing border/margin
 * values causes a relayout which in turn makes the items move slightly on screen.
 * Hence we use "position: absolute" in contentItemBorderClass 
 */
.contentItemBorderClass 
{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 225.5px; /* these half pixels are important */
	height: 225.5px;
	margin: 0px;
	padding: 0px;
	border: 0px solid black;
}

.contentItemBorderClass_hover:hover
{
	border: 3px solid black;
}

.contentItemClassMini
{
	padding: 5px;
	width: 96px;
	height: 96px;
}

.contentItemFooterClass
{
	display: inline-block;
	float: bottom;
	padding-top: 5px;
	padding-bottom: 5px;
	width: 100%;
}

.contentItemText 
{
	display: inline-block;
	margin: auto;
	font: 13px arial, sans-serif;
	text-align: center;
	width: 100%;
}

.contentItemTextMini
{
	font: 11px arial, sans-serif;
}

.contentItemThumbClass
{
	display: block;
	margin:0 auto;
}

.contentItemThumbClassMini
{
	width: 60px;
	height: 60px;
}

.contentItemPlatformClass
{
	position: absolute;
	float: right;
    top: 0;
    right: 0;
	padding: 2px;
}

.contentItemLeftClass
{
	position: absolute;
	float: left;
	top: 3px;
	left: -16px;
}

.contentItemRightClass
{
	position: absolute;
	float: right;
    top: 3px;
    left: 92px;
}


#content_detail
{
	display: block;
	max-width: 100%;
}

#content_detail_body
{
	display: block;
	float: left;
	margin: 10px;
	max-width: 40em;
	background-color: white;
	margin: 5px;
	padding: 16px;
	border: 1px solid black;
}

/* 
 * About page
 */

#aboutBodyId
{
	display: block;
	margin: 10px;
	max-width: 55em;
	background-color: white;
	margin: 5px;
	padding: 16px;
	border: 1px solid black;
}

img.about
{
	margin: 5px 20px 5px 20px;
	float: left;
	width: 128px;
}

p.about
{
	clear: both;
	
}

table.yipton_table
{
	border: 1px solid black;
	width: 100%;
}

tr.yipton_tr:nth-child(even) {background-color: #f2f2f2}
td.yipton_td:nth-child(1)
{
	font-weight: bold;
	width: 150px;
}

table.yipton_simple_table
{
	border: none;
	width: 100%;
}

tr.yipton_simple_tr:
{	
}

td.yipton_simple_td
{
	vertical-align: center;
	padding: 10px 0px 10px 0px;
}
