/* Reset some pesky defaults. */

* {
	margin: 0;
	padding: 0;
	outline: none;
}

html
{
	background: #ebebeb;
}

a {
	text-decoration: none;
	color: inherit;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
}

body {
	min-width: 1000px;
	background: #1c1c1c;
	font-family: "Chrono Regular";
	}
	
@font-face
{
	font-family: 'Chrono Regular';
	src:
		url('/fonts/ChronoWeb_EOT/ChronoWebRegular.eot?#iefix') format('embedded-opentype'), 
		url('/fonts/ChronoWeb_WOFF/ChronoWebRegular.woff') format('woff');
}

@font-face
{
	font-family: 'Chrono Medium';
	src:
		url('/fonts/ChronoWeb_EOT/ChronoWebMedium.eot?#iefix') format('embedded-opentype'), 
		url('/fonts/ChronoWeb_WOFF/ChronoWebMedium.woff') format('woff');
}

@font-face
{
	font-family: 'Chrono Bold';
	src:
		url('/fonts/ChronoWeb_EOT/ChronoWebBold.eot?#iefix') format('embedded-opentype'), 
		url('/fonts/ChronoWeb_WOFF/ChronoWebBold.woff') format('woff');
}

@font-face
{
	font-family: 'Chrono Light';
	src:
		url('/fonts/ChronoWeb_EOT/ChronoWebLight.eot?#iefix') format('embedded-opentype'), 
		url('/fonts/ChronoWeb_WOFF/ChronoWebLight.woff') format('woff');
}

#above-support {
	width: 100%;
	top: 0;
	left: 0;
	background: #ebebeb;
}

.contentwidth {
	width: 1000px;
	margin: 0 auto;
	}
	
.hidetext {
	color: transparent;
	text-indent: -9999px;
}

  
/* ! Header stuff */

header {

	}

header h1 {
	background-image: url(/images/big-logo.svg);
	background-repeat: no-repeat;
	background-position: 50% 50px;
	-webkit-background-size: 226px 233px;
	-moz-background-size: 226px 233px;
	background-size: 226px 233px;
	height: 310px;
	color: transparent;
	text-indent: -9999px;
	position: relative;
}

header #welcome h2 {
	width: 860px;
	margin: 0 auto;
	color: #544087;
	font: 48px/48px "Chrono Light";
	letter-spacing: -1px;
	text-align: center;
}

header #welcome h2 em {
	font-style: normal;
	color: #fc4349;
}

/* ! Navbar stuff */

nav {
	padding-top: 40px;
	text-align: center;
	z-index: -10;
}

nav ul li {
	display: inline-block;
	position: relative;
}

nav ul li>a {
	display: inline-block;
	width: 234px;
	height: 234px;
	color: transparent;
	text-indent: -9999px;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 42px;
	-webkit-transition: all .15s ease-in-out;
	-moz-transition: all .15s ease-in-out;
	transition: all .15s ease-in-out;
}

nav ul li#app_coda>a     {
	background-image: url(images/icon-coda25.png);
	-webkit-background-size: 197px 192px;
	background-size: 197px 192px;
}
nav ul li#app_coda>a:hover {
	-webkit-background-size: 234px 231px;	
	background-size: 234px 231px;	
}

nav ul li#app_transmit>a {
	background-image: url(images/icon-transmit.png);
	-webkit-background-size: 187px 196px;
	background-size: 187px 196px;
}
nav ul li#app_transmit>a:hover {
	-webkit-background-size: 215px 224px;	
	background-size: 215px 224px;	
}

nav ul li#app_prompt>a   {
	background-image: url(images/icon-prompt2.png);
	-webkit-background-size: 180px 181px;
	background-size: 180px 181px;
}
nav ul li#app_prompt>a:hover {
	-webkit-background-size: 209px 209px;
	background-size: 209px 209px;
}
nav ul li#app_coda-ios>a   {
	background-image: url(images/icon-coda-ios.png);
	-webkit-background-size: 181px 181px;
	background-size: 181px 181px;
}
nav ul li#app_coda-ios>a:hover   {
	-webkit-background-size: 209px 209px;
	background-size: 209px 209px;
}
nav ul li#app_coda-ios .popover h3
{
	font-size: 44px;
}

nav ul li#app_statusboard>a   {
	background-image: url(images/icon-statusboard2.png);
	-webkit-background-size: 181px 181px;
	background-size: 181px 181px;
}
nav ul li#app_statusboard>a:hover   {
	-webkit-background-size: 209px 209px;
	background-size: 209px 209px;
}

