:focus {
	outline: 0;
}

* {
/*border: 1px solid red;*/
}

/* mobile first */
@media screen and (max-width: 736px) {

#nav h1 a { background-image: url('../img/mandm-logo@2x.png'); }

html {
	/*height: 100%;*/
	font-size: 100%;
}

body {
	font: normal normal normal 1em/1.4em "Courier New";
	background-color: #fff;
	color: #8896A2;

	/* leave top as zero so that smooth scroll on first project is correct height */
	margin: 0 5% 5% 5%;

	-webkit-text-size-adjust: none;
}

h1 span, h2 span, li span {
	position: relative;
	left: -999em;
	white-space: nowrap;
}

input,
textarea,
button,
select,
label,
a {
  -webkit-tap-highlight-color: transparent;
	tap-highlight-color: transparent;
}

a, h1, h2, li {
	background-repeat: no-repeat;
	background-position: top center;
}

a, #contact a.stealth {
	text-decoration: none;
	color: #8896A2;
}

a:hover, a.selected, #p_contact a, #p_contact a.stealth:hover, #p_news a, #p_press-info a, #footer {
	color: #2135D4;
}

h1 {
	font-size: 2em;
}

h2 {
	font-family: "Monospac821 BT", "Arial Narrow", sans-serif;
	/*font-size: 2.8em;*/
	font-size: 1.8em;
	font-weight: bold;
	color: #2135D4;
	text-align: center;
	margin-bottom: 25px;
	letter-spacing: -0.05em;
}

h3 {
	color: #2135D4;
}

img {
	display: block;
	background-color: #F1F1F3;

	width: 100%;
	height: auto;
}

form {
	width: 63%;
}

.item form p {
	padding-bottom: 1.5em;
}

form input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	border: 0;
	border-radius: 0;
	padding: 0.25em 0.5em;
	box-sizing: border-box;
	font: normal normal normal 1em/1.4em "Courier New";
	width: 100%;
}

form input[type=text] {
	background-color: #EEE;
	color: #2135D4;
}

form input[type=submit] {
	color: #EEE;
	background-color: #2135D4;
}

form input[type=submit]:active {
	background-color: #EEE;
	color: #2135D4;
}

#p_press-info img {
	width: auto;
}

#p_mandm {
	/*padding-top: 83px !important;*/
	padding-top: 5.2rem !important;
}

#p_mandm > img {
	padding-top: 30px;
}

#p_mandm img {
	width: 100%;
}

#p_mandm p:last-child {
	color: #2135D4;
	line-height: 1.4em;
}

p {
	width: 100%;
	overflow: hidden;
}

#hamburger {
	display: block;
	position: absolute;
	right: -0.6rem;
	top: 0;
	padding: 0.6rem;
	width: 22px;
	height: 10px;
	z-index: 100;
}

#hamburger img {
	background-color: transparent !important;
}

#nav {
	float: left;
	width: 90%;
	height: auto;
	z-index: 999;
	position: fixed;
	top: 1.8rem;
}

#nav h1 {
	height: 39px;
	z-index: 999;
}

#nav h1 a {
	position: relative;
	display: block;
	width: 56%;
	/*height: 39px;*/
	height: 25px;
	margin: 0 auto;
	z-index: 999;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: top center;
	background-image: url('../img/mandm-logo@2x.png');
	background-size: contain;
	overflow: hidden;
}

#nav ul li {
	margin-bottom: 0;
}

#nav ul li img {
	display: none;
}

#nav li span {
	left: 0;
}

#nav #newsubnav {
	top: -47px;
	padding-top: 80px;
	position: absolute;
	background-color: white;

	margin-top: 0;
	text-align: center;
	z-index: 99;
	width: 100%;
	float: left;
	display: none;
	padding-bottom: 1.5em;
}

#nav #newsubnav.selected {
	display: block;
}

.mwrap, .menu {
	float: left;
	background-color: white;
}

#newsubnav > li {
	margin: 0 auto;
}

#newsubnav li {
	float: none;
	font-size: 0.9em;
	padding: 5px 0;
}

#newsubnav li a {
	display: block;
	width: 100%;
}

#newsubnav li#mpwrap > a > span, #newsubnav li#mswrap > a > span {
	position: absolute;
	left: -99em;
}

#newsubnav li#mpwrap.selected,
#newsubnav li#mswrap.selected {
	background-color: #fff;
}

#newsubnav li li {
	padding: 0;
}

#newsubnav li.section {
	padding-top: 1em;
}

#newsubnav li.section:first-child {
	padding-top: 0em !important;
}

