/* HEADER START */

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 18px;
  color: #333333;
  background-color: #ffffff;
  min-width: 1190px;
}

.row-fluid {
	width: 100%;
}

.row-fluid:before,
.row-fluid:after {
	content: "";
	display: table;
}

.row-fluid:after {
	clear: both;
}

div#header {
	padding-top: 20px;
	width: 100%;
	min-width: 1190px;
	position: relative;
}
 
#logo-container a {
	display: block;
	float:left;
	outline: none;
	width: 300px;
	height: 88px;
	text-indent: -99999px;
	color: #ffffff;
	padding: 0 0;
	margin: 0 50px;
	/*border: 1px solid #aaa;*/
}

#logo-container a.logo {
	background: url('../images/john-lei-logo.png') 0px 0px no-repeat;
}

div#nav-container {
	width: 680px;
	height: 88px;
	position: absolute;
	right: 25px;
}


ul.jlnav {
    list-style-type:none;
    margin:0;
    padding:30px 0 0 0;
    background-color: #ffffff;
}

.jlnav > .dropdown {
    float: left;
}

.jlnav > li >  a {
    display:block;
    float: left;
    text-indent: -99999px;
	outline: none;
    height: 18px;
	color: #ffffff;
	/*padding: 0 30px 0 30px;
	border: 1px solid #aaa;*/
	margin: 0 0 0 40px;
}


a.about {
	background: url('../images/nav.png') 0px 0px no-repeat;
    width: 109px;
}

a.books {
	background: url('../images/nav.png') -109px 0px no-repeat;
    width: 110px;
}

a.clients {
	background: url('../images/nav.png') -219px 0px no-repeat;
    width: 121px;
}

a.contact {
	background: url('../images/nav.png') -340px 0px no-repeat;
    width: 135px;
}

.jlnav > li >  ul#bookmenu {
    margin-left: 30px;
    margin-top: 8px;
    font-size: 14px;
	
}

.jlnav > li >  a.selected {
	background-position-y: -20px;
}

.jlnav > li > a:hover { background-position-y: -40px; }
.jlnav > li > a:active { background-position-y: -20px; }

/* HEADER END */

/* WRAPPER START */

.wrapper {
	display: none;
	margin:0px;
	background:#fff;
	position: relative;
}

.wrapper-content {
    /*height: 600px;
	margin-top:10px;*/
    min-width: 1190px;
    /*padding-top: 1em;*/
    padding-top: 16px;
	position: relative;
}

.loading-div{
	color:#fff;
	font-size:14px;
	padding:10px 10px 10px 50px;
	position:absolute;
	background:#333 url('../images/ajax-loader.gif') no-repeat 10px 50%;
	-moz-border-radius:15px;
	-webkit-border-radius:15px;
	border-radius:15px;
	opacity:0.4;
	width:8.5em;
	position:absolute;
	top:380px;
	left:460px;
	margin-left:-90px;
}

/* CONTENT START */

div#col2-side-content {
    width: 300px;
    height: 535px;
    float:left;
    display: block;
	outline: none;
	padding: 0 0;
    margin: 0 45px;
}

.rounded {
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px; /* future proofing */
    -khtml-border-radius: 15px; /* for old Konqueror browsers */
}

.portrait {
    margin-bottom: 0.8em;
}

div#col2-main-content {
    padding-right: 45px;
    padding-left: 390px;
    min-height: 643px;  /* 583 */
}

div#col1-main-content {
    padding-right: 45px;
    padding-left: 45px;
    min-height: 643px;
}

div#twitter {
    text-align: center;
    
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.9em;
}

div.loginbox {
    padding-top: 200px;
}

div.errorbox {
    padding-top: 200px;
}

div.contactinfo {
    padding-top: 120px;
    float: left;
    max-width: 200px;
}

div.contactbox {
    padding-top: 120px;
    float: right;
}

div.contactbox-success {
    padding-top: 190px;
}

.row-fluid [class*="formlabel"] {
  min-height: 25px;
}

.row-fluid [class*="formlabelerror"] {
  min-height: 25px;
  text-align: right;
}

.req {
    color: red;
    font-size: 12px;
}

.errormsg {
    color: red;
    font-size: 11px;
    font-weight: bold;
}

.nominheight {
    min-height: 0px;
}

div#slideshow {
    min-height: 615px;
}

/* CONTENT END */

/* TYPOGRAPHY START */
h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 2em;
    color: #777;
    margin: 0 0 0 0;
    border-bottom: 1px solid #eee;
}

/*
h2 + p:first-letter {  
   font-size: 2em;
   line-height: 0;
}
*/

h4 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.3em;
    color: #888;
    margin: 1em 0 0 0;
}

.wrapper-content p {
    font-family: 'PT Sans', sans-serif;
    line-height: 1.5em;
    margin: 16px 0 0 1em;
    text-align: justify;
}

.wrapper-content p.normal {
    font-weight: 400;
    font-size: 1em;
    }

span.highlight {
    color: #427aac;
    /*background-color: #e9f4fb;*/
    font-size: 1.2em;
}

span.gt {
    color: #b18e5f;
    /*color: #8C6B47;*/
}
/* TYPOGRAPHY END */

/* PHOTO SLIDER START */

