/* Information -------------------------------------

Version: 0.3

Include on: hsia-fei.com pages

Notes: * before selector targets IE7.

Contains:
	=Custom Font
	=Global Reset
	=Text Headers
	=Aside
	=jScrollPane Styles
	=Scroll Pane
	=Info Block
	=Video iframe
	=Modal Window
----------------------------------------------------*/



/* =Custom Font
----------------------------------------------------*/
@font-face {
    font-family: 'KontrapunktLight';
    src: url('/font/kontrapunkt-light-webfont.eot');
    src: url('/font/kontrapunkt-light-webfont.eot?#iefix') format('eot'),
         url('/font/kontrapunkt-light-webfont.woff') format('woff'),
         url('/font/kontrapunkt-light-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* =Global Reset
----------------------------------------------------*/
html, body, div, span, p, ul, li {
	background: none;
	font-size: 100%;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	color: #414141;
	font: 12px helvetica,arial,sans-serif;
	line-height: 1;
}
ul {
	list-style: none;
}
:focus {
	outline: 0;
}
img, iframe {
	border: 0;
	vertical-align: bottom;
}


/* =Text Headers
----------------------------------------------------*/
#contact h2 {
	color: #fff;
	font: 16px 'KontrapunktLight',helvetica,sans-serif;
	font-size: 26px;
	left: 110px;
	position: absolute;
	top: 112px;
}


/* =Aside
----------------------------------------------------*/
#aside {
	background: #ffffff;
	height: 100%;
	max-height: 2000px;
	min-height: 540px;
	padding: 0 10px;
	position: absolute;
	right: 0px;
	top: 0;
	width: 262px;
	z-index: 10;
}
#films #aside {
	max-height: 540px;
	min-height: 540px;
}
#films.mobile #aside {
	max-height: 475px;
	min-height: 475px;
}

/* ----- Logo ----- */
#logo {
	background: url("/img/global/logo.png") 0 0 no-repeat;
	display: block;
	height: 19px;
	margin: 140px 0 22px;
	text-indent: -999.9em;
	width: 150px;
}
#logo a {
	display: block;
	height: 19px;
}

/* ----- Nav ----- */
#nav a {
	color: #999;
	display: block;
	font: 16px 'KontrapunktLight',helvetica,sans-serif;
	padding: 0px 0 0px 0;
	text-decoration: none;
}
#nav a:hover,
#nav a.on {
	color: #494949;
}

/* ----- Footnote ----- */
#footnote {
	bottom: 7px;
	color: #999;
	font-size: 6px;
	line-height: 1.6em;
	position: absolute;
	z-index: 1;
	left: 162px;
	width: 114px;
}
#footnote a {
	color: #999;
	text-decoration: none;
}
#footnote a:hover {
	color: #666;
}


/* =jScrollPane Styles
----------------------------------------------------*/
.jspContainer {
	overflow: hidden;
	position: relative;
}
.jspPane {
	position: absolute;
}
.jspVerticalBar {
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	width: 16px;
}
.jspHorizontalBar {
	background: #fff;
	bottom: 0;
	height: 10px;
	left: 0;
	position: absolute;
	width: 100%;
}
.jspVerticalBar *,
.jspHorizontalBar * {
	margin: 0;
	padding: 0;
}
.jspCap {
	height: 10px;
	width: 10px;
}
.jspCapRight {
	width: 20px;
}
.jspDragRight {
	background: url("/img/generic/custom-scrollbar.png") 100% 0 no-repeat;
	height: 10px;
	position: absolute;
	right: -10px;
	top: 0;
	width: 10px;
}
.jspDragLeft {
	background: url("/img/generic/custom-scrollbar.png") 0 0 no-repeat;
	height: 10px;
	width: 10px;
}
.jspHorizontalBar .jspCap {
	float: left;
}
.jspTrack {
	background: #fff;
	position: relative;
}
.jspDrag {
	background: #666;
	cursor: pointer;
	left: 0;
	position: relative;
	top: 0;
}
.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag {
	float: left;
	height: 100%;
}
.jspArrow {
	background: #50506d;
	cursor: pointer;
	display: block;
	text-indent: -20000px;
}
.jspArrow.jspDisabled {
	background: #80808d;
	cursor: default;
}
.jspVerticalBar .jspArrow {
	height: 16px;
}
.jspHorizontalBar .jspArrow {
	float: left;
	height: 100%;
	width: 16px;
}
.jspVerticalBar .jspArrow:focus {
	outline: none;
}
.jspCorner {
	background: #eeeef4;
	float: left;
	height: 100%;
}


