/* Specific styles for Zotonic admin
   ----------------------------------------------------------

@package:	Zotonic admin CSS

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
---------------------------------------------------------- */
/* FONT PATH
 * -------------------------- */
@font-face {
  font-family: 'FontAwesome';
  src: url('/lib/font-awesome-4/fonts/fontawesome-webfont.eot?v=4.2.0');
  src: url('/lib/font-awesome-4/fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), url('/lib/font-awesome-4/fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), url('/lib/font-awesome-4/fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), url('/lib/font-awesome-4/fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
body,
body.page-edit {
  color: #222;
  background-color: #f2f1f0;
}
body.wait,
body.page-edit.wait {
  cursor: wait;
}
body.wait .btn,
body.page-edit.wait .btn {
  cursor: wait;
}
@media (max-width: 991px) {
  body > div.container-fluid {
    margin-top: 0;
  }
}
hr {
  background-color: #ddd;
  border: none;
  height: 1px;
  margin: 10px 0;
}
ul,
ol,
p {
  margin: 0 0 15px 0;
}
table td,
table th {
  vertical-align: top;
}
iframe,
audio {
  max-width: 100%;
}
video {
  max-width: 100%;
  height: auto;
}
.unpublished,
.unpublished a:not(.btn),
.unpublished .text-muted,
.unpublished .help-block {
  color: #aaa;
}
.z-drag-drop-placeholder,
ul.blocks.ui-sortable .ui-sortable-placeholder,
ul.media > li.ui-sortable-placeholder {
  background: #ddd;
  border: none;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  visibility: visible !important;
}
.z-text-light {
  color: #aaa;
}
.z-button-row {
  *zoom: 1;
}
.z-button-row:before,
.z-button-row:after {
  content: " ";
  display: table;
}
.z-button-row:after {
  clear: both;
}
.z-button-row > * {
  float: left;
}
.admin-container {
  margin: 15px;
  margin-top: 76px;
}
.admin-container > table,
.admin-container > form > table,
.admin-container .admin-table {
  background-color: white;
  border-radius: 10px;
  border-bottom: 0;
}
.admin-padding {
  padding: 15px;
}
footer {
  margin: 20px 0;
}
body.noframe > .admin-container {
  background: transparent;
}
.admin-image-border,
.admin-edit-media {
  border: 1px solid #fff;
}
.admin-text-header,
.widget .widget-header,
.widget .widget-section-header {
  font-size: 13px;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  color: #777;
}
.admin-word-break,
.admin-header h2,
#dialog_new_rsc_results .items .item h5,
#dialog_new_rsc_results .items .item h6,
table.do_adminLinkedTable th,
table.do_adminLinkedTable td,
table.do_adminLinkedTable .admin-list-thumb > span,
.thumbnails .thumbnail h5,
.thumbnails .thumbnail h6 {
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
p .z-btn-help {
  display: inline;
  vertical-align: text-bottom;
}
.admin-header {
  margin-bottom: 24px;
  *zoom: 1;
}
.admin-header:before,
.admin-header:after {
  content: " ";
  display: table;
}
.admin-header:after {
  clear: both;
}
.admin-header > :last-child {
  margin-bottom: 0;
}
.admin-header h2 {
  margin-top: 0;
  margin-bottom: 0;
  color: #333;
}
.admin-header h2 + p {
  margin-top: 1em;
}
h3 {
  margin: 1.25em 0 .75em 0;
}
pre:empty {
  display: none;
}
.border-danger {
  border-left: 4px solid #d9534f;
  padding-left: 10px;
}
.ui-effects-transfer {
  border: 1px dotted #333;
  z-index: 10000;
}
.text-muted {
  color: #999;
}
.nav .dropdown-menu > li > a.has-icon,
.nav .dropdown-toggle.has-icon {
  position: relative;
  padding-left: 34px;
}
.nav .dropdown-menu > li > a.has-icon .z-icon,
.nav .dropdown-toggle.has-icon .z-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  height: 14px;
  width: 14px;
  margin-top: -7px;
}
.nav.nav-pills {
  border-style: none none solid none;
  border-width: 1px;
}
.dropdown-menu.admin-dropdown-menu-has-icons > li > a {
  padding-left: 40px;
  position: relative;
}
.dropdown-menu.admin-dropdown-menu-has-icons > li > a .glyphicon {
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  line-height: 24px;
}
.dropdown-menu > li > a {
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.dropdown-menu > li.active > a,
.dropdown-menu > li.active > a:hover,
.dropdown-menu > li > a:hover {
  background-color: #0fa2db;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.1);
}
.well {
  background-color: #f5f5f5;
  padding: 15px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.well.z-button-row {
  padding: 15px 15px 11px 15px;
  background-color: white;
  border: 0;
  border-radius: 10px;
}
.well.z-button-row > .btn,
.well.z-button-row > a[href],
.well.z-button-row .btn + .btn {
  margin: 0 4px 4px 0;
}
.alert {
  padding: 10px;
  margin-bottom: 15px;
}
.alert h1,
.alert h2,
.alert h3,
.alert h4,
.alert h5,
.alert h6 {
  margin-top: 0;
}
.modal-header .close {
  margin-top: 3px;
  opacity: 1;
}
a.close,
button.close {
  color: #555;
}
.radio-inline,
.checkbox-inline,
.radio-inline + .radio-inline,
.checkbox-inline + .checkbox-inline {
  margin-left: 0;
  margin-right: 10px;
  margin-bottom: 5px;
}
.checkbox label {
  color: #555;
}
.pagination > li > a {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.pagination > li.disabled > a {
  pointer-events: none;
}
.control-label {
  font-weight: normal;
  color: #777;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
@media (min-width: 768px) {
  .form-horizontal .control-label {
    margin-bottom: 5px;
  }
}
code {
  padding: 0;
}
.z-btn-remove {
  color: #555;
}
.z-btn-remove:hover {
  color: #222;
}
.btn {
  position: relative;
}
.btn > .z-icon {
  width: 18px;
  height: 18px;
  margin-top: -9px;
  line-height: 18px;
  vertical-align: bottom;
  text-align: center;
}
.btn.disabled {
  pointer-events: none;
  background: transparent;
  color: #b7b7b7;
  opacity: 1;
}
.btn.disabled .glyphicon {
  opacity: .6;
}
.btn .glyphicon {
  top: 3px;
}
.btn.btn-xs .glyphicon {
  top: 2px;
}
.btn.btn-sm .glyphicon {
  top: 1px;
}
.btn.btn-primary:hover {
  background-color: #0c91cb;
  border-color: #0b80b3;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.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,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  background-color: #c0c0c0;
  border-color: #bbb;
}
#unlink-undo-message div.alert {
  padding-right: 14px;
  /* right-aligned undo button in page connections */
}
.rsc-item-wrapper {
  margin: 0 0 15px 0;
}
.rsc-item .thumb {
  margin: 0 10px 0 0;
}
.dashboard .widget .widget-header .btn {
  margin-top: -2px;
}
.dashboard .table {
  border-bottom: 0;
  margin-bottom: 0 !important;
}
.dashboard .table > thead > tr:first-child th,
.dashboard .table > tbody > tr:first-child th,
.dashboard .table > thead > tr:first-child td,
.dashboard .table > tbody > tr:first-child td {
  border: none;
}
.dashboard .table > thead > tr > th:first-child,
.dashboard .table > tbody > tr > td:first-child {
  width: 60%;
}
.dashboard .table > thead > tr > th:last-child,
.dashboard .table > tbody > tr > td:last-child {
  width: 40%;
  color: #999;
}
.dashboard .table th {
  display: none;
}
#zmodal #dialog-new-rsc-tab {
  margin: -15px;
}
#dialog-new-rsc-tab .modal-footer {
  border-top: 0;
}
#dialog-new-rsc-tab .new-find-cols {
  display: -ms-grid;
  -ms-grid-columns: 3fr 2fr;
  -ms-grid-rows: minmax(300px, 70vh);
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: minmax(300px, 70vh);
}
#dialog-new-rsc-tab .new-find-cols .modal-footer {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
}
#dialog-new-rsc-tab .new-find-cols > .form-panel {
  -ms-grid-column: 1;
  -ms-grid-row: 1;
  grid-column: 1;
  grid-row: 1;
  background-color: white;
  padding: 10px 15px 0 15px;
  max-height: 100%;
  overflow-y: auto;
}
#dialog-new-rsc-tab .new-find-cols > .rsc-preview-panel-wrapper {
  -ms-grid-column: 1;
  -ms-grid-row: 1;
  grid-column: 1;
  grid-row: 1;
  position: relative;
  background-color: white;
  z-index: 1051;
  padding: 10px 15px 0 15px;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}
