@import url("//fastly.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.min.css");

/* 배경 색상 */

.card-sub-title {
    color: #B8B8B8;
}

.tags {
    font-size: 0.8rem;
}

.tags .item {
    margin-right: 0.9375rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #737373;
}

.tags.justify-content-between .item,
.tags .item:last-child {
    margin-right: 0;
}

.tags .item a {
    color: #fff;
    text-decoration: none;
}

.tags .item:hover {
    background: rgba(111, 111, 111, 0.3);
}

.point-use-all {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background: #0d6efd;
    cursor: pointer;
    border-color: 0;
}

.border-bottom {
    border-bottom: 1px solid #3d3d3d !important;
}

.money-border {
    border: 1px solid #737373;
    border-radius: 8px;
}

.border-transparent {
    border: transparent !important;
}

.border-gray-10 {
    border: 1px solid #1f1f1f !important;
}

.border-gray-9 {
    border: 1px solid #383838 !important;
}

.border-orange {
    border: 1px solid #ff855c !important;
}

.border-red {
    border: 1px solid #FF7B7B
}

.tax-invoice input {
    width: 100%;
    margin: 0 auto;
}

.address-search {
    line-height: 30px;
    padding: 0 5px;
}

.address-input:before {
    height: 100%;
    position: absolute;
    right: 0;
    top: 50%;
    content: ;
}

.class-day-plus input {
    width: 15px;
    height: 15px;
    border-width: 1px;
    border-color: #fff;
    border-style: solid;
    border-radius: 10px;
    appearance: none;
    background-color: transparent;
    accent-color: #fff;
}

.class-day-plus input:checked::after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    margin: 15% auto;
    text-align: center;
    border-radius: 6px;
    background-color: #fff;
}

.gradients-black {
    background: linear-gradient(white, black);
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.class-level {}

.class-level a {
    color: #fff;
    text-decoration: none;
}

.class-level a:active {}

.class-level a:hover {}

.class-level .one {
    background: #f59300;
    border-radius: 1rem;
}

.class-level .two {
    background: #0066f5;
    border-radius: 1rem;
}

.class-level .three {
    background: #f50076;
    border-radius: 1rem;
}

.class-level option {
    background: #000;
}

.favorite-btn:active::before {
    content: '\F415';
}

.favorite-btn::before {
    content: '\F417';
    font-family: bootstrap-icons;
}


/* login.php style start */

.login-div {
    visibility: hidden;
    height: 0px;
    /*  transition: all 0.3s; */
}

/* .top-menu-active {
    color: #FF602A;
    border-bottom: 2px solid #FF602A !important;
}
.top-menu-active-2 {
    border-bottom: 2px solid #FF602A !important;
}

.top-menu-active a {
    color: #FF602A !important;
} */

.top-menu-active {
    color: white;
    border-bottom: 5px solid white !important;
}
.top-menu-active-2 {
    border-bottom: 5px solid white !important;
}

.top-menu-active a {
    color: #fff !important;
}


/* mypage top header start */

.mypage-top-cate-box {
    flex: 0 0 auto;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mypage-top-cate-box::-webkit-scrollbar {
    height: 0px;
}

.mypage-top-cate {
    color: #8A8A8A;
    -webkit-box-flex: 0;
    flex: 0 0 auto;
    -webkit-overflow-scrolling: touch;
}

.mypage-top-cate a {
    color: #8A8A8A;
}

.mypage-sub-cate {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #737373;
    border-radius: 25px;
}

.sub-menu-active {
    background: rgba(111, 111, 111, 0.3) !important;
    border: 1px solid #737373;
    border-radius: 25px;
}


/* mypage top header end */

.act-login-div {
    height: 230px;
    visibility: visible;
}

.act-login-error-div {
    visibility: visible;
}


/* login.php style end */


/* dropdown style start */

.dropdown .dropdown-menu {
    background-color: #3D3D3D;
    border: 1px solid #777777;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    padding: 0;
    width: 240px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .grey-text {
    color: #8C8C8C;
}

.dropdown hr {
    color: #595959;
}

.dropdown .user-menu {
    color: #C1C1C1;
}

.dropdown i {
    font-size: 1.4rem;
}


/* dropdown style end */


/* 마이페이지 */

.offline-thum {
    width: 20%;
    flex 0 0 auto;
}


/* 마이페이지 */





/* 로그인 패스워드 eye 툴팁 */

.tooltip-inner {
    max-width: none;
}


/* 강의 상세 css */

.hover-underline-animation {
    display: inline-block;
    position: relative;
}

.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 4px;
    bottom: 0;
    left: 0;
    background-color: white;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.text-underline {
    text-decoration-line: underline;
    text-underline-position: under;
    text-decoration-color: white;
    text-decoration-thickness: 4px;
}

.comingsoon-bg {
   width: 101%;
   background: rgba(15, 15, 15, 0.7);
   backdrop-filter: blur(2px);
   padding-top: 1rem;
   padding-bottom: 1rem;
}

/** 무통장 입금 모달 START **/

.modal button {
    border-color: transparent;
}

.modal .border-bottom {
    height: 100%;
    border-bottom: #DEE2E6 !important;
}

.modal_order {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}


/* 무통장 입금 모달 End */

#comment-box .popover {
    max-width: 280px;
}

#comment-box .popover-arrow {}

#comment-box .popover-header {
    color: #000;
    background: transparent;
}

#comment-box .popover-body {
    color: #000;
}

