/* Fonts */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v12-latin-regular.eot');
  src: local('Montserrat Regular'), local('Montserrat-Regular'),
       url('../fonts/montserrat-v12-latin-regular.eot?#iefix') format('embedded-opentype'), 
       url('../fonts/montserrat-v12-latin-regular.woff2') format('woff2'),
       url('../fonts/montserrat-v12-latin-regular.woff') format('woff'), 
       url('../fonts/montserrat-v12-latin-regular.ttf') format('truetype'), 
       url('../fonts/montserrat-v12-latin-regular.svg#Montserrat') format('svg');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v12-latin-700.eot');
  src: local('Montserrat Bold'), local('Montserrat-Bold'),
       url('../fonts/montserrat-v12-latin-700.eot?#iefix') format('embedded-opentype'), 
       url('../fonts/montserrat-v12-latin-700.woff2') format('woff2'), 
       url('../fonts/montserrat-v12-latin-700.woff') format('woff'),
       url('../fonts/montserrat-v12-latin-700.ttf') format('truetype'), 
       url('../fonts/montserrat-v12-latin-700.svg#Montserrat') format('svg'); 
}

/* Basic elements */

html {
	width: 100%;
	height: 100%;
}

body {
	width: 100%;
	height: 100%;
	font-size: 0;
	margin: 0;
	padding: 0;
	transition: all 0.4s linear;
	background-color: #000000;
}

main {
	height: 100%;
	width: 100%;
	vertical-align: top;
	-webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6, p, label, input, button,
div, header, nav, section, article {
	font-family: 'Montserrat', sans-serif;
}

input, button {
	-webkit-appearance: none;
}

section {
	width: 100%;
	height: 100%;
	overflow: auto;
	scroll-behavior: smooth;
	position: relative;
}

article {
	width: 100%;
	height: 100%;
	position: relative;
	scroll-behavior: smooth;
	background-size: cover;
	box-sizing: border-box;
}

article#home {
	filter: grayscale(0.5);
	background-image: url('../images/bkg-heading.jpg');
	background-position: 90%;
}

#darken {
	width: 100%;
	height: 100%;
	position: absolute;
	/*background-color: rgba(0,0,0,0.8);*/
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	background: radial-gradient(circle at 80% 50%, rgba(0,0,0,0.2) 0%, rgba(0,0,0,1) 100%);
}

#logobox {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0,0,0,0.8);
	padding: 10px;
	opacity: 0;
	transition: all 0.4s;
	border-radius: 10px;
	max-width: 300px;
}

#logo {
	background-image: url('../images/logo-white.svg');
	height: 100px;
	background-repeat: no-repeat;
	background-position: 15px 15px;
	display: block;
	vertical-align: top;
	background-size: 100px;
	padding: 15px;
	text-align: right;
	width: 270px;
}

#logo > label {
	font-size: 20px;
	color: #cccccc;
	text-align: right;
	text-transform: uppercase;
	margin-top: 26px;
	display: block;
}

#loginsignup {
	width: 100%;
	font-size: 16px;
	color: #cccccc;
}

#loginsignup > a {
	display: block;
	margin: 15px;
	padding: 11px;
	box-sizing: border-box;
	text-align: center;
	cursor: pointer;
	color: #cccccc;
	text-decoration: none;
	border-radius: 7px;
}

#loginsignup > #menu-login,
#loginsignup > #menu-logout {
	background-color: #555555;
	border: 2px solid #cccccc;
}

#loginsignup > #menu-signup,
#loginsignup > #menu-teleprompter {
	border: 2px solid #cccccc;
}

#apps > label {
	font-size: 14px;
	color: #cccccc;
	text-align: center;
	/*text-transform: uppercase;*/
	margin: 26px auto 16px;
	display: block;
}

#apps > a {
	display: inline-block;
	max-width: 50%;
	box-sizing: border-box;
}

#apps > a > img {
	width: 100%;
	height: auto;
}

/* Main */

.textbox {
	color: #333333;
	padding: 20px;
}

.textbox > h1 {
	font-size: 30px;
	padding: 10px 0 25px 0;
	margin: 0;
}

.textbox > h3 {
	font-size: 20px;
	padding: 20px 0 10px 0;
	margin: 0;
}

.textbox > h4 {
	font-size: 16px;
	padding: 10px 0 5px 0;
	margin: 0;
}

.textbox > p {
	font-size: 16px;
	padding: 0 0 10px;
	margin: 0;
	line-height: 24px
}

.textbox > p > a {
	color: inherit;
}

.textbox > div > figure {
	font-size: 16px;
	width: 200px;
	margin: 20px;
	display: inline-block;
}

#logincont {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 296px;
	height: 286px;
	background-color: #000000;
	text-align: center;
	font-size: 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: 10px;
	box-sizing: border-box;
	border: 2px solid #cccccc;
}

#logincont > label {
	font-size: inherit;
	color: #cccccc;
	padding-bottom: 10px;
}

#logincont > #code {
	border: 0;
	background-color: #cccccc;
	color: #000000;
	padding: 10px 15px;
	text-align: center;
	margin: 10px auto;
	font-size: inherit;
	display: block;
	border-radius: 7px;
}

#logincont > button {
	border: 0;
	background-color: #555555;
	color: #cccccc;
	padding: 10px 15px;
	text-align: center;
	margin: 10px auto 0;
	font-size: inherit;
	display: block;
	cursor: pointer;
	border-radius: 7px;
}

#logincont > button:not(#close) {
	border: 2px solid #cccccc;
}

#close {
	position: absolute;
	right: 5px;
	top: 5px;
	height: 30px;
	width: 30px;
	background-image: url('../images/icon-close.svg');
	background-repeat: no-repeat;
	margin: 0 !important;
	padding: 0 !important;
	background-color: transparent !important;
	background-position: center;
}

/* Other */

#overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	/*background-color: rgba(0,0,0,0.8);*/
	top: 0;
	left: 0;
	background: radial-gradient(circle at 80% 50%, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 100%);
}

.nopadding {
	padding: 0 !important;
}

.paddingtopbig {
	padding-top: 20px !important
}


/* Mobile views */

@media screen and (max-width: 850px) {
	
	article#home {
		background-position: 80%;
	}

}

@media screen and (max-width: 550px) {

	#logobox {
		background: rgba(0,0,0,0.6);
	}

}

