@charset "utf-8";

/* 구독페이지 타워 */
.top_monthly_madang_tit_box {
    display: flex;
    height: 150px;

    align-items: center;
    justify-content: space-between;
}

.top_monthly_madang_tit_box>div {
    display: flex;
    width: 100%;

    align-items: center;
    justify-content: center;
}

.top_monthly_madang_tit_box>div:nth-child(1),
.top_monthly_madang_tit_box>div:nth-child(3) {
    height: 2px;

    background-color: #67835d;
}

.monthly_madang_tit_logo {
    height: 100%;

    background-image: url("/re_public/images/subscribe/monthly_madang_tit_logo.svg");
    background-repeat: no-repeat;
    background-position: center;
}

.top_txt_banner,
.bottom_txt_banner {
    width: 100%;
    height: 45px;

    font-size: 14px;
    line-height: 43px;

    cursor: pointer;
    text-align: center;

    color: #fff;
    border-radius: 4px;
    background-color: #67835d;
}

.bottom_txt_banner {
    margin: 30px 0 80px 0;

    font-size: 16px;
    font-weight: 500;

    background-color: #ff9f21;
}

/* 구독페이지 리스트*/
.content_wrap {
    display: flex;
    width: 100%;
    height: auto;
    padding: 30px 0;
    margin-right: auto;

    flex-wrap: wrap;
    justify-content: flex-start;
}

.basic_foundation_container {
    display: flex;
    height: auto;
    margin: 30px 4% 30px 0;
    overflow: auto;

    flex-basis: 22%;
}

.content_wrap .basic_foundation_container:nth-child(4n) {
    margin-right: 0;
}

.foundation_item {
    position: relative;

    cursor: pointer;
}

.foundation_item img {
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
}

.content_name {
    font-size: 20px;
    font-weight: 500;

    color: #333;
}

.more_content_btn {
    width: 100%;
    height: 60px;
    padding: 20px;

    font-size: 1.1rem;
    font-weight: 500;

    cursor: pointer;
    text-align: center;

    border: 1px solid #eee;
    border-radius: 8px;
}

.more_content_btn:hover {
    background-color: #f5f6fa;
}

.basic_foundation_container.hide {
    display: none;
}