.popover-body .content-inner-1 {
    font-size: 11.5px !important;
    line-height: 13px !important;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.popover-body .content-inner-2 li {
    list-style: none;
}


/* offcanvas btn */

.offcanvas-btn {
    background: #8F8F8F;
    color: white;
    width : 100%;
}

.scroll-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-none::-webkit-scrollbar {
    display: none;
}


/*  
    class-list.php
*/
.title-overflow-1 {
    /* 강의 제목 2줄 벗어날 경우 ... 처리 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.title-overflow-2 {
    /* 강의 제목 2줄 벗어날 경우 ... 처리 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.title-overflow-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.class-list-dropdown.dropdown-toggle.show::after {
    transform: rotate(180deg) !important;
}

.class-list-dropdown.dropdown-toggle::after {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

@media (max-width:768px) {
    .card-title.card-lecture-title a {
        height: 48px !important;
    }
}

.rounded-pill {
    margin-right: 0.65rem !important;
}

.badge-level {
    margin-right: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #737373;
    cursor: pointer;
    font-size: 0.8rem;
    display: block;
}

.badge-level:hover {
    background: rgba(111, 111, 111, 0.3);
}

.dropdown-item {
    background: rgba(0, 0, 0, 0.3);
}

.card-lecture-title {
    word-break: keep-all;
    line-height: 1.8rem;
}

.lecture-list-info {
    font-size: 1.0rem;
}

@media (max-width:768px) {
    .badge-level {
        margin-bottom: 0.5rem;
    }
    .card-lecture-title {
        line-height: 1.5rem;
        font-size: 0.9rem;
    }
    .heart {
        font-size: 1.9rem;
    }
    .lecture-list-info {
        font-size: 0.8rem;
    }
    .class-list-section {
        margin-top: 3rem !important;
    }
    .tags .item {font-size:0.7rem;}
}

/* 강사 카드 캐러셀 적용 */
.teacher-card-carousel-cell {
    width: 27%;
    margin-right: 5px;
}

@media (max-width:768px) {
    .teacher-card-carousel-cell {
        width: 75%;
    }
}


/* 강사 카드 설명 2줄만 나오도록. 2줄 넘으면 스크롤 가능 */
.scrollable-teacher-description {
    max-height: 3em;
    overflow-y: auto;
}
.scrollable-teacher-description::-webkit-scrollbar {
    display: none;
}
.scrollable-teacher-description::-moz-scrollbar {
    display: none;
}

/* 강사 소개 페이지 탭 */
.online-teacher.active, 
.offline-teacher.active {
    color: #fff !important;
}
.online-teacher,
.offline-teacher {
    color: #787878;
}

/* 하트 hover */
.heart-custom:hover {
    cursor: pointer;
}

/* Modal 디자인 속성 */

.modal-style {
    background: #1f1f1f;
    border: 1px solid  #383838;
    border-radius: 16px;
}
.tag-style{
    background: white !important;
    color: black !important;
}

.ctgr:hover{
    background: rgba(111, 111, 111, 0.3);
}


/* 썸네일 안 이미지 쉐도우 속성 */

.img-shadow {
    filter: drop-shadow(10px 10px 3px rgba(0, 0, 0, 0.25))
}

/* 라디오 버튼  */

input[type='radio']:checked {

  background-color: #ff602a;
  border: 1px solid #ff602a;
  box-shadow: 0px 0px 0px 4px rgba(255, 96, 42, 0.20);
}

input[type='radio']:focus {

    border: 1px solid #ff602a;
    box-shadow: 0px 0px 0px 4px rgba(255, 96, 42, 0.20);
  }

/* 체크박스 */

input[type='checkbox']:checked {

    background-color: #ff602a;
    border: 1px solid #ff602a;
    box-shadow: 0px 0px 0px 4px rgba(255, 96, 42, 0.20);
  }
  
  input[type='checkbox']:focus {
  
      border: 1px solid #ff602a;
      box-shadow: 0px 0px 0px 4px rgba(255, 96, 42, 0.20);
    }


/* 텍스트 필드 */

.form-control {

    &:focus {
        border: 1px solid #ff855c;
        box-shadow: 0px 0px 0px 0px;
    }
}

/* 스크롤 바 */

.scrollbar { 
    width: 100%;
    height: 250px;
    overflow-y: scroll;
  }
  
  /* 스크롤바의 폭 너비 */
  ::-webkit-scrollbar {
    width: 10px;  
    
  }
  
  ::-webkit-scrollbar-thumb {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.7);
      border-radius: 5px; /* 스크롤바 둥근 테두리 */
      
  }
  
  ::-webkit-scrollbar-track {
      background: transparent;  /*스크롤바 뒷 배경 색상*/

  }

  ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
      
  }


  ::-webkit-scrollbar-track:hover {
    background: rgba(255, 255, 255, 0.35);

}
::-webkit-scrollbar-corner {
    background-color: transparent;
} 

/* 이미지 드래그 금지 */

  img {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}