nav ul li#app_transmit-ios>a   {
	background-image: url(images/icon-transmit-ios.png);
	-webkit-background-size: 181px 181px;
	background-size: 181px 181px;
}
nav ul li#app_transmit-ios>a:hover   {
	-webkit-background-size: 209px 209px;
	background-size: 209px 209px;
}

nav ul li#app_teaser3>a   {
	background-image: url(images/icon-teaser3.png);
	-webkit-background-size: 192px 188px;
	background-size: 192px 188px;
	/* The teaser ison sits too high up */
	background-position: center 26px;	
}
nav ul li#app_teaser3>a:hover   {
	-webkit-background-size: 209px 209px;
	background-size: 209px 209px;
	background-position: center 16px;	
}

nav ul li .popover {
	position: absolute;
	width: 250px;
	top: -90px;
	background: white;
	border-radius: 10px;
	padding: 20px;
	font: 16px/20px "Chrono Light";
	color: #444;
/* 	visibility: hidden; */
	opacity: 0;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	-ms-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}
nav ul li .popover h3 {
	font: 48px/48px "Chrono Medium";
	letter-spacing: -1px;
	margin-bottom: 10px;
	color: #1f95c1;
}

nav ul li .popover p.sync
{
	font-size: 14px;
	line-height: 24px;
	color: #41bb9c;
	font-family: "Chrono Light";
}

nav ul li:hover .popover {
/* 	visibility: visible; */
	opacity: 1;
	top: -120px;
}

nav ul li#app_coda .popover     { left: -30px; }
nav ul li#app_transmit .popover { left: -20px; }
nav ul li#app_candybar .popover { left: -40px; }
nav ul li#app_prompt .popover   { left: -27px; }
nav ul li#app_coda-ios .popover { left: -27px; }
nav ul li#app_transmit-ios .popover { left: -42px; width: 280px;}
nav ul li#app_statusboard .popover { left: -50px; }
nav ul li#app_teaser3 .popover { left: -54px; }

/* "Status Board" is a long name; instead of wrapping it, try fitting on one line */
nav ul li#app_statusboard .popover  {
	width: 300px;
}

/* "Coming Soon" is a long name; instead of wrapping it, try fitting on one line */
nav ul li#app_teaser3 .popover  {
	width: 300px;
}

.popover {
	box-shadow: 0 5px 20px rgba(0,0,0,.2);
	position: relative;
	z-index: 3;
}

.popover:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 20px;
	right: 20px;
	height: 22px;
	background: white;
}

.popover:after {
	content: "";
	z-index: -1;
	width: 16px;
	height: 16px;
	background: #fff;
	margin-left: -10px;
	position: absolute;
	bottom: -8px;
	left: 50%;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	box-shadow: 0px 5px 20px rgba(0,0,0,.5);
}

/* ! Also stuff */

section#also {
	margin: 20px auto 0px auto;
}

section#also h2 {
	margin: 0 auto;
	text-align: center;
	font: 48px/48px "Chrono Light";
	letter-spacing: -1px;
	color: #41b9d1;
}

section#also a {
	color: #127093;
	border-bottom: 2px solid #127093;
}

/* ! Support stuff */

div#arrows {
	width: 100%;
	min-width: 1000px;
	height: 373px;
}

div#arrows:after
{
	content: '';
	display: block;
	width: 100px;
	height: 100px;
	margin: 0px auto;
	-webkit-box-shadow: 0px 0px 0px 100px #fc4349;	
	-moz-box-shadow: 0px 0px 0px 100px #fc4349;	
	-ms-box-shadow: 0px 0px 0px 100px #fc4349;	
	-o-box-shadow: 0px 0px 0px 100px #fc4349;	
	box-shadow: 0px 0px 0px 100px #fc4349;	
	outline: 50px solid #da262c;
	border: 50px solid #544087;
	background: #1e344a;
	-webkit-transform:  scaleX(1.5) translateY(280px) rotate(45deg);
	-moz-transform:  scaleX(1.5) translateY(280px) rotate(45deg);
	-ms-transform:  scaleX(1.5) translateY(280px) rotate(45deg);
	-o-transform:  scaleX(1.5) translateY(280px) rotate(45deg);
	transform:  scaleX(1.5) translateY(280px) rotate(45deg);
/* 	z-index: -9; */
}


