/* 

colinlewis.se
redigerat senast: 26 juni 2010

*/

/* ........................................................... */
/* Reset default html styles, basic styles. */

ul,li,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,div,dl,dt,dd,hr {
	margin: 0;
	padding: 0;
	border: none;
	background-color: transparent;
	color: inherit;
	font: inherit;
	text-indent: 0;
}

html, body {
	margin: 0;
	padding: 0;
	border: none;
	text-indent: 0;
}

ul, ul li { list-style-type: none; }
ol {
	margin: 0;
	padding: 0 0 0 2em;
	list-style-type: decimal;
	list-style-position: outside;
}
p { margin-bottom:1em; }
.clear { clear: both; }
.clearnone { clear: none; }
.hide { display: none; }
#skip { display: none; }

.float {
	float: left;
	display: inline;
}

.overflow {
	overflow: auto;
	padding: 1em 0 0 0;
	margin-bottom: 1em;
	width: 270px;
	border-top: 3px double #BDCCDA;
	border-bottom: 3px double #BDCCDA;
}

.overflow p { width: 114px; }

.left {
	padding-right: 19px;
	border-right: 1px dotted #BDCCDA;
}

.right { padding-left: 20px; }

/* ........................................................... */
/* Font embedding and typography */

@font-face {
	font-family: 'PTSansBold';
	src: url('../fonts/PT_Sans_Bold-webfont.eot');
	src: local('☺'), url('../fonts/PT_Sans_Bold-webfont.woff') format('woff'), url('../fonts/PT_Sans_Bold-webfont.ttf') format('truetype'), url('../fonts/PT_Sans_Bold-webfont.svg#webfont4TwFieot') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'PTSansRegular';
	src: url('../fonts/PT_Sans-webfont.eot');
	src: local('☺'), url('../fonts/PT_Sans-webfont.woff') format('woff'), url('../fonts/PT_Sans-webfont.ttf') format('truetype'), url('../fonts/PT_Sans-webfont.svg#webfonthbNdGavu') format('svg');
	font-weight: normal;
	font-style: normal;
}

em, i { font-style: normal; }

body {
	font-size: 62.5%;
	font-family: 'PTSansRegular', Helvetica, Arial, sans-serif;
	line-height: 1.4;
	color: #5F7B94;
	margin:0 !important
}

b, strong { font-family: 'PTSansBold', Helvetica, Arial, sans-serif; font-weight:normal;}
#wrapper { font-size: 1.3em; }

h2 { font-family: 'PTSansBold', Helvetica, Arial, sans-serif; }

/* ........................................................... */
/* Links */

a, a img { border:0; outline: none; }

a,a:link,a:visited,a:active {
	color: #66ADEA;
	text-decoration: none;
	font-family: 'PTSansBold', Helvetica, Arial, sans-serif;
}

a:hover {
	color: #186BB1;
	text-decoration: none;
	font-family: 'PTSansBold', Helvetica, Arial, sans-serif;
}

/* ........................................................... */
/* Structure */

body#home, body#home #wrapper { background: url('../images/home_bg2.jpg') no-repeat center top; }
body#subpage.wide, body#subpage.wide #wrapper { background: url('../images/subpage_wide_2.jpg') no-repeat center top; }
body#subpage.narrow, body#subpage.narrow #wrapper { background: url('../images/subpage_narrow_2.jpg') no-repeat center top; }

#message { display:none; }

#wrapper {
	width: 960px;
	margin: 0 auto;
	position:relative;
	height:750px;
}

#home h1, #home p, p#navigation { margin:0 !important; }

/* ........................................................... */

/* Home */

/* stupid rules for Opera */
#home em { display:none; }
#home p { height:0; }
/* stupid rules for Opera */

#home a {
	text-indent: -9999em;
	overflow: hidden;
	position: absolute;
	background-repeat: no-repeat;
	background-position: left top;
}

#home a:hover { background-position: left bottom; }

#home a#web_designer {
	background-image: url('../images/homepage_links/web_designer2.jpg');
	top:119px;
	left:461px;
	width:180px;
	height:36px;
}

#home a#photographer {
	background-image: url('../images/homepage_links/photographer2.jpg');
	top:279px;
	left:472px;
	width:144px;
	height:28px;
}

#home a#writer {
	background-image: url('../images/homepage_links/writer2.jpg');
	top:329px;
	left:496px;
	width:67px;
	height:21px;
}

#home a#say_hello {
	background-image: url('../images/homepage_links/say_hello2.jpg');
	top:523px;
	left:582px;
	width:94px;
	height:27px;
}

/* ........................................................... */
/* Subpage nav */

#subpage h1 a {
	text-indent: -9999em;
	overflow: hidden;
	position: absolute;
	top:0;
	left:17px;
	width:109px;
	height:103px;
	background-repeat: no-repeat;
	background-position: left top;
}

#subpage.wide h1 a { background-image: url('../images/home_link_subpage_wide.jpg'); }
#subpage.narrow h1 a { background-image: url('../images/home_link_subpage_narrow.jpg'); }

#subpage.wide h1 a:hover,
#subpage.narrow h1 a:hover { background-position: left bottom; } 

/* stupid rules for Opera */
#subpage p#navigation em { display:none; }
#subpage p#navigation { height:0; }
/* stupid rules for Opera */

