#scrollViewport {
  height: 100vh;
  overflow-y: scroll;
}

/*no gutter on lists on small devices*/
@media ( max-width : 767px) {
	.no-gutter>[class*='col-'] {
		padding-right: 0;
		padding-left: 0;
	}

	/*no borders on panels (eqipment/favorites)*/
	.panel {
		border: 0;
	}

	/*remove the border on smartphones*/
	.documents .list-group-item, .equipmentList .list-group-item {
		border-left: 0;
		border-right: 0;
	}
}

.navbar {
	margin-bottom: 0px;
}

/*margin in buttons > icons*/
.btn>i.fa, a>i.fa, .offcanvas i.fa, i.fa-refresh {
	margin-right: 4px;
}

/*for icon only buttons */
.btn i.no-text {
	margin-right: 0;
}

/*margin on the navbar toggle button*/
.navbar-toggle {
	margin-left: 10px;
	margin-right: 0;
}

#nomenu {
	width: 30px;
	border-width: 0;
}

#nomenu:hover {
	width: 30px;
	background-color: transparent;
}

/*get rid of the rounded corners*/
.btn, .panel, .panel-heading, .form-control, .list-group-item:first-child,
	.list-group-item:last-child, .alert {
	border-radius: 0;
}

/*highlight active menu option*/
.nav>li.active>a {
	text-decoration: none;
	background-color: #EEE;
}

.navbar-default {
	background-color: #000;
	border-color: #666;
}

.navbar-default .navbar-brand, .navbar-default .navbar-brand:hover {
	color: #DDD;
}

.navbar-default .navbar-nav>li>a:hover {
	color: white !important;
}

.navbar-default .navbar-toggle {
	border-color: #666;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover
	{
	background-color: #666;
}

.navbar-brand {
	font-size: 17px;
	padding: 17px 3px 17px 10px;
}

/*offcanvas*/
.offcanvas, .offcanvas-list {
	background: #ffffff;
	position: fixed;
	top: 60px;
	bottom: 0;
	width: 200px;
	overflow-y: auto;
	z-index: 1050;
	height: 100%;
	padding-bottom: 63px;
	border-right: 1px solid silver;
	-webkit-transform: translate3d(0px, 0px, 0px);
	-moz-transform: translate3d(0px, 0px, 0px);
	-o-transform: translate3d(0px, 0px, 0px);
	-ms-transform: translate3d(0px, 0px, 0px);
	transform: translate3d(0px, 0px, 0px);
}

/*offcanvas transitions*/
.offcanvas, .container, .container:after {
	-webkit-transition: 0.25s ease;
	-moz-transition: 0.25s ease;
	-o-transition: 0.25s ease;
	transition: 0.25s ease;
}

.offcanvas-left {
	left: -200px;
}

.offcanvas-left.active, .container.active {
	-webkit-transform: translate3d(200px, 0px, 0px);
	-moz-transform: translate3d(200px, 0px, 0px);
	-o-transform: translate3d(200px, 0px, 0px);
	-ms-transform: translate3d(200px, 0px, 0px);
	transform: translate3d(200px, 0px, 0px);
}

/*size of menu items in the offcanvas*/
.offcanvas li>a {
	padding: 7px 10px;
}

/*no scroll class gets added when the offcanvas is opened */
body.noscroll {
	overflow: hidden;
}

.container.active {
	overflow: hidden;
}

/*overlay for the container when the offcanvas is opened*/
.container.active:after {
	content: " ";
	z-index: 10;
	display: block;
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.2);
}

/*session details in the list*/
.list-group-item-text {
	line-height: 1.2;
	font-size: 12px;
	color: #8b8b8b;
}

.list-group-item .fa {
	opacity: 0.4;
	margin-top: 5px;
}

/*animate the 'favorite' button*/
.btn-flip {
	-webkit-animation: flip 0.4s;
	-moz-animation: flip 0.4s;
	-ms-animation: flip 0.4s;
	animation: flip 0.4s;
}

