
@font-face {
	font-family: defaultFont;
	font-weight: 400;
	src: url('fonts/SourceSansPro-Regular.ttf');
}

* {
	font-family: defaultFont, helvetica, arial, "sans-serif";
	color: #e0e0e0;		/* white was specified, but too harsh */
	line-height: 1.5em;
	letter-spacing: 0.1em;
}

body {
	background-color: black;
	margin: 0;
}

img {
	border: none;
}

/* ---------------------------------------- STRUCTURE ---------------------------------------- */

#container {
	width: auto;
	min-width: 905px;
}

.left {
	position: absolute;
	left: 0;
	z-index: 20;
	width: 120px;
}

.right {
	position: absolute;
	right: 0;
	z-index: 20;
	width: 120px;
}

#content {
	/* full width between #left and #right --> NOW #left and #right are absolute this is simply full window width */
	z-index: 10;
	width: auto;
	min-width: 665px;
	/* putting overflow:hidden here stuffs up the content width, hence created a 'portal' ID to resolve this */
}

#portal {
	overflow: hidden;
	width: auto;
	margin: 0 120px;
}

#home.column {
	/* fixed width between left and right */
	position: relative;
	width: 301px;
	margin: auto;
}

#portfolio.column {
	/* fixed width between left and right */
	position: relative;
	width: auto;		/* this will change with page width */
	margin: auto;
}

#contact.column {
	/* fixed width between left and right, for contact */
	position: relative;
	width: 423px;
	margin: auto;
}

#whatido.column, #whoiam.column {
	/* fixed width between left and right */
	position: relative;
	width: 665px;
	margin: auto;
}

.column {
	/* all columns are made full window height using javascript */
	overflow: hidden;
}

.vertical {
	/* vertically centered blocks within class 'columns', positioned using javascript */
	top: 100px;		/* this is just a better look for those without javascript, and before the scripts are written */
	position: absolute;
	width: 100%;
}

.gallery {
	height: 
}

.windowheight {
	/* height forced to match window height, using javascript */
}

.bookblock-wide {
}

.bookblock-narrow {
	width: 151px;
	margin-top: 80px;
	float: left;
}

#portfolio .beauty {
	margin: 36px auto 0 auto;
	width: 100%;
}

#portfolio .picture {
}

#portfolio .footer {
	position: absolute;
	top: 500px;		/* this is set in code, although it's bottom of screen we need to set it from the top */
	width: 100%;
}

#portfolio .dots {
	height: 13px;
	text-align: center;
	word-spacing: 0;
	white-space: nowrap;
	font-size: 0;			/* to stop spacing between images */
}

#portfolio .dots img {
	width: 12px;
	margin: 0;
	padding: 3px 0 3px 0;	/* the 3px makes a larger clickable area. Our script chooses the left/right padding for us */
	cursor: hand;
	cursor: pointer;
}

/* ---------------------------------------- PARAGRAPHS ---------------------------------------- */

h2 {
	font-size: 21px;
	margin-top: 0px;
	letter-spacing: 1px;
}

p {
	font-size: 13px;
}

p.firstpara {
	font-size: 16px;
	margin-bottom: 18px;		/* 18px is 2px more than no specification -- as measured */
}

#home .name {
	font-size: 30px;
	text-align: center;
	margin: 0;
	letter-spacing: 2px;
}

#home .design {
	font-size: 14px;
	text-transform: uppercase;
	text-align: center;
	margin: 0;
}

#home .splash a>p {
	/* allow the paragraph text inside the link to change colour on rollover */
	color: inherit;
}

#portfolio p {
	font-size: 21px;
	margin: 10px;
	text-align: center;
}

#contact p.name {
	font-size: 23px;
	margin-top: 10px;
	margin-bottom: 10px;
	letter-spacing: 1px;
}

#contact p.phone, #contact p.email {
	/* for phone and email */
	font-size: 15px;
	margin: 10px 0;
}

/* ---------------------------------------- LINKS ---------------------------------------- */

a, a:link, a:visited {
	color: #e0e0e0;
	text-decoration: none;
}

a:hover, a:active, a.active:link, a.active:visited {
	color: #cc9900;
}

#contact a:hover, #contact a:active {
	/* highlight for email */
	color: black;
	margin: 10px -8px;			/* -7px left/right balances the 7px padding, to keep the text left-aligned with text above & below */
	padding: 2px 8px;
	background-color: #cc9900;
	border-radius: 10px;
	-moz-border-radius: 10px;
}

/* ---------------------------------------- CONTROLS ---------------------------------------- */

ul.menu {
	/* a box containing the 4 menu choices on the left */
	margin-left: 20px;
	width: 100px;
	text-transform: uppercase;
	font-size: 12px;
	padding: 0;
}

ul.menu li {
	list-style-type: none;
	margin: 6px 0 6px 0;
}

.controls {
	right: 0;
	text-align: right;
	border: none;
}

.controls a {
	border: none;
}

.close {
	height: 45px;		/* required to know for page-load javascript centering */
}

.nextprev {
	height: 45px;		/* required to know for page-load javascript centering */
}

.nextprev a {
	display: block;		/* place next & previous buttons ontop of oneanother */
}

/* ---------------------------------------- BOOK ICONS ---------------------------------------- */

.narrowtip {
	height: 26px;
	background-image: url('images/booknarrowtip.png');
}

.narrowspine {
	height: 2000px;
	background-image: url('images/booknarrow.png');
}

.widetip {
	height: 43px;
	background-image: url('images/bookwidetip.png');
}

.widespine {
	height: 200px;
	background-image: url('images/bookwide.png');
}

/* ---------------------------------------- CONTENT DIVS ---------------------------------------- */

#contact .textblock {
	/* the central text for contact details */
	width: 217px;
}

#whatido .textblock, #whoiam .textblock {
	/* the central text */
	width: 459px;
}

.textblock {
	right: 0;
}

.textcontact {
	/* the central text including left-margin for the book logo */
	width: 217px;
	right: 0;
}

#portfolio .beauty img {
	display: block;
	/* width: 858px;	max width 858px, else 100% */
	margin: auto;
}

#portfolio .picture img {
	display: block;
	margin: auto;
}

/* ---------------------------------------- XXXXX ---------------------------------------- */

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#programmer {
	color: black;
	font-size: 1px;
	position: absolute;
	top: -20px;
}

#programmer a, #programmer a:link, #programmer a:visited, #programmer a:hover, #programmer a:active {
	color: black;
}
