@charset "utf-8";

/* 팝업 */
.mainPop {
    display: none;
    position: absolute;
    z-index: 21;
    max-width: 1000px;
    background-color: #fff;
    border-radius: 15px;
}

.mainPop .title {
    padding: 20px;
    background: #606060;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    text-align: center;
}

.mainPop .title b {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
}

.mainPop .popImg img,
.mainPop .popImg iframe {
    display: block;
    max-width: 100% !important;
}

.mainPop .popText {
    padding: 12px;
}

.mainPop .closeDay {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    background: #606060;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    color: #fff;
    font-weight: 500;
    line-height: 36px;
    text-align: center;
}

.mainPop .closeDay .inputSet input {
    margin-top: -3px;
    margin-right: 10px;
}

.mainPop .closeDay .btnClose {
    display: block;
    margin-right: 15px;
    margin-left: 15px;
    right: 15px;
    bottom: 11px;
    width: 15px;
    height: 15px;
    background: url(/static/img/portal/main/icon_mainPop_close.png) no-repeat;
    text-indent: -9999em;
}

.mainPop .popImg.aTag-f a {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
}

.mainPop [type=checkbox] {
    width: 15px;
    height: 15px;
    vertical-align: text-bottom;
}

@media all and (min-width: 1280px) {
    #galleryPopup {
        transform: translate(0);
        left: 50px;
        top: 120px;
    }

    #galleryPopup2 {
        transform: translate(0);
        left: 655px;
        top: 120px;
    }
}

@media all and (max-width: 1280px) {
    #galleryPopup {
        margin-top: -150px;
    }
}

@media all and (max-width: 720px) {
    .mainPop {
        transform: translate(0);
        left: 8px;
        top: 16px;
    }

    #galleryPopup {
        margin: 0 !important;
        top: 60px !important;
    }

    #galleryPopup2, #galleryPopup3 {
        margin: 70px 0 0 0 !important;
        top: 94px !important;
    }
}
