/**
 * Document Element
 */
.has-modal {
    overflow: hidden;
}

.has-modal-full-viewport {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.has-modal-full-viewport body {
    height: 100%;
    overflow: hidden;
}

/**
   * Modal Elements
   */
.modal {
    position: fixed;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: none;
}

.modal-standard {
    overflow: auto;
    padding: 54px 0;
    background: rgba(0, 0, 0, 0.48);
    -webkit-overflow-scrolling: touch;
}
@media only screen and (max-width: 480px) {
    .modal-standard {
        padding-top: 20px;
        padding-bottom: 0;
    }
}
.modal-standard .content-table {
    display: table;
    width: 100%;
    height: 100%;
}
.modal-standard .content-cell {
    display: table-cell;
    vertical-align: middle;
}
.modal-standard .content-wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 980px;
}
@media only screen and (min-width: 1441px) {
    .modal-standard .content-wrapper {
        margin-left: auto;
        margin-right: auto;
        width: 980px;
    }
}
@media only screen and (max-width: 1068px) {
    .modal-standard .content-wrapper {
        margin-left: auto;
        margin-right: auto;
        width: 692px;
    }
}
@media only screen and (max-width: 734px) {
    .modal-standard .content-wrapper {
        margin-left: auto;
        margin-right: auto;
        width: 87.5%;
    }
}
@media only screen and (max-width: 734px) {
    .modal-standard .content-wrapper {
        min-width: min(100%, 480px);
    }
}
@media only screen and (max-width: 480px) {
    .modal-standard .content-wrapper {
        min-width: 100%;
        width: 100%;
        height: 100%;
    }
}
.modal-standard .content-padding {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    padding: 80px 8.33333%;
    background: white;
    border-radius: 18px;
}
@media only screen and (max-width: 734px) {
    .modal-standard .content-padding {
        padding-top: 80px;
        padding-bottom: 60px;
    }
}
@media only screen and (max-width: 480px) {
    .modal-standard .content-padding {
        flex-basis: 100%;
        max-width: 100%;
        padding-left: 6.25%;
        padding-right: 6.25%;
        box-sizing: border-box;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        height: 100%;
    }
}
@media only screen and (max-width: 1068px) {
    .modal-standard .modal-close {
        left: 17px;
        top: 18px;
    }
}
.theme-dark .modal-standard .content-padding,
.modal-standard.theme-dark .content-padding {
    background: #1d1d1f;
}

.modal-full-viewport {
    background: white;
    padding: 96px 0;
}
@media only screen and (max-width: 1068px) {
    .modal-full-viewport {
        padding: 80px 0;
    }
}
.modal-full-viewport.remove-container-padding {
    padding: 0;
}
.theme-dark .modal-full-viewport,
.modal-full-viewport.theme-dark {
    background: black;
}

.modal-open {
    display: block;
    z-index: 11000;
}
.modal-open:focus {
    outline-offset: -4px;
}

/**
   * Close Button
   */
.modal-close {
    position: absolute;
    display: flex;
    z-index: 9999;
    overflow: hidden;
    top: 24px;
    left: 24px;
    margin: 0;
    padding: 0;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: 0;
    color: rgba(134, 134, 139, 0.8);
}
.modal-close::before,
.modal-close::after {
    font-family: "SF Pro Icons";
    color: inherit;
    display: inline-block;
    font-style: normal;
    font-weight: inherit;
    font-size: inherit;
    line-height: 1;
    text-decoration: underline;
    position: relative;
    z-index: 1;
    alt: "";
}
.modal-close::before,
.modal-close::after {
    text-decoration: none;
}
.modal-close::before {
    display: none;
}
.modal-close::before,
.modal-close::after {
    content: "";
}
.modal-close:hover {
    color: #86868b;
}
.theme-dark .modal-close {
    color: rgba(110, 110, 115, 0.8);
}
.theme-dark .modal-close:hover {
    color: #6e6e73;
}
.modal-close::after {
    width: 0.9em;
    height: 0.9em;
    top: 0.05em;
    padding: 0;
    font-weight: 300;
}
@media only screen and (max-width: 1068px) {
    .modal-close {
        top: 20px;
        left: 20px;
        font-size: 32px;
    }
}

.developer-modal {
    visibility: hidden;
}