/*구독 신청 페이지*/
.small_inbox {
    position: relative;

    width: 600px;
    height: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.small_inbox>.top_monthly_madang_tit_box {
    cursor: pointer;
}

.small_inbox>.top_monthly_madang_tit_box>div:nth-child(1),
.small_inbox>.top_monthly_madang_tit_box>div:nth-child(3) {
    flex-basis: 50%;
}

.monthly_sign_up_tit {
    font-size: 22px;
    font-weight: 600;

    color: #67835d;
}

.monthly_sign_up_txt {
    font-size: 16px;

    color: #777;
}

.monthly_sign_up_txt>p:nth-child(1),
.monthly_sign_up_txt>p:nth-child(2) {
    margin-top: 20px;
}

.past_monthly_list_btn {
    width: 100%;
    height: 45px;
    margin: 20px 0;

    font-size: 16px;
    font-weight: 500;
    line-height: 42px;

    cursor: pointer;
    text-align: center;

    color: #fff;
    border-radius: 4px;
    background-color: #67835d;
}

.sign_up_split_line {
    width: 100%;
    height: 1px;

    background-color: #67835d;
}

.monthly_sign_up_input_tit {
    height: 30px;
    margin-top: 20px;

    font-size: 16px;

    color: #777;
}

.monthly_sign_up_input {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;

    border: 1px solid #777;
    border-radius: 4px;
    background-color: #fff;
}

.montly_sign_up_check {
    display: flex;
    /*height: 25px;*/

    font-size: 16px;
    padding: 4px 0;

    align-items: center;
    justify-content: flex-start;
}

.checkmark {
    width: 21px;
    height: 21px;

    border: 1px solid #777;
    border-radius: 4px;
}

.monthly_sign_up_submit_btn {
    width: 100%;
    height: 45px;
    margin: 40px 0;

    font-size: 16px;
    font-weight: 500;
    line-height: 40px;

    cursor: pointer;
    text-align: center;

    color: #fff;
    border-radius: 4px;
    background-color: #ff9f21;
}

.policy_anchor {
    text-decoration: underline;
    color: #1aaba4;
    padding-right: 5px;
}

.check .checkmark:after {
    top: 3px;
    left: 7px;
}

/*구독 상세페이지*/
.monthly_detail_tit {
    width: 100%;
    height: 45px;
    padding-right: 30px;
    margin-bottom: 20px;

    font-size: 20px;
    font-weight: 500;
    line-height: 42px;

    text-align: right;

    color: #67835d;
    border-radius: 4px;
    background-color: #f5f5f5;
}

.monthly_detail_img,
.monthly_detail_img img {
    width: 100% !important;
    height: auto;
}

.monthly_detail_img a {
    text-decoration: underline;
    color: #0000ee;
}

.monthly_detail_more_container {
    width: 100%;
    height: auto;
    margin: 40px 0 20px 0;

    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
}

.monthly_detail_more_container>div {
    width: 100%;
    padding: 7.5px 16px;

    font-size: 16px;

    cursor: pointer;

    color: #777;
}

.monthly_detail_more_container>div>img {
    width: 13.5px;
    margin-right: 17px;
}

.monthly_detail_more_container>div:nth-child(1) {
    border-bottom: 1px solid #f5f5f5;
}

.monthly_detail_more_container>div:nth-child(1)>img {

    transform: rotateX(180deg);
}

.monthly_detail_list_btn {
    width: 100%;
    height: 45px;
    margin-bottom: 80px;

    font-size: 16px;
    font-weight: 500;
    line-height: 42px;

    cursor: pointer;
    text-align: center;

    color: #67835d;
    border: 1px solid #67835d;
    border-radius: 4px;
}

.stb-cell td,
.stb-left-cell td,
.stb-right-cell td {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 미디어 쿼리*/
@media screen and (max-width: 1280px) {

    /* CSS */
    .content_name {
        font-size: 14px;
    }
}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media screen and (max-width: 1024px) {
    /* CSS */
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media screen and (max-width: 767px) {
    /* CSS */
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media screen and (max-width: 600px) {

    /* CSS */
    .top_monthly_madang_tit_box>div:nth-child(1),
    .top_monthly_madang_tit_box>div:nth-child(3),
    .small_inbox>.top_monthly_madang_tit_box>div:nth-child(1),
    .small_inbox>.top_monthly_madang_tit_box>div:nth-child(3) {
        flex-basis: 15%;
    }

    .top_txt_banner {
        height: 60px;
        padding: 8px 0;

        line-height: 1.5;

        white-space: pre-line;
    }

    .content_wrap {
        padding: 15px 0;
    }

    .basic_foundation_container {
        margin: 15px 8% 15px 0;

        flex-basis: 46%;
    }

    .content_wrap .basic_foundation_container:nth-child(2n) {
        margin-right: 0;
    }

    .bottom_txt_banner {
        margin-bottom: 30px;
    }

    .small_inbox {
        width: 100%;
        padding: 0 16px;
    }

    .monthly_sign_up_txt {
        font-size: 14px;

        white-space: pre-line;
    }

    .monthly_sign_up_txt>p:nth-child(1),
    .monthly_sign_up_txt>p:nth-child(2) {
        margin-top: 0;
    }

    .past_monthly_list_btn {
        margin-top: 10px;
    }

    .monthly_sign_up_input_tit {
        margin-top: 10px;
    }

    .sign_up_input_container>div:nth-child(1) {
        margin-top: 15px;
    }

    .monthly_sign_up_input {
        margin-bottom: 10px;
    }

    .montly_sign_up_check {
        /*height: 22px;*/

        font-size: 12px;
    }

    .checkmark {
        width: 16px;
        height: 16px;
    }

    #monthly_last_input {
        margin-bottom: 20px;
    }

    .monthly_detail_tit {
        font-size: 18px;
    }

    .monthly_detail_list_btn {
        margin-bottom: 50px;
    }
}