#subpage a#web_designer,
#subpage a#photographer,
#subpage a#writer,
#subpage a#say_hello
{
	text-indent: -9999em;
	overflow: hidden;
	position: absolute;
	top:43px;
	height:28px;
	background-repeat: no-repeat;
	background-position: left top;
}

#subpage a#web_designer:hover,
#subpage a#photographer:hover,
#subpage a#writer:hover,
#subpage a#say_hello:hover { background-position: left bottom; }

#subpage a#web_designer {
	background-image: url('../images/subpage_links/web_designer2.jpg');
	left:211px;
	width:135px;
}

#subpage a#photographer {
	background-image: url('../images/subpage_links/photographer2.jpg');
	left:405px;
	width:139px;
}

#subpage a#writer {
	background-image: url('../images/subpage_links/writer2.jpg');
	left:602px;
	width:66px;
}

#subpage a#say_hello {
	background-image: url('../images/subpage_links/say_hello2.jpg');
	left:710px;
	width:96px;
}

#subpage a#web_designer.current,
#subpage a#photographer.current,
#subpage a#writer.current,
#subpage a#say_hello.current
{
	top:16px;
	height:55px;
	cursor:default;
}

#subpage a#web_designer.current:hover,
#subpage a#photographer.current:hover,
#subpage a#writer.current:hover,
#subpage a#say_hello.current:hover { background-position: left top; }

#subpage a#web_designer.current { background-image: url('../images/subpage_links/web_designer_current.jpg'); }
#subpage a#photographer.current { background-image: url('../images/subpage_links/photographer_current.jpg'); }
#subpage a#writer.current { background-image: url('../images/subpage_links/writer_current.jpg'); }
#subpage a#say_hello.current { background-image: url('../images/subpage_links/say_hello_current.jpg'); }

/* ........................................................... */
/* Subpage structure */

#section {
	position: absolute;
	top: 164px;
	left: 252px;
	width: 456px;
	height: 522px;
}

#section_1 {
	position: absolute;
	top: 164px;
	left: 86px;
	width: 460px;
	height: 520px;
}

#section_2 {
	position: absolute;
	top: 164px;
	left: 606px;
	width: 280px;
	height: 520px;
}

#section img { margin: 0 0 15px 28px; }

#section h2,
#section p {
	width: 330px;
	margin-left: 70px;
	font-size: 1.1em;
}


/* ........................................................... */
/* Image gallery rules */

#thumbs { position: relative; }
#thumbs li { float: left; }
.slideshow-container { position: relative; }
.slideshow-container img { margin: 0 auto; }

.content {
	display: none;
	float: right;
	width: 460px;
}

.ss-controls { float: left; }
.nav-controls { float: right; }
a.prev { padding-right: 10px; }

.slideshow-container {
	position: relative;
	clear: none;
	height: 460px;
}

.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('../images/ajax-loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 460px;
	height: 460px;
}

.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0px;
	left: 0;
}

.slideshow span.image-wrapper img { margin-top: -460px; }

.slideshow a.advance-link {
	display: block;
	width: 460px;
	height: 460px;
	line-height: 460px;
	text-align: center;
	position: absolute;
	top: 0px;
}

.slideshow a.advance-link:hover, 
.slideshow a.advance-link:active, 
.slideshow a.advance-link:visited { text-decoration: none; }
.slideshow img { vertical-align: middle; }
.download { float: right; }

.caption-container {
	position: relative;
	clear: left;
	height: 75px;
}

span.image-caption {
	display: block;
	position: absolute;
	width: 270px;
	top: 0;
	left: 0;
}

.image-title {
	font-family: 'PTSansBold';
	margin-top: 40px;
}

.image-desc h4 { margin-bottom:0.5em; }
.navigation { }

ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}

ul.thumbs li {
	float: left;
	padding: 0;
	margin: 0 10px 10px 0;
	list-style: none;
}

#slideshow img,
		a.thumb {
	display: block;
	-moz-box-shadow: 0px 0px 10px #7F94A8;
	-webkit-box-shadow: 0px 0px 10px #7F94A8;
	box-shadow: 0px 0px 10px #7F94A8;
}

ul.thumbs li.selected a.thumb { background: #333; }
a.thumb:focus { outline: none; }

ul.thumbs img {
	border: none;
	display: block;
	width: 60px;
	height: 60px;
}

.navigation .top { height: 11px; }

#controls {
	position: absolute;
	top: 472px;
	border-top: 3px double #BDCCDA;
	width: 460px;
}

.ss-controls,
.nav-controls { margin: 4px 0 0 0; }

.pagination {
	position: absolute;
	top: 472px;
	left: 0px;
	border-top: 3px double #BDCCDA;
	width: 270px;
	padding-top:4px; 
}

.pagination a, 
.pagination span.current, 
.pagination span.ellipsis {
	display: block;
	float: left;
}

.pagination a,
.pagination span.current { padding-right:10px;}
.pagination a:hover { text-decoration: none; }

.pagination span.current {
	color: #999;
	font-weight: bold;
	font-family: 'PTSansRegular', Helvetica, Arial, sans-serif;
}

.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}

#photo_intro { position:absolute; bottom:100px; left:0;}

/* ........................................................... */
