.dialog-wrapper {
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: opacity 1s;
}


.dialog-container {
    background-image: url("../images/dialog_bg.svg");
    background-size: contain;
    background-position: center;
    width: 100%;
    max-width: 1320px;
    padding-top: 75%;
    position: relative;
}

.dialog-content-container {
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
    bottom: 0;
    right: 0;
    max-width: 975px;
    max-height: 890px;
    display: flex;
    flex-flow: column;
}

.dialog-close-button {
    cursor: pointer;
    margin-top: 43px;
    margin-right: 10px;
    align-self: flex-end;
    width: 48px;
    height: 48px;
    background-image: url("../icons/ic_close_dialog.svg");
    background-position: center;
    background-size: contain;
}

.dialog-content {
    width: 100%;
    display: flex;
    height: 0;
    flex-grow: 1;
    max-height: 650px;
    opacity: 0;
    transition: opacity 500ms;
}

.dialog-content-active {
    opacity: 1;
}

.dialog-toc-column {
    box-sizing: border-box;
    padding-left: 80px;
    padding-right: 0;
    width: 340px;
    display: flex;
    flex-flow: column;
}

.dialog-toc-header {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.dialog-divider {
    width: 2px;
    height: 100%;
    max-height: 580px;
    background: #E6E6E6;
}

.dialog-details-container {
    padding-left: 50px;
    padding-right: 50px;
    width: 0;
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-flow: column;
}

.dialog-details-title {
    margin-bottom: 20px;
    color: var(--dark-accent);
    width: 100%;
    font: normal normal bold 34px/40px 'Zen Maru Gothic';
}

.dialog-details {
    flex-grow: 1;
    height: 0;
    color: #717171;
    font: normal normal normal 16px/25px 'Noto Sans';
}

.dialog-right-arrow {
    cursor: pointer;
    width: 75px;
    height: 75px;
    background-size: contain;
    background-position: right;
    background-image: url("../icons/ic_right_arrow.svg");
    position: absolute;
    right: -20px;
    top: 320px;
    background-repeat: no-repeat;
}

.dialog-left-arrow {
    cursor: pointer;
    width: 75px;
    height: 75px;
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    background-image: url("../icons/ic_left_arrow.svg");
    position: absolute;
    left: -20px;
    top: 320px;
}

@media (max-width: 1366px) {

    #info-dialog-wrapper {
        z-index: 11;
        background: rgba(208, 208, 208, 0.95);
    }


    #info-dialog-wrapper .dialog-content-container{
        max-width: 1100px;
    }

    .dialog-container {
        margin-top: 100px;
        width: 80%;
    }

    #info-dialog-wrapper .dialog-container {
        width: 100%;
        max-height: 950px;
    }

    #info-dialog-wrapper .dialog-divider {
        margin-left: 10px;
    }

    #info-dialog-wrapper .dialog-content {
        width: 90%;
    }

    #info-dialog-wrapper .dialog-toc-column {
        padding-left: 160px;
        width: 420px;
    }

}

@media (max-width: 986px) {

    .dialog-close-button {
        margin-top: 50px;
        margin-right: unset;
    }

    .dialog-left-arrow, .dialog-right-arrow {
        display: none;
    }


    .dialog-wrapper {
        width: 100%;
        height: 100%;
    }

    .dialog-container {
        margin-top: unset;
        background-image: unset;
        background: white;
        width: 100%;
        height: 100%;
    }

    .dialog-content {
        width: 100%!important;
        max-height: unset;
        flex-flow: column;
    }

    .dialog-toc-column {
        padding-left: 10px!important;
        padding-right: 10px;
        width: 100%!important;
        flex-flow: row;
    }

    .dialog-toc-header {
        width: 0;
        flex-grow: 1;
    }

    .dialog-divider {
        display: none;
    }

    #dialog-toc-title {
        text-align: center;
    }

    #dialog-toc {
        width: 0;
        flex-grow: 1;
        max-height: 240px;
        overflow: auto;
    }

    .dialog-details-container {
        box-sizing: border-box;
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
        height: 0;
    }

    .dialog-details {
        overflow: auto;
        box-sizing: border-box;
        width: 100%;
        padding-bottom: 40px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .dialog-details-title {
        margin-bottom: 10px;
        font: normal normal bold 25px/29px 'Zen Maru Gothic';
    }

    .dialog-toc-header > .service-column-image-container {
        width: 100px;
        height: 100px;
    }

    .dialog-toc-header > .service-column-image-container > .service-column-image {
        width: 100px;
        height: 100px;
    }
}