
/***수강신청수강신청수강신청****/

#mask {
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.7) repeat;
    top: 0;
    left: 0;
    z-index: 999;
    display: none;
}

.popup-cont01 {
    width: 90%;
    margin: 40px auto;
    text-align: center;
}

#popup_wrap {
    width: 800px;
    height: auto;
    background: #fff;
    border: solid 1px #666666;
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -250px 0 0 -400px;
    z-index: 9999999;
    display: none;
}


.popup-cont01 button {
    width: 138px;
    height: 36px;
    line-height: 36px;
    background: #9f2f60;
    color: #ffffff;
    text-align: center;
    border: none;
    font-size: 16px;
}

.applitt {
    width: 100%;
    padding: 15px;
    background: #efefef;
    text-align: center;
    color: #ff6600;
    font-weight:700;
    font-size:19px;

}

.appli {
    width: 100%;
    float: left;
    position: relative;
    margin-bottom: 10px;
}

.appli ul {
    width: 100%;
    float: left;
    position: relative;
}

.appli ul li {
    display: inline-block;
    float: left;
    width: 50%;
}

.appli ul li:last-child {
    padding-lefT: 10px;
    padding-top: 10px;
}

.appli ul li img {
    width: 100%;
}


@media all and (max-width: 579px) {


    #popup_wrap {
        width: 100%;
        position: fixed;
        top: 7%;
        left: 0%;
        margin: 0px;

    }

    .popup-cont01 {
        width: 90%;
        margin: 40px auto;
        text-align: center;
    }

    .appli ul li {
        display: inline-block;
        float: left;
        width: 100%;
    }

    .applitt {
        font-size: 16px;
        font-weight: 600;
        color: #ff6600
    }

    #m_board2 {
        width: 90%;
        margin: 0 auto;
    }
}





/***수강보기수강보기수강보기****/
#popup_wrap1 {


    background: #fff;
    border: solid 10px #fff;
   position: fixed;
   top: 50%;
   left:50%;
   width:100%;
   max-width:1600px;
   min-width:1100px;
   box-sizing:border-box;
   transform: translate(-50%, -50%);
   msTransform: translate(-50%, -50%);
    webkitTransform: translate(-50%, -50%);


   /*top: 50%;
    
      transform: translate(-50%, -50%);
      msTransform: translate(-50%, -50%);
    webkitTransform: translate(-50%, -50%);*/
    z-index: 9999999;
    display: none;
   

}

.popup-cont02 {
    border: 0px solid #000;
   width:100%;
    padding: 0px 5px;
    text-align: center;
    height:auto;
    position: relative;
    overflow:hidden;
    position: relative;
    float:left;
 
}

.popup-cont02_bak {
    border: 0px solid #000;
   width:100%;
    padding: 0px 20px;
    text-align: center;
    height:auto;
    position: relative;
    overflow:hidden;
    position: relative;
    float:left;
 
}


.framesize {
    width: 100%;   
    min-height: 100%;
    margin:0 auto;
    text-align:center !important;
    border:0px solid red;
}



#popup_preview {
   width :100%;
    height: 100%;
    background: #fff;
    border:15px solid #fff;
    position: fixed;
    top: 0%;
    left: 0%;
  
    z-index: 9999999;
    display: none;
}




@media all and (max-width: 689px) {
     #popup_preview {
        top: 100%;
        left: 0%;
       width: 100vh;
        margin: 0;
        
        padding:5%;
       
        text-align: left;
         
        transform: rotate(-90deg);
         overflow-x:scroll !important;
        /*overflow-y:scroll !important;
       
        */
        border:10px solid #fff !important;
        top: 0%;
        left: 0%;



    }
      /*#popup_preview > .popup-cont03 {  transform: rotate(-90deg);}
      #popup_preview > .popup-cont03 { overflow-x:scroll !important; transform-origin: 0% 0%; transform:scale(1); padding-bottom:3%;} 
    }

   #popup_preview iframe{transform-origin: 5% 5%; transform:scale(0.6);}
        #popup_preview iframe video{transform:scale(0.6);}*/


}


/***수강보기수강보기수강보기****/




.popup-cont04 {
    border: 0px solid red;
    width: 100%;
    /*padding: 20px;*/
    text-align: center;
    overflow: hidden;
}





.lecsubj1 {
    font-size: 2em;
    color: #000;
    line-height: 50px;
    padding-left: 25px;
}



.lectuertit_area {
    width: 60%;
    float: left;
    text-align: left;
    color: #000;
    padding: 10px 0px;
    box-sizing: border-box;
}

