/**
duplicates Bootstrap4's ‹.accordion > .card:first-of-type› for bootstrap_package compatibility
https://github.com/benjaminkott/bootstrap_package/pull/775
 */
#cookieman-acco > .card {
    overflow: hidden;
}
#cookieman-acco > .card:first-of-type,
#cookieman-acco > .card:not(:first-of-type):not(:last-of-type) {
    border-bottom: 0;
}

#cookieman-modal table {
    font-size: 80%;
}

#cookieman-modal [data-toggle="collapse"]:after {
    font-size: 2.5rem;
    opacity: .7;
    position: absolute;
    right: 12px;
    top: 50%;
    line-height: 0;
    transition: transform ease-in-out 0.3s;
    transform-origin: center;
    transform: rotate(45deg);
}

#cookieman-modal [data-toggle="collapse"].collapsed:after {
    transform: rotate(0);
}

#cookieman-settings .card-header {
    position: relative;
}
#cookieman-modal [data-toggle="collapse"][data-target="#cookieman-settings"] {
    position: relative;
}
#cookieman-modal [data-toggle="collapse"][data-target="#cookieman-settings"]:after {
    font-size: 2rem;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  overflow-y: auto;
}
.modal-body a{
  border-style: solid;
  border-width: 0px 0px 2px 0px;
  border-image: linear-gradient(to right, #009cbc, #dedc00) 10;
  word-break: break-word;
  font-family: "Roboto Bold";
}
.modal-dialog{
  width: 818px;
  margin: 35px auto;
  overflow-x: auto;
  overflow-y: auto;
  font-family: "Roboto Regular";
  border-radius: 9px;
}
@media only screen and (max-width: 768px) {
  .modal-dialog {
    position: relative;
    width: auto;
    margin: 30px;
  }
}
.text-justify {
  text-align: justify;
}

.modal-content {
  position: relative;
  background-color: #fff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}
.modal-backdrop.in {
  opacity: .5;
  filter: alpha(opacity=50);
}
.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}
.fade.in {
  opacity: 1;
}
.modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
  background-image: linear-gradient(to top right, #e50040, #ffed00);
  font-size: 1.5rem;
  color: #fff;
}
#cookieman-modal .modal-body {
  padding-bottom: 6px;
}
.modal-body {
  position: relative;
  padding: 15px;
  padding-bottom: 15px;
}
.modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
#cookieman-settings form {
  position: relative;
  left: 0px;
  width: 100%;
  line-height: 1.42857143;
}
.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
}
.btn-primary {
  color: #ffffff;
  background-image: linear-gradient(to top right, #e50040, #ffed00);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
.btn-primary:hover {
  color: #212121;
  background-image:linear-gradient(to top right, #009cbc, #dedc00);
}
.btn-secondary{
  color: #ffffff;
  background-color: #232323;
  border-color: #232323;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
  margin: 12px auto 10px auto;
}
.btn-secondary:hover{
  color: #232323;
  background-color: #eaebec;
}
.btn-default {
  color: #212121;
  background-color: #eaebec;
  border-color: #eaebec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
.btn-default:hover {
  color: #eaebec;
  background-color: #212121;
}
#cookieman-modal .modal-footer button {
  margin: 0 0 6px 6px;
}
#cookieman-modal{
  transition: opacity 0.5s, background-color 0.5s;
  background-color: rgba(0 ,0 ,0 ,0);
  opacity: 0;
  display: none;
}
#cookieman-modal.shown{
  opacity: 1;
  background-color: rgba(0 ,0 ,0 ,0.5);
  display: block;
}
.card:first-of-type{
  padding-top: 6px;
}
.card-header:first-child {
  border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}
.card-header {
  border-bottom: 1px solid rgba(0,0,0,.125);
}
.card-header, .card-subtitle, .card-text:last-child, .list-group {
  margin-bottom: 0;
}
.card-footer, .card-header {
  padding: .75rem 1rem;
  background-color: rgba(0,0,0,.03);
}
.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
}

/*
Gruppen-Akkordeon im Banner. Die Sektionen tragen dieselben Klassen wie die
Akkordeons im Seiteninhalt, deren Regel in main.css sie auf display: none
hält — deshalb hier über die ID höher gewichtet. Die Innenabstände werden
mitanimiert, sonst bliebe im geschlossenen Zustand ein Streifen stehen.
*/
#cookieman-modal .content-element-accordion > .content {
  display: grid;
  grid-template-rows: 0fr;

  padding: 0 1.25rem;

  transition: grid-template-rows 300ms ease, padding-top 300ms ease, padding-bottom 300ms ease;
}

#cookieman-modal .content-element-accordion.open > .content {
  grid-template-rows: 1fr;

  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

#cookieman-modal .content-element-accordion > .content > .wrapper {
  min-height: 0;
  overflow: hidden;
}
.card {
  word-wrap: break-word;
}
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin:10px 0;
}
#cookieman-modal table {
  font-size: 80%;
}
.table{
  font-size: 50%;
}
.form-group, .table {
  margin-bottom: 1rem;
}
table {
  border-collapse: collapse;
}
.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}
.table-sm td, .table-sm th {
  padding: .3rem;
}
.table td, .table th {
  padding: .75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
  font-size: 13px;
}
th {
  text-align: inherit;
}

.alert-primary{
  margin-bottom: 10px 0;
}
.form-check label{
  margin-top: 0;
  margin-bottom: 10px;
  height: 20px;
}
/*
Einstellungen auf- und zuklappen. Ersetzt jQuery.slideToggle aus
cookieman-theme.min.js; die Klasse "shown" setzt dort jetzt reines JavaScript.
Das Panel hat genau ein Kind (das Formular), deshalb genügt die Grid-Zeile.
*/
#cookieman-settings{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}
#cookieman-settings.shown{
  grid-template-rows: 1fr;
}
#cookieman-settings > form{
  min-height: 0;
  overflow: hidden;
}
.consent-banner {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #bfbdbd;
  border-radius: 1%;
}

.consent-banner button {
  position: relative;
  margin: auto;
  top: 45%;
  background-color: red;
  height: 35px;
  width: 130px;
  border-radius: 8%;
  background-image: linear-gradient(to top right, #e50040, #ffed00);
}

.consent-banner button:hover {
  color: #ffffff;
  background-image: linear-gradient(to top right, #009cbc, #dedc00);
}

.banner-text{
  font-family: 'Roboto Regular';
  font-size: 1rem;
  line-height: 1.25rem;
  color: #1A1A1A;
  position: relative;
  top: 35%;
  text-align: center;
  margin: 0 10px;
}

#cookieman-acco-h-mandatory .alert {
  display: none;
}
.inactiveLink {
  pointer-events: none;
  cursor: default;
}
.float-right{
  float: right;
  position: absolute;
  right: 10px;
  top: 20px;
}

form input[type="checkbox"] + label:before
{
  width: 20px;
  height: 20px;
}

#cookieman-acco .content-element-accordion .title button{
  width: auto;
  color: #1A1A1A;
  text-align: left;
  font-family: 'Roboto Slab Bold';
  padding: unset;
  font-size: 16px;
}

#cookieman-acco .content-element-accordion .title button::before, #cookieman-acco .content-element-accordion .title button::after {
  left: 109%;
}

#cookieman-acco .content-element-accordion > .content{
  overflow: hidden;
}
#overflow-hidden{
  overflow: hidden;
}
