body {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

main {
    background-color: #ffffff;
    padding-top: 54px;
}

.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.loading-wrapper {
    background-color: #ffffff;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
}

.modal {
    z-index: 1100 !important;
}

.modal-backdrop {
    z-index: 1099 !important;
}

/* body style */
.custom-container {
    position: relative;
    margin-right: auto;
    margin-left: auto;
    padding-right: 30px;
    padding-left: 30px;
    width: 100%;
    height: 100%;
}

/* lg >= 992 */
@media all and (min-width: 992px) {
    .custom-container {
        max-width: 960px;
    }
}

/* xl >= 1200 */
@media all and (min-width: 1200px) {
    .custom-container {
        max-width: 1140px;
    }
}

/* 상단 플로팅 배너 관련 신규 css */
html, body{margin:0; padding:0;}

.swiper.mainSwiper{
    position: sticky;
    top:0;
    left: 0;
    width: 100%;
    z-index: 1030;
    overflow: hidden;
}
.swiper.mainSwiper .swiper-slide{
    display: flex; width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.swiper.mainSwiper .swiper-slide a{
    display: inline-flex;
}
.swiper.mainSwiper .swiper-slide a img{width: 1024px; height: 80px;}
.swiper.mainSwiper .swiper-slide a img.pc{display: block;}
.swiper.mainSwiper .swiper-slide a img.mobile{display: none;}

/* 20230720 추가 :  기존 체크박스 오버라이딩*/
.obtest-wrap .chk-bg {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 4px;
}
.obtest-wrap .chk-bg {
    background: url('/assets/2025070201/img/external/obPromotion/ob-check.svg') no-repeat;
    background-size: cover
}

.obtest-wrap .chk:checked ~ .chk-bg {
    background: url('/assets/2025070201/img/external/obPromotion/ob-check-on.svg') no-repeat;
    background-size: cover;
}
.form-chkitem, .form-chkitem .form-chk{
    display: inline-flex !important;
    align-items: center;
}

@media all and (max-width: 768px) {
    #wrap.wrap{
        margin-top: -1px;
    }
    .swiper.mainSwiper .swiper-slide a {display: flex; width: 100%;}
    .swiper.mainSwiper .swiper-slide a img{width: auto; height: 114px; margin: auto;}
    .swiper.mainSwiper .swiper-slide a img.pc{display: none;}
    .swiper.mainSwiper .swiper-slide a img.mobile{display: block;}
    /* 20230720 추가*/
    .obtest-wrap .chk-bg {
        display: inline-block;
        width: 18px;
        height: 18px;
        margin-right: 4px;
        margin-top: 0 !important;
    }
}
@media all and (max-width: 515px) {
    .swiper.mainSwiper .swiper-slide a img{width: auto; height: 90px; margin: auto;}
}
.banner-swiper {
    position: sticky;
    top:0;
    left: 0;
    width: 100%;
    z-index: 1030;
    overflow: hidden;
}