.lectuertit {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    padding: 10px 0px;
    float: left;
    width: 50px;
}

.lectuertit span {
    padding: 5px;
    text-align: center;
    background: #999;
    font-weight: 600;
    color: #fff;
    margin-right: 10px;
    font-size: 15px;
}

.lectuertit1 {
    margin-left: 15px;
    font-size: 26px;
    float: left;
    font-weight:400;
    margin-top: 4px;
}

.lectuertit1 span {
    color: #5fcf80;
}




.lectuertit_time {
    width: 40%;
    text-align: right;
    float: right;
    padding: 0px;
    font-size: 21px;
    color: #000;
    line-height: 35px;
    border: 0px solid red;
}

.lectuertit_time span {
    color: red;
    font-weight: 400;
}




.lectureview {
   width:82% !important;
   height:780px;
   max-width:1300px;
   border:0px solid red;
   box-sizing: border-box;
   float: left;
   oerflow: hidden;
   position: relative;
   float:left;
   
}

.lectureview_bak {
   width:80% !important;
   height:780px;
   max-width:1300px;
   border:0px solid red;
   box-sizing: border-box;
   float: left;
   oerflow: hidden;
   position: relative;
   float:left;
   
}


.lecture_endbtn {
    border: 0;
    background: #ff5105;
    padding: 7px 15px;
    text-align: center;
    border-radius: 35px;
    -webkit-border-radius: 35px;
    color: #fff;
    font-siZE: 15px;
    -o-border-radius: 35px;
    -m-border-radius: 35px;
}

.lectureview_r {
    
   
    float: right;
    height:85vh;
    width:18%;
    float:left;
    border: 0px solid #000;
    box-sizing: border-box;
    overflow-y: scroll !important;
    background:#fff;
   
}

.lectureview_r_bak {
    
   
    float: right;
    height:85vh;
    width:20%;
    float:left;
    border: 0px solid #000;
    box-sizing: border-box;
    overflow-y: scroll !important;
    background:#fff;
   
}

#lect_board2 {

    position: relative;
    width: 100%;
    margin-right: 0;
    position: relative;

    margin: 0 auto;
    border: 0px solid #ddd;
}

#lect_board2 .lect {
    height: 40px;
    width: 100%;
    border: 1px solid #ddd;
}

#lect_board2 .lect li {
    float: left;
    font-size: 15px;
    width: 50%;
    text-align: center;
    color: #999;
    border-right: 1px solid #ddd;
}

#lect_board2 .lect li:first-child {

    line-height: 40px;
}

#lect_board2 .lect li:last-child {
    border-right: 0px solid #ddd;
}

#lect_board2 .lect li a {
    display: block;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    font-size: 15px;
    color: #999;
}

#lect_board2 .lect li a:hover {
    color: #000;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 600;
}

#lect_board2 .lect .active a {

    color: #fff;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    font-size: 15px;
    border: 0px solid #ff0646;
    font-weight: 600;
    background: #fb8012;
}

#lect_board2 .lect_content2 {
    padding: 10px;
    width: 100%;
    float: left;
    text-align: left;
    font-size: 16px !important;
    line-height: 22px;
}

.lect_con {
    width: 100%;
}

.lect_con ul {
    width: 100%;
}

.lect_con ul li {
    width: 100%;
    float: left;
    font-size: 10pt !important;
    padding: 4px;
}

.lect_con ul li.subj2 {
    border-bottom: 1px solid #ccc;
    color: #000 ! important;

    font-weight: 600;
}



@media all and (max-width: 1299px) {

.lectureview{width:100% !important;}
.lectureview iframe{transform: scale(0.95) !important;}
.lectureview_r {display:none;}


}

@media all and (max-width: 1537px) {
    #popup_wrap1 {
        max-height : 100%;
    }
    .lectureview {
        height: 90vh;
    }
}




/***설문조사 css***/
#popup_wrap2 {
    




  background: #fff;
    border: solid 10px #fff;
   position: fixed;
   top: 50%;
   left:50%;
   width:100%;
   max-width:1600px;
   min-width:1100px;
   height:90vh;
   box-sizing:border-box;
   transform: translate(-50%, -50%);
   msTransform: translate(-50%, -50%);
    webkitTransform: translate(-50%, -50%);
     z-index: 9999999;
     display:none;


}

.popup-cont03 {

   width: 100%;  
    
    height:95%;
    text-align: center;

    
    overflow: hidden;
    box-sizing: bordere-box;
    position: relative;
    border: 0px solid #ff6600;
    padding:10% 0% 10% 10%;

}
.popup-cont03_1 {

    width: 100%;
    
    
    height:99vh;
    text-align: center;

    text-align: center;
    overflow: hidden;
    box-sizing: bordere-box;
    position: relative;
    border: 0px solid #ff6600;
    padding:10%;

}

