/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
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;
}

img,
.overlay-bg {
    -ms-interpolation-mode:bicubic;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

/*end reset css code*/

/****************************************GENERAL****************************************/
/*old pink #ff3366*/
/*new pink #ee005f*/

body {
	background-color: #f8f8f8;
	background-color: #333;
	background-color: #fff;
	font-family:sans-serif;
	font-family: 'MuseoSlab300';
/*	font-family:'NeuzeitGro-Reg';*/
	font-size: 14px;
}
a {
	text-decoration: none;	
}
body, a{
	color: #333;
}
ul{
	list-style-type: none;
}
p{
	line-height:17px;
}
.wrapper {
    width: 960px;
    margin: 0 auto;
    position: relative;
}
.replace {
    text-indent: 200%;
    overflow: hidden;
    white-space: nowrap;
/*    display: block;*/
/*    width: 100%;*/
/*    height: 100%;*/
}

/****************************************HEADER****************************************/

#header-wrapper {
/*	border-top:5px solid #333;*/
	background-color: #fff;
}
#header {
	padding:40px 0 4px 0;
	margin:0 10px 0px 10px;
	border-bottom: 1px dotted #ee005f;
}
.flash #header {
	border-color:#339999;
}
#header h1 a{
    float: left;
/*	font-size: 45px;*/
/*	line-height:40px;*/
	background: transparent url("images/name7.png") no-repeat top left;
    width: 400px;
    height: 55px;
    background-size: 400px 55px;
	
	background: transparent url("images/nameA.png") no-repeat top left;
    width: 383px;
    height: 45px;
    background-size: 383px 45px;
	
	background: transparent url("images/nameB.png") no-repeat top left;
    width: 393px;
    height: 45px;
    background-size: 393px 45px;
	
	/*background: transparent url("images/nameB2.png") no-repeat top left;
	    width: 402px;
	    height: 90px;
	    background-size: 402px 90px;*/
		
		/*background: transparent url("images/nameA2.png") no-repeat top left;
		    width: 377px;
		    height: 90px;
		    background-size: 377px 90px;*/
}
#header h1 a {
/*	color: #b2b2b2;*/
/*	color: #ee005f;*/
}
.flash #header h1 a {
/*	color: #339999;*/
}
#header li {
	font-family: 'MuseoSlab700';
	font-size: 14px;
    float: right;
	margin:24px 0 0 10px;	
}
#header li a {
	color: #b2b2b2;
	padding:3px 10px;
	border-radius:20px;
}
#header li a:hover {
	color: white;
	background-color: #339999;
}
.flash #header li a:hover {
	background-color: #ee005f;
}
#header li.active a{
	background-color: #ee005f;
	color: white;
}
#header li.active a:hover{
	background-color: #ff4c66;
}
.flash #header li.active a{
	background-color: #339999;
}

/****************************************FOOTER****************************************/

#footer-wrapper {
/*  position: fixed;*/
    left: 0;
    bottom: 0;
    z-index: 5;
    width: 100%;
	background-color: #333;
	color:white;
}
#footer {
	padding:20px 10px 30px 10px;
}
#footer h5{
	font-size: 18px;
	color:#ee005f;
	margin-bottom:4px;
}
.flash #footer h5{
	color:#339999;
}
#footer p, #footer ul{
	margin-bottom:20px;
	color:white;
}
#footer div {
	float:left;
}
#footer div:first-child {
	margin-right:90px;
}
#footer li {
	display:inline;
	margin-right:20px;
	line-height:17px;
}
#footer a:hover {
	border-bottom: 1px dotted #ee005f;
	color:white;
}
#footer li:first-child a:hover {
	border-bottom: none;
	color:#b1b1b1;
}
.flash #footer a:hover {
	border-color: #339999;
}
#footer a {
	color:#b1b1b1;
}
#footer h6{
	font-size: 10px;
	margin:15px 0 50px 0;
}

/**************************************** HOMEPAGE****************************************/

#content-wrapper {
    padding: 40px 0;
    position: relative;
	background-color: #fff;
	min-height:500px;
}
.intro{
/*	background-color:#333;*/
/*	color:#ccc;*/
	font-size:17px;
	line-height:22px;
	margin:0 10px 40px 10px;
	color:#333;
}
.intro a {
	color:#ee005f;
/*	font-weight:bold;*/
}
.intro a:hover {
	border-bottom: 1px dotted #ee005f;
	color:#333;
}

/****************************************PORTFOLIO****************************************/

#folio a {
	display: block;
	position: relative;
	margin:0 10px 20px 10px;
	float:left;
	width:300px;
	height:220px;
	position:relative;
}
#folio a.hero {
	width:620px;