#dialog-new-rsc-tab .new-find-cols > .rsc-preview-panel-wrapper .rsc-preview h1 {
  font-size: 23px;
}
#dialog-new-rsc-tab .new-find-cols > .rsc-preview-panel-wrapper .rsc-preview h2 {
  font-size: 17px;
}
#dialog-new-rsc-tab .new-find-cols > .rsc-preview-panel-wrapper .rsc-preview h3 {
  font-size: 17px;
}
#dialog-new-rsc-tab .new-find-cols > .rsc-preview-panel-wrapper .rsc-preview img {
  max-width: 100%;
  margin: 15px 0;
}
#dialog-new-rsc-tab .new-find-cols > .new-find-results {
  -ms-grid-column: 2;
  -ms-grid-row: 1;
  grid-column: 2;
  grid-row: 1;
  display: -ms-grid;
  -ms-grid-columns: 1fr;
  -ms-grid-rows: auto 1fr;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  max-height: 100%;
  padding: 10px 0 0 14px;
  margin-left: 0;
  border-left: 1px solid rgba(215, 215, 215, 0.7);
  background: linear-gradient(to right, #f8f8f8, white, white);
}
#dialog-new-rsc-tab .new-find-cols > .new-find-results > .new-find-results-header {
  -ms-grid-column: 1;
  -ms-grid-row: 1;
  grid-column: 1;
  grid-row: 1;
  padding-right: 15px;
  padding-bottom: 10px;
}
#dialog-new-rsc-tab .new-find-cols > .new-find-results > #dialog-rsc-new-found {
  -ms-grid-column: 1;
  -ms-grid-row: 2;
  grid-column: 1;
  grid-row: 2;
  max-height: 100%;
  padding-right: 15px;
  overflow-x: hidden;
  overflow-y: scroll;
}
#dialog-new-rsc-tab .new-find-cols > .new-find-results > #dialog-rsc-new-found .item {
  background-color: white;
}
#dialog-new-rsc-tab .new-find-cols > .new-find-results #dialog_new_rsc_results {
  margin-top: 0;
}
#dialog_new_rsc_results {
  margin-top: 10px;
}
#dialog_new_rsc_results .items {
  padding: 0;
}
#dialog_new_rsc_results .items .item {
  min-height: 72px;
  overflow: hidden;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 12px;
  padding: 5px;
  font-size: 12px;
  line-height: 1.1em;
  position: relative;
  transition-duration: 0;
  -webkit-transition-duration: 0;
}
#dialog_new_rsc_results .items .item:hover {
  border-color: #888;
}
#dialog_new_rsc_results .items .item.item-connected:not(.item-depiction) {
  background-color: #f5f5f5;
}
#dialog_new_rsc_results .items .item.item-connected:not(.item-depiction),
#dialog_new_rsc_results .items .item.item-connected:not(.item-depiction) h5,
#dialog_new_rsc_results .items .item.item-connected:not(.item-depiction) h6,
#dialog_new_rsc_results .items .item.item-connected:not(.item-depiction) a:link,
#dialog_new_rsc_results .items .item.item-connected:not(.item-depiction) a:visited {
  color: #aaa;
}
#dialog_new_rsc_results .items .item.item-connected:not(.item-depiction) img {
  opacity: .3;
}
#dialog_new_rsc_results .items .item .z-item-text {
  left: 5px;
  top: 5px;
  margin-right: 5px;
}
#dialog_new_rsc_results .items .item img + .z-item-text {
  left: 92.5px;
}
#dialog_new_rsc_results .items .item img {
  padding: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  margin: 0 7.5px 0 0;
}
#dialog_new_rsc_results .items .item h5,
#dialog_new_rsc_results .items .item h6,
#dialog_new_rsc_results .items .item p {
  font-size: 12px;
  line-height: 1.1em;
  font-weight: normal;
  margin: 0;
}
#dialog_new_rsc_results .items .item h5 {
  font-weight: bold;
  margin-bottom: 2px;
}
#dialog_new_rsc_results .items .item h6 {
  text-transform: lowercase;
  color: #777777;
}
#dialog_new_rsc_results .items .item .rsc-actions {
  text-align: right;
}
.panel-footer .inline-div {
  display: inline-block;
  margin-left: 20px;
}
.panel-footer .inline-div:first-child {
  margin-top: 0;
}
.panel-footer .inline-div:last-child {
  margin-bottom: 0;
}
.block-add-block {
  margin: 0 0 9px 0;
}
.block-add-block .dropdown-menu {
  top: auto;
}
ul.blocks.ui-sortable {
  padding: 0;
  margin: 0;
}
ul.blocks.ui-sortable > li {
  list-style-type: none;
  margin-left: 0;
}
ul.blocks.ui-sortable .widget-header {
  position: relative;
}
ul.blocks.ui-sortable .form-control.block-name {
  background-color: transparent;
  margin: 0 0 10px 0;
}
ul.blocks.ui-sortable .form-control.block-name:focus {
  background-color: #fff;
}
ul.blocks.ui-sortable > li > .widget {
  display: -ms-grid;
  -ms-grid-columns: auto 1fr;
  -ms-grid-rows: auto 1fr;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
}
ul.blocks.ui-sortable > li > .widget > .drag-handle {
  -ms-grid-column: 1;
  -ms-grid-row: 1;
  -ms-grid-row-span: 3;
  grid-column: 1;
  grid-row-start: 1;
  grid-row-end: 3;
  cursor: move;
  background: repeat-y url("/lib/images/grippy2.png") 3px 0;
  padding: 10px;
  cursor: drag;
}
ul.blocks.ui-sortable > li > .widget > .widget-header {
  -ms-grid-column: 2;
  -ms-grid-row: 1;
  grid-column: 2;
  grid-row: 1;
  padding-left: 5px;
}
ul.blocks.ui-sortable > li > .widget > .widget {
  -ms-grid-column: 2;
  -ms-grid-row: 2;
  grid-column: 2;
  grid-row: 2;
}
.admin-edit-media {
  position: relative;
}
.admin-cropguide {
  position: absolute;
}
.admin-cropguide.admin-cropguide-horiz {
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  height: 0;
  left: 0;
  right: 0;
}
.admin-cropguide.admin-cropguide-vert {
  border-left: 1px solid rgba(255, 255, 255, 0.65);
  border-right: 1px solid rgba(0, 0, 0, 0.25);
  width: 0;
  top: 0;
  bottom: 0;
}
.system-content-warning {
  background-color: #f0ad4e;
  color: #fff;
  padding: 6px 15px;
  margin: 0 -15px;
}
.system-content-warning a {
  color: inherit;
  text-decoration: underline;
}
.system-content-warning a:hover {
  color: #0a6d93;
}
.edit-page .system-content-warning {
  display: none;
}
body.cg-system_content_group .system-content-warning,
body.cat-meta .system-content-warning,
body.name-administrator .system-content-warning,
body.system-content .system-content-warning {
  display: block;
}
body.cg-system_content_group .navbar > div,
body.cat-meta .navbar > div,
body.name-administrator .navbar > div,
body.system-content .navbar > div {
  border-bottom: 4px solid #f0ad4e;
}
body.cg-system_content_group #sidebar-publish-page .widget-content,
body.cat-meta #sidebar-publish-page .widget-content,
body.name-administrator #sidebar-publish-page .widget-content,
body.system-content #sidebar-publish-page .widget-content {
  border-top: 1px solid #f0ad4e;
}
body.system-content .system-content-warning {
  margin-top: -24px;
  margin-bottom: 20px;
}
.tab-pane > .nav-tabs {
  margin-top: 10px;
}
ul.media {
  margin: 0;
}
ul.media > li {
  margin: 0 10px 10px 0;
  background: #555555;
  width: 180px;
  height: 180px;
  float: left;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
ul.media > li.sortable {
  cursor: move;
}
ul.media > li figure {
  position: relative;
  margin: auto;
}
ul.media > li img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #e5e5e5;
}
ul.media > li .z-btn-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #f0f0f0;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}
ul.media > li .z-btn-remove::before {
  font-size: 20px;
}
ul.media > li .bottom {
  position: absolute;
  padding: 5px;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.5);
}
ul.media > li .bottom .caption {
  height: 16px;
  overflow: hidden;
}
ul.media > li .bottom .caption a {
  word-break: break-all;
  display: block;
  height: 16px;
  max-height: 16px;
  text-overflow: ellipsis;
  line-height: 16px;
  width: 161px;
  vertical-align: text-top;
  color: white;
  text-shadow: 2px 2px black;
}
.edit-page .admin-container {
  margin-top: 50px;
}
.edit-page .admin-header .admin-header-meta {
  margin: 0 -15px 0 -15px;
  padding: 15px;
}
.edit-page .admin-header h2 {
  margin-bottom: 10px;
}
.edit-page .admin-header .admin-btn-category {
  font-size: 12px;
}
.edit-page .admin-header .admin-btn-category {
  margin-top: -2px;
}
.edit-page .admin-header .admin-edit-dates,
.edit-page .admin-header .admin-edit-dates a {
  color: #aaa;
}
.edit-page .admin-header .admin-edit-dates a {
  text-decoration: underline;
}
.edit-page .admin-header .admin-header-has-image {
  padding-left: 100px;
}
/* small image in admin edit */
img.admin-leader-image {
  background-color: #f2f2f2;
  float: left;
  width: 80px;
  height: 60px;
}
.admin-edit-media {
  background: white;
  padding: 0;
  margin: 0 0 10px 0;
}
.ui-datepicker .ui-datepicker-header {
  height: 29px;
}
input.do_datepicker {
  width: 100px;
  display: inline;
}
input.do_timepicker {
  width: 70px;
  display: inline;
}
#sidebar-date-range .tab-content {
  overflow: visible;
}
.navbar.admin-navbar-fixed-save {
  z-index: 1000;
  opacity: 0;
  position: fixed;
  display: none;
  top: 50px;
  border-radius: 0;
  padding: 15px 15px;
  background-color: #a6daf0;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  min-height: inherit;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.scrolled .admin-navbar-fixed-save {
  display: block;
  opacity: 1.0;
}
div + .admin-edit-no-features {
  display: none;
}
.edit-message {
  background-color: #a6daf0;
  border-color: #a6daf0;
  color: #555;
}
.edit-message .btn {
  margin-top: -2px;
}
@media (max-width: 991px) {
  .admin-navbar-fixed-save {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }
}
.form-field-error,
.invalid {
  color: #B94A48;
}
/*
.z_validation_message {
    background-color: #F2DEDE;
    border-color: #EED3D7;
    color: #B94A48;
    margin-left: 9px;
    margin-bottom: 9px;
    display: inline-block;
    vertical-align: middle;
    padding: 5px 9px;
    #3L > .border-radius(@radiusBlockElement);
}
*/
form.form-horizontal .z_validation_message {
  margin-bottom: 0;
}
textarea.form-field-error,
input.form-field-error,
textarea.invalid,
input.invalid {
  background: #ffeeee;
}
input.form-control[type=file] {
  height: auto;
}
select:required:invalid {
  color: gray;
}
option[value=""][disabled] {
  display: none;
}
option {
  color: black;
}
fieldset > label > input[type="checkbox"],
.form-group > label > input[type="checkbox"],
fieldset > label.radio > input[type="checkbox"],
.form-group > label.radio > input[type="checkbox"],
fieldset > label.checkbox > input[type="checkbox"],
.form-group > label.checkbox > input[type="checkbox"],
fieldset > label > input[type="radio"],
.form-group > label > input[type="radio"],
fieldset > label.radio > input[type="radio"],
.form-group > label.radio > input[type="radio"],
fieldset > label.checkbox > input[type="radio"],
.form-group > label.checkbox > input[type="radio"] {
  position: relative;
  margin-left: 0;
}
img.thumb {
  padding: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
img {
  max-width: 100%;
  height: auto;
}
.widget.admin-logon {
  margin: 100px auto;
  max-width: 480px;
}
.widget.admin-logon .z-logon-box {
  max-width: none;
  margin: 0 auto;
}
.widget.admin-logon .z-logon-box button[type="submit"],
.widget.admin-logon .z-logon-box input[type="submit"] {
  width: auto;
}
.widget.admin-logon .z-logon-box .z-logon-form {
  margin: 0 auto;
}
.widget.admin-logon .z-logon-box .z-logon-title {
  font-size: 1em;
  margin: 0 0 1em 0;
  font-weight: bold;
}
.widget.admin-logon .z-logon-box .z-logon-support {
  margin-left: -15px;
  margin-right: -15px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
  border-top: 1px solid #d7d7d7;
}
.widget.admin-logon .z-logon-box .alert {
  display: none;
}
.widget.admin-logon .z-logon-box.z-logon-error .alert {
  display: block;
}
.widget.admin-logon .z-logon-box.z-logon-error .alert :last-child {
  margin-bottom: 0;
}
.map-wrapper {
  height: 300px;
  width: 610px;
  border: 3px solid #d7d7d7;
  margin: 0 0 9px 0;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
@media (min-width: 720px) {
  .modal-dialog {
    min-width: 700px;
  }
}
div.modal div.tab-content {
  overflow: visible;
}
div.modal .nav.nav-pills {
  margin: -15px -15px 15px -15px;
  padding: 0 15px;
}
div.modal .modal-body > :first-child:not(.nav) {
  margin-top: 0;
}
div.modal .modal-footer {
  font-size: 0;
}
div.modal .modal-footer .pull-left {
  margin-left: 0;
}
#menu-editor .widget-header {
  height: auto;
}
.navbar.navbar-branded {
  min-height: 50px;
  height: 50px;
  background-color: #0fa2db;
}
.navbar.navbar-branded .navbar-header > a,
.navbar.navbar-branded .nav > li > a {
  color: #fff;
}
.navbar.navbar-branded .nav > li > a:hover,
.navbar.navbar-branded .nav > li > a:focus,
.navbar.navbar-branded .navbar-nav > .open > a,
.navbar.navbar-branded .navbar-nav > .active > a {
  background-color: #0c91cb;
  color: #fff;
}
.navbar.navbar-branded .navbar-brand {
  font-size: 15px;
  line-height: 15px;
  padding: 17px 15px;
}
.navbar.navbar-branded .navbar-brand .zotonic-logo {
  height: 15px;
  width: 87px;
  text-shadow: 0 1px 0 rgba(0,0,0,.1);
}
.navbar.navbar-branded .navbar-right {
  margin-right: 15px;
}
.navbar.navbar-branded .navbar-nav > li > a,
.navbar.navbar-branded .navbar-nav > li > .dropdown-menu > li > a {
  text-shadow: 0 1px 0 rgba(0,0,0,.1);
}
.navbar.navbar-branded .navbar-toggle {
  border-color: rgba(255, 255, 255, 0.7);
}
.navbar.navbar-branded .navbar-toggle .icon-bar {
  background-color: rgba(255, 255, 255, 0.7);
}
.navbar.navbar-branded .navbar-form {
  margin-right: 0;
}
.navbar.navbar-branded .navbar-form .form-control {
  width: 9em;
  transition: width 200ms lineair;
  color: white;
  padding-left: 4px;
  padding-right: 4px;
  background-color: inherit;
}
.navbar.navbar-branded .navbar-form .form-control::placeholder {
  color: white;
}
.navbar.navbar-branded .navbar-form .form-control.search-query:focus {
  position: absolute;
  right: 10px;
  width: 90vw;
  max-width: 500px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #222;
  padding: 4px 10px;
  font-size: 2rem;
}
.navbar.navbar-branded .navbar-form .form-control.search-query:focus::placeholder {
  color: #666;
}
.navbar.navbar-branded .navbar-collapse {
  background-color: #0fa2db;
}
.navbar.navbar-branded .collapse.in {
  max-height: none;
}
.navbar.navbar-branded .collapse.in .nav > .dropdown.pull-right {
  float: none !important;
}
.navbar.navbar-branded .collapse.in .nav > .dropdown.open .dropdown-menu {
  background-color: #efefef;
  border-radius: 0;
}
.navbar.navbar-branded .collapse.in .nav > .dropdown.open .dropdown-menu > li > a {
  background-color: #efefef;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.navbar.navbar-branded .collapse.in .nav > .dropdown.open .dropdown-menu > li > a:hover {
  background: #0fa2db;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.1);
}
.navbar .dropdown-toggle .z-username {
  display: none;
}
.navbar .dropdown-header.z-username {
  display: none;
}
body.navbar-menu-open {
  overflow: hidden;
}
@media (min-width: 480px) {
  .navbar .dropdown-header.z-username {
    display: block;
  }
  .navbar .collapse.in .dropdown-toggle .z-username {
    display: inline;
  }
  .navbar .collapse.in .dropdown-header.z-username {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1050px) {
  .navbar.navbar-branded .navbar-brand {
    display: none;
  }
  .navbar.navbar-branded {
    padding: 0 5px;
  }
  .navbar.navbar-branded .dropdown > a {
    padding-right: 10px;
    padding-left: 10px;
  }
}
@media (min-width: 1050px) {
  .navbar .dropdown-toggle .z-username {
    display: inline;
  }
  .navbar .dropdown-header.z-username {
    display: none;
  }
}
.modal-overlay.dark {
  background-color: #1e1e1e;
  color: #f8f8f8;
}
.modal-overlay.dark h2,
.modal-overlay.dark h3,
.modal-overlay.dark h4,
.modal-overlay.dark label {
  color: #f8f8f8;
}
.modal-overlay.dark hr {
  background-color: #5e5e5e;
}
.rsc-preview-wrapper .rsc-preview {
  max-width: 800px;
  margin: 10px auto;
  padding: 10px;
}
input[type="text"].rtl,
textarea.rtl {
  font-size: 150%;
}
body[dir=rtl] label {
  float: right;
  text-align: right;
}
span.icon_status {
  width: 14px;
  height: 14px;
  display: inline-block;
  position: relative;
  margin-top: 3px;
}
span.icon_status:before {
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  content: " ";
  background-color: #ddd;
  z-index: 0;
}
span.icon_status:after {
  position: absolute;
  top: 1px;
  left: 1px;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  content: " ";
  background-color: #efefef;
  z-index: 1;
}
span.icon_status.icon_status_running:before,
span.icon_status.icon_status_ok:before {
  background-image: -moz-linear-gradient(top, #3ca43c 0%, #80e880 100%);
  background-image: -webkit-linear-gradient(top, #3ca43c 0%, #80e880 100%);
  background-image: linear-gradient(to bottom, #3ca43c 0%, #80e880 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3ca43c', endColorstr='#80e880', GradientType=0);
}
span.icon_status.icon_status_running:after,
span.icon_status.icon_status_ok:after {
  background: #00D100;
  box-shadow: inset 0 -7px 7px rgba(100, 100, 100, 0.1), inset 0 7px 7px rgba(255, 255, 255, 0.3);
}
span.icon_status.icon_status_error:before {
  background-image: -moz-linear-gradient(top, #b2613c 0%, #f6a580 100%);
  background-image: -webkit-linear-gradient(top, #b2613c 0%, #f6a580 100%);
  background-image: linear-gradient(to bottom, #b2613c 0%, #f6a580 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b2613c', endColorstr='#f6a580', GradientType=0);
}
span.icon_status.icon_status_error:after {
  background: #ED4A00;
  box-shadow: inset 0 -7px 7px rgba(100, 100, 100, 0.1), inset 0 7px 7px rgba(255, 255, 255, 0.3);
}
span.icon_status.icon_status_warning:before,
span.icon_status.icon_status_retrying:before {
  background-image: -moz-linear-gradient(top, #bb9a3c 0%, #ffde80 100%);
  background-image: -webkit-linear-gradient(top, #bb9a3c 0%, #ffde80 100%);
  background-image: linear-gradient(to bottom, #bb9a3c 0%, #ffde80 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bb9a3c', endColorstr='#ffde80', GradientType=0);
}
span.icon_status.icon_status_warning:after,
span.icon_status.icon_status_retrying:after {
  background: #FFBD00;
  box-shadow: inset 0 -7px 7px rgba(100, 100, 100, 0.1), inset 0 7px 7px rgba(255, 255, 255, 0.3);
}
span.icon_status.icon_status_starting:before {
  background-image: -moz-linear-gradient(top, #adb83c 0%, #f1fc80 100%);
  background-image: -webkit-linear-gradient(top, #adb83c 0%, #f1fc80 100%);
  background-image: linear-gradient(to bottom, #adb83c 0%, #f1fc80 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#adb83c', endColorstr='#f1fc80', GradientType=0);
}
span.icon_status.icon_status_starting:after {
  background: #E2F800;
  box-shadow: inset 0 -7px 7px rgba(100, 100, 100, 0.1), inset 0 7px 7px rgba(255, 255, 255, 0.3);
}
ul.suggestions-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
ul.suggestions-list li a {
  display: block;
  background-image: -moz-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
  background-image: -webkit-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
  background-image: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
  border: 1px solid #E0E0E0;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  margin-bottom: -1px;
  padding: 2px 4px;
}
ul.suggestions-list li a .pull-right {
  color: #999;
}
ul.suggestions-list li a:hover span.pull-right,
ul.suggestions-list li a:hover {
  color: #f5f5f5;
  background: #999;
  text-decoration: none;
}
/* override table-striped */
.table-striped > tbody > tr:nth-child(odd) {
  background-color: #fff;
}
td.clickable,
tr.clickable td {
  cursor: pointer;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  border-top: 1px solid #e5e5e5;
}
.table {
  border-bottom: 1px solid #e5e5e5;
}
table.data-table {
  max-width: 100%;
}
table.data-table th,
table.data-table td {
  word-break: break-all;
}
table.do_adminLinkedTable th a:hover {
  text-decoration: none;
}
table.do_adminLinkedTable td.view-link {
  padding: 0;
}
table.do_adminLinkedTable td a.view-link {
  display: block;
  padding: 8px;
  color: inherit;
}
table.do_adminLinkedTable td a.view-link:hover {
  text-decoration: none;
}
table.do_adminLinkedTable .buttons {
  margin-top: -2px;
  margin-bottom: -2px;
}
table.do_adminLinkedTable h5,
table.do_adminLinkedTable p {
  margin: 0;
}
table.do_adminLinkedTable .admin-list-thumb {
  display: table-row;
}
table.do_adminLinkedTable .admin-list-thumb > img,
table.do_adminLinkedTable .admin-list-thumb > span {
  display: table-cell;
  vertical-align: top;
}
table.do_adminLinkedTable .admin-list-thumb > img {
  width: 40px;
  height: 30px;
  margin: 0 10px 0 0;
}
.table > thead > tr > th {
  border-width: 1px;
}
.table tbody tr.clickable td,
.table tbody tr.clickable th,
.table tbody tr td.clickable,
.table tbody tr th.clickable {
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}
.table tbody tr.clickable:hover td,
.table tbody tr.clickable:hover th,
.table tbody tr:hover td.clickable,
.table tbody tr:hover th.clickable {
  background-color: #eee;
}
table.table tr.unpublished td a.btn-success {
  color: white;
}
.arrow {
  height: 0;
  width: 0;
  border: 4px solid transparent;
  vertical-align: middle;
}
.arrow.up {
  border-bottom-color: #000;
  border-bottom-color: currentColor;
  margin-top: -4px;
}
.arrow.down {
  border-top-color: #000;
  border-top-color: currentColor;
  margin-top: 4px;
}
th .arrow {
  display: inline-block;
  margin-left: 8px;
}
th a:hover .arrow.up {
  border-bottom-color: currentColor;
}
th a:hover .arrow.down {
  border-top-color: currentColor;
}
.nav-tabs > li > a {
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.minimalTabs,
.nav.nav-pills,
.widget ul.nav-tabs {
  padding: 0;
  border-color: rgba(215, 215, 215, 0.7);
  margin: 0;
}
.minimalTabs > li,
.nav.nav-pills > li,
.widget ul.nav-tabs > li {
  margin-bottom: -1px;
}
.minimalTabs > li > a,
.minimalTabs li.active > a,
.nav.nav-pills > li > a,
.nav.nav-pills li.active > a,
.widget ul.nav-tabs > li > a,
.widget ul.nav-tabs li.active > a {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  margin-right: 0;
  border: none;
  background: none;
  padding-top: 8px;
  padding-bottom: 8px;
  border-style: none none solid none;
  border-width: 2px;
  border-color: transparent;
}
.minimalTabs > li > a,
.nav.nav-pills > li > a,
.widget ul.nav-tabs > li > a {
  background-color: transparent;
}
.minimalTabs > li:not(.disabled) > a,
.nav.nav-pills > li:not(.disabled) > a,
.widget ul.nav-tabs > li:not(.disabled) > a {
  color: #555;
}
.minimalTabs > li.disabled > a,
.minimalTabs > li.disabled > a:hover,
.minimalTabs > li.disabled > a:focus,
.nav.nav-pills > li.disabled > a,
.nav.nav-pills > li.disabled > a:hover,
.nav.nav-pills > li.disabled > a:focus,
.widget ul.nav-tabs > li.disabled > a,
.widget ul.nav-tabs > li.disabled > a:hover,
.widget ul.nav-tabs > li.disabled > a:focus {
  color: #aaa;
}
.minimalTabs li.active > a,
.minimalTabs li.active > a:focus,
.minimalTabs li.active > a:hover,
.nav.nav-pills li.active > a,
.nav.nav-pills li.active > a:focus,
.nav.nav-pills li.active > a:hover,
.widget ul.nav-tabs li.active > a,
.widget ul.nav-tabs li.active > a:focus,
.widget ul.nav-tabs li.active > a:hover {
  border-style: none none solid none;
  border-width: 2px;
  border-bottom-color: #00C853;
  color: #555;
  background: none;
}
.minimalTabs.nav-justified,
.nav.nav-pills.nav-justified,
.widget ul.nav-tabs.nav-justified {
  border-bottom: 1px solid #d7d7d7;
}
.minimalTabs.nav-justified > li > a,
.nav.nav-pills.nav-justified > li > a,
.widget ul.nav-tabs.nav-justified > li > a {
  margin-bottom: -1px;
}
.connect-results {
  max-height: 400px;
  margin-top: 15px;
  padding: 10px 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.connect-results .row {
  margin-left: -6px;
  margin-right: -6px;
}
.thumbnails {
  list-style: none;
  padding: 0;
  *zoom: 1;
}
.thumbnails:before,
.thumbnails:after {
  content: " ";
  display: table;
}
.thumbnails:after {
  clear: both;
}
.thumbnails [class*="col-"] {
  padding-left: 6px;
  padding-right: 6px;
}
.thumbnails .thumbnail {
  min-height: 72px;
  max-height: 72px;
  overflow: hidden;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  cursor: pointer;
  margin-bottom: 12px;
  padding: 5px;
  font-size: 12px;
  line-height: 1.1em;
  position: relative;
  transition-duration: 0;
  -webkit-transition-duration: 0;
}
.thumbnails .thumbnail,
.thumbnails .thumbnail a:link,
.thumbnails .thumbnail a:visited {
  color: #222;
}
.thumbnails .thumbnail:hover {
  border-color: #888;
}
.thumbnails .thumbnail.thumbnail-connected:not(.thumbnail-depiction) {
  background-color: #f5f5f5;
}
.thumbnails .thumbnail.thumbnail-connected:not(.thumbnail-depiction),
.thumbnails .thumbnail.thumbnail-connected:not(.thumbnail-depiction) h5,
.thumbnails .thumbnail.thumbnail-connected:not(.thumbnail-depiction) h6,
.thumbnails .thumbnail.thumbnail-connected:not(.thumbnail-depiction) a:link,
.thumbnails .thumbnail.thumbnail-connected:not(.thumbnail-depiction) a:visited {
  color: #aaa;
}
.thumbnails .thumbnail.thumbnail-connected:not(.thumbnail-depiction) img {
  opacity: .3;
}
.thumbnails .thumbnail .z-thumbnail-text {
  position: absolute;
  left: 5px;
  top: 5px;
  margin-right: 5px;
  height: 60px;
  max-height: 60px;
  overflow: hidden;
}
.thumbnails .thumbnail img + .z-thumbnail-text {
  left: 92.5px;
}
.thumbnails .thumbnail img {
  padding: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  margin: 0 7.5px 0 0;
}
.thumbnails .thumbnail h5,
.thumbnails .thumbnail h6,
.thumbnails .thumbnail p {
  font-size: 12px;
  line-height: 1.1em;
  font-weight: normal;
  margin: 0;
}
.thumbnails .thumbnail h5 {
  font-weight: bold;
  margin-bottom: 2px;
}
.thumbnails .thumbnail h6 {
  text-transform: lowercase;
}
.thumbnails .thumbnail p {
  max-height: 2.2em;
  overflow: hidden;
}
table.mceLayout,
textarea.tinyMCE {
  width: 100% !important;
}
#zmedia-props-form [class*="span"] {
  margin-bottom: 20px;
}
#zmedia-props-form .control-label {
  font-weight: bold;
}
#zmedia-props-form .radio .thumbnail {
  max-width: 90%;
}
.z-tinymce-media-left {
  border: 1px solid #e5e5e5;
}
.dialog .z-tinymce-media-options label {
  float: none;
  width: auto;
}
.z-tinymce-media-options p {
  margin: 0;
}
.wp_themeSkin .mceStatusbar div {
  width: 600px;
  overflow: hidden;
}
div.widget-content .mce-tinymce.mce-container {
  border: 0;
}
/* sets tinyMCE font size in admin */
div.widget-content .mce-container,
div.widget-content .mce-container *,
div.widget-content .mce-widget,
div.widget-content .mce-widget *,
div.widget-content .mce-reset {
  font-size: 13px;
}
.mce-container {
  border: none;
}
.mce-container .mce-panel {
  border: none;
}
.mce-container .mce-statusbar {
  border-bottom: 0;
  border-top: 1px solid #eeeeee;
}
.mce-container .mce-statusbar .mce-path-item {
  background: #eeeeee;
  border-radius: 5px;
  padding: 2px 6px;
}
ul.tree-list li.menu-item > div {
  background-color: #fefefe;
}
ul.tree-list li.menu-item > div > a {
  color: #777;
}
ul.tree-list li.menu-item > div > a:hover {
  color: #222;
  text-decoration: none;
}
ul.tree-list li.menu-item ul li:first-child {
  margin-top: 1px;
}
ul.tree-list li.menu-item ul li:last-child {
  margin-bottom: 2px;
}
ul.tree-list li.menu-item + li.menu-item {
  margin-top: -1px;
}
ul.tree-list.categories {
  padding-bottom: 40px;
}
ul.tree-list.categories li.menu-item span.category,
ul.tree-list.tree-list-menu li.menu-item span.category {
  display: none;
}
ul.tree-list.connections-list {
  min-height: 12px;
}
ul.tree-list.connections-list li.menu-item > div {
  overflow: hidden;
}
ul.tree-list.connections-list li.menu-item-alert {
  padding: 10px;
  text-align: center;
}
/*
ul.tree-list {
    margin: 0;
    
    &:empty {
        margin: 0;
    }
    
    > li:last-child {
        margin-bottom: 10px;
    }
    
    li.menu-item {
    	@_toggle_width: 40px;
        @_left_spacing: @_toggle_width;
        @_vertical_spacing: 10px;
        @_icon_size: 16px;
        @_item_height: 34px;
        @_line_height: 1.2;
        @_side_spacing: (@_toggle_width - @_icon_size) / 2;
        
        line-height: @_line_height;
        border: none;

        // nested:
        li.menu-item:last-child {
            margin: 0;
        }

        .menu-toggle > i,
        .z-icon-drag,
        .z-btn-remove {
            width: @_icon_size;
            height: @_icon_size;
            font-size: @_icon_size;
            line-height: @_icon_size;
            position: absolute;
            top: 50%;
            margin-top: -@_icon_size/2;
        }
        .z-icon-drag {
            color: #999;
            left: @_side_spacing;
        }
        .z-btn-remove {
            right: @_side_spacing;
        }
        > div {
            position: relative;
            margin: -1px 0 0 0;
            padding: 0;
            #3L > .gradient(#ffffff, @backgroundColorLightest);

            &:hover {
                background-color: @backgroundColorInteractiveLight;
            }
            > a,
            > span:not(.btns) {
                display: inline-block;
                width: 100%;
                padding: @_vertical_spacing 40px @_vertical_spacing @_left_spacing;
                min-height: @_item_height;
            }

            > a {
                color: @textColorMedium;

                &:hover {
                    color: @textColorDark;
                    text-decoration: none;
                }
            }
            a.menu-toggle {
                position: absolute;
                width: @_toggle_width;
                height: @_item_height;
                line-height: @_item_height;
                color: #ccc;
                padding: 0;
                top: 0;
                left: 0;
                display: none;
                
                &:hover {
                    cursor: pointer;
                    text-decoration: none;
                    color: black;
                }
                > i {
                    left: 50%;
                    margin-left: -@_icon_size/2;
                    cursor: pointer;
                }
                > i.menu-collapse {
                    display: none;
                }
                > i.menu-expand {
                    display: block;
                }
            }
            .label {
                color: @textColorMuted;
            }
        }

        @_img_width: 32px / 3 * 2;
		@_img_height: 24px / 3 * 2;

		img.admin-list-dashboard {
			width: @_img_width;
			height: @_img_height;
			margin-bottom: 2px;
		}
        &.has-submenu {
            > div {
                a.menu-toggle {
                    display: block;
                }
            }
        }
        &.submenu-open {
            > div {
                a.menu-toggle {
                    > i.menu-collapse {
                        display: block;
                    }
                    > i.menu-expand {
                        display: none;
                    }
                }
            }
        }
        > ul {
            display: none;
        }
        &.submenu-open {
            > ul {
                display: block;
            }
        }

        .warning {
            position: absolute;
            top: 12px;
            right: 120px;
        }
        .btns {
            display: block;
            position: absolute;
            right: @_side_spacing;
            top: 7px;
            
            .btn-group {
                margin: 0;
            }
        }
    }
    &.categories {
        padding-bottom: 40px;
    }
    &.categories,
    &.tree-list-menu {
        li.menu-item {
            span.category {
                display: none;
            }
        }
    }

}

ul.tree-list.connections-list {
    min-height: 12px;

    li.menu-item > div {
        overflow: hidden;
    }

    li.menu-item-alert {
        padding: 10px;
        text-align: center;
    }
}
*/
.nav-tabs + .widget {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.widget {
  background-color: white;
  margin-bottom: 15px;
  border-bottom: none;
  border-radius: 10px;
  *zoom: 1;
}
.widget:before,
.widget:after {
  content: " ";
  display: table;
}
.widget:after {
  clear: both;
}
.widget .widget {
  margin-bottom: 0;
}
.widget.dark {
  background-color: #e9e9e9;
}
.widget h5 {
  margin-top: 18px;
}
.widget .widget-content {
  position: relative;
  padding: 15px 15px 0 15px;
  border-radius: 0 0 10px 10px;
  border-top: none;
}
.widget .widget-content.widget-content-full {
  padding: 0;
}
.widget .widget-content.widget-content-full .table > thead > tr > th:first-child,
.widget .widget-content.widget-content-full .table > tbody > tr > td:first-child {
  padding-left: 15px;
}
.widget .widget-content.widget-content-full .table > thead > tr > th:last-child,
.widget .widget-content.widget-content-full .table > tbody > tr > td:last-child {
  padding-right: 15px;
}
.widget .widget-content .table-like {
  padding: 8px 15px;
}
.widget .widget-content hr {
  margin: 15px -15px;
}
.widget .widget-content .mce-tinymce {
  margin: 0 -15px;
  width: auto !important;
}
.widget .widget-content .widget-content {
  padding-top: 0;
}
.widget .widget-content .widget-content > :last-child {
  margin-bottom: 0;
}
.widget .widget-content + .widget-content > .tab-pane {
  padding-top: 0;
}
.widget .widget-content:empty {
  display: none;
}
.widget .widget-content h1:not(.panel-heading .widget .widget-content h1),
.widget .widget-content h2:not(.panel-heading .widget .widget-content h1),
.widget .widget-content h3:not(.panel-heading .widget .widget-content h1),
.widget .widget-content h4:not(.panel-heading .widget .widget-content h1),
.widget .widget-content h5:not(.panel-heading .widget .widget-content h1),
.widget .widget-content h6:not(.panel-heading .widget .widget-content h1),
.widget .widget-content h1:not(.panel-heading .widget .widget-content h2),
.widget .widget-content h2:not(.panel-heading .widget .widget-content h2),
.widget .widget-content h3:not(.panel-heading .widget .widget-content h2),
.widget .widget-content h4:not(.panel-heading .widget .widget-content h2),
.widget .widget-content h5:not(.panel-heading .widget .widget-content h2),
.widget .widget-content h6:not(.panel-heading .widget .widget-content h2),
.widget .widget-content h1:not(.panel-heading .widget .widget-content h3),
.widget .widget-content h2:not(.panel-heading .widget .widget-content h3),
.widget .widget-content h3:not(.panel-heading .widget .widget-content h3),
.widget .widget-content h4:not(.panel-heading .widget .widget-content h3),
.widget .widget-content h5:not(.panel-heading .widget .widget-content h3),
.widget .widget-content h6:not(.panel-heading .widget .widget-content h3),
.widget .widget-content h1:not(.panel-heading .widget .widget-content h4),
.widget .widget-content h2:not(.panel-heading .widget .widget-content h4),
.widget .widget-content h3:not(.panel-heading .widget .widget-content h4),
.widget .widget-content h4:not(.panel-heading .widget .widget-content h4),
.widget .widget-content h5:not(.panel-heading .widget .widget-content h4),
.widget .widget-content h6:not(.panel-heading .widget .widget-content h4),
.widget .widget-content h1:not(.panel-heading .widget .widget-content h5),
.widget .widget-content h2:not(.panel-heading .widget .widget-content h5),
.widget .widget-content h3:not(.panel-heading .widget .widget-content h5),
.widget .widget-content h4:not(.panel-heading .widget .widget-content h5),
.widget .widget-content h5:not(.panel-heading .widget .widget-content h5),
.widget .widget-content h6:not(.panel-heading .widget .widget-content h5),
.widget .widget-content h1:not(.panel-heading .widget .widget-content h6),
.widget .widget-content h2:not(.panel-heading .widget .widget-content h6),
.widget .widget-content h3:not(.panel-heading .widget .widget-content h6),
.widget .widget-content h4:not(.panel-heading .widget .widget-content h6),
.widget .widget-content h5:not(.panel-heading .widget .widget-content h6),
.widget .widget-content h6:not(.panel-heading .widget .widget-content h6) {
  margin: 15px 0;
}
.widget .widget-content h1:not(.panel-heading .widget .widget-content h1):first-of-type,
.widget .widget-content h2:not(.panel-heading .widget .widget-content h1):first-of-type,
.widget .widget-content h3:not(.panel-heading .widget .widget-content h1):first-of-type,
.widget .widget-content h4:not(.panel-heading .widget .widget-content h1):first-of-type,
.widget .widget-content h5:not(.panel-heading .widget .widget-content h1):first-of-type,
.widget .widget-content h6:not(.panel-heading .widget .widget-content h1):first-of-type,
.widget .widget-content h1:not(.panel-heading .widget .widget-content h2):first-of-type,
.widget .widget-content h2:not(.panel-heading .widget .widget-content h2):first-of-type,
.widget .widget-content h3:not(.panel-heading .widget .widget-content h2):first-of-type,
.widget .widget-content h4:not(.panel-heading .widget .widget-content h2):first-of-type,
.widget .widget-content h5:not(.panel-heading .widget .widget-content h2):first-of-type,
.widget .widget-content h6:not(.panel-heading .widget .widget-content h2):first-of-type,
.widget .widget-content h1:not(.panel-heading .widget .widget-content h3):first-of-type,
.widget .widget-content h2:not(.panel-heading .widget .widget-content h3):first-of-type,
.widget .widget-content h3:not(.panel-heading .widget .widget-content h3):first-of-type,
.widget .widget-content h4:not(.panel-heading .widget .widget-content h3):first-of-type,
.widget .widget-content h5:not(.panel-heading .widget .widget-content h3):first-of-type,
.widget .widget-content h6:not(.panel-heading .widget .widget-content h3):first-of-type,
.widget .widget-content h1:not(.panel-heading .widget .widget-content h4):first-of-type,
.widget .widget-content h2:not(.panel-heading .widget .widget-content h4):first-of-type,
.widget .widget-content h3:not(.panel-heading .widget .widget-content h4):first-of-type,
.widget .widget-content h4:not(.panel-heading .widget .widget-content h4):first-of-type,
.widget .widget-content h5:not(.panel-heading .widget .widget-content h4):first-of-type,
.widget .widget-content h6:not(.panel-heading .widget .widget-content h4):first-of-type,
.widget .widget-content h1:not(.panel-heading .widget .widget-content h5):first-of-type,
.widget .widget-content h2:not(.panel-heading .widget .widget-content h5):first-of-type,
.widget .widget-content h3:not(.panel-heading .widget .widget-content h5):first-of-type,
.widget .widget-content h4:not(.panel-heading .widget .widget-content h5):first-of-type,
.widget .widget-content h5:not(.panel-heading .widget .widget-content h5):first-of-type,
.widget .widget-content h6:not(.panel-heading .widget .widget-content h5):first-of-type,
.widget .widget-content h1:not(.panel-heading .widget .widget-content h6):first-of-type,
.widget .widget-content h2:not(.panel-heading .widget .widget-content h6):first-of-type,
.widget .widget-content h3:not(.panel-heading .widget .widget-content h6):first-of-type,
.widget .widget-content h4:not(.panel-heading .widget .widget-content h6):first-of-type,
.widget .widget-content h5:not(.panel-heading .widget .widget-content h6):first-of-type,
.widget .widget-content h6:not(.panel-heading .widget .widget-content h6):first-of-type {
  margin-top: 0;
}
.widget .widget-content > .pull-right {
  margin-left: 10px;
}
.widget .widget-content:empty {
  padding: 0;
}
.widget .tab-pane {
  padding-top: 15px;
}
.widget .widget-header + .widget-content,
.widget .widget-header + .nav {
  border-top: 1px solid rgba(215, 215, 215, 0.7);
}
.widget .widget-header,
.widget .widget-section-header {
  font-weight: bold;
}
.widget .widget-section-header {
  margin: 20px 0 0 0;
}
.widget .widget-header {
  margin: 0;
  padding: 15px 15px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  font-size: 17px;
  font-weight: normal;
  line-height: 16px;
  border-radius: 10px;
}
.widget .widget-header .z-btn-remove {
  display: block;
  position: absolute;
  top: 15px;
  right: 41px;
  z-index: 1;
}
.widget .widget-header .widget-header-tools {
  float: right;
  font-size: 0;
  text-align: right;
}
.widget .widget-header .widget-header-tools .z-btn-help,
.widget .widget-header .widget-header-tools .z-icon {
  display: inline-block;
  margin-left: 12px;
  line-height: inherit;
}
.widget .widget-header .widget-header-tools .z-btn-help {
  color: #aaa;
}
.widget .widget-header .z-icon-plus,
.widget .widget-header .z-icon-minus {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-shadow: none;
}
.widget .widget-header .text-muted.pull-right {
  font-size: 12px;
}
.widget.widget-expanded .widget-header,
.widget.dark.widget-expanded .widget-header {
  border-radius: 10px 10px 0 0;
}
.widget.widget-expanded .widget-header .widget-header-tools .z-btn-help,
.widget.dark.widget-expanded .widget-header .widget-header-tools .z-btn-help {
  color: #069cd1;
}
.widget h5 {
  display: block;
  margin: 20px 0;
}
.widget .admin-button-help {
  display: block;
  float: right;
  width: 16px;
  height: 16px;
  background-color: #333;
  border-color: #fff;
  border-radius: 8px;
}
.widget .navbar {
  background-color: #dadada;
  padding: 10px 0;
}
.widget.widget-active:not(.widget-expanded) .widget-header:hover {
  -webkit-transition: background 0.1s ease-in-out;
  transition: background 0.1s ease-in-out;
  cursor: pointer;
}
li h3.widget-header {
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}
.widget ul.nav-tabs.language-tabs {
  border-bottom: 1px solid #e5e5e5;
}
.modal .widget {
  background-color: transparent;
  margin-bottom: 0;
}
.modal .widget .widget-content {
  padding: 0;
}
.modal .widget > ul.nav-tabs {
  padding: 0;
  margin: 0 0 15px 0;
  background: none;
  border-color: #e5e5e5;
}
/* scroll - keep the save buttons into view
   --------------------------------------------------------- */
#sidebar-publish-page .widget-content {
  display: block;
}
#sidebar-publish-page h3.widget-header i {
  display: none;
}
.notice-wrap {
  position: fixed;
  top: 60px;
  right: 20px;
  width: 300px;
  z-index: 9999;
}
.dragover:after {
  content: '⇪';
  position: fixed;
  display: block;
  padding-top: 40vh;
  text-align: center;
  top: 0px;
  left: 0px;
  height: 100vh;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.6);
  color: rgba(0, 0, 0, 0.5);
  font-size: 128px;
  line-height: 1;
  z-index: 10000;
}
.environment-development body,
.environment-test body,
.environment-acceptance body,
.environment-education body,
.environment-backup body {
  padding-left: 24px;
}
@media (min-width: 480px) {
  .environment-development body::before,
  .environment-test body::before,
  .environment-acceptance body::before,
  .environment-education body::before,
  .environment-backup body::before {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 24px;
    font-size: 14px;
    display: block;
    color: white;
    writing-mode: tb-rl;
    text-align: center;
  }
}
.environment-development body .navbar .nav .caret,
.environment-test body .navbar .nav .caret,
.environment-acceptance body .navbar .nav .caret,
.environment-education body .navbar .nav .caret,
.environment-backup body .navbar .nav .caret {
  border-top-color: white;
  border-bottom-color: white;
}
@media (min-width: 480px) {
  .environment-development body::before {
    background-color: #2e6d32;
    background-image: linear-gradient(#2e6d32, white);
    content: "development";
  }
}
.environment-development.zotonic-admin .navbar.navbar-branded {
  background-color: #2e6d32;
}
.environment-development.zotonic-admin .navbar.navbar-branded .navbar-collapse {
  background-color: #2e6d32;
}
.environment-development.zotonic-admin .navbar.navbar-branded .nav > li > a:hover,
.environment-development.zotonic-admin .navbar.navbar-branded .nav > li > a:focus {
  background-color: #1f4922;
}
.environment-development.zotonic-admin .navbar.navbar-branded .navbar-nav > .open > a,
.environment-development.zotonic-admin .navbar.navbar-branded .navbar-nav > .active > a {
  background-color: #1f4922;
}
@media (max-width: 768px) {
  .environment-development.zotonic-admin .navbar.navbar-branded .dropdown-menu > li > a {
    color: white;
  }
}
.environment-development.zotonic-admin .navbar.navbar-branded .dropdown-menu > li.active > a,
.environment-development.zotonic-admin .navbar.navbar-branded .dropdown-menu > li.active > a:hover,
.environment-development.zotonic-admin .navbar.navbar-branded .dropdown-menu > li > a:hover {
  background-color: #1f4922;
}
@media (min-width: 480px) {
  .environment-test body::before {
    background-color: #4527a0;
    background-image: linear-gradient(#4527a0, white);
    content: "test";
  }
}
.environment-test.zotonic-admin .navbar.navbar-branded {
  background-color: #4527a0;
}
.environment-test.zotonic-admin .navbar.navbar-branded .navbar-collapse {
  background-color: #4527a0;
}
.environment-test.zotonic-admin .navbar.navbar-branded .nav > li > a:hover,
.environment-test.zotonic-admin .navbar.navbar-branded .nav > li > a:focus {
  background-color: #331d77;
}
.environment-test.zotonic-admin .navbar.navbar-branded .navbar-nav > .open > a,
.environment-test.zotonic-admin .navbar.navbar-branded .navbar-nav > .active > a {
  background-color: #331d77;
}
@media (max-width: 768px) {
  .environment-test.zotonic-admin .navbar.navbar-branded .dropdown-menu > li > a {
    color: white;
  }
}
.environment-test.zotonic-admin .navbar.navbar-branded .dropdown-menu > li.active > a,
.environment-test.zotonic-admin .navbar.navbar-branded .dropdown-menu > li.active > a:hover,
.environment-test.zotonic-admin .navbar.navbar-branded .dropdown-menu > li > a:hover {
  background-color: #331d77;
}
@media (min-width: 480px) {
  .environment-acceptance body::before {
    background-color: #e65100;
    background-image: linear-gradient(#e65100, white);
    content: "acceptance";
  }
}
.environment-acceptance.zotonic-admin .navbar.navbar-branded {
  background-color: #e65100;
}
.environment-acceptance.zotonic-admin .navbar.navbar-branded .navbar-collapse {
  background-color: #e65100;
}
.environment-acceptance.zotonic-admin .navbar.navbar-branded .nav > li > a:hover,
.environment-acceptance.zotonic-admin .navbar.navbar-branded .nav > li > a:focus {
  background-color: #b33f00;
}
.environment-acceptance.zotonic-admin .navbar.navbar-branded .navbar-nav > .open > a,
.environment-acceptance.zotonic-admin .navbar.navbar-branded .navbar-nav > .active > a {
  background-color: #b33f00;
}
@media (max-width: 768px) {
  .environment-acceptance.zotonic-admin .navbar.navbar-branded .dropdown-menu > li > a {
    color: white;
  }
}
.environment-acceptance.zotonic-admin .navbar.navbar-branded .dropdown-menu > li.active > a,
.environment-acceptance.zotonic-admin .navbar.navbar-branded .dropdown-menu > li.active > a:hover,
.environment-acceptance.zotonic-admin .navbar.navbar-branded .dropdown-menu > li > a:hover {
  background-color: #b33f00;
}
@media (min-width: 480px) {
  .environment-education body::before {
    background-color: #006064;
    background-image: linear-gradient(#006064, white);
    content: "education";
  }
}
.environment-education.zotonic-admin .navbar.navbar-branded {
  background-color: #006064;
}
.environment-education.zotonic-admin .navbar.navbar-branded .navbar-collapse {
  background-color: #006064;
}
.environment-education.zotonic-admin .navbar.navbar-branded .nav > li > a:hover,
.environment-education.zotonic-admin .navbar.navbar-branded .nav > li > a:focus {
  background-color: #002f31;
}
.environment-education.zotonic-admin .navbar.navbar-branded .navbar-nav > .open > a,
.environment-education.zotonic-admin .navbar.navbar-branded .navbar-nav > .active > a {
  background-color: #002f31;
}
@media (max-width: 768px) {
  .environment-education.zotonic-admin .navbar.navbar-branded .dropdown-menu > li > a {
    color: white;
  }
}
.environment-education.zotonic-admin .navbar.navbar-branded .dropdown-menu > li.active > a,
.environment-education.zotonic-admin .navbar.navbar-branded .dropdown-menu > li.active > a:hover,
.environment-education.zotonic-admin .navbar.navbar-branded .dropdown-menu > li > a:hover {
  background-color: #002f31;
}
@media (min-width: 480px) {
  .environment-backup body::before {
    background-color: #37474f;
    background-image: linear-gradient(#37474f, white);
    content: "backup";
  }
}
.environment-backup.zotonic-admin .navbar.navbar-branded {
  background-color: #37474f;
}
.environment-backup.zotonic-admin .navbar.navbar-branded .navbar-collapse {
  background-color: #37474f;
}
.environment-backup.zotonic-admin .navbar.navbar-branded .nav > li > a:hover,
.environment-backup.zotonic-admin .navbar.navbar-branded .nav > li > a:focus {
  background-color: #222c31;
}
.environment-backup.zotonic-admin .navbar.navbar-branded .navbar-nav > .open > a,
.environment-backup.zotonic-admin .navbar.navbar-branded .navbar-nav > .active > a {
  background-color: #222c31;
}
@media (max-width: 768px) {
  .environment-backup.zotonic-admin .navbar.navbar-branded .dropdown-menu > li > a {
    color: white;
  }
}
.environment-backup.zotonic-admin .navbar.navbar-branded .dropdown-menu > li.active > a,
.environment-backup.zotonic-admin .navbar.navbar-branded .dropdown-menu > li.active > a:hover,
.environment-backup.zotonic-admin .navbar.navbar-branded .dropdown-menu > li > a:hover {
  background-color: #222c31;
}
