fix: fixed padding for checkboxes in frontend

@import "variables.less";

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

span ul li span {
  vertical-align: top;
  margin-left: @margin-horizontal;
}

html {
  font-family: Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: #fff;
  font-size: 14px;
}

.react-autosuggest__container {
  position: relative;
}

.react-autosuggest__input {
  border: 0;
}

.react-autosuggest__input:focus {
  outline: none;
}

.react-autosuggest__container--open .react-autosuggest__input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.react-autosuggest__suggestions-container {
  display: none;
}

.react-autosuggest__container--open .react-autosuggest__suggestions-container {
  display: block;
  position: absolute;
  border: 1px solid #aaa;
  background-color: #fff;
  border-bottom-left-radius: @border-radius-base;
  border-bottom-right-radius: @border-radius-base;
  z-index: 2;
}

.react-autosuggest__suggestions-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.react-autosuggest__suggestion {
  cursor: pointer;
  padding: 0.4em 0.5em;
}

.react-autosuggest__suggestion--focused {
  background-color: #ddd;
}

.no-suggestions {
  margin-top: @margin-horizontal;
  padding-left: @padding-large-horizontal;
}

body {
  margin: 0;
  line-height: @line-height-base;
  color: @text-color;
  background-color: #fff;
  font-size: 1em;
  line-height: @line-height-small;
}

.view {
  width:100%;
  height:100%;
  display:flex;
}

.page {
  overflow: hidden;
}

.searchViewTheme {
  align-items: center;
  color: rgb(84, 102, 122);
  position: relative;
  max-width: 48em;
  width: 100%;
  margin-top: @margin-top;
  margin-bottom: @margin-base;
  margin-left: @margin-left;
}

.wideViewTheme {
  align-items: center;
  overflow: hidden;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  max-width:90%;
  width:inherit;
  margin-left: auto;
  margin-right: auto;
  padding-left: @padding-base-em;
  padding-right: @padding-base-em;
}

.scrollViewTheme {
  align-items: center;
  overflow: hidden;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  max-width:48em;
  width:inherit;
  margin-left: auto;
  margin-right: auto;
  padding-left: @padding-base-em;
  padding-right: @padding-base-em;
}

.scrollViewTheme h2 {
  padding-left: @padding-left-small-em;
  margin-top:0;
}

.contentViewContainer {
  max-width: 48em;
  margin-right: auto;
  width: 100%;
  margin-top: @margin-base;
  margin-left: @margin-base;
}

.container:focus {
  outline:0;
}

.container:after {
  display: block;
  clear: both;
  content: '';
}

.block-padding {
  padding: @padding-block;
}

.textStateClasses {
  text-align: left;
  width: 100%;
}

.textStateClasses.textInput {
  align-items: center;
  background-color: #fff;
  height: 2.25rem;
  width: 100%;
}

.textStateClasses.text {
  align-items: center;
  border: solid 2px transparent;
  cursor: text;
  height: 2.25rem;
  padding: @padding-text-small @padding-text-large;
  width: 100%;
}

input.textInput {
  align-items: center;
  border: solid 2px transparent;
  cursor: text;
  background-color: #fff;
  height: 2.25rem;
  padding: @padding-text-small @padding-text-large;
  width: 100%;
  border-radius: @border-radius-small;
}

#ddllist1,
#ddllist2 {
  font-size: 1em;
  line-height: @line-height-base;
  height: 2.429em;
  padding: @padding-small-vertical @padding-small-horizontal;
  color: #555;
  border: 1px solid #ddd;
  border-radius: @border-radius-base;
  background: #fff none;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

span.icons {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

span.svg {
  display: inline-block;
  position: relative;
}

.n2, .n2 svg {
  width: 0.694rem;
  height: 0.694rem;
}

.n1, .n1 svg {
  width: 0.833rem;
  height: 0.833rem;
}

.s0, .s0 svg {
  width: 1rem;
  height: 1rem;
}

.s1, .s1 svg {
  width: 1.2rem;
  height: 1.2rem;
}

.s2, .s2 svg {
  width: 1.44rem;
  height: 1.44rem;
}

.s3, .s3 svg {
  width: 1.728rem;
  height: 1.728rem;
}

.s4, .s4 svg {
  width: 2.074rem;
  height: 2.074rem;
}

.s5, .s5 svg {
  width: 2.488rem;
  height: 2.488rem;
}

.s6, .s6 svg {
  width: 2.986rem;
  height: 2.986rem;
}

.s7, .s7 svg {
  width: 3.583rem;
  height: 3.583rem;
}

.s8, .s8 svg {
  width: 4.3rem;
  height: 4.3rem;
}

.s9, .s9 svg {
  width: 5.16rem;
  height: 5.16rem;
}

.s10, .s10 svg {
  width: 6.192rem;
  height: 6.192rem;
}

.abs {
  position: absolute;
}

.dot {
  align-items: center;
  display: inline-block;
  animation-duration: 0.9s;
  animation-iteration-count: infinite;
  animation-timing-function: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation-name: bouncedelay;
  width: 27.8%;
  height: 27.8%;
}

.dot-second {
  animation-delay: 0.15s;
}

.dot-third {
  animation-delay: 0.3s;
}

.loader-text {
  text-align: center;
  color: @brand-primary;
  font-size: 1.1em;
}

.loader-text .dot {
  align-items: left;
  display: inline-block;
  width: 2%;
}

.loader-text span {
  vertical-align: middle;
}

.editable {
  border-radius: 0.375rem;
  transition: all .3s cubic-bezier(0.19, 1, 0.22, 1);
  vertical-align: middle;
}

.editable:hover {
  border: solid 2px;
  border-color: rgb(189, 212, 220);
}

.editable .placeholder {
  color: @brand-muted;
}

.editable.row {
  padding:@padding-text-large;
}

:root {
  --LogoLoader-transition-ease: cubic-bezier(.175, .885, .320, 1.275);
}

#profile-matrix {
  padding-left:@padding-xl;
}

#profile-matrix tbody tr td:not(:first-child),
#profile-matrix tr th:not(:first-child) {
  text-align: center;
}

.LogoLoader {
  position: relative;
  display: inline-block;
  width: calc(1.5rem * 1.625);
  height: calc(1.5rem * 1.625);
  color: #fff;
  border-radius: @border-radius-loader;
}

.LogoLoader--inverted {
  color: #20718A;
}

.LogoLoader-logo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: all 0.25s var(--LogoLoader-transition-ease);
  fill: currentColor;
}

.LogoLoader-svg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: visible;
}

.LogoLoader path {
  transform-origin: 50% 50% 0;
}

.LogoLoader:hover .LogoLoader-z {
  animation: pop 0.3s var(--LogoLoader-transition-ease);
  animation-iteration-count: 2;
  animation-direction: alternate;
}

.LogoLoader-z {
  transform: scale(1, 1);
  transition: all 0.25s var(--LogoLoader-transition-ease);
}

.LogoLoader .LogoLoader-logo {
  transform-origin: 50% 50% 0;
  /*transform: scale(.8, .8);*/
}

.LogoLoader .LogoLoader-circle,
.LogoLoader .LogoLoader-circlePulse {
  transform: scale(1, 1);
}

.LogoLoader.is-loading .LogoLoader-z {
  animation: pulseBegin 1s infinite linear;
}

.LogoLoader.is-loading .LogoLoader-circle {
  animation: pulseBegin 1s infinite linear;
  animation-delay: 0.1s;
}

.LogoLoader.is-loading .LogoLoader-circlePulse {
  animation: pulse 1s infinite linear;
  animation-delay: 0.1s;
}

@keyframes pulseBegin {
  0% {
    transform: scale(1);
  }

  20% {
    transform: scale(.6);
  }

  40% {
    transform: scale(1.2);
  }

  60% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes bouncedelay {
  0%,
  100%,
  90% {
    transform: scale(0, 0);
    opacity: 0.1;
  }

  40% {
    transform: scale(0.05, 0.05);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(.6);
    opacity: 0;
  }

  20% {
    transform: scale(.6);
  }

  40% {
    transform: scale(1.2);
    opacity: 0.5;
  }

  60% {
    transform: scale(1.6);
    opacity: 0.7;
  }

  100% {
    transform: scale(2);
    opacity: 0.0;
  }
}

@keyframes pop {
  to {
    transform: rotate(15deg) scale(1.1, 1.1);
  }
}

article,
aside,
details,
figcaption,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

[hidden],
template {
  display: none;
}

[class*=LineClamp] {
  text-overflow: ellipsis;
}

a {
  text-decoration: none;
  background-color: transparent;
  color: @brand-primary;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

a:link,
a:visited {
  color: @brand-primary;
  text-decoration: none;
}

a:active {
  outline: 0;
  text-decoration: underline;
  filter: brightness(.5);
}

a:focus,
a:hover {
  text-decoration: none;
  color: @brand-secondary;
  filter: brightness(.95);
}

a:focus {
  outline: thin dotted;
  outline: @padding-small-vertical auto @brand-secondary;
  outline-offset: -2px;
}

#nav {
  height:initial;
  a:active {
    outline: 0;
    filter: brightness(1.0);
  }

  a:focus,
  a:hover {
    outline: 0;
    filter: brightness(1.0);
  }
}

abbr[data-original-title],
abbr[title] {
  cursor: help;
  border-bottom: 1px dotted #777;
}

.initialism {
  font-size: 90%;
  text-transform: uppercase;
}

code,
kbd,
pre,
samp {
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  font-size: 1em;
}

code {
  font-size: 90%;
  padding: @padding-code-small @padding-code-large;
  color: #c7254e;
  border-radius: @border-radius-base;
  background-color: #f9f2f4;
}

kbd {
  font-size: 90%;
  padding: @padding-code-small @padding-code-large;
  color: #fff;
  border-radius: @border-radius-small;
  background-color: #333;
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
}

kbd kbd {
  font-size: 100%;
  font-weight: 700;
  padding: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

pre {
  font-size: 0.929em;
  line-height: @line-height-base;
  display: block;
  margin: 0 0 0.714em;
  padding: @padding-small-horizontal;
  word-wrap: break-word;
  word-break: break-all;
  color: @gray-dark;
  border: 1px solid #ccc;
  border-radius: @border-radius-base;
  background-color: @gray-lighter;
  overflow: auto;
}

pre code {
  font-size: inherit;
  padding: 0;
  white-space: pre-wrap;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
}

.pre-scrollable {
  overflow-y: scroll;
  max-height: 24.286em;
}

b,
strong {
  font-weight: 700;
}

dfn {
  font-style: italic;
}

.small,
small {
  font-size: 85%;
}

.mark,
mark {
  color: #000;
  background: #ff0;
}

sub,
sup {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -.5em;
}

sub {
  bottom: -.25em;
}

img {
  border: 0;
  vertical-align: middle;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

hr {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  margin-top: @margin-hr;
  margin-bottom: @margin-hr;
  border: 0;
  border-top: 1px solid #eee;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  line-height: 2.25em;
}

button {
  overflow: visible;
  color: #fff;
  font-weight: 600;
  padding-left: @padding-button;
  padding-right: @padding-button;
  font-size: 1em;
  display: inline-block;
  margin-bottom: 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: @border-radius-small;
  background-image: none;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

button,
select {
  text-transform: none;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  cursor: pointer;
  -webkit-appearance: button;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

input {
  line-height: normal;
}

input[type=checkbox],
input[type=radio] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}

input[type=search] {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-appearance: textfield;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  font-size: 1.85em;
  line-height: inherit;
  display: block;
  width: 100%;
  margin-bottom: @margin-hr;
  padding: 0;
  color: #333;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}

label {
  font-weight: 700;
  display: inline-block;
  max-width: 100%;
  margin-bottom: @margin-label;
}

input[type=search] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

input[type=checkbox],
input[type=radio] {
  line-height: normal;
  margin: 1px \9 0 0;
}

input[type=file] {
  display: block;
}

input[type=range] {
  display: block;
  width: 100%;
}

select[multiple],
select[size] {
  height: auto;
}

input[type=checkbox]:focus,
input[type=file]:focus,
input[type=radio]:focus {
  outline: thin dotted;
  outline: 5px auto @brand-secondary;
  outline-offset: -2px;
}

output {
  font-size: 1em;
  line-height: @line-height-base;
  display: block;
  padding-top: @padding-base-vertical;
  color: #555;
}

fieldset {
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
  border: 1px solid silver;
}

legend {
  padding: 0;
  border: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: 700;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

table td {
  font-size: 1.071em;
}

.tablepadding {
  padding-right: 0;
  padding-left: 0;
}

.tablepadding i.fa.fa-user {
  font-size: 1.571em;
  margin-right: @margin-top;
  color: #ccc;
}

td,
th {
  padding: 0;
}

td small {
  color: #333;
}

td.inline {
  display: inline-table;
  width: 5.714em;
}

td.prog {
  border-top: none !important;
}

td.prog:last-of-type {
  border-bottom: solid 1px #ddd;
}

:after,
:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.carousel-inner > .item > a > img,
.carousel-inner > .item > img,
.img-responsive,
.thumbnail > img,
.thumbnail a > img {
  display: block;
  max-width: 100%;
  height: auto;
}

.img-rounded {
  border-radius: @border-radius-large;
}

.img-thumbnail {
  line-height: @line-height-base;
  display: inline-block;
  max-width: 100%;
  height: auto;
  padding: @border-radius-base;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  border: 1px solid #ddd;
  border-radius: @border-radius-base;
  background-color: #fff;
}

.img-circle {
  border-radius: 50%;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  overflow: visible;
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
}

[role=button] {
  cursor: pointer;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}

h1:not(:first-of-type) {
  padding-top:1rem;
}

.h1 .small,
.h1 small,
.h2 .small,
.h2 small,
.h3 .small,
.h3 small,
.h4 .small,
.h4 small,
.h5 .small,
.h5 small,
.h6 .small,
.h6 small,
h1 .small,
h1 small,
h2 .small,
h2 small,
h3 .small,
h3 small,
h4 .small,
h4 small,
h5 .small,
h5 small,
h6 .small,
h6 small {
  font-weight: 400;
  line-height: 1;
  color: #777;
}

.h1,
.h2,
.h3,
h1,
h2,
h3 {
  margin-top: @margin-heading;
  margin-bottom: @margin-heading;
  color: @brand-secondary;
}

.h1 .small,
.h1 small,
.h2 .small,
.h2 small,
.h3 .small,
.h3 small,
h1 .small,
h1 small,
h2 .small,
h2 small,
h3 .small,
h3 small {
  font-size: 65%;
}

.h4,
.h5,
.h6,
h4,
h5,
h6 {
  margin-top: @margin-left;
  margin-bottom: @margin-left;
}

.h4 .small,
.h4 small,
.h5 .small,
.h5 small,
.h6 .small,
.h6 small,
h4 .small,
h4 small,
h5 .small,
h5 small,
h6 .small,
h6 small {
  font-size: 75%;
}

.h1,
h1 {
  font-size: 2.25em;
}

.h2,
h2 {
  font-size: 1.875em;
}

.h3,
h3 {
  font-size: 1.5em;
}

.h4,
h4 {
  font-size: 1.125em;
  padding-bottom: @padding-base-vertical;
  color: @brand-secondary;
  font-weight: bold;
}

.h5,
h5 {
  font-size: 0.875em;
}

.h6,
h6 {
  font-size: 0.75em;
}

.AutoTags h1:after,
form i,
table i {
  color: @brand-primary;
}

p {
  margin: 0 0 1.5em;
  font-size: 1em;
}

.lead {
  font-size: 1.143em;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: @margin-hr;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.text-nowrap {
  white-space: nowrap;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-capitalize {
  text-transform: capitalize;
}

.text-muted {
  color: #777;
}

.text-primary {
  color: #4995cf;
}

.text-warning {
  color: #ffa800;
}

.text-danger {
  color: @brand-danger;
}

.text-success {
  color: @brand-success;
}

.text-info {
  color: @brand-secondary;
}

.alert {
  padding:@alert-padding;
  margin-bottom: @line-height-computed;
  border: 1px solid transparent;
  border-radius: @alert-border-radius;

// Headings for larger alerts
h4 {
  margin-top: 0;
  // Specified for the h4 to prevent conflicts of changing @headings-color
  color: inherit;
}
// Provide class for links that match alerts
.alert-link {
  font-weight: @alert-link-font-weight;
}

// Improve alignment and spacing of inner content
> p,
> ul {
  margin-bottom: 0;
}
> p + p {
  margin-top: 5px;
}
}

// Dismissable alerts
//
// Expand the right padding and account for the close button's positioning.

.alert-dismissable {
  padding-right: (@alert-padding + 20);

  // Adjust close link position
  .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
  }
}

.alert-danger,
.alert-info,
.alert-success,
.alert-warning {
  color: #fff;
  padding-left: @padding-xs-horizontal;
  opacity:0.8;
}

.alert-info {
  background-color: @brand-secondary;
}

.alert-warning {
  background-color: @brand-warning;
}

.alert-success {
  background-color: @brand-success;
}

.alert-danger {
  background-color: @brand-danger;
}

a.text-primary:focus,
a.text-primary:hover {
  color: @brand-primary;
}

.bg-primary {
  color: #fff;
  background-color: #337ab7;
}

a.bg-primary:focus,
a.bg-primary:hover {
  background-color: @brand-primary;
}

ol,
ul {
  margin-top: 0;
  margin-bottom: @margin-heading;
}

ol ol,
ol ul,
ul ol,
ul ul {
  margin-bottom: 0;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-inline {
  margin-left: -5px;
  padding-left: 0;
  list-style: none;
}

.list-inline > li {
  display: inline-block;
  padding-right: @padding-small-vertical;
  padding-left: @padding-small-vertical;
}

dl {
  margin-top: 0;
  margin-bottom: @margin-hr;
}

dd,
dt {
  line-height: @line-height-base;
}

dt {
  font-weight: 700;
}

dd {
  margin-left: 0;
}

.container {
  margin-right: auto;
  margin-left: auto;
  padding-right: @padding-large-horizontal;
  padding-left: @padding-large-horizontal;
}

.container-fluid {
  margin-right: auto;
  margin-left: auto;
  padding-right: @padding-large-horizontal;
  padding-left: @padding-large-horizontal;
}

.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
  position: relative;
  min-height: 1px;
  padding-right: @padding-large-horizontal;
  padding-left: @padding-large-horizontal;
}

.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
  float: left;
}

.col-xs-12 {
  width: 100%;
}

.col-xs-11 {
  width: 91.66666667%;
}

.col-xs-10 {
  width: 83.33333333%;
}

.col-xs-9 {
  width: 75%;
}

.col-xs-8 {
  width: 66.66666667%;
}

.col-xs-7 {
  width: 58.33333333%;
}

.col-xs-6 {
  width: 50%;
}

.col-xs-5 {
  width: 41.66666667%;
}

.col-xs-4 {
  width: 33.33333333%;
}

.col-xs-3 {
  width: 25%;
}

.col-xs-2 {
  width: 16.66666667%;
}

.col-xs-1 {
  width: 8.33333333%;
}

.col-xs-pull-12 {
  right: 100%;
}

.col-xs-pull-11 {
  right: 91.66666667%;
}

.col-xs-pull-10 {
  right: 83.33333333%;
}

.col-xs-pull-9 {
  right: 75%;
}

.col-xs-pull-8 {
  right: 66.66666667%;
}

.col-xs-pull-7 {
  right: 58.33333333%;
}

.col-xs-pull-6 {
  right: 50%;
}

.col-xs-pull-5 {
  right: 41.66666667%;
}

.col-xs-pull-4 {
  right: 33.33333333%;
}

.col-xs-pull-3 {
  right: 25%;
}

.col-xs-pull-2 {
  right: 16.66666667%;
}

.col-xs-pull-1 {
  right: 8.33333333%;
}

.col-xs-pull-0 {
  right: auto;
}

.col-xs-push-12 {
  left: 100%;
}

.col-xs-push-11 {
  left: 91.66666667%;
}

.col-xs-push-10 {
  left: 83.33333333%;
}

.col-xs-push-9 {
  left: 75%;
}

.col-xs-push-8 {
  left: 66.66666667%;
}

.col-xs-push-7 {
  left: 58.33333333%;
}

.col-xs-push-6 {
  left: 50%;
}

.col-xs-push-5 {
  left: 41.66666667%;
}

.col-xs-push-4 {
  left: 33.33333333%;
}

.col-xs-push-3 {
  left: 25%;
}

.col-xs-push-2 {
  left: 16.66666667%;
}

.col-xs-push-1 {
  left: 8.33333333%;
}

.col-xs-push-0 {
  left: auto;
}

.col-xs-offset-12 {
  margin-left: 100%;
}

.col-xs-offset-11 {
  margin-left: 91.66666667%;
}

.col-xs-offset-10 {
  margin-left: 83.33333333%;
}

.col-xs-offset-9 {
  margin-left: 75%;
}

.col-xs-offset-8 {
  margin-left: 66.66666667%;
}

.col-xs-offset-7 {
  margin-left: 58.33333333%;
}

.col-xs-offset-6 {
  margin-left: 50%;
}

.col-xs-offset-5 {
  margin-left: 41.66666667%;
}

.col-xs-offset-4 {
  margin-left: 33.33333333%;
}

.col-xs-offset-3 {
  margin-left: 25%;
}

.col-xs-offset-2 {
  margin-left: 16.66666667%;
}

.col-xs-offset-1 {
  margin-left: 8.33333333%;
}

.col-xs-offset-0 {
  margin-left: 0;
}

//* move media queries here *//

table {
  background-color: transparent;
}

caption {
  padding-top: @padding-base-vertical;
  padding-bottom: @padding-base-vertical;
  text-align: left;
  color: #777;
}

th {
  text-align: left;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: @margin-hr;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
  line-height: @line-height-base;
  padding: @padding-base-vertical;
  border-top: 1px solid #ddd;
}

.table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #ddd;
}

.table > caption + thead > tr:first-child > td,
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > td,
.table > thead:first-child > tr:first-child > th {
  border-top: 0;
}

.table > tbody + tbody {
  border-top: 2px solid #ddd;
}

tbody tr td:not(:first-child),
thead tr th:not(:first-child) {
  text-align: right;
}

.table .table {
  background-color: #fff;
}

.table-condensed > tbody > tr > td,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > td,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > thead > tr > th {
  padding: @padding-xs-horizontal;
}

.table-bordered {
  border: 1px solid #ddd;
}

.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
  border: 1px solid #ddd;
}

.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
  border-bottom-width: 2px;
  background-color: #fafafa;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: @gray-lighter;
}

.table-hover > tbody > tr:hover {
  background-color: @gray-light;
}

table col[class*=col-] {
  position: static;
  display: table-column;
  float: none;
}

table td[class*=col-],
table th[class*=col-] {
  position: static;
  display: table-cell;
  float: none;
}

.table > tbody > tr > td {
  vertical-align: middle;
}

.table > tbody > tr > td.active,
.table > tbody > tr > th.active,
.table > tbody > tr.active > td,
.table > tbody > tr.active > th,
.table > tfoot > tr > td.active,
.table > tfoot > tr > th.active,
.table > tfoot > tr.active > td,
.table > tfoot > tr.active > th,
.table > thead > tr > td.active,
.table > thead > tr > th.active,
.table > thead > tr.active > td,
.table > thead > tr.active > th {
  background-color: #fcfcfc;
}

.table > tbody > tr > td.success,
.table > tbody > tr > th.success,
.table > tbody > tr.success > td,
.table > tbody > tr.success > th,
.table > tfoot > tr > td.success,
.table > tfoot > tr > th.success,
.table > tfoot > tr.success > td,
.table > tfoot > tr.success > th,
.table > thead > tr > td.success,
.table > thead > tr > th.success,
.table > thead > tr.success > td,
.table > thead > tr.success > th {
  background-color: #dff0d8;
}

.table > tbody > tr > td.info,
.table > tbody > tr > th.info,
.table > tbody > tr.info > td,
.table > tbody > tr.info > th,
.table > tfoot > tr > td.info,
.table > tfoot > tr > th.info,
.table > tfoot > tr.info > td,
.table > tfoot > tr.info > th,
.table > thead > tr > td.info,
.table > thead > tr > th.info,
.table > thead > tr.info > td,
.table > thead > tr.info > th {
  background-color: #d9edf7;
}

.table > tbody > tr > td.warning,
.table > tbody > tr > th.warning,
.table > tbody > tr.warning > td,
.table > tbody > tr.warning > th,
.table > tfoot > tr > td.warning,
.table > tfoot > tr > th.warning,
.table > tfoot > tr.warning > td,
.table > tfoot > tr.warning > th,
.table > thead > tr > td.warning,
.table > thead > tr > th.warning,
.table > thead > tr.warning > td,
.table > thead > tr.warning > th {
  background-color: #fcf8e3;
}

.table > tbody > tr > td.danger,
.table > tbody > tr > th.danger,
.table > tbody > tr.danger > td,
.table > tbody > tr.danger > th,
.table > tfoot > tr > td.danger,
.table > tfoot > tr > th.danger,
.table > tfoot > tr.danger > td,
.table > tfoot > tr.danger > th,
.table > thead > tr > td.danger,
.table > thead > tr > th.danger,
.table > thead > tr.danger > td,
.table > thead > tr.danger > th {
  background-color: #f2dede;
}

.table-responsive {
  overflow-x: auto;
  min-height: 0.01%;
}

.form-control {
  font-size: 1em;
  line-height: @line-height-base;
  display: block;
  width: 100%;
  height: 2em;
  padding: @padding-small-vertical @padding-base-horizontal;
  -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  color: #555;
  border: 1px solid #ccc;
  border-radius: @border-radius-base;
  background: #fff none;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.form-control::-moz-placeholder {
  opacity: 1;
  color: #999;
}

.form-control:-ms-input-placeholder {
  color: #999;
}

.form-control::-webkit-input-placeholder {
  color: #999;
}

.form-control::-ms-expand {
  border: 0;
  background-color: transparent;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  opacity: 1;
  background-color: #eee;
}

.form-control[disabled],
fieldset[disabled] .form-control {
  cursor: not-allowed;
}

textarea.form-control {
  height: auto;
}

input[type=search] {
  -webkit-appearance: none;
}

.form-group {
  margin-bottom: @padding-large-horizontal;
}

.form-group .bg-info,
p.bg-info {
  margin-bottom: @margin-heading;
  padding: @padding-small-horizontal;
  color: #20718a;
}

p.bg-warning {
  font-style: italic;
  padding: @padding-small-horizontal;
}

.bg-info label {
  font-weight: 500;
}

span.infotxt {
  font-size: 0.9em;
  font-weight: 400;
  margin-right: @margin-xl;
  margin-left: @margin-heading;
  color: #629bac;
}

p span.infotxt {
  margin-left: 0;
}

.checkbox,
.radio {
  position: relative;
  display: block;
  margin-top: @margin-checkbox-radio;
  margin-bottom: @margin-checkbox-radio;
}

.checkbox label,
.radio label {
  font-weight: 400;
  min-height: 1.85em;
  margin-bottom: 0;
  padding-left: @padding-text-small;
  cursor: pointer;
}

.checkbox input[type=checkbox],
.checkbox-inline input[type=checkbox],
.radio input[type=radio],
.radio-inline input[type=radio] {
  margin-top: @padding-text-large !important;
  margin-left: -@padding-text-small !important;
  margin-right:@padding-text-small;
}

.highlight-th {
  background-color: @gray-lighter;
}

.checkbox + .checkbox,
.radio + .radio {
  margin-top: -@padding-text-large;
}

.checkbox-inline,
.radio-inline {
  font-weight: 400;
  position: relative;
  display: inline-block;
  margin-bottom: 0;
  padding-left: @padding-text-small;
  cursor: pointer;
  vertical-align: sub;
}

.checkbox-inline + .checkbox-inline,
.radio-inline + .radio-inline {
  margin-top: 0;
  margin-left: @margin-checkbox-radio;
}

fieldset[disabled] input[type=checkbox],
fieldset[disabled] input[type=radio],
input[type=checkbox].disabled,
input[type=checkbox][disabled],
input[type=radio].disabled,
input[type=radio][disabled] {
  cursor: not-allowed;
}

.checkbox-inline.disabled,
.radio-inline.disabled,
fieldset[disabled] .checkbox-inline,
fieldset[disabled] .radio-inline {
  cursor: not-allowed;
}

.checkbox.disabled label,
.radio.disabled label,
fieldset[disabled] .checkbox label,
fieldset[disabled] .radio label {
  cursor: not-allowed;
}

.form-control-static {
  min-height: 3em;
  margin-bottom: 0;
  padding-top: @padding-base-vertical;
  padding-bottom: @padding-base-vertical;
}

.form-control-static.input-lg,
.form-control-static.input-sm {
  padding-right: 0;
  padding-left: 0;
}

.input-sm {
  font-size: 0.857em;
  line-height: @line-height-small;
  height: 2.143em;
  padding: @padding-small-vertical @padding-small-horizontal;
  border-radius: @border-radius-small;
}

select.input-sm {
  line-height: 2.143em;
  height: 2.143em;
}

select[multiple].input-sm,
textarea.input-sm {
  height: auto;
}

.form-group-sm .form-control {
  font-size: 0.857em;
  line-height: @line-height-small;
  height: 2.143em;
  padding: @padding-small-vertical @padding-small-horizontal;
  border-radius: @border-radius-small;
}

.form-group-sm select.form-control {
  line-height: 2.143em;
  height: 2.143em;
}

.form-group-sm select[multiple].form-control,
.form-group-sm textarea.form-control {
  height: auto;
}

.form-group-sm .form-control-static {
  font-size: 0.875em;
  line-height: @line-height-small;
  height: 2.143em;
  min-height: 2.286em;
  padding: @padding-small-vertical @padding-small-horizontal;
}

.form-group-lg .form-control,
.input-lg {
  font-size: 1.286em;
  line-height: 1.3333333;
  height: 3.286em;
  padding: @padding-small-horizontal @padding-large-horizontal;
  border-radius: @border-radius-large;
}

.form-group-lg select.form-control,
select.input-lg {
  line-height: 3.286em;
  height: 3.286em;
}

select[multiple].input-lg,
textarea.input-lg {
  height: auto;
}

.form-group-lg select[multiple].form-control,
.form-group-lg textarea.form-control {
  height: auto;
}

.form-group-lg .form-control-static {
  font-size: 1.286em;
  line-height: 1.3333333;
  height: 3.286em;
  min-height: 2.714em;
  padding: @padding-small-horizontal @padding-large-horizontal;
}

.has-feedback {
  position: relative;
}

.has-feedback .form-control {
  padding-right: 3.036em;
}

.form-control-feedback {
  line-height: 2.429em;
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: block;
  width: 2.429em;
  height: 2.429em;
  text-align: center;
  pointer-events: none;
}

.form-group-lg .form-control + .form-control-feedback,
.input-group-lg + .form-control-feedback,
.input-lg + .form-control-feedback {
  line-height: 3.286em;
  width: 3.286em;
  height: 3.286em;
}

.form-group-sm .form-control + .form-control-feedback,
.input-group-sm + .form-control-feedback,
.input-sm + .form-control-feedback {
  line-height: 2.143em;
  width: 2.143em;
  height: 2.143em;
}

.form-horizontal .checkbox,
.form-horizontal .checkbox-inline,
.form-horizontal .radio,
.form-horizontal .radio-inline {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: @padding-base-vertical;
}

.form-horizontal .checkbox,
.form-horizontal .radio {
  min-height: 1.929em;
}

.form-horizontal .has-feedback .form-control-feedback {
  right: 1.071em;
}

.btn-code {
  margin-top:@margin-base;
  margin-left:0;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
  outline: thin dotted;
  outline: @padding-xs-horizontal auto @brand-secondary;
  outline-offset: -2px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 6px 10px 0 rgba(0, 0, 0, 0.15);
  opacity: 0.85;
}

.btn.focus,
.btn:focus,
.btn:hover {
  text-decoration: none;
  color: #333;
  //box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 6px 10px 0 rgba(0, 0, 0, 0.15);
  opacity: 0.85;
}

.btn.active,
.btn:active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.185);
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  opacity: 0.65;
  -webkit-box-shadow: none;
  box-shadow: none;
  filter: alpha(opacity=65);
}

a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
  box-shadow: none;
}

