/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video { margin:0; padding:0; border:0; font-size:100%; font:inherit; vertical-align:baseline; }
img { border:0 none; }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

a {
	text-decoration: underline;
	color:#444;
}

a:hover {
	color:#B02828;
}

em { 
	font-weight:600;
}

html,body {
	font-family:"Arbutus Slab", "Times New Roman", serif;
	width:100%;
	height:100%;
	overflow:hidden;
}


#main {
	height:100%;
	background: #0D0202;
	color:#0D0202;
  
	background: -webkit-radial-gradient( circle, #0D0202 0%, #0D0202 70%, #370D0D 95% );
	background:    -moz-radial-gradient( circle, #0D0202 0%, #0D0202 70%, #370D0D 95% );
	background:     -ms-radial-gradient( circle, #0D0202 0%, #0D0202 70%, #370D0D 95% );
	background:      -o-radial-gradient( circle, #0D0202 0%, #0D0202 70%, #370D0D 95% );
	background:         radial-gradient( circle, #0D0202 0%, #0D0202 70%, #370D0D 95% );
}

/**NAV**/
nav {
	position:absolute;
	bottom:15px;
	width:100%;
	z-index:100;
}

nav > ul {
	text-align:center;
}

nav > ul > li{
	display: inline;
	margin:20px 20px 0 20px;
}


.navlink {
	font-size:1.5em;
	color: #FFF;
	/*font-weight: bold;*/
	text-decoration:none;
	
	-webkit-transition: color 0.2s ease;
	-moz-transition: color 0.2s ease;
	-ms-transition: color 0.2s ease;
	-o-transition: color 0.2s ease;
	transition: color 0.2s ease;
}

.navlink:hover {
	color: rgba(176, 40, 40, 0.9);
	
	-webkit-transition: color 0.5s ease;
	-moz-transition: color 0.5s ease;
	-ms-transition: color 0.5s ease;
	-o-transition: color 0.5s ease;
	transition: color 0.5s ease;
}

.navlink.active {
	text-decoration: underline;
}

/**CARD**/

.card {
	background-image:url("../img/frame.png");
	/*border-radius: 4px;
	background-color:#FFFFFF;
	box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);*/
	
	position:absolute;
	width:640px;
	height:380px;
	margin: -230px 0 0 -320px;
}

.card.vertical {
	width:380px;
	height:640px;
	margin: -320px 0 0 -190px;
}

.card.behind {
	transform:rotate(-3deg);
	-ms-transform:rotate(-3deg);
	-moz-transform:rotate(-3deg);
	-webkit-transform:rotate(-3deg) translate3d( 0, 0, 0);
	-o-transform:rotate(-3deg);
		
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.card_content {
	margin:25px 32px 10px 32px;
	position:relative;
	height:100%;
	width:100%;
}
/*
.card:before {	
	content:"GB";
	font-size:15em;
	color: #E7E2E2;
	font-weight:bold;
	position:absolute;
	bottom:50px;
	left:-60px;
	
	transform:rotate(-90deg);
	-ms-transform:rotate(-90deg);
	-moz-transform:rotate(-90deg);
	-webkit-transform:rotate(-90deg) translate3d( 0, 0, 0);
	-o-transform:rotate(-90deg);
}
*/
.card.vertical:before {
	left:0px;
	bottom:-40px;
	
	transform:rotate(180deg);
	-ms-transform:rotate(180deg);
	-moz-transform:rotate(180deg);
	-webkit-transform:rotate(180deg) translate3d( 0, 0, 0);
	-o-transform:rotate(180deg);
}

/*left cards*/
section {
	position:absolute;
	top:50%;
	left: -100%;
	
	-webkit-transition: left 0.8s ease-in-out;
	-moz-transition: left 0.8s ease-in-out;
	-o-transition: left 0.8s ease-in-out;
	-ms-transition: left 0.8s ease-in-out;
	transition: left 0.8s ease-in-out;
}

/*current section*/
section.current {
	left:50%;
}

/*right cards*/
section.current ~ section,
section.current + section,
section.current + section + section{
	left: 200%;
}

#main h2, #main h3 {
	display: none;
}


/**HOME**/

address {
	color: #666;
	line-height:2em;
}
address > span {
	margin-right: 20px;
}

h1 {
	font-weight:bold;
	font-size: 1.5em;
	padding-left:20px;
}

strong {
	font-weight: bold;
}

#contact {
	top: 0px;
	z-index:2;
	transform:rotate(1deg);
	-ms-transform:rotate(1deg);
	-moz-transform:rotate(1deg);
	-webkit-transform:rotate(1deg) translate3d( 0, 0, 0);
	-o-transform:rotate(1deg);
}

.motivation {
	display:block;
	width:570px;
	margin-top : 30px;
	font-size: .9em;
}

.quote_source {
	float:right;
	font-style: italic;
	color: #666;
	margin-top:15px;
}

#dispo {
	z-index:1;
	top: 20px;
}

#dispo:hover {
	top: 60px;
	
}

.dispo {
	position:absolute;
	left:35px;
	bottom : 42px;
	font-size:1.2em;
	color: #B02828;/*8F3A5F;*/
}


/**SKILLS**/

#meters {
	transform:rotate(-2deg);
	-ms-transform:rotate(-2deg);
	-moz-transform:rotate(-2deg);
	-webkit-transform:rotate(-2deg) translate3d( 0, 0, 0);
	-o-transform:rotate(-2deg);
}

