/* Magnific Popup CSS */
a:focus {
    outline: none;
    text-decoration: none;
}

.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #000000;
    opacity: 0.8;
}

.mfp-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    outline: none !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    position: fixed;
    text-align: center;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 36px;
    box-sizing: border-box;
    overflow: auto;
}

.mfp-container:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
    display: none;
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto;
}

.mfp-ajax-cur {
    cursor: progress;
}

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out;
}

.mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
    cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.mfp-loading.mfp-figure {
    display: none;
}

.mfp-hide {
    display: none !important;
}

.mfp-preloader {
    color: #ccc;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}

.mfp-preloader a {
    color: #ccc;
}

.mfp-preloader a:hover {
    color: #fff;
}

.mfp-s-ready .mfp-preloader {
    display: none;
}

.mfp-s-error .mfp-content {
    display: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.mfp-close {
    position: absolute;
    width: 32px;
    height: 32px;
    right: 32px;
    top: 32px;
    opacity: 1;
    border: none;
    border-radius: 8px;
    background-color: #f1f3f5;
    background-image: url("../../../images/icon_close.png");
    background-repeat: no-repeat;
    background-position: center;
}

.mfp-close:hover,
.close-btn:hover {
    opacity: 1;
    background-color: #e9ecef !important;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: #fff;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #ccc;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.mfp-arrow {
    position: absolute;
    opacity: 0.65;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
    margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
    opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent;
}

.mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px;
}

.mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7;
}

.mfp-arrow-left {
    left: 0;
}

.mfp-arrow-left:after {
    border-right: 17px solid #fff;
    margin-left: 31px;
}

.mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3f3f3f;
}

.mfp-arrow-right {
    right: 0;
}

.mfp-arrow-right:after {
    border-left: 17px solid #fff;
    margin-left: 39px;
}

.mfp-arrow-right:before {
    border-left: 27px solid #3f3f3f;
}

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
    top: -40px;
}

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000;
}

/* Main image in popup */
img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
    line-height: 0;
}

.mfp-figure:after {
    content: "";
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444;
}

.mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px;
}

.mfp-figure figure {
    margin: 0;
}

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #f3f3f3;
    word-wrap: break-word;
    padding-right: 36px;
}

.mfp-image-holder .mfp-content {
    max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0;
    }
    .mfp-img-mobile img.mfp-img {
        padding: 0;
    }
    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0;
    }
    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px;
    }
    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        box-sizing: border-box;
    }
    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0;
    }
    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px;
    }
    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0;
    }
}

.white-popup {
    position: relative;
    background: #fff;
    padding: 64px 32px 32px 32px;
    width: auto;
    max-width: 560px;
    margin: 20px auto;
    border-radius: 16px;
    box-shadow: 4px 12px 40px 0 rgba(0, 0, 0, 0.1);
}

/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.5;
}

/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

.modal-popup-header {
    margin-bottom: 22px;
}

.modal-popup-header > h1 {
    font-size: 28px;
    font-weight: bold;
    color: #212529;
    margin-bottom: 12px;
}
.modal-popup-header > h6 {
    font-size: 15px;
    font-weight: 500;
    color: #868e96;
}

.modal-popup-body {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}
.modal-popup-body > a {
    position: relative;
    width: 240px;
    height: 214px;
    border-radius: 16px;
    background-color: #f8fafb;
    z-index: 1;
    cursor: pointer;
}

