/*	---------------------------------------------------------------------- */
/*	
	Name: patrick.mattes
	Date: November 2013
	Version: 1.0
	Author: Daniel Baumgartner
	Autor URI: icontel.com
*/
/*	---------------------------------------------------------------------- */

/*	---------------------------------------------------------------------- */
/* 	colors
	
	Dark Blue		#081725
	Red				#F7505A
	Grey				#7D7D7D
	Footer Line	#46515C
	
*/
/*	---------------------------------------------------------------------- */

/*	---------------------------------------------------------------------- */
/* 	global */
/*	---------------------------------------------------------------------- */

html, button, input, select, textarea {
    color: #081725;
}

body {
	background: #FFFFFF;
    font-family: 'apLight', Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 100;
	line-height: 1.35em;
	letter-spacing: 2px;
	font-style: normal;
	font-weight: normal;
	text-rendering: optimizeLegibility;
}

.wrapper {
    max-width: 1270px;
	width: 96%;
    margin: 0 auto;
	padding: 0 2%;
}

.nowrapper {
    margin: 0;
	padding: 0;
}

/*	---------------------------------------------------------------------- */
/* 	fonts */
/*	---------------------------------------------------------------------- */

/* Headings */
h1, h2, h3, h4, h5 { font-style: normal; margin: 0; padding: 0; }
h1, h3 {
	font-family: 'apBold', Helvetica, Arial, sans-serif;
}
h1 {
	font-size: 3.888em;
	font-weight: 300;
	line-height: 1.1em;
}	
h2 {
	font-size: 3.888em;
	font-weight: 300;
	line-height: 1.1em;
}
h3 {
	font-size: 1em;
	font-weight: 300;
	line-height: 1.3em;
}
h4 {
	font-size: 1em;
	font-weight: 300;
	line-height: 1.3em;
}

p, pre { margin: 0 0 25px 0;}
p:last-child, pre:last-child { margin: 0;}
h1, h2, h3, h4 {
  	-moz-hyphens: manual;
  	-ms-hyphens: manual;
  	-webkit-hyphens: manual;
  	hyphens: manual;
}
p {
  	-moz-hyphens: auto;
  	-ms-hyphens: auto;
  	-webkit-hyphens: auto;
  	hyphens: auto;
}
b, strong { font-family: 'apBold', Helvetica, Arial, sans-serif; font-weight: normal; }

/* Anchors */
a, a:visited, a img, a img:visited {
	color: #081725;
	cursor: pointer;
	text-decoration: none;
	font-style: normal;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
}
a:hover, a:active {
	color: #F7505A;
	text-decoration: underline;
}
a img { border: none; }
a img:hover, a img:active {
	border: none;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
}
a:focus {
	-moz-outline-style: none;
	outline: none;
}

hr {
    display: block;
    height: 3px;
    border: 0;
    border-top: 3px solid #BBBBBB;
    margin: 0;
    padding: 0;
	width: 60px;
}

img {
    vertical-align: middle;
	max-width: 100%;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}
