/* Generated by Font Squirrel (http://www.fontsquirrel.com) on August 11, 2014 */

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

@font-face {
    font-family: 'ubuntu';
    src: url('fonts/ubuntu/ubuntu-b-webfont.eot');
    src: url('fonts/ubuntu/ubuntu-b-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/ubuntu/ubuntu-b-webfont.woff') format('woff'),
         url('fonts/ubuntu/ubuntu-b-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'ubuntu';
    src: url('fonts/ubuntu/ubuntu-ri-webfont.eot');
    src: url('fonts/ubuntu/ubuntu-ri-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/ubuntu/ubuntu-ri-webfont.woff') format('woff'),
         url('fonts/ubuntu/ubuntu-ri-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'ubuntu';
    src: url('fonts/ubuntu/ubuntu-bi-webfont.eot');
    src: url('fonts/ubuntu/ubuntu-bi-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/ubuntu/ubuntu-bi-webfont.woff') format('woff'),
         url('fonts/ubuntu/ubuntu-bi-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'ubuntu_light';
    src: url('fonts/ubuntu/ubuntu-l-webfont.eot');
    src: url('fonts/ubuntu/ubuntu-l-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/ubuntu/ubuntu-l-webfont.woff') format('woff'),
         url('fonts/ubuntu/ubuntu-l-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ubuntu_light';
    src: url('fonts/ubuntu/ubuntu-li-webfont.eot');
    src: url('fonts/ubuntu/ubuntu-li-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/ubuntu/ubuntu-li-webfont.woff') format('woff'),
         url('fonts/ubuntu/ubuntu-li-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'ubuntu_light';
    src: url('fonts/ubuntu/ubuntu-m-webfont.eot');
    src: url('fonts/ubuntu/ubuntu-m-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/ubuntu/ubuntu-m-webfont.woff') format('woff'),
         url('fonts/ubuntu/ubuntu-m-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'ubuntu_light';
    src: url('fonts/ubuntu/ubuntu-mi-webfont.eot');
    src: url('fonts/ubuntu/ubuntu-mi-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/ubuntu/ubuntu-mi-webfont.woff') format('woff'),
         url('fonts/ubuntu/ubuntu-mi-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'ubuntu_condensed';
    src: url('fonts/ubuntu/ubuntu-c-webfont.eot');
    src: url('fonts/ubuntu/ubuntu-c-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/ubuntu/ubuntu-c-webfont.woff') format('woff'),
         url('fonts/ubuntu/ubuntu-c-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

@font-face {
	font-family: 'icomoon';
	src:url('fonts/icons/icomoon.eot?t16q4j');
	src:url('fonts/icons/icomoon.eot?#iefixt16q4j') format('embedded-opentype'),
		url('fonts/icons/icomoon.woff?t16q4j') format('woff'),
		url('fonts/icons/icomoon.ttf?t16q4j') format('truetype'),
		url('fonts/icons/icomoon.svg?t16q4j#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	vertical-align: middle;
	font-size: 30px;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-portfolio:before {
	content: "\e600";
}
.icon-envelope:before {
	content: "\e601";
}
.icon-mobile:before {
	content: "\e603";
}
.icon-search:before {
	content: "\e602";
}
.icon-menu:before {
	content: "\e605";
}
.icon-link:before {
	content: "\e604";
}
.icon-googleplus:before {
	content: "\e607";
}
.icon-facebook:before {
	content: "\e608";
}
.icon-linkedin:before {
	content: "\e60a";
}
.icon-file-pdf:before {
	content: "\e60b";
}
.icon-chrome:before {
	content: "\e60c";
}
.icon-mail:before {
	content: "\e60d";
}
.icon-user:before {
	content: "\e60e";
}
.icon-vcard:before {
	content: "\e606";
}
.icon-house:before {
	content: "\e609";
}
.icon-graph:before {
	content: "\e612";
}

/* Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

body {
	font-family: ubuntu, arial, sans-serif;
	font-size: 16px;
	color: #fff;
	background-color: #EC4F4F;
	line-height: 1.4;
}
 
a {
	text-decoration: none;
	color: inherit;
}

/* Quotes Rotator */

.cbp-qtrotator {
	position: relative;
	xmargin: 3em auto 5em auto;
	xmax-width: 800px;
	xwidth: 100%;
	xmin-height: 400px;
}

.cbp-qtrotator .cbp-qtcontent {
	position: absolute;
	top: 0;
	min-height: 100px;
	z-index: 0;
	opacity: 0;
	width: 100%;
	padding: 50px 25%;
	width: 100%;
	text-transform: uppercase;
	font-weight: bold;
	background: url(images/slogan.png) center bottom no-repeat;
	text-shadow:  4px  0px 0 #7f7165,
            4px  1px 0 #7f7165,
            3px  2px 0 #7f7165,
            3px  3px 0 #7f7165,
            2px  3px 0 #7f7165,
            1px  4px 0 #7f7165,

            0px  4px 0 #7f7165,
           -1px  4px 0 #7f7165,
           -2px  3px 0 #7f7165,
           -3px  3px 0 #7f7165,
           -3px  2px 0 #7f7165,
           -4px  1px 0 #7f7165,

           -4px  0px 0 #7f7165,
           -4px -1px 0 #7f7165,
           -3px -2px 0 #7f7165,
           -3px -3px 0 #7f7165,
           -2px -3px 0 #7f7165,
           -1px -4px 0 #7f7165,

            0px -4px 0 #7f7165,
            1px -4px 0 #7f7165,
            2px -3px 0 #7f7165,
            3px -3px 0 #7f7165,
            3px -2px 0 #7f7165,
            4px -1px 0 #7f7165;
}
.no-js .cbp-qtrotator .cbp-qtcontent {
	border-bottom: none;
}

.cbp-qtrotator .cbp-qtcontent.cbp-qtcurrent,
.no-js .cbp-qtrotator .cbp-qtcontent {
	position: relative; 
	z-index: 3;
	pointer-events: auto;
	opacity: 1;
}

.cbp-qtrotator .cbp-qtcontent:before,
.cbp-qtrotator .cbp-qtcontent:after {
	content: " ";
	display: table;
}

.cbp-qtrotator .cbp-qtcontent:after {
	clear: both;
}

.cbp-qtprogress {
	display: none;
}

.cbp-qtrotator blockquote {
	margin: 0;
	padding: 0;
}

.cbp-qtrotator blockquote p {
	font-size: 2em;
	color: #888;
	font-weight: 300;
	margin: 0.4em 0 1em;
}

.cbp-qtrotator blockquote footer {
	font-size: 1.2em;
}

.cbp-qtrotator blockquote footer:before {
	content: '― ';
}

.cbp-qtrotator .cbp-qtcontent img {
	float: right;
	margin-left: 3em;
}

/* Example for media query */
@media screen and (max-width: 30.6em) { 

	.cbp-qtrotator {
		font-size: 70%;
	}

	.cbp-qtrotator .cbp-qtcontent {
		padding: 30px 0;
	}

}


 /* General Styles */

header,
#home {
	text-align: center;
	position: relative;
}

#home {
	padding: 100px 20px;
	background: url(images/hearts.jpg) center 0 #7f7165;
	font-size: 30px;
}

#about {
	padding-top: 100px;
}

section {
	overflow: hidden;
}

h1 {
	text-shadow: 8px  0px 0 #7f7165,
            7px  4px 0 #7f7165,
            6px  2px 0 #7f7165,
            6px  6px 0 #7f7165,
            5px  6px 0 #7f7165,
            4px  7px 0 #7f7165,

            0px  8px 0 #7f7165,
           -4px  7px 0 #7f7165,
           -5px  6px 0 #7f7165,
           -6px  6px 0 #7f7165,
           -6px  5px 0 #7f7165,
           -7px  4px 0 #7f7165,

           -8px  0px 0 #7f7165,
           -7px -4px 0 #7f7165,
           -6px -5px 0 #7f7165,
           -6px -6px 0 #7f7165,
           -5px -6px 0 #7f7165,
           -4px -7px 0 #7f7165,

            0px -8px 0 #7f7165,
            4px -7px 0 #7f7165,
            5px -6px 0 #7f7165,
            6px -6px 0 #7f7165,
            6px -5px 0 #7f7165,
            7px -4px 0 #7f7165;
	xtext-shadow: 5px 5px 0 #7f7165, -3px -3px 0 #7f7165, 5px -5px 0 #7f7165, -5px 5px 0 #7f7165, 5px 5px 0 #7f7165;
	margin-bottom: 10px;
	font-family: pacifico;
	font-size: 100px;
	line-height: 1.2;
	font-weight: normal;
}

header em {
	display: block;
	font-style: normal;
	text-transform: uppercase;
	
	text-shadow:  4px  0px 0 #7f7165,
            4px  1px 0 #7f7165,
            3px  2px 0 #7f7165,
            3px  3px 0 #7f7165,
            2px  3px 0 #7f7165,
            1px  4px 0 #7f7165,

            0px  4px 0 #7f7165,
           -1px  4px 0 #7f7165,
           -2px  3px 0 #7f7165,
           -3px  3px 0 #7f7165,
           -3px  2px 0 #7f7165,
           -4px  1px 0 #7f7165,

           -4px  0px 0 #7f7165,
           -4px -1px 0 #7f7165,
           -3px -2px 0 #7f7165,
           -3px -3px 0 #7f7165,
           -2px -3px 0 #7f7165,
           -1px -4px 0 #7f7165,

            0px -4px 0 #7f7165,
            1px -4px 0 #7f7165,
            2px -3px 0 #7f7165,
            3px -3px 0 #7f7165,
            3px -2px 0 #7f7165,
            4px -1px 0 #7f7165;
}


header strong {
	display: inline-block;
	width: 70%;
	text-transform: uppercase;
}


nav {
	position: absolute;
	top: 100%;
	width: 100%;
	background-color: #333;
	font-size: 0pt;
	padding: 0 30px;
	z-index: 4;
}

nav.fixed {
	position: fixed;
	bottom: auto;
	top: 0;
}

	nav:before {
		content: "nav-before";
		position: absolute;
		top: 50%;
		left: 0;
		width: 100%;
		height: 1px;
		margin-top: -1px;
		background-color: #fff;
		font-size: 0pt;
		text-indent: -9999px;
	}

	nav > ul {
		position: relative;
		background: #333;
		display: inline-block;
		z-index: 5;
	}

nav li {
	position: relative;
	display: inline-block;
	padding: 20px 0;
	margin-right: 50px;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
}

nav li:first-child {
	margin-left: 50px;
}

nav li.current:after {
	content: "heart";	
	position: absolute;
	bottom: -10px;
	left: 50%;
	margin-left: -11px;
	width: 23px;
	height: 21px;
	font-size: 0pt;
	text-indent: -99999px;
	background: url(images/current.png) no-repeat;
}

nav a {
	transition: color .2s;
	-moz-transition: color .2s;
	-webkit-transition: color .2s;
	-o-transition: color .2s;
}

nav a:hover {
	color: #EC4F4F;
}

.wrap {
	overflow: hidden;
	margin: 0 auto;
	padding: 100px;
	max-width: 1366px;
	width: 100%;
}

h2 {
	font-size: 70px;
	line-height: 1;
	text-transform: uppercase;
}

	h3 {
		margin: 20px 0;
		font-size: 40px;
		text-transform: uppercase;
		color: #838383;
	}

	h4 {
		font-size: 30px;
		text-transform: uppercase;
		line-height: 1;
	}

	h5 {
		margin-bottom: 10px;
		font-size: 18px;
		text-transform: uppercase;
		font-family: ubuntu_light;
		font-weight: normal;
	}

.subheading {
	font-size: 18px;
	text-transform: uppercase;
	margin-bottom: 20px;
}

section ul {
	margin-left: 20px;
	list-style-image: url(images/bullet_red.png);
}
/*#about {
	background: url(images/hearts_r.jpg) fixed 0 0;
}*/

#home .wrap {
	padding: 0;
	margin: 0 auto;
}

#about figure {
	overflow: hidden;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	float: left;
	margin-right: 20px;
}

#about figure img {
	display: block;
	width: 100%;
	height: auto;
}

#about .wrap div {
	overflow: hidden;
}

.cv_link {
	display: inline-block;
	margin-right: 50px;
	padding-bottom: 1px;
	line-height: 2.5;
	font-weight: bold;
	font-size: 18px;
	vertical-align: middle;
	transition: color .2s;
	-webkit-transition: color .2s;
	-moz-transition: color .2s;
}

.cv_link:hover {
	padding-bottom: 0;
	border-bottom: 1px dotted #fff;
}
dd,dt {
	float: left;
}

dt {
	clear: left;
	margin-right: 5px;
}

dl {
	clear: both;
	overflow: hidden;
}

	#resume {
		background-color: #fff;
		color: #333;
	}

	.timeline strong {
		xcolor: #EC4F4F;
	}

	#skills,
	#contact {
		background: url(images/pattern.jpg) #333;
	}

	.skill_group {
		width: 50%;
		float: left;
	}

	.skill_group h3 {
		color: #fff;
		font-size: 24px;
	}

	.skill_group span {
		display: block;
		background: #797979;
		border: 2px solid #797979;
		height: 33px;
		line-height: 33px;
		vertical-align: middle;
		padding: 0 10px;
		margin-bottom: 2px;
		transition: border-color .5s;
		-webkit-transition: border-color .5s;
		-moz-transition: border-color .5s;
		cursor: default;
		white-space: nowrap;
		overflow: hidden;
	}

	.skill_group .tech_skills {
		background: #EC4F4F;
		border-color: #EC4F4F;
	}

	.skill_group span:hover {
		border-color: #fff;
	}

	#portfolio {
		background: #fff;
		/*background: url(images/hearts_w.jpg) #fff center center;*/
		color: #EC4F4F;
	}

	.filter a {
		display: inline-block;
		margin-right: 20px;
		font-weight: bold;
		font-size: 30px;
		text-transform: uppercase;
		color: #838383;
		transition: color .5s;
		-webkit-transition: color .5s;
		-moz-transition: color .5s;
	}

	.filter a.active:hover,
	.filter a.active {
		color: #EC4F4F;
		cursor: default;
	}
	.filter a:hover {
		color: #333;
	}

	#contact h2 {
	}

	.social * span {
		font-size: 40px;
		margin: 5px;
	}

	.social {
		display: table;
		margin: 20px 0;
	}

	.social > * {
		width: 125px;
		height: 125px;
		display: table-cell;
		text-align: center;
		vertical-align: middle;
		transition: all .5s;
		-webkit-transition: all .5s;
		-moz-transition: all .5s;
	}
	.social > *:hover {
		background: #fff;
	}
	.mail {
		background: #EC4F4F;
	}
	.social > .phone {
		width: auto;
		font-size: 20px;
		padding: 0 20px;
		text-align: left;
	}
	.phone {
		background: #797979;
	}
	.qr {
		background: #fff;
	}
	.qr img {
		display: block;
		max-width: 100%;
	}
	.linkedin {
		background: #4594d1;
	}
	.linkedin:hover {
		color: #4594d1;
	}
	.phone:hover {
		color: #797979;
	}
	.mail:hover {
		color: #EC4F4F;
	}

	.gallery {
		position: relative;
		overflow: hidden;
	}
	.overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		z-index: 4;
		background: rgba(51,51,51,0.5);
	}
	.gallery .details {
		display: none;
		position: fixed;
		top: 50px;
		left: 50px;
		bottom: 50px;
		right: 50px;
		padding: 20px;
		background-color: #fff;
		z-index: 4;
		color: #888;
	}

	.gallery .details .img_holder {
		width: 60%;
		height: 100%;
		overflow: scroll;
		float: left;
		margin-right: 20px;
	}
	.gallery .details .img_holder img {
		position: static;
		display: block;
		width: 100%;
		height: auto;
	}

	.gallery .details h3 {
		color: #ec4f4f;
		line-height: 1;
	}

	.gallery .details .close {
		position: absolute;
		top: 0;
		right: 0;
		width: 40px;
		height: 40px;
		background: #ec4f4f url(images/mobile_icon.gif) center -39px no-repeat;
		font-size: 0pt;
		text-indent: -9999px;
		cursor: pointer;
	}
	.gallery figure {
		position: relative;
		float: left;
		width: 32%;
		height: 300px;
		overflow: hidden;
		margin: 1% 2% 1% 0;
		border: 1px solid #ccc;
		transition: border-color .5s;
		-webkit-transition: border-color .5s;
		-moz-transition: border-color .5s;
	}

	.gallery figure:hover {
		border-color: #EC4F4F;
	}

	.gallery img {
		width: 100%;
		position: absolute;
		top: 0;
		left: 0;
		bottom: auto;
		height: auto;
	}

	.gallery .above {
		z-index: 1;
	}

	.gallery figure:hover .info_button {
		opacity: 1;
	}

	.gallery .info_button {
		position: absolute;
		bottom: 0;
		right: 0;
		width: 50px;
		height: 50px;
		line-height: 50px;
		vertical-align: middle;
		text-align: center;
		z-index: 2;
		background: #EC4F4F;
		color: #fff;
		cursor: pointer;
		opacity: 0;
		transition: opacity .5s;
		-moz-transition: opacity .5s;
		-webkit-transition: opacity .5s;
	}

	.details .description a {
		color: #ec4f4f;
	}
	.details .description a:hover {
		text-decoration: underline;
	}

	.gallery .info_button + .info_button {
		left: 0;
		right: auto;
	}

	.gallery .scroll {
		transition: all .5s;
		-webkit-transition: all .5s;
		-moz-transition: all .5s;
	}

	#cookies .above {
		opacity: 0;
		transition: opacity .5s .5s;
		-moz-transition: opacity .5s .5s;
		-webkit-transition: opacity .5s .5s;
	}
	#cookies:hover .above {
		opacity: 1;
	}

	.copyright {
		font-size: 12px;
	}

