/**************************\
  Basic Modal Styles
\**************************/

.modal {
    font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
}

.modal .modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 0 10px;
}

.modal .modal__container {
    background-color: #fff;
    box-sizing: border-box;
    max-width: 580px;
    overflow: visible;
    width: 100%;
}

.modal .modal__header {
    text-align: center;
}

.modal .modal__title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1.25;
    color: #000;
    box-sizing: border-box;
}

.modal .modal__close {
    border-radius: 50%;
    border: 0;
    font-size: 16px;
    height: 50px;
    padding: 0;
    position: absolute;
    right: -25px;
    top: -25px;
    width: 50px;
}

.modal .modal__close:before { content: "\2715"; }

.modal .modal__content {
    margin-top: 2rem;
    line-height: 1.5;
    color: rgba(0,0,0,.8);
}

.modal .modal__btn {
    font-size: 13px;
    padding: 10px 64px;
    width: 100%;
}

.modal .modal__btn-primary {
    background-color: #00449e;
    color: #fff;
}

.modal .modal_footer .cookie_button {
    max-width: 230px;
    margin: 0 auto;
}
.modal .modal_footer .accept_cookie {
    padding: 13px 10px;
}

/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes mmslideIn {
    from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}

@media screen and (min-width:769px) {
    .modal .modal__container {
        max-height: 65vh;
        padding: 70px 100px 80px 100px;
    }
    .modal .modal__close {
        right: -25px;
        top: -25px;
    }
}
@media screen and (max-width:768px) {
    .modal .modal__container {
        padding: 50px 10px 60px 10px;
    }
    .modal .modal__close {
        right: -8px;
        top: -25px;
    }
}