body.privacy-policy-open {
    overflow: hidden;
}

#ft .ft-nav a {
    color: #aaa;
    font-size: calc(.8rem + 1px);
    letter-spacing: 0;
}

#ft .ft-nav a:hover {
    color: #ccc;
}

#ft .ft-nav .privacy-policy-link,
#ft .ft-nav .privacy-policy-link:hover {
    color: #fff;
    font-weight: 500;
}

.privacy-policy-layer {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
}

.privacy-policy-layer.is-open {
    display: block;
}

.privacy-policy-layer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}

.privacy-policy-layer__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px);
    max-width: 920px;
    height: calc(100vh - 140px);
    max-height: 760px;
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%);
    overflow: hidden;
    outline: 0;
}

.privacy-policy-layer__header {
    position: relative;
    flex: 0 0 auto;
    padding: 24px 72px 18px;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.08);
    text-align: center;
    z-index: 1;
}

.privacy-policy-layer__header h2 {
    margin: 0;
    color: #222;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.3;
}

.privacy-policy-layer__close {
    position: absolute;
    top: 13px;
    right: 14px;
    width: 58px;
    height: 58px;
    padding: 14px;
    border: 0;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 700ms cubic-bezier(0.86, 0, 0.07, 1);
    transform: rotate(0deg);
}

.privacy-policy-layer__close:hover {
    transition: transform 400ms cubic-bezier(0.86, 0, 0.07, 1);
    transform: rotate(180deg);
}

.privacy-policy-layer__close img {
    display: block;
    width: 31px;
    height: 29px;
}

.privacy-policy-layer *:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

.privacy-policy-layer__toolbar {
    flex: 0 0 auto;
    padding: 20px 36px 14px;
    background: #fff;
}

.privacy-policy-layer__toolbar label {
    display: block;
    margin-bottom: 7px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.privacy-policy-layer__toolbar select {
    width: 100%;
    max-width: 430px;
    height: 42px;
    padding: 0 36px 0 12px;
    border: 1px solid #999;
    border-radius: 0;
    background-color: #fff;
    color: #222;
    font-size: 15px;
}

.privacy-policy-layer__content {
    min-height: 180px;
    padding: 6px 36px 40px;
    overflow-y: auto;
    background: #fafafa;
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    -webkit-overflow-scrolling: touch;
}

.privacy-policy-layer__status {
    padding: 50px 0;
    color: #666;
    text-align: center;
}

.privacy-policy-layer__status.is-loading span {
    vertical-align: middle;
}

.privacy-policy-layer__spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    border: 3px solid #d8d8d8;
    border-top-color: #555;
    border-radius: 50%;
    box-sizing: border-box;
    animation: privacy-policy-spin .8s linear infinite;
}

@keyframes privacy-policy-spin {
    to {
        transform: rotate(360deg);
    }
}

.privacy-policy-layer__status.is-error {
    color: #b42318;
}

.privacy-policy-document__effective-date {
    margin: 0 0 24px;
    color: #666;
    text-align: right;
}

.privacy-policy-document section {
    margin-top: 30px;
}

.privacy-policy-document h3 {
    margin: 0 0 12px;
    color: #222;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.5;
}

.privacy-policy-document h4 {
    margin: 18px 0 8px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.privacy-policy-document p {
    margin: 0 0 12px;
}

.privacy-policy-document ul,
.privacy-policy-document ol {
    margin: 8px 0 16px;
    padding-left: 24px;
}

.privacy-policy-document li {
    margin: 4px 0;
}

.privacy-policy-document a {
    color: #1769aa;
    text-decoration: underline;
}

.privacy-policy-document__contact {
    display: inline-block;
    width: calc(50% - 10px);
    margin: 10px 16px 0 0;
    padding: 16px 20px;
    border: 1px solid #ddd;
    background: #fafafa;
    box-sizing: border-box;
    vertical-align: top;
}

.privacy-policy-document__contact + .privacy-policy-document__contact {
    margin-right: 0;
}

.privacy-policy-document__contact h4 {
    margin-top: 0;
}

.privacy-policy-document__contact ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

@media screen and (max-width: 700px) {
    .privacy-policy-layer__dialog {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }

    .privacy-policy-layer__header {
        padding: 18px 58px 14px;
    }

    .privacy-policy-layer__header h2 {
        font-size: 23px;
    }

    .privacy-policy-layer__close {
        top: 7px;
        right: 8px;
    }

    .privacy-policy-layer__toolbar {
        padding: 16px 20px 12px;
    }

    .privacy-policy-layer__toolbar select {
        max-width: none;
    }

    .privacy-policy-layer__content {
        padding: 4px 20px 30px;
        font-size: 14px;
    }

    .privacy-policy-document__contact {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

@media screen and (max-width: 600px) {
    #ft .ft-nav a {
        font-size: calc(.7rem + 1px);
    }
}
