/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
	   url('fonts/open-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	   url('fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
	   url('fonts/open-sans-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
	   url('fonts/open-sans-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
	   url('fonts/open-sans-v15-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
html {
	height: 100%;
	background: #fff;
	background: -webkit-linear-gradient( to left bottom, #aaa, #fff);
	background: -moz-linear-gradient( to left bottom, #aaa, #fff);
	background: -ms-linear-gradient( to left bottom, #aaa, #fff);
	background: -o-linear-gradient( to left bottom, #aaa, #fff);
	background: linear-gradient( to left bottom, #aaa, #fff);
  	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aaa', endColorstr='#fff',GradientType=0 );
	background-repeat: no-repeat;
	background-attachment: fixed;
	margin: 0px;
	padding: 0px;
}

body {
	height: 100%;
	margin: 0px;
	padding: 0px;
	font-family: 'Open Sans', sans-serif;
}

.logo {
	width: 320px;
	height: 140px;
	background: url('images/ft_logo.png') no-repeat;
	background-size: 100%;
	margin: 40px auto 0px;
}

.login-block {
	width: 320px;
	padding: 20px;
	background: #fff;
	border-radius: 5px;
	border-top: 5px solid #d00014;
	margin: 0 auto;
}

.login-block h1 {
	text-align: center;
	color: #000;
	font-size: 18px;
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 20px;
}

.login-block input {
	width: 100%;
	height: 42px;
	box-sizing: border-box;
	border-radius: 5px;
	border: 1px solid #ccc;
	margin-bottom: 20px;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	padding: 0 20px 0 50px;
	outline: none;
}

.login-block input#username {
	background: #fff url('images/user.png') 20px top no-repeat;
	background-size: 16px 80px;
}

.login-block input#username:focus {
	background: #fff url('images/user.png') 20px bottom no-repeat;
	background-size: 16px 80px;
}

.login-block input#password {
	background: #fff url('images/pass.png') 20px top no-repeat;
	background-size: 16px 80px;
}

.login-block input#password:focus {
	background: #fff url('images/pass.png') 20px bottom no-repeat;
	background-size: 16px 80px;
}

.login-block input:active, .login-block input:focus {
	border: 1px solid #ff656c;
}

.login-block button {
	width: 100%;
	height: 40px;
	background: #d00014;
	box-sizing: border-box;
	border-radius: 5px;
	border: 0px solid #fff;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	outline: none;
	cursor: pointer;
}

.login-block button:hover {
	background: #af1313;
}

#error {
	color: #c00d16;
	font-weight: bold;
	text-align: center;
	margin-bottom: 15px;
}

#container {
	min-height:100%;
	position:relative;
}

#header {
	position: relative;
	width: 100%;
	z-index: 99;
	background: #5b5b5d;
	height: 4em;
	padding: 1em 2em;
}
#header a:link, a:visited {
	color:#fff;
	text-decoration:underline;
}
#header a:hover {
	text-decoration:none;
}
#header .left {
	float: left;
	color: #fff;
	display: inline-block;
	white-space: nowrap;
	font-size: 1.5em;
}
#header .left img {
	position: relative;
	top: 1px;
	margin-right: 8px;
}
#header .right {
	float: right;
	color: #fff;
	display: inline-block;
	white-space: nowrap;
}

#body {
	height: 100%;
	width: 100%;
	display: inline-block;
}

#spacer {
	position: relative;
	height: 50px;
}

#footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 40px;
	color: #5b5b5d;
	padding-top: 10px;
}

#copyright {
	width: 100%;
	text-align: center;
	color: #5b5b5d;
	font-size: 0.7em;
}

#copyright a:link, #copyright a:active, #copyright a:visited {
	color: #5b5b5d;
}

.box {
	padding: 1em;
	text-align: center;
	cursor: pointer;
}

button {
	background-color: #fff;
	cursor: pointer;
}

* {box-sizing: border-box;}

body h1 {
	width: 100%;
	text-align: center;
}

#blockcenter {
	top: 30px;
	justify-content:center; 
	align-content:center;
	flex-wrap:wrap;
	display: flex;
}

#help_toggle {
	text-align: center;
	font-size: 0.8em;
	margin-top: 10px;
	padding: 10px;
	cursor: pointer;
}

#help {
	text-align: center;
	width: 100%; 
	height: 230px;
	padding-top: 15px;
	min-height: 1px; 
	background-size: contain!important;
	background-origin: content-box!important;
}

.block {
    margin: 10px;
	width: 200px;
	height: 100px;
	padding: 20px;
	border-radius: 5px;
	background-size: contain!important;
	background-origin: content-box!important;
    box-shadow: 2px 2px 5px #888;
	border: 1px solid #c8c8c8;
}

.block:hover {
    box-shadow: 4px 4px 5px #888;
    transform: scale(1.1);
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
