.dialog,
.dialog__overlay {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.dialog {
	position: fixed;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
    pointer-events: none;
    z-index: 999999999999;
}
.dialog__overlay {
	position: fixed;
	z-index: 1;
	background: rgba(0, 0, 0, 0.8);
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
	-webkit-backface-visibility: hidden;
}
.dialog--open .dialog__overlay {
	opacity: 1;
	pointer-events: auto;
}
.dialog__content {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 5;
    opacity: 0;
    height: 100%;
	overflow-y: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.dia-wrap {
    width: 70%;
    height: 80%;
    text-align: left;
    max-width: 1020px;
    background-color: #FFFFFF;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.dialog--open .dialog__content {
	pointer-events: auto;
}
.dialog__content .scroll-inner {
    height: 100%;
    overflow-y: scroll;
    background: #fff;
}
.dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: var(--borderW);
    padding-bottom: var(--space-15);
}
.dialog__content ::-webkit-scrollbar {
    width: 8px;
}
.dialog__content ::-webkit-scrollbar-thumb {
    background-color: var(--color-grayec);
    border-radius: 10px;
    background-clip: padding-box;
    border: 0px solid transparent;
}
.dialog__content ::-webkit-scrollbar-track {
    background-color: grey;
    border-radius: 10px;
    background-color: transparent;
}
    @media all and (max-width:1199px) {
        .dia-wrap {
            width:90%;
        }
    }
    @media all and (max-width:1023px) {
        .dia-wrap {
            width:90%;
        }
        .dialog-head {
            padding-bottom:15px
        }
        .dialog.dialog--open button img {
            width:20px
        }
        .dialog__content ::-webkit-scrollbar {
            width: 5px;
        }
    }
    @media all and (max-width:767px) {
        .dia-wrap {
            height: 90%;
        }
    }