.live-lesson {
    font-size: 16px;
    line-height: 1.5;
    color: #282828;
    font-family: "Nunito", "Helvetica Neue", "Roboto", Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    clear: both;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    margin-bottom: 16px;
    background-color: #fff;
    transition: all 0.2s ease-out;
    position: relative;
    display: flex;
}

.clearfix:before, .clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}


.live-lesson__time-box {
    font-size: 16px;
    line-height: 1.5;
    color: #282828;
    font-family: "Nunito", "Helvetica Neue", "Roboto", Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    position: relative;
    padding: 42px 15px 15px;
    width: 15.99%;
    text-align: center;
    top: 0;
    bottom: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    background-color: #f0f0f0;
}

.lesson-type {
    position: absolute;
    font-size: 16px;
    font-weight: 800;
    left: -1px;
    right: 0;
    top: -1px;
    height: 30px;
    line-height: 30px;
    border-top-left-radius: 4px;
    padding: 0 15px;
    color: #fff;
    z-index: 9;
    text-align: center;
    background-color: #294563;
}

.live-lesson__day {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 48px;
    font-weight: bold;
    line-height: 1.25;
    letter-spacing: 0.5px;
    color: #294563;
    margin-bottom: 8px;
}

.live-lesson__month {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    color: #294563;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.live-lesson__time-info {
    line-height: 1.2;
}

.live-lesson__main-info {
    width: 61.2%;
    position: relative;
    padding-bottom: 20px;
    padding-left: 2rem;
    display: flex;
    flex-wrap: wrap;
}

.live-lesson__lesson-name {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.35;
    letter-spacing: 0.3px;
    color: #294563;
    margin: 16px 0 22px;
    width: 100%;
}

.live-lesson__lesson-name a {
    color: inherit;
}

.live-lesson__tt-avatar {
    float: left;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #d5d5d5;
}

.live-lesson__tt-avatar img {
    max-width: 100%;
    height: auto;
}

.live-lesson__lesson-info {
    overflow: hidden;
    width: calc(100% - 110px);
    padding-left: 18px;
}

.live-lesson__lesson-info ul{
    list-style: none;
    padding: 0;
}

.live-lesson__lesson-info ul.clearfix {
    display: block;
    clear: both;
}


.live-lesson__tt-name {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0.2px;
    color: #282828;
}

.live-lesson__lesson-info li {
    float: left;
    margin-right: 16px;
}


.live-lesson__language {
    position: relative;
    padding-left: 25px;
}
.live-lesson__tt-level, 
.live-lesson__language, 
.live-lesson__tt-level, 
.live-lesson__language {
    font-size: 14px;
    line-height: 1.88;
    letter-spacing: 0.2px;
    color: #282828;
}

.live-lesson__language:before{
    content: "\f075";
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 16px;
    color: #F9B169;
}

.live-lesson__desc {
    font-size: 14px;
    line-height: 1.57;
    letter-spacing: 0.2px;
    color: #9d9d9d;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    max-height: 73px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.live-lesson__source {
    background-color: #fff;
    display: inline-flex;
    border: 1px solid #d5d5d5;
    margin-top: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    align-items: center;
    font-size: 14px;
}

.live-lesson__source-logo {
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    padding: 1px;
    margin-right: 6px;
}

.live-lesson__other-info {
    text-align: right;
}
.live-lesson__other-info {
    width: 22.81%;
    padding: 27px 35px 0 35px;
}

.live-lesson__price {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.3px;
    text-align: right;
    color: #2EB872;
}



.wbn-bt {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.79;
    letter-spacing: 0.4px;
    text-align: center;
    color: #ffffff;
    display: inline-block;
    width: 100%;
    max-width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #32b4c8;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    -moz-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    -webkit-transition: all ease 0.2s;
    transition: all ease 0.2s;
    border-radius: 4px;
    margin-top: auto;
}

/* .live-lesson__other-info a.register {
    margin-bottom: 20px;
    background-color: #294563;
    letter-spacing: 0.4px;
    color: #ffffff;
    margin-top: 26px;
}
 */