section#support {
	float: left;
	width: 100%;
	min-width: 1000px;
	padding-top: 30px;
	background: #202428 -webkit-linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 10%);
	background: #202428 -moz-linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 10%);
	background: #202428 -ms-linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 10%);
	background: #202428 linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 10%);

	z-index: 10;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);}

section#support h2 {
	font: 48px/46px "Chrono Light";
	letter-spacing: -1px;
	text-align: center;
	color: #474d53;
}

section#support ul {
	margin: 30px auto 0 auto;
	width: 580px;
	padding-left: 20px;
	font: 24px/46px "Chrono Regular";
	color: #ddd;
	text-shadow: 0px 1px 0px rgba(0,0,0,.25); 
	list-style-type: none;
/* 	outline: 1px solid yellow; */
}

section#support ul li {
	display: block;
	background-position: left center;
	background-repeat: no-repeat;

	padding-left: 44px;
}

section#support ul li#support_twitter { background-image: url(images/mini-twitter.svg); }
section#support ul li#support_support { background-image: url(images/mini-support.svg); }
section#support ul li#support_serial  { background-image: url(images/mini-serial.svg); }
section#support ul li#support_museum  { background-image: url(images/mini-museum.svg); }
section#support ul li#support_library  { background-image: url(images/mini-library.svg); }
section#support ul li#support_sync  { background-image: url(images/mini-panic-sync.svg); }

section#support select {
	-khtml-appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	-o-appearance: none;
	-ms-appearance: none;
 	width: 183px;
	color: #ddd;
	border: 1px solid rgba(255,255,255,.3);
	font: 24px/24px "Chrono Regular";
	padding: 5px 35px 5px 10px;
	margin: 0;
	background-color: black;
	background-image: url(images/dropdown-arrow.svg);
	background-repeat: no-repeat;
	background-position: 97% center;
	background-size: 15px 12px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	-ms-border-radius: 4px;
	border-radius: 4px;
}

section#support select option {
	font-size: 13px;
}

body.gecko section#support select {
	background-color: black;
	border: none;
	-moz-box-shadow: inset 0px 1px 3px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.25);
	padding: 2px 5px;
	height: 32px;
}

section#support input[type="text"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	width: 161px;
	color: #ddd;
	font: 16px/16px "Chrono Regular";
	padding: 10px 0px 2px 5px;
	margin: 2px 0 0 4px;
	border: 1px solid rgba(255,255,255,.3);
	background: black;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	-ms-border-radius: 4px;
	border-radius: 4px;
}
section#support input[type="text"]:focus {
	box-shadow: 0px 0px 0px 2px rgba(255,255,255,.3);
}

section#support input[type="submit"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	position: relative;
	top: -2px;
	width: 40px;
	color: #ccc;
	border: 1px solid rgba(255,255,255,.3);
	font: 18px/24px "Chrono Regular";
	text-align: center;
	padding: 5px 4px 5px 4px;
	margin: 0;
	background: black;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	-ms-border-radius: 4px;
	border-radius: 4px;
}
section#support input[type="submit"]:active {
	background: rgba(255,255,255,.1);
	color: white;
}

section#support #support_serial input[type="submit"] {
	line-height: 21px;
	top: -3px;
}

section#support a:hover {
	text-decoration: underline;
}

footer {
	padding: 25px 0 10px 0;
	font: 16px/46px "Chrono Light";
	text-align: center;
	color: #666;
}

footer #japan {
	display: inline-block;
	padding-left: 24px;
	text-align: right;
	background: url("/images/lang-jp.svg") left 13px no-repeat;
	background-size: 20px 16px;
}

footer #en {
	display: inline-block;
	padding-left: 24px;
	text-align: right;
	background: url(images/lang-en.svg) left 13px no-repeat;
}

/* Retina */

@media (-webkit-min-device-pixel-ratio:2) {

	nav ul li#app_coda>a     {
		background-image: url(../images/icon-coda25@2x.png);
	}
	nav ul li#app_transmit>a     {
		background-image: url(../images/icon-transmit@2x.png);
	}
	nav ul li#app_unison>a     {
		background-image: url(../images/icon-unison@2x.png);
	}
	nav ul li#app_transmit-ios>a     {
		background-image: url(../images/icon-transmit-ios@2x.png);
	}
	nav ul li#app_statusboard>a     {
		background-image: url(../images/icon-statusboard2@2x.png);
	}
	nav ul li#app_prompt>a     {
		background-image: url(../images/icon-prompt2@2x.png);
	}
	nav ul li#app_coda-ios>a     {
		background-image: url(../images/icon-coda-ios@2x.png);
	}
}
