/***
 * Misc
 */
body {
  background: white;
  padding: 30px 0;
  font-size: 16px;
  line-height: 1.6;
}

/***
 * Language selector
 */
.lang-row {
  position: relative;
  height: 40px;
}
.lang-selector {
  background: none;
  margin-right: 19px;
  position: absolute;
  right: 0;
}

.btn-link {
  color: var(--primary-color, #2196f3);
  border: none !important;
  outline: none !important;
  background: none !important;
  box-shadow: none !important;
}
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  color: #0a6ebd;
  text-decoration: underline;
}
.btn-link.disabled {
  color: #888;
  pointer-events: none;
}

/***
 * Removing gaps between inline and inline-block elements.
 *
 * Set font-size: 0; on the parent element. The space is a character space,
 * so setting the font-size to zero makes the size of the space zero as well.
 * But, you'll need to set the font size of the inline-block child elements
 * back to your desired size.
 */
.remove-inline-whitespace {
  font-size: 0px;
}

/***
 * Insert a fixed gap before the button(s) in the .remove-inline-whitespace
 * class. Optional apps have the abbility to insert additional inline-blocks
 * before or after the button(s).
 */
.remove-inline-whitespace #send {
  margin-left: 4px;
}
.remove-inline-whitespace.account-actions .btn {
  margin-left: 4px;
}

/***
 * Alert for unsupported browsers
 */
.alert-unsupported {
  display: none;
}
body.unsupported .alert-unsupported {
  display: block;
}


/***
 * Header
 */
