/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/
#multi_popup {
    position: absolute;
    z-index: 999;
    line-height: 1.2em;
    top: 150px;
}

.popup-bx-wrapper {
    position: relative;
    margin: 0 auto;
    /*padding-bottom: 20px;*/
    height: 500px;
    overflow: hidden;
    background: #f5f5f5;
}

.popup-bx-wrapper img {
    max-width: 500px;
    max-height: 500px;
}

.main_bigSlider > li > a {
    text-align: center;
    display: block;
}

.main_bigSlider > li > a > img {
}

#bx-wrap {
    position: relative;
}

#bx-wrap .pageWrap {
    position: absolute;
    width: 1100px;
    left: 50%;
    bottom: 35px;
    transform: translate(-50%, 0);
    display: flex;
    justify-content: end;
}

#bx-wrap .page {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px;
    color: #fff;
    border-radius: 30px;
    width: 70px;
    text-align: center;
    z-index: 1
}

#bx-wrap .page .icon-plus-alt {
    font-size: 1.1em;
    vertical-align: text-bottom;
    margin-left: 10px;
    cursor: pointer
}


/** THEME
===================================*/

.popup-bx-wrapper .bx-viewport {
    /*fix other elements on the page moving (on Chrome)*/
    -webkit-transform: translatez(0);
    -moz-transform: translatez(0);
    -ms-transform: translatez(0);
    -o-transform: translatez(0);
    transform: translatez(0);
}

.popup-bx-wrapper #popupPager,
.popup-bx-wrapper .bx-controls-auto {
    position: absolute;
    bottom: -30px;
    width: 100%;
}

/* LOADER */

.popup-bx-wrapper .bx-loading {
    min-height: 50px;
    background: url(images/bx_loader.gif) center center no-repeat #fff;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2000;
}

/* PAGER */

.popup-bx-wrapper #popupPager {
    text-align: center;
    font-size: .85em;
    font-family: Arial;
    font-weight: bold;
    color: #666;
    padding-top: 20px;
}

.popup-bx-wrapper #popupPager #popupPager-item,
.popup-bx-wrapper .bx-controls-auto .bx-controls-auto-item {
    display: inline-block;
    *zoom: 1;
    *display: inline;
}

.popup-bx-wrapper #popupPager.bx-default-pager a {
    background: #666;
    text-indent: -9999px;
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    outline: 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.popup-bx-wrapper #popupPager.bx-default-pager a:hover,
.popup-bx-wrapper #popupPager.bx-default-pager a.active {
    background: #000;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.popup-bx-wrapper .bx-prev {
    left: 120px;
    background: url(./images/all_aw.png) no-repeat 0 -207px;
}

.popup-bx-wrapper .bx-next {
    right: 120px;
    background: url(./images/all_aw.png) no-repeat -57px -207px;
}

.popup-bx-wrapper .bx-prev:hover {
    background-position: 0 -310px;
}

.popup-bx-wrapper .bx-next:hover {
    background-position: -57px -310px;
}

/* 모바일용 추가 */
@media (max-width: 768px) {
    .popup-bx-wrapper .bx-prev {
        left: 10px;
        background: url(images/controls.png) no-repeat 0 -32px;
    }

    .popup-bx-wrapper .bx-next {
        right: 10px;
        background: url(images/controls.png) no-repeat -43px -32px;
    }

    .popup-bx-wrapper .bx-prev:hover {
        background-position: 0 0;
    }

    .popup-bx-wrapper .bx-next:hover {
        background-position: -43px 0;
    }

    .popup-bx-wrapper .bx-controls-direction a {
        position: absolute !important;
        top: 50% !important;
        margin-top: -16px !important;
        outline: 0 !important;
        width: 32px !important;
        height: 32px !important;
        text-indent: -9999px;
        z-index: 9999;
    }


}


.popup-bx-wrapper .bx-controls-direction a {
    position: absolute;
    top: 50%;
    margin-top: -49px;
    outline: 0;
    width: 52px;
    height: 98px;
    text-indent: -9999px;
    z-index: 1;
}

.popup-bx-wrapper .bx-controls-direction a.disabled {
    display: none;
}

/* AUTO CONTROLS (START / STOP) */

.popup-bx-wrapper .bx-controls-auto {
    text-align: center;
}

.popup-bx-wrapper .bx-controls-auto .bx-start {
    display: block;
    text-indent: -9999px;
    width: 10px;
    height: 11px;
    outline: 0;
    background: url(images/controls.png) -86px -11px no-repeat;
    margin: 0 3px;
}

.popup-bx-wrapper .bx-controls-auto .bx-start:hover,
.popup-bx-wrapper .bx-controls-auto .bx-start.active {
    background-position: -86px 0;
}

.popup-bx-wrapper .bx-controls-auto .bx-stop {
    display: block;
    text-indent: -9999px;
    width: 9px;
    height: 11px;
    outline: 0;
    background: url(images/controls.png) -86px -44px no-repeat;
    margin: 0 3px;
}

.popup-bx-wrapper .bx-controls-auto .bx-stop:hover,
.popup-bx-wrapper .bx-controls-auto .bx-stop.active {
    background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.popup-bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager #popupPager {
    text-align: left;
    width: 80%;
}

.popup-bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
    right: 0;
    width: 35px;
}

/* IMAGE CAPTIONS */

.popup-bx-wrapper .bx-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #666 \9;
    background: rgba(80, 80, 80, 0.75);
    width: 100%;
}

.popup-bx-wrapper .bx-caption span {
    color: #fff;
    font-family: Arial;
    display: block;
    font-size: .85em;
    padding: 10px;
}

/* popupSlider */
.popupSlider p {

}

/* popupPager */
#popupPager {
    width: 500px;
    background: #f5f5f5;
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    /*padding:0 19px 10px;*/
    box-sizing: border-box;
}

#popupPager::after {
    content: "";
    display: block;
    clear: both;
}

#popupPager ul {
}

#popupPager li {
}

#popupPager li a {
    background: #fff;
    vertical-align: middle;
    display: block;
    text-align: center;
    border: 2px solid #f5f5f5;
    box-sizing: border-box;
    width: 125px;
    height: 125px;
}

#popupPager li a img {
    width: 121px;
    height: 121px;
}

#popupPager .active, #popupPager .pagerHover {
    border: 2px solid red;
}

.popup_close {
    position: absolute;
    bottom: -30px;
    left: -1px;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#60000000, endColorstr=#60000000);
    background-color: #333;
    padding-top: 7px;
    padding-bottom: 7px;
    line-height: 1.2em;
    border: 1px solid #aaaaaa;
    border-top: 0;
}

.fa.fa-times {
    position: absolute;
    top: 4px;
    right: 5px;
    cursor: pointer;
    font-size: 20px;
    z-index: 1000;
    color: #ffffff;
}

.popup_label {
    padding-left: 7px;
    color: #ffffff
}
