/* Author: Rachel Simanjuntak */

html * {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 24px;
	color: #1eb4d2;
	border: none;
	text-decoration: none;
	margin: 0;
	padding: 0;
	width: auto;
	height: auto;
	position: relative;
	-webkit-font-smoothing: antialiased;

	/* Box sizing */
	box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	-webkit-box-sizing: border-box !important;

	transition: all .17s ease-out;
	-webkit-transition: all .17s ease-out;
	-moz-transition: all .17s ease-out;
	-ms-transition: all .17s ease-out;
}

body {
	position: absolute;
	min-width: 100%;
	min-height: 100%;
	top: 0;
	left: 0;
	color: #1eb4d2;
	background-color: #00a8d2;
}

nav {
	z-index: 1;
}

nav.fixed-nav {
	position: fixed;
}

nav.top {
	top: 2em;
}

nav.right {
	right: 2.5em;
}

nav.right a {
	margin-left: 1em;
}

nav.bottom {
	bottom: 2em;
}

nav.left {
	left: 2.5em;
}

nav.left a {
	margin-right: 1em;
}

#log-in {
	position: fixed;
	text-align: left;
	width: 80%;
	max-width: 350px;
	left: 50%;
	top: 48%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	z-index: 5;
}

::-webkit-input-placeholder {
   color: #fff;
}

:-moz-placeholder { /* Firefox 18- */
   color: #fff;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #fff;  
}

:-ms-input-placeholder {  
   color: #fff;  
}


h2 {
	font-size: 3em;
	color: rgb(255, 255, 255);
	margin-bottom: .5em;
}

h2.long-message {
    line-height: 1em;
}

a.sub-link {
	font-size: .75em;
	color: rgba(255, 255, 255, .5);
	position: absolute;
	left: 0;
	bottom: -4.25em;
	border-bottom: solid 1px transparent;
}

a.sub-link:hover {
	border-bottom: solid 1px #fff;
	color: rgba(255, 255, 255, 1);
}

#log-in input {
	display: block;
	margin: 0 auto 1em;
	background: transparent;
	color: #fff;
}

#log-in input[type="text"], #log-in input[type="password"], #log-in input[type="email"] {
	background: transparent;
	width: 100%;
	text-align: left;
	padding: .6em 0;
	border-bottom: solid 1px #fff;
}

#log-in input.button {
	padding: .25em 1em;
	cursor: pointer;
	background: rgba(255, 255, 255, 0);
}

#log-in input.button:hover {
	background: rgba(255, 255, 255, 1);
	color: #00a8d2;
}

#log-in input[type="submit"] {
	outline: solid 2px #fff;
	display: inline-block;
	margin-top: 1.5em;
	position: absolute;
	right: 0;
}

.password-instructions {
	color: rgba(255,255,255,0.75);
	font-size: .75em;
	line-height: 1.5em;
}

/*
#top-right.fixed-nav a {
	font-size: .75em;
}
*/

#cta {
	position: fixed;
	text-align: center;
	left: 50%;
	top: 48%;
	min-width: 300px;
	font-size: 1em;
	color: rgb(255, 255, 255);
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
}

#cta h2 {
	margin-bottom: 1.5em;
	line-height: 1.15em;
}

a#claim {
	color: #fff;
	font-size: 1.75em;
	border: solid 3px rgb(255, 255, 255);
	padding: .5em 1em;
}

a#claim:hover {
	color: #00a8d2;
	background: rgb(255, 255, 255);
}

#bottom-left a,
#bottom-right a {
	font-size: .75em;
}

#top-bar,
#bottom-bar {
	z-index: 0;
	background-color: #fff;
	position: fixed;
	width: 100%;
	height: 20%;
	max-height: 200px;
}

#top-bar.collapsed,
#bottom-bar.collapsed {
	height: 0 !important;
}

.fixed-nav a.collapsed, .fixed-nav h1.collapsed {
	color: #fff;
}

h1.collapsed a {
    color: #fff;
}

p.error {
    display: none;
    color: rgba(255, 241, 13, 0.5);
}

p.info {
    display: none;
    color: rgba(185, 220, 255, 0.5);
}

#top-bar {
	top: 0;
}

#bottom-bar {
	bottom: 0; 
}

#movable-gradient {
	position: fixed;
	bottom: 0;
	left: 0;
	min-width: 100%;
	min-height: 100%;
	z-index: -2;
	background: linear-gradient(-45deg, #00d2bc, #0061ce);
	background: -webkit-linear-gradient(-45deg, #00d2bc, #0061ce);
	background: -moz-linear-gradient(-45deg, #00d2bc, #0061ce);
	background-size: 1000% 1000%;
	background-position: center center;
	
}

#movable-gradient.animated {
	background: linear-gradient(120deg, #00d2bc, #0061ce, #00a8d2, #00cabe, #0061ce, #00a8d2);
	background: -webkit-linear-gradient(120deg, #00d2bc, #0061ce, #00a8d2, #00cabe, #0061ce, #00a8d2);
	background: -moz-linear-gradient(120deg, #00d2bc, #0061ce, #00a8d2, #00cabe, #0061ce, #00a8d2);
	background-size: 1000% 1000%;
	background-position: center center;

-webkit-animation: litpen 60s ease infinite;
	-moz-animation: litpen 60s ease infinite;
	animation: litpen 60s ease infinite;
}

@-webkit-keyframes litpen {
	0%{background-position:50% 0%}
	50%{background-position:51% 100%}
	100%{background-position:50% 0%}
}
@-moz-keyframes litpen {
	0%{background-position:50% 0%}
	50%{background-position:51% 100%}
	100%{background-position:50% 0%}
}
@keyframes litpen {
	0%{background-position:50% 0%}
	50%{background-position:51% 100%}
	100%{background-position:50% 0%}
}

@media only screen and (max-width: 400px) {
	h2 {
		font-size: 2em;
	}

	#log-in input[type="submit"], a.sub-link {
		position: relative;
		width: 100%;
	}

	a.sub-link {
		bottom: -1em;
		text-align: center;
	}
}

/*
background: #00a8d2;
background: -webkit-linear-gradient(#00d2bc,#00cabe, #0061ce);
background: linear-gradient(#00d2bc,#00cabe, #0061ce);
*/