/** together popup */
.modal-together-contact {
    position: relative;
    width: auto;
    height: auto;
    max-width: 1080px;
    margin: auto;
    border-radius: 16px;
    box-shadow: 4px 12px 40px 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding: 32px;
}
.modal-together-contact > .modal-container > header {
    text-align: center;
    margin-top: 40px;
}
.modal-together-contact > .modal-container > header > span {
    display: block;
}
.modal-together-contact > .modal-container > header > span:nth-child(1) {
    font-size: 13px;
    font-weight: bold;
    color: #519cff;
}
.modal-together-contact > .modal-container > header > span:nth-child(2) {
    font-size: 36px;
    font-weight: bold;
    color: #212529;
}
.modal-together-contact > .modal-container > header > span:nth-child(3) {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.49;
    color: #343a40;
}
.modal-together-contact > .modal-container > header > div > .sple-link,
.modal-together-contact > .modal-container > header > .goods-link {
    display: flex;
    width: fit-content;
    height: 48px;
    min-width: 160px;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    color: #ffffff;
    border-radius: 24px;
    background-color: #212529;
    margin: 24px auto auto auto;
}
.modal-together-contact > .modal-container > header > div {
    display: flex;
    flex-direction: row;
    width: auto;
    justify-content: center;
    gap: 12px;
    margin: 24px auto auto auto;
}
.modal-together-contact > .modal-container > header > div > .sple-link {
    display: inline-block;
    min-width: 220px;
    padding: 8px 0;
    margin: 0;
}
.modal-together-contact > .modal-container > .article-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    height: auto;
    gap: 15px;
    margin-top: 24px;
}
.modal-together-contact > .modal-container > .article-container img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: contain;
}
.modal-together-contact > .modal-container > .article-container > div {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-together-contact > .modal-container > .article-container > div > p {
    position: absolute;
    top: 32px;
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
}
.modal-together-contact > .modal-container > .toonation-content > p {
    color: #141619;
}
.modal-together-contact > .modal-container > article > div:nth-child(3) {
    color: #ffffff;
}
.modal-together-contact > .modal-container > header > .goods-link {
    margin: 20px auto auto auto;
}
.modal-together-contact > .modal-container > .modal-content-sple {
    grid-template-columns: 1fr;
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }
    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }
    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }
}

@media (max-width: 768px) {
    .mfp-fade.login-popup > .mfp-container {
        padding: 0 20px;
    }
    .mfp-fade.modal-popup > .mfp-container {
        padding: 0;
    }
    .mfp-fade.modal-popup .mfp-content {
        width: 100%;
        height: 100%;
        background-color: #ffffff;
    }
    .modal-close {
        position: sticky;
        width: auto;
        top: 0;
        padding: 14px 20px;
        border-bottom: 1px solid rgba(1, 1, 1, 0.1);
        background-color: #ffffff;
        z-index: 2;
    }
    .white-popup {
        max-width: 350px;
        padding: 56px 40px 40px 40px;
    }
    .mfp-close {
        top: 16px;
        right: 16px;
    }
    .modal-popup-header {
        margin-bottom: 16px;
    }
    .modal-popup-body {
        flex-direction: column;
    }
    .modal-popup-body > a {
        display: grid;
        width: fit-content;
        width: 100%;
        height: 88px;
        max-width: 272px;
        grid-template-columns: auto 1fr;
        grid-template-rows: 24px 24px;
        align-items: center;
        align-content: center;
        padding: 16px;
    }
    .modal-popup-body > a > img {
        display: inline-block;
        width: 48px;
        height: 48px;
        grid-row: 1/3;
        grid-column: 1;
        margin-top: 0;
        margin-right: 19px;
    }
    .modal-popup-body > a > span:nth-child(3) {
        grid-row: 1;
        grid-column: 2;
        font-size: 13px;
        text-align: left;
        margin: 0;
    }
    .modal-popup-body > a > span:nth-child(4) {
        grid-row: 2;
        grid-column: 2;
        text-align: left;
    }

    .modal-together-contact {
        width: 100%;
        max-width: none;
        padding: 0;
        box-shadow: none;
        border-radius: initial;
    }
    .modal-together-contact[data-id="modal-sple"] {
        height: 100%;
    }
    .modal-together-contact > .modal-container {
        padding: 20px 20px 32px 20px;
    }
    .modal-together-contact[data-id="modal-sple"] > .modal-container {
        padding: 20px 0 0 0;
    }
    .modal-together-contact > .modal-container > header {
        margin-top: 0;
    }
    .modal-together-contact[data-id="modal-sple"] > .modal-container > header {
        padding: 0 20px;
    }
    .modal-together-contact > .modal-container > header > span:nth-child(2) {
        font-size: 32px;
        margin: 6px 0 8px 0;
    }
    .modal-together-contact > .modal-container > .article-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 449px);
        margin-top: 20px;
        gap: 20px;
    }
    .modal-together-contact > .modal-container > .article-container > div > p {
        width: 300px;
    }
    .modal-together-contact > .modal-container > header > div {
        flex-direction: column;
        gap: 12px;
        margin: 20px 0 0 0;
        align-items: center;
    }
    .modal-together-contact > .modal-container > .modal-content-sple {
        grid-template-rows: 1fr;
    }
    .modal-together-contact[data-id="modal-sple"] > .modal-container > .modal-content-sple > img {
        height: 377px;
        border-radius: initial;
        object-fit: none;
    }
}

