:root {
	--input-padding-x: 1.5rem;
	--input-padding-y: .75rem;
}
html,
body {
height: 100%;
}
body.offline {
	background: #164c97 url("/img/bg.png") no-repeat center;
	background-size: contain;
}
#page-content {
	flex: 1 0 auto;
}
#sticky-footer {
	flex-shrink: none;
}
.offline hr {
	border-color: #FFFFFF25;
}
.offline footer {
	color: #FFF;
}

footer.footer {
	background: #022759;
	color: #fff;
	padding: 20px 0;
}

.card-signin {
	border: 0;
	border-radius: .5rem;
	box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
}
.card-signin .logo {
	margin-top: 20px;
	width: 220px;
}
.card-signin .card-title {
	margin-top: 5rem;
	margin-bottom: 4rem;
	font-weight: 300;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #666;
}

.card-signin .card-body {
	padding: 2rem 5rem;
}

.form-signin {
	width: 100%;
	position: relative;
	z-index: 1;
}

.form-signin.sending::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: #FFFFFF95;
	z-index: 2;
}

.form-signin .loading {
	display: none;
	position: absolute;
	z-index: 3;
	width: 100%;
	height: 100%;
	font-size: 50px;
	color: #007bff;
	text-align: center;
}

.form-signin.sending .loading {
	display: block;
}

.form-signin .btn {
	font-size: 80%;
	border-radius: 3px;
	letter-spacing: .1rem;
	font-weight: bold;
	padding: 1rem;
	transition: all 0.2s;
	margin-bottom: 50px;
	background-color: #52b9ab;
	color: #fff;
}

.form-label-group {
	position: relative;
	margin-bottom: 1rem;
}

.form-label-group input {
	height: auto;
	border-radius: 3px;
	border-color: #bdd0e0;
}

.form-label-group>input,
.form-label-group>label {
	padding: var(--input-padding-y) var(--input-padding-x);
}

.form-label-group>label {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	margin-bottom: 0;
	/* Override default `<label>` margin */
	line-height: 1.5;
	color: #495057;
	border: 1px solid transparent;
	border-radius: .25rem;
	transition: all .1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
	color: transparent;
}

.form-label-group input:-ms-input-placeholder {
	color: transparent;
}

.form-label-group input::-ms-input-placeholder {
	color: transparent;
}

.form-label-group input::-moz-placeholder {
	color: transparent;
}

.form-label-group input::placeholder {
	color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
	padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
	padding-bottom: calc(var(--input-padding-y) / 3);
}

.form-label-group input:not(:placeholder-shown)~label {
	padding-top: calc(var(--input-padding-y) / 3);
	padding-bottom: calc(var(--input-padding-y) / 3);
	font-size: 12px;
	color: #777;
}

.btn-google {
	color: white;
	background-color: #ea4335;
}

.btn-facebook {
	color: white;
	background-color: #3b5998;
}
div.container a.navbar-brand > img {
	display: inline-block;
	margin: 0 50px 0 0;
}
.topbar .spacecode-logo {
	height: 40px;
	margin: 20px 100px 20px 0;
}
.topbar .cri-logo {
	height: 50px;
}
.navbar {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#005581+0,0087cc+25,005581+50,0087cc+75,005581+100 */
	background: #005581; /* Old browsers */
	background: -moz-linear-gradient(left,  #005581 0%, #0087cc 25%, #005581 50%, #0087cc 75%, #005581 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left,  #005581 0%,#0087cc 25%,#005581 50%,#0087cc 75%,#005581 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right,  #005581 0%,#0087cc 25%,#005581 50%,#0087cc 75%,#005581 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005581', endColorstr='#005581',GradientType=1 ); /* IE6-9 */
	color: #fff;
}
	.navbar a {
		color: #fff;
	}
	.navbar .container .row {
		width: 100%;
	}
	.navbar .navbar-brand {
		padding: 18px 0 25px;
	}
	.navbar .page-title {
		font-family: Helvetica, Arial, sans-serif;
		font-size: 30px;
		text-transform: uppercase;
		margin: 15px 0;
	}

	.navbar .logout-btn {
		text-transform: uppercase;
	}
		.navbar .logout-btn:hover {
			color: #e46700;
		}

.logo-wrap {
	width: 215px;
	max-width: 100%;
}
	.logo-wrap .logo {
		width: 150px;
		max-width: 100%;
		margin: auto;
		display: block;
	}

.listing {
	padding-top: 30px;
	padding-bottom: 50px;
	padding-left: 20px;
}
	.listing .list-item {
		padding-left: 0;
		position: relative;
	}
	.listing .list-item .folder { margin-left: -13px; }
	.listing .open::before {
		content: "";
		border-left: 1px dotted #ccc;
		position: absolute;
		display: block;
		left: -7px;
		top: 27px;
		height: calc(100% - 46px);
		z-index: 1;
	}
	.listing .open .bg { display: none; }
	.listing .open .open::before {
		left: 77px;
		top: 22px;
		height: calc(100% - 42px);
	}
	.listing .open .open:last-child > .bg {
		display: block;
		width: 10px;
		height: calc(100% - 16px);
		background: #fff;
		position: absolute;
		left: -12px;
		top: 16px;
		z-index: 2;
	}
	.listing .open .open .open:last-child > .bg { left: 3px; }
	.listing .list-item .list-item::after {
		content: "";
		border-bottom: 1px dotted #ccc;
		position: absolute;
		display: block;
		left: -6px;
		top: 15px;
		width: 84px;
	}
	.listing .list-item .list-item .list-item::after {
		left: 8px;
		width: 61px;
	}

	.listing .list-item:last-child {
		margin-bottom: 12px;
	}

	.listing .list-item a {
		display: inline-block;
		margin-bottom: 5px;
	}

	.listing .list-item .list-item {
		padding-left: 70px;
	}

	.listing .list-item .list-item a {
		height: 30px;
	}

	.listing .list-item .list-item .folder {
		margin-left: 0;
	}

	.listing .folder-icon {
		color: #005581;
		font-size: 30px;
		margin-left: 8px;
		margin-right: 8px;
		vertical-align: middle;
	}
		.listing .top-level .folder-icon {
			font-size: 40px;
		}

	.listing .fa-file {
		color: #005581;
		font-size: 25px;
		margin-right: 8px;
		vertical-align: middle;
	}

	.listing .square-icon {
		color: #005581;
		font-size: 16px;
		vertical-align: middle;
		position: relative;
		z-index: 2;
		background: #fff;
	}

	.listing .filename {
		color: #666;
		cursor: pointer;
	}
		.listing .list-item a:hover {
			text-decoration: none;
		}
			.listing .list-item a:hover .filename {
				color: #e46700;
			}

	.listing #toggle-all {
		font-size: 65%;
		margin-bottom: 20px;
	}

.home h2 {
	margin: 100px;
}
.home h2 a {
	color: #333;
}

@media print {
	.navbar {
		display: block;
		color: #666;
	}
	.navbar .logout-btn {
		display: none;
	}
	.navbar .navbar-brand img {
		filter: invert(82%) sepia(72%) saturate(2775%) hue-rotate(182deg) brightness(95%);
	}
	.listing .list-item a {
		text-decoration: none;
	}
	.listing #toggle-all {
		display: none;
	}
}