a.btn-primary {
  color: #fff !important;
}

.btn-primary i {
  color: #fff;
}

.btn-default {
  color: @brand-primary;
  border-color: #ccc;
  background-color: #fff;
}

.btn-default.focus,
.btn-default:focus {
  color: #333;
  border-color: #8c8c8c;
  background-color: #e6e6e6;
}

.btn-default:hover {
  color: #333;
  border-color: #adadad;
  background-color: #e6e6e6;
}

.btn-default.active,
.btn-default:active,
.open > .dropdown-toggle.btn-default {
  color: #333;
  border-color: #adadad;
  background-color: #e6e6e6;
}

.btn-default.active.focus,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default:active.focus,
.btn-default:active:focus,
.btn-default:active:hover,
.open > .dropdown-toggle.btn-default.focus,
.open > .dropdown-toggle.btn-default:focus,
.open > .dropdown-toggle.btn-default:hover {
  color: #333;
  border-color: #8c8c8c;
  background-color: #d4d4d4;
}

.btn-default.active,
.btn-default:active,
.open > .dropdown-toggle.btn-default {
  background-image: none;
}

.btn-default.disabled.focus,
.btn-default.disabled:focus,
.btn-default.disabled:hover,
.btn-default[disabled].focus,
.btn-default[disabled]:focus,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default.focus,
fieldset[disabled] .btn-default:focus,
fieldset[disabled] .btn-default:hover {
  border-color: #ccc;
  background-color: #fff;
}

.btn-default:hover,
.nav > li > a:focus,
.nav > li > a:hover,
.pager li > a:focus,
.pager li > a:hover,
.pagination > li > a:hover,
a.list-group-item:focus,
a.list-group-item:hover,
button.list-group-item:focus,
button.list-group-item:hover {
  background-color: @gray-lighter;
}

.btn-default .badge {
  color: #fff;
  background-color: #333;
}

span.greentext.badge {
  color: #fff;
  background-color: @brand-success;
}

span.dis.badge {
  color: #fff;
  background-color: #aaa;
}

span.caret {
  margin-right: @margin-heading;
  color: #546675;
}

.btn-primary .plusicon {
  margin-right:@margin-btn-icon-right;
  margin-left:@margin-btn-icon-left;
}

span.langcode {
  font-size: 0.9em;
  color: #aaa;
}

#btn-language-add-new {
  margin-left:@margin-btn-left;
}

.btn-primary {
  color: #fff;
  border-color: #ccc;
  background-color: @brand-primary;
}

.btn-primary .fa,
.btn-primary:focus .fa {
  color: #fff;
}

.btn-primary.focus,
.btn-primary:focus {
  color: #fff;
  border-color: #122b40;
  background-color: @brand-primary;
}

.button-group {
  margin: 10px 0;
}

.button-group .btn {
  margin-right: @margin-heading;
  margin-bottom: @margin-heading;
}

.dropdown {
  position: relative;
}
.dropdown-toggle:focus {
  outline: 0;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: @padding-small-vertical 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: @border-radius-base;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}
.dropdown-menu.pull-right {
  right: 0;
  left: auto;
}
.dropdown-menu .divider {
  height: 1px;
  margin: @margin-dropdown-divider 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
.dropdown-menu > li > a {
  display: block;
  padding: @border-radius-large @padding-xl;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  text-decoration: none;
  color: #ffffff;
  background-color: #bbbbbb;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  background-color: #bbbbbb;
}
.dropdown-menu > .disabled > a,
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
  color: #808080;
}
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  cursor: not-allowed;
}

.dropdown-menu > li > a {
  color: @brand-primary;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
  color: @brand-secondary;
}

.open > .dropdown-toggle.btn-primary.focus,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover {
  color: #fff;
  border-color: #ccc;
  background-color: @brand-primary;
}

// Dropdown menus
// --------------------------------------------------

// Dropdown arrow/caret
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top:   @caret-width-base solid;
  border-right: @caret-width-base solid transparent;
  border-left:  @caret-width-base solid transparent;
}

// The dropdown wrapper (div)
.dropdown {
  position: relative;
}

// Prevent the focus on the dropdown toggle when closing dropdowns
.dropdown-toggle:focus {
  outline: 0;
}

// The dropdown menu (ul)
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: @zindex-dropdown;
  display: none; // none by default, but block on "open" of the menu
  float: left;
  min-width: 160px;
  padding: @padding-xs-horizontal 0;
  margin: 2px 0 0; // override default ul
  list-style: none;
  font-size: @font-size-base;
  background-color: @dropdown-bg;
  border: 1px solid @dropdown-fallback-border; // IE8 fallback
  border: 1px solid @dropdown-border;
  border-radius: @border-radius-base;
  box-shadow:0 6px 12px rgba(0,0,0,.175);
  background-clip: padding-box;

  // Aligns the dropdown menu to right
  //
  // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`
  &.pull-right {
    right: 0;
    left: auto;
  }

  // Dividers (basically an hr) within the dropdown
  .divider {
    border-bottom:solid 1px @dropdown-divider-bg;
  }

  // Links within the dropdown menu
  > li > a {
    display: block;
    padding: @border-radius-small @padding-xl;
    clear: both;
    font-weight: normal;
    line-height: @line-height-base;
    color: @dropdown-link-color;
    white-space: nowrap; // prevent links from randomly breaking onto new lines
  }
}

// Hover/Focus state
.dropdown-menu > li > a {
  &:hover,
  &:focus {
    text-decoration: none;
    color: @dropdown-link-hover-color;
    background-color: @dropdown-link-hover-bg;
  }
}

// Active state
.dropdown-menu > .active > a {
  &,
  &:hover,
  &:focus {
    color: @dropdown-link-active-color;
    text-decoration: none;
    outline: 0;
    background-color: @dropdown-link-active-bg;
  }
}

// Disabled state
//
// Gray out text and ensure the hover/focus state remains gray

.dropdown-menu > .disabled > a {
  &,
  &:hover,
  &:focus {
    color: @dropdown-link-disabled-color;
  }
}
// Nuke hover/focus effects
.dropdown-menu > .disabled > a {
  &:hover,
  &:focus {
    text-decoration: none;
    background-color: transparent;
    background-image: none; // Remove CSS gradient
    .reset-filter {
      cursor: not-allowed;
    }
  }
}

// Open state for the dropdown
.open {
  // Show the menu
  > .dropdown-menu {
    display: block;
  }

  // Remove the outline when :focus is triggered
  > a {
    outline: 0;
  }
}

// Menu positioning
//
// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
// menu with the parent.
.dropdown-menu-right {
  left: auto; // Reset the default from `.dropdown-menu`
  right: 0;
}
// With v3, we enabled auto-flipping if you have a dropdown within a right
// aligned nav component. To enable the undoing of that, we provide an override
// to restore the default dropdown menu alignment.
//
// This is only for left-aligning a dropdown menu within a `.navbar-right` or
// `.pull-right` nav component.
.dropdown-menu-left {
  left: 0;
  right: auto;
}

// Dropdown section headers
.dropdown-header {
  display: block;
  padding: @border-radius-small @padding-xl;
  font-size: @font-size-small;
  line-height: @line-height-base;
  color: @dropdown-header-color;
}

// Backdrop to catch body clicks on mobile, etc.
.dropdown-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: (@zindex-dropdown - 10);
}

// Right aligned dropdowns
.pull-right > .dropdown-menu {
  right: 0;
  left: auto;
}

// Allow for dropdowns to go bottom up (aka, dropup-menu)
//
// Just add .dropup after the standard .dropdown class and you're set, bro.
// TODO: abstract this so that the navbar fixed styles are not placed here?

.dropup,
.navbar-fixed-bottom .dropdown {
  // Reverse the caret
  .caret {
    border-top: 0;
    border-bottom: @caret-width-base solid;
    content: "";
  }
  // Different positioning for bottom up menu
  .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 1px;
  }
}

.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover {
  border-color: #ccc;
  background-color: @brand-secondary;
  color: #fff;
}

.btn-primary.active,
.btn-primary:active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  border-color: #204d74;
  background-color: @brand-primary;
}

.btn-primary.active,
.btn-primary:active,
.open > .dropdown-toggle.btn-primary {
  background-image: none;
}

.btn-primary.active:hover {
  border-color: #ccc;
  background-color: @brand-primary;
}

.btn-primary.disabled.focus,
.btn-primary.disabled:focus,
.btn-primary.disabled:hover,
.btn-primary[disabled].focus,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary.focus,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary:hover {
  border-color: #2e6da4;
  color: #fff;
  background-color: #337ab7;
}

.btn-primary .badge {
  color: #337ab7;
  background-color: #fff;
}

.btn-link {
  font-weight: 400;
  color: #337ab7;
  border-radius: 0;
}

.btn-link,
.btn-link.active,
.btn-link:active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn-link,
.btn-link:active,
.btn-link:focus,
.btn-link:hover {
  border-color: transparent;
  box-shadow: none;
}

.btn-link:focus,
.btn-link:hover {
  text-decoration: underline;
  color: #23527c;
  background-color: transparent;
  box-shadow: none;
}

.btn-link[disabled]:focus,
.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:focus,
fieldset[disabled] .btn-link:hover {
  text-decoration: none;
  color: #777;
}

.btn-group-lg > .btn,
.btn-lg {
  font-size: 1.286em;
  line-height: @line-height-large;
  padding: @padding-small-horizontal @padding-large-horizontal;
  border-radius: @border-radius-large;
}

.btn-group-sm > .btn,
.btn-sm {
  font-size: 0.857em;
  line-height: @line-height-small;
  padding: @padding-small-vertical @padding-small-horizontal;
  border-radius: @border-radius-small;
}

.btn-group-xs > .btn,
.btn-xs {
  font-size: 0.857em;
  line-height: @line-height-small;
  padding: @padding-xs-vertical @padding-xs-horizontal;
  border-radius: @border-radius-small;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-block + .btn-block {
  margin-top: @margin-btn-block-top;
}

.btn-default.focus,
.btn-default.focus i,
.btn-default:focus,
.btn-default:focus i,
.btn-default:hover,
.btn-default:hover i {
  color: #000;
}

.btn-primary.focus,
.btn-primary.focus i,
.btn-primary:focus,
.btn-primary:focus i,
.btn-primary:hover,
.btn-primary:hover i {
  color: #fff;
}

.nav-pills > li.active > a:focus,
.nav-pills > li.active > a:hover {
  background-color: @brand-primary;
}

.nav-pills > li.active > a {
  background-color: @brand-secondary;
}

.btn-success:active,
.btn-success:hover {
  border-color: #50a360;
  background-color: #50a360;
  color:#fff;
}

.btn-success {
  border-color: #50a360;
  background-color: @brand-success;
}

.btn-info:active,
.btn-info:hover {
  border-color: #4995cf;
  background-color: #4995cf;
  color:#fff;
}

.btn-info {
  border-color: #4995cf;
  background-color: @brand-info;
}

.btn-danger:active,
.btn-danger:hover {
  border-color: #cf3031;
  background-color: #cf3031;
  color:#fff;
}

.btn-danger {
  border-color: #cf3031;
  background-color: @brand-danger;
}

.btn-warning:active,
.btn-warning:hover {
  border-color: #cf8800;
  background-color: #cf8800;
  color:#fff;
}

.btn-warning {
  border-color: #cf8800;
  background-color: #ffa800;
}

button.btn.btn-danger.dropdown-toggle > span.caret,
button.btn.btn-info.dropdown-toggle > span.caret,
button.btn.btn-primary.dropdown-toggle > span.caret,
button.btn.btn-success.dropdown-toggle > span.caret,
button.btn.btn-warning.dropdown-toggle > span.caret {
  color: #fff;
}

.has-success .control-label, .checkbox.has-success, .radio.has-success {
  color: @brand-success;
}

.has-success .form-control {
  border-color: @brand-success;
}

.has-success .form-control-feedback {
  color: @brand-success;
}

.has-warning .control-label, .checkbox.has-warning, .radio.has-warning {
  color: @brand-warning;
}

.has-warning .form-control {
  border-color: @brand-warning;
}

.has-warning .form-control-feedback {
  color: @brand-warning;
}

.has-error .control-label, .checkbox.has-error, .radio.has-error {
  color: @brand-danger;
}

.has-error .form-control {
  border-color: @brand-danger;
}

.has-error .form-control-feedback {
  color: @brand-danger;
}

.label-success {
  background-color: @label-success-bg;
}

.label-info {
  background-color: @label-info-bg;
}

.label-warning {
  background-color: @label-warning-bg;
}

.label-danger {
  background-color: @label-danger-bg;
}

//
// Progress bars
// --------------------------------------------------

// Bar animations
// -------------------------

// WebKit
@-webkit-keyframes progress-bar-stripes {
  from  { background-position: 40px 0; }
  to    { background-position: 0 0; }
}

// Spec and IE10+
@keyframes progress-bar-stripes {
  from  { background-position: 40px 0; }
  to    { background-position: 0 0; }
}

// Bar itself
// -------------------------

// Outer container
.progress {
  overflow: hidden;
  height: @line-height-computed;
  margin-bottom: @line-height-computed;
  background-color: @progress-bg;
  border-radius: @border-radius-base;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.1);
}

// Bar of progress
.progress-bar {
  float: left;
  width: 0%;
  height: 100%;
  font-size: @font-size-small;
  line-height: @line-height-computed;
  color: @progress-bar-color;
  text-align: center;
  background-color: @progress-bar-bg;
  box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);
  transition:width .6s ease;
}

// Striped bars
.progress-striped .progress-bar {
  #gradient > .striped {
    background-size: 40px 40px;
  }
}

// Call animation for the active one
.progress.active .progress-bar {
  animation:progress-bar-stripes 2s linear infinite;
}

// Variations
// -------------------------

.progress-bar-success {
  background-color:@progress-bar-success-bg;
}

.progress-bar-info {
  background-color:@progress-bar-info-bg;
}

.progress-bar-warning {
  background-color:@progress-bar-unsure-bg;
}

.progress-bar-danger {
  background-color:@progress-bar-warning-bg;
}

input[type=button].btn-block,
input[type=reset].btn-block,
input[type=submit].btn-block {
  width: 100%;
}

.fade {
  -webkit-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
  opacity: 0;
}

.fade.in {
  opacity: 1;
}

.collapse {
  display: none;
}

.collapse.in {
  display: block;
}

tr.collapse.in {
  display: table-row;
}

tbody.collapse {
  display: table-row-group;
}

.row {
  display: inline-table;
}

.collapsing {
  position: relative;
  overflow: hidden;
  height: 0;
  -webkit-transition-timing-function: ease;
  -o-transition-timing-function: ease;
  transition-timing-function: ease;
  -webkit-transition-duration: 0.35s;
  -o-transition-duration: 0.35s;
  transition-duration: 0.35s;
  -webkit-transition-property: height, visibility;
  -o-transition-property: height, visibility;
  transition-property: height, visibility;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.btn-group,
.btn-group-vertical {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.btn-group > .btn,
.btn-group-vertical > .btn {
  position: relative;
  float: left;
}

.btn-group > .btn.active,
.btn-group > .btn:active,
.btn-group > .btn:focus,
.btn-group > .btn:hover,
.btn-group-vertical > .btn.active,
.btn-group-vertical > .btn:active,
.btn-group-vertical > .btn:focus,
.btn-group-vertical > .btn:hover {
  z-index: 2;
}

.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
  margin-left: -1px;
}

.btn-toolbar {
  margin-left: -5px;
}

.btn-toolbar .btn,
.btn-toolbar .btn-group,
.btn-toolbar .input-group {
  float: left;
}

.btn-toolbar > .btn,
.btn-toolbar > .btn-group,
.btn-toolbar > .input-group {
  margin-left: @margin-btn-toolbar-left;
}

.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
  border-radius: 0;
}

.btn-group > .btn:first-child {
  margin-left: 0;
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-group > .btn-group {
  float: left;
}

.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
  border-radius: 0;
}

.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
  outline: 0;
}

.btn-group > .btn + .dropdown-toggle {
  padding-right: @padding-base-vertical;
  padding-left: @padding-base-vertical;
}

.btn-group > .btn-lg + .dropdown-toggle {
  padding-right: @padding-base-horizontal;
  padding-left: @padding-base-horizontal;
}

