/**
 *  Main style source
 *
 *  @document style.css
 *  @author Arnout van Kempen <info@syca.nl>
 *  @copyright Syca Development B.V. 2016 <http://www.syca.nl>
 *  @version: 1.1
 
	* This CSS contains:
		* Reset
		* Text rendering
		* Body
		* Messages
		* Header
		* Form
		* Links
 **/
 
/* Reset */
a, abbr, acronym, address, applet, article, aside, audio, b, blockquote, big, body, center, canvas, caption, cite, code, command, datalist, dd, del, details, dfn, dl, div, dt, em, embed, fieldset, figcaption, figure, font, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, keygen, label, legend, li, meter, nav, object, ol, output, p, pre, progress, q, s, samp, section, small, span, source, strike, strong, sub, sup, table, tbody, tfoot, thead, th, tr, tdvideo, tt, u, ul, var {background:transparent;border:0 none;font-size:100%;margin:0;padding:0;border:0;outline:0;vertical-align:top}
blockquote, q {quotes:none}
table, table td {padding:0;border:none;border-collapse:collapse}
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video {display:block}
mark, rp, rt, ruby, summary, time {display:inline}
input:focus,textarea:focus{outline:0}


/* Text rendering */
* {
	text-rendering: optimizeLegibility;
	-o-text-rendering: optimizeLegibility;
	-ms-text-rendering: optimizeLegibility;
	-moz-text-rendering: optimizeLegibility;
	-webkit-text-rendering: optimizeLegibility;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box
}

html, body {
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;
}

/* Body */
body {
	background: #f1f1f1;
	color: #333333;
	font: 13px "MyriadPro", tahoma, verdana; 
}

/* Container */
.container {
	display: block;
	width: 50%;	
	margin: 10px auto 30px;
}

/* Messages */
.message {
	border: 1px solid transparent;
	padding:15px 10px 15px 10px;
	word-break: break-word;
	
	display: block;
	width: 320px;
	margin: 10px auto;
	background-position: 10px center;
	background-color: transparent;
	background-repeat: no-repeat;
}

.message.error {
	border-color: #D8000C;
	color: #D8000C;
	background-color: #FFBABA;
}

.message.success {
	border-color: #4F8A10;
	color: #4F8A10;
	background-color: #DFF2BF;
}

/* Open App */
.openApp {
	display: block;
	width: 320px;
	margin: 10px auto;	
}

.openApp a {
	display: block;
	text-align: center;	
	text-decoration: none;
	
	padding: 15px 0;
	border: 1px solid #000;
	
	box-shadow: inset 0 0 1px #fff;
	-webkit-box-shadow: inset 0 0 1px #fff;
	
	font-size: 18px;
	line-height: 28px;
	color: #fff;
	
	background: rgb(69,72,77);
	background: -moz-linear-gradient(top, rgba(69,72,77,1) 0%, rgba(33,33,33,1) 100%);
	background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(33,33,33,1) 100%);
	background: linear-gradient(to bottom, rgba(69,72,77,1) 0%,rgba(33,33,33,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#45484d', endColorstr='#212121',GradientType=0 );
}

@media screen and (min-width: 768px) {
	.openApp {
		display: none;	
	}	
}

/* Header */
header {
	display: block;
	width: 100%;
	padding: 0 20px;
	margin: 50px auto;	
	text-align: center;
}

header h1 {
	display: block;	
	font-size: 30px;
}

header h1 span {
	display: block;
	font-size: 16px;	
	color: #777;
}

@media screen and (min-width: 768px) {
	header {
		width: 500px;	
	}	
	
	header h1 {
		font-size: 50px;
	}
	
	header h1 span {
		font-size: 30px;	
	}
}

.logo {
	background-image: url('img/logo.png');	
	background-repeat: no-repeat;
	background-size: cover;
	
	display: block;
	width: 200px;
	height: 174px;
	
	margin: 0 auto 25px;	
}

/* Form */
form {
	margin: 0;	
}

.form {
	display: block;
	margin: 0 auto;
	width: 90%;
	
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	
	box-shadow: 0 0 3px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 0 3px rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 3px rgba(0,0,0,0.3);

	
	background: #fff;
	padding: 15px;
}

.form input[type='email'],
.form input[type='password'],
.form select,
.form textarea {
	display: block;
	width: 100%;
	padding: 7px 10px;
	margin: 0 0 10px 0;
	border: 1px solid #ccc;
	
	color: #666;
	
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	
	-webkit-appearance: none;
	font: 13px "MyriadPro", tahoma, verdana; 
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form input[type='email']:hover,
.form input[type='email']:focus,
.form input[type='password']:hover,
.form input[type='password']:focus,
.form select:hover,
.form select:focus,
.form textarea:hover,
.form textarea:focus {
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 5px rgba(102,175,233,.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 5px rgba(102,175,233,.6);
	border-color: #00b6f0;
}

.form input[type='submit'] {
	display: block;
	margin: 0 auto;
	
	border: 1px solid #1C65BD;
	-webkit-appearance: none;
	padding: 6px 25px;
	text-align: center;
	font-size: 13px;
	font-weight: bold;
	
	color: #fff;
	background-color: #388ef5;
	cursor: pointer;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	
	transition: all ease-in-out .15s;
	
	box-shadow: inset 0 0 1px rgba(255,255,255,0.6);
	-moz-box-shadow: inset 0 0 1px rgba(255,255,255,0.6);
	-webkit-box-shadow: inset 0 0 1px rgba(255,255,255,0.6);
}

.form input[type='submit']:hover {
	color: #fff;
	background-color: #2C72C7;
	border-color: #1E5DA8;
}

.form label {
	display: block;
	padding: 3px 0;	
}

@media screen and (min-width: 768px) {
	.form {
		width: 350px;	
	}	
}

/* Links */
.link {
	display: block;
	width: 100%;
	margin: 20px auto 0;	
	text-align: center;
}

.link a {
	color: #388ef5;
	text-decoration: none;
}

@media screen and (min-width: 768px) {
	.link {
		width: 350px;	
	}	
}