input, textarea { outline:none; }
input[type=text]:focus,
input[type=password]:focus {
  outline: 0 none;
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

::-moz-selection {
	background: #081725;
    color: #F7505A;
}
::selection {
    background: #081725;
    color: #F7505A;
}
::-webkit-selection {
	background: #081725;
	color: #F7505A;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/*	---------------------------------------------------------------------- */
/* 	layout */
/*	---------------------------------------------------------------------- */

/*	---------------------------------------------------------------------- */
/* 	main elements */
.header-container {
	background: url(../content/background/headerBg.png) repeat-x;
	background-position: left -66px;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
	-webkit-transition: all 500ms cubic-bezier(.3,0,.3,1);
	-moz-transition: all 500ms cubic-bezier(.3,0,.3,1);
    -ms-transition: all 500ms cubic-bezier(.3,0,.3,1);
    -o-transition: all 500ms cubic-bezier(.3,0,.3,1);
	transition: all 500ms cubic-bezier(.3,0,.3,1);
}

.image-container {
	background-color: #FFFFFF;
    display: block;
    height: 650px;
    overflow: hidden;
    position: relative;
	-webkit-transition: all 700ms ease-in;
	-moz-transition: all 700ms ease-in;
    -ms-transition: all 700ms ease-in;
    -o-transition: all 700ms ease-in;
	transition: all 700ms ease-in;
}
	@media only screen and (max-width: 1150px) { .image-container { height: 600px; } }
	@media only screen and (max-width: 1050px) { .image-container { height: 550px; } }
	@media only screen and (max-width: 1024px) { .image-container { height: 500px; } }
	@media only screen and (max-width: 900px) { .image-container { height: 400px; } }
	@media only screen and (max-width: 700px) { .image-container { height: 300px; } }
	@media only screen and (max-width: 550px) { .image-container { height: 200px; } }
	@media only screen and (max-width: 350px) { .image-container { height: 180px; } }

.monaLisa-container {
	position: relative;
}

.main-container {
	padding-top: 100px;
	padding-bottom: 100px;
}

.footer-container {
	background: #081725;
	color: #FFF;
	padding: 25px 0;
}

/*	---------------------------------------------------------------------- */
/* 	header */
.header-container.shadow {
	background-position: left 0px;
}
.header-content {
	position: relative;
}

/* 	navigation */
.nav-container {
	float: left;
}
.nav-container ul {
	display: block; 
    margin: 0;
    padding: 0;
	position: relative;
	list-style: none;
	list-style-image: none;
}
.nav-container ul li {
	float: left;
	margin: 0;
    padding: 0;
}
.nav-container a {
    color: #FFFFFF;
    display: block;
    height: 66px;
    line-height: 63px;
    padding: 0 25px;
    text-decoration: none;
}
.nav-container a:hover { color: #081725; }
.nav-container ul li.active a { color: #F7505A; }
.header-container.shadow .nav-container a:hover {
	background: #FFF;
    color: #081725;
}
/* 	toggle Menu */
.toggleMenu { display:  none; }

/* 	project switch */
.pager-container {
	float: right;
}
.pager-container ul {
	display: block; 
    margin: 0;
    padding: 0;
	position: relative;
	list-style: none;
	list-style-image: none;
}
.pager-container ul li {
	float: left;
	margin: 0;
    padding: 0;
}
.pager-container a {
    color: #FFFFFF;
    display: block;
    height: 66px;
    line-height: 63px;
    padding: 0 25px;
    text-decoration: none;
}
.pager-container a:hover { color: #081725; }
.header-container.shadow .pager-container a:hover {
	background: #FFF;
    color: #081725;
}
.pager-container a .arrow {
	background: url("../content/icons/pagerArrow.png") no-repeat;
    display: inline-block;
    height: 16px;
    position: relative;
    top: 2px;
    width: 16px;
	-webkit-transition: background 150ms ease-in;
	-moz-transition: background 150ms ease-in;
    -ms-transition: background 150ms ease-in;
    -o-transition: background 150ms ease-in;
	transition: background 150ms ease-in;
}
.pager-container a .arrow.previous {
	background-position: left top;
    margin: 0 10px 0 0;
}
.pager-container a .arrow.next {
	background-position: right bottom;
    margin: 0 0 0 10px;
}
.pager-container a:hover .arrow.previous { background-position: right top; }
.pager-container a:hover .arrow.next { background-position: left bottom; }

/*	---------------------------------------------------------------------- */
/* 	startpage */
.monaLisa-container .name {
	color: #FFFFFF;
	font-family: 'apBold', Helvetica, Arial, sans-serif;
	font-size: 3.333em;
    position: absolute;
    text-align: center;
    top: 48.5%;
    width: 100%;
	z-index: 10;
}

.monaLisa-container .scrollDown {
	position: absolute;
    text-align: center;
    bottom: 75px;
    width: 100%;
	z-index: 10;
}
.monaLisa-container .scrollDown a {
	background-image: url("../content/icons/scrollIt.png");
	background-repeat: no-repeat;
	background-position: 20px 20px;
	background-color: rgba(255,255,255,0.7);
    -webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	border-radius: 40px;
    display: block;
    height: 70px;
    margin: 0 auto;
    width: 70px;
	-webkit-transition: all 200ms cubic-bezier(.3,0,.3,1);
	-moz-transition: all 200ms cubic-bezier(.3,0,.3,1);
    -ms-transition: all 200ms cubic-bezier(.3,0,.3,1);
    -o-transition: all 200ms cubic-bezier(.3,0,.3,1);
	transition: all 200ms cubic-bezier(.3,0,.3,1);
}
.monaLisa-container .scrollDown a:hover {
	background-position: 20px 20px;
	background-color: rgba(247,80,90,1);
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

.row.portfolio { margin-bottom: 50px; }
.row.portfolio .portfolioImage { margin-bottom: 12px; width: 100%; }
.row.portfolio .portfolioName { }

.row.portfolio a .portfolioName, .row.portfolio a .portfolioImage {
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
}
.row.portfolio a .portfolioName {
	border-bottom: 1px solid #FFF;
	color: #081725;
	display: inline-block;
}
.row.portfolio a:hover .portfolioName {
	border-bottom: 1px solid #F7505A;
	color: #081725;
	text-decoration: none;
}
.row.portfolio a:hover .portfolioImage img { 
	-moz-opacity: 0.70;
	opacity: 0.70;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=70);
}

/*	---------------------------------------------------------------------- */
/*  project detail */
.projectMainImg{
	background: no-repeat fixed center center / cover;
	background-size: 100%;
	margin: 0 auto;
	padding: 0;
	height: 110%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: -5%;
    width: 100%;
    z-index: 10;
}

.row.projectDetail .column_2_1_2, .row.projectDetail .column_2_2_2 { margin-top: 7px; }
.row.projectDetail { margin-bottom: 150px; }
.row.projectImage { margin-bottom: 25px; }
.row.projectImage img.double.first { margin-bottom: 20px; }
.row.projectDetail .column_2_1_2 a, .row.projectDetail .column_2_2_2 a {
	border-bottom: 1px solid #FFF;
	color: #081725;
	display: inline-block;
}
.row.projectDetail .column_2_1_2 a:hover, .row.projectDetail .column_2_2_2 a:hover {
	border-bottom: 1px solid #F7505A;
	color: #081725;
	text-decoration: none;
}

/*	---------------------------------------------------------------------- */
/*  embed code */
.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	height: auto;
}
.embed-container iframe, .embed-container object, .embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*	---------------------------------------------------------------------- */
/*  more projects */
.more-container { 
	border-top: 1px solid #081725;
	margin: 100px 0 0 0;
}
.more-container h4 { margin: 12px 0 50px 0; }

.row.moreProjects { margin-bottom: 50px; }
.row.moreProjects .projectImage { margin-bottom: 12px; width: 99%; }
.row.moreProjects .projectName { }

.row.moreProjects a .projectName, .row.moreProjects a .projectImage {
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
}
.row.moreProjects a .projectName {
	border-bottom: 1px solid #FFF;
	color: #081725;
	display: inline-block;
}
.row.moreProjects a:hover .projectName {
	border-bottom: 1px solid #F7505A;
	color: #081725;
	text-decoration: none;
}
.row.moreProjects a:hover .projectImage img { 
	-moz-opacity: 0.70;
	opacity: 0.70;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=70);
}

/*	---------------------------------------------------------------------- */
/* 	rows - columns */
.column_1_3, .column_1_2, .column_2_3, .column_2_1_2 { float: left; }
.column_3_3, .column_2_2, .column_2_2_2 { float: right; }

.column_1_3, .column_2_3, .column_3_3 { width: 31.968%; }
.column_1_2, .column_2_2 { width: 48.976%; }
.column_2_1_2, .column_2_2_2 { width: 23.543%; }

.column_1_3, .column_1_2 { margin-right: 2.047%; }

/*	---------------------------------------------------------------------- */
/* 	footer */
.footer-content .column_1, .footer-content .column_2, .footer-content .column_3 {
	float: left;
	font-size: 1em;
	width: 23.543%;
}
.footer-content ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.footer-content ul li a {
	color: #FFF;
	border-bottom: 1px solid #081725;
}
.footer-content ul li a:hover {
	color: #FFFFFF;
	border-bottom: 1px solid #F7505A;
	text-decoration: none;
}
.footer-container .footerLine {
	color: #46515C;
	display: block;
	font-size: 0.7em;
	margin-top: 100px;
}

/*	---------------------------------------------------------------------- */
/* 	nprogress */
/*	---------------------------------------------------------------------- */

#nprogress {
	pointer-events: none;
}

#nprogress .bar {
	background: #F7505A;
	position: fixed;
  	z-index: 100;
  	top: 0;
  	left: 0;
	width: 100%;
	height: 4px;
}

#nprogress .peg {
	display: block;
	position: absolute;
	right: 0px;
	width: 100px;
	height: 100%;
	opacity: 1.0;
}

