#workshops_page .workshops_empty{
    text-align: center;
    padding: 100px 0;
    min-height: 350px;
}
#workshops_page {
    background-color: #fff;
}

#workshops_page .sec_title {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}


#workshops_page .sec_title a {
    font-size: 1rem;
    font-weight: 500;
    background-color: var(--second-color);
    color: #fff;
    border-radius: 150px;
    padding: 5px 20px;
}

#workshops_page > .sub_title {
    font-weight: 500;
    color: #666;
    width: 80%;
}
#workshops_page .sec_title .cat {
    color: var(--second-color);
    font-size: 1.2rem;
}



#workshops_page .filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding: 15px;
    border-radius: 3px;
    color: var(--primary-color);
    background-color: var(--light-color);

}

#workshops_page .filter select {
    border: 1px solid #ddd;
    padding: 6px 15px;
    width: 23%;
    height: 40px;
    font-weight: 500;
}
#workshops_page .filter select.selected {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
#workshops_page .products {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#workshops_page .items {
    display: flex;
    vertical-align: top;
    overflow: hidden;
    align-items: center;
    background-color: var(--light-color);
    border-radius: 3px;
    margin-bottom: 40px;
    flex-direction: column;
    justify-content: space-between;
    max-width: 300px;
}

#workshops_page .items .details {
    width: 100%;
    margin-top: 10px;
    padding: 20px;
}

#workshops_page .items .cover {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    filter: brightness(1);
    overflow: hidden;
    margin: 0 auto;
    font-size: 0;
    border-radius: 3px;
}

#workshops_page .items .cover img {
    width: 100%;
    height: auto;
}

#workshops_page .items .prerequisite {
    min-height: 140px;

}


#workshops_page .items .info{
    padding: 20px;
}
#workshops_page .items .info .title a,
#workshops_page .items .info .title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

#workshops_page .items .info .sub_title {
    font-size: 1em;
    font-weight: 400;
    padding-top: 2px;
}
#workshops_page .items .info .sub_title a{
    color: var(--second-color);
}

#workshops_page .items .item {
    color: var(--primary-color);
    margin-bottom: 10px;
}

#workshops_page .items .items_row {
    display: flex;
    justify-content: space-between;
    color: var(--title-color);
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 0.9em;
    align-items: center;
}

#workshops_page .items .items_row .item {
    margin-bottom: 0;
}


#workshops_page .items .price {
    display: flex;
    justify-content: space-between;
    color: var(--title-color);
    font-weight: bold;
}

#workshops_page .items .price .discounted {
    font-weight: normal;
}

#workshops_page .items .price .discounted:after {
    content: "";
    height: 1px;
    background: var(--title-color);
    width: 100%;
    display: block;
    position: absolute;
    top: 12px;
    left: 0;
}

#workshops_page .items .price .discounted_price {
    color: var(--red-color);
    font-weight: bold;
}


#workshops_page .items .btn_main {
    width: 100%;
    text-align: center;
    padding: 5px;
    margin-top: 20px;
}


#workshops_page .items .btn_main.owner {
    background: #ebb830;
}

#workshops_page .items .btn_main.disabled {
    cursor: default !important;
    background-color: #999;
}

#workshop_page {
    background-color: #eee;
    padding: 0 0 50px 0;
}

#workshop_page .t_cover {
    width: 100%;
    min-height: 400px;
}


#workshop_page .f_container > div:nth-child(2) {
    width: 100%;
}

#workshop_page .side {
    padding-left: 50px;
    min-width: 350px;
    max-width: 400px;
}

#workshop_page .info {
    background-color: #fff;
    border-radius: 3px;
    padding: 20px;
    position: sticky;
    top: 185px;
}

#workshop_page .info .title {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

#workshop_page .info .sub_title {
    font-weight: bold;
    color: var(--second-color);
}

#workshop_page .info .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#workshop_page .info .item:not(:last-child){
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
#workshop_page .info strong {
    color: var(--title-color);
    margin-left: 5px;
}

#workshop_page .teacher {
    margin: 10px 0;
    color: var(--title-color);

}

#workshop_page .time {
    display: flex;
    justify-content: space-between;
    color: var(--title-color);
    font-size: 0.9em;
}


#workshop_page .info .price {
    color: var(--title-color);

}

#workshop_page .info .price .discounted:after {
    content: "";
    height: 1px;
    background: var(--title-color);
    width: 100%;
    display: block;
    position: absolute;
    top: 12px;
    left: 0;
}

#workshop_page .info .price .discounted_price {
    color: var(--red-color);
    font-weight: bold;
}


#workshop_page .info .btn_main {
    width: 100%;
    text-align: center;
    padding: 5px;
    margin-top: 20px;
}

