/* Cookie Banner */
.cc-banner {
    font-size: 15px;
    position: fixed !important;
    bottom: -200px;
    left: 20px;
    right: 20px;
    background-color:rgba(255,255,255,0);
    color:#fff;
    transition: all 1.0s;
    padding: 30px 0 20px 0;
    z-index: 99;
}
.cc-banner.view {
    bottom: 20px;
    background-color:rgba(54,64,72,0.9);
}
.cc-banner.hide {
    display: none;
}
.cc-banner .cb-content {
    display: flex;
    width: 80%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}
.cc-banner .cb-txt {
    float: left;
    margin-right: 5%;
}
.cc-banner .cb-txt a {
    color: #fff !important;
    text-decoration: underline;
}
.cc-banner .cb-btn {
    display: flex;
    float: right;
    text-align: right;
}
.cc-btn {
    display: flex;
}
.cc-btn a {
    font-size: 15px;
    text-align: center;
    padding: 10px 15px;
    text-decoration: none;
}

.cc-btn-solid a {
    background:#fff;
    color:#364048 !important;
    margin: 0 10px 20px 0;
}
.cc-btn-outline a {
    border: 2px solid #fff;
    color: #fff !important;
    margin: 0 10px 20px 0;
    padding: 8px 13px;
}
.cc-btn-solid a:hover {
    color: #213640 !important;
    background: #ccc;
}
.cc-btn-outline a:hover {
    color: #ccc;
    border-color: #ccc;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    justify-content: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    background-color: rgba(0,0,0,0.7);
    z-index: 100;
}
.cookie-modal.view {
    display: flex;
}
.cookie-modal.hide {
    display: none;
}
.cookies-wrap {
    position: absolute;
    display: flex;
    top: 20%;
    width: 80%;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #fff;
    z-index: 101;
}
.cookies-wrap hr {
    margin: 40px 0;
}
.cc-close {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    color: #222;
}
.btn-modal-wrapper {
    display: flex;
    margin-top: 20px;
    flex: 1;
}
.btn-modal-wrapper .cc-btn {
    margin-right: 10px;
}
.cc-btn-modal a {
    background:#364048;
    color:#fff !important;
}
.cc-btn-outline-modal a {
    border: 2px solid #364048;
    color: #364048 !important;
    padding: 8px 13px;
}

/* Toogle Checkboxen */
.toogle-wrapper {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
}
.disabled-switch {
    opacity: 0.5;
}
.switch-wrap {
  cursor: pointer;
  background: rgba(33,54,64,0.9);
  padding: 7px;
  width: 90px;
  height: 50px;
  border-radius: 25px;
  margin-top: 0;
}
.switch-wrap input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.switch {
  height: 100%;
  display: grid;
  grid-template-columns: 0fr 1fr 1fr;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.switch::after {
  content: "";
  border-radius: 50%;
  background: #ccc;
  grid-column: 2;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}

input:checked + .switch {
  grid-template-columns: 1fr 1fr 0fr;
}
input:checked + .switch::after {
  background-color: #52cf71;
}

/* Link: Cookies bearbeiten */
.cc-edit {
    position: fixed;
    bottom: 0;
    right: 20px;
    background-color: #fff;
    padding: 10px;
}

/* Responsive */
@media screen and (max-width: 980px) {

    .cookies-wrap .col_left {
        width:40%;
    }
    .cookies-wrap .col_right {
        width:60%;
    }
    .cookie-modal {
        width: 95%;
    }
}
@media screen and (max-width: 768px) {
    .cc-banner {
        padding: 20px;
    }
    .cc-banner .cb-content {
        width: 100%;
        display: block;
    }
    .cc-banner .cb-txt {
        float: none;
        width: 100%;
    }
    .cc-banner .cb-btn {
        float: none;
        width: 100%;
    }
    .cc-banner .cb-btn a {
        width: 100%;
    }
    .btn-modal-wrapper {
        flex-flow: column;
    }
    .btn-modal-wrapper .cc-btn {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 680px) {
    .cookies-wrap {
        flex-direction: column;
    }
    .cookies-wrap .col_left {
        width:100%;
    }
    .cookies-wrap .col_right {
        width:100%;
    }
}


/* Video CC Hinweis WIP */

.row.row-video .cc-placer {
    position: relative;
    display: block;
    margin: 60px auto;
}
.cc-placer-info {
    position: relative;
    padding: 80px 40px;
    margin: 20px;
    color: #fff;
    background-color: #2a3f48;
    z-index: 2;
}
.cc-placer-info strong {
    color: #fff;
}
.cc-placer-info .button {
    color: #d4be17;
}
.row.row-video .cc-placer:after {
    content: '';
    background-color: #d4be17;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.row.row-video .cc-placer .note {
    font-size: 14px;
    text-align: center;
    color: #fff;
    height: 40px;
    padding: 20px;
    background-color: #000000;
}