#nprogress .spinner {
	display: block;
	position: fixed;
	z-index: 100;
	top: 89px;
	right: 30px;
}

#nprogress .spinner-icon {
	width: 32px;
	height: 32px;
	box-sizing: border-box;
	border: solid 4px transparent;
  	border-top-color: #F7505A;
  	border-left-color: #F7505A;
  	border-radius: 50%;
	-webkit-animation: nprogress-spinner 400ms linear infinite;
    animation: nprogress-spinner 400ms linear infinite;
}

@-webkit-keyframes nprogress-spinner {
	0%   { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}
@keyframes nprogress-spinner {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/*	---------------------------------------------------------------------- */
/* 	responsive styles */
/*	---------------------------------------------------------------------- */

@media only screen and (max-width: 1024px) {
body { font-size: 16px; }
p, pre { margin-bottom: 20px; }

/* 	navigation */
.nav-container a { padding: 0 20px; }

/* 	startpage */
.image-container.index { height: 700px; }
.monaLisa-container .name { top: 47%; }
.monaLisa-container .scrollDown { bottom: 50px; }
.row.portfolio, .row.moreProjects { margin-bottom: 40px; }
.row.portfolio .portfolioImage, .row.moreProjects .projectImage { margin-bottom: 10px; }

/* 	project detail */
.main-container {
    padding-bottom: 80px;
    padding-top: 80px;
}
.row.projectDetail { margin-bottom: 100px; }
.row.projectImage { margin-bottom: 20px; }
.row.projectImage img.double.first { margin-bottom: 16px; }

/*  more projects */
.more-container { margin: 80px 0 0 0; }
.more-container h4 { margin: 10px 0 40px; }

/* 	footer */
.footer-container { padding: 20px 0; }
.footer-content .column_1, .footer-content .column_2, .footer-content .column_3 { width: 31.968%; }
.footer-content .column_1, .footer-content .column_2 { margin-right: 2.047%; }
.footer-container .footerLine { margin-top: 80px; }

}

@media only screen and (max-width: 768px) {

/* 	project detail */
.row.projectDetail .column_1_2 { width: 65.984%; }
.row.projectDetail .column_2_1_2, .row.projectDetail .column_2_2_2 { width: 31.968%; }
.row.projectDetail .column_1_2 { margin: 0; }
.row.projectDetail .column_2_1_2, .row.projectDetail .column_2_2_2 { clear: right; float: right; }
.row.projectDetail .column_2_2_2 { margin-top: 20px; }
.row.projectImage img.double.first { margin-bottom: 12px; }

/*  profile */
.row.profile .column_1_2, .row.profile .column_2_2 { width: 65.984%; }
.row.profile .column_1_2 { margin-bottom: 40px; margin-right: 0; }
.row.profile .column_2_2 { margin-right: 0; }

}

@media only screen and (max-width: 575px) {
body { font-size: 14px; }
.wrapper { width: 92%; padding: 0 4%; }
p, pre { margin: 0 0 15px 0;}
h1, h2 { font-size: 3em; }
#nprogress .spinner { display: none; }

.header-container {
	background: none;
	background-position: 0 0;
}
.header-container.shadow {
	background: rgba(8,23,37,0.9);
	background-position: 0 0;
}

/* 	navigation */
.nav-container { float: none; }
.nav-container a, .pager-container a { padding: 0 15px; }
.pager-container a {
    height: 52px;
    line-height: 50px;
}
.pager-container a .arrow {
	height: 9px;
    top: 0;
    width: 9px;
	background-size: 18px;
}
.pager-container a .arrow.previous { margin: 0 7px 0 0; }
.pager-container a .arrow.next { margin: 0 0 0 7px; }

/* 	toggleMenu */
.nav-container a.toggleMenu {
	background: url(../content/icons/navToggle.png) no-repeat scroll 15px 15px / 22px 22px;
	width: 22px;
	height: 22px;
	line-height: 0;
	margin: 0;
	padding: 15px;
	text-indent: -99999px;
}
.nav-container a.toggleMenu.active { background-color: rgba(8,23,37,0.9); }
.header-container.shadow .nav-container a.toggleMenu:hover { background: url(../content/icons/navToggle.png) no-repeat scroll 15px 15px / 22px 22px; }
.nav-container ul { background-color: rgba(8,23,37,0.9); }
.header-container.shadow .nav-container ul, .header-container.shadow .nav-container a.toggleMenu.active { background-color: transparent; }
.nav-container ul li { float: none; border-top: 1px solid #081725; }
.nav-container a {
	padding: 0 0 0 15px;
	height: 50px;
    line-height: 50px;
}
.header-container .nav-container ul.nav li a:hover {
	background: #FFF;
    color: #081725;
}

/* 	startpage */
.monaLisa-container .name { line-height: 1em; top: 35%; }
.monaLisa-container .scrollDown { bottom: 30px; }
.row.portfolio, .row.moreProjects { margin-bottom: 0; }
.row.portfolio .portfolioImage, .row.moreProjects .projectImage { margin-bottom: 5px; }

/* 	project detail */
.main-container {
    padding-bottom: 15px;
    padding-top: 66px;
}
.row.projectDetail { margin-bottom: 45px; }
.column_1_3, .column_1_2, .column_2_3, .column_2_1_2, .column_3_3, .column_2_2, .column_2_2_2, .row.projectDetail .column_1_2, .row.projectDetail .column_2_1_2, .row.projectDetail .column_2_2_2 {
	float: none;
	width: 100%;
	margin: 0 0 15px 0;
}
.row.projectImage .column_2_2, .row.projectDetail .column_2_2_2 { margin-bottom: 0; }
.row.projectImage, .row.projectImage img.double.first { margin-bottom: 15px; }
/*  more projects */
.more-container { margin: 45px 0 0 0; }
.more-container h4 { margin: 5px 0 30px; }

/*  profile */
.row.profile .column_1_2, .row.profile .column_2_2 { width: 100%; }
.row.profile .column_1_2, .row.profile .column_2_2 { margin-bottom: 15px; }

/* 	footer */
.footer-container { padding: 15px 0; }
.footer-content .column_1, .footer-content .column_2, .footer-content .column_3 {
	float: none;
	margin: 0 0 15px 0;
	width: 100%;
}
.footer-container .footerLine { margin-top: 30px; }
	
}

@media only screen and (max-width: 475px) {
	
}

/*	---------------------------------------------------------------------- */
/* 	helper classes */
/*	---------------------------------------------------------------------- */

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


.footer-content .column_1_2 hr:before, .footer-content .column_1_2 hr:after { content: " "; display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/*	---------------------------------------------------------------------- */
/* 	print help */
/*	---------------------------------------------------------------------- */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/*	---------------------------------------------------------------------- */
/* 	fontface */
/*	---------------------------------------------------------------------- */

@font-face {
	font-family: 'apLight';
    src: url('../fonts/apl.eot');
    src: url('../fonts/apl.eot?#iefix') format('embedded-opentype'),
         url('../fonts/apl.woff') format('woff'),
         url('../fonts/apl.ttf') format('truetype'),
         url('../fonts/apl.svg#apLight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'apBold';
    src: url('../fonts/apb.eot');
    src: url('../fonts/apb.eot?#iefix') format('embedded-opentype'),
         url('../fonts/apb.woff') format('woff'),
         url('../fonts/apb.ttf') format('truetype'),
         url('../fonts/apb.svg#apBold') format('svg');
    font-weight: normal;
    font-style: normal;
}