﻿#modal.modal-overlay {
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 340px;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal > .modal-window {
    /*display: none;*/
}

    #modal > .modal-window.active {
        display: block;
        z-index: 9999;
        background: #fff;
        border: solid 3px #000;
        text-align: center;
        position: relative;
        overflow: hidden;
        max-height: 900px;
    }

        #modal > .modal-window.active > img {
            margin-top: 20px;
        }

.w3-button {
    padding: 1rem 1.75rem;
    color: #fff;
    position: fixed;
    background-color: #000;
    border: solid 2px #fff;
}

.w3-display-left {
    left: 10%;
    top: 50%;
}

.w3-display-right {
    right: 10%;
    top: 50%;
}

/*#owl-modalpopup {position:relative; width: 900px;} /* 기본 적용 사이즈 */
/*#owl-modalpopup {position:relative; width: 700px;} /* 기본 적용 사이즈 */
#owl-modalpopup2 {
    position: relative;
    width: 600px;
}
/* 세로형 메인 적용 사이즈 */
/*#owl-modalpopup .owl-stage {display: flex; height: 800px;}*/
/*#owl-modalpopup .owl-stage {display: flex; height: 600px;}*/
#owl-modalpopup .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

    #owl-modalpopup .owl-item a {
        display: flex;
    }
    /*#owl-modalpopup2 .owl-item img {max-width: 600px; max-height: 775px; margin-top: 25px;}*/ /* 세로형 메인 적용 사이즈 */
    /* #owl-modalpopup .owl-item img {max-width: 900px; max-height: 775px; margin-top: 25px;}  /* 기본 적용 사이즈 */
    #owl-modalpopup .owl-item img {
        max-width: 700px;
        max-height: 575px;
        margin-top: 25px;
    }

#owl-modalpopup .disabled {
    display: none;
}

#owl-modalpopup .owl-dots {
    position: absolute;
    top: 4rem;
    right: 2rem;
}

    #owl-modalpopup .owl-dots > .owl-dot {
        width: 17px;
        height: 17px;
        border: solid 1px #929292;
        float: left;
        margin: 0.2rem;
        border-radius: 50%;
        background-color: #fff;
        cursor: pointer;
    }

    #owl-modalpopup .owl-dots > .active {
        background-color: #000;
    }

@media (max-width: 992px) {
    #modal.modal-overlay {
        height: 150%;
    }

    #modal > .modal-window.active {
        max-height: 600px;
    }
}