.meter {
	font-size:1.5em;
	float:right;
	margin-top: -6px;
	color:#B02828;
}

#meters ul {
	margin-bottom:2em;
}

#meters li {
	margin-bottom:10px;
	clear:both;
	font-weight: bold;
}

#meters .card_content {	
	padding:7px 0px 20px 20px;
	width:530px;
}

/**REFS**/
#experience > .card.behind {
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	-ms-transition: none;
	transition: none;
}

a.ref {
	clear:left;
	display:block;
	margin-bottom:10px;
	
	-webkit-transition: color 0.3s ease;
	-moz-transition: color 0.3s ease;
	-ms-transition: color 0.3s ease;
	-o-transition: color 0.3s ease;
	transition: color 0.3s ease;
}

a.ref > img {
	float:left;
	vertical-align:middle;
	border: solid 3px white;
	box-shadow: 0px 0px 1px #666; 
	margin-bottom:8px;
	/*width:190px;
	height:98px;*/
}

a.ref:hover >img {
	border: solid 3px #B02828;
	
	-webkit-transition: border 0.3s ease;
	-moz-transition: border 0.3s ease;
	-ms-transition: border 0.3s ease;
	-o-transition: border 0.3s ease;
	transition: border 0.3s ease;
}

a.ref > span {
	text-align:justify;
	float:left;
	margin-left:10px;
	width:340px;
}

/**CARD TRICK**/
.cart-trick-nav {
	position:absolute;
	left: 400px;
	top: -50px;
}

.cart-trick-nav > a{
	width:500px;
	display:block;
	font-weight:bold;
	text-decoration:none;
}

.cart-trick-nav > a.card-previous,
.cart-trick-nav > a.card-next{
	position:absolute;
	left: -30px;
	width:auto;
	margin:0;
}

.cart-trick-nav > a.card-previous {
	top:-60px;
}

.cart-trick-nav > a.card-next {
	bottom:-60px;
}

.cart-trick-nav > a.card-previous:hover {
	margin: -5px 0 0 0;
}

.cart-trick-nav > a.card-next:hover {
	margin: 0 0 -5px 0;
}

.cart-trick-nav > a:hover {
	
	-webkit-transition: margin 0.3s ease;
	-moz-transition: margin 0.3s ease;
	-ms-transition: margin 0.3s ease;
	-o-transition: margin 0.3s ease;
	transition: margin 0.3s ease;
}

.dimmed-title {
	color:#3A0E0E;
}

.current-title {
	color:#B02828;
}


/**CONTACT-POP**/
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
}

#contact-pop-overlay {
    width: 100%;
    min-height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: url('../img/overlay.png') repeat 0 0;
    display: none;
    text-align: center;
    z-index: 1000;
}

#contact-pop-panel-wrapper {
    margin: 10% auto 0 auto;
    width: 350px;
    background: #FFF;
}

#contact-pop-panel {
    min-height: 200px;
    padding-bottom: 10px;
    margin: 0 auto;
    position: relative;
}

#contact-pop-header {
    min-height: 30px;
    line-height: 30px;
    padding: 0 20px;
    margin-bottom: 10px;
    background-color: #777;
    color: #FFF;
    font-weight: bold;
    font-size: 16px;
    text-align: left;
}

#contact-pop-header .close-overlay {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: url('../img/close-overlay.png') no-repeat 1px 1px;
    overflow: hidden;
    text-indent: -2000px;
    outline: none;
}

#contact-pop-panel .formItem {
    margin: 7px 20px 7px 20px;
    text-align: left;
}

#contact-pop-error {
    color: red;
    padding-bottom: 10px;
    font-size: 80%;
}

#contact-pop-panel label {
    padding: 0 10px 0 0;
    margin: 0;
    display: inline;
}

#contact-pop-panel .inputText {
    width: 200px;
    padding: 2px 5px;
}

#contact-pop-panel textarea {
    width: 300px;
    margin-top: 5px;
    padding: 5px;
}

#contact-pop-panel .close-overlay {
    font-size: 12px;
    outline: none;
}

#contact-pop-loading-gif-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
}

#contact-pop-loading-gif {
    margin: 132px auto 0 auto;
}


/****** ie6 stuff ********/

* html #contact-pop-overlay {
    background-image: url('../img/overlay-ie6.png');
    height: 100%;
    position: absolute;
}

* html #contact-pop-panel {
    height: 200px;
}

* html #contact-pop-header {
    height: 30px;
}

* html #contact-pop-header .close-overlay {
    background-image: url('../img/close-overlay-ie6.png');
}