/* CONSENT MESSAGE */

.consent-message {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    max-height: 100%;
    overflow: auto;
    /* background-color: var(--color-cream); */
    background-color: #f0f0f0;
    box-shadow: 0 0 6px -3px var(--color-dark-brown);
    transform: translateY(100%);
    transition-timing-function: linear;
    transition-duration: 0.3s;
    transition-property: transform;
}

.consent-message--open {
    transform: translateY(0);
}

.laptop .consent-message .panel {
    padding: 0 var(--grid-gutter);
}

.small .consent-message .text {
    --text-rhythm: 1.25rem;
}

.tablet .consent-message .text {
    --text-rhythm: 2.5rem;
}

.small .consent-message .text {
    padding: 2rem 1rem;
}

.tablet .consent-message .text {
    padding: 3rem 2rem;
}

.laptop .consent-message .text {
    padding: 5rem 0;
}

.consent-message .text * {
    --base-font-size: 1.0rem;
}

.small .consent-message__text {
    max-height: 120px;
    overflow: auto;
}

.tablet .consent-message__text {
    max-height: none;
}

.consent-message .text p {
    font-size: unset;
}

.small .consent-message__logo {
    max-width: 100px;
}

.tablet .consent-message__logo {
    max-width: 150px;
}

.consent-message__buttons {
    display: table;
    width: 100%;
}

.small .consent-message__buttons span {
    display: block;
    text-align: center;
}

.small .consent-message__buttons span+span {
    margin-top: var(--text-rhythm);
}

.tablet .consent-message__buttons span+span {
    margin-top: 0;
}

.tablet .consent-message__buttons span:first-child {
    text-align: left;
}

.tablet .consent-message__buttons span:last-child {
    display: table-cell;
    text-align: right;
}

.laptop .consent-message__buttons span {
    margin-top: 0;
}

.consent-message .button:not(.consent-message__button-info) {
    min-width: 150px;
    font-family: var(--font-bold);
}

.consent-message .button:hover,
.consent-message button:hover {
    opacity: 0.8;
}

.consent-message__button-info,
.consent-message__button-info:hover {
    /* background-color: var(--color-brown); */
    background-color: var(--color-black);
}

.consent-message__button-settings,
.consent-message__button-settings:hover {
    background-color: var(--color-dark-blue);
}

.consent-message__button-reject-all,
.consent-message__button-reject-all:hover {
    background-color: var(--color-dark-brown);
}

.consent-message__button-accept-all,
.consent-message__button-accept-all:hover {
    background-color: var(--color-red);
}


/* CONSENT SETTINGS */

.consent-settings {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    top: 0;
    right: 0;
    background-color: var(--color-cream);
    box-shadow: 0 0 6px -3px var(--color-dark-brown);
    transform: translateY(100%);
    transition-timing-function: linear;
    transition-duration: 0.5s;
    transition-property: transform;
}


/*body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

html,
.consent-settings {
  height: -webkit-fill-available;
}*/

.consent-settings--open {
    transform: translateY(0);
    overflow: auto;
}

.consent-settings .panel {
    max-width: 800px;
    padding: 5rem 0;
}

.consent-settings-text {
    --text-rhythm: 2.5rem;
    overflow: auto;
}

.tablet .consent-settings-text {
    height: calc(100vh - 10rem);
}

.consent-settings tr td {
    font-weight: normal !important;
    color: var(--color-black);
}

.consent-settings thead tr td {
    font-weight: bold !important;
}

.consent-settings .text * {
    --base-font-size: 1.0rem;
}

.consent-settings .text h2,
.consent-settings .text p {
    font-size: revert;
}

.consent-settings__logo {
    max-width: 150px;
}

.consent-settings__tab+.consent-settings__tab {
    padding-top: calc(2*var(--text-rhythm));
}

.consent-settings__tab label {
    width: auto;
    display: inline-block;
}

.consent-settings__tab input[type="radio"] {
    display: none;
}

.consent-settings__tab input[type="radio"]+label {
    font-family: var(--font-bold);
    margin-right: 2rem;
    padding: 5px 15px;
    text-align: center;
    border: 2px solid var(--color-red);
    border-radius: 3px;
}

.small .consent-settings__tab input[type="radio"]+label {
    min-width: 120px;
}

.tablet .consent-settings__tab input[type="radio"]+label {
    min-width: 175px;
}

.consent-settings__tab input[type="radio"]+label:hover {
    background: var(--color-light-red);
    color: white;
}

.consent-settings__tab input[type="radio"]:checked+label:hover {
    background: var(--color-light-red);
}

.consent-settings__tab input[type="radio"]+label:before {
    display: inline-block;
    font-family: 'icomoon';
    content: '\ea53';
    margin-right: 5px;
}

.consent-settings__tab input[type="radio"]:checked+label:before {
    content: '\ea52';
}

.consent-settings__tab input[type="radio"]:checked+label {
    color: var(--color-white);
    background: var(--color-red);
}

.consent-settings__buttons {
    bottom: 0;
    position: sticky;
    width: 100%;
    box-shadow: 0 0 5px 0px var(--color-brown);
    background-color: var(--color-light-grey);
    text-align: center;
}

.small .consent-settings__buttons {
    height: 6rem;
    line-height: 6rem;
}

.tablet .consent-settings__buttons {
    height: 10rem;
    line-height: 10rem;
}

.consent-settings .button:hover,
.consent-settings button:hover {
    opacity: 0.8;
}

.consent-settings__buttons .button {
    font-family: var(--font-bold);
}

.small .consent-settings__buttons .button {
    min-width: 100px;
    font-size: 1.2rem;
    padding: 0 1em;
}

.tablet .consent-settings__buttons .button {
    min-width: 175px;
    font-size: 1.6rem;
    padding: 0 1.5em;
}

.consent-settings__button-accept-all,
.consent-settings__button-accept-all:hover {
    background-color: var(--color-red);
}

.consent-settings__button-accept-selected,
.consent-settings__button-accept-selected:hover {
    background-color: var(--color-dark-blue);
}