/* general styles */

* {
	-webkit-transition-duration: 0.3s;
	transition-duration:         0.3s;
	-webkit-transition-property: border, padding, opacity, color, -webkit-transform;
	transition-property:         border, padding, opacity, color, transform;
}

img {
	display: block;
}

.image-replacement {
	display: block;
	text-indent: -9999px;
	font-size: 1px;
	color: rgba( 255, 255, 255, 0 );
	background-repeat: no-repeat;
}

.clear {
	position: relative;
	overflow: hidden;
}

.left {
	float: left;
}

.right {
	float: right;
}

.inner {
	margin: 0 auto;
	padding: 0 3%;
	min-width: 300px;
	max-width: 1020px;
}

.tk-bree {
	font-family: "bree", sans-serif;
}

.tk-nimbus-sans {
	font-family: "nimbus-sans", sans-serif;
}

#HeaderLogo, 
#FooterLogo {
	background-size: 100% 100%;
}


/* fonts, colors */

body {
	font-family: "nimbus-sans", Arial, sans-serif;
	font-weight: 300;
	font-size: 20px;
}

h1,
h2 *,
#SecondaryNav {
	font-family: "bree", Arial, sans-serif;
}

body * {
	color: #777;

}

#Masthead {
	background: white;
}

a,
h1,
h2,
#Masthead * {
	color: #444;
}


a:hover,
#Masthead *:hover {
	color: #b00;
}


/* header */

#Masthead {
	position: fixed;
	border-bottom: 15px solid white;
	width: 100%;
	z-index: 100;
	background: white
}

#Masthead > div {
	border-bottom: 1px solid #eee;
	padding: 2.5em 0 1em 0;
}

#HeaderLogo {
	width: 186px;
	height: 51px;
	opacity: 0.7;
	left: 0;
	background: url( "../img/logo-masthead.png" );
}

#HeaderLogo:hover {
	opacity: 1;
}

#SecondaryNav {
	position: absolute;
	right: 0;
	bottom: 0;
}

#SecondaryNav li a {
	display: block;
	text-align: right;
	font-size: 0.9em;
	line-height: 1.5em;
	vertical-align: bottom;
}


/* footer */

#Mastfoot .inner {
	border-top: 1px solid #ddd;
	padding: 3em 0;
}

#FooterLogo {
	margin: 0 auto;
	border: 10px solid #eaeaea;
	border-radius: 50%;
	padding: 20px;
	width: 120px;
	height: 120px;
	background: #dadada url( "../img/logo-mastfoot.png" ) center center no-repeat;
	box-shadow: 0 0 30px rgba( 0, 0, 0, 0.3 );
}

#FooterLogo:hover {
	border-color: #ccc;
}


/* main */

h1,
h2 {
	color: #444;
}

h1 {
	margin-bottom: 1.2em;
	vertical-align: middle;
	font-size: 1.5em;
	font-weight: 300;
}

h2 a {
	display: block;
	border-left: 1em solid #a00;
	padding-left: 0.5em;
	font-size: 1.2em;
}

h2 a:hover {
	border-left-width: 2em;
	padding-left: 0.5em;
}

.page-content.main {
	margin-bottom: 5.5em;
}

.page-content a {
	text-decoration: underline;
}

.page-content p {
	margin: 0.8em 0;
	line-height: 1.8em;
}

.page-content strong {
	font-weight: 400;
}

.page-content ol,
.page-content ul {
	padding-left: 1em;
	list-style-position: outside;
}

.page-content li {
	padding-left: 0;
	line-height: 1.4em;
	list-style: square;
}

#Main {
	padding: 11em 0 7em 0;
}


/** Porfolio */

.project-item {
	border-top: 1px solid #eee;
	padding: 2.5em 0
}

.project-item:last-child {
	padding-bottom: 0;
}

.project-item h2 {
	margin: 0 0 1.5em 0;
}

.project-item .page-content {
	margin-right: 0;
}

.project-name a {
	text-transform: none;
	text-decoration: none;
	font-weight: 400;
}

.project-description {
	width: 280px;
	padding-bottom: 2em;
}

.project-item .featured-image {
	display: block;
	float: right;
	border: 1px solid #ccc;
	box-shadow: 2px 2px 4px rgba( 0, 0, 0, 0.2 );
}

.project-item .featured-image:hover {
	border-color: #999;
}

.project-item .featured-image img {
	display: block;
}

.project-item .visit-website {
	margin-top: 0;
}