@import "normalize.css";
@import "animate.css";
@import "fonts/open-sans/stylesheet.css";
@import "fonts/ukkio-sandbox/stylesheet.css";

/* ==========================================================================
   Body and layout
   ========================================================================== */
html, body {
	font-family: 'OpenSansLight';
	font-size: 1.055em;
	color: #4c4c4c;
}

a {
	text-decoration: none;
	color: #239ed7;
}

h1, h2 {
	font-family: 'OpenSansLight';
}
h1 {
	font-size: 1.9em;
	color: #239ed7;
	margin: 0 0 0.2em 0;
}
h2 {
	font-size: 1.20em;
	margin: 0 0 0.45em 0;
}
p {
	margin: 0;
}
ul {
	margin: 0.45em 0;
}
li {
	list-style: square;
	margin-bottom: 0.4em;
}

#content {
}
.container {
	text-align: center;
	width: 960px;
	margin: 0 auto;
	padding: 0 10px;
	position: relative;
	/* overflow: auto; */
}
section {
	overflow: auto;
	padding: 80px 0 80px 0;
}
.columnA {
	width: 49%;
	float: left;
	text-align: left;
}
.columnB {
	width: 49%;
	float: right;
	text-align: left;
}
.code {
	padding: 20px;
	border: 1px dashed #ccc;
	background-color: whitesmoke;
	margin: 20px auto;
	width: 600px;
	font-family: monospace;
	text-align: left;
	border-radius: 5px;
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	/* background-color: #239ed7; */ /* rgba(35, 158, 215, 1); */
	color: white;
	z-index: 100;
	-webkit-transition-property: background top;
	   -moz-transition-property: background top;
	    -ms-transition-property: background top;
	     -o-transition-property: background top;
	        transition-property: background top;
	-webkit-transition-duration: 0.2s;
	   -moz-transition-duration: 0.2s;
	    -ms-transition-duration: 0.2s;
	     -o-transition-duration: 0.2s;
	        transition-duration: 0.2s;
}
/* Logo */
header.open {
	background-color: rgba(35, 158, 215, 0.9);
}
header .logo {
	position: absolute;
	top: -100px;
	left: 50%;
	background: url(../img/logo.png) no-repeat left center;
	background-size: 50px 50px;
	line-height: 50px;
	height: 50px;
	width: 50px;
	margin-top: 5px;
	margin-left: -25px;
	/* padding-left: 60px; */
	font-size: 22px;
	-webkit-animation-fill-mode:both;
       -moz-animation-fill-mode:both;
        -ms-animation-fill-mode:both;
         -o-animation-fill-mode:both;
            animation-fill-mode:both;
    -webkit-animation-duration: 0.6s;
       -moz-animation-duration: 0.6s;
        -ms-animation-duration: 0.6s;
         -o-animation-duration: 0.6s;
            animation-duration: 0.6s;
}
header.close .logo {
	-webkit-animation-name: bounceOutUp;
	animation-name: bounceOutUp;
}
header.open .logo {;
	-webkit-animation-name: bounceInDown;
  	animation-name: bounceInDown;
}
header .logo .ukkio {
	margin-right: 0.3em;
}
header .logo .developer {
	font-family: 'OpenSansLight';
}
/* Links */
header .links {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 10px 10px 10px 0;
	height: 60px;
	overflow: auto;
}
header .links a {
	display: block;
	float: left;
	text-decoration: none;
	line-height: 40px;
	margin-right: 10px;
	padding: 0 1em;
	color: white;
	border-radius: 3px;
	border: 1px solid transparent;
	font-size: 14px;
}
header .links a:hover {
	border: 1px solid rgba(255, 255, 255, 0.7);
	background-color: rgba(255, 255, 255, 0.2);
}
header .links a:active {
	border: 1px solid rgba(255, 255, 255, 0.7);
	background-color: rgba(255, 255, 255, 0.5);
}
header .links .gotoSdk {
	right: 0;
	position: absolute;
}

/* ==========================================================================
   Payoff
   ========================================================================== */
