@font-face {
	font-family: 'Mulish-Regular';
	font-style:  normal;
	font-display: swap;
	font-weight: 500;
	src: url('../../../fonts/Mulish-Regular.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
			 url('../../../fonts/Mulish-Regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}
@font-face {
	font-family: 'Montserrat-Bold';
	font-style:  normal;
	font-display: swap;
	font-weight: 500;
	src: url('../../../fonts/Montserrat-Bold.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
			 url('../../../fonts/Montserrat-Bold.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}
html {
	color: #515151;
	font-size: 62.5%; /* 1rem = 10px */

	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body {
	position: relative;
	margin: 0;
	font-family: 'Mulish-Regular', sans-serif;
	font-weight: 500;
	font-size: 14px;
	font-size: 1.4rem;
	background-color: #fff;
	background-image: none;
}
/* form elements have issues with inherit styling */
label,input,select,textarea,button,fieldset,legend,datalist,output,option,optgroup {
	color: #515151;
	font-family: 'Mulish-Regular', sans-serif;
	font-weight: 500;
	font-size: 14px;
	font-size: 1.4rem;
}
h1,h2,h3,h4,h5,h6 {
	font-family: 'Montserrat-Bold', sans-serif;
	font-weight: 800;
	letter-spacing: -0.05rem;
}
input[type="text"],
input[type="email"],
input[type="password"] {
	display: block;
	width: 100%;
	height: 36px;
	line-height: 20px;
	box-sizing: border-box;
	margin: 0;
	padding: 6px 0;
	background-image: none;
	background-color: transparent;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	border: none;
	text-align: left;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
	outline: none;
}
input[type="text"] + span,
input[type="email"] + span,
input[type="password"] + span {
	position: absolute;
	display: block;
	top: 35px;
	width: 100%;
	height: 2px;
	background-color: none;
	border-top: 1px solid #dbdbdb;
}
input[type="text"]:focus + span,
input[type="email"]:focus + span,
input[type="password"]:focus + span {
	height: 0;
	border-top: 2px solid #02B0E0;
}
a.btn:focus,
a.link:focus,
button[type="submit"]:focus {
	outline: 1px solid #02B0E0;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #bcbcbc;
	opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #bcbcbc;
}
label input[type="checkbox"]:focus {
	outline: 1px solid #02B0E0;
}
div#content {
	position: relative;
	padding: 20px 30px;
	background-color: #fff;
	box-shadow: none;
	text-align: center;
}
div#logo {
	display: block;
	width: 90px;
	height: 90px;
	margin: 0 auto 20px auto;
	padding: 0;
	background: url(../images/logo-text-black-vertical.svg) no-repeat center center;
}
h1#title {
	display: block;
	width: 100%;
	margin: 0 0 10px 0;
	padding: 0;
	color: #e12148;
	font-size: 23px;
	font-size: 2.3rem;
	background: -webkit-linear-gradient(0deg, #a53271, #e12148, #eb6629);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
p.info {
	margin: 0;
	padding: 0;
}
p.info a {
	color: #7b7b7b;
	text-decoration: underline;
}
p.info a:hover {
	color: #da375f;
}
form.form {
	margin-top: 30px;
}
div.input-group {
	position: relative;
	margin-bottom: 20px;
}
div.invalid {
	margin: 5px 0 0 0;
	padding: 0;
	color: #f00;
	text-align: left;
}
a.btn,
button.btn {
	display: block;
	width: 100%;
	min-height: 45px;
	margin: auto 0 0 0;
	padding: 0;
	color: #fff;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: inherit;
	background: #bb3d71;
	background: -moz-linear-gradient(left, #a53271 0%, #e12148 50%, #eb6629 100%);
	background: -webkit-linear-gradient(left, #a53271 0%,#e12148 50%,#eb6629 100%);
	background: linear-gradient(to right, #a53271 0%,#e12148 50%,#eb6629 110%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a53271', endColorstr='#eb6629',GradientType=1 );
	border: none;
	border-radius: 10px;
	cursor: pointer;
}
a.btn {
	line-height: 45px;
}
a.link {
	display: inline-block;
	margin-top: 10px;
	padding: 10px 0; /* enlarge for mobile UX */
	color: #777;
	text-decoration: underline;
	cursor: pointer;
}
a.link:hover {
	color: #da375f;
}
a.link + br + a.link {
	margin-top: 0;
}
.alert {
	display: block;
	padding: 10px;
	border: 1px solid transparent;
	border-radius: 10px;
}
.alert.success {
	margin: 20px 0; /* above title */
	color: #155724;
	background-color: #d4edda;
	border-color: #c3e6cb;
}
.alert.failure {
	margin-top: 20px; /* below submit button */
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
}
.alert a {
	color: inherit;
	text-decoration: underline;
}
span#version {
	position: absolute;
	left: 13px;
	margin: 0;
	font-size: 10px;
	color: #eee;
}

/* desktop styling */

@media (min-width: 450px) {
	html {
		width: 100%;
		height: 100%;
	}
	body {
		width: 100%;
  	height: 100%;
		font-size: 15px;
		font-size: 1.5rem;
		background: url(../images/default-bg.png) repeat;
	}
	label,input,select,textarea,button,fieldset,legend,datalist,output,option,optgroup {
		font-size: 15px;
		font-size: 1.5rem;
	}
	div#app {
		display: flex;
		height: 100%;
		margin: 0;
		flex-direction: column; /* ie11 fix */
		align-items: center;
		justify-content: center;
	}
	div#content {
		position: relative;
		display: block;
		width: 240px;
		padding: 45px;
		border-radius: 15px;
		box-shadow: 0px 7px 8px -4px rgba(0,0,0,.07),0px 12px 17px 2px rgba(0,0,0,.04),0px 5px 22px 4px rgba(0,0,0,.03) !important;
	}
	a.btn.main-btn,
	button.btn.main-btn {
		font-size: 14px;
		font-size: 1.4rem;
		margin-top: 45px;
	}
	span#version {
		bottom: 10px;
		color: #ddd;
	}
}
@media (min-width: 600px) {
	div#content {
		width: 350px;
		padding: 60px;
	}
	a.btn.main-btn,
	button.btn.main-btn {
		margin-top: 60px;
	}
}

/* additional page styling */

#home h1#title + p.info {
	margin-bottom: 30px;
}
#home #defense-app-info {
	width: 80%;
	text-align: left;
	overflow: auto;
	margin: 0 auto 30px auto;
}
#home #defense-app-info img {
	float: left;
	margin-right: 10px;
}
#home #cloud-app-info {
	margin: 0 auto 30px auto;
}
#home #cloud-app-info p {
	margin-bottom: 10px;
}
#home #cloud-app-info img {
	display: block;
	margin: 0 auto 10px auto;
}
#home #webapp-info p {
	margin-bottom: 10px;
}
#login p.info,
#login a#diff-user {
	word-break: break-all; /* handle long emails */
}