/*	height:460px;*/
}
#folio a.hero img{
	width:100%;
	height:100%;
}
#folio .caption {
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
}
#folio h3 {
	color:white;
	font-size: 19px;
	background-color:#ee005f;
	padding:3px 7px 2px 7px;
	display:inline-block;
}
#folio .active h3 {
	background-color: #ff4c66;
}
.flash #folio h3 {
	background-color:#339999;
}
.flash #folio h4, .flash #folio .active h4 {
	border-color:#339999;
}
#folio h4 {
	font-size: 13px;
	line-height: 15px;
	color:black;
	background-color:#f0f0f0;
	border-top: 2px solid #ee005f;
	padding:5px 7px 7px 7px;
/*	max-width:90%;*/
/*	-webkit-box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.2);*/
/*	display:none;*/
}
#folio .active h4 {
	border-color: #ff4c66;
	background-color:#ebebeb;
/*	display: block;*/
}
#folio .shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.2);
/*	-webkit-box-shadow:inset 0 0 140px 100px rgba(0,0,0,0.2);*/
}

/****************************************PROJECTS****************************************/

#project {
	padding-left:10px;
}
#project .copy{
	float:right;
	margin-bottom:40px;
}
#project .copy b{
	font-family: 'MuseoSlab700';
/*	color:#999;*/
}
#project .anim {
	position:relative;
}
#project img, #project canvas, #project iframe {
	display:block;
	margin-bottom:30px;
}
#project .flash {
	position:relative;
	left:0;
	top:0;
	float:left;
	padding:0 20px 20px 0;
}
#project h3 {
	font-size: 28px;
	line-height:30px;
}
#project a {
	color: #ee005f;
	border-bottom: 1px dotted #ee005f;
	font-family: 'MuseoSlab700';
}
.flash #project a {
	border-color: #339999;
	color: #339999;
}
#project a:hover {
	color: #ff4c66;
	color: #000;
}
.flash #project a:hover  {
/*	color: #339999;*/
}
#project p {
	margin:15px 0 20px 0;
}

/****************************************PROJECT SPECIFIC****************************************/

#project.grl .copy{
	width:214px;
}
#project.diesel .copy{
	float:none;
	width:453px;
}
#project.diesel .copy-holder{
	float:right;
}
.wrapper.bafta {
/*    width: 1200px;*/
}
#project.bafta .copy{
	width:230px;
	position:absolute;
    top: 90px;
    right: 10px;
	padding:20px 20px 10px 25px;
	background-color:#333;
	background-color:rgba(255,255,255,0.95);
	background-color:white;
	z-index:5;
	-webkit-box-shadow: -4px 0 4px 0 rgba(0,0,0,0.2);
	-moz-box-shadow: -4px 0 4px 0 rgba(0,0,0,0.2);
	box-shadow: -4px 0 4px 0 rgba(0,0,0,0.2);
}
#project.obb .copy, #project.mavi .copy, #project.splat .copy{
	width:220px;
}
#project.betc .copy{
	width:155px;
}
#project.twitterwall .copy{
	width:355px;
}

#project.disneyfi .copy, #project.skype .copy{
	width:450px;
}
#project.unlimited .copy, #project.balloonacy .copy{
	width:310px;
}
#project.disneyeb .copy, #project.itunes .copy {
	width:490px;
}
#project.itunes .flash:nth-last-child(2), #project.itunes .flash:last-child {
	float:none;
}
#project.orangeweds .copy{
	width:220px;
}
#project.orangeweds .flash {
	position:absolute;
	left:400px;
	top:150px;
	float:none;
	padding:0;
}
#project.hsbc .copy{
	width:600px;
}
#project.hsbc .flash{
	margin-bottom:30px;
}

/****************************************NAV****************************************/

#nav-wrapper .wrapper{
	width: 100%;
}
#nav-wrapper {
    position: fixed;
    left: 0;
    top: 400px;
    z-index: 5;
    width: 100%;
}
#nav li {
	margin:0 2%;
}
#nav li.next{
	float:right;
}
#nav a {
	border-radius:20px;
	font-size:30px;
	color:white;
	background-color: #b2b2b2;
	background-color: #ee005f;
	padding:1px 11px 4px 11px;
/*	color:#ee005f;*/
/*	font-size:60px;*/
}
.flash #nav a {
	background-color: #339999;
}
#nav a:hover {
	background-color: #ff4c66;
	padding-right:9px;
	padding-left:13px;
}
#nav .prev a:hover {
	padding-right:13px;
	padding-left:9px;
}
.flash #nav a:hover {
	background-color: #339999;
}