div#photo-container {
	height: 540px;
	/*margin-top: 10px;*/
	overflow:hidden;
	position:relative;
	width:100%; 
}

div.slider    { overflow:hidden; position:relative; width:100%; height:540px !important; }
div.slider ul { margin:0; padding:0; height: 540px; }
div.slider li { float:left; list-style:none; margin:0 10px 0 0; line-height: 16px;}
/*div.slider li { text-align:center; /*border: 1px solid #000; } */
/*div.slider li img { border: 1px solid #000; }*/
div.slider li div.caption { position: relative; top: 514px; right: 10px; color: #ccc; text-align: right; font-size: 12px; }
span.caption { background-color: #222; padding: 2px 8px 2px 8px;}

/* PHOTO SLIDER END */

/* THUMB SLIDER START */

div#thumb-container {
	height: 114px;
	background-color: #eee;
	margin-top: 5px;
	
	overflow:hidden;
	position:relative;
}

/*div.thumbs    { overflow:hidden; position:relative; left: 40px ; width:90%; height:113px !important; }*/
div.thumbs ul { margin:0; padding: 0; }
div.thumbs li { float:left; list-style:none; margin:0px 5px 0px 0px; background-color: #000;}
div.thumbs li { text-align:center; background-color: #000;}

/* THUMB SLIDER END */

/* WRAPPER END */

/* CONTROL START */
div#play {
	width: 400px;
	height: 20px;
	position: absolute;
}

#playnav ul {
	list-style-type: none;
	text-align: center;
	margin-top: 30px;
}

#playnav li {
	display: inline;
}

#playnav li a {
	display: block;
	float:left;
    width: 20px;
	outline: none;
	height: 20px;
	text-indent: -99999px;
	color: #ffffff;
	/*padding: 0 30px 0 30px;
	border: 1px solid #aaa;*/
	margin: 5px 20px 0 50px;
}

#playnav li a.prev-slide {
	background: url('../images/controls.png') 0px 0px no-repeat;
}

#playnav li a.next-slide {
	background: url('../images/controls.png') -20px 0px no-repeat;
}

#playnav li a.slider-toggle {
	background: url('../images/controls.png') -40px 0px no-repeat;
}

#playnav li a.slider-toggle-stop {
	background: url('../images/controls.png') -60px 0px no-repeat;
}

#playnav li a:hover {
	background-position-y:-40px;
}

#playnav li a:active {
	background-position-y: -20px;
}

div#play {
	display: block;
	float:left;
	outline: none;
	width: 300px;
	padding: 0 0;
	margin: 10px 0 0 30px;
}

/* CONTROL END */

/* FOOTER START */

div#footer {
	margin-top: 10px;
	line-height: 14px;
	min-width: 1190px;
	position: relative;
    border-top: 8px solid #f9f9f9;
}

#copyright {
	width: 560px;
	height: 50px;
	position: absolute;
	right: 0;
	margin-top: 10px;
	/*border: 1px solid #ccc;*/
}


div#footernav {
    float: right;
    height: 14px;
}

ul.footernav {
    list-style-type:none;
    margin:0;
    background-color: #ffffff;
}

.footernav > .dropdown {
    float: left;
    margin: 0 2px 0 14px;
    line-height: 14px;
}

.footernav > li >  a {
    display:block;
    float: left;
	outline: none;
    height: 18px;
	/*padding: 0 30px 0 30px;
	border: 1px solid #aaa;*/
    font-size: 11px;
}

li.dropdown a {
    color: #777;
}

#bookmenufooter > li > a {
    font-size: 14px;
}

#copyright-social-wrapper {
	width: 34px;
	float:left;
	border-left: 2px solid #eee;
	vertical-align: middle;
	/*padding-left: 14px;*/
    padding-right: 14px;
	height: 30px;
}

#copyright-social a {
    display: block;
	float:left;
	outline: none;
	width: 19px;
	height: 19px;
	text-indent: -99999px;
	color: #ffffff;
	margin: 5px 0 0 14px;
    
	/*border: 1px solid #aaa;*/
}

#copyright-social a.twitter {
	background: url('../images/twitter4.png') 0px 0px no-repeat;
}

#copyright-text {
    width: 360px;
	float: left;
	color: #aaa;
	margin-right: 14px;
    font-size: 11px;
}

#footer-logo-wrapper {
	width: 100px;
	float:left;
	border-left: 2px solid #eee;
	vertical-align: middle;
	padding-left: 14px;
	height: 30px;
}

#footer-logo a {
    display: block;
	float:left;
	outline: none;
	width: 75px;
	height: 19px;
	text-indent: -99999px;
	color: #ffffff;
	margin-top: 5px;
	/*border: 1px solid #aaa;*/
}

#footer-logo-icon a {
    display: block;
	float:left;
	outline: none;
	width: 19px;
	height: 19px;
	text-indent: -99999px;
	color: #ffffff;
	margin-top: 5px;
	/*border: 1px solid #aaa;*/
}

#footer-logo a.logo {
	background: url('../images/john-lei-footer.png') 0px 0px no-repeat;
}

#footer-logo-icon a.logo-icon {
	background: url('../images/john-lei-footer-icon.png') 0px 0px no-repeat;
}

/* FOOTER END */