.btn-group.open .dropdown-toggle {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.btn-group.open .dropdown-toggle.btn-link {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn .caret {
  margin-left: 0;
}

.btn-lg .caret {
  border-width: 5px 5px 0;
  border-bottom-width: 0;
}

[data-toggle=buttons] > .btn input[type=checkbox],
[data-toggle=buttons] > .btn input[type=radio],
[data-toggle=buttons] > .btn-group > .btn input[type=checkbox],
[data-toggle=buttons] > .btn-group > .btn input[type=radio] {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.input-group {
  position: relative;
  display: table;
  border-collapse: separate;
}

.input-group[class*=col-] {
  float: none;
  padding-right: 0;
  padding-left: 0;
}

.input-group .form-control {
  position: relative;
  z-index: 2;
  float: left;
  width: 100%;
  margin-bottom: 0;
}

.input-group .form-control:focus {
  z-index: 3;
}

.input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
  font-size: 1.286em;
  line-height: @line-height-large;
  border-radius: @border-radius-large;
}

select.input-group-lg > .form-control,
select.input-group-lg > .input-group-addon,
select.input-group-lg > .input-group-btn > .btn {
  line-height: 3.286em;
  height: 3.286em;
}

select[multiple].input-group-lg > .form-control,
select[multiple].input-group-lg > .input-group-addon,
select[multiple].input-group-lg > .input-group-btn > .btn,
textarea.input-group-lg > .form-control,
textarea.input-group-lg > .input-group-addon,
textarea.input-group-lg > .input-group-btn > .btn {
  height: auto;
}

.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
  font-size: 0.857em;
  line-height: 1.5;
  height: 2.143em;
  padding: @padding-xs-horizontal @padding-small-horizontal;
  border-radius: @border-radius-small;
}

select.input-group-sm > .form-control,
select.input-group-sm > .input-group-addon,
select.input-group-sm > .input-group-btn > .btn {
  line-height: 2.143em;
  height: 2.143em;
}

select[multiple].input-group-sm > .form-control,
select[multiple].input-group-sm > .input-group-addon,
select[multiple].input-group-sm > .input-group-btn > .btn,
textarea.input-group-sm > .form-control,
textarea.input-group-sm > .input-group-addon,
textarea.input-group-sm > .input-group-btn > .btn {
  height: auto;
}

.input-group .form-control,
.input-group-addon,
.input-group-btn {
  display: table-cell;
}

.input-group .form-control:not(:first-child):not(:last-child),
.input-group-addon:not(:first-child):not(:last-child),
.input-group-btn:not(:first-child):not(:last-child) {
  border-radius: 0;
}

.input-group-addon,
.input-group-btn {
  width: 1%;
  vertical-align: middle;
  white-space: nowrap;
}

.input-group-addon {
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
  padding: @padding-xs-horizontal @padding-base-horizontal;
  text-align: center;
  color: @brand-primary;
  border: 1px solid #ccc;
  border-radius: @border-radius-base;
  background-color: @gray-lighter;
}

.input-group-addon.input-sm {
  font-size: 0.857em;
  padding: @padding-small-vertical @padding-small-horizontal;
  border-radius: @border-radius-small;
}

.input-group-addon.input-lg {
  font-size: 1.286em;
  padding: @padding-small-horizontal @padding-large-horizontal;
  border-radius: @border-radius-large;
}

.input-group-addon input[type=checkbox],
.input-group-addon input[type=radio] {
  margin-top: 0;
}

.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group-addon:first-child {
  border-right: 0;
}

.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn,
.input-group-btn:first-child > .btn:not(:first-child),
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group > .btn,
.input-group-btn:last-child > .dropdown-toggle {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group-addon:last-child {
  border-left: 0;
}

.input-group-btn {
  font-size: 0;
  position: relative;
  white-space: nowrap;
}

.input-group-btn > .btn {
  position: relative;
}

.input-group-btn > .btn + .btn {
  margin-left: -1px;
}

.input-group-btn > .btn:active,
.input-group-btn > .btn:focus,
.input-group-btn > .btn:hover {
  z-index: 2;
}

.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group {
  margin-right: -1px;
}

.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group {
  z-index: 2;
  margin-left: -1px;
}
//
// Breadcrumbs
// --------------------------------------------------

.breadcrumb {
  padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal;
  margin-bottom: @line-height-computed;
  list-style: none;
  background-color: @breadcrumb-bg;
  border-radius: @border-radius-base;

  > li {
    display: inline-block;

    + li:before {
      content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
      padding: 0 @caret-width-large;
      color: @breadcrumb-color;
    }
  }

  > .active {
    color: @breadcrumb-active-color;
  }
}

.pagination,
.search-box,
.show-items {
  padding: 0;
  height:2em;
}

.show-items {
  display:inline-flex;
}

.show-items .form-control {
  margin-left:@margin-btn-icon-left;
}

.show-items span {
  margin-top:@padding-small-vertical;
  margin-left:@padding-small-horizontal;
}

.usericon {
  fill:#03A6D7;
  margin-right:@margin-btn-icon-right;
  vertical-align: sub;
}

.show-grid {
  border:solid 1px #ccc;
}

.sg-animated {
  -webkit-transition: all 0.6s ease-out;
  -moz-transition: all 0.6s ease-out;
  -ms-transition: all 0.6s ease-out;
  -o-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
}

.sg-color {
  background: #fff;
  border: 1px solid #b3b3b3;
  display: inline-block;
  height: 80px;
  margin: 0 @margin-small @margin-small 0;
  padding: @padding-xs-horizontal;
  position: relative;
  width: 100px;
}
.sg-color-swatch {
  display: block;
  height: 100%;
  width: 100%;
}
.sg-color-swatch span {
  background: #000;
  background: rgba(0, 0, 0, 0.7);
  bottom: 5px;
  color: #fff;
  font-size: .8em;
  margin: 0;
  opacity: 0;
  padding: @padding-xs-horizontal 0;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  width: 88px;
}

.sg-color-swatch:hover span {
  opacity: 1;
}
/* -------------------------------------------------------------------------
 Colors
---------------------------------------------------------------------------- */
.sg-brand-primary .sg-color-swatch {
  background: #03A6D7;
}
.sg-gray-lighter .sg-color-swatch {
  background: #546677;
}
.sg-gray-light .sg-color-swatch {
  background: #629BAC;
}
.sg-gray .sg-color-swatch {
  background: @gray-lighter;
}
.sg-gray-dark .sg-color-swatch {
  background: @gray-light;
}
.sg-gray-darker .sg-color-swatch {
  background: @gray;
}

.sg-gray-darkest .sg-color-swatch {
  background: @gray-darker;
}

.sg-brand-success .sg-color-swatch {
  background: #62C876;
}
.sg-brand-info .sg-color-swatch {
  background: #4E9FDD;
}
.sg-brand-unsure .sg-color-swatch {
  background: #E9DD00;
}
.sg-brand-warning .sg-color-swatch {
  background: #FFA800;
}
.sg-brand-danger .sg-color-swatch {
  background: #FF3B3D;
}

.sg-nav-pills {
  max-width:220px;
}
.search-box input.form-control {
}

//
// Navs
// --------------------------------------------------

// Base class
// --------------------------------------------------

.nav {
  margin-bottom: 0;
  padding-left: 0; // Override default ul/ol
  list-style: none;
  &:extend(.clearfix all);

  > li {
    position: relative;
    display: block;

    > a {
      position: relative;
      display: block;
      padding: @nav-link-padding;
      &:hover,
      &:focus {
        text-decoration: none;
        background-color: @nav-link-hover-bg;
      }
    }

    // Disabled state sets text to gray and nukes hover/tab effects
    &.disabled > a {
      color: @nav-disabled-link-color;

      &:hover,
      &:focus {
        color: @nav-disabled-link-hover-color;
        text-decoration: none;
        background-color: transparent;
        cursor: not-allowed;
      }
    }
  }

  // Open dropdowns
  .open > a {
    &,
    &:hover,
    &:focus {
      background-color: @nav-link-hover-bg;
      border-color: @link-color;
    }
  }

  // Prevent IE8 from misplacing imgs
  //
  // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
  > li > a > img {
    max-width: none;
  }
}

// Tabs
// -------------------------

// Give the tabs something to sit on
.nav-tabs {
  border-bottom: 1px solid @nav-tabs-border-color;
  > li {
    float: left;
    // Make the list-items overlay the bottom border
    margin-bottom: -1px;

    // Actual tabs (as links)
    > a {
      margin-right: 2px;
      line-height: @line-height-base;
      border: 1px solid transparent;
      border-radius: @border-radius-base @border-radius-base 0 0;
      &:hover {
        border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;
      }
    }

    // Active state, and its :hover to override normal :hover
    &.active > a {
      &,
      &:hover,
      &:focus {
        color: @nav-tabs-active-link-hover-color;
        background-color: @nav-tabs-active-link-hover-bg;
        border: 1px solid @nav-tabs-active-link-hover-border-color;
        border-bottom-color: transparent;
        cursor: default;
      }
    }
  }
  // pulling this in mainly for less shorthand
  &.nav-justified {
    .nav-justified();
    .nav-tabs-justified();
  }
}

// Pills
// -------------------------
.nav-pills {
  > li {
    float: left;

    // Links rendered as pills
    > a {
      border-radius: @nav-pills-border-radius;
    }
    + li {
      margin-left: 2px;
    }

    // Active state
    &.active > a {
      &,
      &:hover,
      &:focus {
        color: @nav-pills-active-link-hover-color;
        background-color: @nav-pills-active-link-hover-bg;
      }
    }
  }
}

// Stacked pills
.nav-stacked {
  > li {
    float: none;
    + li {
      margin-top: 2px;
      margin-left: 0; // no need for this gap between nav items
    }
  }
}

// Nav variations
// --------------------------------------------------

// Justified nav links
// -------------------------

.nav-justified {
  width: 100%;

  > li {
    float: none;
    > a {
      text-align: center;
      margin-bottom: @margin-small;
    }
  }

  > .dropdown .dropdown-menu {
    top: auto;
    left: auto;
  }

  @media (min-width: @screen-sm-min) {
    > li {
      display: table-cell;
      width: 1%;
      > a {
        margin-bottom: 0;
      }
    }
  }
}

// Move borders to anchors instead of bottom of list
//
// Mixin for adding on top the shared `.nav-justified` styles for our tabs
.nav-tabs-justified {
  border-bottom: 0;

  > li > a {
    // Override margin from .nav-tabs
    margin-right: 0;
    border-radius: @border-radius-base;
  }

  > .active > a,
  > .active > a:hover,
  > .active > a:focus {
    border: 1px solid @nav-tabs-justified-link-border-color;
  }

  @media (min-width: @screen-sm-min) {
    > li > a {
      border-bottom: 1px solid @nav-tabs-justified-link-border-color;
      border-radius: @border-radius-base @border-radius-base 0 0;
    }
    > .active > a,
    > .active > a:hover,
    > .active > a:focus {
      border-bottom-color: @nav-tabs-justified-active-link-border-color;
    }
  }
}

#activity-table td .btn-primary {
  border:0;
}

#activity-table td .btn-primary:focus {
  background-color: @brand-secondary;
}

// Tabbable tabs
// -------------------------

// Hide tabbable panes to start, show them when `.active`
.tab-content {
  > .tab-pane {
    display: none;
  }
  > .active {
    display: block;
  }
}

// Dropdowns
// -------------------------

// Specific dropdowns
.nav-tabs .dropdown-menu {
  // make dropdown border overlap tab border
  margin-top: -1px;
  // Remove the top rounded corners here since there is a hard edge above the menu
}

ul.nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
  background-color: #546677;
}

ul.nav-pills > li.active > a {
  background-color: #03a6d7;
}

.pagination {
  display: inline-block;
  margin: 0;
  padding-left: 0;
  border-radius: @border-radius-base;
  clear:none;
}

.pagination > li {
  display: inline;
}

.pagination > li > a,
.pagination > li > span {
  line-height: @line-height-base;
  position: relative;
  float: left;
  margin-left: -1px;
  padding: @padding-small-vertical @padding-small-horizontal;
  text-decoration: none;
  border: 1px solid #ddd;
  background-color: #fff;
  color: @brand-primary;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: @border-radius-base;
  border-bottom-left-radius: @border-radius-base;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: @border-radius-base;
  border-bottom-right-radius: @border-radius-base;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
  z-index: 2;
  color: #23527c;
  border-color: #ddd;
  background-color: @gray-lighter;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  z-index: 3;
  cursor: default;
  color: #fff;
  border-color: #ddd;
  background-color: @brand-primary;
}

.pagination > .disabled > a,
.pagination > .disabled > a:focus,
.pagination > .disabled > a:hover,
.pagination > .disabled > span,
.pagination > .disabled > span:focus,
.pagination > .disabled > span:hover {
  cursor: not-allowed;
  color: #777;
  border-color: #ddd;
  background-color: #fff;
}

.pagination-lg > li > a,
.pagination-lg > li > span {
  font-size: 1.286em;
  line-height: @line-height-large;
  padding: @padding-small-horizontal @padding-large-horizontal;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-top-left-radius: @border-radius-large;
  border-bottom-left-radius: @border-radius-large;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-top-right-radius: @border-radius-large;
  border-bottom-right-radius: @border-radius-large;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
  font-size: 0.875em;
  line-height: @line-height-small;
  padding: @padding-small-vertical @padding-small-horizontal;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-top-left-radius: @border-radius-small;
  border-bottom-left-radius: @border-radius-small;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: @border-radius-small;
  border-bottom-right-radius: @border-radius-small;
}

.pager {
  margin: @margin-hr 0;
  padding-left: 0;
  list-style: none;
  text-align: center;
}

.pager li {
  display: inline;
}

.pager li > a,
.pager li > span {
  display: inline-block;
  padding: @padding-small-vertical @padding-large-vertical;
  border: 1px solid #ddd;
  border-radius: @border-radius-pager;
  background-color: #fff;
}

.pager li > a:focus,
.pager li > a:hover {
  text-decoration: none;
  background-color: #eee;
}

.pager .next > a,
.pager .next > span {
  float: right;
}

.pager .previous > a,
.pager .previous > span {
  float: left;
}

.pager .disabled > a,
.pager .disabled > a:focus,
.pager .disabled > a:hover,
.pager .disabled > span {
  cursor: not-allowed;
  color: #777;
  background-color: #fff;
}

.label {
  font-size: 0.7em;
  font-weight: 700;
  line-height: 1;
  display: inline;
  padding: @padding-label-small @padding-label-large @padding-label-small;
  text-align: center;
  vertical-align: baseline;
  white-space: nowrap;
  color: #fff;
  border-radius: @border-radius-label;
}

a.label:focus,
a.label:hover {
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.label:empty {
  display: none;
}

.btn .label {
  position: relative;
  top: -1px;
}

.btn-clear {
  margin-top:0.8em;
}

.label-default {
  background-color: @brand-primary;
}

.label-default[href]:focus,
.label-default[href]:hover {
  background-color: #5e5e5e;
}

.label-primary {
  background-color: @brand-secondary;
}

.label-primary[href]:focus,
.label-primary[href]:hover {
  background-color: @brand-primary;
}

.badge {
  font-size: 0.6em;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  min-width: 1em;
  padding: @padding-badge-horizontal @padding-badge-vertical;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  color: #fff;
  border-radius: @margin-heading;
  background-color: @brand-primary;
}

.nav-pills .badge, p .badge {
  font-size:0.9em;
  line-height: 1em;
  background-color: #546677;
}

.badge:empty {
  display: none;
}

.btn .badge {
  position: relative;
  top: -1px;
}

.btn-group-xs > .btn .badge,
.btn-xs .badge {
  top: 0;
  padding: @padding-xs-vertical @padding-xs-horizontal;
}

a.badge:focus,
a.badge:hover {
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

h2 span.badge {
  line-height: 0.9em;
  background-color: @brand-primary;
}

.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
  color: #337ab7;
  background-color: #fff;
}

.list-group-item-danger,
.list-group-item-info,
.list-group-item-success,
.list-group-item-warning {
  color: #333;
}

.list-group-item > .badge {
  float: right;
}

.list-group-item > .badge + .badge {
  margin-right: @margin-btn-toolbar-left;
}

.list-group {
  margin-bottom: @margin-hr;
  padding-left: 0;
}

.list-group-item {
  position: relative;
  display: block;
  margin-bottom: -1px;
  padding: @padding-small-horizontal @padding-large-horizontal;
  border: 1px solid #ddd;
  background-color: #fff;
}

.list-group-item:first-child {
  border-top-left-radius: @border-radius-base;
  border-top-right-radius: @border-radius-base;
}

.list-group-item:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: @border-radius-base;
  border-bottom-left-radius: @border-radius-base;
}

a.list-group-item,
button.list-group-item {
  color: #555;
}

a.list-group-item .list-group-item-heading,
button.list-group-item .list-group-item-heading {
  color: #333;
}

a.list-group-item:focus,
a.list-group-item:hover,
button.list-group-item:focus,
button.list-group-item:hover {
  text-decoration: none;
  color: #555;
  background-color: @gray-lighter;
}

button.list-group-item {
  width: 100%;
  text-align: left;
}

.list-group-item.disabled,
.list-group-item.disabled:focus,
.list-group-item.disabled:hover {
  cursor: not-allowed;
  color: #777;
  background-color: @gray-light;
}

.list-group-item.disabled .list-group-item-heading,
.list-group-item.disabled:focus .list-group-item-heading,
.list-group-item.disabled:hover .list-group-item-heading {
  color: inherit;
}

.list-group-item.disabled .list-group-item-text,
.list-group-item.disabled:focus .list-group-item-text,
.list-group-item.disabled:hover .list-group-item-text {
  color: #777;
}

.list-group-item.active,
.list-group-item.active:focus,
.list-group-item.active:hover {
  z-index: 2;
  color: #fff;
  border-color: @brand-primary;
  background-color: @brand-primary;
}

.list-group-item.active .list-group-item-heading,
.list-group-item.active .list-group-item-heading > .small,
.list-group-item.active .list-group-item-heading > small,
.list-group-item.active:focus .list-group-item-heading,
.list-group-item.active:focus .list-group-item-heading > .small,
.list-group-item.active:focus .list-group-item-heading > small,
.list-group-item.active:hover .list-group-item-heading,
.list-group-item.active:hover .list-group-item-heading > .small,
.list-group-item.active:hover .list-group-item-heading > small {
  color: inherit;
}

.list-group-item.active .list-group-item-text,
.list-group-item.active:focus .list-group-item-text,
.list-group-item.active:hover .list-group-item-text {
  color: #c7ddef;
}

.list-group-item-heading {
  margin-top: 0;
  margin-bottom: @margin-btn-toolbar-left;
}

.list-group-item-text {
  line-height: 1.3;
  margin-bottom: 0;
}

.embed-responsive {
  position: relative;
  display: block;
  overflow: hidden;
  height: 0;
  padding: 0;
}

.panel {
  margin-bottom: @margin-hr;
  border: 1px solid transparent;
  border-radius: @border-radius-base;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  background-color: #fcfcfc;
}

.panel-body {
  padding: @padding-large-vertical;
  color: @brand-primary;
  font-size: 1em;
}

.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  color: inherit;
  font-size: 1.143em;
}

.panel.panel-side {
  padding: @padding-base-vertical;
  border: solid 1px #ddd !important;
  background-color: #fff !important;
}

.panel-heading {
  padding: @padding-small-horizontal;
  border-bottom: 1px solid transparent;
  border-top-left-radius: @border-radius-small;
  border-top-right-radius: @border-radius-small;
  font-size: 1.1em !important;
  font-weight: 600;
  color: @brand-secondary;
  background-color: #fff;
}

.panel-heading > .dropdown .dropdown-toggle {
  color: inherit;
}

.panel-title > .small,
.panel-title > .small > a,
.panel-title > a,
.panel-title > small,
.panel-title > small > a {
  color: inherit;
}

.panel-footer {
  padding: @padding-small-horizontal;
  background-color: @gray-lighter;
  border-top: 1px solid #ddd;
  border-bottom-right-radius: @border-radius-small;
  border-bottom-left-radius: @border-radius-small;
}

.panel > .list-group,
.panel > .panel-collapse > .list-group {
  margin-bottom: 0;
}

.panel > .list-group .list-group-item,
.panel > .panel-collapse > .list-group .list-group-item {
  border-width: 1px 0;
  border-radius: 0;
}

.panel > .list-group:first-child .list-group-item:first-child,
.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
  border-top: 0;
  border-top-left-radius: @border-radius-small;
  border-top-right-radius: @border-radius-small;
}

.panel > .list-group:last-child .list-group-item:last-child,
.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
  border-bottom: 0;
  border-bottom-right-radius: @border-radius-small;
  border-bottom-left-radius: @border-radius-small;
}

.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.panel-heading + .list-group .list-group-item:first-child {
  border-top-width: 0;
}

.list-group + .panel-footer {
  border-top-width: 0;
}

.panel > .panel-collapse > .table,
.panel > .table,
.panel > .table-responsive > .table {
  margin-bottom: 0;
}

.panel > .panel-collapse > .table caption,
.panel > .table caption,
.panel > .table-responsive > .table caption {
  padding-right: @padding-large-vertical;
  padding-left: @padding-large-vertical;
}

.panel > .table-responsive:first-child > .table:first-child,
.panel > .table:first-child {
  border-top-left-radius: @border-radius-small;
  border-top-right-radius: @border-radius-small;
}

.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child,
.panel > .table:first-child > thead:first-child > tr:first-child {
  border-top-left-radius: @border-radius-small;
  border-top-right-radius: @border-radius-small;
}

.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:first-child {
  border-top-left-radius: @border-radius-small;
}

.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:last-child {
  border-top-right-radius: @border-radius-small;
}

.panel > .table-responsive:last-child > .table:last-child,
.panel > .table:last-child {
  border-bottom-right-radius: @border-radius-small;
  border-bottom-left-radius: @border-radius-small;
}

.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child {
  border-bottom-right-radius: @border-radius-small;
  border-bottom-left-radius: @border-radius-small;
}

.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
  border-bottom-left-radius: @border-radius-small;
}

.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
  border-bottom-right-radius: @border-radius-small;
}

.panel > .panel-body + .table,
.panel > .panel-body + .table-responsive,
.panel > .table + .panel-body,
.panel > .table-responsive + .panel-body {
  border-top: 1px solid #ddd;
}

.panel > .table > tbody:first-child > tr:first-child td,
.panel > .table > tbody:first-child > tr:first-child th {
  border-top: 0;
}

.panel > .table-bordered,
.panel > .table-responsive > .table-bordered {
  border: 0;
}

.panel > .table-bordered > tbody > tr > td:first-child,
.panel > .table-bordered > tbody > tr > th:first-child,
.panel > .table-bordered > tfoot > tr > td:first-child,
.panel > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-bordered > thead > tr > td:first-child,
.panel > .table-bordered > thead > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:first-child {
  border-left: 0;
}

.panel > .table-bordered > tbody > tr > td:last-child,
.panel > .table-bordered > tbody > tr > th:last-child,
.panel > .table-bordered > tfoot > tr > td:last-child,
.panel > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-bordered > thead > tr > td:last-child,
.panel > .table-bordered > thead > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:last-child {
  border-right: 0;
}

.panel > .table-bordered > tbody > tr:first-child > td,
.panel > .table-bordered > tbody > tr:first-child > th,
.panel > .table-bordered > thead > tr:first-child > td,
.panel > .table-bordered > thead > tr:first-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > th {
  border-bottom: 0;
}

.panel > .table-bordered > tbody > tr:last-child > td,
.panel > .table-bordered > tbody > tr:last-child > th,
.panel > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-bordered > tfoot > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
  border-bottom: 0;
}

.panel > .table-responsive {
  margin-bottom: 0;
  border: 0;
}

.panel-group {
  margin-bottom: @margin-hr;
}

.panel-group .panel {
  margin-bottom: 0;
  border-radius: @border-radius-base;
}

.panel-group .panel + .panel {
  margin-top: @margin-btn-toolbar-left;
}

.panel-group .panel-heading {
  border-bottom: 0;
}

.panel-group .panel-heading + .panel-collapse > .list-group,
.panel-group .panel-heading + .panel-collapse > .panel-body {
  border-top: 1px solid #ddd;
}

.panel-group .panel-footer {
  border-top: 0;
}

.panel-group .panel-footer + .panel-collapse .panel-body {
  border-bottom: 1px solid #ddd;
}

.panel-default {
  border-color: #ddd;
}

.panel-code {
  border-color:#fff;
  box-shadow: none;
  background-color: #fff;
  margin-top:1em;
}

.panel-default > .panel-heading {
  color: #333;
  background-color: @gray-lighter;
  border-color: #ddd;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #ddd;
}

.panel-default > .panel-heading .badge {
  color: @gray-lighter;
  background-color: #333;
}

.panel-default > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #ddd;
}

.panel-primary {
  border: solid 1px @brand-primary;
}

.panel-success {
  border: solid 1px @brand-success;
}

.panel-info {
  border: solid 1px @brand-info;
}

.panel-warning {
  border: solid 1px #ffa800;
}

.panel-danger {
  border: solid 1px @brand-danger;
}

.panel-primary > .panel-heading {
  border-bottom: solid 1px @brand-primary;
  color:#fff;
  background-color: @brand-primary;
}

.panel-success > .panel-heading {
  border-bottom: solid 1px @brand-success;
  color:#fff;
  background-color: @brand-success;
}

.panel-info > .panel-heading {
  border-bottom: solid 1px @brand-info;
}

.panel-warning > .panel-heading {
  border-bottom: solid 1px #ffa800;
  color:#fff;
  background-color: @brand-warning;
}

.panel-danger > .panel-heading {
  border-bottom: solid 1px @brand-danger;
  color:#fff;
  background-color: @brand-danger;
}

.panel-primary > .panel-heading h3 {
  color: @brand-primary;
}

.panel-info > .panel-heading {
  border-bottom: solid 1px @brand-info;
  color:#fff;
  background-color: @brand-info;
}

.panel-success > .panel-heading h3 {
  color: @brand-success;
}

.panel-warning > .panel-heading h3 {
  color: #ffa800;
}

.panel-danger > .panel-heading h3 {
  color: @brand-danger;
}

.searchtable.table tbody tr td,
.searchtable.table thead tr th {
  text-align: left !important;
}

.table thead tr {
  border-bottom-color: transparent !important;
}

.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
  padding:@padding-large-horizontal;
}

.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  -o-transform: translate(0, -25%);
  transform: translate(0, -25%);
}

.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: @margin-horizontal;
}

.modal-content {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: @border-radius-small;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .4);
  box-shadow: 0 3px 9px rgba(0, 0, 0, .4);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
  opacity: 0.5;
}

.modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}

.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.modal-header {
  padding: 15px;
  border-bottom: 0;
}

.modal-header .close {
  margin-top: -2px;
  opacity:0.7;
}

.modal-title {
  margin: 0;
  line-height: 1.42857143;
  font-size: 1.725em;
  text-align: center;
}

.modal-body {
  position: relative;
  padding: @padding-modal-body;
  color: #333;
}

.modal-body .scrollable {
  overflow:auto;
  overflow-x:hidden;
}

.modal-footer {
  padding: @padding-modal-footer;
  text-align: right;
  right:0;
  float:right !important;
  border-top: 0;
  background: rgba(0, 0, 0, .05);
}

.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: @margin-half-horizontal;
}

.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}

.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: @margin-modal-dialog auto;
  }

  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  }

  .modal-sm {
    width: 300px;
  }
}

