
/*
#254663
#90CAFC
#5283AF
#63471B
#B08C53
 */

.badge {
  position: absolute;
  letter-spacing: -.01em;
  display: inline-block;
  border-radius: 50%;
  text-align: center;
  color: #254663;
  transition: 100ms background-color, color;
  right: -8px;
  background-color: #f1f1f1;
  height: 15px;
  line-height: 15px;
  width: 15px;
  top: -7px;
}

.badge {
}

.open .badge,
.active .badge,
a:hover .badge {
  background-color: #fff;
}

.field-author, .field-keyword {
  display: inline-block;
  margin-right: .5em;
  margin-bottom: .5em;
}

.study-field-titel td {
  font-weight: bold;
}

.r {
  float: right;
}


/* Main
–––––––––––––––––––––––––––––––––––––––––––––––––– */

html {
  height: 100%;
}

body {
  position: relative;
  min-height: 100%;
  background-color: #f1f1f1;
}

.columns, .column {
  overflow: hidden;
}

/* Fonts
–––––––––––––––––––––––––––––––––––––––––––––––––– */

h1, h2, h3 {
  font-family: 'Literata', serif;
  font-weight: normal;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 30px;
}

pre {
  white-space: pre-wrap;       /* Since CSS 2.1 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */

a {
  color: #63471B;
}

a:hover {
  color: #481C00;
}

/* Helpers
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.hide {
  display: none;
}

/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */

ol {
  counter-reset:li; /* Initiate a counter */
  margin-left:0; /* Remove the default left margin */
  padding-left:0; /* Remove the default left padding */
}
ol:last-child {
  margin-bottom: 0;
}
ol > li {
  position:relative; /* Create a positioning context */
  margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */
  padding:4px 8px; /* Add some spacing around the content */
  list-style:none; /* Disable the normal item numbering */
}
ol > li:before {
  content:counter(li); /* Use the counter as content */
  counter-increment:li; /* Increment the counter by 1 */
  /* Position and style the number */
  position:absolute;
  top:-2px;
  left:-2em;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
  width:2em;
  /* Some space between the number and the content in browsers that support
     generated content but not positioning it (Camino 2 is one example) */
  margin-right:8px;
  padding:4px;
  font-weight:bold;
  text-align:center;
  font-size: 1.3em;
  color: inherit;
}

ul.list {
  padding-left: 2px;
}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */

input + button,
select + button {
  height: 36px;
}

h3 button,
h3 .button {
  margin-top: 10px;
}

button.button-primary,
.button.button-primary {
  border-color: #5283AF;
  transition: 100ms background-color, opacity;
  color: #f3f9ff;
  background-color: #5283AF;
}

button.button-primary:focus,
.button.button-primary:focus,
button.button-primary:hover,
.button.button-primary:hover {
  border-color: #254663;
  background-color: #254663;
}

.button,
button {
  font-family: Raleway, HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.button:last-child,
button:last-child {
  margin-bottom: 0;
}

.button.icon,
button.icon {
  background-color: #5283AF;
  color: #d0d9e3;
  cursor: pointer;
  font-size: 1.6rem;
  border-radius: 50%;
  padding: 0;
  height: 3rem;
  width: 3rem;
  line-height: 3rem;
  border: 0;
  transition: 100ms background-color, border, opacity;
  letter-spacing: 0;
}

button.icon {
  border: 1px solid #5283AF;
}

.button.icon:hover,
button.icon:hover {
  background-color: #254663;
}

button.icon:hover {
  border-color: #254663;
}

select[disabled],
input[disabled],
.button.icon[disabled],
button.icon[disabled] {
  cursor: none;
  pointer-events: none;
  opacity: .2;
}

/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */

label.inline {
  display: inline-block;
  font-weight: normal;
}

input.max-four {
  width: 6rem;
}

::placeholder {
  color: #d0d9e3;
}

/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */

body {
  padding-bottom: 8rem;
  box-sizing: border-box;
}

.footer-container {
  padding: 2rem 0;
  background-color: #5283AF;
  background-image: url('../img/pattern-chakras-white.png');
  border-top: 5px solid #254663;
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #fff;
  text-align: center;
}

.footer-container a {
  color: #fff;
}

/* Search Form
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.search-tab {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  color: #264662;
}

.search-tab:hover,
.search-tab.active {
  background-color: #d0d9e3;
}

.search-wrapper {
  padding: 2rem;
  background-color: #d0d9e3;
  margin-bottom: 2rem;
}

.search-form > :last-child,
.search-form {
  margin: 0;
}

.search-form {
  display: none;
}

.search-form.active {
  display: block;
}

.search-row {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
}

.search-row:first-child > select:first-child {
  visibility: hidden;
}

.search-row > * {
  margin-right: 10px;
  margin-bottom: 0;
}

.search-row > :last-child {
  margin-right: 0;
}

.search-row > input {
  flex-grow: 1;
}

.search-row .search-row-add,
.search-row .search-row-remove {
}

.search-row-year input {
}

.search-row-template {
  display: none;
}

/* Search history
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.search-history-table a {
  text-decoration: none;
}
.search-history-table a:hover {
  text-decoration: underline;
}

.search-history-table th { white-space: nowrap; }
.search-history-table td.search-history-table-query { width: 100%; }
.search-history-table td.search-history-table-time { white-space: nowrap; }

/* Pagination
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.pagination-wrap:after {
  content: "";
  display: table;
  clear: both;
}

.pagination-wrap .pagination {
  margin-bottom: 1rem;
}

.pagination-wrap .pagination-text {
  line-height: 3em;
  margin-bottom: 1rem;
}

.pagination {
  display: inline-block;
  border: 1px solid #999;
  border-right: 0;
}

.pagination:after {
  content: "";
  display: table;
  clear: both;
}

.pagination li {
  float: left;
  display: inline-block;
  margin: 0;
}

.pagination li > a,
.pagination li > span {
  border-right: 1px solid #999;
  display: inline-block;
  padding: 0;
  background: rgba(0,0,0,.1);
  text-decoration: none;
  width: 2em;
  line-height: 2em;
  text-align: center;
  font-family: "Arial";
}
.pagination li > a:hover {
  background: rgba(0,0,0,.2);
}
.pagination li > span {
  color: #aaa;
  cursor: default;
}
.pagination .active {
  font-weight: bold;
  background: rgba(0,0,0,.2);
}

.letters li {
  float: left;
  display: inline-block;
  margin-right: 1em;
}

.letters li > a,
.letters li > span {
  display: inline-block;
  line-height: 2em;
}
.letters li > span {
  color: #DDD;
  cursor: default;
}



/* Entry List
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.entry-list {
  margin-bottom: 5px;
  table-layout: fixed;
  width: 100%;
}

.entry-list th,
.entry-list td {
  border-bottom: 0;
  padding: 2px;
  vertical-align: top;
}

.entry-list th {
  padding-right: 10px;
  width: 100px;
}

.entry-list td {
  overflow: hidden;
}

.study-entries {
  margin-bottom: 2em;
}

.study-entry {
  border-bottom: 1px solid #6d540b;
  padding-top: 20px;
  padding-bottom: 10px;
}

.study-entry:first-child {
  border-top: 1px solid #6d540b;
}

.study-entry .button {
}


/* Import
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.import-entry-table-wrapper {
  overflow-x: scroll;
}

.import-entry-table {
  border: 1px solid #000;
}

.import-entry-table th,
.import-entry-table td {
  padding: 3px 7px;
  border: 1px solid #000;
  vertical-align: top;
  background: #fff;
  color: #000;
}

.admin-entry-table {
  border: 1px solid #000;
}

.admin-entry-table th,
.admin-entry-table td {
  padding: 12px 15px;
  border: 1px solid #000;
  vertical-align: top;
  background: #fff;
  color: #000;
}

.admin-entry-table th a {
  white-space: nowrap;
}

.admin-entry-table td div {
  max-height: 85px;
  overflow: hidden;
}

.admin-entry-table tr.selected td,
.admin-entry-table tr:hover td {
  background-color: #ffe1a5;
}

#admin-entries .select-links {
  float: right;
  margin: 5px 20px 0 0;
}

#admin-entries .select-links a {
  color: #5283AF;
  margin: 0 5px;
}

/* Messages
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.msg-success,
.msg-warning,
.msg-error,
.msg-info {
  margin-top: 1em;
  padding: 1em;
  color: #fff;
}

div.msg-success,
div.msg-warning,
div.msg-error,
div.msg-info {
  margin-bottom: 1em;
}

.msg-success {
  background: #a5ce74;
  color: #445a29;
}

.msg-warning {
  background: #e4d43e;
  color: #585215;
}

.msg-error {
  background: #deaeb3;
  color: #733239;
}

.txt-info,
.msg-info {
  color: #4d7b78;
}
.msg-info {
  background: #b5dad7;
}

/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */

table.align-top th,
table.align-top td {
  vertical-align: top;
}

table th.highlight,
table td.highlight {
  background-color: #ffd3d4;
}

.container {
  max-width: 1200px;
  padding: 0;
  width: 90%;
}

.header {
}

/* Favourites
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#navPopover-favourites {
  width: 300px;
}

#favourites-preview-list {
  margin: 0;
  list-style: none;
  color: #fff;
}

#favourites-preview-list .popover-link {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.favourites-error,
.favourites-empty,
.favourites-actions {
  display: none;
}

.favourites-table-action {
  width: 30px;
}

/* Navbar
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.navbar-container {
  background-color: #5283AF;
  background-image: url('../img/pattern-chakras-white.png');
  border-bottom: 5px solid #254663;
}

.navbar + .docs-section {
  border-top-width: 0; }

.navbar,
.navbar-spacer {
  display: block;
  width: 100%;
}

.navbar {
  background-color: rgba(255, 255, 255, .1);
}

.navbar-spacer {
  display: none; }
.navbar-list {
  list-style: none;
  margin-bottom: 0;

}
.navbar-item {
  position: relative;
  margin-bottom: 0;
}
.navbar-link {
  padding-left: 1em;
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2rem;
  text-decoration: none;
  line-height: 3rem;
  color: #fff;
  transition: 100ms background-color, color;
}
.navbar-link:hover {
  color: #fff;
}
.navbar-item.open > a,
.navbar-item:hover > a,
.navbar-item.active > a,
.navbar-account li.active a.navbar-link {
  background: #254663;
  color: #fff;
}
.navbar-item.active > .navbar-link {
}

.navbar-imprint-list {
  float: right;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 10px 0 0 0;
}

.navbar-imprint-list li {
  padding: 0 10px;
}

.navbar-imprint-list:first-child li:last-child {
  padding-right: 0;
}

.navbar-imprint-list li a {
  text-decoration: none;
  font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  color: #254663;
  position: relative;
}

.navbar-imprint-list li a:hover span {
  text-decoration: underline;
}

.navbar-imprint-list li a img {
  display: inline-block;
  height: 12px;
}

.navbar-account-mobile li a {
  text-decoration: none !important;
}

.navbar-account {
  list-style: none;
  margin: 0;
  display: none;
}

.navbar-account li {
  margin: 0;
  position: relative;
}

.navbar-account li a.navbar-link {
  background: rgba(37, 70, 99, 0.5);
  width: 65px;
  padding: 0;
  margin-left: 5px;
  color: #6490b7;
  max-height: 65px;
  transition: 100ms background-color, color;
}

.navbar-account li.open a.navbar-link,
.navbar-account li a.navbar-link:hover {
  background: rgb(37, 70, 99);
  color: #fff;
}

.navbar-account li a.navbar-link i {
  font-size: 24px;
}
.open .popover {
  display: block;
}
.popover {
  display: none;
}
.popover-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.popover-item {
  padding: 0;
  margin: 0;
}
.popover-link {
  color: #fff;
  display: block;
  padding: 0 0 0 2em;
  line-height: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.3);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
}
.popover-link:hover {
  color: #fff;
  background: rgba(255,255,255,.2);
}


/* Larger than phone */
@media (min-width: 550px) {
  .container {
    width: 90%;
  }
  .navbar-imprint-list li:last-child {
    padding-right: 0;
  }
  .navbar {
    display: flex;
    justify-content: space-between;
  }
  .navbar-account-mobile {
    display: none;
  }
  .navbar-account {
    display: flex;
  }
  .pagination-wrap .pagination {
    float: right;
  }
  .pagination-wrap .pagination-text {
  }
}


@media (max-width: 549px) {
  .search-history-table th {
    white-space: normal;
  }
  .search-history-table .search-history-table-time {
    display: none;
  }
  .search-row {
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid #abb8c7;
  }
  .search-row > span {
    flex-grow: 1;
  }
  .search-row > span > span {
    display: flex;
    justify-content: flex-end;
  }
  .search-row > span > span > button {
    margin-left: 3px;
  }
  .search-row > input {
    margin-top: 5px;
    margin-right: 0;
    order: 99;
    min-width: 250px;
  }
  .search-row-year label:first-child {
    display: block;
  }
  .badge {
    font-size: 14px;
    border: 1px solid #254663;
    background-color: #f1f1f1 !important;
    text-decoration: none !important;
  }
  .navbar-list ul {
    margin: 0;
  }
  .navbar-list ul li {
  }
  .navbar-list a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #92b1cc;
  }
  .navbar-list li:last-child a {
    border-bottom: 0;
  }
}
/* Larger than tablet */
@media (min-width: 550px) {
  .badge {
    right: 11px;
    background-color: #6490b7;
    height: 20px;
    line-height: 20px;
    width: 20px;
    top: 10px;
  }
  /* Navbar */
  .navbar-list {
    display: flex;
  }
  .navbar-item:hover {
    background: #6490b7;
  }
  .navbar,
  .navbar-spacer {
    height: 6.5rem;
  }
  .navbar-link {
    padding: 0 10px;
    text-align: center;
    line-height: 6.5rem;
  }

  .has-docked-nav .navbar-container {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
  }
  .has-docked-nav .navbar-spacer {
    display: block; }

  /* Popover */
  .popover {
    display: none;
    position: absolute;
    z-index: 101;
    width: 200px;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background: #264662;
  }
  .navbar-account .popover {
    left: auto;
    right: 0;
  }
  .popover-link {
    color: #fff;
    display: block;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255,255,255,.3);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
  }
  .popover-link:hover {
    color: #fff;
    background: rgba(255,255,255,.2);
  }
}
