@font-face {
  font-family: 'MyriadPro-Light';
  src: url('MyriadPro-Light.eot'); /* IE9 Compat Modes */
  src: url('MyriadPro-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('MyriadPro-Light.woff') format('woff'), /* Pretty Modern Browsers */
       url('MyriadPro-Light.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('MyriadPro-Light.svg#MyriadPro-Light') format('svg'); /* Legacy iOS */
}

@viewport {
	width: 1024px;
}

html, body {
  font-family: 'MyriadPro-Light';
  /*background: #000000;*/
	color: #ffffff;
	padding: 0;
	margin: 0;
	height: 100%;
	font-size: 20px;
}

html {
  -webkit-font-smoothing: antialiased;
}

@media
only screen and (-webkit-min-device-pixel-ratio: 1.25),
only screen and ( min-device-pixel-ratio: 1.25),
only screen and ( min-resolution: 200dpi),
only screen and ( min-resolution: 1.25dppx)
{
    -webkit-font-smoothing: subpixel-antialiased;
}

* {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility:    hidden;
  -ms-backface-visibility:     hidden;
}


/* iPhone, portrait & landscape. */
@media all and (max-device-width: 480px) {
    html,body { -webkit-text-size-adjust: none; }
}
/* iPad, portrait & landscape. */
@media all and (min-device-width: 768px) and (max-device-width: 1024px) {
    html,body { -webkit-text-size-adjust: none; }
}

/* ----- COLOUR DEFAULTS  ----- */
.page-dark {background: #000000;}
.page-light {background: #fafafa;}

.bg-light {color: #000000;}
.bg-dark {color: #ffffff;}

.bg-light h1      {color: #000000;} .bg-dark  h1      {color: #FFFFFF;}
.bg-light h1 + h1 {color: #818181;} .bg-dark  h1 + h1 {color: #656565;}
.bg-light .subheader h1 {color: #818181;} .bg-dark .subheader + h1 {color: #858585;}

.bg-dark.text-solo  h1      {color: #e7e7e7;}
.bg-dark.text-solo  h1 + h1 {color: #676767;}

.bg-light h2      {color: #000000;} .bg-dark  h2      {color: #FFFFFF;}
.bg-light h2 + h2 {color: #818181;} .bg-dark  h2 + h2 {color: #656565;}
.bg-light .subheader h2 {color: #818181;} .bg-dark .subheader h2 {color: #656565;}

.bg-light h3      {color: #161616;} .bg-dark  h3      {color: #e9e9e9;}

.bg-light h4      {color: #000000;} .bg-dark  h4      {color: #FFFFFF;}

.bg-light .text-block p {color: #000000;}
.bg-dark  .text-block p {color: #C3C3C3;}
.bg-dark.text-solo .text-block p {color: #979797;}

.bg-light .caption-text p {color: #656565;}
.bg-dark .caption-text p {color: #9d9d9d;}

.bg-light .layout-ads h3 {color: #484848;}
.bg-dark  .layout-ads h3 {color: #e9e9e9;}
.bg-light .layout-ads .text-block p {color: #8C8C8C;}
.bg-dark  .layout-ads .text-block p {color: #a7a7a7;}

.bg-light a,
.bg-light a:visited,
.bg-light a:hover,
.bg-light a:focus,
.bg-light a:active {color: #007AFF;}

.bg-dark a,
.bg-dark a:visited,
.bg-dark a:hover,
.bg-dark a:focus,
.bg-dark a:active  {color: #0088FF;}

.bg-light .layout-matrix a,
.bg-light .layout-matrix a:visited,
.bg-light .layout-matrix a:hover,
.bg-light .layout-matrix a:focus,
.bg-light .layout-matrix a:active {color: #000000;}

.bg-dark  .layout-matrix a,
.bg-dark  .layout-matrix a:visited,
.bg-dark  .layout-matrix a:hover,
.bg-dark  .layout-matrix a:focus,
.bg-dark  .layout-matrix a:active {color: #ffffff;}

.bg-light .layout-ads a,
.bg-light .layout-ads a:visited,
.bg-light .layout-ads a:hover,
.bg-light .layout-ads a:focus,
.bg-light .layout-ads a:active {color: #007AFF;}

.bg-dark  .layout-ads a,
.bg-dark  .layout-ads a:visited,
.bg-dark  .layout-ads a:hover,
.bg-dark  .layout-ads a:focus,
.bg-dark  .layout-ads a:active {color: #009ce5;}

/*.block.bg-light {background-color: #fafafa;}*/
/*.block.bg-dark {background-color: #000000;}*/
.block.bg-dark.text-solo {background-color: #121212;}

.page-light #nav-wrapper a {color: #373737;}
#nav-wrapper a.active {color: #0088FF;}
.animate-end #nav-wrapper a.active {color: #007AFF;}




/* ----- FONT DEFAULTS ----- */
h1 {font-weight: normal; font-size: 46px; margin: 0; line-height: 60px;}
h2 {font-weight: normal; font-size: 38px; margin: 0; line-height: 1em}
h3 {font-weight: normal; font-size: 32px; margin: 0; line-height: 1.1em;}
h3 {font-weight: normal; font-size: 18px; margin: 0; line-height: 1em;}

h1 + h1 {margin-top: 5px;}
h2 + h2 {margin-top: 5px;}

.block.wide-image .text-block h1 {font-size: 45px; letter-spacing: -0.75px;}

p {
	font-size: inherit;
  margin: 15px 0 0;
  line-height: 1.3em;
}

a, a:visited, a:hover, a:focus, a:active {
  text-decoration: none;
	color: inherit;
}

a.link-line {
	display: inline-block;
	margin: 1em 0 0 0;
	background-repeat: no-repeat;
	-webkit-transition: -webkit-transform .3s linear;
	transition: transform .3s linear;
}

a.link-line.button {
	border: 1px solid #cecece;
	padding: 9px 43px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
}

a.link-line.icon-play {
	background-image: url('play-arrow.png');
	background-position: left center;
	background-size: 1.1em;
	padding-left: 1.3em;
	font-size: 0.85em;
}

a.link-line:hover,
a.link-line:focus,
a.link-line:active {
	-webkit-transform: translateX(5px);
	transform: translateX(5px);
}

a.link-line.button:hover,
a.link-line.button:focus,
a.link-line.button:active {
	-webkit-transform: translate(1px, -1px), scale(1.025);
	transform: translate(1px, -1px) scale(1.025);
}

a.link-line.learn-more {
  margin: .5em 0 0 0;
	white-space: nowrap;
}

a.link-line.learn-more:after {
  content: ">";
	margin-left: 18px;
	font-size: 0.85em;
  vertical-align: 1px;
}

.layout-matrix a.layout-cell img {
	-webkit-transition: -webkit-transform .3s linear;
	transition: transform .3s linear;
}
.layout-matrix a.layout-cell:hover img {
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}

.layout-ads .text-block {font-size: 18px;}
.caption-text p {font-size: 18px;}
.text-block.caption-text {font-size: 16px;}

/* --- START HEAD --- */
#head-wrapper {
  position: absolute;
  text-align: right;
	top: 0;
	left: 0;
  right: 0;
  background-color: transparent;
	z-index: 9999;
}

#head-wrapper #nav-wrapper  {
  position: relative;
	left: 50%;
  width: 1024px;
  margin-left: -512px;
}

#head-wrapper #nav-wrapper a {
  display: inline-block;
  height: 49px;
  line-height: 49px;
  margin-left: 20px;
	font-size: 14px;
	-webkit-transition: -webkit-transform .2s linear;/*, margin-left .5s ease-in-out;*/
	transition: transform .2s linear;/*, margin-left .5s ease-in-out;*/
}

#head-wrapper #nav-wrapper a:hover {
	color: #0088FF;
}

#head-wrapper #nav-wrapper a.logo-home {
  display: block;
	position: absolute;
  top: 12px;
  left: 44px;
	height: 21px;
	width: 150px;
	text-indent: -900px;
	font-size: 14px;
	background: transparent url('procreate-trademark.png') no-repeat 0 0;
	background-size: auto 21px;
}


/*#head-wrapper.animate-end #nav-wrapper a {margin-left: 54px;}*/
#head-wrapper #nav-wrapper a:first-of-type {margin-left: 0;}
#head-wrapper #nav-wrapper a:last-of-type  {margin-right: 50px;}

/* --- END HEAD --- */


/* --- START PAGE --- */
#page-wrapper {
  width: 100%;
  height: auto;
  text-align: left;
}

/* --- END PAGE --- */

/* --- START FOOT --- */
#foot-wrapper {
  margin-left: auto;
  margin-right: auto;
  height: auto;
  text-align: center;
  font-size: 12px;
  color: #6d6d6d;
  width: 1024px;
	height: 40px;
	line-height: 40px;
}

.page-dark #foot-wrapper {
	background-color: rgba(0,0,0,0.2); /* << temp, to make visible */
}
.page-light #foot-wrapper {
	background-color: rgba(255,255,255,0.2); /* << temp, to make visible */
}

/* --- END DFOOT --- */