@media (max-width: 1024px) {

	.phone {
		line-height: 30px;
	}

	section {
		padding: 80px;
	}

	h1 {
		font-size: 80px;
	}

	h2 {
		font-size: 50px;
	}

	h3 {
		font-size: 35px;
	}

	header em {
		font-size: 20px;
	}

	header strong {
		width: 100%;
	}

	#about figure {
		max-width: 40%;
	}

	.wrap {
		padding: 0;
	}

	.fix {
		overflow: hidden;
	}

	nav {
		padding: 0;
	}

	nav li {
		font-size: 14px;
		padding: 15px 0;
		margin-right: 30px;
	}

	nav li:first-child {
		margin-left: 30px;
	}

	.skill_group span {
		font-size: 14px;
		line-height: 30px;
		height: 30px;
		padding: 0 5px;
	}
	.filter a {
		margin-right: 20px;;
		font-size: 20px;
	}
	.gallery .details {
		top: 15px;
		right: 15px;
		bottom: 15px;
		left: 15px;
	}
	.details .description {
		font-size: 12px;
	}
}

@media (min-width: 769px) {

	.gallery figure:nth-child(3n + 2) {
		float: right;
		margin-right: 0;
	}

	#home .wrap {
		background: url(images/intro_bg.png) center top no-repeat;
	}
}

