body.has-sidebar > #middle > .uk-container { max-width: none; }

.uk-button { font-size: 0.7rem; }

#footer {position: relative; }

.uk-totop {
  position: absolute;
  bottom: 10px;
  right: 10px;
  line-height: 30px;
}

.uk-notification { width: 450px; }

.ex-btn-tooltip { width: 30px; padding: 0; box-sizing: border-box; }

/* Toggle */
.switch { position: relative; display: inline-block; width: 44px; height: 26px; margin: 0 10px; }
.switch.faded { filter: grayscale(100%); }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 26px;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.uk-invert > .slider { background-color: #20bd0f; }
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  border-radius: 50%;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider { background-color: #20bd0f; }
.uk-invert > input:checked + .slider { background-color: #e61c1c; }
input:focus + .slider { box-shadow: 0 0 1px #20bd0f; }
.uk-invert > input:focus + .slider { box-shadow: 0 0 1px #e61c1c; }
input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

/* Schema */
.tag {
  background-color: #e4e4e4;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: default;
  float: left;
  margin-right: 5px;
  margin-top: 5px;
  padding: 0 5px;
  font-size: 0.8em;
}
.tag > .tag-decorator {
  color: #fff;
  display: inline-block;
  font-weight: bold;
  margin-right: 2px;
  text-shadow: 0 0 2px #222;
}

.select2-container { width: 100% !important; }
.select2-container > .selection > .select2-selection { border: 1px solid #e5e5e5; border-radius: 0; min-height: 150px; }
.select2-container--default
.select2-selection--multiple
.select2-selection__choice { font-size: 0.8em; }

.field-wrapper { margin-top: 0 !important; padding: 5px; }
.field-wrapper:nth-child(odd) {
  background-color: #fafafa;
}

.field-icon {
  text-align: center;
  text-decoration: none;
  cursor: help;
}
.field-label > .field-icon { width: 14px; }
.field-value > .field-icon { width: 20px; }
.field-icon.required { color: #b40; }
.field-icon.readonly { color: #04b; }
.field-icon.protected { color: #04b; }
.field-icon.edit { color: #4b4; cursor: pointer; }

.field-label { position: relative; padding-right: 18px; font-size: 14px; color: #888; font-weight: 300; }
.field-label .field-icon { position: absolute; top: 0; right: 0; }

.field-value { position: relative; padding-right: 24px; }
.field-value .field-icon { position: absolute; top: 0; right: 0; }

.field-value.uk-width-1-1,
.field-edit.uk-width-1-1 { margin-top: 5px; }

.block-actions .uk-button-small { margin-bottom: 10px; }

/*
.field-value.uk-width-1-1,
.field-edit.uk-width-1-1 { margin-top: 0 !important; }
*/

/* Views */
.view-user-edit .uk-card-small .uk-card-body { position: relative; padding: 0 10px; }
.view-user-edit .uk-card-small .uk-card-body:before,
.view-user-edit .uk-card-small .uk-card-body:after {
  content: "";
  position: absolute;
  height: 20px;
  width: 100%;
  left: 0;
}
.view-user-edit .uk-card-small .uk-card-body:before {
  top: 0;
  background-image: linear-gradient(#fff, #fff, transparent);
}
.view-user-edit .uk-card-small .uk-card-body:after {
  bottom: 0;
  background-image: linear-gradient(transparent, #fff, #fff);
}
.view-user-edit .uk-card-body > div { height: calc(100vh - 150px); overflow-y: scroll; padding: 20px 0; }
