/* ======================= 미니홈 팝업 */

.popMinihome {
    height: 90vh;
}

.popMinihome ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popMinihome .mh_subheader {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 44px;
    padding: 0 20px;
    background-color: #f8f8f8;
    box-shadow: 0 8px 20px #00000029;
}

.popMinihome .mh_subheader li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    letter-spacing: -0.7px;
    color: #2b2b2b;
}

.popMinihome .mh_subheader span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
}

.popMinihome .mh_subheader span img {
    width: 100%;
    height: 100%;
}

.popMinihome .mh_contWrap {
    padding: 0 55px;
    padding-bottom: 110px;
}

.popMinihome .mh_cont {
    position: relative;
}

.popMinihome .mh_cont+.mh_cont::before {
    content: '';
    position: absolute;
    top: 0;
    left: -65px;
    display: block;
    width: 618px;
    height: 1px;
    background-color: #e1e2e8;
}

.popMinihome .mh_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 19px 0 15px;
}

.popMinihome .mh_info .concate {
    width: 24px;
    font-size: 14px;
    letter-spacing: -0.7px;
    white-space: nowrap;
    color: #929292;
}

.popMinihome .mh_info h5 {
    max-width: 40%;
    margin: 0;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: -1.3px;
    color: #536dfe;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.popMinihome .mh_info .platform {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    width: 24px;
    height: 24px;
}

.popMinihome .mh_info .platform li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: #f1f0f0;
    border-radius: 50%;
}

.popMinihome .mh_info .platform li img {
    width: 24px;
    height: 24px;
}

.popMinihome .mh_sliderWrap,
.popMinihome .mh_sliderWrap>div,
.popMinihome .mh_sliderWrap video,
.popMinihome .mh_sliderWrap iframe,
.popMinihome .mh_sliderWrap img,
.popMinihome .mh_sliderWrap .bxslider>div * {
    width: 100%;
    height: 286px;
    object-fit: cover;
}

.popMinihome .mh_infoTxt {
    margin: 12px 0;
    line-height: 22px;
    text-align: left;
    font-size: 12px;
    letter-spacing: -0.06px;
    white-space: normal;
    color: #262626;
}

.popMinihome .mh_news {
    padding-top: 27px;
    text-align: right;
    transition: height .3s ease-in-out;
}

.popMinihome .news_card {
    position: relative;
    min-height: 130px;
    padding: 10px 14px 14px;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
}

.popMinihome .news_card+.news_card {
    margin-top: 10px;
}

.popMinihome .news_card .news_cont {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    text-align: left;
}

.popMinihome .news_cont .cont_txt {
    flex: 1;
    width: calc(100% - 138px);
    color: #262626;
}

.popMinihome .news_cont .cont_txt strong {
    line-height: 22px;
    font-size: 14px;
    letter-spacing: -0.07px;
}

.popMinihome .news_cont .cont_txt span {
    margin-top: 18px;
    line-height: 20px;
    font-size: 12px;
    letter-spacing: -0.06px;
}

.popMinihome .news_cont .cont_img {
    width: 130px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.popMinihome .news_cont .cont_img * {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popMinihome .news_card .news_footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    line-height: 17px;
    font-size: 12px;
    letter-spacing: -0.06px;
    color: #909399;
}

.popMinihome .news_card .news_footer .cont_sub {
    display: flex;
    align-items: center;
    gap: 6px;
}

.popMinihome .news_card+.btn_wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 6px;
}

.popMinihome .news_card+.btn_wrap .btnTxt {
    line-height: 17px;
    font-size: 12px;
    color: #409dff
}

.popMinihome .modal_footer {
    z-index: 2;
}

.popMinihome .modal_footer .tag_wrap {
    position: relative;
    width: 263px;
    min-height: 72px;
    padding: 8px 20px;
    text-align: center;
    color: #fff;
    background-color: #21274e;
    border-radius: 10px;
    transition: all 0.4s ease-in-out;
}

.popMinihome .tag_wrap p {
    margin-bottom: 12px;
    line-height: 17px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.06px;
}

