.modal-demo-body{
    background-color:#777;
}
.modal-btn p{line-height: 19px;position:absolute;top: 95px;}

/* 신규 모달 */
.modal_container{
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0;
    width: 100%;
    height: 100%;
    background-color: #000000d4;
    outline: 0;
}
.modal_frame{
    display: table-cell;
    width: 100vw;
    height: 100vh;
    padding: 50px;
    box-sizing: border-box;
    vertical-align: middle;
    background: rgba(0, 0, 0, 0.52);
}
.modal_body{
    width: auto;
    max-width: 1260px;
    background-color: transparent;
    text-align: center;
    transition: transform .3s ease;
    display: block;
    position: relative;
    margin:0 auto;
    height: auto;
}


/* 모달 오픈 */
.modal_showing{
    z-index: 101;
    transform: translateZ(0);
    opacity: 1;
}
/* 스크롤 블럭 */
.scroll-block{
    overflow:hidden;
}


.modal_close{
    overflow: hidden;
    position: absolute;
    top: 0;
    right: -65px;
    width: 26px;
    height: 26px;
    font-size: 0;
    cursor: pointer;
}
.modal_close:before, .modal_close:after{
    transition:.2s;
    content: "";
    position: absolute;
    height:1px;
    width:220%;
    top:0;
    background: #fff;
}
.modal_close:before{
    transform-origin: 0 0;
    left: 0;
    transform: rotate(45deg);
}
.modal_close:after{
    transform-origin: 100% 0;
    right: 0;
    transform: rotate(-45deg);
}








.modal-section{
    display:inline-block;
}
/* 모달 버튼 */
.modal-btn{
    width: 100px;
    height: 100px;
    display: block;
    position: relative;
    cursor: pointer;
    color:#fff;
}
.modal-btn:hover{
    color:#fff!important;
}



/* 모달 디자인 */
.modal-section .modal-container{
    background-color:#fff;
    padding:10px 15px;
    border-radius: 4px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width:500px;
    height:300px;
    display:none;
    z-index: 10001;
}

/* 이게 모달 열어주는 css  */
.modal-section[modal-data="active"] .modal-container{
    display:block;
}

/* 모달 컨텐츠 리디자인 */
.modal-section .modal-container iframe, .modal-section .modal-container video{
    max-width:100%;
    max-height: 100%;
    height:auto;
}

.active-mask{
    height: 100%;
    width: 100%;
    background-color: #000000bf;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 10000;
}

.modal-section{
    width: 90px;
    height: 90px;
    text-align: center;
    font-size: 14px;
    line-height: 152px;
    font-weight: 600;
    color: #fff;
    background: #62c6ff;
    margin:0px 0;
    border-radius: 60px;
    box-shadow: 4px 6px 16px 0px rgb(0 0 0 / 30%);
}
.modal-section:hover{
    background: #62c6ff;
}
.modal-section .modal-switch .modal-btn img{
    position: absolute;
    top: 12px;
    width: 70px;
    left: 15px;
    height: 70px;
}

.aside-fixed{
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    position: fixed;
    right: 20px;
    top: 0;
    width: 100px;
    height: 185%;
    z-index: 10;
}


#modalBtn1:after{
    transition: .2s;
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 1;
    width: 100%;
    height: 100%;
    background: url(../img/agent_90_1.png) no-repeat 0 0;
    background-position: 15px 7px;
}
#modalBtn2:after{
    transition: .2s;
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 1;
    width: 100%;
    height: 100%;
    background: url(../img/agent_90_2.png) no-repeat 0 0;
    background-position: 15px 7px;
}


#modalBtn3:after{
    transition: .2s;
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 1;
    width: 100%;
    height: 100%;
    background: url(../img/agent_90_3.png) no-repeat 0 0;
    background-position: 10px 8px;
}

@media screen and (min-width:720px){
    .aside-fixed{
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

@media screen and (max-width:720px){
    .modal_frame, .modal_content, .modal_content .movie{
        width:100%;
        height:100%;
        max-width: 100%;
        max-height: 100%;
    }
    .modal_content .movie iframe{
        max-width: 100%;
        max-height: 100%;
    }
    .modal_close{
        right:-40px!important;
    }
    .aside-fixed{
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: center;
        position: fixed;
        left: 36%;
        bottom: 0;
        width: 100%;
        height: 140px;
        z-index: 10;
        top: 84%;
        padding: 10px 0;
        /* background: #222328; */
    }
    .aside-fixed .modal-section{
        /* width: 75px; */
        /* height: 70px; */
        text-align: center;
        /* font-size: 15px; */
        /* line-height: 233px; */
        font-weight: 600;
        color: #fff;
        /* background: #41424a; */
        margin: 0 10px;
        flex-direction: row!important;
        -ms-lex-direction: row!important;
    }
}