@media (max-width: 360px) {
    .white-popup {
        max-width: 320px;
        padding: 56px 24px 40px 24px;
    }
}

/* 투네애드 팝업 */
.align-center {
    text-align: center;
}
.info-text.warn {
    color: #f55f54;
    font-size: 15px;
    font-weight: 500;
    line-height: 150%;
}
.toonad-popup > .modal-close {
    margin-bottom: 8px;
}
.toonad-popup > .modal-close > p {
    color: #212529;
    font-size: 22px;
    font-weight: 700;
}

.modal-together-contact > .modal-container {
    max-height: 500px;
    overflow-y: auto;
    margin-top: 24px;
}

.modal-together-contact > .modal-container .ad-reference {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
}

.modal-together-contact > .modal-container .ad-reference .reference-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #F8FAFB;
    border-radius: 14px;
    border: 1px solid #eee;
    padding: 24px;
    gap: 8px;
}

.modal-together-contact > .modal-container .ad-reference .reference-items p {
    font-size: 17px;
    position: relative;
    grid-column: span 2;
    top: 0;
    text-align: left;
    color: #212529;
}

/* 테이블 */
.toonad-content .table-container {
    width: auto;
    font-size: 14px;
}

.table-box {
    display: flex;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow-x: auto;
    min-height: 380px;
}

.table-content {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.thead {
    background-color: #e9ecef;
    color: #656d75;
    font-weight: 700;
    text-align: center;
    padding: 12px 8px;
    line-height: 24px;
    flex: 1;
    white-space: nowrap;
}

.tbody {
    flex: 20;
    padding: 12px 8px;
    white-space: nowrap;
    line-height: 18px;
    border-left: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.table-box .table-content .tbody-box {
    flex: 20;
    display: flex;
    flex-direction: column;
}
.tbody + .tbody {
    border-top: 1px solid #eee;
}

.tbody ul,
.tbody ol {
    padding-left: 14px;
    list-style-type: none;
    counter-reset: list-counter;
}

.tbody ol {
    padding-left: 20px;
}
.tbody ol > li {
    position: relative;
    counter-increment: list-counter;
    padding: 0 8px 8px;
}

.tbody ol > li p {
    font-weight: 700;
}

.tbody ol > li::before {
    content: counter(list-counter);
    position: absolute;
    left: -20px;
    top: 0;
    background-color: #519cff;
    border-radius: 50%;
    text-align: center;
    width: 20px;
    height: 20px;
    line-height: 21px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.tbody ul li {
    list-style: disc;
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 12px 12px 12px 12px;
}

/* Tab */
.tab-box {
    margin-top: 22px;
    display: flex;
    gap: 12px;
}

.tab-box .tab-host {
    display: flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 1000px;
    color: #212529;
    background-color: #e9ecef;
    border: none;
    font-size: 17px;
    font-weight: 500;
}

.tab-box .tab-host.active {
    color: #fff;
    font-weight: 700;
    background-color: #212529;
}

/* iframe */
.modal-together-contact > .modal-container.operation-container {
    overflow-y: hidden;
}
.operation-info iframe {
    width: 100%;
    min-height: 500px;
    border: none;
}

@media (max-width: 1279px) and (min-width: 768px) {
    .modal-together-contact > .modal-container .ad-reference {
        grid-template-columns: 1fr;
    }
    .modal-together-contact > .modal-container .ad-reference .reference-items p {
        font-size: 14px;
    }
}

/** 모바일 */
@media (max-width: 768px) {
    .modal-together-contact > .modal-container {
        max-height: none;
    }
    .modal-together-contact .info-text {
        padding: 16px 20px 0;
    }
    .modal-together-contact > .modal-container .ad-reference {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 0;
    }
    .modal-together-contact > .modal-container .ad-reference .reference-items p {
        font-size: 14px;
    }
    .table-box {
        flex-direction: column;
        overflow-y: auto;
    }

    .table-box .tbody {
        white-space: wrap;
        justify-content: center;
        padding: 20px 0;
    }

    .table-box .table-content .tbody-box {
        flex-direction: row;
    }

    .tab-box {
        padding-left: 20px;
    }
    .modal-together-contact > .modal-container.operation-container {
        margin-top: 0;
        padding-top: 10px;
    }

    .operation-info iframe {
        height: 100vh;
    }
}
