html, body {
	font-size: .875rem;
	height: 100%;
}

.feather {
	width: 16px;
	height: 16px;
	vertical-align: text-bottom;
}

.version {
	color: #a5a5a5;
}

.scrollable-menu {
	height: auto;
	max-height: 210px;
	overflow-x: hidden;
}


/*
 * Navbar
 */
.navbar img {
	width: 24px;
	height: 24px;
	margin-right: 6px;
}


/*
 * Footer
 */
.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60px;
	line-height: 60px;
	background-color: #f5f5f5;
}


/*
 * Utilities
 */
.border-top { 
	border-top: 1px solid #e5e5e5; 
}

.border-bottom { 
	border-bottom: 1px solid #e5e5e5; 
}


/*
 * Login
 */
 .login {
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	-ms-flex-align: center;
	-ms-flex-pack: center;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #f5f5f5;
	height: 100%;
}

.form-signin {
	width: 100%;
	max-width: 330px;
	padding: 15px;
	margin: 0 auto;
}

.form-signin .form-control {
	position: relative;
	box-sizing: border-box;
	height: auto;
	padding: 10px;
	font-size: 16px;
}

.form-signin .form-control:focus {
	z-index: 2;
}

.form-signin input[type="email"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.form-signin .alert {
	margin-top: 20px;
	margin-bottom: -20px;
}


/*
 * Loaders
 */
.loader {
	border: 8px solid #c3c3c3; /* Light grey */
	border-top: 8px solid #3498db; /* Blue */
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 1s linear infinite;
	margin: 0 auto;
}

.loader-small {
	border: 4px solid #c3c3c3; /* Light grey */
	border-top: 4px solid #3498db; /* Blue */
	border-radius: 50%;
	width: 32px;
	height: 32px;
	animation: spin 1s linear infinite;
	margin: 0 auto;
}

.loading {
	width: 100%;
	height: 100%;
	margin: 0 auto;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}


/*
 * Tables
 */
.links a {
	 line-height: 24px;
}

@media (min-width: 576px) {
	.links a  {
		padding-right: 10px;
	}
}

.delete-link, .delete-link:hover {
	color: red;
}

.fix-link, .fix-link:hover {
	color: orange;
}

.preview {
	width: 300px;
	height: 200px;
	text-align: center;
}

.preview img {
	max-width: 300px;
	max-height: 200px;
	cursor: pointer;
}

.preview-small img {
	max-width: 200px;
	max-height: 100px;
	cursor: pointer;
}

.table-thumbnail td {
	vertical-align: middle;
	height: 72px;
}

.table td img {
	max-height: 64px;
	max-width: 64px;
}


/*
 * Gallery
 */
.square-container {
	padding: 2px;
}

.square-box {
	position: relative;
	overflow: hidden;
	background-image: url(/content/images/loading.gif);
	background-repeat: no-repeat;
	background-position: center;
	padding-left: 0;
	padding-right: 0;
}

.square-box:before {
	content: "";
	display: block;
	padding-top: 100%;
}

.square-content {
	position:  absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	color: white;
	text-align: center;
}

.square-content img {
	width: 100%;
	padding: 2px;
}

.square-content img:hover {
	cursor: pointer;
	filter: grayscale(100%);
}