@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}

.tooltip-inner {
  max-width: 14.286em;
  padding: @padding-base-vertical;
  color: #fff;
  text-align: center;
  background-color: @brand-primary;
  border-radius: @border-radius-base;
}

.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-break: auto;
  line-height: @line-height-base;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  white-space: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  font-size: 0.857em;
  border-color: @brand-primary;
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.tooltip.top {
  margin-top: -@margin-tooltip;
  padding: @padding-xs-horizontal 0;
}

.tooltip.right {
  margin-left: @margin-tooltip;
  padding: 0 @padding-small-vertical;
}

.tooltip.left {
  margin-left: -@margin-tooltip;
  padding: 0 @padding-small-vertical;
}

.tooltip.bottom {
  margin-top: @margin-tooltip;
  padding: @padding-small-vertical 0;
}

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -@margin-half-horizontal;
  border-width: 5px 5px 0;
  border-top-color: @brand-primary;
}

.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -@margin-half-horizontal;
  border-width: 5px 5px 5px 0;
  border-right-color: @brand-primary;
}

.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -@margin-half-horizontal;
  border-width: 5px 0 5px 5px;
  border-left-color: @brand-primary;
}

.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -@margin-half-horizontal;
  border-width: 0 5px 5px;
  border-bottom-color: @brand-primary;
}

//
// Wells
// --------------------------------------------------

// Base class
.well {
  min-height: 20px;
  padding: @padding-well;
  margin-bottom: @margin-large;
  background-color: @well-bg;
  border: 1px solid @well-border;
  border-radius: @border-radius-base;
  box-shadow:inset 0 1px 1px rgba(0,0,0,.05);
  blockquote {
    border-color: #ddd;
    border-color: rgba(0,0,0,.15);
  }
}

// Sizes
.well-lg {
  padding: @padding-well-lg;
  border-radius: @border-radius-large;
}
.well-sm {
  padding: @padding-well-small;
  border-radius: @border-radius-small;
}

.well a {
  font-style: italic;
}

.content {
  font-size: 1em;
  padding-top: @margin-hr;
  padding-bottom: @margin-hr;
  background-color: #fff;
  width: 100%;
}

button.close {
  font-weight: 700;
  line-height: 1;
  top:0;
  right:@padding-small-horizontal;
  position:absolute;
  border:0;
  color: #f00;
  z-index:1;
  padding: @padding-btn-close;
  outline:none;
}

button.close:focus,
button.close:hover,
button.close:active:focus {
  cursor: pointer;
  text-decoration: none;
  opacity: 0.5;
  color: #000;
  filter: alpha(opacity=50);
  box-shadow:none;
  outline:none;
  background-color:#fff;
}

.closeIcon svg {
  opacity:0.7;
  height:1rem;
  width:1rem;
  text-align: center;
  color:#f00;
}

.btn-group-vertical > .btn-group:before,
.btn-group:after,
.btn-toolbar:after,
.btn-toolbar:before,
.clearfix:after,
.clearfix:before,
.container-fluid:after,
.container-fluid:before,
.container:after,
.container:before,
.dl-horizontal dd:after,
.dl-horizontal dd:before,
.form-horizontal .form-group:after,
.form-horizontal .form-group:before,
.modal-footer:after,
.modal-footer:before,
.modal-header:after,
.modal-header:before,
.nav:after,
.nav:before,
.navbar-collapse:after,
.navbar-collapse:before,
.navbar-header:after,
.navbar-header:before,
.navbar:after,
.navbar:before,
.pager:after,
.pager:before,
.panel-body:after,
.panel-body:before,
.row:after,
.row:before {
  display: table;
  content: ' ';
}

.btn-group-vertical > .btn-group:after,
.btn-toolbar:after,
.clearfix:after,
.container-fluid:after,
.container:after,
.dl-horizontal dd:after,
.form-horizontal .form-group:after,
.modal-footer:after,
.modal-header:after,
.nav:after,
.navbar-collapse:after,
.navbar-header:after,
.navbar:after,
.pager:after,
.panel-body:after,
.row:after {
  clear: both;
}

.glyphicon-modal-window:before {
  content: "\e237";
}

.toolbar {
  padding-top: @margin-hr;
}

.toolbar .sort-items {
  padding-bottom: @padding-small-horizontal;
  padding-right: 0;
}

.toolbar .show-items {
  padding-bottom: @padding-small-horizontal;
  padding-right: 0;
}

.toolbar .page-count {
  padding-bottom: @padding-large-horizontal;
  padding-left: 0;
}

.center-block {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.pull-right {
  float: right !important;
}

.pull-left {
  float: left !important;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}

.invisible {
  visibility: hidden;
}

.text-hide {
  font: 0/0 a;
  color: transparent;
  border: 0;
  background-color: transparent;
  text-shadow: none;
}

.hidden {
  display: none !important;
}

.affix {
  position: fixed;
}

@-ms-viewport {
  width: device-width;
}

.visible-lg,
.visible-md,
.visible-sm,
.visible-xs {
  display: none !important;
}

.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-sm-block,
.visible-sm-inline-block,
.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block {
  display: none !important;
}

button.btn-link {
  color: rgb(84, 102, 122);
}

#explore h1 {
  font-size: 1.2em !important;
  margin-bottom: 0;
}

.searchViewTheme .textInput {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  border: 2px solid rgb(189, 212, 220);
  border-radius: @border-radius-text-input;
  box-sizing: border-box;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: 1.2em;
  font-style: inherit;
  outline: none;
  padding-left: @padding-search-input-left;
  padding-right: @padding-search-input-right;
  width: 87%;
  margin-left: -@margin-left-search-input;
}

.search-box .btn-primary {
  margin:0;
  padding:@padding-search-button;
}

.search-box svg {
  fill:#fff;
}

.textInput .placeholder {
  color: hsl(195, 32%, 80%);
}

.textInput:focus {
  border: solid 3px @brand-secondary;
  outline: none;
}

.getinvolved .btn-primary {
  background-color: @brand-secondary;
}

.getinvolved .btn-primary:active,
.getinvolved .btn-primary:focus,
.getinvolved .btn-primary:hover {
  background-color: @brand-primary;
}

@media (max-width: 29.375rem) {
  .view {
    flex-direction:column;
    display:inline-flex;
  }
  .page {
    flex:1;
  }
  #nav {
    height:initial;
  }
}

@media (min-width: 29.376rem) {
  .view {
    align-items: flex-start;
    flex-direction:row;
    flex-shrink: 0;
  }

  #nav {
    min-height:100%;
  }

}

@media (min-width: @screen-sm-min) {
  h1 {
    margin-top: 0;
  }

  .container {
    width: @container-tablet;
  }

  .content {
    width: 65%;
  }

  .headerClasses {
    font-size: 1em;
  }

  .dl-horizontal dt {
    float: left;
    clear: left;
    overflow: hidden;
    width: 11.429em;
    text-align: right;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .dl-horizontal dd {
    margin-left: @margin-left-dd;
  }

  .col-sm-1,
  .col-sm-10,
  .col-sm-11,
  .col-sm-12,
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7,
  .col-sm-8,
  .col-sm-9 {
    float: left;
  }

  .col-sm-12 {
    width: 100%;
  }

  .col-sm-11 {
    width: 91.66666667%;
  }

  .col-sm-10 {
    width: 83.33333333%;
  }

  .col-sm-9 {
    width: 75%;
  }

  .col-sm-8 {
    width: 66.66666667%;
  }

  .col-sm-7 {
    width: 58.33333333%;
  }

  .col-sm-6 {
    width: 50%;
  }

  .col-sm-5 {
    width: 41.66666667%;
  }

  .col-sm-4 {
    width: 33.33333333%;
  }

  .col-sm-3 {
    width: 25%;
  }

  .col-sm-2 {
    width: 16.66666667%;
  }

  .col-sm-1 {
    width: 8.33333333%;
  }

  .col-sm-pull-12 {
    right: 100%;
  }

  .col-sm-pull-11 {
    right: 91.66666667%;
  }

  .col-sm-pull-10 {
    right: 83.33333333%;
  }

  .col-sm-pull-9 {
    right: 75%;
  }

  .col-sm-pull-8 {
    right: 66.66666667%;
  }

  .col-sm-pull-7 {
    right: 58.33333333%;
  }

  .col-sm-pull-6 {
    right: 50%;
  }

  .col-sm-pull-5 {
    right: 41.66666667%;
  }

  .col-sm-pull-4 {
    right: 33.33333333%;
  }

  .col-sm-pull-3 {
    right: 25%;
  }

  .col-sm-pull-2 {
    right: 16.66666667%;
  }

  .col-sm-pull-1 {
    right: 8.33333333%;
  }

  .col-sm-pull-0 {
    right: auto;
  }

  .col-sm-push-12 {
    left: 100%;
  }

  .col-sm-push-11 {
    left: 91.66666667%;
  }

  .col-sm-push-10 {
    left: 83.33333333%;
  }

  .col-sm-push-9 {
    left: 75%;
  }

  .col-sm-push-8 {
    left: 66.66666667%;
  }

  .col-sm-push-7 {
    left: 58.33333333%;
  }

  .col-sm-push-6 {
    left: 50%;
  }

  .col-sm-push-5 {
    left: 41.66666667%;
  }

  .col-sm-push-4 {
    left: 33.33333333%;
  }

  .col-sm-push-3 {
    left: 25%;
  }

  .col-sm-push-2 {
    left: 16.66666667%;
  }

  .col-sm-push-1 {
    left: 8.33333333%;
  }

  .col-sm-push-0 {
    left: auto;
  }

  .col-sm-offset-12 {
    margin-left: 100%;
  }

  .col-sm-offset-11 {
    margin-left: 91.66666667%;
  }

  .col-sm-offset-10 {
    margin-left: 83.33333333%;
  }

  .col-sm-offset-9 {
    margin-left: 75%;
  }

  .col-sm-offset-8 {
    margin-left: 66.66666667%;
  }

  .col-sm-offset-7 {
    margin-left: 58.33333333%;
  }

  .col-sm-offset-6 {
    margin-left: 50%;
  }

  .col-sm-offset-5 {
    margin-left: 41.66666667%;
  }

  .col-sm-offset-4 {
    margin-left: 33.33333333%;
  }

  .col-sm-offset-3 {
    margin-left: 25%;
  }

  .col-sm-offset-2 {
    margin-left: 16.66666667%;
  }

  .col-sm-offset-1 {
    margin-left: 8.33333333%;
  }

  .col-sm-offset-0 {
    margin-left: 0;
  }

  .form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }

  .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }

  .form-inline .form-control-static {
    display: inline-block;
  }

  .form-inline .input-group {
    display: inline-table;
    vertical-align: middle;
  }

  .form-inline .input-group .form-control,
  .form-inline .input-group .input-group-addon,
  .form-inline .input-group .input-group-btn {
    width: auto;
  }

  .form-inline .input-group > .form-control {
    width: 100%;
  }

  .form-inline .control-label {
    margin-bottom: 0;
    vertical-align: middle;
  }

  .form-inline .checkbox,
  .form-inline .radio {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: middle;
  }

  .form-inline .checkbox label,
  .form-inline .radio label {
    padding-left: 0;
  }

  .form-inline .checkbox input[type=checkbox],
  .form-inline .radio input[type=radio] {
    position: relative;
    margin-left: 0;
  }

  .form-inline .has-feedback .form-control-feedback {
    top: 0;
  }

  .form-inline .form-control {
    width: 100%;
  }

  .form-horizontal .control-label {
    margin-bottom: 0;
    padding-top: @padding-base-vertical;
    text-align: right;
  }

  .form-horizontal .form-group-lg .control-label {
    font-size: 1.286em;
    padding-top: @padding-base-horizontal;
  }

  .form-horizontal .form-group-sm .control-label {
    font-size: 0.857em;
    padding-top: @padding-small-vertical;
  }
}

@media (max-width: @screen-sm-max) {
  .searchViewTheme span svg {
    font-size: 1.4em;
  }

  .wideViewTheme {
    max-width:100%;
  }

  #profile-matrix {
    padding-left:0;
  }

  .lead {
    font-size: 1.5em;
  }

  .visible-xs {
    display: block !important;
  }

  table.visible-xs {
    display: table !important;
  }

  tr.visible-xs {
    display: table-row !important;
  }

  td.visible-xs,
  th.visible-xs {
    display: table-cell !important;
  }

  .visible-xs-block {
    display: block !important;
  }

  .visible-xs-inline {
    display: inline !important;
  }

  .visible-xs-inline-block {
    display: inline-block !important;
  }

  .content {
    min-height: 21.429em;
  }

  .collapsing {
    transition: height 0.8s;
  }
}

@media (min-width: @screen-sm-min) and (max-width: @screen-md-max) {
  .visible-sm {
    display: block !important;
  }

  table.visible-sm {
    display: table !important;
  }

  tr.visible-sm {
    display: table-row !important;
  }

  td.visible-sm,
  th.visible-sm {
    display: table-cell !important;
  }

  .visible-sm-block {
    display: block !important;
  }

  .visible-sm-inline {
    display: inline !important;
  }

  .visible-sm-inline-block {
    display: inline-block !important;
  }

  .visible-md {
    display: block !important;
  }

  table.visible-md {
    display: table !important;
  }

  tr.visible-md {
    display: table-row !important;
  }

  td.visible-md,
  th.visible-md {
    display: table-cell !important;
  }
}