.popMinihome .tag_wrap .tags,
.popMinihome .tag_wrap .sols {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.popMinihome .tag_wrap .tags {
    gap: 14px;
    height: 27px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.popMinihome .tag_wrap .tags span {
    line-height: 27px;
    background-color: #798dfe;
}

.popMinihome .tag_wrap .tags span {
    flex: 1;
    padding: 0 12px;
    font-size: 13px;
    letter-spacing: -0.07px;
    border-radius: 50px;
}

.popMinihome .tag_wrap .sols span {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.popMinihome .tag_wrap .sols span img {
    display: block;
    width: 100%;
    height: 100%;
}

.popMinihome .tag_wrap .btnCic {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -9px;
    margin-bottom: -9px;
}

.popMinihome .tag_wrap .btnCic::after {
    content: '';
    display: block;
    width: 12px;
    height: 7px;
    margin-top: -1px;
    background: url('../images/gbp/ico_down.png') center bottom no-repeat;
    transition: all 0.3s ease-in-out;
}

.popMinihome .tag_wrap .btnCic.on::after {
    margin-top: 1px;
    transform: rotate(180deg);
}

.pub .popMinihome .modal_header {
    display: flex;
    gap: 6px;
}

.popMinihome .btn_scrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popMinihome .btn_scrap input {
    display: none;
}

.popMinihome .btn_scrap label {
    width: 24px;
    height: 24px;
    background: #8c9eff12 url('../images/gbp/ic_scrap.svg') center/100% no-repeat;
    border-radius: 50%;
}

.popMinihome .btn_scrap input:checked+label {
    background: #8c9eff12 url('../images/gbp/ic_scrap_on.svg') center/100% no-repeat;
}

.popMinihome .btn_scrap .snack {
    bottom: 32px;
}


/* ======================= 미니홈 팝업 없을 경우 */

.popMinihomeBlank {
    height: 90vh;
}

.popMinihomeBlank .modal_cont {
    border-top: 1px solid #e6e6e6;
}

.popMinihomeBlank .mh_contWrap {
    padding: 0 14px;
    margin-top: 35px;
}

.popMinihomeBlank .btn_confirm {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
}

.popMinihomeBlank .btn_confirm::before {
    content: '';
    width: 18px;
    height: 14px;
    background: url('../images/gbp/btn_check.svg') right center no-repeat;
}


/* ======================= 내 미니홈 */

.pub .pop-wrap7.myhome .modal_header {
    justify-content: center;
}

.myhome .modal_header .txt_info {
    display: inline-block;
    margin: 0 0 0 3px;
}

.popMinihome.myhome .mh_contWrap {
    padding-bottom: 0;
}

.myhome .mh_news .modal_subtit {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popMinihome .news_card .blank_data {
    gap: 12px;
}

.popMinihome .news_card .blank_data span {
    font-family: 'Noto Sans KR';
    letter-spacing: -0.07px;
    color: #667085;
}

.popMinihome .news_card .blank_data img {
    margin: 0;
}

.pub .pop-wrap7.myhome .modal_footer .topBtn {
    bottom: 20px;
}

.popMinihome .slider_wrap .slide {
    padding-bottom: 15px;
}

.popMinihome .bx_control__top .bx-wrapper .bx-controls-direction a {
    top: 24px;
    height: 28px;
    margin-top: 0;
    background-size: 10px 28px;
}


/* summernote */

.write_wrap {
    text-align: initial;
}

.write_wrap .input_box {
    margin-bottom: 8px;
}

.write_wrap .input_box .ipt_txt {
    border-color: #eaecf0;
}

.write_wrap .input_box .ipt_txt,
.write_wrap .input_box input {
    border-radius: 8px;
}

.write_wrap .input_box input {
    height: 45px;
    padding: 14px 20px;
    line-height: 45px;
}

.write_wrap .input_box input,
.write_wrap .input_box input::placeholder {
    font-weight: bold;
    letter-spacing: -0.07px;
    color: #262626;
}

.write_wrap .note-frame {
    color: #262626;
    border-color: #eaecf0;
    border-radius: 8px 8px 0 0;
}

.write_wrap .note-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 8px 5px;
    color: #667085;
    background-color: #fff;
    border-color: #eaecf0;
    border-radius: 8px 8px 0 0;
}

.write_wrap .note-toolbar>.note-btn-group {
    margin: 0;
}

.write_wrap .note-btn-group>.note-btn i,
.write_wrap .note-btn-group>.note-btn,
.write_wrap .note-btn-group {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #667085;
    background-color: #fff;
    border: none;
}

.write_wrap .dropdown-toggle::after {
    display: none;
}

.write_wrap .note-current-color-button {
    padding: 0 5px;
}

.write_wrap .note-icon-caret {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.write_wrap .note-icon-caret:before {
    content: '';
    width: 5px;
    height: 5px;
    border-bottom: 1px solid #98a2b3;
    border-left: 1px solid #98a2b3;
    transform: rotate(-45deg);
}

.write_wrap .note-icon-font:before {
    content: '●';
    margin-top: -3px;
}

.note-editor .note-toolbar .note-color .dropdown-toggle {
    width: 20px;
    height: 30px;
    padding: 0 5px;
    margin-right: 4px;
}

.write_wrap .note-forecolor,
.write_wrap .note-font,
.write_wrap .note-para {
    border-right: 1px solid #eaecf0;
}

.write_wrap .note-current-fontname {
    max-width: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.write_wrap .note-editor.note-airframe .note-statusbar,
.write_wrap .note-editor.note-frame .note-statusbar {
    display: none;
}

.write_wrap .note-editor.note-frame .note-editing-area .note-editable {
    padding-right: 0;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

.write_wrap .note-editable::-webkit-scrollbar,
.write_wrap .note-editable::-webkit-scrollbar-track {
    background-color: transparent;
}

.write_wrap .note-editable::-webkit-scrollbar {
    width: 10px;
}

.write_wrap .note-editable::-webkit-scrollbar-thumb {
    background-color: #d4d4d4;
    background-clip: padding-box;
    border: 3px solid transparent;
    border-radius: 30px;
}

.write_wrap .btn_wrap {
    padding: 8px;
    border: 1px solid #eaecf0;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.write_wrap .btn_wrap .btnLine {
    justify-content: center;
    gap: 8px;
    min-width: 67px;
}

.write_wrap .btn_wrap .btnLine::before {
    content: '';
    width: 10px;
    height: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.write_wrap .btn_wrap .btnLine:first-child {
    border-radius: 4px 0 0 4px;
}

.write_wrap .btn_wrap .btnLine:first-child::before {
    background-image: url('../images/gbp/btn_wrtCancel.svg');
}

.write_wrap .btn_wrap .btnLine:last-child {
    border-left: none;
    border-radius: 0 4px 4px 0;
}

.write_wrap .btn_wrap .btnLine:last-child::before {
    background-image: url('../images/gbp/btn_wrtConfirm.svg');
}

@media screen and (max-width: 750px) {
    .popMinihome .mh_subheader {
        justify-content: space-between;
        gap: 30px;
        min-height: 27px;
        padding: 0 15px;
    }
    .popMinihome .mh_subheader li {
        gap: 5px;
        font-size: 8px;
        letter-spacing: -0.8px;
        color: #2b2b2b;
    }
    .popMinihome .mh_subheader span {
        width: 17px;
        height: 17px;
    }
    .popMinihome .mh_contWrap {
        padding: 0 5px 150px;
    }
    .myhome .mh_contWrap {
        padding: 0 5px;
    }
    .popMinihome .mh_info {
        padding: 14px 0 7px;
    }
    .popMinihome .mh_info .concate {
        width: 20px;
        line-height: 23px;
        font-size: 16px;
        letter-spacing: -0.8px;
    }
    .popMinihome .mh_info h5 {
        max-width: 30%;
        line-height: 23px;
        font-size: 16px;
        letter-spacing: -0.8px;
    }
    .popMinihome .mh_info .platform {
        gap: 12px;
        width: 20px;
        height: 20px;
    }
    .popMinihome .mh_info .platform li,
    .popMinihome .mh_info .platform li img {
        width: 20px;
        height: 20px;
    }
    .popMinihome .mh_info .platform li {
        overflow: hidden;
    }
    .popMinihome .mh_sliderWrap,
    .popMinihome .mh_sliderWrap>div,
    .popMinihome .mh_sliderWrap video,
    .popMinihome .mh_sliderWrap iframe,
    .popMinihome .mh_sliderWrap img,
    .popMinihome .mh_sliderWrap .bxslider>div * {
        height: 203px;
    }
    .popMinihome .mh_infoTxt {
        margin: 4px 0 0;
        line-height: 16px;
        font-size: 14px;
        letter-spacing: -0.07px;
    }
    .popMinihome .mh_news {
        padding-top: 18px;
    }
    .popMinihome .news_card {
        padding: 0;
        border-radius: 6px;
        box-shadow: 0 2px 10px #00000026;
        overflow: hidden;
    }
    .popMinihome .news_card .news_cont {
        flex-direction: column-reverse;
        gap: 0;
    }
    .popMinihome .news_cont .cont_img {
        position: relative;
        width: 100%;
        height: 174px;
        border-radius: 0;
    }
    .popMinihome .news_cont .cont_img::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, #ffffff00 0%, #ffffff4d 29%, #ffffffa6 58%, #ffffff 100%);
    }
    .popMinihome .news_cont .cont_txt {
        width: 100%;
        padding: 16px 23px;
    }
    .popMinihome .news_cont .cont_txt strong {
        display: -webkit-box;
        line-height: 25px;
        font-size: 17px;
        letter-spacing: -0.8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: pre-wrap;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .popMinihome .news_cont .cont_txt span {
        margin-top: 13px;
        font-size: 14px;
        letter-spacing: -0.7px;
        -webkit-line-clamp: 3;
    }
    .popMinihome .news_card .news_footer {
        flex-direction: row-reverse;
        justify-content: space-between;
        padding: 0 16px 20px;
        margin-top: 4px;
    }
    .popMinihome .news_card .news_footer .cont_sub {
        gap: 0;
    }
    .popMinihome .news_card .news_footer .cont_sub img {
        width: 27px;
        height: 27px;
    }
    .popMinihome .news_card .news_footer .cont_sub .cont5 {
        margin-right: 6px;
        font-size: 14px;
        letter-spacing: 0;
    }
    .popMinihome .news_card+.btnTxt {
        display: none;
    }
    .pub .popMinihome .modal_footer {
        flex-direction: column;
        align-items: center;
        gap: 17px;
    }
    .popMinihome .modal_footer .tag_wrap {
        border-radius: 16px;
    }
    .popMinihome .btn_scrap label {
        width: 21px;
        height: 21px;
    }
    .popMinihome .btn_scrap .snack {
        top: 32px;
        bottom: auto;
    }
}