.msgBox.ng-hide-add {
	-webkit-animation: fadeOut 0.5s;
	display: block !important;
}

.msgBox.ng-hide-remove {
	-webkit-animation: fadeIn 1.5s;
}

/*view animation*/
[ui-view].ng-enter {
	-webkit-animation: fadeIn 0.4s;
	-moz-animation: fadeIn 0.4s;
	-ms-animation: fadeIn 0.4s;
	animation: fadeIn 0.4s;
}

/*text color on equipment*/
.panel-default>.panel-heading {
	color: #000;
}

.inspection {
	border: solid 1px #EEEEEE;
	margin-left: 15px;
	margin-right: 15px;
	display: table;
	margin-bottom: 10px;
}

.nextInspection {
	margin-top: 10px;
}

#version {
	font-size: x-small;
	float: right;
	margin-right: 5px;
}

img.topLogo {
	float: right;
	height: 40px;
	margin: 10px 10px 10px 0;
}

.nav li.separator {
	border-bottom: #999 1px solid;
	font-weight: bold;
	padding-top: 10px;
}

.labelAsTable {
	display: table-cell;
	padding-bottom: 5px;
}

.valueAsTable {
	display: table-cell;
	padding-left: 20px;
}

.imgTitle {
	font-weight: inherit;
}

.tableHeading {
	margin: 5px 0;
}

.tableHeading label {
	font-size: 120%;
}

.headingWithImage {
	margin: 10px 0;
}

.headingByImage {
	font-weight: bold;
	font-size: 110%;
	padding-left: 10px;
}

.form-group.btn {
	margin-right: 20px;
}

.app {
	margin-bottom: 10px;
	height: 100px;
}

.app img {
	height: 60px;
	width: 60px;
}

.app .fa.icon {
	font-size: 60px;
}

.app a:focus, a:hover {
	text-decoration: none;
}

.form-with-sections {
	padding: 10px;
}

.form-section {
	width: 100%;
	padding: 5px;
	border: gray solid 1px;
}

#preview {
	padding-top: 15px;
	width: 100%;
}

.comment {
	display: inline-block;
	color: darkgrey;
	padding-left: 10px;
}

.badgeCount {
    position: relative;
    display: inline-block;
    width: 60px;
}

.badgeCount[data-count]:after {
	position: absolute;
	top: -10px;
    right: -15px;
	content: attr(data-count);
	padding: .6em;
	border-radius: 999px;
	line-height: .75em;
	color: white;
	background: rgba(255, 0, 0, .85);
	text-align: center;
	min-width: 2em;
	font-weight: bold;
}

.rating {
	font-size: 3em;
}
.rating .fa.fa-check-square {
    color: green;
}
.rating .fa.fa-exclamation-triangle {
    color: #F2CA27;
}
.rating .fa.fa-times-circle {
    color: red;
}
.rating .fa {
    padding: .35em;
}
.rating .selected .fa {
    padding: .2em;
    border: solid .15em #ddd;
    border-radius: 0.3em;
}

.ratingSection .fa {
	font-size: 3em;
	vertical-align: top;
}

.panel-heading.sectionHeading {
	border-top: 1px solid black;
}

.sectionHeading h4>a {
    color: inherit;
}

.sectionHeading h4 > a:before {
  content: "\f078"; /* fa-chevron-down */
  font-family: 'FontAwesome';
}
.sectionHeading h4 > a[aria-expanded="true"]:before {
  content: "\f077"; /* fa-chevron-up */
}

.alert {
	margin-top:10px;
}

.thumbnail {
	max-width: 100%;
}

.toasterMessage {
	top: 70px;
	right: 10px;
	opacity: 1;
}

/* Trix: hide file button */
.trix-button-group--file-tools {
    display: none !important;
}
.trix-disabled {
	min-height: 50px;
	height: auto;
}
.trix-disabled img {
	height: auto;
    width: auto;
    max-width: 100%;
}
trix-editor .attachment__caption, trix-editor .attachment__toolbar {
	display: none;
}
video {
	max-width: 100%;
}