@media (min-width: @screen-md-min) {
  .headerClasses {
    padding: @padding-base-and-a-half;
  }

  .show-items {
    clear: none !important;
  }

  .container {
    width: @container-desktop;
  }

  .col-md-1,
  .col-md-10,
  .col-md-11,
  .col-md-12,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9 {
    float: left;
  }

  .col-md-12 {
    width: 100%;
  }

  .col-md-11 {
    width: 91.66666667%;
  }

  .col-md-10 {
    width: 83.33333333%;
  }

  .col-md-9 {
    width: 75%;
  }

  .col-md-8 {
    width: 66.66666667%;
  }

  .col-md-7 {
    width: 58.33333333%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-5 {
    width: 41.66666667%;
  }

  .col-md-4 {
    width: 33.33333333%;
  }

  .col-md-3 {
    width: 25%;
  }

  .col-md-2 {
    width: 16.66666667%;
  }

  .col-md-1 {
    width: 8.33333333%;
  }

  .col-md-pull-12 {
    right: 100%;
  }

  .col-md-pull-11 {
    right: 91.66666667%;
  }

  .col-md-pull-10 {
    right: 83.33333333%;
  }

  .col-md-pull-9 {
    right: 75%;
  }

  .col-md-pull-8 {
    right: 66.66666667%;
  }

  .col-md-pull-7 {
    right: 58.33333333%;
  }

  .col-md-pull-6 {
    right: 50%;
  }

  .col-md-pull-5 {
    right: 41.66666667%;
  }

  .col-md-pull-4 {
    right: 33.33333333%;
  }

  .col-md-pull-3 {
    right: 25%;
  }

  .col-md-pull-2 {
    right: 16.66666667%;
  }

  .col-md-pull-1 {
    right: 8.33333333%;
  }

  .col-md-pull-0 {
    right: auto;
  }

  .col-md-push-12 {
    left: 100%;
  }

  .col-md-push-11 {
    left: 91.66666667%;
  }

  .col-md-push-10 {
    left: 83.33333333%;
  }

  .col-md-push-9 {
    left: 75%;
  }

  .col-md-push-8 {
    left: 66.66666667%;
  }

  .col-md-push-7 {
    left: 58.33333333%;
  }

  .col-md-push-6 {
    left: 50%;
  }

  .col-md-push-5 {
    left: 41.66666667%;
  }

  .col-md-push-4 {
    left: 33.33333333%;
  }

  .col-md-push-3 {
    left: 25%;
  }

  .col-md-push-2 {
    left: 16.66666667%;
  }

  .col-md-push-1 {
    left: 8.33333333%;
  }

  .col-md-push-0 {
    left: auto;
  }

  .col-md-offset-12 {
    margin-left: 100%;
  }

  .col-md-offset-11 {
    margin-left: 91.66666667%;
  }

  .col-md-offset-10 {
    margin-left: 83.33333333%;
  }

  .col-md-offset-9 {
    margin-left: 75%;
  }

  .col-md-offset-8 {
    margin-left: 66.66666667%;
  }

  .col-md-offset-7 {
    margin-left: 58.33333333%;
  }

  .col-md-offset-6 {
    margin-left: 50%;
  }

  .col-md-offset-5 {
    margin-left: 41.66666667%;
  }

  .col-md-offset-4 {
    margin-left: 33.33333333%;
  }

  .col-md-offset-3 {
    margin-left: 25%;
  }

  .col-md-offset-2 {
    margin-left: 16.66666667%;
  }

  .col-md-offset-1 {
    margin-left: 8.33333333%;
  }

  .col-md-offset-0 {
    margin-left: 0;
  }
}

@media (min-width: @screen-md-min) and (max-width: @screen-lg) {
  .visible-md-block {
    display: block !important;
  }

  .visible-md-inline {
    display: inline !important;
  }

  .visible-md-inline-block {
    display: inline-block !important;
  }
}

@media (min-width: @screen-lg-min) {
  .container {
    width: @container-large-desktop;
  }

  .visible-lg {
    display: block !important;
  }

  table.visible-lg {
    display: table !important;
  }

  tr.visible-lg {
    display: table-row !important;
  }

  td.visible-lg,
  th.visible-lg {
    display: table-cell !important;
  }

  .col-lg-1,
  .col-lg-10,
  .col-lg-11,
  .col-lg-12,
  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9 {
    float: left;
  }

  .col-lg-12 {
    width: 100%;
  }

  .col-lg-11 {
    width: 91.66666667%;
  }

  .col-lg-10 {
    width: 83.33333333%;
  }

  .col-lg-9 {
    width: 75%;
  }

  .col-lg-8 {
    width: 66.66666667%;
  }

  .col-lg-7 {
    width: 58.33333333%;
  }

  .col-lg-6 {
    width: 50%;
  }

  .col-lg-5 {
    width: 41.66666667%;
  }

  .col-lg-4 {
    width: 33.33333333%;
  }

  .col-lg-3 {
    width: 25%;
  }

  .col-lg-2 {
    width: 16.66666667%;
  }

  .col-lg-1 {
    width: 8.33333333%;
  }

  .col-lg-pull-12 {
    right: 100%;
  }

  .col-lg-pull-11 {
    right: 91.66666667%;
  }

  .col-lg-pull-10 {
    right: 83.33333333%;
  }

  .col-lg-pull-9 {
    right: 75%;
  }

  .col-lg-pull-8 {
    right: 66.66666667%;
  }

  .col-lg-pull-7 {
    right: 58.33333333%;
  }

  .col-lg-pull-6 {
    right: 50%;
  }

  .col-lg-pull-5 {
    right: 41.66666667%;
  }

  .col-lg-pull-4 {
    right: 33.33333333%;
  }

  .col-lg-pull-3 {
    right: 25%;
  }

  .col-lg-pull-2 {
    right: 16.66666667%;
  }

  .col-lg-pull-1 {
    right: 8.33333333%;
  }

  .col-lg-pull-0 {
    right: auto;
  }

  .col-lg-push-12 {
    left: 100%;
  }

  .col-lg-push-11 {
    left: 91.66666667%;
  }

  .col-lg-push-10 {
    left: 83.33333333%;
  }

  .col-lg-push-9 {
    left: 75%;
  }

  .col-lg-push-8 {
    left: 66.66666667%;
  }

  .col-lg-push-7 {
    left: 58.33333333%;
  }

  .col-lg-push-6 {
    left: 50%;
  }

  .col-lg-push-5 {
    left: 41.66666667%;
  }

  .col-lg-push-4 {
    left: 33.33333333%;
  }

  .col-lg-push-3 {
    left: 25%;
  }

  .col-lg-push-2 {
    left: 16.66666667%;
  }

  .col-lg-push-1 {
    left: 8.33333333%;
  }

  .col-lg-push-0 {
    left: auto;
  }

  .col-lg-offset-12 {
    margin-left: 100%;
  }

  .col-lg-offset-11 {
    margin-left: 91.66666667%;
  }

  .col-lg-offset-10 {
    margin-left: 83.33333333%;
  }

  .col-lg-offset-9 {
    margin-left: 75%;
  }

  .col-lg-offset-8 {
    margin-left: 66.66666667%;
  }

  .col-lg-offset-7 {
    margin-left: 58.33333333%;
  }

  .col-lg-offset-6 {
    margin-left: 50%;
  }

  .col-lg-offset-5 {
    margin-left: 41.66666667%;
  }

  .col-lg-offset-4 {
    margin-left: 33.33333333%;
  }

  .col-lg-offset-3 {
    margin-left: 25%;
  }

  .col-lg-offset-2 {
    margin-left: 16.66666667%;
  }

  .col-lg-offset-1 {
    margin-left: 8.33333333%;
  }

  .col-lg-offset-0 {
    margin-left: 0;
  }
}

@media (min-width: @screen-lg) {
  .visible-lg-block {
    display: block !important;
  }

  .visible-lg-inline {
    display: inline !important;
  }

  .visible-lg-inline-block {
    display: inline-block !important;
  }

  .hidden-lg {
    display: none !important;
  }
}

@media (max-width: @screen-md-max) {
  .hidden-xs {
    display: none !important;
  }
}

@media (min-width: @screen-sm-min) and (max-width: @screen-md-max) {
  .hidden-sm {
    display: none !important;
  }
}

@media (min-width: @screen-md-min) and (max-width: @screen-lg) {
  .hidden-md {
    display: none !important;
  }
}

.visible-print {
  display: none !important;
}

@media print {
  .visible-print {
    display: block !important;
  }

  table.visible-print {
    display: table !important;
  }

  tr.visible-print {
    display: table-row !important;
  }

  td.visible-print,
  th.visible-print {
    display: table-cell !important;
  }
}

.visible-print-block {
  display: none !important;
}

@media print {
  .visible-print-block {
    display: block !important;
  }
}

.visible-print-inline {
  display: none !important;
}

@media print {
  .visible-print-inline {
    display: inline !important;
  }
}

.visible-print-inline-block {
  display: none !important;
}

@media print {
  .visible-print-inline-block {
    display: inline-block !important;
  }
}

@media print {
  .hidden-print {
    display: none !important;
  }
}

@media screen and (max-width: @screen-sm-max) {
  .table-responsive {
    overflow-y: hidden;
    width: 100%;
    margin-bottom: @padding-large-horizontal;
    border: 1px solid #ddd;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }

  .table-responsive > .table {
    margin-bottom: 0;
  }

  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > td,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > thead > tr > th {
    white-space: nowrap;
  }

  .table-responsive > .table-bordered {
    border: 0;
  }

  .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .table-responsive > .table-bordered > tbody > tr > th:first-child,
  .table-responsive > .table-bordered > tfoot > tr > td:first-child,
  .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  .table-responsive > .table-bordered > thead > tr > td:first-child,
  .table-responsive > .table-bordered > thead > tr > th:first-child {
    border-left: 0;
  }

  .table-responsive > .table-bordered > tbody > tr > td:last-child,
  .table-responsive > .table-bordered > tbody > tr > th:last-child,
  .table-responsive > .table-bordered > tfoot > tr > td:last-child,
  .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  .table-responsive > .table-bordered > thead > tr > td:last-child,
  .table-responsive > .table-bordered > thead > tr > th:last-child {
    border-right: 0;
  }

  .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .table-responsive > .table-bordered > tfoot > tr:last-child > td,
  .table-responsive > .table-bordered > tfoot > tr:last-child > th {
    border-bottom: 0;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  input[type=date].form-control,
  input[type=datetime-local].form-control,
  input[type=month].form-control,
  input[type=time].form-control {
    line-height: 2em;
  }

  .input-group-sm input[type=date],
  .input-group-sm input[type=datetime-local],
  .input-group-sm input[type=month],
  .input-group-sm input[type=time],
  input[type=date].input-sm,
  input[type=datetime-local].input-sm,
  input[type=month].input-sm,
  input[type=time].input-sm {
    line-height: 1em;
  }

  .input-group-lg input[type=date],
  .input-group-lg input[type=datetime-local],
  .input-group-lg input[type=month],
  .input-group-lg input[type=time],
  input[type=date].input-lg,
  input[type=datetime-local].input-lg,
  input[type=month].input-lg,
  input[type=time].input-lg {
    line-height: 3em;
  }
}

/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
@media print {
  *,
  :after,
  :before {
    color: #000 !important;
    background: 0 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: ' (' attr(href) ')';
  }

  abbr[title]:after {
    content: ' (' attr(title) ')';
  }

  a[href^='#']:after,
  a[href^='javascript:']:after {
    content: '';
  }

  blockquote,
  pre {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  img,
  tr {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  img.avatar {
    max-width: 2.857em;
    max-height: 2.857em;
  }

  table img.avatar {
    margin-right: @margin-heading;
  }

  h2,
  h3,
  p {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  .navbar {
    display: none;
  }

  .btn > .caret,
  .dropup > .btn > .caret {
    border-top-color: #000 !important;
  }

  .label {
    border: 1px solid #000;
  }

  .table {
    border-collapse: collapse !important;
  }

  .table td,
  .table th {
    background-color: #fff !important;
  }

  .table-bordered td,
  .table-bordered th {
    border: 1px solid #ddd !important;
  }
}

@import "variables.less";

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

span ul li span {
  vertical-align: top;
  margin-left: @margin-horizontal;
}

html {
  font-family: Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: #fff;
  font-size: 14px;
}

.react-autosuggest__container {
  position: relative;
}

.react-autosuggest__input {
  border: 0;
}

.react-autosuggest__input:focus {
  outline: none;
}

.react-autosuggest__container--open .react-autosuggest__input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.react-autosuggest__suggestions-container {
  display: none;
}

.react-autosuggest__container--open .react-autosuggest__suggestions-container {
  display: block;
  position: absolute;
  border: 1px solid #aaa;
  background-color: #fff;
  border-bottom-left-radius: @border-radius-base;
  border-bottom-right-radius: @border-radius-base;
  z-index: 2;
}

.react-autosuggest__suggestions-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.react-autosuggest__suggestion {
  cursor: pointer;
  padding: 0.4em 0.5em;
}

.react-autosuggest__suggestion--focused {
  background-color: #ddd;
}

.no-suggestions {
  margin-top: @margin-horizontal;
  padding-left: @padding-large-horizontal;
}

body {
  margin: 0;
  line-height: @line-height-base;
  color: @text-color;
  background-color: #fff;
  font-size: 1em;
  line-height: @line-height-small;
}

.view {
  width:100%;
  height:100%;
  display:flex;
}

.page {
  overflow: hidden;
}

.searchViewTheme {
  align-items: center;
  color: rgb(84, 102, 122);
  position: relative;
  max-width: 48em;
  width: 100%;
  margin-top: @margin-top;
  margin-bottom: @margin-base;
  margin-left: @margin-left;
}

.wideViewTheme {
  align-items: center;
  overflow: hidden;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  max-width:90%;
  width:inherit;
  margin-left: auto;
  margin-right: auto;
  padding-left: @padding-base-em;
  padding-right: @padding-base-em;
}

.scrollViewTheme {
  align-items: center;
  overflow: hidden;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  max-width:48em;
  width:inherit;
  margin-left: auto;
  margin-right: auto;
  padding-left: @padding-base-em;
  padding-right: @padding-base-em;
}

.scrollViewTheme h2 {
  padding-left: @padding-left-small-em;
  margin-top:0;
}

.contentViewContainer {
  max-width: 48em;
  margin-right: auto;
  width: 100%;
  margin-top: @margin-base;
  margin-left: @margin-base;
}

.container:focus {
  outline:0;
}

.container:after {
  display: block;
  clear: both;
  content: '';
}

.block-padding {
  padding: @padding-block;
}

.textStateClasses {
  text-align: left;
  width: 100%;
}

.textStateClasses.textInput {
  align-items: center;
  background-color: #fff;
  height: 2.25rem;
  width: 100%;
}

.textStateClasses.text {
  align-items: center;
  border: solid 2px transparent;
  cursor: text;
  height: 2.25rem;
  padding: @padding-text-small @padding-text-large;
  width: 100%;
}

input.textInput {
  align-items: center;
  border: solid 2px transparent;
  cursor: text;
  background-color: #fff;
  height: 2.25rem;
  padding: @padding-text-small @padding-text-large;
  width: 100%;
  border-radius: @border-radius-small;
}

#ddllist1,
#ddllist2 {
  font-size: 1em;
  line-height: @line-height-base;
  height: 2.429em;
  padding: @padding-small-vertical @padding-small-horizontal;
  color: #555;
  border: 1px solid #ddd;
  border-radius: @border-radius-base;
  background: #fff none;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

span.icons {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

span.svg {
  display: inline-block;
  position: relative;
}

.n2, .n2 svg {
  width: 0.694rem;
  height: 0.694rem;
}

.n1, .n1 svg {
  width: 0.833rem;
  height: 0.833rem;
}

.s0, .s0 svg {
  width: 1rem;
  height: 1rem;
}

.s1, .s1 svg {
  width: 1.2rem;
  height: 1.2rem;
}

.s2, .s2 svg {
  width: 1.44rem;
  height: 1.44rem;
}

.s3, .s3 svg {
  width: 1.728rem;
  height: 1.728rem;
}

.s4, .s4 svg {
  width: 2.074rem;
  height: 2.074rem;
}

.s5, .s5 svg {
  width: 2.488rem;
  height: 2.488rem;
}

.s6, .s6 svg {
  width: 2.986rem;
  height: 2.986rem;
}

.s7, .s7 svg {
  width: 3.583rem;
  height: 3.583rem;
}

.s8, .s8 svg {
  width: 4.3rem;
  height: 4.3rem;
}

.s9, .s9 svg {
  width: 5.16rem;
  height: 5.16rem;
}

.s10, .s10 svg {
  width: 6.192rem;
  height: 6.192rem;
}

.abs {
  position: absolute;
}

.dot {
  align-items: center;
  display: inline-block;
  animation-duration: 0.9s;
  animation-iteration-count: infinite;
  animation-timing-function: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation-name: bouncedelay;
  width: 27.8%;
  height: 27.8%;
}

.dot-second {
  animation-delay: 0.15s;
}

.dot-third {
  animation-delay: 0.3s;
}

.loader-text {
  text-align: center;
  color: @brand-primary;
  font-size: 1.1em;
}

.loader-text .dot {
  align-items: left;
  display: inline-block;
  width: 2%;
}

.loader-text span {
  vertical-align: middle;
}

.editable {
  border-radius: 0.375rem;
  transition: all .3s cubic-bezier(0.19, 1, 0.22, 1);
  vertical-align: middle;
}

.editable:hover {
  border: solid 2px;
  border-color: rgb(189, 212, 220);
}

.editable .placeholder {
  color: @brand-muted;
}

.editable.row {
  padding:@padding-text-large;
}

:root {
  --LogoLoader-transition-ease: cubic-bezier(.175, .885, .320, 1.275);
}

#profile-matrix {
  padding-left:@padding-xl;
}

#profile-matrix tbody tr td:not(:first-child),
#profile-matrix tr th:not(:first-child) {
  text-align: center;
}

.LogoLoader {
  position: relative;
  display: inline-block;
  width: calc(1.5rem * 1.625);
  height: calc(1.5rem * 1.625);
  color: #fff;
  border-radius: @border-radius-loader;
}

.LogoLoader--inverted {
  color: #20718A;
}

.LogoLoader-logo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: all 0.25s var(--LogoLoader-transition-ease);
  fill: currentColor;
}

.LogoLoader-svg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: visible;
}

.LogoLoader path {
  transform-origin: 50% 50% 0;
}

.LogoLoader:hover .LogoLoader-z {
  animation: pop 0.3s var(--LogoLoader-transition-ease);
  animation-iteration-count: 2;
  animation-direction: alternate;
}

.LogoLoader-z {
  transform: scale(1, 1);
  transition: all 0.25s var(--LogoLoader-transition-ease);
}

.LogoLoader .LogoLoader-logo {
  transform-origin: 50% 50% 0;
  /*transform: scale(.8, .8);*/
}

.LogoLoader .LogoLoader-circle,
.LogoLoader .LogoLoader-circlePulse {
  transform: scale(1, 1);
}

.LogoLoader.is-loading .LogoLoader-z {
  animation: pulseBegin 1s infinite linear;
}

.LogoLoader.is-loading .LogoLoader-circle {
  animation: pulseBegin 1s infinite linear;
  animation-delay: 0.1s;
}

.LogoLoader.is-loading .LogoLoader-circlePulse {
  animation: pulse 1s infinite linear;
  animation-delay: 0.1s;
}

@keyframes pulseBegin {
  0% {
    transform: scale(1);
  }

  20% {
    transform: scale(.6);
  }

  40% {
    transform: scale(1.2);
  }

  60% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes bouncedelay {
  0%,
  100%,
  90% {
    transform: scale(0, 0);
    opacity: 0.1;
  }

  40% {
    transform: scale(0.05, 0.05);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(.6);
    opacity: 0;
  }

  20% {
    transform: scale(.6);
  }

  40% {
    transform: scale(1.2);
    opacity: 0.5;
  }

  60% {
    transform: scale(1.6);
    opacity: 0.7;
  }

  100% {
    transform: scale(2);
    opacity: 0.0;
  }
}

@keyframes pop {
  to {
    transform: rotate(15deg) scale(1.1, 1.1);
  }
}

article,
aside,
details,
figcaption,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

[hidden],
template {
  display: none;
}

[class*=LineClamp] {
  text-overflow: ellipsis;
}

a {
  text-decoration: none;
  background-color: transparent;
  color: @brand-primary;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

a:link,
a:visited {
  color: @brand-primary;
  text-decoration: none;
}

a:active {
  outline: 0;
  text-decoration: underline;
  filter: brightness(.5);
}

a:focus,
a:hover {
  text-decoration: none;
  color: @brand-secondary;
  filter: brightness(.95);
}

a:focus {
  outline: thin dotted;
  outline: @padding-small-vertical auto @brand-secondary;
  outline-offset: -2px;
}

#nav {
  height:initial;
  a:active {
    outline: 0;
    filter: brightness(1.0);
  }

  a:focus,
  a:hover {
    outline: 0;
    filter: brightness(1.0);
  }
}

abbr[data-original-title],
abbr[title] {
  cursor: help;
  border-bottom: 1px dotted #777;
}

.initialism {
  font-size: 90%;
  text-transform: uppercase;
}

code,
kbd,
pre,
samp {
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  font-size: 1em;
}

code {
  font-size: 90%;
  padding: @padding-code-small @padding-code-large;
  color: #c7254e;
  border-radius: @border-radius-base;
  background-color: #f9f2f4;
}

kbd {
  font-size: 90%;
  padding: @padding-code-small @padding-code-large;
  color: #fff;
  border-radius: @border-radius-small;
  background-color: #333;
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
}

kbd kbd {
  font-size: 100%;
  font-weight: 700;
  padding: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

pre {
  font-size: 0.929em;
  line-height: @line-height-base;
  display: block;
  margin: 0 0 0.714em;
  padding: @padding-small-horizontal;
  word-wrap: break-word;
  word-break: break-all;
  color: @gray-dark;
  border: 1px solid #ccc;
  border-radius: @border-radius-base;
  background-color: @gray-lighter;
  overflow: auto;
}

pre code {
  font-size: inherit;
  padding: 0;
  white-space: pre-wrap;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
}

.pre-scrollable {
  overflow-y: scroll;
  max-height: 24.286em;
}

b,
strong {
  font-weight: 700;
}

dfn {
  font-style: italic;
}

.small,
small {
  font-size: 85%;
}

.mark,
mark {
  color: #000;
  background: #ff0;
}

sub,
sup {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -.5em;
}

sub {
  bottom: -.25em;
}

img {
  border: 0;
  vertical-align: middle;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

hr {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  margin-top: @margin-hr;
  margin-bottom: @margin-hr;
  border: 0;
  border-top: 1px solid #eee;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  line-height: 2.25em;
}

button {
  overflow: visible;
  color: #fff;
  font-weight: 600;
  padding-left: @padding-button;
  padding-right: @padding-button;
  font-size: 1em;
  display: inline-block;
  margin-bottom: 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: @border-radius-small;
  background-image: none;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

button,
select {
  text-transform: none;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  cursor: pointer;
  -webkit-appearance: button;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

input {
  line-height: normal;
}

input[type=checkbox],
input[type=radio] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}

input[type=search] {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-appearance: textfield;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  font-size: 1.85em;
  line-height: inherit;
  display: block;
  width: 100%;
  margin-bottom: @margin-hr;
  padding: 0;
  color: #333;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}

label {
  font-weight: 700;
  display: inline-block;
  max-width: 100%;
  margin-bottom: @margin-label;
}

input[type=search] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

input[type=checkbox],
input[type=radio] {
  line-height: normal;
  margin: 1px \9 0 0;
}

input[type=file] {
  display: block;
}

input[type=range] {
  display: block;
  width: 100%;
}

select[multiple],
select[size] {
  height: auto;
}

input[type=checkbox]:focus,
input[type=file]:focus,
input[type=radio]:focus {
  outline: thin dotted;
  outline: 5px auto @brand-secondary;
  outline-offset: -2px;
}

output {
  font-size: 1em;
  line-height: @line-height-base;
  display: block;
  padding-top: @padding-base-vertical;
  color: #555;
}

fieldset {
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
  border: 1px solid silver;
}

legend {
  padding: 0;
  border: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: 700;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

table td {
  font-size: 1.071em;
}

.tablepadding {
  padding-right: 0;
  padding-left: 0;
}

.tablepadding i.fa.fa-user {
  font-size: 1.571em;
  margin-right: @margin-top;
  color: #ccc;
}

td,
th {
  padding: 0;
}

td small {
  color: #333;
}

td.inline {
  display: inline-table;
  width: 5.714em;
}

td.prog {
  border-top: none !important;
}

td.prog:last-of-type {
  border-bottom: solid 1px #ddd;
}

:after,
:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.carousel-inner > .item > a > img,
.carousel-inner > .item > img,
.img-responsive,
.thumbnail > img,
.thumbnail a > img {
  display: block;
  max-width: 100%;
  height: auto;
}

.img-rounded {
  border-radius: @border-radius-large;
}

.img-thumbnail {
  line-height: @line-height-base;
  display: inline-block;
  max-width: 100%;
  height: auto;
  padding: @border-radius-base;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  border: 1px solid #ddd;
  border-radius: @border-radius-base;
  background-color: #fff;
}

.img-circle {
  border-radius: 50%;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  overflow: visible;
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
}

[role=button] {
  cursor: pointer;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}

h1:not(:first-of-type) {
  padding-top:1rem;
}

.h1 .small,
.h1 small,
.h2 .small,
.h2 small,
.h3 .small,
.h3 small,
.h4 .small,
.h4 small,
.h5 .small,
.h5 small,
.h6 .small,
.h6 small,
h1 .small,
h1 small,
h2 .small,
h2 small,
h3 .small,
h3 small,
h4 .small,
h4 small,
h5 .small,
h5 small,
h6 .small,
h6 small {
  font-weight: 400;
  line-height: 1;
  color: #777;
}

.h1,
.h2,
.h3,
h1,
h2,
h3 {
  margin-top: @margin-heading;
  margin-bottom: @margin-heading;
  color: @brand-secondary;
}

.h1 .small,
.h1 small,
.h2 .small,
.h2 small,
.h3 .small,
.h3 small,
h1 .small,
h1 small,
h2 .small,
h2 small,
h3 .small,
h3 small {
  font-size: 65%;
}

.h4,
.h5,
.h6,
h4,
h5,
h6 {
  margin-top: @margin-left;
  margin-bottom: @margin-left;
}

.h4 .small,
.h4 small,
.h5 .small,
.h5 small,
.h6 .small,
.h6 small,
h4 .small,
h4 small,
h5 .small,
h5 small,
h6 .small,
h6 small {
  font-size: 75%;
}

.h1,
h1 {
  font-size: 2.25em;
}

.h2,
h2 {
  font-size: 1.875em;
}

.h3,
h3 {
  font-size: 1.5em;
}

.h4,
h4 {
  font-size: 1.125em;
  padding-bottom: @padding-base-vertical;
  color: @brand-secondary;
  font-weight: bold;
}

.h5,
h5 {
  font-size: 0.875em;
}

.h6,
h6 {
  font-size: 0.75em;
}

.AutoTags h1:after,
form i,
table i {
  color: @brand-primary;
}

p {
  margin: 0 0 1.5em;
  font-size: 1em;
}

.lead {
  font-size: 1.143em;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: @margin-hr;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.text-nowrap {
  white-space: nowrap;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-capitalize {
  text-transform: capitalize;
}

.text-muted {
  color: #777;
}

.text-primary {
  color: #4995cf;
}

.text-warning {
  color: #ffa800;
}

.text-danger {
  color: @brand-danger;
}

.text-success {
  color: @brand-success;
}

.text-info {
  color: @brand-secondary;
}

.alert {
  padding:@alert-padding;
  margin-bottom: @line-height-computed;
  border: 1px solid transparent;
  border-radius: @alert-border-radius;

// Headings for larger alerts
h4 {
  margin-top: 0;
  // Specified for the h4 to prevent conflicts of changing @headings-color
  color: inherit;
}
// Provide class for links that match alerts
.alert-link {
  font-weight: @alert-link-font-weight;
}

// Improve alignment and spacing of inner content
> p,
> ul {
  margin-bottom: 0;
}
> p + p {
  margin-top: 5px;
}
}

// Dismissable alerts
//
// Expand the right padding and account for the close button's positioning.

.alert-dismissable {
  padding-right: (@alert-padding + 20);

  // Adjust close link position
  .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
  }
}

.alert-danger,
.alert-info,
.alert-success,
.alert-warning {
  color: #fff;
  padding-left: @padding-xs-horizontal;
  opacity:0.8;
}

.alert-info {
  background-color: @brand-secondary;
}

.alert-warning {
  background-color: @brand-warning;
}

.alert-success {
  background-color: @brand-success;
}

.alert-danger {
  background-color: @brand-danger;
}

a.text-primary:focus,
a.text-primary:hover {
  color: @brand-primary;
}

.bg-primary {
  color: #fff;
  background-color: #337ab7;
}

a.bg-primary:focus,
a.bg-primary:hover {
  background-color: @brand-primary;
}

ol,
ul {
  margin-top: 0;
  margin-bottom: @margin-heading;
}

ol ol,
ol ul,
ul ol,
ul ul {
  margin-bottom: 0;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-inline {
  margin-left: -5px;
  padding-left: 0;
  list-style: none;
}

.list-inline > li {
  display: inline-block;
  padding-right: @padding-small-vertical;
  padding-left: @padding-small-vertical;
}

dl {
  margin-top: 0;
  margin-bottom: @margin-hr;
}

dd,
dt {
  line-height: @line-height-base;
}

dt {
  font-weight: 700;
}

dd {
  margin-left: 0;
}

.container {
  margin-right: auto;
  margin-left: auto;
  padding-right: @padding-large-horizontal;
  padding-left: @padding-large-horizontal;
}

.container-fluid {
  margin-right: auto;
  margin-left: auto;
  padding-right: @padding-large-horizontal;
  padding-left: @padding-large-horizontal;
}

.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
  position: relative;
  min-height: 1px;
  padding-right: @padding-large-horizontal;
  padding-left: @padding-large-horizontal;
}

.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
  float: left;
}

.col-xs-12 {
  width: 100%;
}

.col-xs-11 {
  width: 91.66666667%;
}

.col-xs-10 {
  width: 83.33333333%;
}

.col-xs-9 {
  width: 75%;
}

.col-xs-8 {
  width: 66.66666667%;
}

.col-xs-7 {
  width: 58.33333333%;
}

.col-xs-6 {
  width: 50%;
}

.col-xs-5 {
  width: 41.66666667%;
}

.col-xs-4 {
  width: 33.33333333%;
}

.col-xs-3 {
  width: 25%;
}

.col-xs-2 {
  width: 16.66666667%;
}

.col-xs-1 {
  width: 8.33333333%;
}

.col-xs-pull-12 {
  right: 100%;
}

.col-xs-pull-11 {
  right: 91.66666667%;
}

.col-xs-pull-10 {
  right: 83.33333333%;
}

.col-xs-pull-9 {
  right: 75%;
}

.col-xs-pull-8 {
  right: 66.66666667%;
}

.col-xs-pull-7 {
  right: 58.33333333%;
}

.col-xs-pull-6 {
  right: 50%;
}

.col-xs-pull-5 {
  right: 41.66666667%;
}

.col-xs-pull-4 {
  right: 33.33333333%;
}

.col-xs-pull-3 {
  right: 25%;
}

.col-xs-pull-2 {
  right: 16.66666667%;
}

.col-xs-pull-1 {
  right: 8.33333333%;
}

.col-xs-pull-0 {
  right: auto;
}

.col-xs-push-12 {
  left: 100%;
}

.col-xs-push-11 {
  left: 91.66666667%;
}

.col-xs-push-10 {
  left: 83.33333333%;
}

.col-xs-push-9 {
  left: 75%;
}

.col-xs-push-8 {
  left: 66.66666667%;
}

.col-xs-push-7 {
  left: 58.33333333%;
}

.col-xs-push-6 {
  left: 50%;
}

.col-xs-push-5 {
  left: 41.66666667%;
}

.col-xs-push-4 {
  left: 33.33333333%;
}

.col-xs-push-3 {
  left: 25%;
}

.col-xs-push-2 {
  left: 16.66666667%;
}

.col-xs-push-1 {
  left: 8.33333333%;
}

.col-xs-push-0 {
  left: auto;
}

.col-xs-offset-12 {
  margin-left: 100%;
}

.col-xs-offset-11 {
  margin-left: 91.66666667%;
}

.col-xs-offset-10 {
  margin-left: 83.33333333%;
}

.col-xs-offset-9 {
  margin-left: 75%;
}

.col-xs-offset-8 {
  margin-left: 66.66666667%;
}

.col-xs-offset-7 {
  margin-left: 58.33333333%;
}

.col-xs-offset-6 {
  margin-left: 50%;
}

.col-xs-offset-5 {
  margin-left: 41.66666667%;
}

.col-xs-offset-4 {
  margin-left: 33.33333333%;
}

.col-xs-offset-3 {
  margin-left: 25%;
}

.col-xs-offset-2 {
  margin-left: 16.66666667%;
}

.col-xs-offset-1 {
  margin-left: 8.33333333%;
}

.col-xs-offset-0 {
  margin-left: 0;
}

//* move media queries here *//

table {
  background-color: transparent;
}

caption {
  padding-top: @padding-base-vertical;
  padding-bottom: @padding-base-vertical;
  text-align: left;
  color: #777;
}

th {
  text-align: left;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: @margin-hr;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
  line-height: @line-height-base;
  padding: @padding-base-vertical;
  border-top: 1px solid #ddd;
}

.table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #ddd;
}

.table > caption + thead > tr:first-child > td,
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > td,
.table > thead:first-child > tr:first-child > th {
  border-top: 0;
}

.table > tbody + tbody {
  border-top: 2px solid #ddd;
}

tbody tr td:not(:first-child),
thead tr th:not(:first-child) {
  text-align: right;
}

.table .table {
  background-color: #fff;
}

.table-condensed > tbody > tr > td,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > td,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > thead > tr > th {
  padding: @padding-xs-horizontal;
}

.table-bordered {
  border: 1px solid #ddd;
}

.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
  border: 1px solid #ddd;
}

.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
  border-bottom-width: 2px;
  background-color: #fafafa;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: @gray-lighter;
}

.table-hover > tbody > tr:hover {
  background-color: @gray-light;
}

table col[class*=col-] {
  position: static;
  display: table-column;
  float: none;
}

table td[class*=col-],
table th[class*=col-] {
  position: static;
  display: table-cell;
  float: none;
}

.table > tbody > tr > td {
  vertical-align: middle;
}

.table > tbody > tr > td.active,
.table > tbody > tr > th.active,
.table > tbody > tr.active > td,
.table > tbody > tr.active > th,
.table > tfoot > tr > td.active,
.table > tfoot > tr > th.active,
.table > tfoot > tr.active > td,
.table > tfoot > tr.active > th,
.table > thead > tr > td.active,
.table > thead > tr > th.active,
.table > thead > tr.active > td,
.table > thead > tr.active > th {
  background-color: #fcfcfc;
}

.table > tbody > tr > td.success,
.table > tbody > tr > th.success,
.table > tbody > tr.success > td,
.table > tbody > tr.success > th,
.table > tfoot > tr > td.success,
.table > tfoot > tr > th.success,
.table > tfoot > tr.success > td,
.table > tfoot > tr.success > th,
.table > thead > tr > td.success,
.table > thead > tr > th.success,
.table > thead > tr.success > td,
.table > thead > tr.success > th {
  background-color: #dff0d8;
}

.table > tbody > tr > td.info,
.table > tbody > tr > th.info,
.table > tbody > tr.info > td,
.table > tbody > tr.info > th,
.table > tfoot > tr > td.info,
.table > tfoot > tr > th.info,
.table > tfoot > tr.info > td,
.table > tfoot > tr.info > th,
.table > thead > tr > td.info,
.table > thead > tr > th.info,
.table > thead > tr.info > td,
.table > thead > tr.info > th {
  background-color: #d9edf7;
}

.table > tbody > tr > td.warning,
.table > tbody > tr > th.warning,
.table > tbody > tr.warning > td,
.table > tbody > tr.warning > th,
.table > tfoot > tr > td.warning,
.table > tfoot > tr > th.warning,
.table > tfoot > tr.warning > td,
.table > tfoot > tr.warning > th,
.table > thead > tr > td.warning,
.table > thead > tr > th.warning,
.table > thead > tr.warning > td,
.table > thead > tr.warning > th {
  background-color: #fcf8e3;
}

.table > tbody > tr > td.danger,
.table > tbody > tr > th.danger,
.table > tbody > tr.danger > td,
.table > tbody > tr.danger > th,
.table > tfoot > tr > td.danger,
.table > tfoot > tr > th.danger,
.table > tfoot > tr.danger > td,
.table > tfoot > tr.danger > th,
.table > thead > tr > td.danger,
.table > thead > tr > th.danger,
.table > thead > tr.danger > td,
.table > thead > tr.danger > th {
  background-color: #f2dede;
}

.table-responsive {
  overflow-x: auto;
  min-height: 0.01%;
}

.form-control {
  font-size: 1em;
  line-height: @line-height-base;
  display: block;
  width: 100%;
  height: 2em;
  padding: @padding-small-vertical @padding-base-horizontal;
  -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  color: #555;
  border: 1px solid #ccc;
  border-radius: @border-radius-base;
  background: #fff none;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.form-control::-moz-placeholder {
  opacity: 1;
  color: #999;
}

.form-control:-ms-input-placeholder {
  color: #999;
}

.form-control::-webkit-input-placeholder {
  color: #999;
}

.form-control::-ms-expand {
  border: 0;
  background-color: transparent;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  opacity: 1;
  background-color: #eee;
}

.form-control[disabled],
fieldset[disabled] .form-control {
  cursor: not-allowed;
}

textarea.form-control {
  height: auto;
}

input[type=search] {
  -webkit-appearance: none;
}

.form-group {
  margin-bottom: @padding-large-horizontal;
}

.form-group .bg-info,
p.bg-info {
  margin-bottom: @margin-heading;
  padding: @padding-small-horizontal;
  color: #20718a;
}

p.bg-warning {
  font-style: italic;
  padding: @padding-small-horizontal;
}

.bg-info label {
  font-weight: 500;
}

span.infotxt {
  font-size: 0.9em;
  font-weight: 400;
  margin-right: @margin-xl;
  margin-left: @margin-heading;
  color: #629bac;
}

p span.infotxt {
  margin-left: 0;
}

.checkbox,
.radio {
  position: relative;
  display: block;
  margin-top: @margin-checkbox-radio;
  margin-bottom: @margin-checkbox-radio;
}

.checkbox label,
.radio label {
  font-weight: 400;
  min-height: 1.85em;
  margin-bottom: 0;
  padding-left: @padding-text-small;
  cursor: pointer;
}

.checkbox input[type=checkbox],
.checkbox-inline input[type=checkbox],
.radio input[type=radio],
.radio-inline input[type=radio] {
  position: absolute;
  margin-top: @padding-text-large !important;
  margin-left: -@padding-text-small !important;
}

.highlight-th {
  background-color: @gray-lighter;
}

.checkbox + .checkbox,
.radio + .radio {
  margin-top: -@padding-text-large;
}

.checkbox-inline,
.radio-inline {
  font-weight: 400;
  position: relative;
  display: inline-block;
  margin-bottom: 0;
  padding-left: @padding-text-small;
  cursor: pointer;
  vertical-align: sub;
}

.checkbox-inline + .checkbox-inline,
.radio-inline + .radio-inline {
  margin-top: 0;
  margin-left: @margin-checkbox-radio;
}

fieldset[disabled] input[type=checkbox],
fieldset[disabled] input[type=radio],
input[type=checkbox].disabled,
input[type=checkbox][disabled],
input[type=radio].disabled,
input[type=radio][disabled] {
  cursor: not-allowed;
}

.checkbox-inline.disabled,
.radio-inline.disabled,
fieldset[disabled] .checkbox-inline,
fieldset[disabled] .radio-inline {
  cursor: not-allowed;
}

.checkbox.disabled label,
.radio.disabled label,
fieldset[disabled] .checkbox label,
fieldset[disabled] .radio label {
  cursor: not-allowed;
}

.form-control-static {
  min-height: 3em;
  margin-bottom: 0;
  padding-top: @padding-base-vertical;
  padding-bottom: @padding-base-vertical;
}

.form-control-static.input-lg,
.form-control-static.input-sm {
  padding-right: 0;
  padding-left: 0;
}

.input-sm {
  font-size: 0.857em;
  line-height: @line-height-small;
  height: 2.143em;
  padding: @padding-small-vertical @padding-small-horizontal;
  border-radius: @border-radius-small;
}

select.input-sm {
  line-height: 2.143em;
  height: 2.143em;
}

select[multiple].input-sm,
textarea.input-sm {
  height: auto;
}

.form-group-sm .form-control {
  font-size: 0.857em;
  line-height: @line-height-small;
  height: 2.143em;
  padding: @padding-small-vertical @padding-small-horizontal;
  border-radius: @border-radius-small;
}

.form-group-sm select.form-control {
  line-height: 2.143em;
  height: 2.143em;
}

.form-group-sm select[multiple].form-control,
.form-group-sm textarea.form-control {
  height: auto;
}

.form-group-sm .form-control-static {
  font-size: 0.875em;
  line-height: @line-height-small;
  height: 2.143em;
  min-height: 2.286em;
  padding: @padding-small-vertical @padding-small-horizontal;
}

.form-group-lg .form-control,
.input-lg {
  font-size: 1.286em;
  line-height: 1.3333333;
  height: 3.286em;
  padding: @padding-small-horizontal @padding-large-horizontal;
  border-radius: @border-radius-large;
}

.form-group-lg select.form-control,
select.input-lg {
  line-height: 3.286em;
  height: 3.286em;
}

select[multiple].input-lg,
textarea.input-lg {
  height: auto;
}

.form-group-lg select[multiple].form-control,
.form-group-lg textarea.form-control {
  height: auto;
}

.form-group-lg .form-control-static {
  font-size: 1.286em;
  line-height: 1.3333333;
  height: 3.286em;
  min-height: 2.714em;
  padding: @padding-small-horizontal @padding-large-horizontal;
}

.has-feedback {
  position: relative;
}

.has-feedback .form-control {
  padding-right: 3.036em;
}

.form-control-feedback {
  line-height: 2.429em;
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: block;
  width: 2.429em;
  height: 2.429em;
  text-align: center;
  pointer-events: none;
}

.form-group-lg .form-control + .form-control-feedback,
.input-group-lg + .form-control-feedback,
.input-lg + .form-control-feedback {
  line-height: 3.286em;
  width: 3.286em;
  height: 3.286em;
}

.form-group-sm .form-control + .form-control-feedback,
.input-group-sm + .form-control-feedback,
.input-sm + .form-control-feedback {
  line-height: 2.143em;
  width: 2.143em;
  height: 2.143em;
}

.form-horizontal .checkbox,
.form-horizontal .checkbox-inline,
.form-horizontal .radio,
.form-horizontal .radio-inline {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: @padding-base-vertical;
}

.form-horizontal .checkbox,
.form-horizontal .radio {
  min-height: 1.929em;
}

.form-horizontal .has-feedback .form-control-feedback {
  right: 1.071em;
}

.btn-code {
  margin-top:@margin-base;
  margin-left:0;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
  outline: thin dotted;
  outline: @padding-xs-horizontal auto @brand-secondary;
  outline-offset: -2px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 6px 10px 0 rgba(0, 0, 0, 0.15);
  opacity: 0.85;
}

.btn.focus,
.btn:focus,
.btn:hover {
  text-decoration: none;
  color: #333;
  //box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 6px 10px 0 rgba(0, 0, 0, 0.15);
  opacity: 0.85;
}

.btn.active,
.btn:active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.185);
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  opacity: 0.65;
  -webkit-box-shadow: none;
  box-shadow: none;
  filter: alpha(opacity=65);
}

a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
  box-shadow: none;
}

a.btn-primary {
  color: #fff !important;
}

.btn-primary i {
  color: #fff;
}

.btn-default {
  color: @brand-primary;
  border-color: #ccc;
  background-color: #fff;
}

.btn-default.focus,
.btn-default:focus {
  color: #333;
  border-color: #8c8c8c;
  background-color: #e6e6e6;
}

.btn-default:hover {
  color: #333;
  border-color: #adadad;
  background-color: #e6e6e6;
}

.btn-default.active,
.btn-default:active,
.open > .dropdown-toggle.btn-default {
  color: #333;
  border-color: #adadad;
  background-color: #e6e6e6;
}

.btn-default.active.focus,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default:active.focus,
.btn-default:active:focus,
.btn-default:active:hover,
.open > .dropdown-toggle.btn-default.focus,
.open > .dropdown-toggle.btn-default:focus,
.open > .dropdown-toggle.btn-default:hover {
  color: #333;
  border-color: #8c8c8c;
  background-color: #d4d4d4;
}

.btn-default.active,
.btn-default:active,
.open > .dropdown-toggle.btn-default {
  background-image: none;
}

.btn-default.disabled.focus,
.btn-default.disabled:focus,
.btn-default.disabled:hover,
.btn-default[disabled].focus,
.btn-default[disabled]:focus,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default.focus,
fieldset[disabled] .btn-default:focus,
fieldset[disabled] .btn-default:hover {
  border-color: #ccc;
  background-color: #fff;
}

.btn-default:hover,
.nav > li > a:focus,
.nav > li > a:hover,
.pager li > a:focus,
.pager li > a:hover,
.pagination > li > a:hover,
a.list-group-item:focus,
a.list-group-item:hover,
button.list-group-item:focus,
button.list-group-item:hover {
  background-color: @gray-lighter;
}

.btn-default .badge {
  color: #fff;
  background-color: #333;
}

span.greentext.badge {
  color: #fff;
  background-color: @brand-success;
}

span.dis.badge {
  color: #fff;
  background-color: #aaa;
}

span.caret {
  margin-right: @margin-heading;
  color: #546675;
}

.btn-primary .plusicon {
  margin-right:@margin-btn-icon-right;
  margin-left:@margin-btn-icon-left;
}

span.langcode {
  font-size: 0.9em;
  color: #aaa;
}

#btn-language-add-new {
  margin-left:@margin-btn-left;
}

.btn-primary {
  color: #fff;
  border-color: #ccc;
  background-color: @brand-primary;
}

.btn-primary .fa,
.btn-primary:focus .fa {
  color: #fff;
}

.btn-primary.focus,
.btn-primary:focus {
  color: #fff;
  border-color: #122b40;
  background-color: @brand-primary;
}

.button-group {
  margin: 10px 0;
}

.button-group .btn {
  margin-right: @margin-heading;
  margin-bottom: @margin-heading;
}

.dropdown {
  position: relative;
}
.dropdown-toggle:focus {
  outline: 0;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: @padding-small-vertical 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: @border-radius-base;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}
.dropdown-menu.pull-right {
  right: 0;
  left: auto;
}
.dropdown-menu .divider {
  height: 1px;
  margin: @margin-dropdown-divider 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
.dropdown-menu > li > a {
  display: block;
  padding: @border-radius-large @padding-xl;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  text-decoration: none;
  color: #ffffff;
  background-color: #bbbbbb;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  background-color: #bbbbbb;
}
.dropdown-menu > .disabled > a,
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
  color: #808080;
}
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  cursor: not-allowed;
}

.dropdown-menu > li > a {
  color: @brand-primary;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
  color: @brand-secondary;
}

.open > .dropdown-toggle.btn-primary.focus,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover {
  color: #fff;
  border-color: #ccc;
  background-color: @brand-primary;
}

// Dropdown menus
// --------------------------------------------------

// Dropdown arrow/caret
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top:   @caret-width-base solid;
  border-right: @caret-width-base solid transparent;
  border-left:  @caret-width-base solid transparent;
}

