/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.divtag-cookie-message {
    background: #000;
    border: none;
    box-sizing: border-box;
    box-shadow: 0 0 12px -2px rgba(0,0,0,0.8);
    color: #fff;
    display: inline-flex;
    align-content: center;
    align-items: center;
    padding: 20px;
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    z-index: 9999;
    animation: slidein 1s;
}

@keyframes slidein {
    from {
        top: -100%;
    }

    to {
        top: 20px;
    }
}

.cookie-message__short {
    color: #fff;
}

.divtag-cookie-message p {
    margin: 0;
    padding: 0;
}

.divtag-cookie-message a {
    color: inherit;
    margin: 0;
    padding: 0;
    text-decoration: underline;
}

.divtag-cookie-message a:hover {
    color: inherit;
    opacity: 0.8;
    text-decoration: none;
}

.cookie-message__short {
    float: left;
    font-size: 14px;
    line-height: 1.4em;
    font-weight: 400;
    font-style: normal;
}

.cookie-buttons {
    float: right;
    margin-left: 30px;
}

/*.cookie-buttons:hover .cookie-buttons__button--decline {*/
    /*display: none;*/
/*}*/

.cookie-buttons__button {
    font-size: 15px;
    border: none;
    border-radius: 2px;
    box-shadow: none;
    padding: 16px 32px;
    margin: 0;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    text-shadow: none;
    transition: opacity 0.2s;
}

.cookie-buttons__button:hover {
    background: inherit;
    border: none;
    opacity: 0.8;
}

.cookie-buttons__button--accept {
    background: #52C851;
}

.cookie-buttons__button--accept:hover {
    background: #52C851;
}

.cookie-buttons__button--decline {
    background: #C81516;
    display: none;
}

.cookie-buttons__button--decline:hover {
    background: #C81516;
}

.admin-bar .divtag-cookie-message {
    top: 52px;
}

.divtag-cookie-modal {
    display: none;
}

.tingle-modal table {
    border: 1px solid #000;
}
.tingle-modal table td {
    border: 1px solid #000;
    padding: 3px 5px;
}

.tingle-modal-box__content .cookie-buttons__button {
    display: none;
}

@media (max-width: 767px) {
    .cookie-buttons__button {
        font-size: 12px;
        margin: 0;
        padding: 8px 16px;
    }

    .cookie-buttons__button:first-child {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .cookie-buttons {
        width: 150px;
        margin-left: 15px;
    }

    .cookie-buttons__button {
        width: 100%;
    }
}