@media (max-width: 768px) {

	section {
		padding: 50px 20px;
	}
	#home {
		padding: 50px 20px 100px 20px;
	}

	h1 {
		font-size: 50px;
	}

	header em {
		font-size: 16px;
	}

	h2 {
		font-size: 40px;
	}

	header strong {
		font-size: 20px;
	}

	nav li {
		font-size: 14px;
		padding: 15px 0;
		margin-right: 15px;
	}

	nav li:first-child {
		margin-left: 15px;
	}

	h3 {
		font-size: 30px;
	}

	h4 {
		font-size: 25px;
	}

	.skill_group {
		float: none;
		width: 100%;
	}
	.social {
		display: table;
		width: 100%;
	}
	.social > * {
		width: 100px;
		height: 100px;
	}
	.social > .phone {
		padding: 0 10px;
	}
	.gallery figure {
		width: 49%;
	}
	.gallery figure:nth-child(2n) {
		float: right;
		margin-right: 0;
	}
	.qr {
		display: none;
	}
	.gallery .details {
		max-height: none;
		top: 10px;
		left: 10px;
		bottom: 10px;
		right: 10px;
	}
	.gallery .details .img_holder {
		width: 100%;
		height: 60%;
		float: none;
	}
}

@media (min-width: 481px) {

	nav a span,
	nav .mobile_icon {
		display: none;
	}

	.timeline {
		position: relative;
		padding: 36px 0 20px 200px;
	}

	time:before {
		position: absolute;
		right: -10px;
		top: 50%;
		margin-top: -10px;
		content: "triangle";
		font-size: 0pt;
		text-indent: -9999px;
		width: 0;
		height: 0;
		border-left: 10px solid #d1d7da;
		border-top: 10px solid transparent;
		border-bottom: 10px solid transparent;
	}

	.timeline time {
		position: absolute;
		display: table;
		background-color: #d1d7da;
		color: #838383;
		left: 0;
		top: 0;
		width: 104px;
		height: 104px;
		font-size: 24px;
		font-weight: bold;
		text-align: center;
	}

	.timeline time span {
		display: table-cell;
		vertical-align: middle;
	}

	.timeline:before {
		position: absolute;
		top: 0;
		left: 0;
		content: 'line';
		width: 149px;
		height: 100%;
		border-right: 1px solid #EC4F4F;
		font-size: 0pt;
		text-indent: -9999px;
	}

	.timeline h4 {
		position: relative;
	}
	
	.timeline h4:before {
		content: "circle";
		position: absolute;
		left: -69px;
		top: 0;
		width: 30px;
		height: 30px;
		background: #fff;
		border: 3px solid #EC4F4F;
		border-radius: 50% 50%;
		font-size: 0pt;
		text-indent: -9999px;
	}
	.timeline h4:after {
		content: "circle";
		position: absolute;
		left: -51px;
		top: 18px;
		width: 0;
		height: 0;
		background: #EC4F4F;
		border-radius: 50% 50%;
		font-size: 0pt;
		text-indent: -9999px;
		transition: all .5s;
		-moz-transition: all .5s;
		-webkit-transition: all .5s;
	}

	.timeline:hover h4:after {
		left: -61px;
		top: 8px;
		width: 20px;
		height: 20px;
	}
}