.popup-cont03 iframe {
    position: absolute;
    top:2%;
    left:3%;
    width:95%;
    height: 100%;
    z-index: 4;
    transform: scale(1) !important;



}
.popup-cont03_1 iframe {
    position: absolute;
    top:2%;
    left:3%;
    width:95%;
    height: 100%;
    z-index: 4;
    transform: scale(1) !important;



}


.closebtn {
    position: absolute;
    float: right;

}

.closebtn_1 {
  

   

}

.exam_endbtn {
    width: 50px;
    height: 50px;
    right: 0px;
    top: 0px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    line-height: 50px;
    background: #999;
    color: #fff;
    display: block;
    position: absolute;
    border: 2px solid #000;
    z-index: 555 !important;

}


@media all and (max-width: 977px) {
    #popup_wrap2 {
         





  background: #fff;
    border: solid 0px #fff;
    padding:20px 0px 0px 5px;
   position: fixed;
   padding-top:1%;
   top: 50%;
   left:50%;
   width:100%;
   max-width:100%;
   min-width:100%;
   height:100vh;
   box-sizing:border-box;
   transform: translate(-50%, -50%);
   msTransform: translate(-50%, -50%);
    webkitTransform: translate(-50%, -50%);
     z-index: 9999999;
}

    .popup-cont03 {

        width:105%;

       /* padding-bottom: 56.25%;
        /* 16:9 
        height: 0;*/
        padding:2% 0% 1% 0.5%;
        height:100%;

        text-align: center;
        overflow: hidden;
        box-sizing: bordere-box;
        position: relative;


    }

    .popup-cont03 iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 98%;
        height: 100%;
        z-index: 4;
        transform: scale(0.9) !important;
        border: 0px solid red;

    }

   



    .exam_endbtn {
        width: 40px;
        height: 40px;
        right: 0%;
        top: 3.8%;
        text-align: center;
        font-size: 17px;
        font-weight: 600;
        line-height: 40px;
        background: #999;
        color: #fff;
        display: block;
        position: fixed;
        border: 2px solid #000;
        z-index: 555 !important;

    }


}








#edu_view1 {
    position: relative;
    border:2px solid red;
    width:100vw;
    height:100vh;
    padding:4%;
    box-sizing:border-box;

}

/* === 학습 창 제목 좌측 "강좌명" 라벨 숨김 === */
.lectuertit_area .lectuertit { display: none !important; }