.menu {
	padding-bottom: 1em;
	width: 100%;
	margin: 0 auto;
}

#newsubnav li a#menuprojects {
	margin-top: 1em;
}

#newsubnav li a#menustudio {
	margin: 1em 0 0 0;
}

.isMobile #newsubnav li a#menuprojects, .isMobile #newsubnav li a#menustudio {
	display: block;
	overflow: hidden;
	background-image: url('../img/nav-mobile@2x.png');
	background-repeat: no-repeat;
	background-size: 166%;
	width: 200px;
	margin-left: auto;
	margin-right: auto;
	cursor: pointer;
	position: relative;
	z-index: 3;

	height: 15px;
}

#newsubnav li a#menuprojects {
	background-position: 60px 0;
}

#newsubnav li a#menustudio {
	background-position: -95px 0;
}

#double {
	width: 100%;
  overflow-y: scroll;
  -webkit-overflow-scrolling:touch;
}

#sort {
	display: block;
}

#sort, .menu {
	padding: 0.5em 0;
}

.item {
	margin-bottom: 20px;
	padding-top: 105px;
}

.item h2 {
	background-size: contain, contain !important;
}

.item h2 span {
	white-space: nowrap;
}

ul li, .item img {
	margin-bottom: 6.0%;
}

.item p {
	padding-bottom: 1em;
}

#footer {
	padding-bottom: 1em;
}

}

/* desktop */
@media screen and (min-width: 737px) {

#nav h1 a { background-image: url('../img/mandm-logo.png'); }

html {
	height: 100%;
	font-size: 62.5%;
}

body {
	font: normal normal normal 1em/1.4em "Courier New";
	margin: 0 500px;
	padding: 0 75px;
	background-color: #fff;
	color: #8896A2;

	/* 9*colwidth+(9*colpadding*2) = 9*1000+(9*175*2) = 12150 */
	width: 11250px;
	min-width: 12150px;

	-webkit-text-size-adjust: none;
}

a, #contact a.stealth {
	text-decoration: none;
	color: #8896A2;
}

a:hover, a.selected, #p_contact a, #p_contact a.stealth:hover, #p_news a, #p_press-info a, #footer {
	color: #2135D4;
}

h1 {
	font-size: 2em;
}

h2 {
	font-family: "Monospac821 BT", "Arial Narrow", sans-serif;
	font-size: 2.8em;
	font-weight: bold;
	color: #2135D4;
	width: 1000px;
	text-align: center;
	margin-bottom: 25px;
	line-height: 1.7em;
	letter-spacing: -0.05em;
}

h3 {
	color: #2135D4;
}

img {
	display: block;
	background-color: #F1F1F3;
}

.col {
	float: left;
	width: 1000px;
	padding: 0 125px;
}

.last {
	margin-right: 0;
}

.item {
	float: left;
	clear: left;
	width: 1000px;

	margin-bottom: 20px;
	padding-top: 105px;
}

.item p {
	margin-bottom: 1.4em;
}

.item p, h3, ul {
	font-size: 1.25em;
}

.item a[rel=external], .item a[href^="mailto:"] {
	background: none;
	display: inline;
}

#col1 .item a, #col2 .item a {
	display: inline;
	padding-left: 0;
	margin-left: 0;
	background: none;
}

ul li, .item img {
	margin-bottom: 40px;
}

img, ul, ul li:last-child {
	margin-bottom: 1.2em;
}

#clients ul {
	margin-left: 1em;
	font-size: 1.1em;
	margin-bottom: 0;
}

ul.bulleted {
	list-style-type: disc;
	margin-left: 1.3em;
}

ul.nogaps li {
	margin-bottom: 0;
}

.first {
	clear: both;
}

#hamburger {
	display: none;
}

.nav {
	position: relative;
}

.nav a {
	position: absolute;
	top: 228px;
	background: none;
}

.nav a.prev {
	left: -50px;
}

.nav a.next {
	right: -50px;
}

#newsubnav li {
	float: left;
	font-size: 0.9em;
	padding: 5px;
	display: block;
	width: 200px;
}

#newsubnav li#mpwrap.selected,
#newsubnav li#mswrap.selected {
	background-color: #fff;
}

#newsubnav li li {
	float: none;
	padding: 0;
}

#newsubnav {
	float: left;
	position: absolute;
	top: 0;
	width: 40%;
}