@media (max-width: 480px) {

	#home {
		background-attachment: scroll;
		border-radius: 0 0 50% 50%;
	}
	nav {
		position: fixed;
		top: 0;
		left: 0;
		width: auto;
	}
	#about figure {
		float: none;
		margin: 0 auto 20px;
		max-width: 271px;
		width: 100%;
	}

	nav.opened ul {
		display: block;
	}

	nav ul {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(51,51,51,.9);
		padding-top: 15px;
	}
	
	nav li {
		display: block;
		text-align: left;
		padding: 0;
		margin: 0;
		background-color: transparent;
	}

	nav li:first-child {
		margin-left: 0;
	}

	nav a {
		display: block;
	}

	nav a span {
		display: inline-block;
		padding: 5px 15px;
		margin-right: 15px;
		border-right: 1px solid #666;
		width: 40%;
		text-align: right;
	}

	nav li.current:after {
		content: none;
	} 

	nav .mobile_icon {
		display: block;
		width: 40px;
		height: 35px;
		position: fixed;
		top: 0;
		left: 0;
		cursor: pointer;
		z-index: 6;
		background-color: #EC4F4F;
		text-align: center;
		background: url(images/mobile_icon.gif) #EC4F4F top no-repeat;
		transition: background-position .2s;
		-webkit-transition: background-position .2s;
		-moz-transition: background-position .2s;
	}

	nav.opened > ul {
		display: block;
	}

	nav.opened .mobile_icon {
		background-position: bottom;
	}

	nav .mobile_icon span {
		font-size: 32px;
	}
	.timeline {
		padding-bottom: 50px;
	}

	.timeline h4 {
		color: #EC4F4F;
	}
	.timeline time {
		font-size: 12px;
	}
	.skill_group span {
		font-size: 12px;
		line-height: 25px;
		height: 25px;
		padding: 0 3px;
	}
	.social > * {
		width: 50px;
		height: 50px;
	}
	.social * span {
		font-size: 20px;
	}
	.social > .phone {
		font-size: 12px;
		padding: 0;
	}
	.gallery h3 {
		font-size: 16px;
	}
	.gallery .details {
		font-size: 10px;
	}
}

@media (max-width: 320px) {
	.gallery figure,
	.gallery figure:nth-child(2n) {
		width: 100%;
		margin: 10px 0;
		float: none;
	}
}