// The dropdown wrapper (div)
.dropdown {
  position: relative;
}

// Prevent the focus on the dropdown toggle when closing dropdowns
.dropdown-toggle:focus {
  outline: 0;
}

// The dropdown menu (ul)
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: @zindex-dropdown;
  display: none; // none by default, but block on "open" of the menu
  float: left;
  min-width: 160px;
  padding: @padding-xs-horizontal 0;
  margin: 2px 0 0; // override default ul
  list-style: none;
  font-size: @font-size-base;
  background-color: @dropdown-bg;
  border: 1px solid @dropdown-fallback-border; // IE8 fallback
  border: 1px solid @dropdown-border;
  border-radius: @border-radius-base;
  box-shadow:0 6px 12px rgba(0,0,0,.175);
  background-clip: padding-box;

  // Aligns the dropdown menu to right
  //
  // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`
  &.pull-right {
    right: 0;
    left: auto;
  }

  // Dividers (basically an hr) within the dropdown
  .divider {
    border-bottom:solid 1px @dropdown-divider-bg;
  }

  // Links within the dropdown menu
  > li > a {
    display: block;
    padding: @border-radius-small @padding-xl;
    clear: both;
    font-weight: normal;
    line-height: @line-height-base;
    color: @dropdown-link-color;
    white-space: nowrap; // prevent links from randomly breaking onto new lines
  }
}

// Hover/Focus state
.dropdown-menu > li > a {
  &:hover,
  &:focus {
    text-decoration: none;
    color: @dropdown-link-hover-color;
    background-color: @dropdown-link-hover-bg;
  }
}

// Active state
.dropdown-menu > .active > a {
  &,
  &:hover,
  &:focus {
    color: @dropdown-link-active-color;
    text-decoration: none;
    outline: 0;
    background-color: @dropdown-link-active-bg;
  }
}

// Disabled state
//
// Gray out text and ensure the hover/focus state remains gray

.dropdown-menu > .disabled > a {
  &,
  &:hover,
  &:focus {
    color: @dropdown-link-disabled-color;
  }
}
// Nuke hover/focus effects
.dropdown-menu > .disabled > a {
  &:hover,
  &:focus {
    text-decoration: none;
    background-color: transparent;
    background-image: none; // Remove CSS gradient
    .reset-filter {
      cursor: not-allowed;
    }
  }
}

// Open state for the dropdown
.open {
  // Show the menu
  > .dropdown-menu {
    display: block;
  }

  // Remove the outline when :focus is triggered
  > a {
    outline: 0;
  }
}

// Menu positioning
//
// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
// menu with the parent.
.dropdown-menu-right {
  left: auto; // Reset the default from `.dropdown-menu`
  right: 0;
}
// With v3, we enabled auto-flipping if you have a dropdown within a right
// aligned nav component. To enable the undoing of that, we provide an override
// to restore the default dropdown menu alignment.
//
// This is only for left-aligning a dropdown menu within a `.navbar-right` or
// `.pull-right` nav component.
.dropdown-menu-left {
  left: 0;
  right: auto;
}

// Dropdown section headers
.dropdown-header {
  display: block;
  padding: @border-radius-small @padding-xl;
  font-size: @font-size-small;
  line-height: @line-height-base;
  color: @dropdown-header-color;
}

// Backdrop to catch body clicks on mobile, etc.
.dropdown-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: (@zindex-dropdown - 10);
}

// Right aligned dropdowns
.pull-right > .dropdown-menu {
  right: 0;
  left: auto;
}

// Allow for dropdowns to go bottom up (aka, dropup-menu)
//
// Just add .dropup after the standard .dropdown class and you're set, bro.
// TODO: abstract this so that the navbar fixed styles are not placed here?

.dropup,
.navbar-fixed-bottom .dropdown {
  // Reverse the caret
  .caret {
    border-top: 0;
    border-bottom: @caret-width-base solid;
    content: "";
  }
  // Different positioning for bottom up menu
  .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 1px;
  }
}

.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover {
  border-color: #ccc;
  background-color: @brand-secondary;
  color: #fff;
}

.btn-primary.active,
.btn-primary:active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  border-color: #204d74;
  background-color: @brand-primary;
}

.btn-primary.active,
.btn-primary:active,
.open > .dropdown-toggle.btn-primary {
  background-image: none;
}

.btn-primary.active:hover {
  border-color: #ccc;
  background-color: @brand-primary;
}

.btn-primary.disabled.focus,
.btn-primary.disabled:focus,
.btn-primary.disabled:hover,
.btn-primary[disabled].focus,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary.focus,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary:hover {
  border-color: #2e6da4;
  color: #fff;
  background-color: #337ab7;
}

.btn-primary .badge {
  color: #337ab7;
  background-color: #fff;
}

.btn-link {
  font-weight: 400;
  color: #337ab7;
  border-radius: 0;
}

.btn-link,
.btn-link.active,
.btn-link:active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn-link,
.btn-link:active,
.btn-link:focus,
.btn-link:hover {
  border-color: transparent;
  box-shadow: none;
}

.btn-link:focus,
.btn-link:hover {
  text-decoration: underline;
  color: #23527c;
  background-color: transparent;
  box-shadow: none;
}

.btn-link[disabled]:focus,
.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:focus,
fieldset[disabled] .btn-link:hover {
  text-decoration: none;
  color: #777;
}

.btn-group-lg > .btn,
.btn-lg {
  font-size: 1.286em;
  line-height: @line-height-large;
  padding: @padding-small-horizontal @padding-large-horizontal;
  border-radius: @border-radius-large;
}

.btn-group-sm > .btn,
.btn-sm {
  font-size: 0.857em;
  line-height: @line-height-small;
  padding: @padding-small-vertical @padding-small-horizontal;
  border-radius: @border-radius-small;
}

.btn-group-xs > .btn,
.btn-xs {
  font-size: 0.857em;
  line-height: @line-height-small;
  padding: @padding-xs-vertical @padding-xs-horizontal;
  border-radius: @border-radius-small;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-block + .btn-block {
  margin-top: @margin-btn-block-top;
}

.btn-default.focus,
.btn-default.focus i,
.btn-default:focus,
.btn-default:focus i,
.btn-default:hover,
.btn-default:hover i {
  color: #000;
}

.btn-primary.focus,
.btn-primary.focus i,
.btn-primary:focus,
.btn-primary:focus i,
.btn-primary:hover,
.btn-primary:hover i {
  color: #fff;
}

.nav-pills > li.active > a:focus,
.nav-pills > li.active > a:hover {
  background-color: @brand-primary;
}

.nav-pills > li.active > a {
  background-color: @brand-secondary;
}

.btn-success:active,
.btn-success:hover {
  border-color: #50a360;
  background-color: #50a360;
  color:#fff;
}

.btn-success {
  border-color: #50a360;
  background-color: @brand-success;
}

.btn-info:active,
.btn-info:hover {
  border-color: #4995cf;
  background-color: #4995cf;
  color:#fff;
}

.btn-info {
  border-color: #4995cf;
  background-color: @brand-info;
}

.btn-danger:active,
.btn-danger:hover {
  border-color: #cf3031;
  background-color: #cf3031;
  color:#fff;
}

.btn-danger {
  border-color: #cf3031;
  background-color: @brand-danger;
}

.btn-warning:active,
.btn-warning:hover {
  border-color: #cf8800;
  background-color: #cf8800;
  color:#fff;
}

.btn-warning {
  border-color: #cf8800;
  background-color: #ffa800;
}

button.btn.btn-danger.dropdown-toggle > span.caret,
button.btn.btn-info.dropdown-toggle > span.caret,
button.btn.btn-primary.dropdown-toggle > span.caret,
button.btn.btn-success.dropdown-toggle > span.caret,
button.btn.btn-warning.dropdown-toggle > span.caret {
  color: #fff;
}

.has-success .control-label, .checkbox.has-success, .radio.has-success {
  color: @brand-success;
}

.has-success .form-control {
  border-color: @brand-success;
}

.has-success .form-control-feedback {
  color: @brand-success;
}

.has-warning .control-label, .checkbox.has-warning, .radio.has-warning {
  color: @brand-warning;
}

.has-warning .form-control {
  border-color: @brand-warning;
}

.has-warning .form-control-feedback {
  color: @brand-warning;
}

.has-error .control-label, .checkbox.has-error, .radio.has-error {
  color: @brand-danger;
}

.has-error .form-control {
  border-color: @brand-danger;
}

.has-error .form-control-feedback {
  color: @brand-danger;
}

.label-success {
  background-color: @label-success-bg;
}

.label-info {
  background-color: @label-info-bg;
}

.label-warning {
  background-color: @label-warning-bg;
}

.label-danger {
  background-color: @label-danger-bg;
}

//
// Progress bars
// --------------------------------------------------

// Bar animations
// -------------------------

// WebKit
@-webkit-keyframes progress-bar-stripes {
  from  { background-position: 40px 0; }
  to    { background-position: 0 0; }
}

// Spec and IE10+
@keyframes progress-bar-stripes {
  from  { background-position: 40px 0; }
  to    { background-position: 0 0; }
}

// Bar itself
// -------------------------

// Outer container
.progress {
  overflow: hidden;
  height: @line-height-computed;
  margin-bottom: @line-height-computed;
  background-color: @progress-bg;
  border-radius: @border-radius-base;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.1);
}

// Bar of progress
.progress-bar {
  float: left;
  width: 0%;
  height: 100%;
  font-size: @font-size-small;
  line-height: @line-height-computed;
  color: @progress-bar-color;
  text-align: center;
  background-color: @progress-bar-bg;
  box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);
  transition:width .6s ease;
}

// Striped bars
.progress-striped .progress-bar {
  #gradient > .striped {
    background-size: 40px 40px;
  }
}

// Call animation for the active one
.progress.active .progress-bar {
  animation:progress-bar-stripes 2s linear infinite;
}

// Variations
// -------------------------

.progress-bar-success {
  background-color:@progress-bar-success-bg;
}

.progress-bar-info {
  background-color:@progress-bar-info-bg;
}

.progress-bar-warning {
  background-color:@progress-bar-unsure-bg;
}

.progress-bar-danger {
  background-color:@progress-bar-warning-bg;
}

input[type=button].btn-block,
input[type=reset].btn-block,
input[type=submit].btn-block {
  width: 100%;
}

.fade {
  -webkit-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
  opacity: 0;
}

.fade.in {
  opacity: 1;
}

.collapse {
  display: none;
}

.collapse.in {
  display: block;
}

tr.collapse.in {
  display: table-row;
}

tbody.collapse {
  display: table-row-group;
}

.row {
  display: inline-table;
}

.collapsing {
  position: relative;
  overflow: hidden;
  height: 0;
  -webkit-transition-timing-function: ease;
  -o-transition-timing-function: ease;
  transition-timing-function: ease;
  -webkit-transition-duration: 0.35s;
  -o-transition-duration: 0.35s;
  transition-duration: 0.35s;
  -webkit-transition-property: height, visibility;
  -o-transition-property: height, visibility;
  transition-property: height, visibility;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.btn-group,
.btn-group-vertical {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.btn-group > .btn,
.btn-group-vertical > .btn {
  position: relative;
  float: left;
}

.btn-group > .btn.active,
.btn-group > .btn:active,
.btn-group > .btn:focus,
.btn-group > .btn:hover,
.btn-group-vertical > .btn.active,
.btn-group-vertical > .btn:active,
.btn-group-vertical > .btn:focus,
.btn-group-vertical > .btn:hover {
  z-index: 2;
}

.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
  margin-left: -1px;
}

.btn-toolbar {
  margin-left: -5px;
}

.btn-toolbar .btn,
.btn-toolbar .btn-group,
.btn-toolbar .input-group {
  float: left;
}

.btn-toolbar > .btn,
.btn-toolbar > .btn-group,
.btn-toolbar > .input-group {
  margin-left: @margin-btn-toolbar-left;
}

.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
  border-radius: 0;
}

.btn-group > .btn:first-child {
  margin-left: 0;
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-group > .btn-group {
  float: left;
}

.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
  border-radius: 0;
}

.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
  outline: 0;
}

.btn-group > .btn + .dropdown-toggle {
  padding-right: @padding-base-vertical;
  padding-left: @padding-base-vertical;
}

.btn-group > .btn-lg + .dropdown-toggle {
  padding-right: @padding-base-horizontal;
  padding-left: @padding-base-horizontal;
}

