/**
 * @link https://www.humhub.org/
 * @copyright Copyright (c) HumHub GmbH & Co. KG
 * @license https://www.humhub.com/licences
 */
/*
    Created on : 26.07.2016, 14:59:56
    Author     : buddha
*/
.template-edit-multiple .panel-body {
  padding-bottom: 0 !important;
}
.template-edit-multiple .panel-heading {
  background-color: #f5f5f5 !important;
  border: 2px solid #f5f5f5 !important;
  padding: 5px !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}
.template-edit-multiple .panel-heading:hover {
  background-color: #EDEDED !important;
  border: 2px solid #EDEDED !important;
}
.template-edit-multiple .panel-footer {
  padding: 0 !important;
}

.template-edit-multiple-tab:focus {
  border: 2px solid #a0c2f9 !important;
  box-sizing: border-box !important;
  outline: 0;
}
.template-edit-multiple-tab .badge {
  margin: 3px;
}

.target-page-list .grid-view {
  padding: 0;
}

.target-page-list-head {
  margin-top: 15px;
  background-color: #F1F1F1;
  padding: 10px;
  margin-bottom: 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  font-weight: bold;
}

.target-page-list-grid {
  border: 1px solid #F1F1F1;
}
.target-page-list-grid .grid-view table thead tr th:first-of-type,
.target-page-list-grid .grid-view table tbody tr td:first-of-type {
  padding-left: 10px;
}
.target-page-list-grid .pagination {
  margin-left: 10px;
}

.preview {
  border: 1px solid rgba(210, 210, 210, 0.5);
  min-height: 100px;
  box-shadow: 1px 1px 1px 1px rgba(210, 210, 210, 0.5);
}

img.preview {
  display: block;
  margin: auto;
  max-width: 200px;
  max-height: 200px;
}

#editPageButton .dropdown-menu li {
  border-left: 3px solid transparent;
}
#editPageButton .dropdown-menu li:hover, #editPageButton .dropdown-menu li.selected {
  background-color: #f7f7f7;
  border-left: 3px solid #6fdbe8;
}
#editPageButton .dropdown-menu a {
  background: none;
}

.content-edit .ProseMirror {
  min-height: 150px !important;
}

.hr-text {
  line-height: 1em;
  position: relative;
  outline: 0;
  border: 0;
  color: black;
  text-align: center;
  height: 1.5em;
  opacity: 0.5;
}
.hr-text.collapsableTrigger {
  cursor: pointer;
}
.hr-text.collapsableTrigger:focus::after {
  background: #a0c2f9;
}
.hr-text.collapsableTrigger:after {
  color: #000;
  font-weight: bold;
}
.hr-text.collapsableTrigger:hover::after {
  text-decoration: underline;
}
.hr-text:before {
  content: "";
  background: #E0E0E0;
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}
.hr-text:after {
  content: attr(data-content);
  position: relative;
  display: inline-block;
  padding: 0 0.5em;
  line-height: 1.5em;
  color: #818078;
  background-color: #fcfcfa;
}

.custom-pages-page a:not(.btn) {
  color: var(--bs-accent);
}