#newsubnav li a#menuprojects, #newsubnav li a#menustudio {
	margin-top: 22px;
	display: block;
	float: left;
	overflow: hidden;
	background-image: url('../img/nav.png');
	background-repeat: no-repeat;
	width: 139px;
	margin-right: 73px;
	height: 29px;
	cursor: pointer;
	position: relative;
	z-index: 3;
	margin-bottom: 10px;
}

#newsubnav li a#menuprojects {
	background-position: 0 0;
}

/*#newsubnav li a#menuprojects:hover, */
#newsubnav li a#menuprojects.selected {
	background-position: 0 -29px;
}

#newsubnav li a#menustudio {
	background-position: -212px 0;
}

/*#newsubnav li a#menustudio:hover, */
#newsubnav li a#menustudio.selected {
	background-position: -212px -29px;
}

.menu {
	margin-bottom: 0;
}

.menu li a {
	position: relative;
	display: block;
	width: 100%;
}

.menu li a span {
	position: relative;
	z-index: 1;
	left: 0;
}

.menu li a img {
	display: none;
	position: absolute;
	z-index: 0;
	left: 130px;
	top: 0;
}

.menu li a:hover img {
	display: block;
}

#newsubnav #sort li {
	margin-bottom: 1em;
	display: inline;
}

#newsubnav #sort a {
	width: 125px;
	height: 29px;
	margin-right: 10px;
}

#newsubnav #sort a#byclient {
	margin-right: 0;
}

#newsubnav #sort a.selected {
	background: url('../img/bullet-arrow-right.png') no-repeat  left center;
	padding-left: 16px;
}

div#fadeshow, .slideshow {
	display: block;
	overflow: hidden;
	width: 1000px;
	height: 700px;
	margin: auto auto 33px auto;
	z-index: 1;
}

.slideshow, .slideshow img {
	background-color: #F1F1F3;
}

.slideshow a {
	background: none;
	padding-left: 0;
	margin-left: 0;
}

.right {
	float: right;
}

form {
	width: 50%;
}

.item form p {
	width: 100%;
	padding-bottom: 1.5em;
}

form input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	border: 0;
	border-radius: 0;
	padding: 0.5em;
	box-sizing: border-box;
	font: normal normal normal 1em/1.4em "Courier New";
	width: 100%;
}

form input[type=text] {
	background-color: #EEE;
	color: #2135D4;
}

form input[type=submit] {
	color: #EEE;
	background-color: #2135D4;
}

form input[type=submit]:active {
	color: #EEE;
	background-color: #2135D4;
	border: 0.05em solid white;
	padding: 0.45em;
}

#nav {
	position: fixed;
	top: 0;
	left: 20px;
	z-index: 2;
/*	min-width: 1145px;*/
	min-width: 765px;
}

#nav li {
	margin: 0;
}

#nav li.section {
	margin-top: 1em;
}

#p_profile p, #p_mandm p {
	font-size: 2.5em;
	line-height: 1em;
	color: #2135D4;
}

h2 {
	display: block;
	width: 1000px;
	height: 22px;
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: contain;
}

#nav h2 {
	width: 316px;
	background-position: bottom left;
}

h1 span, h2 span, li span {
	position: relative;
	left: -999em;
	white-space: nowrap;
}

#nav {
	width: 100%;
}

#nav h1 {
	margin-top: 25px;
}

#nav h1 a {
	display: block;
	margin: 0;
	width: 100%;
	height: 39px;
	position: absolute;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: top center;
	background-image: url('../img/mandm-logo.png');
	overflow: hidden;
}

#p_mandm {
	padding-top: 140px !important;
}

#p_press-info img {
	float: right;
}

#p_magazines-and-books img, #p_awards img, #p_exhibitions img {
	display: inline;
	margin: 10px 0;
}

#p_contact {
	position: relative;
}

#p_contact img {
	float: right;
	margin-bottom: 0;
}

#p_credits {
	position: absolute;
	bottom: 0;
	margin-bottom: 0;
}

#p_credits small {
	font-size: 0.9em;
}

#footer {
	position: fixed;
	bottom: 20px;
	left: 20px;
	font-size: 1.1em;
}

span.error {
	border: 3px solid red;
	color: red;
	display: block;
	font-size: 1.4em;
	font-weight: bold;
	padding: 1em 0;
	text-align: center;
	width: 694px;
}

img.hidden {
	position: absolute;
	margin-left: -99em;
}

}

/* retina */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #nav h1 a { background-image: url('../img/mandm-logo@2x.png'); background-size: contain; }
  #newsubnav li a#menuprojects, #newsubnav li a#menustudio { background-image: url('../img/nav@2x.png'); background-size: auto 58px; }
}

/* EOF */
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