.header .logo {
  display: inline-block;
  width: var(--logo-width, 330px);
  height: var(--logo-height, 60px);
  background-image: url("logo.ec528375e0b0.png");
  background-image: url("logo.a9f31e95c9be.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  margin: 0;
  padding: 0;
}
.header .logo span {
  display: none;
}

/** Hack to support Edge */
@supports (-ms-ime-align:auto) {
  .header .logo {
    background-image: url("logo.ec528375e0b0.png");
  }
}

/***
 * Footer
 */
.footer {
  margin: 60px 0 20px 0;
}
.footer .copyright {
  color: #bbbbbb;
}
.footer .loggedin {
  color: #666666;
}

/**
 * Fix for overflows
 */
.well {
  overflow-wrap: break-word;
}

/***
 * Transfers listing
 */
.transfers td, .transfers th {
  white-space: nowrap;
}
.recipients .icon,
.transfers .icon {
  white-space: nowrap;
  width: 1%;
}
.transfers .label-sd {
  min-width: 150px;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.transfers .subject {
  width: 100%;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recipients .email {
  width: 100%;
  min-width: 100px;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recipients .name,
.transfers .name {
  min-width: 150px;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.transfers .striped {
  background-color: #f9f9f9;
}
.transfers .clickable {
  cursor: pointer;
  border: 0px;
}
.transfers .clickable:hover {
  background-color: #ddd;
}
.transfers a {
  position: relative;
  z-index: 999;
}
.transfers .collapse td,
.transfers .collapsing td,
tbody.collapse,
tbody.collapsing {
  border-top: 0px !important;
  border-color: transparent;
}
.table > tbody + tbody {
  border-top: 1px;
}

/***
 * User icon
 */
.icon-employee,
.icon-group,
.icon-user,
.icon-guest {
  color: var(--primary-color, #2196f3);
  font-size: 125%;
  position: center !important;
  margin-right: 0px;
  width: 30px;
  margin-top: 0.225em;
}

/***
 * Forms
 */
form .buttons {
  text-align: right;
}
.info-formset{
  padding-bottom: 38px;
}
.visible-has-error {
  display: none;
}
.has-error .visible-has-error {
  display: inherit;
}

/***
 * Documents table
 */
table.documents {
  width: 100%;
  margin-bottom: 15px;
}
table.documents td {
  padding: 4px;
  vertical-align: top;
  line-height: 30px !important;
}
table.documents td.size {
  color: #888888;
  font-size: 13px;
}
table.documents .size,
table.documents .downloaded,
table.documents .actions {
  white-space: nowrap;
}
table.documents .actions {
  text-align: right;
}
table.documents td.actions .btn-xs {
  margin-top: 5px;
}
table.documents td.label-sd,
table.documents td.subject,
table.documents td.name {
  word-break: break-all;
  width: 100%;
  min-width: 250px;
}
table.documents tr.stub {
  display: none;
}
table.documents tr.empty td {
  padding: 0;
}
.documents-none {
  min-height: 38px;
  margin: 0;
}
.documents-none.has-error {
  color: #e51c23;
}


/***
 * File drag and drop indicator
 */
.drop-indicator {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3000;
  background: rgba(255, 255, 255, 0.5);

  display: none;
}
.drop-indicator:before {
  display: block;
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 3px dashed #888;
}
.drop-indicator:after {
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  font-size: 72px;
  color: #888;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  display: block;
  content: "\e022";

  position: absolute;
  right: 20px;
  bottom: 30px;
}
body.dragover .drop-indicator {
  display: block;
}


/***
 * File input field
 */
.btn-file {
  overflow: hidden;
  position: relative;
}
.btn-file > input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  transform: translate(-300px, 0) scale(4);
  font-size: 23px;
  direction: ltr;
  /* Hand cursor like a normal button */
  cursor: pointer;

  /* Hide the element while remaining operational */
  opacity: 0;
  filter: alpha(opacity=0);
}

/***
 * Uppercase input fields
 */
input[uppercase] {
  text-transform: uppercase;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  text-transform: none;
}
::-moz-placeholder { /* Firefox 19+ */
  text-transform: none;
}
:-ms-input-placeholder { /* IE 10+ */
  text-transform: none;
}
:-moz-placeholder { /* Firefox 18- */
  text-transform: none;
}
::placeholder {
  text-transform: none;
}

/***
 * Bootstrap fixes
 */
.table-responsive {
  border: 0 !important;
}
button {
  outline: 0 !important;
}
.btn {
  font-size: 14px;
  margin-bottom: 2px !important;
}
.btn-xs {
  font-size: 12px;
}
.text-muted {
  color: #888888;
}
.text-bold {
  font-weight: bold;
}
input[type=text],
input[type=password],
input[type=tel],
input[type=email],
textarea {
  background: white !important;
  padding-left: 5px !important;
  padding-right: 5px !important;
  resize: none;
}
input[type=checkbox]:checked:after {
  background-color: var(--primary-color, #2196f3);
  border-color: var(--primary-color, #2196f3);
}
input[type="checkbox"].checkboxpadding {
  margin-top: 13px;
}
select {
  background-color: white !important;
  background-image: url("caret.8c79ff0402ad.png") !important;
  padding-left: 5px !important;
  padding-right: 5px !important;
  resize: none;
}
.alert-error {
  background-color: #e51c23;
}
.help-block {
  font-size: 13px;
}
.form-control-static {
  color: #444444;
}
.well {
  background: #f5f5f5;
}
.well h1,
.well h2,
.well h3,
.well h4,
.well h5,
.well h6,
.well .h1,
.well .h2,
.well .h3,
.well .h4,
.well .h5,
.well .h6 {
  margin: 10px 0 18px 0;
}
.progress {
  height: 12px;
}
.table thead tr th {
  font-weight: 500;
}
.table-responsive {
  margin-bottom: 23px;
}
.table-responsive > table {
  margin-bottom: 0;
}
.pagination > li > span,
.pagination > li > a {
  min-width: 51px !important;
}
button.btn-outline-danger {
  color: #e51c23 !important;
}
button.btn-outline-danger[disabled],
button.btn-outline-danger[disabled]:hover {
  color: #888 !important;
  border: 1px solid #e51c23;
}
a.btn-outline-primary {
  color: var(--primary-color) !important;
}
a.btn-outline-primary[disabled],
a.btn-outline-primary[disabled]:hover {
  color: #888 !important;
  border: 1px solid var(--primary-color, #2196f3);
}

/***
 * Bootstrap styling
 */
a {
    color: var(--primary-color, #2196f3);
}
a:hover, a:focus {
    color: var(--primary-color-active, #0c7cd5);
}
.btn-primary {
  background-color: var(--secondary-color, var(--primary-color, #2196f3));
}
.btn-primary:focus,
.btn-primary.focus {
  background-color: var(--secondary-color-active, var(--primary-color-active, #0c7cd5));
}
.btn-primary:hover {
  background-color: var(--secondary-color-active, var(--primary-color-active, #0c7cd5));
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-color: var(--secondary-color-active, var(--primary-color-active, #0c7cd5));
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
  background-color: var(--secondary-color-active, var(--primary-color-active, #0c7cd5));
}
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
  background-color: var(--secondary-color, var(--primary-color, #2196f3));
}
.btn-primary .badge {
  color: var(--secondary-color, var(--primary-color, #2196f3));
}

.btn-primary:focus {
  background-color: var(--secondary-color, var(--primary-color, #2196f3));
}
.btn-primary:hover,
.btn-primary:active:hover {
  background-color: var(--secondary-color-active, var(--primary-color-active, #0c7cd5));
}
.btn-primary:active {
  background-color: var(--secondary-color, var(--primary-color, #2196f3));
  background-image: -webkit-radial-gradient(circle, var(--secondary-color, var(--primary-color, #2196f3)) 10%, var(--secondary-color-active, var(--primary-color-active, #0c7cd5)) 11%);
  background-image: -o-radial-gradient(circle, var(--secondary-color, var(--primary-color, #2196f3)) 10%, var(--secondary-color-active, var(--primary-color-active, #0c7cd5)) 11%);
  background-image: radial-gradient(circle, var(--secondary-color, var(--primary-color, #2196f3)) 10%, var(--secondary-color-active, var(--primary-color-active, #0c7cd5)) 11%);
}
.btn-link {
  color: var(--primary-color, #2196f3);
}
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  color: var(--primary-color-active, #0c7cd5);
}
textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contenteditable].form-control:focus {
  -webkit-box-shadow: inset 0 -2px 0 var(--primary-color, #2196f3) !important;
  box-shadow: inset 0 -2px 0 var(--primary-color, #2196f3) !important;
}

/**
 * Pull items left or right, even on small screens
 */
.pull-left-xs {
  float: left !important;
}
.pull-right-xs {
  float: right !important;
}


/* Toastr */
#toast-container > .toast,
#toast-container > .toast:hover {
  -webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}


/***
 * Responsiveness
 */
@media (min-width: 768px) {
  .container-narrow {
    width: 750px;
  }
}
@media (max-width: 767px) {
  body {
    padding: 15px 0;
  }
  .pull-left, .pull-right {
    float: none !important;
  }
  .break-xs {
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
    overflow: hidden;
  }
}
@media (max-width: 400px) {
  .header .logo {
    width: var(--logo-small-width, var(--logo-width, 275px));
    height: var(--logo-small-height, var(--logo-height, 50px));
  }
}
.progress-bar {
  background-color: var(--primary-color, #2196f3) !important;
}
