@charset "utf-8";

.search-section {
    padding: 30px 0 54px;
}

.search-inner {
    width: 100%;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    border: 2px solid #FA7300;
    overflow: hidden;
    height: 53px;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 16px;
    font-size: 16px;
    color: #767676;
    background: #fff;
}

.search-bar button {
    background: #FA7300;
    border: none; color: #fff;
    padding: 0 22px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.search {
    margin-bottom: 54px;
}

#main .text {
    font-size: 18px;
    font-weight: var(--font-medium);
}

.scroll {
    overflow: scroll;
    text-align: center;
}


#main #conts .opCourseCategory .course-flow img {
    width: 800px;
    max-width: 800px;
}

#main #conts .course-flow .img {
    display: none;
}

.course-card {
    border-bottom: 1px solid #B4C3D2;
    padding: 16px 0 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    cursor: pointer;
}

.course-card:first-child {
    /*border-top: 1px solid #B4C3D2;*/
}

.course-card:last-child {
    border-bottom: none;
}

.course-card-left {
    flex: 1;
    min-width: 0;
}

.course-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

.tag {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    padding: 2px 9px;
    /*border-radius: 3px;*/
    white-space: nowrap;
}

.tag-new    {
    background: #FF383C;
    color: #fff;
}

.tag-filled {
    background: #fff;
    color: #FA7300;
    border: 1px solid #FA7300;
}

.tag-outline {
    background: #fff;
    color: #888;
    border: 1px solid #bbb;
    font-weight: normal;
}
.tag-outline-orange {
    background: #fff;
    color: #e87722;
    border: 1px solid #e87722;
    font-weight: normal;
}

.course-name {
    font-size: 20px;
    font-weight: 500;
    color: #111111;
    margin-bottom: 4px;
}

.course-sub  {
    font-size: 16px;
    font-weight: 500;
    color: #111111;
}

.badge-casareal img {
    width: 93px;
    height: 31px;
}

.badge-partner {
    background: #679B40;
    color: #fff;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    width: 93px;
    height: 31px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.badge-days {
    background: #868686;
    color: #fff;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 500;
    width: 93px;
    height: 31px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.badge-casareal.saturday img, .badge-partner.saturday, .badge-days.saturday {
    width: 144px;
}

@media (max-width: 768px) {
    .search-section {
        padding: 14px 0 16px;
    }

    .search-bar {
        height: 46px;
        border-width: 1.5px;
    }

    .search-bar input {
        font-size: 13px;
        padding: 0 12px;
    }

    .search-bar button {
        padding: 0 18px;
        font-size: 14px;
        font-weight: bold;
        gap: 5px;
    }

    #main .text {
        display: none;
    }

    #main #conts .course-flow .btn {
        width: 100%;
        height: 60px;
        font-size: 18px;
        border: 1px solid #D6E2E8;
        border-radius: 30px;
        margin-bottom: 14px;
        position: relative;
    }

    #main #conts .course-flow .btn::after {
        background: url(../img/common/button_orange.webp) no-repeat 50% 0 transparent;
        background-size: 30px 30px;
        display: block;
        content: "";
        height: 30px;
        margin-top: -15px;
        position: absolute;
        right: 15px;
        top: 50%;
        width: 30px;
    }

    .ui-dialog img {
        height: auto;
        max-width: 100%;
    }

    .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable {
        border: 2px solid #005981;
    }

    .ui-dialog .ui-dialog-titlebar {
        display: none;
    }

    .course-card {
        flex-direction: column;
        gap: 0;
        padding: 14px 0 12px;
        border-bottom: 1px solid #e4e4e4;
    }

    .course-card-left {
        width: 100%;
    }

    .course-card-right {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        margin-top: 10px;
        min-width: 0;
    }

    .tag {
        font-size: 14px;
        padding: 1px 2px;
    }

    .course-name {
        font-size: 16px;
    }

    .course-sub  {
        font-size: 14px;
    }

    .badge-casareal {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .badge-casareal img {
        width: auto;
        height: 19px;
    }

    .badge-days {
        font-size: 14px;
        width: auto;
        min-width: 53px;
        height: 19px;
    }

    .badge-casareal.saturday img, .badge-partner.saturday, .badge-days.saturday {
        width: auto;
    }

    .badge-days.saturday {
        padding: 0 4px;
    }
}
