[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;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="datepicker"],
input[type="search"] {
  height: 32px;
}

.selectize-input input {
  height: auto;
}

.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 #00b8db;
}

.fixed-bottom {
	position: fixed;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 1030;
	border-bottom: 3px solid #00b8db;

	color: #00b8db;
	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: 350px;
	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;
}

/* ng-img-crop */

.cropArea {
  border: solid 1px #E4E4E4;
  overflow: hidden;
  height: 300px;
}

/* main */

.two-columns {
  column-count: 2;
}

.hm {
	margin-left: 3px;
}

img.user {
	width: 200px;
	border-radius: 50%;

  margin-bottom: 40px;
}

img.usersmall {
	width: 40px;
	border-radius: 50%;
	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 {
	width: 100%;

	text-align: center;

	margin-top: 150px;
	margin-bottom: 100px;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 14px;
}
.lds-ellipsis div {
  position: absolute;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ccc;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 20px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 34px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(14px, 0);
  }
}


.lds-ring {
  display: inline-block;
  position: relative;
  width: 128px;
  height: 128px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 90px;
  height: 90px;
  margin: 12px;
  border: 9px solid #ccc;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #ccc transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


th.sticky-header {
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    z-index: 10;
    background-color: white;
}


.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;
	text-decoration-color: rgba(0, 0, 0, 0.5);
}

.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;
}

.communityselect {
	margin-left: 20px;
	margin-top: 13px;
	max-width: 150px;
}

@media (max-width: 1000px) {
	.wide3 {
		display: none !important;
	}
}

@media (max-width: 900px) {
	.wide2 {
		display: none !important;
	}

	.label {
		/* deal with oversize labels */
		max-width: 100px;
	}

	.medium {
		display: none;
	}

	.mediumshow {
		display: inline-block;
	}

	.logonname {
		display: none;
	}

  #right {
    display: none;
  }
}

@media (max-width: 767.5px) {
	.logonname {
		display: inline;
	}

	.communityselect {
		margin-left: 13px;
		margin-top: 10px;
		margin-bottom: 13px;
		max-width: 250px;
	}

  #right {
    display: block;
  }

  .two-columns {
    columns: 1;
  }
}

@media (max-width: 600px) {
	.wide {
		display: none !important;
	}

	.narrow {
		display: none;
	}

	.narrowshow {
		display: inline-block;
	}
}

@media (max-height:600px) {
	.smallHeight {
		display: none !important;
	}
}

/* IE */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   .sticky {
		top: 0px;
	}
}


/* 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));
  }
}


/* 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; }
}
