@import "util.css";

/*normal*/
._lightred { color: #ff6666 !important; }
._red { color: #ff0000 !important; }
._darkred { color: #aa0000 !important; }

._lightblue { color: #66ccff !important; }
._blue { color: #0000ff !important; }
._darkblue { color: #000099 !important; }
._skyblue { color: #0099ff !important; }

._lightgreen { color: #99ff99 !important; }
._green { color: #00dd00 !important; }
._darkgreen { color: #006600 !important; }

._yellow { color: #ffff00 !important; }

._darkbrown { color: #663300 !important; }
._brown { color: #996633 !important; }

._lightpurple { color: #ff99ff !important; }
._purple { color: #ff00ff !important; }
._darkpurple { color: #660066 !important; }

._lightgray { color: #999999 !important; }
._gray { color: #555555 !important; }
._darkgray { color: #333333 !important; }
._black { color: #000000 !important; }
._white { color: #ffffff !important; }

/*bold*/
._lightred_b { color: #ff6666 !important; font-weight: bold !important; }
._red_b { color: #ff0000 !important; font-weight: bold !important; }
._darkred_b { color: #aa0000 !important; font-weight: bold !important; }

._lightblue_b { color: #66ccff !important; font-weight: bold !important; }
._blue_b { color: #0000ff !important; font-weight: bold !important; }
._darkblue_b { color: #000099 !important; font-weight: bold !important; }
._skyblue_b { color: #0099ff !important; font-weight: bold !important; }

._lightgreen_b { color: #99ff99 !important; font-weight: bold !important; }
._green_b { color: #00dd00 !important; font-weight: bold !important; }
._darkgreen_b { color: #006600 !important; font-weight: bold !important; }

._yellow_b { color: #ffff00 !important; font-weight: bold !important; }

._darkbrown_b { color: #663300 !important; font-weight: bold !important; }
._brown_b { color: #996633 !important; font-weight: bold !important; }

._lightpurple_b { color: #ff99ff !important; font-weight: bold !important; }
._purple_b { color: #ff00ff !important; font-weight: bold !important; }
._darkpurple_b { color: #660066 !important; font-weight: bold !important; }

._lightgray_b { color: #999999 !important; font-weight: bold !important; }
._gray_b { color: #555555 !important; font-weight: bold !important; }
._darkgray_b { color: #333333 !important; font-weight: bold !important; }
._black_b { color: #000000 !important; font-weight: bold !important; }
._white_b { color: #ffffff !important; font-weight: bold !important; }


.align_l {
    text-align: left !important;
}

.table_align_c > thead > tr > th,
.table_align_c > tbody > tr > td
{
    text-align: center;
}
.align_c {
    text-align: center;
}

.align_r {
    text-align: right;
}

/* Validation */
label.error {
    color: #cc5965;
    display: inline-block;
    margin-left: 5px;
}

/* font-weight */
.fontb {
    font-weight: bold;
}

.fontn {
    font-weight: normal;
}

/*schedule*/
.schedule_book_title {
    font-weight: bold;
    font-size: 14px;
    margin-top: 6px;
}

/*schedule past*/
.schedule_past {
    background-color: #eeeeee;
    color: #999999;
}

.schedule_past td {
    padding: 10px;
    border-bottom: #999999;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.schedule_past td.nowrap {
    white-space: nowrap;
}

/*schedule today*/
.schedule_today {
}

.schedule_today td {
    border-bottom: #666666;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.schedule_today td.nowrap {
    white-space: nowrap;
}

/*schedule future*/
.schedule_future {
    background-color: #ffffff;
    color: #000000;
}

.schedule_future td {
    padding: 10px;
    border-bottom: #999999;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.schedule_future td.nowrap {
    white-space: nowrap;
}


/*class_step*/
.step_class {
    min-width: 55px;
}

.step_class div:first-child {
    text-align: center !important;
}

.step_class div:nth-child(2) {
    text-align: center !important;
}

.step_class div:nth-child(2) button {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    margin-top: 0.5rem;
}

.step_class_text {
    line-height: 1.2em;
}

.step_class_start {
    font-size: 14px;
}

.step_class_text div:first-child {
    font-size: 12px;
    padding-top: 5px;
}

.step_class_text div:nth-child(2) {
    font-size: 20px;
    padding-bottom: 5px;
}

/*unit*/
.unit_class {
    float: right
}

.unit_class div {
    margin-bottom: 0rem;
}

.unit_class span.title {
    font-size: 24px;
}

.unit_dot {
    float: right
}

.unit_dot .empty {
    height: 12px;
    width: 12px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
}

.unit_dot .full {
    height: 12px;
    width: 12px;
    background-color: #888;
    border-radius: 50%;
    display: inline-block;
}

.print_box1 {
    border-style: solid;
    border-width: 1px;
    padding: 5px;
    border-radius: 5px;
    border-color: #999999
}

.translation {
    margin-top: 0.25rem !important;
    display: none;
}
.bl_fill {
    display: none;
}
.bl_empty {
}

.conversation {
    font-size: 18px;
}
.question-header {
    font-size: 18px;
}
.question-body {
    font-size: 15px;
}
.step-card {
    min-height: 150px;
}
.step-card-header {
    min-height: 78px;
    padding:12px;
}
.step-card-body {
}
.step-card-footer {
    display:none;
}

.step-tab-main {

}
.step-tab-sub {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

/*change indicators*/
.carousel-indicators li {
    background-color:#cccccc;
}
.carousel-indicators .active {
    background-color: #666666;
}
.carousel-indicators-top {
    top:0px;
    height:20px;
}
.carousel-indicators-bottom {
    bottom:-2px;
    height:20px;
}

/*audio*/
.audioPlayer {
    display: block;
    margin:0 auto;
}

/* hide : time progressbar
audio::-webkit-media-controls-timeline,
video::-webkit-media-controls-timeline {
    display: none;
}*/

.step_part_title {
    font-weight: bold;
}

/* header_image */
@media (max-width: 500px) {
    .header_image {
        display: none;
    }
}

.exam_direct_input {
    color: blue;
}


.alert-margin-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

.alert-margin-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.alert-margin-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}


/* preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(220, 220, 220, .4);
}



/*part progressbar default*/
.part_progress_container {
    width: 100%;
    margin: 0px auto 15px auto;
    z-index: 0;
}
.part_progressbar {
    margin: 0;
    padding: 0;
    width: 100%;
    display: table;
    table-layout: fixed; /* optional */
}
.part_progressbar li {
    list-style-type: none;
    display: table-cell;
    width: auto;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}
.part_progressbar li:before {
    width: 30px;
    height: 30px;
    content: '';
    border: 2px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto -24px auto;
    border-radius: 50%;
    background-color: white;
}
.part_progressbar li:after {
    display: block;
    position: relative;
    width: 100%;
    height: 2px;
    top: -11px;
    left: -50%;
    content: '';
    background-color: #7d7d7d;
    z-index: -1;
}
.part_progressbar li:first-child:after {
    content: none;
}
.part_progressbar li.active:before {
    border-color: #6c757d; /*#55b776*/
    background-color: #6c757d;
}
.part_progressbar li.active {
    color: white;
}
.part_progressbar li.active + li:after {
    background-color: #6c757d;
}


/*part progressbar icon*/
.part_progress_container_icon {
    width: 100%;
    margin: 0px auto 15px auto;
    z-index: 0;
}
.part_progressbar_icon {
    margin: 0;
    padding: 0;
    width: 100%;
    display: table;
    table-layout: fixed; /* optional */
}
.part_progressbar_icon li {
    list-style-type: none;
    display: table-cell;
    width: auto;
    text-align: center;
    cursor: pointer;
}
.part_progressbar_icon li:before {
    width: 45px;
    height: 45px;
    content: '';
    border: 2px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto -36px auto;
    border-radius: 50%;
    background-color: white;
}
.part_progressbar_icon li:after {
    display: block;
    position: relative;
    width: 100%;
    height: 2px;
    top: -16px;
    left: -50%;
    content: '';
    background-color: #7d7d7d;
    z-index: -1;
}
.part_progressbar_icon li:first-child:after {
    content: none;
}
.part_progressbar_icon li.active {
    color: green;
}
.part_progressbar_icon li.active:before {
    border-color: #55b776;
}
.part_progressbar_icon li.active + li:after {
    background-color: #55b776;
}


@media (min-width: 0px) {
    .editor_image { width:100%; }
}
@media (min-width: 640px) {
    .editor_image { width:100%; }
}
@media (min-width: 768px) {
    .editor_image { width:95%; }
}
@media (min-width: 1024px) {
    .editor_image { width:90%; }
}
@media (min-width: 1200px) {
    .editor_image { width:80%; }
}
@media (min-width: 1400px) {
    .editor_image { width:70%; }
}


@media (min-width: 0px) {
    .editor_picture_70 { width:100%; }
}
@media (min-width: 640px) {
    .editor_picture_70 { width:100%; }
}
@media (min-width: 768px) {
    .editor_picture_70 { width:95%; }
}
@media (min-width: 1024px) {
    .editor_picture_70 { width:90%; }
}
@media (min-width: 1200px) {
    .editor_picture_70 { width:80%; }
}
@media (min-width: 1400px) {
    .editor_picture_70 { width:70%; }
}

@media (min-width: 0px) {
    .editor_picture_50 { width:100%; }
}
@media (min-width: 640px) {
    .editor_picture_50 { width:85%; }
}
@media (min-width: 768px) {
    .editor_picture_50 { width:70%; }
}
@media (min-width: 1024px) {
    .editor_picture_50 { width:60%; }
}
@media (min-width: 1200px) {
    .editor_picture_50 { width:55%; }
}
@media (min-width: 1400px) {
    .editor_picture_50 { width:50%; }
}

/*for video*/
@media (min-width: 0px) {
    .responsive-video {
        height: calc(10vh - 10px);
    }
}
@media (min-width: 300px) {
    .responsive-video {
        height: calc(20vh - 10px);
    }
}
@media (min-width: 576px) {
    .responsive-video {
        height: calc(35vh - 10px);
    }
}
@media (min-width: 899px) {
    .responsive-video {
        height: calc(40vh - 10px);
    }
}
@media (min-width: 999px) {
    .responsive-video {
        height: calc(50vh - 10px);
    }
}
@media (min-width: 1399px) {
    .responsive-video {
        height: calc(63vh - 10px);
    }
}
.responsive-video {
    width: 100%;
}
.w-h-100 {
    width: 100%;
    height: 100%;
}


/*for youtube*/
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 비율 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/*for calendar*/
.cal-container {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
}

.cal-item {
    flex: 14%;
    padding-bottom: 0.5rem;
}

@media (max-width: 575px) {
    .cal-item { flex: 50%; /*color: red;*/}
}

@media (min-width: 576px) {
    .cal-item { flex: 33%; /*color: red;*/}
}

@media (min-width: 768px) {
    .cal-item { flex: 33%; /*color: blue;*/}
}

@media (min-width: 992px) {
    .cal-item { flex: 20%; /*color: yellow;*/}
}

@media (min-width: 1200px) {
    .cal-item { flex: 14%; /*color: green;*/}
}

.tutor_favorite_image-container {
    position: relative;
    display: inline-block;
}
.tutor_favorite_icon {
    position: absolute;
    top: 1px;
    right: 1px;
    color: red;
    font-size: 16px;
}


.sticky-left {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
}


body {
    margin-top: env(safe-area-inset-top);
    margin-bottom: env(safe-area-inset-bottom);
    margin-left: env(safe-area-inset-left);
    margin-right: env(safe-area-inset-right);
  }