.payoff {
	background: url(../img/payoff_background.jpg) no-repeat center bottom;
	background-size: cover;
	padding-top: 60px;
	background-color: #239ed7;
	color: #fff;
}
.payoff .container {
}
.payoff .title {
	font-size: 5em;
	font-family: 'OpenSansLight';
	margin: 0;
}
.payoff .slogan {
	font-size: 1.6em;
	font-family: 'OpenSansLight';
	margin: -0.4em 0 0 0;
	color: #fff;
	color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Coin
   ========================================================================== */
.coin .columnA {
	margin-top: 55px;
}
.coin .columnB {
	text-align: center;
}

/* ==========================================================================
   Revenue
   ========================================================================== */
.revenue {
	background-color: whitesmoke;
}
.revenue .columnA { float: right; }
.revenue .columnB { float: left; }

/* ==========================================================================
   Multidevice
   ========================================================================== */
.multidevice .columnA {
	width: 39%;
}
.multidevice .columnB {
	width: 59%;
	text-align: right;
}

/* ==========================================================================
   Hosting
   ========================================================================== */
.hosting {
	background-color: whitesmoke;
}
.hosting .columnA { float: right; }
.hosting .columnB { float: left; }

/* ==========================================================================
   Getting started
   ========================================================================== */
.gettingStarted .sdk {
	display: inline-block;
	margin: 0 auto;
	line-height: 60px;
	padding: 0 40px;
	text-align: center;
	color: #fff;
	text-decoration: none;
	background-color: #239ed7;
	font-size: 25px; 
	font-family: 'OpenSansLight';
	margin: 20px 0;
	border-radius: 5px;
	border: 1px solid #239ed7;
}
.gettingStarted .sdk:hover {
	background-color: rgba(35, 158, 215, 0.8);
}
.gettingStarted .sdk:active {
	background-color: rgba(35, 158, 215, 0.5);
}

/* ==========================================================================
   signUp
   ========================================================================== */
.signUp {
}

/* ==========================================================================
   Rules
   ========================================================================== */
.rules {
	background-color: whitesmoke;
}
.rules .container {
	text-align: left;
}

/* ==========================================================================
   Rules
   ========================================================================== */
.contacts {
	background-color: #239ed7;
	color: #fff;
	font-size: 14px;
}
.contacts p {
	font-size: 12px;
	margin-top: 30px;
}
.contacts a {
	color: #fff;
	margin: 0 10px;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

.newsletter{
	text-align: center;
}
.newsletter .mc-field-group{
	overflow: hidden;
	box-shadow: none;
	height: 30px;
	border: 1px solid #239ed7;
	height: 40px;
	width: 380px;
	line-height: 40px;
	padding: 0;
	margin: 20px auto;
	background-color: #fff;
	font-size: 14px;
}
.newsletter .mc-field-group .email{
	height: 38px;
	border: none;
	width: 280px;
	float: left;
	display: block;
	margin-left: 10px;
	color: #818c9e;
}
.newsletter .mc-field-group .button{
	height: 40px;
	width: 80px;
	border: none;
	display: block;
	background-color: #239ed7;
	color: #FFF;
	float: right;
	-webkit-border-radius: 0;
	-moz-border-radiuts: 0;
	border-radius: 0;
}
.newsletter .mc-field-group .button:active{
	background-color: #FFF;
	color: #239ed7;
	border-left: 1px solid #239ed7;
}
.newsletter .mc-field-group .clear{
	width: 0;
	height: 0;
	clear: both;
}

/* ==========================================================================
   Media query
   ========================================================================== */
@media (max-width: 960px) {
	header .links .gotoContacts {
		left: auto;
		right: 60px;
		position: absolute;
	}

	.container {
		width: 100%;
		box-sizing: border-box;
		-moz-box-sizing:border-box;
	}
	.columnB {
		text-align: center;
	}
	.columnB img {
		width: 90%;
		height: auto;
	}
	.rules .columnB {
		text-align: left;
	}
	/* Coin */
	.coin .columnA {
		margin-top: 0;
	}
}

@media (max-width: 680px) {
	h1 {
		font-size: 1.7em;
	}
	h2 {
		font-size: 1.2em;
	}
	section {
		padding: 40px 0 40px 0;
	}
	.container {
		width: 100%;
		padding: 0 10px;
		box-sizing: border-box;
		-moz-box-sizing:border-box;
	}
	.links {
		display: none;
	}

	.columnA, .columnB {
		float: none;
		width: 100%;
	}
	.columnA {
		margin-bottom: 40px;
	}
	ul, li {
		text-align: left;
	}

	.code {
		width: auto;
		white-space: pre;
		overflow: auto;
	}

	header {
		opacity: 0;
		-webkit-transition: opacity 1s;
		transition: opacity 1s;
	}
	header.open {
		opacity: 1;
	}
	header.close {
		opacity: 0;
	}
	/* Payoff */
	.payoff img {
		width: 128px;
		height: 128px;
	}
	.payoff .title {
		font-size: 3em;
	}
	.payoff .slogan {
		font-size: 1.4em;
	}
	/* Multidevice */
	.multidevice .columnA, .multidevice .columnB {
		width: 100%;
	}
	/* Newsletter */
	.newsletter .mc-field-group {
		width: 100%;
	}
	.newsletter .mc-field-group .email {
		width: 150px;
	}
}

@media (max-width: 680px) and (orientation:landscape) {
	header {
		height: 40px;
	}
	header .logo {
		width: 30px;
		height: 30px;
		background-size: 30px 30px;
		margin-left: -15px;
	}
}