#workshop_page .info .btn_main.disabled {
    cursor: default !important;
    background-color: #999;
}

#workshop_page .info .owner,
#workshop_page .info .login {
    background-color: #ebb830;
}
#workshop_page .in_person {
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 3px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

#workshop_page .content {
    background-color: #fff;
    border-radius: 3px;
    padding: 20px;
    margin-bottom: 30px;
}

#workshop_page .content .cover {
    display: block;
    margin: 0 auto;
}
#workshop_page .content .title{
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 20px;
}

#workshop_page .classes {
    margin: 30px 0;
}

#workshop_page .classes .tb {
    background-color: #fff;
    border-radius: 3px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}


#workshop_page .classes .tb .row:nth-child(odd) .cell {
    background-color: #e5e5e5;
    background-color: #f1f1f1;
}

#workshop_page .classes .tb .row:first-child .cell {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
}

#workshop_page .classes .tb .row:not(:last-child) .cell {
    border-bottom: 1px solid #ddd;
}

#workshop_page .classes .tb .row.online .cell {
    background-color: #8c9b52;
}

#workshop_page .classes .tb .cell {
    text-align: center;
    vertical-align: middle;
}




#workshop_page .offline_video_info {
    position: fixed;
    background-color: #fff;
    padding: 50px;
    border-radius: 3px;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 60% !important;
    max-width: 100%;
    overflow-y: auto;
    text-align: right;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 5px rgba(0, 0, 0, .2);
    visibility: hidden;
    opacity: 0;
    z-index: 21;
    max-height: 100%;
}

#workshop_page .offline_video_info.show {
    visibility: visible;
    opacity: 1;
    overflow-wrap: break-word;
}

#workshop_page .offline_video_info .icon {
    display: block;
    background-image: url("../../uploads/icon/close_w.png");
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: var(--primary-color);
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    cursor: pointer;
}

#workshop_page .offline_video_info .title {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-color);
}

#workshop_page .offline_video_info .desc {
    margin: 10px 0 20px 0;
}

#workshop_page .offline_video_info .desc li {
    margin-bottom: 10px;
}

#workshop_page .offline_video_info textarea {
    width: 100%;
    padding: 6px;
    height: 130px;
    min-width: 100%;
    min-height: 130px;
    max-height: 130px;
    margin-top: 20px;
}

#workshop_page .offline_video_info .btn_main {
    height: 30px;
    width: 100%;
    text-align: center;
}

#workshop_page .offline_video_info button {
    background: #ebb830;
}


#workshop_page .classes .tb .cell .practice {
    position: fixed;
    background-color: #fff;
    padding: 50px;
    border-radius: 3px;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    max-width: 350px;
    text-align: right;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 5px rgba(0, 0, 0, .2);
    visibility: hidden;
    opacity: 0;
    z-index: 21;
}

#workshop_page .classes .tb .cell .practice .icon {
    display: block;
    background-image: url("../../uploads/icon/close_w.png");
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: var(--primary-color);
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    cursor: pointer;
}

#workshop_page .classes .tb .cell.show .practice {
    visibility: visible;
    opacity: 1;
}

#workshop_page .classes .tb .cell .practice_icon,
#workshop_page .classes .tb .cell .lessons {
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0 auto;
    padding: 10px;
    border-radius: 3px;
}


#workshop_page .classes .tb .cell .practice_icon {
    background-image: url("../../uploads/icon/question.png");
}

#workshop_page .classes .tb .cell .lessons {
    background-image: url("../../uploads/icon/download-pdf.png");
}

#workshop_page .classes .tb .cell .link_icon {
    padding: 0 15px;
    border-radius: 3px;
    color: #fff;
    font-weight: 500;
    display: inline-block;
    cursor: pointer;
    font-size: .8em;
    align-content: center;
    width: auto;
    background-color: #9b6c52;
    height: 35px;
}
#workshop_page .info .offline_video span,
#workshop_page .classes .tb .cell .link_icon span{
    background-image: url("../../uploads/icon/external-link-white.png");
    display: inline-block;
    vertical-align: middle;
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center;
    width: 15px;
    height: 15px;
    margin: 0 auto 0 5px;
}

@media only screen and (max-width: 1000px) {
    #workshop_page .t_cover {
        min-height: auto;
    }

    #workshops_page .products {
        justify-content: space-evenly;
    }

}


@media only screen and (max-width: 800px) {
    #workshop_page .f_container {
        display: block;
    }

    #workshop_page .side {
        padding-left: 0;
        max-width: 100%;
        margin-bottom: 20px;
        margin-top: 20px;
    }

}