.btn-group.open .dropdown-toggle {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.btn-group.open .dropdown-toggle.btn-link {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn .caret {
  margin-left: 0;
}

.btn-lg .caret {
  border-width: 5px 5px 0;
  border-bottom-width: 0;
}

[data-toggle=buttons] > .btn input[type=checkbox],
[data-toggle=buttons] > .btn input[type=radio],
[data-toggle=buttons] > .btn-group > .btn input[type=checkbox],
[data-toggle=buttons] > .btn-group > .btn input[type=radio] {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.input-group {
  position: relative;
  display: table;
  border-collapse: separate;
}

.input-group[class*=col-] {
  float: none;
  padding-right: 0;
  padding-left: 0;
}

.input-group .form-control {
  position: relative;
  z-index: 2;
  float: left;
  width: 100%;
  margin-bottom: 0;
}

.input-group .form-control:focus {
  z-index: 3;
}

.input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
  font-size: 1.286em;
  line-height: @line-height-large;
  border-radius: @border-radius-large;
}

select.input-group-lg > .form-control,
select.input-group-lg > .input-group-addon,
select.input-group-lg > .input-group-btn > .btn {
  line-height: 3.286em;
  height: 3.286em;
}

select[multiple].input-group-lg > .form-control,
select[multiple].input-group-lg > .input-group-addon,
select[multiple].input-group-lg > .input-group-btn > .btn,
textarea.input-group-lg > .form-control,
textarea.input-group-lg > .input-group-addon,
textarea.input-group-lg > .input-group-btn > .btn {
  height: auto;
}

.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
  font-size: 0.857em;
  line-height: 1.5;
  height: 2.143em;
  padding: @padding-xs-horizontal @padding-small-horizontal;
  border-radius: @border-radius-small;
}

select.input-group-sm > .form-control,
select.input-group-sm > .input-group-addon,
select.input-group-sm > .input-group-btn > .btn {
  line-height: 2.143em;
  height: 2.143em;
}

select[multiple].input-group-sm > .form-control,
select[multiple].input-group-sm > .input-group-addon,
select[multiple].input-group-sm > .input-group-btn > .btn,
textarea.input-group-sm > .form-control,
textarea.input-group-sm > .input-group-addon,
textarea.input-group-sm > .input-group-btn > .btn {
  height: auto;
}

.input-group .form-control,
.input-group-addon,
.input-group-btn {
  display: table-cell;
}

.input-group .form-control:not(:first-child):not(:last-child),
.input-group-addon:not(:first-child):not(:last-child),
.input-group-btn:not(:first-child):not(:last-child) {
  border-radius: 0;
}

.input-group-addon,
.input-group-btn {
  width: 1%;
  vertical-align: middle;
  white-space: nowrap;
}

.input-group-addon {
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
  padding: @padding-xs-horizontal @padding-base-horizontal;
  text-align: center;
  color: @brand-primary;
  border: 1px solid #ccc;
  border-radius: @border-radius-base;
  background-color: @gray-lighter;
}

.input-group-addon.input-sm {
  font-size: 0.857em;
  padding: @padding-small-vertical @padding-small-horizontal;
  border-radius: @border-radius-small;
}

.input-group-addon.input-lg {
  font-size: 1.286em;
  padding: @padding-small-horizontal @padding-large-horizontal;
  border-radius: @border-radius-large;
}

.input-group-addon input[type=checkbox],
.input-group-addon input[type=radio] {
  margin-top: 0;
}

.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group-addon:first-child {
  border-right: 0;
}

.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn,
.input-group-btn:first-child > .btn:not(:first-child),
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group > .btn,
.input-group-btn:last-child > .dropdown-toggle {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group-addon:last-child {
  border-left: 0;
}

.input-group-btn {
  font-size: 0;
  position: relative;
  white-space: nowrap;
}

.input-group-btn > .btn {
  position: relative;
}

.input-group-btn > .btn + .btn {
  margin-left: -1px;
}

.input-group-btn > .btn:active,
.input-group-btn > .btn:focus,
.input-group-btn > .btn:hover {
  z-index: 2;
}

.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group {
  margin-right: -1px;
}

.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group {
  z-index: 2;
  margin-left: -1px;
}
//
// Breadcrumbs
// --------------------------------------------------

.breadcrumb {
  padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal;
  margin-bottom: @line-height-computed;
  list-style: none;
  background-color: @breadcrumb-bg;
  border-radius: @border-radius-base;

  > li {
    display: inline-block;

    + li:before {
      content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
      padding: 0 @caret-width-large;
      color: @breadcrumb-color;
    }
  }

  > .active {
    color: @breadcrumb-active-color;
  }
}

.pagination,
.search-box,
.show-items {
  padding: 0;
  height:2em;
}

.show-items {
  display:inline-flex;
}

.show-items .form-control {
  margin-left:@margin-btn-icon-left;
}

.show-items span {
  margin-top:@padding-small-vertical;
  margin-left:@padding-small-horizontal;
}

.usericon {
  fill:#03A6D7;
  margin-right:@margin-btn-icon-right;
  vertical-align: sub;
}

.show-grid {
  border:solid 1px #ccc;
}

.sg-animated {
  -webkit-transition: all 0.6s ease-out;
  -moz-transition: all 0.6s ease-out;
  -ms-transition: all 0.6s ease-out;
  -o-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
}

.sg-color {
  background: #fff;
  border: 1px solid #b3b3b3;
  display: inline-block;
  height: 80px;
  margin: 0 @margin-small @margin-small 0;
  padding: @padding-xs-horizontal;
  position: relative;
  width: 100px;
}
.sg-color-swatch {
  display: block;
  height: 100%;
  width: 100%;
}
.sg-color-swatch span {
  background: #000;
  background: rgba(0, 0, 0, 0.7);
  bottom: 5px;
  color: #fff;
  font-size: .8em;
  margin: 0;
  opacity: 0;
  padding: @padding-xs-horizontal 0;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  width: 88px;
}

.sg-color-swatch:hover span {
  opacity: 1;
}
/* -------------------------------------------------------------------------
 Colors
---------------------------------------------------------------------------- */
.sg-brand-primary .sg-color-swatch {
  background: #03A6D7;
}
.sg-gray-lighter .sg-color-swatch {
  background: #546677;
}
.sg-gray-light .sg-color-swatch {
  background: #629BAC;
}
.sg-gray .sg-color-swatch {
  background: @gray-lighter;
}
.sg-gray-dark .sg-color-swatch {
  background: @gray-light;
}
.sg-gray-darker .sg-color-swatch {
  background: @gray;
}

.sg-gray-darkest .sg-color-swatch {
  background: @gray-darker;
}

.sg-brand-success .sg-color-swatch {
  background: #62C876;
}
.sg-brand-info .sg-color-swatch {
  background: #4E9FDD;
}
.sg-brand-unsure .sg-color-swatch {
  background: #E9DD00;
}
.sg-brand-warning .sg-color-swatch {
  background: #FFA800;
}
.sg-brand-danger .sg-color-swatch {
  background: #FF3B3D;
}

.sg-nav-pills {
  max-width:220px;
}
.search-box input.form-control {
}

//
// Navs
// --------------------------------------------------

// Base class
// --------------------------------------------------

.nav {
  margin-bottom: 0;
  padding-left: 0; // Override default ul/ol
  list-style: none;
  &:extend(.clearfix all);

  > li {
    position: relative;
    display: block;

    > a {
      position: relative;
      display: block;
      padding: @nav-link-padding;
      &:hover,
      &:focus {
        text-decoration: none;
        background-color: @nav-link-hover-bg;
      }
    }

    // Disabled state sets text to gray and nukes hover/tab effects
    &.disabled > a {
      color: @nav-disabled-link-color;

      &:hover,
      &:focus {
        color: @nav-disabled-link-hover-color;
        text-decoration: none;
        background-color: transparent;
        cursor: not-allowed;
      }
    }
  }

  // Open dropdowns
  .open > a {
    &,
    &:hover,
    &:focus {
      background-color: @nav-link-hover-bg;
      border-color: @link-color;
    }
  }

  // Prevent IE8 from misplacing imgs
  //
  // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
  > li > a > img {
    max-width: none;
  }
}

// Tabs
// -------------------------

// Give the tabs something to sit on
.nav-tabs {
  border-bottom: 1px solid @nav-tabs-border-color;
  > li {
    float: left;
    // Make the list-items overlay the bottom border
    margin-bottom: -1px;

    // Actual tabs (as links)
    > a {
      margin-right: 2px;
      line-height: @line-height-base;
      border: 1px solid transparent;
      border-radius: @border-radius-base @border-radius-base 0 0;
      &:hover {
        border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;
      }
    }

    // Active state, and its :hover to override normal :hover
    &.active > a {
      &,
      &:hover,
      &:focus {
        color: @nav-tabs-active-link-hover-color;
        background-color: @nav-tabs-active-link-hover-bg;
        border: 1px solid @nav-tabs-active-link-hover-border-color;
        border-bottom-color: transparent;
        cursor: default;
      }
    }
  }
  // pulling this in mainly for less shorthand
  &.nav-justified {
    .nav-justified();
    .nav-tabs-justified();
  }
}

// Pills
// -------------------------
.nav-pills {
  > li {
    float: left;

    // Links rendered as pills
    > a {
      border-radius: @nav-pills-border-radius;
    }
    + li {
      margin-left: 2px;
    }

    // Active state
    &.active > a {
      &,
      &:hover,
      &:focus {
        color: @nav-pills-active-link-hover-color;
        background-color: @nav-pills-active-link-hover-bg;
      }
    }
  }
}

// Stacked pills
.nav-stacked {
  > li {
    float: none;
    + li {
      margin-top: 2px;
      margin-left: 0; // no need for this gap between nav items
    }
  }
}

// Nav variations
// --------------------------------------------------

// Justified nav links
// -------------------------

.nav-justified {
  width: 100%;

  > li {
    float: none;
    > a {
      text-align: center;
      margin-bottom: @margin-small;
    }
  }

  > .dropdown .dropdown-menu {
    top: auto;
    left: auto;
  }

  @media (min-width: @screen-sm-min) {
    > li {
      display: table-cell;
      width: 1%;
      > a {
        margin-bottom: 0;
      }
    }
  }
}

// Move borders to anchors instead of bottom of list
//
// Mixin for adding on top the shared `.nav-justified` styles for our tabs
.nav-tabs-justified {
  border-bottom: 0;

  > li > a {
    // Override margin from .nav-tabs
    margin-right: 0;
    border-radius: @border-radius-base;
  }

  > .active > a,
  > .active > a:hover,
  > .active > a:focus {
    border: 1px solid @nav-tabs-justified-link-border-color;
  }

  @media (min-width: @screen-sm-min) {
    > li > a {
      border-bottom: 1px solid @nav-tabs-justified-link-border-color;
      border-radius: @border-radius-base @border-radius-base 0 0;
    }
    > .active > a,
    > .active > a:hover,
    > .active > a:focus {
      border-bottom-color: @nav-tabs-justified-active-link-border-color;
    }
  }
}

#activity-table td .btn-primary {
  border:0;
}

#activity-table td .btn-primary:focus {
  background-color: @brand-secondary;
}

// Tabbable tabs
// -------------------------

// Hide tabbable panes to start, show them when `.active`
.tab-content {
  > .tab-pane {
    display: none;
  }
  > .active {
    display: block;
  }
}

// Dropdowns
// -------------------------

// Specific dropdowns
.nav-tabs .dropdown-menu {
  // make dropdown border overlap tab border
  margin-top: -1px;
  // Remove the top rounded corners here since there is a hard edge above the menu
}

ul.nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
  background-color: #546677;
}

ul.nav-pills > li.active > a {
  background-color: #03a6d7;
}

.pagination {
  display: inline-block;
  margin: 0;
  padding-left: 0;
  border-radius: @border-radius-base;
  clear:none;
}

.pagination > li {
  display: inline;
}

.pagination > li > a,
.pagination > li > span {
  line-height: @line-height-base;
  position: relative;
  float: left;
  margin-left: -1px;
  padding: @padding-small-vertical @padding-small-horizontal;
  text-decoration: none;
  border: 1px solid #ddd;
  background-color: #fff;
  color: @brand-primary;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: @border-radius-base;
  border-bottom-left-radius: @border-radius-base;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: @border-radius-base;
  border-bottom-right-radius: @border-radius-base;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
  z-index: 2;
  color: #23527c;
  border-color: #ddd;
  background-color: @gray-lighter;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  z-index: 3;
  cursor: default;
  color: #fff;
  border-color: #ddd;
  background-color: @brand-primary;
}

.pagination > .disabled > a,
.pagination > .disabled > a:focus,
.pagination > .disabled > a:hover,
.pagination > .disabled > span,
.pagination > .disabled > span:focus,
.pagination > .disabled > span:hover {
  cursor: not-allowed;
  color: #777;
  border-color: #ddd;
  background-color: #fff;
}

.pagination-lg > li > a,
.pagination-lg > li > span {
  font-size: 1.286em;
  line-height: @line-height-large;
  padding: @padding-small-horizontal @padding-large-horizontal;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-top-left-radius: @border-radius-large;
  border-bottom-left-radius: @border-radius-large;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-top-right-radius: @border-radius-large;
  border-bottom-right-radius: @border-radius-large;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
  font-size: 0.875em;
  line-height: @line-height-small;
  padding: @padding-small-vertical @padding-small-horizontal;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-top-left-radius: @border-radius-small;
  border-bottom-left-radius: @border-radius-small;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: @border-radius-small;
  border-bottom-right-radius: @border-radius-small;
}

.pager {
  margin: @margin-hr 0;
  padding-left: 0;
  list-style: none;
  text-align: center;
}

.pager li {
  display: inline;
}

.pager li > a,
.pager li > span {
  display: inline-block;
  padding: @padding-small-vertical @padding-large-vertical;
  border: 1px solid #ddd;
  border-radius: @border-radius-pager;
  background-color: #fff;
}

.pager li > a:focus,
.pager li > a:hover {
  text-decoration: none;
  background-color: #eee;
}

.pager .next > a,
.pager .next > span {
  float: right;
}

.pager .previous > a,
.pager .previous > span {
  float: left;
}

.pager .disabled > a,
.pager .disabled > a:focus,
.pager .disabled > a:hover,
.pager .disabled > span {
  cursor: not-allowed;
  color: #777;
  background-color: #fff;
}

.label {
  font-size: 0.7em;
  font-weight: 700;
  line-height: 1;
  display: inline;
  padding: @padding-label-small @padding-label-large @padding-label-small;
  text-align: center;
  vertical-align: baseline;
  white-space: nowrap;
  color: #fff;
  border-radius: @border-radius-label;
}

a.label:focus,
a.label:hover {
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.label:empty {
  display: none;
}

.btn .label {
  position: relative;
  top: -1px;
}

.btn-clear {
  margin-top:0.8em;
}

.label-default {
  background-color: @brand-primary;
}

.label-default[href]:focus,
.label-default[href]:hover {
  background-color: #5e5e5e;
}

.label-primary {
  background-color: @brand-secondary;
}

.label-primary[href]:focus,
.label-primary[href]:hover {
  background-color: @brand-primary;
}

.badge {
  font-size: 0.6em;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  min-width: 1em;
  padding: @padding-badge-horizontal @padding-badge-vertical;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  color: #fff;
  border-radius: @margin-heading;
  background-color: @brand-primary;
}

.nav-pills .badge, p .badge {
  font-size:0.9em;
  line-height: 1em;
  background-color: #546677;
}

.badge:empty {
  display: none;
}

.btn .badge {
  position: relative;
  top: -1px;
}

.btn-group-xs > .btn .badge,
.btn-xs .badge {
  top: 0;
  padding: @padding-xs-vertical @padding-xs-horizontal;
}

a.badge:focus,
a.badge:hover {
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

h2 span.badge {
  line-height: 0.9em;
  background-color: @brand-primary;
}

.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
  color: #337ab7;
  background-color: #fff;
}

.list-group-item-danger,
.list-group-item-info,
.list-group-item-success,
.list-group-item-warning {
  color: #333;
}

.list-group-item > .badge {
  float: right;
}

.list-group-item > .badge + .badge {
  margin-right: @margin-btn-toolbar-left;
}

.list-group {
  margin-bottom: @margin-hr;
  padding-left: 0;
}

.list-group-item {
  position: relative;
  display: block;
  margin-bottom: -1px;
  padding: @padding-small-horizontal @padding-large-horizontal;
  border: 1px solid #ddd;
  background-color: #fff;
}

.list-group-item:first-child {
  border-top-left-radius: @border-radius-base;
  border-top-right-radius: @border-radius-base;
}

.list-group-item:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: @border-radius-base;
  border-bottom-left-radius: @border-radius-base;
}

a.list-group-item,
button.list-group-item {
  color: #555;
}

a.list-group-item .list-group-item-heading,
button.list-group-item .list-group-item-heading {
  color: #333;
}

a.list-group-item:focus,
a.list-group-item:hover,
button.list-group-item:focus,
button.list-group-item:hover {
  text-decoration: none;
  color: #555;
  background-color: @gray-lighter;
}

button.list-group-item {
  width: 100%;
  text-align: left;
}

.list-group-item.disabled,
.list-group-item.disabled:focus,
.list-group-item.disabled:hover {
  cursor: not-allowed;
  color: #777;
  background-color: @gray-light;
}

.list-group-item.disabled .list-group-item-heading,
.list-group-item.disabled:focus .list-group-item-heading,
.list-group-item.disabled:hover .list-group-item-heading {
  color: inherit;
}

.list-group-item.disabled .list-group-item-text,
.list-group-item.disabled:focus .list-group-item-text,
.list-group-item.disabled:hover .list-group-item-text {
  color: #777;
}

.list-group-item.active,
.list-group-item.active:focus,
.list-group-item.active:hover {
  z-index: 2;
  color: #fff;
  border-color: @brand-primary;
  background-color: @brand-primary;
}

.list-group-item.active .list-group-item-heading,
.list-group-item.active .list-group-item-heading > .small,
.list-group-item.active .list-group-item-heading > small,
.list-group-item.active:focus .list-group-item-heading,
.list-group-item.active:focus .list-group-item-heading > .small,
.list-group-item.active:focus .list-group-item-heading > small,
.list-group-item.active:hover .list-group-item-heading,
.list-group-item.active:hover .list-group-item-heading > .small,
.list-group-item.active:hover .list-group-item-heading > small {
  color: inherit;
}

.list-group-item.active .list-group-item-text,
.list-group-item.active:focus .list-group-item-text,
.list-group-item.active:hover .list-group-item-text {
  color: #c7ddef;
}

.list-group-item-heading {
  margin-top: 0;
  margin-bottom: @margin-btn-toolbar-left;
}

.list-group-item-text {
  line-height: 1.3;
  margin-bottom: 0;
}

.embed-responsive {
  position: relative;
  display: block;
  overflow: hidden;
  height: 0;
  padding: 0;
}

.panel {
  margin-bottom: @margin-hr;
  border: 1px solid transparent;
  border-radius: @border-radius-base;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  background-color: #fcfcfc;
}

.panel-body {
  padding: @padding-large-vertical;
  color: @brand-primary;
  font-size: 1em;
}

.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  color: inherit;
  font-size: 1.143em;
}

.panel.panel-side {
  padding: @padding-base-vertical;
  border: solid 1px #ddd !important;
  background-color: #fff !important;
}

.panel-heading {
  padding: @padding-small-horizontal;
  border-bottom: 1px solid transparent;
  border-top-left-radius: @border-radius-small;
  border-top-right-radius: @border-radius-small;
  font-size: 1.1em !important;
  font-weight: 600;
  color: @brand-secondary;
  background-color: #fff;
}

.panel-heading > .dropdown .dropdown-toggle {
  color: inherit;
}

.panel-title > .small,
.panel-title > .small > a,
.panel-title > a,
.panel-title > small,
.panel-title > small > a {
  color: inherit;
}

.panel-footer {
  padding: @padding-small-horizontal;
  background-color: @gray-lighter;
  border-top: 1px solid #ddd;
  border-bottom-right-radius: @border-radius-small;
  border-bottom-left-radius: @border-radius-small;
}

.panel > .list-group,
.panel > .panel-collapse > .list-group {
  margin-bottom: 0;
}

.panel > .list-group .list-group-item,
.panel > .panel-collapse > .list-group .list-group-item {
  border-width: 1px 0;
  border-radius: 0;
}

.panel > .list-group:first-child .list-group-item:first-child,
.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
  border-top: 0;
  border-top-left-radius: @border-radius-small;
  border-top-right-radius: @border-radius-small;
}

.panel > .list-group:last-child .list-group-item:last-child,
.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
  border-bottom: 0;
  border-bottom-right-radius: @border-radius-small;
  border-bottom-left-radius: @border-radius-small;
}

.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.panel-heading + .list-group .list-group-item:first-child {
  border-top-width: 0;
}

.list-group + .panel-footer {
  border-top-width: 0;
}

.panel > .panel-collapse > .table,
.panel > .table,
.panel > .table-responsive > .table {
  margin-bottom: 0;
}

.panel > .panel-collapse > .table caption,
.panel > .table caption,
.panel > .table-responsive > .table caption {
  padding-right: @padding-large-vertical;
  padding-left: @padding-large-vertical;
}

.panel > .table-responsive:first-child > .table:first-child,
.panel > .table:first-child {
  border-top-left-radius: @border-radius-small;
  border-top-right-radius: @border-radius-small;
}

.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child,
.panel > .table:first-child > thead:first-child > tr:first-child {
  border-top-left-radius: @border-radius-small;
  border-top-right-radius: @border-radius-small;
}

.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:first-child {
  border-top-left-radius: @border-radius-small;
}

.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:last-child {
  border-top-right-radius: @border-radius-small;
}

.panel > .table-responsive:last-child > .table:last-child,
.panel > .table:last-child {
  border-bottom-right-radius: @border-radius-small;
  border-bottom-left-radius: @border-radius-small;
}

.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child {
  border-bottom-right-radius: @border-radius-small;
  border-bottom-left-radius: @border-radius-small;
}

.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
  border-bottom-left-radius: @border-radius-small;
}

.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
  border-bottom-right-radius: @border-radius-small;
}

.panel > .panel-body + .table,
.panel > .panel-body + .table-responsive,
.panel > .table + .panel-body,
.panel > .table-responsive + .panel-body {
  border-top: 1px solid #ddd;
}

.panel > .table > tbody:first-child > tr:first-child td,
.panel > .table > tbody:first-child > tr:first-child th {
  border-top: 0;
}

.panel > .table-bordered,
.panel > .table-responsive > .table-bordered {
  border: 0;
}

.panel > .table-bordered > tbody > tr > td:first-child,
.panel > .table-bordered > tbody > tr > th:first-child,
.panel > .table-bordered > tfoot > tr > td:first-child,
.panel > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-bordered > thead > tr > td:first-child,
.panel > .table-bordered > thead > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:first-child {
  border-left: 0;
}

.panel > .table-bordered > tbody > tr > td:last-child,
.panel > .table-bordered > tbody > tr > th:last-child,
.panel > .table-bordered > tfoot > tr > td:last-child,
.panel > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-bordered > thead > tr > td:last-child,
.panel > .table-bordered > thead > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:last-child {
  border-right: 0;
}

.panel > .table-bordered > tbody > tr:first-child > td,
.panel > .table-bordered > tbody > tr:first-child > th,
.panel > .table-bordered > thead > tr:first-child > td,
.panel > .table-bordered > thead > tr:first-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > th {
  border-bottom: 0;
}

.panel > .table-bordered > tbody > tr:last-child > td,
.panel > .table-bordered > tbody > tr:last-child > th,
.panel > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-bordered > tfoot > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
  border-bottom: 0;
}

.panel > .table-responsive {
  margin-bottom: 0;
  border: 0;
}

.panel-group {
  margin-bottom: @margin-hr;
}

.panel-group .panel {
  margin-bottom: 0;
  border-radius: @border-radius-base;
}

.panel-group .panel + .panel {
  margin-top: @margin-btn-toolbar-left;
}

.panel-group .panel-heading {
  border-bottom: 0;
}

.panel-group .panel-heading + .panel-collapse > .list-group,
.panel-group .panel-heading + .panel-collapse > .panel-body {
  border-top: 1px solid #ddd;
}

.panel-group .panel-footer {
  border-top: 0;
}

.panel-group .panel-footer + .panel-collapse .panel-body {
  border-bottom: 1px solid #ddd;
}

.panel-default {
  border-color: #ddd;
}

.panel-code {
  border-color:#fff;
  box-shadow: none;
  background-color: #fff;
  margin-top:1em;
}

.panel-default > .panel-heading {
  color: #333;
  background-color: @gray-lighter;
  border-color: #ddd;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #ddd;
}

.panel-default > .panel-heading .badge {
  color: @gray-lighter;
  background-color: #333;
}

.panel-default > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #ddd;
}

.panel-primary {
  border: solid 1px @brand-primary;
}

.panel-success {
  border: solid 1px @brand-success;
}

.panel-info {
  border: solid 1px @brand-info;
}

.panel-warning {
  border: solid 1px #ffa800;
}

.panel-danger {
  border: solid 1px @brand-danger;
}

.panel-primary > .panel-heading {
  border-bottom: solid 1px @brand-primary;
  color:#fff;
  background-color: @brand-primary;
}

.panel-success > .panel-heading {
  border-bottom: solid 1px @brand-success;
  color:#fff;
  background-color: @brand-success;
}

.panel-info > .panel-heading {
  border-bottom: solid 1px @brand-info;
}

.panel-warning > .panel-heading {
  border-bottom: solid 1px #ffa800;
  color:#fff;
  background-color: @brand-warning;
}

.panel-danger > .panel-heading {
  border-bottom: solid 1px @brand-danger;
  color:#fff;
  background-color: @brand-danger;
}

.panel-primary > .panel-heading h3 {
  color: @brand-primary;
}

.panel-info > .panel-heading {
  border-bottom: solid 1px @brand-info;
  color:#fff;
  background-color: @brand-info;
}

.panel-success > .panel-heading h3 {
  color: @brand-success;
}

.panel-warning > .panel-heading h3 {
  color: #ffa800;
}

.panel-danger > .panel-heading h3 {
  color: @brand-danger;
}

.searchtable.table tbody tr td,
.searchtable.table thead tr th {
  text-align: left !important;
}

.table thead tr {
  border-bottom-color: transparent !important;
}

.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
  padding:@padding-large-horizontal;
}

.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  -o-transform: translate(0, -25%);
  transform: translate(0, -25%);
}

.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: @margin-horizontal;
}

.modal-content {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: @border-radius-small;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .4);
  box-shadow: 0 3px 9px rgba(0, 0, 0, .4);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
  opacity: 0.5;
}

.modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}

.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.modal-header {
  padding: 15px;
  border-bottom: 0;
}

.modal-header .close {
  margin-top: -2px;
  opacity:0.7;
}

.modal-title {
  margin: 0;
  line-height: 1.42857143;
  font-size: 1.725em;
  text-align: center;
}

.modal-body {
  position: relative;
  padding: @padding-modal-body;
  color: #333;
}

.modal-body .scrollable {
  overflow:auto;
  overflow-x:hidden;
}

.modal-footer {
  padding: @padding-modal-footer;
  text-align: right;
  right:0;
  float:right !important;
  border-top: 0;
  background: rgba(0, 0, 0, .05);
}

.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: @margin-half-horizontal;
}

.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}

.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: @margin-modal-dialog auto;
  }

  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  }

  .modal-sm {
    width: 300px;
  }
}

