[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}

/* font */

body {
	font-family: 'Roboto', sans-serif;
}

.label {
	font-family: 'Arial', 'Helvetica', sans-serif;
}

/* Bootstrap adjustments */

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button;
}

.datepicker {
	padding-left: 10px;
}

.btn-secondary {
	border: 1px solid #ccc;
}

div.datepicker {
	margin-top: 70px;
}

.glyphicon {
	margin-right: 6px;
	font-size: 15px;
}

.label {
	display: inline-block;

	/* deal with oversize labels */
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;

	cursor: default;
  margin-right: 3px;
}

.navbar-fixed-top .navbar-collapse {
	max-height: 1000px;
}

.caret {
	margin-left: 5px;
	margin-bottom: 3px;
}

.btn .caret {
	margin-left: 5px;
	margin-bottom: 3px;
}

.sort {
  color: #ccc;
  font-size: 12px;
}

/* pinboard */
.pinboard-button {
  height: 38px;
  padding-top: 9px;
}

.settag {
  float: right;
  font-size: 12px;

  color: #ccc;
}

.settag:hover {
  color: #000;
}


/* outline */

.btn-outline {
    background-color: #fff;
    color: inherit;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

/* KISS color */

/*
.navbar-default .navbar-nav > li > a {
	color: #00b8db;
}

a {
	color: #00b8db;
}

a:hover {
	color: #00a2c0;
}

.dropdown-menu li a {
	color: #00b8db;
}

.form-control:focus {
	border-color: #00b8db;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(57, 171, 216, 0.6);
}

*/

.navbar {
	border-top: 2px solid #666;
}

.fixed-bottom {
	position: fixed;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 1030;
	border-bottom: 3px solid #666;

	font-size: 11px;
	padding-left: 15px;
	padding-top: 5px;
	background-color: rgba(255, 255, 255, 1);
}

/*
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
	background-color: #00b8db;
	color: white;
}
*/

/* navbar */

.navbar-toggle {
	float: left;
	margin-left: 15px;
}

.navbar-nav > li > span {
	display: block;
	line-height: 120%;
	padding: 12px 16px;
}

.navbar-nav > li > a {
	display: block;
	padding: 20px;

	padding-left: 15px;
	padding-right: 15px;
}

.navbar-toggle {
	margin-top: 13px;
}

.table > tbody > .noborder > th {
	border-top: none;
}

a.logout {
	color: #a00;
}

a.logout:hover {
	color: #d00;
	text-decoration: none;
}


/* login */

#login {
	margin: auto;
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;

	width: 300px;
	height: 500px;
	text-align: center;
}

img.login {
	margin-bottom: 50px;
}

.input-group-addon {
	width: 100px;
}

input[type='text'],
input[type='number'],
input[type='password'],
textarea {
	font-size: 16px;
	/* width: 180px; */
}

/* ng-img-crop */

.cropArea {
  border: solid 1px #E4E4E4;
  overflow: hidden;
  width:510px;
  height:300px;
}

/* main */

.hm {
	margin-left: 3px;
}

img.user {
	width: 200px;
	border-radius: 100px;
}

img.usersmall {
	width: 40px;
	border-radius: 20px;
	margin-right: 15px;

	filter: grayscale(100%);
}

img.usersmall:hover {
	filter: none;
}

body {
	max-width: 1024px;
}

nav div {
	max-width: 1024px;
}

#left {
	display: inline-block;
}

#right {
	display: inline-block;
	float: right;
}

#content {
  margin-top: 70px;
	padding: 15px;
}

#csv {
	margin-left: 15px;
}

.back {
	 padding-bottom: 15px;
}

h1 {
	margin-top: 0;
	margin-bottom: 30px;
	font-size: 24px;

	color: #aaa;
}

h2 {
	margin-top: 0;
	font-size: 16px;
}

.r {
	text-align: right;
}

.total {
	font-weight: bold;

	border-bottom: solid;
	border-bottom-width: 2px;
}

.table > tbody > tr.total > td {
	vertical-align: bottom;
	height: 50px;
}

.loading img {
	width: 100px;
	height: 100px;
}

.disclaimer {
	color: #aaa;
	font-size: 12px;
}

.phone {
	color: #aaa;
	font-size: 12px;
}

sup {
	color: #aaa;
}

.red {
	color: #a00 !important;
}

.green {
	color: #0a0 !important;
}

.pending {
	color: #aaa !important;
}

.gray {
	color: #aaa !important;
}

.cancelled {
	text-decoration: line-through;
}

.inactive {
	text-decoration: line-through;
}

.inactiveAccount {
  background-color: #fcf8e3 !important;
}

.inactiveAccount.active {
  background-color: #f7f2d5 !important;
}

.sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 45px;
}


.narrowshow {
	display: none;
}

.mediumshow {
	display: none;
}

@media (max-height:600px) {
	.smallHeight {
		display: none !important;
	}
}

@media (max-width: 1000px) {
	.wide3 {
		display: none !important;
	}
}

@media (max-width: 850px) {
	.wide2b {
		display: none !important;
	}

	.label {
		/* deal with oversize labels */
		max-width: 100px;
	}
}

@media (max-width: 850px) {
	.wide2 {
		display: none !important;
	}
}

@media (max-width: 600px) {
	.wide {
		display: none !important;
	}
}

@media (max-width: 850px) {
	.medium {
		display: none;
	}

	.mediumshow {
		display: inline-block;
	}
}

@media (max-width: 600px) {
	.narrow {
		display: none;
	}

	.narrowshow {
		display: inline-block;
	}
}


/* iPhone X changes: */

nav {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

#content {
	margin-left: env(safe-area-inset-left);
	margin-right: env(safe-area-inset-right);
}

@supports(padding: max(0px)) {
  #csv {
    margin-left: max(15px, env(safe-area-inset-left));
  }

  .fixed-bottom {
    padding-left: max(15px, env(safe-area-inset-left));
    border-bottom: max(3px, env(safe-area-inset-bottom) - 13px) solid #666;
  }
}


/* print css */

.printonly {
	display: none !important;
}

@page {
	size: auto;
	margin: 0mm;
}

@media print
{
	body {
		margin: 5mm;
		margin-left: 18mm;
	}

	.printonly {
		display: block !important;
	}

	.navbar {
		display: block;
		border-width:0 !important;
	}

	.navbar-fixed-top {
		position: absolute;
	}

	.noprint * {
		display: none !important;
	}

	.print * {
		display: block !important;
	}

	#text {
		margin-left: 15px;
		padding-top: 35mm;
	}

	#content {
		margin-top: 50mm;
	}

	#bottom {
		position: absolute;
		bottom: 15mm;

		margin-left: 15px;
	}

	#right {
		margin: 5mm;
	}

	#date {
		float: right;
		margin: 5mm;
	}

  	a[href]:after { content: none !important; }
  	img[src]:after { content: none !important; }
}
