app-toolbar-deprecated {
  display: block;
  width: 100%;
  height: 50px;
  box-shadow: 0 0 5px #000;
  z-index: 2;
  position: relative;
}
app-toolbar-deprecated .app-toolbar-content {
  flex-grow: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
app-toolbar-deprecated .app-toolbar-box {
  display: flex;
  align-items: center;
  flex-direction: row;
  margin: 0 auto;
}
@media (min-width: 601px) {
  app-toolbar-deprecated {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backface-visibility: hidden;
  }
}
.app-toolbar-item {
  height: 50px;
  display: block;
  position: relative;
  flex-shrink: 0;
  opacity: 0.5;
  cursor: pointer;
}
.app-toolbar-item:hover,
.app-toolbar-item.dropdown-open {
  opacity: 1;
}
.app-toolbar-item button {
  padding: 10px;
  text-align: center;
  min-width: 50px;
  line-height: 30px;
  outline: 0;
  background: none;
  border: 0;
}
.app-toolbar-item menu {
  position: absolute;
  text-align: left;
  min-width: 150px;
  margin: 0;
  padding: 2px;
  background: #111;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: opacity 250ms, margin-top 250ms;
}
.app-toolbar-item menu.ng-enter,
.app-toolbar-item menu.ng-leave.ng-leave-active {
  opacity: 0;
  margin-top: -10px;
}
.app-toolbar-item menu.ng-leave,
.app-toolbar-item menu.ng-enter.ng-enter-active {
  opacity: 1;
  margin-top: 0;
}
.app-toolbar-item menu[align="right"] {
  right: 0;
}
.app-toolbar-item hr {
  background: #333;
}
.app-toolbar-item ul {
  margin: 0;
}
.app-toolbar-item ul::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.app-toolbar-item ul::-webkit-scrollbar-track {
  background: #111;
}
.app-toolbar-item ul::-webkit-scrollbar-thumb {
  background: #555;
}
.app-toolbar-item ul::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}
.app-toolbar-item li {
  opacity: 0.5;
  padding: 5px 10px;
}
.app-toolbar-item li:not([disabled]):hover {
  opacity: 1;
  background: #666;
}
.app-toolbar-item small {
  display: block;
  opacity: 0.8;
}
@media (max-width: 600px) {
  .app-toolbar-item menu {
    position: fixed;
    left: 0;
    right: 0;
  }
}