@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}

.tooltip-inner {
  max-width: 14.286em;
  padding: @padding-base-vertical;
  color: #fff;
  text-align: center;
  background-color: @brand-primary;
  border-radius: @border-radius-base;
}

.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-break: auto;
  line-height: @line-height-base;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  white-space: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  font-size: 0.857em;
  border-color: @brand-primary;
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.tooltip.top {
  margin-top: -@margin-tooltip;
  padding: @padding-xs-horizontal 0;
}

.tooltip.right {
  margin-left: @margin-tooltip;
  padding: 0 @padding-small-vertical;
}

.tooltip.left {
  margin-left: -@margin-tooltip;
  padding: 0 @padding-small-vertical;
}

.tooltip.bottom {
  margin-top: @margin-tooltip;
  padding: @padding-small-vertical 0;
}

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -@margin-half-horizontal;
  border-width: 5px 5px 0;
  border-top-color: @brand-primary;
}

.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -@margin-half-horizontal;
  border-width: 5px 5px 5px 0;
  border-right-color: @brand-primary;
}

.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -@margin-half-horizontal;
  border-width: 5px 0 5px 5px;
  border-left-color: @brand-primary;
}

.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -@margin-half-horizontal;
  border-width: 0 5px 5px;
  border-bottom-color: @brand-primary;
}

//
// Wells
// --------------------------------------------------

// Base class
.well {
  min-height: 20px;
  padding: @padding-well;
  margin-bottom: @margin-large;
  background-color: @well-bg;
  border: 1px solid @well-border;
  border-radius: @border-radius-base;
  box-shadow:inset 0 1px 1px rgba(0,0,0,.05);
  blockquote {
    border-color: #ddd;
    border-color: rgba(0,0,0,.15);
  }
}

// Sizes
.well-lg {
  padding: @padding-well-lg;
  border-radius: @border-radius-large;
}
.well-sm {
  padding: @padding-well-small;
  border-radius: @border-radius-small;
}

.well a {
  font-style: italic;
}

.content {
  font-size: 1em;
  padding-top: @margin-hr;
  padding-bottom: @margin-hr;
  background-color: #fff;
  width: 100%;
}

button.close {
  font-weight: 700;
  line-height: 1;
  top:0;
  right:@padding-small-horizontal;
  position:absolute;
  border:0;
  color: #f00;
  z-index:1;
  padding: @padding-btn-close;
  outline:none;
}

button.close:focus,
button.close:hover,
button.close:active:focus {
  cursor: pointer;
  text-decoration: none;
  opacity: 0.5;
  color: #000;
  filter: alpha(opacity=50);
  box-shadow:none;
  outline:none;
  background-color:#fff;
}

.closeIcon svg {
  opacity:0.7;
  height:1rem;
  width:1rem;
  text-align: center;
  color:#f00;
}

.btn-group-vertical > .btn-group:before,
.btn-group:after,
.btn-toolbar:after,
.btn-toolbar:before,
.clearfix:after,
.clearfix:before,
.container-fluid:after,
.container-fluid:before,
.container:after,
.container:before,
.dl-horizontal dd:after,
.dl-horizontal dd:before,
.form-horizontal .form-group:after,
.form-horizontal .form-group:before,
.modal-footer:after,
.modal-footer:before,
.modal-header:after,
.modal-header:before,
.nav:after,
.nav:before,
.navbar-collapse:after,
.navbar-collapse:before,
.navbar-header:after,
.navbar-header:before,
.navbar:after,
.navbar:before,
.pager:after,
.pager:before,
.panel-body:after,
.panel-body:before,
.row:after,
.row:before {
  display: table;
  content: ' ';
}

.btn-group-vertical > .btn-group:after,
.btn-toolbar:after,
.clearfix:after,
.container-fluid:after,
.container:after,
.dl-horizontal dd:after,
.form-horizontal .form-group:after,
.modal-footer:after,
.modal-header:after,
.nav:after,
.navbar-collapse:after,
.navbar-header:after,
.navbar:after,
.pager:after,
.panel-body:after,
.row:after {
  clear: both;
}

.glyphicon-modal-window:before {
  content: "\e237";
}

.toolbar {
  padding-top: @margin-hr;
}

.toolbar .sort-items {
  padding-bottom: @padding-small-horizontal;
  padding-right: 0;
}

.toolbar .show-items {
  padding-bottom: @padding-small-horizontal;
  padding-right: 0;
}

.toolbar .page-count {
  padding-bottom: @padding-large-horizontal;
  padding-left: 0;
}

.center-block {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.pull-right {
  float: right !important;
}

.pull-left {
  float: left !important;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}

.invisible {
  visibility: hidden;
}

.text-hide {
  font: 0/0 a;
  color: transparent;
  border: 0;
  background-color: transparent;
  text-shadow: none;
}

.hidden {
  display: none !important;
}

.affix {
  position: fixed;
}

@-ms-viewport {
  width: device-width;
}

.visible-lg,
.visible-md,
.visible-sm,
.visible-xs {
  display: none !important;
}

.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-sm-block,
.visible-sm-inline-block,
.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block {
  display: none !important;
}

button.btn-link {
  color: rgb(84, 102, 122);
}

#explore h1 {
  font-size: 1.2em !important;
  margin-bottom: 0;
}

.searchViewTheme .textInput {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  border: 2px solid rgb(189, 212, 220);
  border-radius: @border-radius-text-input;
  box-sizing: border-box;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: 1.2em;
  font-style: inherit;
  outline: none;
  padding-left: @padding-search-input-left;
  padding-right: @padding-search-input-right;
  width: 87%;
  margin-left: -@margin-left-search-input;
}

.search-box .btn-primary {
  margin:0;
  padding:@padding-search-button;
}

.search-box svg {
  fill:#fff;
}

.textInput .placeholder {
  color: hsl(195, 32%, 80%);
}

.textInput:focus {
  border: solid 3px @brand-secondary;
  outline: none;
}

.getinvolved .btn-primary {
  background-color: @brand-secondary;
}

.getinvolved .btn-primary:active,
.getinvolved .btn-primary:focus,
.getinvolved .btn-primary:hover {
  background-color: @brand-primary;
}

@media (max-width: 29.375rem) {
  .view {
    flex-direction:column;
    display:inline-flex;
  }
  .page {
    flex:1;
  }
  #nav {
    height:initial;
  }
}

@media (min-width: 29.376rem) {
  .view {
    align-items: flex-start;
    flex-direction:row;
    flex-shrink: 0;
  }

  #nav {
    min-height:100%;
  }

}

@media (min-width: @screen-sm-min) {
  h1 {
    margin-top: 0;
  }

  .container {
    width: @container-tablet;
  }

  .content {
    width: 65%;
  }

  .headerClasses {
    font-size: 1em;
  }

  .dl-horizontal dt {
    float: left;
    clear: left;
    overflow: hidden;
    width: 11.429em;
    text-align: right;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .dl-horizontal dd {
    margin-left: @margin-left-dd;
  }

  .col-sm-1,
  .col-sm-10,
  .col-sm-11,
  .col-sm-12,
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7,
  .col-sm-8,
  .col-sm-9 {
    float: left;
  }

  .col-sm-12 {
    width: 100%;
  }

  .col-sm-11 {
    width: 91.66666667%;
  }

  .col-sm-10 {
    width: 83.33333333%;
  }

  .col-sm-9 {
    width: 75%;
  }

  .col-sm-8 {
    width: 66.66666667%;
  }

  .col-sm-7 {
    width: 58.33333333%;
  }

  .col-sm-6 {
    width: 50%;
  }

  .col-sm-5 {
    width: 41.66666667%;
  }

  .col-sm-4 {
    width: 33.33333333%;
  }

  .col-sm-3 {
    width: 25%;
  }

  .col-sm-2 {
    width: 16.66666667%;
  }

  .col-sm-1 {
    width: 8.33333333%;
  }

  .col-sm-pull-12 {
    right: 100%;
  }

  .col-sm-pull-11 {
    right: 91.66666667%;
  }

  .col-sm-pull-10 {
    right: 83.33333333%;
  }

  .col-sm-pull-9 {
    right: 75%;
  }

  .col-sm-pull-8 {
    right: 66.66666667%;
  }

  .col-sm-pull-7 {
    right: 58.33333333%;
  }

  .col-sm-pull-6 {
    right: 50%;
  }

  .col-sm-pull-5 {
    right: 41.66666667%;
  }

  .col-sm-pull-4 {
    right: 33.33333333%;
  }

  .col-sm-pull-3 {
    right: 25%;
  }

  .col-sm-pull-2 {
    right: 16.66666667%;
  }

  .col-sm-pull-1 {
    right: 8.33333333%;
  }

  .col-sm-pull-0 {
    right: auto;
  }

  .col-sm-push-12 {
    left: 100%;
  }

  .col-sm-push-11 {
    left: 91.66666667%;
  }

  .col-sm-push-10 {
    left: 83.33333333%;
  }

  .col-sm-push-9 {
    left: 75%;
  }

  .col-sm-push-8 {
    left: 66.66666667%;
  }

  .col-sm-push-7 {
    left: 58.33333333%;
  }

  .col-sm-push-6 {
    left: 50%;
  }

  .col-sm-push-5 {
    left: 41.66666667%;
  }

  .col-sm-push-4 {
    left: 33.33333333%;
  }

  .col-sm-push-3 {
    left: 25%;
  }

  .col-sm-push-2 {
    left: 16.66666667%;
  }

  .col-sm-push-1 {
    left: 8.33333333%;
  }

  .col-sm-push-0 {
    left: auto;
  }

  .col-sm-offset-12 {
    margin-left: 100%;
  }

  .col-sm-offset-11 {
    margin-left: 91.66666667%;
  }

  .col-sm-offset-10 {
    margin-left: 83.33333333%;
  }

  .col-sm-offset-9 {
    margin-left: 75%;
  }

  .col-sm-offset-8 {
    margin-left: 66.66666667%;
  }

  .col-sm-offset-7 {
    margin-left: 58.33333333%;
  }

  .col-sm-offset-6 {
    margin-left: 50%;
  }

  .col-sm-offset-5 {
    margin-left: 41.66666667%;
  }

  .col-sm-offset-4 {
    margin-left: 33.33333333%;
  }

  .col-sm-offset-3 {
    margin-left: 25%;
  }

  .col-sm-offset-2 {
    margin-left: 16.66666667%;
  }

  .col-sm-offset-1 {
    margin-left: 8.33333333%;
  }

  .col-sm-offset-0 {
    margin-left: 0;
  }

  .form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }

  .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }

  .form-inline .form-control-static {
    display: inline-block;
  }

  .form-inline .input-group {
    display: inline-table;
    vertical-align: middle;
  }

  .form-inline .input-group .form-control,
  .form-inline .input-group .input-group-addon,
  .form-inline .input-group .input-group-btn {
    width: auto;
  }

  .form-inline .input-group > .form-control {
    width: 100%;
  }

  .form-inline .control-label {
    margin-bottom: 0;
    vertical-align: middle;
  }

  .form-inline .checkbox,
  .form-inline .radio {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: middle;
  }

  .form-inline .checkbox label,
  .form-inline .radio label {
    padding-left: 0;
  }

  .form-inline .checkbox input[type=checkbox],
  .form-inline .radio input[type=radio] {
    position: relative;
    margin-left: 0;
  }

  .form-inline .has-feedback .form-control-feedback {
    top: 0;
  }

  .form-inline .form-control {
    width: 100%;
  }

  .form-horizontal .control-label {
    margin-bottom: 0;
    padding-top: @padding-base-vertical;
    text-align: right;
  }

  .form-horizontal .form-group-lg .control-label {
    font-size: 1.286em;
    padding-top: @padding-base-horizontal;
  }

  .form-horizontal .form-group-sm .control-label {
    font-size: 0.857em;
    padding-top: @padding-small-vertical;
  }
}

@media (max-width: @screen-sm-max) {
  .searchViewTheme span svg {
    font-size: 1.4em;
  }

  .wideViewTheme {
    max-width:100%;
  }

  #profile-matrix {
    padding-left:0;
  }

  .lead {
    font-size: 1.5em;
  }

  .visible-xs {
    display: block !important;
  }

  table.visible-xs {
    display: table !important;
  }

  tr.visible-xs {
    display: table-row !important;
  }

  td.visible-xs,
  th.visible-xs {
    display: table-cell !important;
  }

  .visible-xs-block {
    display: block !important;
  }

  .visible-xs-inline {
    display: inline !important;
  }

  .visible-xs-inline-block {
    display: inline-block !important;
  }

  .content {
    min-height: 21.429em;
  }

  .collapsing {
    transition: height 0.8s;
  }
}

@media (min-width: @screen-sm-min) and (max-width: @screen-md-max) {
  .visible-sm {
    display: block !important;
  }

  table.visible-sm {
    display: table !important;
  }

  tr.visible-sm {
    display: table-row !important;
  }

  td.visible-sm,
  th.visible-sm {
    display: table-cell !important;
  }

  .visible-sm-block {
    display: block !important;
  }

  .visible-sm-inline {
    display: inline !important;
  }

  .visible-sm-inline-block {
    display: inline-block !important;
  }

  .visible-md {
    display: block !important;
  }

  table.visible-md {
    display: table !important;
  }

  tr.visible-md {
    display: table-row !important;
  }

  td.visible-md,
  th.visible-md {
    display: table-cell !important;
  }
}

@media (min-width: @screen-md-min) {
  .headerClasses {
    padding: @padding-base-and-a-half;
  }

  .show-items {
    clear: none !important;
  }

  .container {
    width: @container-desktop;
  }

  .col-md-1,
  .col-md-10,
  .col-md-11,
  .col-md-12,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9 {
    float: left;
  }

  .col-md-12 {
    width: 100%;
  }

  .col-md-11 {
    width: 91.66666667%;
  }

  .col-md-10 {
    width: 83.33333333%;
  }

  .col-md-9 {
    width: 75%;
  }

  .col-md-8 {
    width: 66.66666667%;
  }

  .col-md-7 {
    width: 58.33333333%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-5 {
    width: 41.66666667%;
  }

  .col-md-4 {
    width: 33.33333333%;
  }

  .col-md-3 {
    width: 25%;
  }

  .col-md-2 {
    width: 16.66666667%;
  }

  .col-md-1 {
    width: 8.33333333%;
  }

  .col-md-pull-12 {
    right: 100%;
  }

  .col-md-pull-11 {
    right: 91.66666667%;
  }

  .col-md-pull-10 {
    right: 83.33333333%;
  }

  .col-md-pull-9 {
    right: 75%;
  }

  .col-md-pull-8 {
    right: 66.66666667%;
  }

  .col-md-pull-7 {
    right: 58.33333333%;
  }

  .col-md-pull-6 {
    right: 50%;
  }

  .col-md-pull-5 {
    right: 41.66666667%;
  }

  .col-md-pull-4 {
    right: 33.33333333%;
  }

  .col-md-pull-3 {
    right: 25%;
  }

  .col-md-pull-2 {
    right: 16.66666667%;
  }

  .col-md-pull-1 {
    right: 8.33333333%;
  }

  .col-md-pull-0 {
    right: auto;
  }

  .col-md-push-12 {
    left: 100%;
  }

  .col-md-push-11 {
    left: 91.66666667%;
  }

  .col-md-push-10 {
    left: 83.33333333%;
  }

  .col-md-push-9 {
    left: 75%;
  }

  .col-md-push-8 {
    left: 66.66666667%;
  }

  .col-md-push-7 {
    left: 58.33333333%;
  }

  .col-md-push-6 {
    left: 50%;
  }

  .col-md-push-5 {
    left: 41.66666667%;
  }

  .col-md-push-4 {
    left: 33.33333333%;
  }

  .col-md-push-3 {
    left: 25%;
  }

  .col-md-push-2 {
    left: 16.66666667%;
  }

  .col-md-push-1 {
    left: 8.33333333%;
  }

  .col-md-push-0 {
    left: auto;
  }

  .col-md-offset-12 {
    margin-left: 100%;
  }

  .col-md-offset-11 {
    margin-left: 91.66666667%;
  }

  .col-md-offset-10 {
    margin-left: 83.33333333%;
  }

  .col-md-offset-9 {
    margin-left: 75%;
  }

  .col-md-offset-8 {
    margin-left: 66.66666667%;
  }

  .col-md-offset-7 {
    margin-left: 58.33333333%;
  }

  .col-md-offset-6 {
    margin-left: 50%;
  }

  .col-md-offset-5 {
    margin-left: 41.66666667%;
  }

  .col-md-offset-4 {
    margin-left: 33.33333333%;
  }

  .col-md-offset-3 {
    margin-left: 25%;
  }

  .col-md-offset-2 {
    margin-left: 16.66666667%;
  }

  .col-md-offset-1 {
    margin-left: 8.33333333%;
  }

  .col-md-offset-0 {
    margin-left: 0;
  }
}

@media (min-width: @screen-md-min) and (max-width: @screen-lg) {
  .visible-md-block {
    display: block !important;
  }

  .visible-md-inline {
    display: inline !important;
  }

  .visible-md-inline-block {
    display: inline-block !important;
  }
}

@media (min-width: @screen-lg-min) {
  .container {
    width: @container-large-desktop;
  }

  .visible-lg {
    display: block !important;
  }

  table.visible-lg {
    display: table !important;
  }

  tr.visible-lg {
    display: table-row !important;
  }

  td.visible-lg,
  th.visible-lg {
    display: table-cell !important;
  }

  .col-lg-1,
  .col-lg-10,
  .col-lg-11,
  .col-lg-12,
  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9 {
    float: left;
  }

  .col-lg-12 {
    width: 100%;
  }

  .col-lg-11 {
    width: 91.66666667%;
  }

  .col-lg-10 {
    width: 83.33333333%;
  }

  .col-lg-9 {
    width: 75%;
  }

  .col-lg-8 {
    width: 66.66666667%;
  }

  .col-lg-7 {
    width: 58.33333333%;
  }

  .col-lg-6 {
    width: 50%;
  }

  .col-lg-5 {
    width: 41.66666667%;
  }

  .col-lg-4 {
    width: 33.33333333%;
  }

  .col-lg-3 {
    width: 25%;
  }

  .col-lg-2 {
    width: 16.66666667%;
  }

  .col-lg-1 {
    width: 8.33333333%;
  }

  .col-lg-pull-12 {
    right: 100%;
  }

  .col-lg-pull-11 {
    right: 91.66666667%;
  }

  .col-lg-pull-10 {
    right: 83.33333333%;
  }

  .col-lg-pull-9 {
    right: 75%;
  }

  .col-lg-pull-8 {
    right: 66.66666667%;
  }

  .col-lg-pull-7 {
    right: 58.33333333%;
  }

  .col-lg-pull-6 {
    right: 50%;
  }

  .col-lg-pull-5 {
    right: 41.66666667%;
  }

  .col-lg-pull-4 {
    right: 33.33333333%;
  }

  .col-lg-pull-3 {
    right: 25%;
  }

  .col-lg-pull-2 {
    right: 16.66666667%;
  }

  .col-lg-pull-1 {
    right: 8.33333333%;
  }

  .col-lg-pull-0 {
    right: auto;
  }

  .col-lg-push-12 {
    left: 100%;
  }

  .col-lg-push-11 {
    left: 91.66666667%;
  }

  .col-lg-push-10 {
    left: 83.33333333%;
  }

  .col-lg-push-9 {
    left: 75%;
  }

  .col-lg-push-8 {
    left: 66.66666667%;
  }

  .col-lg-push-7 {
    left: 58.33333333%;
  }

  .col-lg-push-6 {
    left: 50%;
  }

  .col-lg-push-5 {
    left: 41.66666667%;
  }

  .col-lg-push-4 {
    left: 33.33333333%;
  }

  .col-lg-push-3 {
    left: 25%;
  }

  .col-lg-push-2 {
    left: 16.66666667%;
  }

  .col-lg-push-1 {
    left: 8.33333333%;
  }

  .col-lg-push-0 {
    left: auto;
  }

  .col-lg-offset-12 {
    margin-left: 100%;
  }

  .col-lg-offset-11 {
    margin-left: 91.66666667%;
  }

  .col-lg-offset-10 {
    margin-left: 83.33333333%;
  }

  .col-lg-offset-9 {
    margin-left: 75%;
  }

  .col-lg-offset-8 {
    margin-left: 66.66666667%;
  }

  .col-lg-offset-7 {
    margin-left: 58.33333333%;
  }

  .col-lg-offset-6 {
    margin-left: 50%;
  }

  .col-lg-offset-5 {
    margin-left: 41.66666667%;
  }

  .col-lg-offset-4 {
    margin-left: 33.33333333%;
  }

  .col-lg-offset-3 {
    margin-left: 25%;
  }

  .col-lg-offset-2 {
    margin-left: 16.66666667%;
  }

  .col-lg-offset-1 {
    margin-left: 8.33333333%;
  }

  .col-lg-offset-0 {
    margin-left: 0;
  }
}

@media (min-width: @screen-lg) {
  .visible-lg-block {
    display: block !important;
  }

  .visible-lg-inline {
    display: inline !important;
  }

  .visible-lg-inline-block {
    display: inline-block !important;
  }

  .hidden-lg {
    display: none !important;
  }
}

@media (max-width: @screen-md-max) {
  .hidden-xs {
    display: none !important;
  }
}

@media (min-width: @screen-sm-min) and (max-width: @screen-md-max) {
  .hidden-sm {
    display: none !important;
  }
}

@media (min-width: @screen-md-min) and (max-width: @screen-lg) {
  .hidden-md {
    display: none !important;
  }
}

.visible-print {
  display: none !important;
}

@media print {
  .visible-print {
    display: block !important;
  }

  table.visible-print {
    display: table !important;
  }

  tr.visible-print {
    display: table-row !important;
  }

  td.visible-print,
  th.visible-print {
    display: table-cell !important;
  }
}

.visible-print-block {
  display: none !important;
}

@media print {
  .visible-print-block {
    display: block !important;
  }
}

.visible-print-inline {
  display: none !important;
}

@media print {
  .visible-print-inline {
    display: inline !important;
  }
}

.visible-print-inline-block {
  display: none !important;
}

@media print {
  .visible-print-inline-block {
    display: inline-block !important;
  }
}

@media print {
  .hidden-print {
    display: none !important;
  }
}

@media screen and (max-width: @screen-sm-max) {
  .table-responsive {
    overflow-y: hidden;
    width: 100%;
    margin-bottom: @padding-large-horizontal;
    border: 1px solid #ddd;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }

  .table-responsive > .table {
    margin-bottom: 0;
  }

  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > td,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > thead > tr > th {
    white-space: nowrap;
  }

  .table-responsive > .table-bordered {
    border: 0;
  }

  .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .table-responsive > .table-bordered > tbody > tr > th:first-child,
  .table-responsive > .table-bordered > tfoot > tr > td:first-child,
  .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  .table-responsive > .table-bordered > thead > tr > td:first-child,
  .table-responsive > .table-bordered > thead > tr > th:first-child {
    border-left: 0;
  }

  .table-responsive > .table-bordered > tbody > tr > td:last-child,
  .table-responsive > .table-bordered > tbody > tr > th:last-child,
  .table-responsive > .table-bordered > tfoot > tr > td:last-child,
  .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  .table-responsive > .table-bordered > thead > tr > td:last-child,
  .table-responsive > .table-bordered > thead > tr > th:last-child {
    border-right: 0;
  }

  .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .table-responsive > .table-bordered > tfoot > tr:last-child > td,
  .table-responsive > .table-bordered > tfoot > tr:last-child > th {
    border-bottom: 0;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  input[type=date].form-control,
  input[type=datetime-local].form-control,
  input[type=month].form-control,
  input[type=time].form-control {
    line-height: 2em;
  }

  .input-group-sm input[type=date],
  .input-group-sm input[type=datetime-local],
  .input-group-sm input[type=month],
  .input-group-sm input[type=time],
  input[type=date].input-sm,
  input[type=datetime-local].input-sm,
  input[type=month].input-sm,
  input[type=time].input-sm {
    line-height: 1em;
  }

  .input-group-lg input[type=date],
  .input-group-lg input[type=datetime-local],
  .input-group-lg input[type=month],
  .input-group-lg input[type=time],
  input[type=date].input-lg,
  input[type=datetime-local].input-lg,
  input[type=month].input-lg,
  input[type=time].input-lg {
    line-height: 3em;
  }
}

/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
@media print {
  *,
  :after,
  :before {
    color: #000 !important;
    background: 0 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: ' (' attr(href) ')';
  }

  abbr[title]:after {
    content: ' (' attr(title) ')';
  }

  a[href^='#']:after,
  a[href^='javascript:']:after {
    content: '';
  }

  blockquote,
  pre {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  img,
  tr {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  img.avatar {
    max-width: 2.857em;
    max-height: 2.857em;
  }

  table img.avatar {
    margin-right: @margin-heading;
  }

  h2,
  h3,
  p {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  .navbar {
    display: none;
  }

  .btn > .caret,
  .dropup > .btn > .caret {
    border-top-color: #000 !important;
  }

  .label {
    border: 1px solid #000;
  }

  .table {
    border-collapse: collapse !important;
  }

  .table td,
  .table th {
    background-color: #fff !important;
  }

  .table-bordered td,
  .table-bordered th {
    border: 1px solid #ddd !important;
  }
}