#workshops_page {
    padding-bottom: 80px;
}

#workshops_page .breadcrumbs {
    background-color: var(--light-color);
    border-radius: 10px;
    margin: 20px 0;
    padding: 0 20px;
    border: 1px solid #eee;
}

#workshops_page .sec_title .cat {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

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

#workshops_page .workshops_empty .btn_main {

}

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

}

#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 .sec_title {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

#workshops_page .sec_title h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

#workshops_page .sec_title a.all {
    background-color: var(--primary-color);
}

/*#workshops_page .sec_title a:after {*/
/*    content: '';*/
/*    display: inline-block;*/
/*    vertical-align: middle;*/
/*    width: 20px;*/
/*    height: 20px;*/
/*    transition: 0.5s;*/
/*    background-image: url(../../uploads/icon/arrow-narrow-left-white.svg);*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*    background-size: contain;*/
/*    margin-right: 5px;*/
/*}*/


#workshops_page > .sub_title {
    font-weight: 500;
    color: #666;
    width: 80%;
}

#workshops_page .products {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

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

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

#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: var(--radius);*/
    min-height: 250px;

}
#workshops_page .items .cover.disabled{
    filter: grayscale(1);
}
#workshops_page .items .cover .days {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1;
    display: flex;
}
#workshops_page .items .cover .days .day {
    background-color: #ef4056;
    border-radius: 50px;
    padding: 1px 7px;
    color: #fff;
    margin-right: 10px;
    font-size: 0.9rem;
    display: block;
}


#workshops_page .items .cover img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

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

}


#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(--secondary-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: var(--secondary-color);
}

#workshops_page .items .btn_main.disabled {
    cursor: default !important;
    background-color: var(--gray-color);
}
#workshops_page .page_desc {
    height: 150px;
    overflow: hidden;
}

#workshops_page .page_desc .shadow {
    pointer-events: none;
    position: absolute;
    height: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(14%, #f8f5ef), to(rgba(0, 0, 0, 0)));
    background: -webkit-linear-gradient(bottom, #f8f5ef 14%, rgba(0, 0, 0, 0) 100%);
    background: -o-linear-gradient(bottom, #f8f5ef 14%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to top, #f8f5ef 14%, rgba(0, 0, 0, 0) 100%);
}
#workshops_page .page_desc .show_more {
    text-align: center;
    z-index: 2;
    cursor: pointer;
    color: #999;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}



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

#workshop_page .breadcrumbs {
    background-color: var(--light-color);
    border-radius: 10px;
    margin: 20px 0;
    padding: 0 20px;
    border: 1px solid #eee;
}

#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: var(--light-color);
    border-radius: var(--radius);
    padding: 20px;
    position: sticky;
    top: 100px;
    border: 1px solid #eee;
}

#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(--secondary-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_yellow  {
    margin-top: 20px;
}
#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: var(--light-gray-color);
    color: var(--primary-color);
}

#workshop_page .info .owner,
#workshop_page .info .login {
    background-color: var(--secondary-color);
}

#workshop_page .in_person {
    background-color: #fff;
    color: var(--primary-color);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

#workshop_page .content {
    background-color: var(--light-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}
#workshop_page .content ol,
#workshop_page .content ul,
#workshop_page .content li{
    padding: revert;
}
#workshop_page .content .cover {
    display: block;
    margin: 0 auto;
}

#workshop_page .classes {
    margin-bottom: 30px;
}

#workshop_page .classes .tb {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #eee;
    border-top: none;
}


#workshop_page .classes .tb .row .cell {
    background-color: var(--light-color);

}

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

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

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

#workshop_page .classes .tb .row.online .cell {
    background-color: var(--secondary-color);
    font-weight: 500;
}

#workshop_page .classes .tb .row .cell.file a {
    border-radius: var(--radius);
    background-color: var(--primary-color);
    display: inline-block;
    color: #fff;
    padding: 0 15px;
    font-weight: 500;
    cursor: pointer;
    font-size: .8em;
    align-content: center;
    width: auto;
    height: 35px;
    z-index: 2;
}

#workshop_page .classes .tb .row .cell.file a span {
    background-image: url("../../uploads/icon/file-download-white.svg");
    display: inline-block;
    vertical-align: middle;
    background-size: 17px;
    background-repeat: no-repeat;
    background-position: center;
    width: 17px;
    height: 17px;
    margin: 0 auto 0 5px;
}

#workshop_page .classes .tb .row.expired .cell {
    /*color: #bbb;*/
}

#workshop_page .classes .tb .row.expired .cell:nth-child(1):after,
#workshop_page .classes .tb .row.expired .cell:nth-child(2):after,
#workshop_page .classes .tb .row.expired .cell:nth-child(3):after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #415750;
    left: 0;
    top: 53%;
    opacity: .6;
}

#workshop_page .classes .tb .row.expired .cell:nth-child(1):after {
    right: 5%;
}

#workshop_page .classes .tb .cell {
    text-align: center;
    vertical-align: middle;
    color: var(--title-color);
}


#workshop_page .offline_video_info {
    position: fixed;
    background-color: #fff;
    padding: 50px;
    border-radius: var(--radius);
    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: var(--secondary-color);
}


#workshop_page .classes .tb .cell .practice {
    position: fixed;
    background-color: #fff;
    padding: 50px;
    border-radius: var(--radius);
    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: var(--radius);
}


#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: var(--radius);
    color: #fff;
    font-weight: 500;
    display: inline-block;
    cursor: pointer;
    font-size: .8em;
    align-content: center;
    width: auto;
    background-color: var(--primary-color);
    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;
}

#workshop_page .info .pdf span {
    background-image: url("../../uploads/icon/file-download-white.svg");
    display: inline-block;
    vertical-align: middle;
    background-size: 17px;
    background-repeat: no-repeat;
    background-position: center;
    width: 17px;
    height: 17px;
    margin: 0 auto 0 5px;
}


#workshop_page .box_fix_center.confirmation_letter {
    max-width: 100%;
}

#workshop_page .box_fix_center.confirmation_letter .btn_main {
    margin: 20px auto 0 auto;
    width: 100%;
    text-align: center;
}
#workshop_page .box_fix_center.confirmation_letter .title{
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}
#workshop_page .box_fix_center.confirmation_letter input:not([type=checkbox]){
    border-radius: var(--radius);
    width: 250px;
    max-width: 100%;
    height: 40px;
    font-size: 14px;
    padding-right: 5px;
}

#workshop_page .box_fix_center.confirmation_letter .flex{
    width: 250px;
    justify-content: space-between;
}
#workshop_page .box_fix_center.confirmation_letter .flex select{
    height: 40px;
    width: 30%;
    padding-right: 5px;
}
@media only screen and (max-width: 1000px) {
    #workshop_page .t_cover {
        min-height: auto;
    }

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

    #workshop_page .offline_video_info {
        width: 90% !important;
    }
}


@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;
        min-width: 200px;
    }

    #workshops_page .filter strong {
        display: none;
    }

    #workshops_page .filter {
        flex-wrap: wrap;
    }

    #workshops_page .filter select {
        width: 45%;
    }

    #workshops_page .filter #type,
    #workshops_page .filter #day {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 500px) {
    #workshops_page .filter select {
        width: 100%;
    }

    #workshops_page .filter #subject {
        margin-top: 20px;
    }
}