.template-7018 {
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    z-index: 10;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(1px);
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: opacity .4s;
    padding: 15px;
    opacity: 0;
    pointer-events: none;
}

.template-7018.show-header {
    z-index: 9;
}

.template-7018 .template__inner {
    max-width: 870px;
    box-shadow: 1px 1px 5px 3px rgba(0, 0, 0, .5);
    padding: 15px;
    max-height: 90vh;
    overflow-x: hidden;
    overflow-y: auto;
    top: 30px;
    transition: opacity .4s;
}

/* width */
.template-7018 .template__inner::-webkit-scrollbar {
    width: 6px;
}
  
  /* Track */
.template-7018 .template__inner::-webkit-scrollbar-track {
    background: #f1f1f1;
}
  
  /* Handle */
.template-7018 .template__inner::-webkit-scrollbar-thumb {
    background: #888;
}
  
  /* Handle on hover */
.template-7018 .template__inner::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (min-width: 767px) {
    
    .template-7018 .template__inner {
        top: 50px;
        padding: 20px 15px;
    }

    .template-7018.desktop-centered {
        display: flex;
        align-items: center;
    }

    .template-7018.desktop-centered .template__inner {
        top: 0;
    }
}

.template-7018 .template__inner > .template__close {
    top: 20px;
    right: 20px;
    border: none;
    border-radius: 3px;
    padding: 0 5px;
    z-index: 3;
}

.template-7018.is-active {
    pointer-events: all;
    opacity: 1;
}