/* =Scroll Pane
----------------------------------------------------*/
/* ----- Outer Container ----- */
#content {
	overflow: hidden;
	position: relative;
	width: 100%;
}
.mobile  #content{
	height: 685px;
	left:0;
	overflow: auto;
	position: absolute;
	top:0;
	width: 844px;
	z-index: 1;
}
#films.mobile  #content{
	height: 490px;
}

/* ----- Scroll Pane ----- */
.scroll-pane {
	/*height: 690px; Defined on each template until JS calculations are implemented. */
	overflow: auto;
	width: 100%;
}
.mobile .scroll-pane {
	height: 100%;
	overflow: hidden;
}

/* ----- Item List ----- */
#itemList {
	height: 100%; /* mobile */
	margin: 0 auto;
	width: 100%; /* mobile */
}
#home #itemList,
#contact itemList {
	margin: 0 auto;
	position: relative;
}
#itemList li {
	float: left;
	height: 100%; /* mobile */
	position: relative;
}
#films .mobile #itemList li {
	width: 844px;
}


/* =Info Block
----------------------------------------------------*/
/* ----- Default Styling ----- */
.infoBlock {
	color: #fff;
	font-size: 13px;
	line-height: 1.6em;
	overflow: hidden;
	position: absolute;
}
.infoBlock span {
	display: block;
	margin-bottom: 20px;
}

/* ----- Contact Template ----- */
#contact .infoBlock {
	left: 110px;
	text-align: left;
	top: 205px;
}
.infoBlock .col {
	float: left;
	width: 260px;
}
.infoBlock address {
	font-style: normal;
}
.infoBlock a {
	color: #fff;
	display: inline-block;
	text-decoration: none;
}
.infoBlock a:hover {
	text-decoration: underline;
}

/* ----- Films Template ----- */
a.infoBlock {
	background: url("/img/generic/transparency.png") 0 0 repeat;
	bottom: 0;
	height: 50px;
	left: 0;
	padding: 25px 0 15px 0;
	text-decoration: none;
	top: auto;
	width: 100%;
}
.mobile a.infoBlock {
	bottom: 15px;
}
.btnPlay {
	background: url("/img/generic/btn-play.png") 0 0 repeat;
	display: block;
	float: left;
	height: 50px;
	margin: 0 25px 0 30px;
	text-indent: -999.9em;
	width: 50px;
}
.infoBlock .desc {
	float: left;
	font-size: 18px;
	margin-bottom: 0;
	padding-top: 3px;
}
a.infoBlock:hover .btnPlay {
	background-position: -50px 0;
}


/* =Video iframe
----------------------------------------------------*/
.video {
	background-color: #000;
	left: 0;
	position: absolute;
	top: 0;
	z-index: 5;
}
.mobile .video {
	position: static;
}


/* =Modal Window
----------------------------------------------------*/
#overlay {
	display: none;
	left: 0;
	position: absolute;
	top: 0;
	width: 844px;
	z-index: 5000;
	/* Define Opacity */
	background-color: #191919;
}
.modalWin {		
	display: none;
	height: 450px;
	padding-top: 45px;
	position: absolute;
	width: 800px;
	z-index: 5001;
}
.btnClose {
	background: url("/img/generic/btn-close.png") 0 0 repeat;
	display: block;
	float: left;
	height: 30px;
	position: absolute;
	right: 0;
	text-indent: -999.9em;
	top: 0;
	width: 30px;
}
#portfolio #aside #footnote div {
	font-size: 6px;

}