/* === 학습 창 닫기 버튼 네모로 === */
.button_edu10 { border-radius: 4px !important; -webkit-border-radius: 4px !important; padding: 6px 16px !important; background: #5fcf80 !important; }


/* === 학습 창 우측 복습하기/닫기 영역 위로 올림 === */
#lectuertit_time_re { padding-top: 4px !important; }
#lectuertit_time_study { padding-top: 0 !important; }
.lectuertit_area .lectuertit1 { margin-top: 4px !important; }


/* === 학습 창 우측 탭(학습요점/질문하기): 활성 배경 그레이 + 글씨 키움 === */
#lect_board2 .lect li,
#lect_board2 .lect li a,
#lect_board2 .lect li a:hover,
#lect_board2 .lect .active a { font-size: 17px !important; }
#lect_board2 .lect .active a { background: #5fcf80 !important; color: #fff !important; }





/* === 우측 컬럼 전체(영상 하단 라인까지) 검정 배경 + 영상 높이(780px) 일치 === */
.lectureview_r { height: 780px !important; }














/* === 탭 콘텐츠 섹션 제목(학습자료 등 .subj2) 흰색 === */
.lect_con ul li.subj2 { color: #2f9d54 !important; font-size: 17px !important; font-weight: 400 !important; }


/* === 학습자료 등 제목 왼쪽 빨간아이콘 -> 가운데 점 === */
.lect_con ul li.subj2 img { display: none !important; }
.lect_con ul li.subj2::before {
  content: "" !important;
  display: inline-block !important;
  width: 7px !important; height: 7px !important;
  border-radius: 50% !important;
  background: #2f9d54 !important;
  vertical-align: middle !important;
  margin: 0 9px 3px 2px !important;
}


/* === 학습자료 다운로드 버튼: 기울기 제거 + 녹색 배경 === */
.lect_con a i.fa-save, .lect_con a i.line {
  font-style: normal !important;
  background: #5fcf80 !important;
  color: #fff !important;
  padding: 4px 12px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  font-size: 12px !important;
}
.lect_con a { text-decoration: none !important; }


/* === 학습 모달 테두리 둥글게 === */
#popup_wrap1 { border-radius: 16px !important; overflow: visible !important; }





/* === 우측 탭 패널 접기/펼치기 === */
.popup-cont02 { position: relative !important; }
.rpanel-toggle {
  position: absolute !important; top: 52px; right: -50px;
  width: 40px; height: 120px; border: 0;
  border-radius: 0 8px 8px 0;
  background: #2f9d54; color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 1;
  z-index: 60; margin: 0; box-shadow: 2px 0 6px rgba(0,0,0,.2);
}
.rpanel-toggle:hover { background: #268047; }
.rpanel-toggle:hover { background: #4bbf6e; }
#popup_wrap1 { transition: max-width .3s ease, min-width .3s ease !important; }
#popup_wrap1.rpanel-collapsed { max-width: 1312px !important; min-width: 900px !important; }
#popup_wrap1.rpanel-collapsed .lectureview_r { display: none !important; }
#popup_wrap1.rpanel-collapsed .lectureview { width: 100% !important; }


/* === 헤더 우측 여백(토글이 잘리지 않게) === */
#lectuertit_time_study { padding-right: 14px !important; }

/* #lectuertit_time_re 우측 여백 */
#lectuertit_time_re { padding-right: 14px !important; }


/* === 모바일(세로) 학습 모달 가로보기: 90도 회전 === */
@media (max-width: 768px) and (orientation: portrait){
  #popup_wrap1 {
    transform: translate(-50%, -50%) rotate(-90deg) !important;
    transform-origin: center center !important;
    width: 100vh !important;
    height: 100vw !important;
    max-width: 100vh !important;
    min-width: 0 !important;
    border-width: 4px !important;
    border-radius: 8px !important;
  }
  #popup_wrap1 .lectureview {
    width: 100% !important;
    height: calc(100vw - 56px) !important;
    max-width: 100% !important;
  }
  #popup_wrap1 .lectureview video,
  #popup_wrap1 .lectureview iframe,
  #popup_wrap1 .lectureview .framesize {
    width: 100% !important;
    height: 100% !important;
  }
  /* 가로보기에선 우측 패널/핸들 숨김 */
  #popup_wrap1 .lectureview_r, #popup_wrap1 .rpanel-toggle { display: none !important; }
  #popup_wrap1 .lectuertit_area .lectuertit1 { font-size: 15px !important; }
  #popup_wrap1 .lectuertit_area { padding: 5px 0 !important; }
  #popup_wrap1 .lectuertit_time { font-size: 13px !important; line-height: 1.3 !important; padding-top: 4px !important; }
  #popup_wrap1 #lectuertit_time_study, #popup_wrap1 #lectuertit_time_re { padding-top: 4px !important; }
  #popup_wrap1 .button_edu10 { font-size: 12px !important; padding: 4px 9px !important; }
  #popup_wrap1 .lectuertit_area .lectuertit1 { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; max-width: 100% !important; }
  /* 강좌 제목 영역 숨김, 우측(수강시간/닫기)만 표시 */
  #popup_wrap1 .lectuertit_area { display: none !important; }
  #popup_wrap1 .lectuertit_time { width: 100% !important; float: none !important; text-align: center !important; }
}


/* === 시험 모달 닫기(X) 버튼: 흰 배경 + 녹색 글씨 === */
.exam_endbtn, #popup_close_finish { background: #ffffff !important; color: #3a9c62 !important; font-weight: 700 !important; }

/* === 제출하기 버튼: 모달 우측상단 X 왼쪽 배치 === */
#parent_exam_submit { position: absolute; right: 76px; top: 0; height: 50px; line-height: 50px; padding: 0 24px; background: #3a9c62; color: #fff; font-weight: 700; font-size: 16px; z-index: 556; display: none; text-align: center; cursor: pointer; }

/* === 시험(#popup_wrap2) iframe 모달 폭 꽉 채우기 === */
#popup_wrap2 .popup-cont03 iframe { left: 0 !important; width: 100% !important; }

/* === X버튼 우측 약간 여백 === */
#popup_wrap2 #popup_close_finish { right: 10px !important; }

/* === 남은시간: 제출버튼 왼쪽, X/제출과 동일 높이 === */
#parent_exam_time { position: absolute; right: 210px; top: 0; height: 50px; line-height: 50px; font-size: 19px; font-weight: 400; color: #cc0000; z-index: 556; display: none; white-space: nowrap; }