deprecated-loadbar {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background: #1f3d7a;
  z-index: 10;
  transition: opacity ease-in 250ms;
  pointer-events: none;
}
deprecated-loadbar:before {
  content: "";
  display: block;
  width: 100%;
  height: 100px;
  background: linear-gradient(180deg, #1f3d7a, rgba(31, 61, 122, 0));
  position: absolute;
  animation: deprecated-loadbar-shade--animation 2s infinite;
}
deprecated-loadbar:after {
  content: "";
  display: block;
  background: #36C;
  height: 100%;
  position: absolute;
  animation: deprecated-loadbar-line--animation 2s infinite;
}
@keyframes deprecated-loadbar-shade--animation {
  0% {
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes deprecated-loadbar-line--animation {
  0% {
    left: 0;
    right: 100%;
  }
  50% {
    left: 0;
    right: 0;
  }
  100% {
    left: 100%;
    right: 0;
  }
}

.ui-card-deprecated {
  display: block;
  position: relative;
  background-color: #FFF;
  box-shadow: 0 0 0 1px #d9d9d9;
  overflow: hidden;
}
.ui-card-deprecated.active {
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.32);
}
.ui-card-deprecated[disabled] {
  color: #b3b3b3;
  background-color: #f7f7f7;
}
@media (min-width: 600px) {
  .ui-card-deprecated:not(.card-flat) {
    box-shadow: 0 -1px 0 #E5E5E5, 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
  }
}
.card-hoverable {
  position: relative;
  cursor: pointer;
}
.card-hoverable:before {
  content: "";
  background: #000;
  opacity: 0;
  position: absolute;
  transition: opacity 250ms;
  pointer-events: none;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.card-hoverable:hover:before,
.card-hoverable:focus:before {
  opacity: 0.05;
}
.card-hoverable:active:before {
  opacity: 0.10;
}
paper {
  display: block;
  position: relative;
  width: 100%;
  margin: 1em 0;
  border: 1px solid #DDD;
  border-radius: 2px;
  background: #FDFDFD;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
paper:after {
  content: "";
  visibility: hidden;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 100;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  cursor: progress;
  background: #FDFDFD;
  transition: opacity 100ms;
}
paper.disabled {
  transform: scale(0.95);
}
paper.disabled:after {
  visibility: visible;
  opacity: 0.8;
}
.paper-block {
  display: block;
  position: relative;
  width: 100%;
  margin: 1em 0;
  border: 1px solid #DDD;
  border-radius: 2px;
  background: #FDFDFD;
  padding: 0 2em;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
.card2 {
  display: block;
  position: relative;
  margin: 1em 0;
  background: #FFF;
  box-shadow: 0 -1px 0 #E5E5E5, 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
}
.card2.active {
  margin: 3em 0;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.32);
}
.card2-title {
  font-weight: 700;
  font-size: 120%;
}
.card2-content {
  display: block;
  padding: 0.5em 1.5em;
}


document-input {
  flex-grow: 1;
}
document-input:focus .document-input-button {
  visibility: visible !important;
}
document-input:hover .document-input-button {
  visibility: visible !important;
}
document-input .document-input-button {
  cursor: pointer;
}
document-input .document-input-button:hover {
  background: rgba(0, 0, 0, 0.05);
}
document-input .document-input-placeholder {
  opacity: 0.5;
}
document-input .document-input-value {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
document-input .document-input-progress {
  margin-left: 0.5em;
  height: 0.5em;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.1);
}
document-input .document-input-bar {
  width: 0;
  height: 100%;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.2);
  transition: width 0.25ms;
}

documentos-explorer .viewport {
  display: flex;
  flex-wrap: wrap;
  padding: 15px;
}
documentos-explorer ui-file {
  display: flex;
  width: 100%;
  margin: 5px 0;
  background: #EEE;
  outline: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
documentos-explorer ui-file.pdf {
  border-color: #F66;
}
documentos-explorer ui-file.jpg,
documentos-explorer ui-file.jpeg,
documentos-explorer ui-file.png {
  border-color: #693;
}
documentos-explorer ui-file button {
  font-size: small;
  text-align: left;
  padding: 0 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
documentos-explorer ui-file button:hover {
  background: rgba(0, 0, 0, 0.1);
}
/*document-input {
	display     : flex;
	flex-grow   : 1;
	flex-shrink : 0;
	flex-basis  : 1.5em;
	line-height : 1.5em;
	height      : 1.5em;
	// background  : rgba(0, 0, 0, 0.025);
	// border      : 1px solid  @control-border-color;
	.container {
		flex-grow : 1;
		display   : flex;
	}
	.placeholder {
		color      : rgba(0, 0, 0, 0.25);
		font-style : italic;
	}
	.uploading {
		flex-grow : 1;
		padding   : 0 10px;
		display   : flex;
		.progress {
			flex-grow     : 1;
			height        : 10px;
			margin        : 7px 0;
			border        : 1px solid rgba(0, 0, 0, 0.2);
			border-radius : 3px;
			background    : rgba(0, 0, 0, 0.1);
		}
		.bar {
			width      : 0;
			height     : 100%;
			background : @color-primary;
			transition : width @speed-med;
		}
	}
	.input-document-action {
		color      : @font-color;
		text-align : left;
		padding    : 0 10px;
		.no-break();
		&:hover {
			background : rgba(0, 0, 0, 0.05);
		}
	}
}

document-input {
	&.ng-invalid {
		border-color : @color-error;
	}
}
*/
.documents-select {
  width: 100%;
  height: 100%;
  margin: 0;
}
.documents-select .viewport-container {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  flex-shrink: 1;
  width: 100%;
  height: 100px;
}
.documents-select .documents-uploading .uploading {
  flex-shrink: 0;
  flex-grow: 1;
  padding: 5px 0;
  display: flex;
}
.documents-select .documents-uploading .uploading .progress {
  height: 10px;
  width: 140px;
  margin: 5px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.1);
}
.documents-select .documents-uploading .uploading .bar {
  width: 0;
  height: 100%;
  background: #36C;
  transition: width 250ms;
}
.documents-select .folders {
  border-right: 1px solid #CCC;
  background: #DDD;
  min-width: 150px;
  overflow-y: auto;
}
.documents-select .folders ul {
  margin: 15px 0;
}
.documents-select .folders li {
  margin: 3px 5px;
  padding: 2px 10px;
  font-size: small;
}
.documents-select .folders li:hover {
  cursor: pointer;
  outline: 1px solid #CCC;
  background: #EEE;
}
.documents-select .folders li.active {
  background: #CCC;
  outline: 1px solid #BBB;
}
.documents-select .folders li.dragOver {
  background: #333;
  color: #FFF;
}
.documents-select .viewport {
  flex-grow: 1;
  display: block;
  overflow-y: scroll;
  background: #EEE;
}
.documents-select .viewport::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.documents-select .viewport::-webkit-scrollbar-track {
  background: #EEE;
}
.documents-select .viewport::-webkit-scrollbar-thumb {
  background: #888;
}
.documents-select .viewport::-webkit-scrollbar-thumb:hover {
  background-color: #36C;
}
.documents-select .viewport.empty {
  font-style: oblique;
  padding: 40px;
  color: #666;
}
.documents-select .label {
  flex-shrink: 0;
  font-size: small;
  line-height: 16px;
  padding: 0 5px;
  margin: 2px 3px;
  color: #FFF;
  cursor: pointer;
  background-color: #666;
}
.documents-select .label:hover {
  outline: 1px solid rgba(0, 0, 0, 0.5);
}
.documents-select .documents-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}
.documents-select .documents-list[mode="preview"] .preview {
  display: none;
}
.documents-select h1 {
  color: #333;
  font-size: large;
  font-weight: 400;
  line-height: 20px;
  margin: 15px;
  text-transform: capitalize;
}
documents-select .selector {
  display: block;
  flex-shrink: 0;
  margin: 8px;
  width: 14px;
  height: 14px;
  border: 2px solid #333;
  cursor: pointer;
  border-radius: 7px;
}
documents-select .selector:hover {
  border-color: #36C;
}
.file-thumbnail {
  outline: 1px solid rgba(0, 0, 0, 0.2);
  transition: all 100ms;
  position: relative;
  padding: 0;
  margin: 10px;
}
.file-thumbnail:disabled {
  cursor: progress;
  opacity: 0.5;
}
.file-thumbnail:enabled:hover {
  outline: 1px solid #36C;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.file-thumbnail:enabled.selected {
  outline: 3px solid #36C;
}
.file-thumbnail:enabled.selected .selector {
  border-width: 4px;
  opacity: 1;
}
.file-thumbnail .selector {
  position: absolute;
  left: 0;
  top: 0;
  background: #EEE;
}
.file-thumbnail .thumbnail {
  display: block;
  width: 200px;
  height: 240px;
  flex-grow: 1;
  background-repeat: no-repeat;
  background-color: #c8c8c8;
  background-position: center;
}
.file-thumbnail .name {
  display: block;
  width: 200px;
  font-size: small;
  text-align: center;
  padding: 0 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.file-thumbnail .label {
  position: absolute;
  top: 0;
  right: 0;
  margin: 5px -5px;
  text-transform: uppercase;
  background-color: #666;
}
.file-list {
  width: 100%;
  display: flex;
  text-align: left;
  align-items: center;
  cursor: default;
  border-top: 1px solid #DDD;
}
.file-list .selector {
  opacity: 0.25;
}
.file-list .name {
  line-height: 30px;
  flex-grow: 1;
  padding: 0 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.file-list .size {
  font-size: small;
  padding: 0 10px;
  opacity: 0.6;
}
.file-list:last-child {
  border-bottom: 1px solid #DDD;
}
.file-list:hover:enabled {
  background: #DDD;
}
.file-list:hover:enabled .selector {
  opacity: 1;
}
.file-list:disabled {
  cursor: progress;
  opacity: 0.5;
}
.file-list.selected,
.file-list.selected:hover {
  background: rgba(51, 102, 204, 0.1);
}
.file-list.selected .selector,
.file-list.selected:hover .selector {
  opacity: 1;
  border-width: 4px;
}
.document-link {
  display: inline;
  /*&:before {
		content      : "\f05a";
		display      : inline-block;
		margin-right : 0.5em;
		font-family  : FontAwesome, sans-serif;
	}*/
}
.document-link a {
  display: inline;
  padding: 0.25em 0.5em;
  border-radius: 3px;
  color: #FFF;
  background: rgba(51, 102, 204, 0.7);
  white-space: nowrap;
  transition: background 100ms;
}
.document-link a:hover {
  text-decoration: none;
  background: #36C;
}
.document-link span {
  opacity: 0.5;
  font-style: normal;
}

.cardheader {
  display: block;
  color: #FFF;
  background-color: #36C;
  background-size: cover;
  padding-top: 4rem;
}
.cardheader h1 {
  font-size: 300%;
  font-weight: 300;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cardheader.inactive {
  filter: grayscale(100%);
}
/*header:not(.card), header:not(.ui-card), header:not(.ui-header) {
	display          : block;
	width            : 100%;
	box-shadow       : 0 0 10px rgba(0, 0, 0, 0.5);
	color            : #FFF;
	padding          : 8em 0 1em 0;
	z-index          : 1;
	background-image : none;
	background-color : @color-primary;
	background-size  : cover;
	transition       : background @speed-slow;
	position         : relative;
	&.inactive {
		filter : grayscale(100%);
	}
	h1 {
		color       : inherit;
		font-size   : 300%;
		font-weight : lighter;
		line-height : 1;
		margin      : 0;
		padding     : 0;
	}
	p {
		margin : 0.5em 0;
	}
}*/
@media (max-width: 600px) {
  .cardheader h1 {
    font-size: 200%;
  }
}

.hgroup,
hgroup {
  margin: 1.25em 0;
}
.hgroup h1,
hgroup h1,
.hgroup h2,
hgroup h2,
.hgroup h3,
hgroup h3,
.hgroup h4,
hgroup h4,
.hgroup h5,
hgroup h5,
.hgroup h6,
hgroup h6,
.hgroup .h1,
hgroup .h1,
.hgroup .h2,
hgroup .h2,
.hgroup .h3,
hgroup .h3 {
  margin: 0;
}
h1,
.h1 {
  font-size: 200%;
  font-weight: 300;
}
h2,
.h2 {
  font-size: 150%;
  font-weight: 400;
}
h3,
.h3 {
  font-size: 120%;
  font-weight: 400;
}
.h1-large {
  font-size: 300%;
}

/*.ui-item {
	display     : flex !important;
	position    : relative;
	align-items : baseline;
	//	margin      : 0.5em 0;
	// padding-left : 0.5em;
	// padding-right : 0.5em;
	& > * {
		&:not(:first-child) {
			margin-left : 0.5em;
		}
	}
}*/
.item-disabled {
  color: #b3b3b3;
  background: #f7f7f7;
}
.item-group {
  display: block;
  font-weight: 700;
  color: #a6a6a6;
  margin: 1em 0;
}
/*.item-section {
	display : block;
	&:not(:first-child) {
		padding-left : 0.5em;
	}
}*/
/*.item-divider {
	margin-left : 0.5em;
	background  : hsl(0, 0%, 90%);
	width       : 1px;
	height      : 100%;
	position    : absolute;
}*/

.ui-main {
  min-height: 100vh;
  position: relative;
}
@media (min-width: 601px) {
  .ui-main:before {
    content: "";
    display: block;
    height: 50px;
  }
}

#session .avatar,
.session-avatar {
  display: inline-block;
  background: #1C1C1C;
  border-radius: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
#session .avatar .avatar-figure,
.session-avatar .avatar-figure {
  fill: #9D9D9D;
}

.tabbed {
  display: block;
  padding: 0.5em 1.5em;
  background: #f2f2f2;
}
.tabbed .tab {
  display: block;
  cursor: pointer;
  font-weight: 700;
  opacity: 0.6;
  border-radius: 3px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
  padding: 0.25em 0.5em;
  margin: 0 -0.5em;
  transition: all 100ms;
}
.tabbed .tab:hover {
  opacity: 1;
}
.tabbed .tab.active {
  opacity: 1;
  cursor: default;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1);
}
@media (min-width: 0) {
  .tabbed:not(.tabbed-column) {
    overflow-x: auto;
    display: flex;
  }
  .tabbed:not(.tabbed-column)::-webkit-scrollbar {
    width: 0.5em;
    height: 0.5em;
  }
  .tabbed:not(.tabbed-column)::-webkit-scrollbar-track {
    background: #d9d9d9;
  }
  .tabbed:not(.tabbed-column)::-webkit-scrollbar-thumb {
    background: #cccccc;
  }
  .tabbed:not(.tabbed-column)::-webkit-scrollbar-thumb:hover {
    background: #999999;
  }
  .tabbed:not(.tabbed-column) .tab {
    text-align: center;
    flex-shrink: 0;
  }
  .tabbed:not(.tabbed-column) .tab:not(:first-child) {
    margin-left: 1em;
  }
}

toolbar {
  display: flex;
  width: 100%;
  flex-shrink: 0;
  justify-content: flex-end;
  background: #DDD;
}
toolbar + toolbar {
  border-top: 1px solid #c4c4c4;
}
toolbar toolbar-group {
  display: flex;
  flex-shrink: 0;
  padding: 3px;
}
@media (max-width: 600px) {
  toolbar toolbar-group {
    flex-direction: column;
    align-items: stretch;
  }
}
toolbar button {
  font-size: small;
  color: #333;
  font-weight: 700;
  padding: 0 5px;
  text-align: center;
  border: 1px solid #c4c4c4;
  transition: all 250ms;
  background: #eaeaea;
  margin: 1px;
  border-radius: 2px;
  outline: 0;
}
toolbar button:disabled {
  cursor: default;
  opacity: 0.6;
}
toolbar button:enabled:hover {
  border-color: #919191;
}
toolbar button:enabled:active {
  border-color: #aaaaaa;
  background: #f7f7f7;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1) inset;
}
toolbar button.active {
  color: #000;
  background: #f7f7f7;
}
toolbar label {
  display: block;
  font-size: small;
  padding: 1px 10px;
  margin: 1px;
  white-space: nowrap;
}
toolbar input,
toolbar select {
  display: block;
  min-width: 120px;
  font-size: small;
  color: #333;
  font-weight: 700;
  padding: 1px 5px;
  outline: 0;
  border: 1px solid #c4c4c4;
  background: #eaeaea;
  height: 22px;
  transition: all 250ms;
  border-radius: 2px;
  margin: 1px;
}
toolbar input::-webkit-input-placeholder,
toolbar select::-webkit-input-placeholder {
  font-family: 'Roboto', "Roboto2", sans-serif;
  font-style: oblique;
  font-size: small;
  font-weight: 400;
  color: #999;
}
toolbar input:-moz-placeholder,
toolbar select:-moz-placeholder {
  font-family: 'Roboto', "Roboto2", sans-serif;
  font-style: oblique;
  font-size: small;
  font-weight: 400;
  color: #999;
}
toolbar input:-ms-input-placeholder,
toolbar select:-ms-input-placeholder {
  font-family: 'Roboto', "Roboto2", sans-serif;
  font-style: oblique;
  font-size: small;
  font-weight: 400;
  color: #999;
}
toolbar input:hover,
toolbar select:hover {
  border-color: #919191;
}
toolbar input:focus,
toolbar select:focus {
  border-color: #aaaaaa;
  background: #f7f7f7;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1) inset;
}
toolbar input.active,
toolbar select.active {
  color: #000;
  background-color: #f7f7f7;
}
toolbar button.combo {
  display: block;
  position: relative;
}
toolbar button.combo:after {
  padding: 0 3px;
  content: "\25BE";
}
toolbar button.combo.open ul {
  visibility: visible;
  opacity: 1;
  transform: translate(0, 0);
}
toolbar button.combo.open:before {
  cursor: default;
  background: rgba(245, 245, 245, 0.3);
  opacity: 0.2;
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  animation: fade-in 100ms;
}
toolbar button.combo ul {
  text-align: left;
  font-weight: 400;
  font-size: 14px;
  color: #333;
  min-width: 120px;
  visibility: hidden;
  position: absolute;
  background: #eaeaea;
  margin: 5px -5px;
  padding: 1px;
  z-index: 991;
  opacity: 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  transform: translate(0, -30px);
  transition: opacity 250ms, transform 250ms;
}
toolbar button.combo ul[align="right"] {
  right: 0;
}
toolbar button.combo ul li {
  padding: 5px 10px;
  list-style-type: none;
  cursor: pointer;
  white-space: nowrap;
  border-left: 10px solid transparent;
}
toolbar button.combo ul li:hover {
  background: #DDD;
}
toolbar button.combo ul li.active {
  border-color: #919191;
}
toolbar button.combo ul li + li {
  margin-top: 1px;
}
toolbar [dropdown] {
  position: relative;
}
toolbar [dropdown-toggler] {
  display: block;
}
toolbar [dropdown-menu] {
  text-align: left;
  font-weight: 400;
  font-size: 14px;
  color: #333;
  min-width: 120px;
  position: absolute;
  background: #eaeaea;
  margin: 5px 1px;
  padding: 2px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  transform: translate(0, -30px);
  transition: opacity 250ms, transform 250ms;
}
toolbar [dropdown-menu][align="right"] {
  right: 0;
}
toolbar combobox {
  display: block;
  position: relative;
}
toolbar combobox.open menu {
  visibility: visible;
  opacity: 1;
  transform: translate(0, 0);
}
toolbar combobox.open:before {
  cursor: default;
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  animation: fade-in 100ms;
}
toolbar combobox .toggler:after {
  padding: 0 3px;
  content: "\25BE";
}
toolbar combobox menu {
  text-align: left;
  font-weight: 400;
  font-size: 14px;
  color: #333;
  min-width: 120px;
  visibility: hidden;
  position: absolute;
  background: #eaeaea;
  margin: 5px 1px;
  padding: 2px;
  z-index: 991;
  opacity: 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  transform: translate(0, -30px);
  transition: opacity 250ms, transform 250ms;
}
toolbar combobox menu[align="right"] {
  right: 0;
}
toolbar combobox ul {
  margin: 0;
  padding: 0;
  overflow-y: auto;
  max-height: 400px;
}
toolbar combobox ul::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
toolbar combobox ul::-webkit-scrollbar-track {
  background: #eaeaea;
}
toolbar combobox ul::-webkit-scrollbar-thumb {
  background: #b7b7b7;
}
toolbar combobox ul::-webkit-scrollbar-thumb:hover {
  background-color: #848484;
}
toolbar combobox ul li {
  padding: 2px 10px;
  list-style-type: none;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  border: 1px solid transparent;
}
toolbar combobox ul li:before {
  content: "";
  display: inline-block;
  width: 20px;
}
toolbar combobox ul li:hover {
  border-color: #aaaaaa;
  background: #DDD;
}
toolbar combobox ul li.active:before {
  content: "✓";
}

ui-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2em;
}
ui-cover h1 {
  color: inherit;
  line-height: 50px;
  font-size: 250%;
  font-weight: 300;
  text-align: center;
  margin: 20px 0;
}
ui-cover h2 {
  color: inherit;
}
ui-cover button {
  display: inline-block;
  position: relative;
  line-height: 25px;
  color: #FFF;
  border-radius: 3px;
  padding: 5px 15px;
  background: orangered;
  top: 0;
  margin: 10px 0;
  transition: all 250ms;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
ui-cover button:disabled {
  box-shadow: none;
  opacity: 0.5;
  cursor: not-allowed;
}
ui-cover button:not([disabled]):hover {
  background: darkorange;
  top: -2px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}
ui-cover button:not([disabled]):active {
  background: #1f3d7a;
  top: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
ui-cover .input {
  display: block;
  font-size: inherit;
  width: 100%;
  margin: 1em 0;
  padding: 0.5em 1em;
  line-height: 1;
  color: inherit;
  outline: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.05);
}
ui-cover .input::-webkit-input-placeholder {
  font-family: 'Roboto', "Roboto2", sans-serif;
  font-style: oblique;
  font-size: 14px;
  font-weight: 400;
  color: #999;
}
ui-cover .input:-moz-placeholder {
  font-family: 'Roboto', "Roboto2", sans-serif;
  font-style: oblique;
  font-size: 14px;
  font-weight: 400;
  color: #999;
}
ui-cover .input:-ms-input-placeholder {
  font-family: 'Roboto', "Roboto2", sans-serif;
  font-style: oblique;
  font-size: 14px;
  font-weight: 400;
  color: #999;
}
ui-cover input[type="checkbox"] {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  outline: none;
  margin: 2px 10px 2px 0;
  height: 18px;
  width: 18px;
}
ui-cover input[type="checkbox"]:before {
  display: block;
  line-height: 18px;
  text-align: center;
  width: 18px;
  height: 18px;
}
ui-cover input[type="checkbox"]:checked:before {
  font-family: "Segoe", sans-serif;
  content: "\2713";
}

.ui-dialog-container {
  z-index: 3;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
}
.ui-dialog-container .ui-dialog-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  animation: fade-in 250ms;
}
ui-dialog {
  padding: 0;
  width: auto;
  height: auto;
  max-width: 100%;
  min-width: 400px;
  max-height: 100%;
  position: relative;
  margin: 0 auto;
  display: flex;
  border: none;
  border-radius: 2px;
  flex-direction: column;
  flex-shrink: 1;
  background: #FDFDFD;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  /*transition     : transform @speed-med, opacity @speed-med;
	&.ng-enter, &.ng-leave.ng-leave-active {
		opacity   : 0;
		transform : scale(0.8);
	}
	&.ng-leave, &.ng-enter.ng-enter-active {
		opacity   : 1;
		transform : scale(1);
	}*/
}
ui-dialog-header {
  display: block;
  flex-shrink: 0;
  font-weight: 700;
  padding: 1em 3em;
  border-bottom: 1px solid #DDD;
  background: #F6F6F6;
}
ui-dialog-header + ui-dialog-body {
  border-bottom: 1px solid #DDD;
}
ui-dialog-header h1,
ui-dialog-header h2,
ui-dialog-header h3 {
  line-height: 1;
  font-size: 120%;
  margin: 0;
}
ui-dialog-body {
  flex-shrink: 1;
  flex-grow: 1;
  display: block;
  padding: 1em 3em;
  overflow-y: auto;
}
ui-dialog-footer {
  flex-shrink: 0;
  padding: 1em 3em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
ui-dialog-footer > *:not(:first-child) {
  margin-left: 8px;
}

ui-page {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 100%;
  margin: 8px auto;
  outline: 1px solid #DDD;
  background: #FDFDFD;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  transition: transform 100ms ease-out;
}
ui-page:after {
  content: "";
  visibility: hidden;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 100;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  cursor: progress;
  background: #FDFDFD;
  transition: opacity 100ms;
}
ui-page.disabled {
  transform: scale(0.95);
}
ui-page.disabled:after {
  visibility: visible;
  opacity: 0.8;
}
@media (max-width: 600px) {
  ui-page {
    margin: 8px 8px 0 8px;
  }
}