.live-lesson__other-info a.wbn-bt {
    max-width: 182px;
}



.live-lesson__other-info a {
    height: 40px;
    line-height: 40px;
    width: 100%;
    padding: 8px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    -moz-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    -webkit-transition: all ease 0.2s;
    transition: all ease 0.2s;
    border-radius: 4px;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
}


a.view-dt {
    height: 40px;
    line-height: 40px;
    padding: 0;
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    -moz-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    -webkit-transition: all ease 0.2s;
    transition: all ease 0.2s;
    border-radius: 4px;
    color: #7a7a7a;
    border: 1px solid #cccccc;
    letter-spacing: 0.2px;
    position: relative;
}

a.view-dt:hover{
    color: #294563
}


a.rewatch.free:hover{
    background-color: #4D6B89;
    color: #ffffff;
}

a.rewatch.free {
    margin-bottom: 20px;
    background-color: #294563;
    letter-spacing: 0.4px;
    color: #ffffff;
    margin-top: 26px;
}

@media (max-width: 767px) {
    .live-lesson {
        overflow: hidden;
        flex-wrap: wrap;
    }
    .live-lesson__time-box {
        position: relative;
        width: 100%;
        padding: 12px 0 12px 86px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }
    .live-lesson__main-info {
        width: 100%;
        padding: 30px 19px 0;
        padding-bottom: 0;
        text-align: center;
    }
    .live-lesson__lesson-name {
        font-size: 16px;
        line-height: 1.38;
        letter-spacing: 0.2px;
        margin: 15px 0;
        text-align: left;
    }
   .live-lesson__tt-avatar {
        width: 80px;
        height: 80px;
        float: left;
        margin-right: 0;
    }
    .live-lesson__lesson-info {
        overflow: visible;
        position: relative;
        width: calc(100% - 80px);
        float: left;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .live-lesson__other-info {
        width: 100%;
        padding: 23px 19px 25px;
    }
    .lesson-type {
        width: 86px;
        font-size: 14px;
        top: 0;
        border-radius: 4px 0 0 0;
        line-height: 1.6;
        padding: 0 13px;
        text-align: left;
        display: inline-block;
        left: 0;
        right: auto;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .live-lesson__date-info {
        margin-bottom: 3px;
    }
    .live-lesson__day {
        display: inline-block;
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 0.2px;
        margin-bottom: 0;
    }
    .live-lesson__month {
        display: inline-block;
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 0.2px;
        margin-bottom: 0;
    }
    .live-lesson__time, .live-lesson__utc {
        display: inline-block;
        font-size: 12px;
        line-height: 1.2;
        letter-spacing: 0.1px;
    }
    
}

@media (min-width: 768px) and (max-width: 991px) {
    .live-lesson__main-info {
        width: 72%;
        padding-bottom: 20px;
    }
    .live-lesson__other-info {
        width: 28%;
        padding: 20px 10px 25px;
    }
    .live-lesson__time-box {
        width: 23.79%;
    }
   .live-lesson__lesson-name {
        font-size: 20px;
        margin: 16px 0;
    }
    .live-lesson__tt-avatar {
        width: 66px;
        height: 66px;
    }
    .live-lesson__desc {
        font-size: 12px;
        max-height: 66px;
    }
    .live-lesson__source {
        font-size: 12px;
    }
    .live-lesson__other-info a {
        height: auto;
        min-height: 40px;
        line-height: 1.2;
        font-size: 14px;
    }
    a.view-dt {
        margin-bottom: 0;
    }
}


/* event listening - mobile design code */

.wpem-event-listing-box-view {
    --spacing: 20px;
    --columns: 2;
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(-1* var(--spacing));
}

.wpem-event-listing-box-view > * {
    width: calc(calc(100% / var(--columns)) - var(--spacing));
    margin-left: var(--spacing);
    margin-bottom: var(--spacing);
}


.wpem-event-listing-box-view .live-lesson {
    display:none;
}

.wpem-event-listing-box-view .prc-item {
    display: block !important;
}

.prc-item {
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    background-color: #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    transition: all 0.2s ease-out;
}

.prc-item__col-left {
    width: 29.63%;
    float: left;
    text-align: center;
    position: relative;
    padding: 47px 20px 0;
}

.prc-item__col-right {
    width: 70.37%;
    float: right;
    background-color: #fff;
    padding: 16px 25px 26px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    display: flex;
    flex-direction: column;
    flex: 1;
	height:100%;
}

.prc-item__lesson-type {
    position: absolute;
    font-size: 16px;
    font-weight: 800;
    left: -1px;
    right: 0;
    top: -1px;
    height: 30px;
    line-height: 30px;
    border-top-left-radius: 4px;
    padding: 0 15px;
    color: #fff;
    z-index: 9;
    text-align: center;
    background-color: #284664;
}

.prc-item__day {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 44px;
    font-weight: bold;
    line-height: 1.25;
    letter-spacing: 0.5px;
    color: #284664;
}

.prc-item__month {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.3px;
    color: #32b4c8;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.prc-item__time, .prc-item__utc {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: 0.2px;
    color: #284664;
}

.prc-item h3 {
    margin: 0 0 20px;
}


.prc-item h3 a {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.35;
    letter-spacing: 0.3px;
    color: #284664;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.prc-item__tt-info {
    display: flex;
}

.prc-item__tt-avatar {
    width: 66px;
    height: 66px;
    flex-shrink: 0;
    margin-right: 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #d5d5d5;
}


.prc-item__tt-avatar img {
    max-width: 100%;
    height: auto;
}

/* change accordtion to course_type */
.prc-item__tt-name {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0.2px;
    color: #32b4c8;
    margin-bottom: 2px;
}

.prc-item__tt-level {
    font-size: 14px;
    line-height: 1.57;
    letter-spacing: 0.2px;
    color: #282828;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.prc-item__tt-level a {
    color: inherit;
}

.prc-item__source {
    color: #32B4C8;
    font-weight: bold;
}

.prc-item__course-btns {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: auto;
}

.prc-item__btn:first-child {
    margin-right: 15px;
}

.prc-item__btn {
    height: 40px;
    line-height: 40px;
    padding: 0;
    width: 100%;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    -moz-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    -webkit-transition: all ease 0.2s;
    transition: all ease 0.2s;
    border-radius: 4px;
    color: #7a7a7a;
    border: 1px solid #cccccc;
    letter-spacing: 0.2px;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    width: 50%;
    position: relative;
}


.prc-item__btn.-bt-rewatch {
    background-color: #284664;
    border: none;
    color: #fff;
}

.prc-item__btn.-bt-rewatch:hover{
    background-color: #4D6B89;
    color: #fff;
    opacity: 0.9;
}

@media (min-width: 768px) and (max-width: 991px) {
    .prc-item {
        min-height: 315px;
        background-color: #fff;
        display: flex;
        flex-direction: column;
    }
    .prc-item__col-left {
        width: 100%;
        background-color: #f0f0f0;
        padding: 40px 0 20px;
    }
    .prc-item__day {
        font-size: 32px;
        position: absolute;
        left: 50%;
        line-height: 1.41;
        letter-spacing: 0.5px;
        width: 40px;
        margin-left: -96px;
        text-align: right;
    }
   .prc-item__month {
        font-size: 14px;
        line-height: 1.71;
        letter-spacing: 0.2px;
        margin-bottom: 0;
    }
    .prc-item__time {
        padding-left: 50%;
        margin-left: -45px;
    }
    .prc-item__time, .prc-item__utc {
        float: left;
        font-size: 10px;
        line-height: 2;
        letter-spacing: 0.1px;
    }
    .prc-item__col-right {
        width: 100%;
        height: auto;
        margin-top: auto;
        flex: 1;
    }
    .prc-item h3 a {
        font-size: 18px;
        min-height: auto;
        max-height: auto;
    }
    .prc-item__tt-level {
        font-size: 14px;
    }
    .prc-item__source {
        font-size: 14px;
    }
    
    
}

@media (max-width: 767px) {
    .wpem-event-listing-box-view {
        --spacing: 0px;
        --columns: 1;
    }
    .prc-item {
        overflow: hidden;
    }
    .prc-item__col-left {
        width: 100%;
        padding: 9px 0;
        padding-left: 86px;
    }
    .prc-item__lesson-type {
        width: 86px;
        font-size: 14px;
        top: 0;
        border-radius: 4px 0 0 0;
        line-height: 1.6;
        padding: 0 13px;
        text-align: left;
        display: inline-block;
        left: 0;
        right: auto;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .prc-item__day {
        font-size: 32px;
        line-height: 1.41;
        letter-spacing: 0.5px;
        width: 50%;
        text-align: right;
        float: left;
        padding-right: 55px;
    }
    .prc-item__month {
        font-size: 14px;
        line-height: 1.71;
        letter-spacing: 0.2px;
        margin-bottom: 0;
        position: absolute;
        left: calc(50% + 86px / 2);
        transform: translateX(-50%);
    }
    .prc-item__time {
        position: absolute;
        left: initial;
        right: calc(50% - 86px / 2);
        top: 50%;
    }
    .prc-item__time, .prc-item__utc {
        float: left;
        font-size: 10px;
        line-height: 2;
        letter-spacing: 0.1px;
        position: absolute;
        left: calc(50% + 86px / 2);
        top: 50%;
        min-width: 48.5px;
    }
    .prc-item__col-right {
        width: 100%;
        padding: 20px 15px;
    }
    .prc-item h3 {
        margin-bottom: 18px;
    }
    .prc-item h3 a {
        font-size: 16px;
        line-height: 1.38;
        letter-spacing: 0.2px;
        min-height: auto;
        max-height: auto;
    }
    .prc-item__tt-name {
        font-size: 14px;
        line-height: 1.29;
        letter-spacing: 0.2px;
        margin-bottom: 4px;
    }
    .prc-item__tt-level {
        font-size: 12px;
        line-height: 1.36;
        letter-spacing: 0.1px;
        margin-bottom: 4px;
    }
    .prc-item__source {
        font-size: 12px;
    }
    
}

.live-lesson.-speaking .live-lesson__time-box {
    background-color: #FED6DE;
}

.-speaking .lesson-type {
    background-color: #c86478;
}

.-speaking:hover {
    border: 1px solid #c86478;
    box-shadow: 0px 1px 8px 0px #c86478;
}

.-writing:hover {
    border: 1px solid #faaa5a;
    box-shadow: 0px 1px 8px 0px #faaa5a;
}

.-writing .live-lesson__time-box {
    background-color: #FFEECE;
}

.-writing .lesson-type {
    background-color: #faaa5a;
}

.-reading .live-lesson__time-box {
    background-color: #CFEBD7;
}

.-reading .lesson-type {
    background-color: #327846;
}

.-reading:hover {
    border: 1px solid #327846;
    box-shadow: 0px 1px 8px 0px #327846;
}

.-listening .live-lesson__time-box {
    background-color: #CCFBFF;
}

.-listening .lesson-type {
    background-color: #32b4c8;
}

.-listening:hover {
    border: 1px solid #32b4c8;
    box-shadow: 0px 1px 8px 0px #32b4c8;
}

.prc-item.-speaking {
    background-color: #FED6DE;
}
.prc-item.-speaking .prc-item__lesson-type {
    background-color: #C76378;
}

.prc-item.-writing {
    background-color: #FFEECE;
}

.prc-item.-writing .prc-item__lesson-type {
    background-color: #F9A95A;
}

.prc-item.-listening {
    background-color: #CCFBFF;
}

.prc-item.-listening .prc-item__lesson-type {
    background-color: #32B4C8;
}

.prc-item.-reading {
    background-color: #CFEBD7;
}

.prc-item.-reading .prc-item__lesson-type {
    background-color: #37854D;
}
