/* ============================== */
/* ! Layout for desktop version   */
/* ============================== */

	@font-face {
    font-family: 'Aller';
    src: url('aller_rg-webfont.eot');
    src: url('aller_rg-webfont.eot?#iefix') format('embedded-opentype'),
         url('aller_rg-webfont.woff') format('woff'),
         url('aller_rg-webfont.ttf') format('truetype'),
         url('aller_rg-webfont.svg#AllerRegular') format('svg');
    font-weight: normal;
    font-style: normal;
	}

	@font-face {
    font-family: 'AllerBold';
    src: url('aller_bd-webfont.eot');
    src: url('aller_bd-webfont.eot?#iefix') format('embedded-opentype'),
         url('aller_bd-webfont.woff') format('woff'),
         url('aller_bd-webfont.ttf') format('truetype'),
         url('aller_bd-webfont.svg#AllerBold') format('svg');
    font-weight: normal;
    font-style: normal;
	}

	@font-face {
    font-family: 'AllerLight';
    src: url('aller_lt-webfont.eot');
    src: url('aller_lt-webfont.eot?#iefix') format('embedded-opentype'),
         url('aller_lt-webfont.woff') format('woff'),
         url('aller_lt-webfont.ttf') format('truetype'),
         url('aller_lt-webfont.svg#AllerLightRegular') format('svg');
    font-weight: normal;
    font-style: normal;
	}
	
	body {
	background: #555;
	font-family: "Aller", Helvetica, Arial, sans-serif;
	color: #fff;
	margin: 0;
	padding: 0;
	}
	
	h1, h2, h3, h4, h5, b {
	font-family: "Aller";
	color: #5da6c4;
	margin-bottom: 10px;
	}
		
	a {color:#fff; text-decoration: none;}
	a:hover {color:#5da6c4;}
	
	.space {
	width: 400px;
	}
	
	.header .title, .header .photo {
	margin: 25px 0 25px 0;
	}
	
	.header .nav {
	margin-top: 20px;
	}
	
	.header .photo {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	}
	
	.header {
	background-color: #444;
	height: 100%;
	}
	
	.header .nav li {list-style-type: none; margin-top:10px; margin-bottom: 10px;}
	
	.about h1 {
	font-size: 30px;
	}
	
	.about p {
	font-size: 15px;
	font-weight: normal;
	line-height: 20px;
	margin-top: 10px;
	}
	
	.about p a {text-decoration:underline;}
	
	.contact {
	background-color: #444;
	padding: 15px;
	}
	
	form {
	margin: 25px 100px 0 0;
	}
	
	input, textarea {
	background-color: #fff;
	border: #5da6c4 solid 1px;
	display: block;
	width: 375px;
	padding: 5px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	}
	
	textarea {
	height: 150px;
	}
	
	input[type="submit"] {
	width: 140px;
	}
	
	.social_img {
	margin: 25px 25px 25px 0;
	}
	
	.footer .credits {
	line-height: 40px;
	color: #5da6c4;
	font-size: 15px;
	height: 55px;
	}

/* ============================= */
/* ! Layout for mobile version   */
/* ============================= */

@media handheld, only screen and (max-width: 767px) {

	@font-face {
    font-family: 'Aller';
    src: url('aller_rg-webfont.eot');
    src: url('aller_rg-webfont.eot?#iefix') format('embedded-opentype'),
         url('aller_rg-webfont.woff') format('woff'),
         url('aller_rg-webfont.ttf') format('truetype'),
         url('aller_rg-webfont.svg#AllerRegular') format('svg');
    font-weight: normal;
    font-style: normal;
	}

	@font-face {
    font-family: 'AllerBold';
    src: url('aller_bd-webfont.eot');
    src: url('aller_bd-webfont.eot?#iefix') format('embedded-opentype'),
         url('aller_bd-webfont.woff') format('woff'),
         url('aller_bd-webfont.ttf') format('truetype'),
         url('aller_bd-webfont.svg#AllerBold') format('svg');
    font-weight: normal;
    font-style: normal;
	}

	@font-face {
    font-family: 'AllerLight';
    src: url('aller_lt-webfont.eot');
    src: url('aller_lt-webfont.eot?#iefix') format('embedded-opentype'),
         url('aller_lt-webfont.woff') format('woff'),
         url('aller_lt-webfont.ttf') format('truetype'),
         url('aller_lt-webfont.svg#AllerLightRegular') format('svg');
    font-weight: normal;
    font-style: normal;
	}

	body {
	font-family: "Aller", Helvetica, Arial, sans-serif;
	margin: 0;
	padding: 0;
	}
	
	input, textarea {
	width: 260px;
	}
	
}


/* ========================================== */
/* ! Provide higher res assets for iPhone 4   */
/* ========================================== */

@media only screen and (-webkit-min-device-pixel-ratio: 2) { 

/*	.logo {
		background: url(logo2x.jpg) no-repeat;
		background-size: 212px 303px;
	}*/

}