.dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #FBF7FF22;
    backdrop-filter: blur(0.3rem);
    z-index: 10;
}

.dialog .dialogWindow {
    margin: 10rem auto 0 auto;
    width: 75rem;
    height: 80vh;
    padding: 2.4rem 0 2.4rem 4rem;
    color: var(--clr-blue);
    text-align: left;
    background-color: var(--clr-white);
    border-top: solid 0.1rem var(--clr-grey);
    border-bottom: solid 0.1rem var(--clr-grey);
    overflow: hidden;
}

.dialog .mainTitle {
    display: flex;
    margin-bottom: 3rem;
    color: #5A5469;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 3.1rem;
    align-items: center;
    justify-content: space-between;
}

.dialog .closeButton{
    margin-right: 4rem;
    width: 2.4rem;
    height: 2.4rem;
    background-image: url("/images/global/icon-cross-blue.svg");
    cursor: pointer;
}

.dialog .body {
    margin-right: 4rem;
    max-height: 90%;
    overflow-x: hidden;
    overflow-y: scroll;
}

.dialog p {
    margin: 0;
}

.dialog .title {
    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.dialog .item {
    padding: 1.6rem 2.4rem;
    overflow: hidden;
}

.dialog .item:nth-child(2n-1) {
    background-color: var(--clr-background-white);
}

.dialog .title,
.dialog .text {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.4rem;
}

.dialog a {
    color: var(--clr-blue);
    text-decoration: underline;
}

.dialog .title p {
    max-width: 90%;
}

.dialog .arrow {
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("/images/global/icon-arrow-up.svg");
}

.dialog .item.selected .arrow {
    background-image: url("/images/global/icon-arrow-down.svg");
}

.dialog .text {
    padding-top: 2rem;
    display: none;
}

.dialog .item.selected .text {
    display: block;
}


/* ----------------- Tablet 720px ----------------- */
@media only screen and (max-width: 1000px) {
    .dialog .dialogWindow {
        margin: 5vh auto 0 auto;
        width: 90vw;
        height: 90vh;
        padding: 2.4rem 0 2.4rem 4rem;
    }

    .dialog .body {
        max-height: 86%;
    }
}


/* ----------------- Mobile 360px ----------------- */
@media only screen and (max-width: 500px) {
    .dialog .dialogWindow {
        padding: 1.4rem 0 1.4rem 2rem;
    }

    .dialog .body {
        margin-right: 2rem;
    }

    .dialog .item {
        padding: 0.6rem 1.4rem;
        overflow: hidden;
    }
}