/* 공통 */
.radiosec{margin: 10px 0 14px;}

.sec_rel{position: relative;}
.btn_ab{position:absolute; top:0; right:0; transform:translateY(-100%);}
.sear_wide{width: 663px; }

.form_inner ul + ul{padding-top: 50px; margin-top: 50px; border-top: 1px solid #ddd;}
.flex .check{margin-left: 10px; margin-bottom: 10px; font-size: 14px;}
.form_inner{margin-bottom: 90px;}

/* .inputlist2 > li + li{margin-top: 50px;} */



/* faq */
.faqlist li{font-size: 14px;}
.faqlist li .faq_title{padding: 20px 40px; border-bottom: 1px solid #ddd; cursor: pointer;}
.faqlist li:first-child .faq_title{border-top: 1px solid #ddd;}
.faqlist li .faq_title .q{position: relative;}
.faqlist li .faq_title .q::before{content: 'Q'; color: #F5821E; font-weight: 700; display: inline-block; position: relative; padding-right: 40px;}
.faq_answer{padding: 20px 86px; background-color: #f0f0f0; border-bottom: 1px solid #ddd; display: none;}
.faqlist li .faq_title .q::after{content: ''; display: inline-block; position: absolute; width: 8px; height: 8px; right: 0; top: 20%; border-top: 2px solid #333; border-right: 2px solid #333; transform: rotate(-45deg); transition: all .2s;}
.faqlist li.turn .faq_title .q::after{transform: rotate(135deg); border-color: #F5821E;}


/* family newsletter management */
.tn_thumb{position: relative; width: 100%; padding-bottom: 94px; overflow: hidden; border-radius: 0.5rem;}
.tn_thumb img{position: absolute; width: 100%; height:100%; left:50%; top:50%;transform: translate(-50%, -50%); object-fit: cover;}
.thumblist .dp{overflow: inherit; text-overflow:inherit; word-break: keep-all; white-space: wrap;}

.familynews_mng td.title:hover p{color: #F5821E;}
.bannerlist td.title:hover p{color: #F5821E;}

/* .onoff_button .toggleSwitch:after{right: -13px; top: 2px;} */
/* .onoff_button #toggle:checked ~ .toggleSwitch:after{left: -12px; top: 2px;} */
table .btn_move button{height: 30px; margin: 0 2px;}
/* .manage table.list_table th, table.list_table td {text-align: left;} */

.btn_move.sm_btn button{width: 40px;}

/* .copybtn button{margin: 0 auto;} */

.employed{color: #2295FF;}
.resigned{color: #81818B;}


/* .familynews .list_table td{padding: 16px 0 !important;} */


/* education plan */
.plan_smtit{font-size: 12px; color: #81818B; margin-bottom: 9px;}
.plan_smtit + div{margin-bottom: 20px;}

.yearwrap, .agewrap, .monthwrap ul, .weekwrap ul{display: flex;}
.edu_dd_trigger{display: none;} /* 모바일(max-width:768px)에서만 노출 */
/* .plan_smtit + div{margin-bottom:20px} (custom.css) 는 트리거 버튼이 h6 바로 뒤에
   끼어들면서 더 이상 매치되지 않으므로, 화면 크기와 무관하게 직접 지정해 둔다. */
.agewrap, .monthwrap, .weekwrap{margin-bottom: 20px;}
.edubtn{border: 1px solid #ddd; padding: 10px 0; line-height: 1; border-radius: 5px; background-color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;}
.edubtn + .edubtn{margin-left: 10px; }
.edubtn.edu_y{width: 104px; }
.edubtn.edu_y.on, .edubtn.edu_y:hover{background-color: #2295FF; color: #fff; border-color: #2295FF;}
.edubtn.edu_a{width: 47px;}
.edubtn.edu_a.on, .edubtn.edu_a:hover{background-color: #6CD033; border-color:#6CD033; color: #fff;}

.monthwrap ul{flex-wrap: wrap; position: relative;}
.monthwrap ul li{width: 25%; display: flex; height: 56px; font-size: 14px; color: #686868; align-items: center; line-height: 1.4; padding: 10px; cursor: pointer;}
.monthwrap ul li .mon_round{font-size: 12px; color: #F88086; font-weight: 700; background-color: #fef2f3; padding:6px 20px; border-radius: 60px; height: 28px; margin-right: 10px;}
.monthwrap ul li{border-bottom: 1px dashed #ddd; border-right: 1px dashed #ddd;}
.monthwrap ul li:nth-child(4n){border-right: 0;}
.monthwrap ul li:nth-child(n+9){border-bottom: 0;}
.monthwrap ul li.on, .monthwrap ul li:hover{background-color: #F88086; color: #fff; border-radius: 3px;}
.monthwrap ul li.on span, .monthwrap ul li:hover span{background-color: #fff; color: #F88086;}

.weekwrap ul li{ padding: 16px 5px; font-size: 13px; border-right: 1px dashed #ddd; border-bottom: 1px dashed #ddd; cursor: pointer;}

.weekwrap.week4 ul li{width: 25%;}
.weekwrap.week5 ul li{width: 25%;}

.weekwrap ul li:last-child{border-right: 0;}
.weekwrap li .week_round{font-size: 11px; color: #FFA20F; background-color: #ffeccf; padding: 4px 6px; border-radius: 20px; margin-right: 6px;}
.weekwrap ul li.on, .weekwrap ul li:hover{ background-color: #F5821E; color: #fff; border-radius: 3px;}
.weekwrap ul li.on .week_round, .weekwrap ul li:hover .week_round{background-color: #fff; color: #F5821E; }


.eduplan{margin-top: 40px;}
.eduplan table{border-collapse: collapse; width: 100%;}
.eduplan table, .eduplan table th, .eduplan table td{border: 1px solid #d9d9d9; font-size: 15px; }
.eduplan table td.week_topic p{font-weight: 800; text-align: center;}
/* .eduplan table:nth-child(n+2){border-top: none ;} */
.eduplan table th{text-align: center; vertical-align: middle; font-weight: 700; background-color: #fafafa;}
.eduplan table th, .eduplan table td{padding: 16px 12px; vertical-align: middle;}
.eduplan table td p{font-size: 14px; font-weight: 500; margin: 5px 0;}
.edu_goal{color: #666;}

.edu_btn{font-size: 10px; padding: 2px 10px; border: 1px solid #ccc; background-color: #fafafa; border-radius: 20px; color: #555; display: inline-block; margin-bottom: 3px; margin-left: 3px;}
.educon p:before{content: '·'; display: inline-block; position: relative; margin-right: 5px;}
.educon{padding: 20px 0;}

.eduplan3{ margin-bottom: 70px; margin-top: 0;}
.eduplan3 table th, .eduplan3 table td{padding: 20px 24px;}
.eduplan3 table thead th{text-align: left; font-size: 17px; line-height: 1; padding: 24px;}
.eduplan3 table tbody th{color: #ff6746; font-weight: 700; background-color: #fff; border-right: 1px dashed #ddd;margin: 20px 0;}
.eduplan3 table tbody td{border-left: none; color: #666; }
.eduplan3 table td p{padding-top: 20px;}
.eduplan3 table td p:first-child{padding-top: 0;}
.eduplan3 p.acttit{font-weight: 700;}

.plan_activity .thumbnail > ul{justify-content: flex-start;}





.tabcon{padding-top: 0;}

.bn_thumb{max-width: 126px; max-height: 100px;}
.popup_thumb{max-height: 100px;}

.li_margintop{margin-top: 34px;}

.singlebtn_mt{margin-top: 50px;}

table .file_del{position: relative; display: inline-block; margin: 0 auto;}

.min_sel{width: 208px; margin-right: 10px;}
.sersel{align-items: flex-end; margin: 50px 0 20px;}

.clipthumb{max-height: 100px;}
.clipsmtxt span{color: #999; font-size: 12px; display: block;}

.list_table.list_table_move.ltmove2 td{overflow: inherit; text-overflow:inherit; word-break: keep-all; white-space: wrap;}

/* royalty management */
.roundbtn button{border-radius: 10px; width: 190px;}
.centerbox{max-width: 391px; margin: 0 auto; margin-top: 40px;}
.tabstyle div{font-size: 14px; line-height: 1.2; width: calc((100% - 14px) /3); border-radius: 5px; border: 1px solid #ddd; color: #686868; text-align: center; padding: 10px 0; margin-top: 0;}
.tabstyle div.active{color: #F5821E; border-color: #F5821E;}
.flex_date .date{width:100%;}
.flex_date i{padding: 0 5px; display: flex; align-items: center;}


.content_manage .search_top {justify-content: flex-end;}



.cm .radiobtn ul label{display: inline-block; font-size: 14px;}
.cm .radiobtn ul input[type=radio]{margin-bottom: 0;}


table.bannerlist td{padding-top: 30px; padding-bottom: 30px;}


/* ********************************************* *
 * 1600px
 * ********************************************* */
 @media screen and (max-width: 1660px){
   
   
    
 }
 
 /* ********************************************* *
 * 1400px
 * ********************************************* */
 @media screen and (max-width: 1440px){
 

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

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

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


 }
 
 /* ********************************************* *
 * 768px
 * ********************************************* */
 @media screen and (min-width: 769px){



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

    /* 놀이교육계획안: 상단 필터 영역 줄바꿈 */
    .plan_top{flex-wrap: wrap; row-gap: 12px;}
    .plan_btn{margin-left: auto;}
    .info_list{flex-wrap: wrap; row-gap: 8px;}
    .btn_manage{flex-wrap: wrap; row-gap: 8px;}
    .btn_manage button{margin-bottom: 0;}

    /* info_list 뱃지: 완전한 알약(pill) 모양이라 텍스트가 길어 줄바꿈되면
       옆이 불룩 튀어나온 모양이 된다. 둥근 사각형으로 완화. */
    .info_list ul{flex-wrap: wrap; row-gap: 8px;}
    .info_list ul li{
        border-radius: 14px;
        padding: 10px 16px;
        line-height: 1.4;
    }
    .info_list ul li span{font-size: 14px;}

    /* 연령/월/주: 칩 디자인은 그대로 두고, 평소엔 선택된 칩만 보여주는
       트리거 버튼 + 탭하면 펼쳐지는 칩 목록(패널)으로 동작하는 select 형태로 변경 */
    .edu_dd_trigger{
        position: relative;
        display: flex;
        align-items: stretch;
        width: 100%;
        height: 48px;
        /* 패딩을 아예 없앤다 — 안의 색이 트리거 전체(챕터 아이콘 아래까지)를 가장자리까지
           꽉 채우고, 챕터 아이콘은 그 위에 별도로 얹는다(아래 .edu_dd_trigger__chevron). */
        padding: 0;
        margin-bottom: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background-color: #fff;
        overflow: hidden;
        text-align: left;
    }
    .edu_dd_trigger__content{
        position: relative;
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        font-size: 14px;
        color: #333;
    }
    .edu_dd_trigger__content:empty{display: flex; align-items: center; padding-left: 16px;} /* 선택 전(placeholder) 최소 여백 */
    .edu_dd_trigger__content:empty::before{
        content: attr(data-placeholder);
        color: #999;
    }
    /* 4단계(content > wrap > ul > li)에 걸쳐 flex-grow로 너비/높이를 전파시키면 브라우저마다
       퍼센트 계산이 어긋나기 쉽다 — 대신 이 파일의 .rn-discover__shorts > img 등에서 이미
       쓰던 방식대로, 복제한 칩(또는 그 조상 wrap)을 position:absolute; inset:0 으로 트리거
       내부에 꽉 채운다. 선택된 칩이 작은 알약처럼 떠 있지 않고 트리거 전체를 채운다. */
    .edu_dd_trigger__content > *{
        position: absolute !important;
        inset: 0 !important;
        /* !important 필수 — .edubtn.edu_a{width:47px} 처럼 클래스 2개짜리 원본 규칙이
           우리 규칙(클래스 1개)보다 명시도가 높아서 안 덮어써졌었다. */
        width: 100% !important;
        height: 100% !important;
        box-sizing: border-box !important;
        white-space: nowrap;
        cursor: default;
    }
    /* 연령(age) 칩은 조상 없이 자체 클래스(edubtn.edu_a.on)만으로 색이 걸리므로
       그대로 복제해 넣고, grid 목록 전용 마진만 리셋한다(높이/너비는 트리거를 꽉 채움). */
    #age_trigger_content_m > *{
        margin: 0 !important;
    }
    /* 월/주 칩은 ".monthwrap ul li .mon_round" 처럼 조상 선택자로만 스타일이 걸리므로,
       칩만 복제해서는 색/모양이 전혀 안 먹는다 — 트리거 안에도 같은 조상 구조
       (div.monthwrap|weekwrap > ul > li)를 그대로 재현해서 넣어, 옵션 목록과 완전히
       동일한 CSS가 그대로 적용되게 한다(색상·패딩·반전·radius 전부 원본 그대로).
       grid 목록 전용 가로폭(width:25%)만 리셋하고, 세로/가로는 트리거를 꽉 채운다. */
    .edu_dd_trigger__content .monthwrap,
    .edu_dd_trigger__content .weekwrap{
        margin-bottom: 0;
        display: flex;
    }
    .edu_dd_trigger__content .monthwrap ul,
    .edu_dd_trigger__content .weekwrap ul{
        flex: 1 1 auto;
        width: 100%;
    }
    .edu_dd_trigger__content .monthwrap ul li,
    .edu_dd_trigger__content .weekwrap ul li{
        width: 100% !important;
        height: 100% !important;
        box-sizing: border-box;
        cursor: default;
        white-space: nowrap;
    }
    .edu_dd_trigger__chevron{
        /* content가 트리거 전체를 꽉 채우므로, 아이콘은 그 위에 겹쳐서 얹는다. */
        position: absolute;
        top: 50%;
        right: 16px;
        z-index: 1;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        color: #fff;
        /* 흰 배경(선택 전)에도, 색이 찬 배경(선택 후)에도 잘 보이도록 어두운 테두리를 준다. */
        filter: drop-shadow(0 0 1.5px rgba(0,0,0,.5));
        transform: translateY(-50%);
        transition: transform .2s ease;
    }
    .edu_dd_trigger.is-open .edu_dd_trigger__chevron{transform: translateY(-50%) rotate(180deg);}

    .agewrap, #month_topic_wrap, #week_wrap{
        display: none;
        flex-direction: column;
        flex-wrap: nowrap;
        max-height: 260px;
        overflow-y: auto;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-top: -8px;
    }
    .agewrap.is-open, #month_topic_wrap.is-open, #week_wrap.is-open{display: flex;}
    /* 연령만 트리거/옵션 패널 모두 폭 50%로 — 값이 짧아 전체 너비가 필요 없다. */
    #age_trigger_m, #age_wrap{width: 50%;}
    .agewrap .edubtn.edu_a, .agewrap .edubtn.edu_y{width: 100%; margin-left: 0;}
    .agewrap .edubtn + .edubtn{margin-left: 0;}
    #month_topic_wrap li, #week_wrap li{width: 100% !important;}

    /* 월간/주간 계획표: 표 대신 세로 카드형으로 재구성 */
    .eduplan table{display: block; width: 100%; border: none;}
    .eduplan table colgroup{display: none;}
    .eduplan table thead{display: none;}
    .eduplan table tbody{display: block;}
    .eduplan table tbody tr{
        display: block;
        border: 1px solid #d9d9d9;
        border-radius: 10px;
        margin-bottom: 16px;
        overflow: hidden;
    }
    .eduplan table tbody tr:last-child{margin-bottom: 0;}
    .eduplan table tbody tr > th,
    .eduplan table tbody tr > td{
        display: block;
        width: auto !important;
        border: none;
    }
    .eduplan table tbody tr > th{
        text-align: left;
        background-color: #fafafa;
        border-bottom: 1px solid #d9d9d9;
    }
    .eduplan table tbody tr > td{
        border-top: 1px solid #eee;
    }
    .eduplan table tbody tr > td:first-of-type{border-top: none;}

    /* "활동" 처럼 th 하나만 있는 구분용 행은 PC와 동일하게 카드가 아닌
       단순 타이틀 바로 표시 */
    .eduplan table tbody tr.eduplan__section-row{
        border: none;
        border-radius: 0;
        margin-bottom: 0;
    }
    .eduplan table tbody tr.eduplan__section-row > th{
        text-align: center;
        border-bottom: none;
    }
    .eduplan table td.educon::before{
        content: attr(data-week-label);
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: #F88086;
        margin-bottom: 8px;
    }
    .eduplan.eduplan_week table td.educon::before{
        content: attr(data-day-label);
        color: #FFA20F;
    }
    .eduplan table td.educon:empty::before{display: none;}
 }
 
 
 /* ********************************************* *
 * 640px
 * ********************************************* */
 @media screen and (max-width: 640px){
 }
 
 
 /* ********************************************* *
 * 500px
 * ********************************************* */
 @media screen and (max-width: 500px){
 
 }
 
 /* ********************************************* *
 * 400px
 * ********************************************* */
 @media screen and (max-width: 400px){
 
 }
 
  /* ********************************************* *
 * 300px
 * ********************************************* */
 @media screen and (max-width: 300px){

 }
 
 
 