dialog {
    display: block;
    border: 0;
}
/* removes scroll when modal is opened */
.no-scroll {
    overflow: hidden;
}
/* overlay covers everything */
.simple-modal-overlay,
.simple-animated-modal-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, .8);
    opacity: .8;
    z-index: 666;
    cursor: pointer;
}
.simple-modal-overlay[data-background-click="disabled"],
.simple-animated-modal-overlay[data-background-click="disabled"] {
    cursor: auto;
}
.simple-animated-modal-overlay  {
    animation: fadewhite ease .5s 1 normal ;
}

@keyframes fadewhite {
    0% {
        opacity: 0;
    }
    100% {
        opacity: .8;
    }
}
/* modal */
.simple-modal,
.simple-animated-modal {
    position: fixed;
    left: 25%;
    top: 5%;
    width: 50%;
    max-height: 98vh;
    background: #fff;
    outline: none;
    z-index: 667;
    padding: 2em;
    right: auto;
    overflow: auto;
}
.simple-modal-close,
.simple-animated-modal-close {
    display: none;
    color: #fff;
    border: 0;
    font: inherit;
    padding: .25em .5em;
    cursor: pointer;
    position: absolute;
    bottom: 1em;
    right: 1em;
}

.simple-animated-modal {
    animation: apparition ease .5s 1 normal ;
}

@keyframes apparition {
    0% {
        opacity: 0;
        max-height: 0;
        width: 0;
        left: 50%;
    }
    100% {
        opacity: 1;
        max-height: 100%;
        width: 70%;
        left: 15%;
    }
}

/* it can be easily adapted in media-queries for tablets/mobile */

/* for this example: tablets */
@media (max-width: 55.625em) {

    .simple-modal,
    .simple-animated-modal {
        left: 5%;
        top: 5%;
        height: 90%;
        width: 90%;
    }

}

/* for this example: mobile */
@media (max-width: 44.375em) {

    .simple-modal,
    .simple-animated-modal {
        left: 1%;
        top: 1%;
        width: 98%;
        height: 98%;
    }

}

.ec-icon-arrow-right-red {
    color: #c33;
}

.cookie-modal {
    background-color: #F7F9F9;
    position: fixed;
    bottom: 0;
    z-index: 100;
    padding-left: 15%;
    padding-right: 15%;
    border-top: 1px solid #c33;
}

.cookie-modal-close {
    display: none !important;
}

.cookie-modal.closed {
    display: none;
}