
.courses-endpoint .page-intro,
.subjects-endpoint .page-intro {
    padding: 16px 0;
}
.courses-endpoint .page-intro .page-intro-image,
.subjects-endpoint .page-intro .page-intro-image {
    -ms-flex: 1 1 47.33%;
    flex: 1 1 47.33%;
    max-width: 47.33%;
}
.courses-endpoint .page-intro .page-intro-title,
.subjects-endpoint .page-intro .page-intro-title {
    margin: -5px 0 0.2em;
    font-size:40px;
}
.courses-endpoint .page-intro .page-intro-image img,
.subjects-endpoint .page-intro .page-intro-image img {
    width: 385px;
    margin: 10px 20px 15px 102px;
}
.courses-endpoint .page-intro .page-intro-lead p,
.subjects-endpoint .page-intro .page-intro-lead p {
    padding-left: 30px;
    font-weight: 400;
    margin-bottom: 8px;
    font-size: 19px;
    position: relative;
}
.courses-endpoint .page-intro .page-intro-lead p::before,
.subjects-endpoint .page-intro .page-intro-lead p::before {
    content: "\f147";
    color: #fad663;
    font-size: 43px;
    line-height: 26px;
    font-family: dashicons;
    position: absolute;
    left: -19px;
}
.courses-endpoint .intro-content,
.subjects-endpoint .intro-content {
    margin-left: 35px;
}
.teachers-intro .page-intro-image-under-title{
    display: none;
}

@media (min-width: 1050px) and (max-width: 1150px) {
    .courses-endpoint .page-intro .page-intro-image,
    .subjects-endpoint .page-intro .page-intro-image {
        -ms-flex: 1 1 50%;
        flex: 1 1 50%;
        max-width: 50%;
    }
}
@media (min-width: 950px) and (max-width: 1049px) {
    .courses-endpoint .page-intro .page-intro-image,
    .subjects-endpoint .page-intro .page-intro-image {
        -ms-flex: 1 1 51%;
        flex: 1 1 51%;
        max-width: 51%;
    }
    .courses-endpoint .page-intro .page-intro-image img,
    .subjects-endpoint .page-intro .page-intro-image img {
        margin: 10px 20px 15px 60px;
    }
}
@media (min-width: 768px) and (max-width: 949px) {
    .courses-endpoint .page-intro .page-intro-image,
    .subjects-endpoint .page-intro .page-intro-image {
        -ms-flex: 1 1 43%;
        flex: 1 1 43%;
        max-width: 43%;
    }
    .courses-endpoint .page-intro .page-intro-image img,
    .subjects-endpoint .page-intro .page-intro-image img {
        width: 37vw;
        margin: 10px 28px 15px 12%;
    }
    .courses-endpoint .page-intro .page-intro-title,
    .subjects-endpoint .page-intro .page-intro-title {
        font-size:30px;
    }
    .courses-endpoint .page-intro .page-intro-lead p,
    .subjects-endpoint .page-intro .page-intro-lead p {
        padding-left: 30px;
        margin-bottom: 6px;
        font-size: 17px;
    }
    .courses-endpoint .page-intro .page-intro-lead p::before,
    .subjects-endpoint .page-intro .page-intro-lead p::before {
        font-size: 34px;
        left: -8px;
    }
}
@media (max-width: 767px) {
    .courses-endpoint .page-intro .page-intro-lead p,
    .subjects-endpoint .page-intro .page-intro-lead p {
        margin-bottom: 9px;
        font-size: 17px;
    }
    .courses-endpoint .page-intro .page-intro-lead p::before,
    .subjects-endpoint .page-intro .page-intro-lead p::before {
        left: -6px;
        font-size: 33px;
    }
    .courses-endpoint .page-intro .page-intro-title,
    .subjects-endpoint .page-intro .page-intro-title {
        margin: -2px 0px 6px 0px;
        font-size: 28px;
    }
    .teachers-intro  .page-intro-image {
        display: none;
    }
    .teachers-intro .page-intro-image-under-title{
        display: block;
    }
}
@media (max-width: 500px) {
    .subjects-endpoint .intro-content {
        margin-left: 0px;
    }
}
@media (max-width: 399px) {
    .courses-endpoint .page-intro .page-intro-lead p::before,
    .subjects-endpoint .page-intro .page-intro-lead p::before {
        left: -2px;
        font-size: 29px;
        top: -3px;
    }
    .courses-endpoint .page-intro .page-intro-title,
    .subjects-endpoint .page-intro .page-intro-title {
        font-size: 22px;
    }
    .courses-endpoint .page-intro .page-intro-lead p,
    .subjects-endpoint .page-intro .page-intro-lead p {
        margin-bottom: 7px;
        font-size: 15px;
    }
}


.teachers-course-intro .wrap,
.subject-course-intro .wrap,
.teachers-category-intro .wrap,
.teachers-topic-intro .wrap {

    display: flex;
}

.category-tabs {
    margin-top:25px;
}
.category-tab {
    display:inline-block;
    padding: 11px 16px 10px 16px;
    margin-bottom: -1px;
    font-size: 13px;
    font-weight:500;
}
.category-tab::first-letter {
    text-transform: capitalize;
}
.active-category-tab {
    background:#f3f4f6;
    border:1px solid #e7e8ea;
    border-bottom: 0;
    pointer-events: none;
}
.category-background {
    background:#f3f4f6;
    border-top: 1px solid #e7e8ea;
}
.course-box {
    background:white;
    margin-top:30px;
    border:1px solid #e7e8ea;
    padding:23px;
}
.course-box:last-of-type {
    margin-bottom:30px;
}
.course-box-head {
    display: flex;
    flex-direction: row;
}
.course-box-head p {
    margin-top: 5px;
    margin-bottom: 8px;
}
.course-box-head h2 {
    margin-bottom: 5px;
    margin-top: 2px;
    font-size: 22px;
    line-height: 25px;
    float: left;
}
.course-right-part-head {
    flex:auto;
}
.see-more-button {
    float: right;
    /*background: #de9650;*/
    background: #fad663;
    padding: 12px 23px;
    font-size:15px;
    margin-left: 20px;
    color: #222;
    /*text-shadow: 1px 1px 3px #a76f39;*/
    border: 1px solid #ebc95c;
}
.see-more-button:hover {
    /*background: #efa258;*/
    background: #f1c94b;
    text-decoration: none;
    border: 1px solid #ebc95c;
}
.force-2-lines,
.force-two-lines,
.teacher-info p,
.course-unit-box p,
.teacher-box p,
.teacher-courses-unit-box p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.force-3-lines,
.force-three-lines{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.force-4-lines,
.force-four-lines{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
p.force-1-line,
p.force-1-line {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.course-details {
    float: right;
    line-height: 33px;
}
.course-image {
    background-size: contain;
    width: 78px;
    height: 78px;
    margin-right: 16px;
    margin-top: 5px;
    min-width: 78px;
    border-radius: 50%;
}
.course-box-body {
    display:flex;
    clear:both;
}
.course-left-box,
.course-right-box {
    width:50%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    /*justify-content: space-around;*/
}
.course-above-left,
.course-above-right,
.course-above-full {
    width: 100%;
    height: 30px;
    padding: 13px 0 0 0;
    font-size: 14px;
    color: gray;
}
.course-above-left {
    padding: 13px 25px 0 0;
}
.course-unit-box,
.teacher-box {
    width: 50%;
    min-height:80px;
    display: flex;
    float:left;
}
.teachers-endpoint .course-unit-box,
.teachers-endpoint .teacher-box {
    width: auto;
}
.course-full-box .teacher-box {
    width: 33.3%;
}
.course-full-box {
    width:100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*justify-content: space-around;*/
}
.teacher-box-with-description:hover,
a.course-unit-box:hover,
a.teacher-courses-unit-box:hover,
.teacher-box:hover {
    text-decoration: none;
    opacity: 0.7;
}
.teacher-box-with-description .teacher-box:hover {
    text-decoration: none;
    opacity: 1;
}
/*.course-unit-box img,
.teacher-box img*/
.teacher-image-div span {
    /*background: blue;*/
    width: 35px;
    height: 35px;
    position: absolute;
    bottom: 0px;
    right: 0px;
    border-radius: 50%;
    border: 1px solid white;
    overflow: hidden;
}
.teacher-image-div span img {
    /*height: 35px;*/
    width: 35px;
    min-height: 35px;
}
.course-right-box .teacher-image-div span,
.teacher-box-with-description .teacher-image-div span,
.only-teachers .teacher-image-div span {
    width: 25px;
    height: 25px;
    border-radius: 0;
    border: 0;
}
.course-right-box .teacher-image-div span img,
.teacher-box-with-description .teacher-image-div span img,
.only-teachers .teacher-image-div span img {
    /*height: auto;*/
    width: auto;
    min-height: auto;
}
.teacher-image-div .teacher-image-img {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-sizing: border-box;
}
.teacher-image-div {
    height: 60px;
    width: 60px;
    min-width: 60px;
    margin: 9px 13px 9px 0 !important;
    position: relative;
    float: left;
}
.course-unit-box div,
.teacher-info {
    margin: 12px 4px 12px 0;
}
.course-unit-box.all-units-box div  {
    margin: 4px 0px;
}
.course-unit-box p,
.teacher-box p {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
}
.teachers-endpoint .teacher-box {
    min-width: 168px;
}
.teachers-endpoint .teacher-box p {
    padding-right: 9px;
}
.course-unit-box .unit-time-box,
.teacher-box .teacher-name {
    font-weight: 500;
    line-height: 22px;
    font-size: 14px;
}
.float-left {
    float: left;
}
.float-right {
    float: right;
}
.course-learning-types{
    font-size:12px;
    color: gray;
    clear: both
}
.teacher-price-contain {
    font-size: 13px;
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
}
.teacher-price {
    /*background: #f0f0f0;*/
    color: #111;
    text-align: center;
    padding: 4px 3px;   /*
    margin-top: 13px;    */
    font-weight: 500;    /*
    margin-bottom: 6px;
    border: 1px solid #dedede;
    border-radius: 3px;      */
    width: 95px;
    font-size: 14px;
}
.teacher-price span {
    /*font-size: 11px;*/
}
.teacher-see-more {
    display: none;
    font-size: 11px;
    /*background: #efab69;*/
    background: #fad663;
    border: 1px solid #ebc95c;
    padding: 4px 3px;
    text-align: center;
    color: #111;
    border-radius: 3px;
    /* margin-right: 8px; */
}
.bold500 {
    font-weight:500;
}
.fontsize14 {
    font-size:14px;
}
.course-unit-box .unit-teacher {
    text-transform: capitalize;
}
.course-unit-circle {
    border-radius: 50%;
    background: #ccc;
    width: 11px;
    height: 11px;
    vertical-align: top;
    display: inline-block;
    margin-top: 5px;
    margin-right: 1px;
}
.course-unit-circle-gray {
    background: #fff;
    border: 1px solid #666;
}
.course-unit-circle-green {
    background: #44de44;
}
.course-unit-circle-orange {
    background: #F5821C;
}


.kab-new-platform .teacher-image-div {
    height: 60px;
    width: 60px;
    min-width: 60px;
    margin: 5px 13px 5px 0 !important;
}
/* credits show */
.teacher-box-with-description .teacher-image-div {
    height: 75px;
    width: 75px;
    min-width: 75px;
    margin: 5px 13px 18px 0 !important;
}

.kab-new-platform .teacher-info p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.kab-bold {
    font-weight: 500;
}
.kab-new-platform .teacher-info.no-open-price,
.kab-new-platform .teacher-info.no-reviews,
.kab-new-platform .teacher-info.no-reviews.has-open-price {
    margin: 8px 0px 10px 0px;
}


.kab-new-platform .teacher-info.has-open-price {
    margin: 0px;
}
/* credits hide
.kab-new-platform .teacher-info.has-open-price {
    margin: 12px 0px;
}   */
.kab-new-platform .teacher-info.no-open-price.no-reviews {
    margin: 16px 0px 10px 0px;
}

.kab-new-platform.teacher-box {
    min-height:83px;
}
.one-credit-price {
    font-size: 15px;
    float: right;
    margin-top: 6px;
}
.single-course-teacher-units .dashicons.dashicons-lightbulb,
.teacher-info .dashicons.dashicons-lightbulb {
    color: #f3d267;
    font-size: 12px;
    width: 13px;
    height: 11px;
    line-height: 16px;
}
.single-course-teacher-info.new-teacher,
.single-course-teacher-info.no-reviews-teacher {
    padding-top: 7px;
}


.teachers-course-intro div img,
.subject-course-intro div img,
.teachers-category-intro div img,
.teachers-topic-intro div img{
    /*height: 275px;
    margin: 0 0 27px 40px;*/
    width: 88px;
    height: 88px;
    margin: 0;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
}
.teachers-course-intro,
.subject-course-intro,
.teachers-category-intro,
.teachers-topic-intro {
    padding: 16px 0 18px 0;
    border-bottom: 1px solid #f2f2f2;
   /* border-top: 1px solid #f2f2f2;*/
}
.teachers-intro.page-intro {
    padding: 16px 0;
}
.teachers-intro .page-intro-image img {
    width: 86%;
    max-width: 290px;
    margin: 10px 0 5px 4%;
}
.teachers-intro.page-intro .page-intro-image {
    -ms-flex: 1 1 28%;
    flex: 1 1 28%;
    max-width: 28%;
}
.teachers-intro .intro-content {
    max-width: 72%;
}
.teachers-endpoint .page-intro-lead p {
    color: #111;
    margin-bottom: 11px;
    font-size: 16px;
}
.teachers-course-intro .intro-content,
.subject-course-intro .intro-content,
.teachers-category-intro .intro-content,
.teachers-topic-intro .intro-content {
    /*margin-top:-15px;*/
    max-width: 100%;
    width: 1089px;
    margin-left: 23px;
}
.teachers-endpoint .teacher-info {
    min-width: 142px;
}
.teachers-course-intro .page-intro-title,
.subject-course-intro .page-intro-title {
    line-height: 41px;
    font-size:36px;
}
.teachers-breadcrumbs,
.subject-breadcrumbs {
    color: #777;
    font-size: 15px;
    margin: 0 0 4px 2px;
}
.topic-subheading {
    font-size: 24px;
    line-height: 20px;
    margin-bottom: 20px;
    color: #458;
}
.subject-course-intro .page-intro-title,
.teachers-endpoint .page-intro-title {
    line-height: 35px;
    font-weight: 400;
    font-size: 30px;
    margin: 5px 0 10px 0;
}
.teachers-endpoint .page-intro-title {
    display: inline-block;
    margin: 0px 0 10px 0;
}
.teachers-topic-intro .see-more-top {
    float: right;
    line-height: 40px;
    padding-right: 5px;
}
.teachers-category-intro .intro-content,
.subject-course-intro .intro-content,
.teachers-course-intro .intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.teachers-category-intro .page-intro-title,
.subject-course-intro .page-intro-title,
.teachers-course-intro .page-intro-title {
    margin: 0;
}
.teachers-endpoint .topic-subheading {
    line-height: 16px;
    font-size: 22px;
}
.wrap.wrap-description p,
.course-box.bottom-description p {
    margin-bottom: 13px;
}
.wrap.wrap-description {
    margin-top:17px;
    color:#222;
    display: block;
}
.teacher-background {
    background:#f3f4f6;
    padding: 35px 0 0 0;
}
.subject-course-intro .contain-intro-img,
.teachers-course-intro .contain-intro-img,
.teachers-category-intro .contain-intro-img,
.teachers-topic-intro .contain-intro-img {
    min-width: 88px;
}

.see-more-button-mobile,
.course-description-mobile,
.course-details br,
.category-tabs-mobile/*,
.teachers-endpoint .page-intro-title-mobile*/ {
    display: none;
}
.teacher-provedeni-small {
    display: none;
}

/* new course box no description for teachers */
.teachers-course-box.course-box .course-image {
    width: 50px;
    height: 50px;
    margin-top: 5px;
    min-width: 50px;
}
.teachers-course-box.course-box .course-box-head {
    padding-bottom: 11px;
    border-bottom: 1px solid #eeeeee;
}
.teachers-course-box.course-box .course-box-head h2 {
    line-height: 24px;
    margin-top: 8px;
    margin-bottom: 20px;
}
.teachers-course-box.course-box .course-details {
    float: left;
    line-height: 18px;
    clear: both;
    margin-top: -17px;
}
.teachers-course-box .course-box-body {
    margin-top: 5px;
}
.teachers-course-box .see-more-link {
    float: right;
    margin-top: 19px;
    margin-right: 25px;
    font-size: 16px;
}
.teachers-units-icon,
.teachers-reviews-icon {
    margin-right:2px;
}


.single-post .upcoming-units-main-shortcode .course-unit-box:nth-of-type(7),
.single-post .upcoming-units-main-shortcode .course-unit-box:nth-of-type(8),
.single-post .upcoming-units-main-shortcode .course-unit-box:nth-of-type(9),
.single-post .upcoming-units-main-shortcode .course-unit-box:nth-of-type(10),
.single-post .upcoming-units-main-shortcode .course-unit-box:nth-of-type(11),
.single-post .upcoming-units-main-shortcode .course-unit-box:nth-of-type(12){
    display:none;
}
.single-post .upcoming-units-main-shortcode .course-unit-box:nth-of-type(6){
    border-bottom:0;
}

.single-course .course-box-body {
    margin-bottom: 20px;
}
.single-course .course-unit-box,
.single-post .course-unit-box {
    width: 33%;
}
@media (min-width: 1100px) {
    .single-post .kabinata-code-class-all .course-unit-box {
        width: 33%;
    }
}



@media (min-width: 768px) {
    .teacher-courses-box .teacher-course-image {
        height: 30px;
        width: 30px;
        margin: -2px 11px 0 0;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .teachers-intro .page-intro-image img {
        width: 86%;
        max-width: 260px;
        margin: 5px 0 10px 5%;
    }
    .teachers-intro.page-intro .page-intro-image {
        -ms-flex: 1 1 28%;
        flex: 1 1 28%;
        max-width: 28%;
    }
    .teachers-intro .intro-content {
        max-width: 75%;
    }
    .teachers-intro .page-intro-title {
        line-height: 30px;
        font-size: 25px;
        margin: 5px 0 10px 0;
    }
    .teachers-intro.page-intro .page-intro-lead {
        font-size: 18px;
        font-weight: 300;
    }
    .teachers-intro .page-intro-lead p {
        margin-bottom: 7px;
        font-size: 14px;
    }  /*
    .teachers-intro .page-intro-lead p.bold500 {
        display:none;
    }*/
}
@media (min-width: 930px) and (max-width: 1023px) {
    .teachers-intro .page-intro-image img {
        width: 84%;
        max-width: 270px;
        margin: 5px 0 10px 3%;
    }
}
@media (min-width:651px) and (max-width:700px) {
    .teachers-course-box.course-box .course-box-head h2 {
        max-width: 330px;
    }
}
@media (min-width:701px) and (max-width:800px) {
    .teachers-course-box.course-box .course-box-head h2 {
        max-width: 380px;
    }
}
@media (min-width:801px) and (max-width:900px) {
    .teachers-course-box.course-box .course-box-head h2 {
        max-width: 480px;
    }
}
@media (max-width:650px) {
    .course-box-head h2 {
        font-size:20px;
    }
    .teachers-course-box .see-more-link {
        display: none;
    }
    .teachers-course-box.course-box .course-box-head h2 {
        line-height: 24px;
        margin-bottom:20px;
        margin-top:4px;
    }
    .teachers-course-box.course-box .course-image {
        margin-top: 0px;
    }
    .one-credit-price {
        float: none;
        margin-top: 6px;
        margin-bottom: -6px;
        display:block;
    }
    .see-more-button {
        padding: 12px 19px;
    }
    .teachers-topic-intro .see-more-top {
        line-height: 20px;
    }
    .course-details a.kab-default-link {
        display:block;
    }

}
@media (max-width:440px) {
    .teachers-course-box.course-box .course-box-head h2 {
        font-size:20px;
    }
}
@media (max-width:375px) {
    .teachers-course-box.course-box .course-box-head h2 {
        line-height: 20px;
        margin-top:1px;
        font-size:17px;
    }
    .teachers-course-box.course-box .course-image {
        width:40px;
        height:40px;
        min-width:40px;
        margin-right: 5px;
    }
}


/* TEMPPPPPPPPPPPPPPPPPP */
.teacher-image-div .teacher-image-img,
.teacher-profile-image img {
    display:none;
}
.teacher-image-div,
.teacher-profile-image {
    background-size: cover;
    background-position: top center;
    border-radius: 50%;
}
.teacher-profile-image {
    position: relative;
}

.wrap.promotion-teacher-profile p:last-child{
    margin-bottom: 0;
}
.wrap.promotion-teacher-profile p{
    margin-bottom: 10px;
}
.wrap.promotion-teacher-profile a{
    text-decoration: underline;
}
.wrap.promotion-teacher-profile a:hover{
    color: #458;
}
.wrap.promotion-teacher-profile {
    padding: 10px 15px;
    background: #e5effc;
    max-width: 1200px;
    width: calc(100% - 40px);
    margin-bottom: 15px;
    text-align: center;
    margin-top: -7px;
}


.subjects-course-box.no-course-box .see-more-button {
    margin-top: 9px;
}
.subjects-course-box.no-course-box .course-box-head h2 {
    margin-top: 2px;
}
.subjects-course-box.no-course-box .course-details {
    float: left;
    clear: both;
    margin-top: -19px;
    line-height: 22px;
}
.subjects-course-box.no-course-box .course-image {
    width: 47px;
    height: 47px;
    min-width: 47px;
}
.subjects-course-box.no-course-box .course-full-box .teacher-box,
.subject-page .course-full-box .teacher-box,
.subject-page .course-unit-box {
    width: 25%;
}
.subject-page div.course-details {
    line-height: 29px;
    float:left;
    clear: left;
    font-weight:400;
}
.subject-page .see-more-button {
    margin-top: 7px;
}
.subject-page .subject-register-div .see-more-button,
.teachers-register-div .see-more-button {
    margin: 0 8px;
    float: none;
    display: inline-block;
}
.subject-page .subject-register-div,
.teachers-register-div {
    text-align: center;
    margin-bottom: 30px;
}
.subject-page .subject-register-title,
.teachers-register-title {
    text-align: center;
    margin-top: 30px;
}
.subject-page .course-above-full {
    clear: both;
    float: left;
    margin-top: -5px;
}
.subject-course-box h2 {
    margin:0;
    float:left;
}
.see-more-secondary,
.see-more-secondary:visited {
    background:#fff;
    color:#111;
    border: 1px solid #ddd;
}
.see-more-secondary:hover {
    background:#fefefe;
    color:#111;
    border: 1px solid #ccc;
}
.teacher-box-with-description {
    width: 33.3%;
    padding: 5px 33px 20px 1%;
}
.teacher-box-with-description .teacher-box {
    width: 100% !important;
    padding-left:0;
}
.teacher-box-description {
    float: left;
    margin-top:-3px;
}



.upcoming-full-section-title:before {
    margin-left: -50%;
}
.upcoming-full-section-title:before,
.upcoming-full-section-title:after {
    position: absolute;
    top: 51%;
    overflow: hidden;
    width: 50%;
    height: 1px;
    content: '\a0';
    background-color: #ececec;
}
.upcoming-full-section-title {
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #fff;
}
.upcoming-full-section-title-inner {
    background: #fff;
    padding: 0 10px;
}
.left-fix-border,
.right-fix-border {
    width: 1px;
    display: inline-block;
    position: absolute;
    height: 9px;
    background: #ececec;
    z-index: 5;
    bottom: 0px;
}
.left-fix-border {
    left: 0px;
}
.right-fix-border {
    right: 0px;
}
.see-more-teachers-mobile {
    display:none;
}
.more-units-blog {
    font-size: 15px;
    font-weight: 400;
    float: right;
    line-height: 26px;
}
.more-units-blog-after {
    text-align:center;
    display: none;
}

@media (min-width:768px) and (max-width:1023px) {
    .subject-page .course-unit-box,
    .subject-page .course-full-box .teacher-box {
        width: 33.3%;
    }
}
@media (min-width:551px) and (max-width:767px) {
    .subject-page .course-unit-box,
    .subject-page .course-full-box .teacher-box {
        width: 50%;
    }
}
@media (max-width:900px) {
    .subjects-course-box.no-course-box .course-full-box .teacher-box {
        width: 50%;
    }
}
@media (max-width:550px) {
    .subjects-course-box.no-course-box .course-full-box .teacher-box {
        width: 100%;
    }
    .subject-page .course-details .homeworks-count,
    .subjects-course-box.no-course-box .course-full-box .teacher-box:nth-of-type(4) {
        display: none;
    }
    .subject-page .course-full-box .teacher-box {
        width: 100%;
    }
    .subject-page .course-box h2 {
        font-size:20px;
    }
    .subject-course-box .course-above-full .float-left,
    .subject-course-box .course-above-full .float-right,
    .course-above-left .float-left,
    .course-above-left .float-right {
        float: none;
    }
    .subject-course-box .course-above-full .float-right,
    .course-above-left .float-right {
        margin: 5px 0 5px 0;
    }
    .subject-course-box .course-above-full,
    .course-above-left {
        height: auto;
    }
}



@media (min-width:1100px) {
    .teachers-endpoint .teacher-info {
        min-width: 150px;
    }
    .course-full-box .teacher-box {
        padding-left: 1%;
    }

}
@media (min-width:1000px) and (max-width:1030px) {
    .teachers-endpoint .teacher-image-div {
        margin: 9px 7px 9px 0 !important;
    }

}




@media (min-width:1024px) and (max-width:1100px) {
    .subjects-endpoint .hide-v-kursa,
    .subject-course-box .hide-v-kursa,
    .courses-endpoint .hide-v-kursa {
        display:none;
    }
}
@media (min-width:1000px) and (max-width:1279px) {
    .teachers-endpoint .course-full-box .teacher-box-with-description,
    .teachers-endpoint .course-full-box .teacher-box {
        width: 33.33%;
    }
}
@media (min-width:690px) and (max-width:999px) {
    .teachers-endpoint .course-full-box .teacher-box-with-description,
    .teachers-endpoint .course-full-box .teacher-box {
        width: 50%;
    }
}
@media (min-width:690px) and (max-width:720px) {
    .teachers-endpoint .teacher-info {
        min-width: 142px;
    }
}
@media (max-width:689px) {
    .teachers-endpoint .course-full-box .teacher-box-with-description,
    .teachers-endpoint .course-full-box .teacher-box {
        width: 100%;
        border-bottom: 1px solid #ddd;
    }
    .teachers-endpoint .course-full-box .teacher-box-with-description{
        padding-top:12px;
    }
    .teachers-endpoint .course-full-box .teacher-box-with-description {
        padding-right:1%;
    }
    .teachers-endpoint .course-full-box .teacher-box-with-description .teacher-box,
    .teachers-endpoint .course-full-box .teacher-box:last-of-type {
        border-bottom: 0;
    }
    .teachers-endpoint .teacher-info {
        flex: auto;
    }
    .teachers-endpoint .course-full-box .teacher-box {
        display: flex;
    }
    .teachers-endpoint .teacher-see-more,
    .teachers-endpoint .teacher-price {
        margin-right: 0;
    }
    .teacher-box-with-description.kab-hide-mobile {
        display: none;
    }
    .see-more-teachers-mobile {
        background: #fad663;
        padding: 8px 23px;
        font-size:15px;
        color: #222;
        display:block;
        margin-top:11px;
        margin-bottom:3px;
        text-align:center;
        border: 1px solid #ebc95c;
    }
}
@media (min-width:375px) and (max-width:385px) {
    .teachers-endpoint .teacher-see-more,
    .teachers-endpoint .teacher-price {
        margin-right: 10px;
    }
}
@media (max-width:374px) {
    .teachers-endpoint .course-box {
        padding:19px;
    }
}

@media (max-width:1279px) {
    .active-category-tab {
        border-bottom: 1px solid #e7e8ea;
    }
    .category-tab {
        margin-bottom: 5px;
    }
    .category-tabs {
        margin-bottom: 20px;
    }
}
@media (max-width:1023px) {
    .subjects-endpoint .course-left-box,
    .subjects-endpoint .course-right-box,
    .courses-endpoint .course-left-box,
    .courses-endpoint .course-right-box {
        width: 100%;
        display: flex;
        margin-top: 10px;
    }
    .courses-endpoint .course-box-body,
    .subjects-endpoint .course-box-body {
        display: block;
    }
    .courses-endpoint .course-above-left,
    .subjects-endpoint .course-above-left {
        padding: 13px 0 0 0;
    }
    .teachers-intro .page-intro-image {
        max-width: 40%;
    }
}
@media (max-width:950px) {
    .course-details {
        float: none;
        line-height: 20px;
        clear: both;
    }
}
@media (max-width:767px) {
    .course-right-part-head {
        font-size:14px;
    }
    .teachers-intro .intro-content {
        max-width: 100%;
        margin-left: 10px;
    }
    .teachers-intro .page-intro-title {
        line-height: 29px;
        font-weight: 400;
        font-size: 24px;
        margin: 0px 0 10px 0;
    }      /*
    .teachers-intro .page-intro-lead p.bold500 {
        display: none;
    }  */
    .teachers-intro .page-intro-lead p {
        margin-bottom: 8px;
        font-size: 15px;
    }
}
@media (max-width:650px) {
    .see-more-button-mobile {
        /*background: #de9650;*/
        background: #fad663;
        padding: 8px 23px;
        font-size:15px;
        color: #222;
        /*text-shadow: 1px 1px 3px #a76f39;*/
        display:block;
        margin-top:11px;
        margin-bottom:3px;
        text-align:center;
        border: 1px solid #ebc95c;
    }
    .see-more-button-mobile,
    .course-description-mobile,
    .courses-endpoint .course-details br,
    .more-units-blog-after {
        display: block;
    }
    .course-description-mobile {
        margin-top:10px;
        margin-bottom:2px;
    }
    .see-more-blue-link-group,
    .course-box .see-more-button,
    .course-box .course-description,
    .courses-endpoint .course-details span,
    .course-learning-types,
    .more-units-blog {
        display: none;
    }
    .teachers-endpoint .course-details {
        float: left;
        line-height: 24px;
    }
    .teachers-endpoint .course-box-head h2 {
        line-height: 24px;
        margin-top:7px;
    }
    .category-tabs .wrap {
        text-align: center;
    }
    .category-tab {
        display: inline-block;
        padding: 5px 6px 4px 6px;
        font-size: 12px;
        font-weight: 400;
    }
     /*
    .category-tabs {
        display:none;
    }
    .category-tabs-mobile {
        display:block;
    }
    .category-tabs-mobile select {
        width: 98%;
        margin: 25px auto;
        height: 34px;
        border: 1px solid #e7e8ea;
        background: #f3f4f5;
        font-weight: 500;
        font-size: 14px;
        padding: 0 0 0 5px;
        font-family: 'Roboto', Arial, sans-serif;
    }
    .category-tabs-mobile .wrap {
        text-align: center;
    }      */

    .subject-course-intro .page-intro-title,
    .teachers-course-intro .page-intro-title,
    .teachers-category-intro .page-intro-title,
    .teachers-topic-intro .page-intro-title {
        line-height: 32px;
        font-size: 25px;
        margin: 3px 0;
        font-weight: 400;
    }
    .teachers-breadcrumbs,
    .topic-subheading {
        display: none;
    }
    .subject-course-intro .intro-content,
    .teachers-course-intro .intro-content,
    .teachers-category-intro .intro-content,
    .teachers-topic-intro .intro-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .teachers-course-intro,
    .subject-course-intro,
    .teachers-category-intro,
    .teachers-topic-intro {
        padding: 20px 0 20px 0;
    }
    .subjects-units-text {
        display: block;
        line-height: 22px;
    }
    .subjects-course-box .course-image,
    .subjects-course-box.no-course-box .course-image {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }
    .subjects-course-box.no-course-box .course-details {
        margin-top:0;
    }

}
@media (max-width:550px) {
    .subjects-endpoint .hide-v-kursa,
    .subject-course-box .hide-v-kursa,
    .courses-endpoint .hide-v-kursa,
    .subjects-endpoint .course-right-box .teacher-box:nth-of-type(4),
    .courses-endpoint .course-right-box .teacher-box:nth-of-type(4),
    .subjects-endpoint .course-left-box .course-unit-box:nth-of-type(5),   /* 5th because it does not work per class and there is another div above */
    .courses-endpoint .course-left-box .course-unit-box:nth-of-type(5)/*,*/   /* 5th because it does not work per class and there is another div above */
    /*.category-tabs*/ {
        display:none;
    }
    .subjects-endpoint .course-unit-box,
    .courses-endpoint .course-unit-box,
    .subjects-endpoint .teacher-box,
    .courses-endpoint .teacher-box {
        width: 100%;
        border-bottom: 1px solid #ddd;
    }
    .subjects-page .course-unit-box:nth-of-type(4),
    .courses-endpoint .course-unit-box:nth-of-type(4),
    .subjects-page .teacher-box:nth-of-type(3),
    .courses-endpoint .teacher-box:nth-of-type(3) {
        border-bottom: 0;
    }
    .subject-course-intro div img,
    .teachers-course-intro div img,
    .teachers-category-intro div img,
    .teachers-topic-intro div img{
        width: 70px;
        height: 70px;
    }
    .subject-course-intro .contain-intro-img,
    .teachers-course-intro .contain-intro-img,
    .teachers-category-intro .contain-intro-img,
    .teachers-topic-intro .contain-intro-img {
        min-width: 70px;
    }
    .subject-course-intro .intro-content,
    .teachers-course-intro .intro-content,
    .teachers-category-intro .intro-content,
    .teachers-topic-intro .intro-content {
        margin-left: 12px;
    }
    .subject-course-intro .page-intro-title,
    .teachers-course-intro .page-intro-title,
    .teachers-category-intro .page-intro-title,
    .teachers-topic-intro .page-intro-title {
        line-height: 23px;
        font-size: 19px;
        font-weight: 400;
    }
    .teacher-courses-body .course-above-full .float-right {
        display:none;
    }
}
@media (max-width:450px) {
    .courses-endpoint .course-image {
        background-size: contain;
        width: 55px;
        height: 55px;
        margin-right: 10px;
        margin-top: 5px;
        min-width: 55px;
        border-radius: 50%;
    }
    .courses-endpoint .course-box-head h2 {
        margin-bottom: 3px;
        font-size: 18px;
        line-height: 21px;
        float: left;
    }
    .courses-endpoint .course-learning-types {
        display:none;
    }
    .courses-endpoint .intro-content {
        margin-left: 5px;
    }
}
@media (max-width:399px) {
    .teachers-endpoint .teacher-info {

        min-width: 100px;
    }
    .teacher-image-div {
        min-width:60px;
    }
    .teacher-provedeni-small {
        display:inline-block;
    }
    .teacher-provedeni-big {
        display: none;
    }

}


/* FOR TEACHER PROFILE  PAGE */
.teacher-profile-box {

}
.teacher-box-head {
    display: flex;
    flex-direction: row;
}


/* hide credits  */ 
.teacher-profile-image {
    height: 60px;
    width: 60px;
    margin-right: 20px;
    flex: 0 0 auto;
}
/* show credit
.teacher-profile-image {
    height: 85px;
    width: 85px;
    margin-right: 20px;
    flex: 0 0 auto;
}    */
/* show credit
.teacher-profile-middle.kab-open-unit {
    margin-top:-4px;
}         */


.teacher-profile-right {
    width: 570px;
}
.teacher-profile-middle {
    width: 525px;
}
.teacher-profile-middle h2,
.teacher-profile-middle>div {
    float: left;
    clear:both;
}
.teacher-profile-middle>div {
    margin-top:3px;
    margin-bottom:2px;
    font-size: 15px;
}

.teacher-profile-middle.kab-open-unit>div {
    font-size: 14px;
}
.teacher-profile-middle.kab-open-unit h2 {
    margin-bottom: 0;
    margin-top: 5px;
}

.teacher-profile-middle h2 {
    margin-bottom: 0px;
    margin-top: 5px;
}
.teacher-profile-details {
    float: right;
    line-height: 41px;
}
.teacher-profile-right>div,
.teacher-profile-right .teacher-save-button {
    float: right;
    clear:both;
}
.teacher-profile-right .teacher-save-button {
    /*background: #de9650;*/
    background: #fad663;
    padding: 10px 21px;
    font-size: 15px;
    margin-left: 20px;
    color: #222;
    /*text-shadow: 1px 1px 3px #a76f39;*/
    border: 1px solid #ebc95c;
}
.teacher-profile-right .teacher-save-button:hover {
    background: #f1c94b;
    text-decoration:none;
}
.teacher-profile-price {
    font-size: 13px;
    margin-bottom:7px;
}
.wrap-teacher-texts p{
margin-top: 8px;
    margin-bottom: 11px;
}
.wrap-teacher-texts b{
    font-weight: 500;
}
.teacher-profile-box .kabina-icon-teacher-contain {
    position: absolute;
    bottom: -2px;
    right: -2px;
}
.teacher-profile-box .kabina-icon-teacher-desktop {
    width: 25px;
    display: block;
}
.teacher-profile-box .kabina-icon-teacher-mobile {
    display: none;
}
.wrap-teacher-texts {
    margin-top:22px;
}
.teacher-private-box,
.teacher-courses-box,
.teacher-types-box,
.teacher-reviews-box {
    background: #fff;
    padding: 25px;
    border: 1px solid #e7e8ea;
}
.teacher-courses-box,
.teacher-types-box {
    margin-top:30px;
}
.teacher-types-box p {
    font-style: italic;
    margin-top: 14px;
}
.teacher-private-head,
.teacher-courses-head {
    display: flex;
    flex-direction: row;
}
.teacher-courses-head {
    position:relative;
}
.teacher-course-image {
    height: 45px;
    width: 45px;
    margin: 0px 11px 0 0;
    flex:0 0 auto;
}
.teacher-private-head .teacher-course-image {
    height: 20px !important;
    width: 20px !important;
    margin: -2px 6px 0 0 !important;     
    flex: 0 0 auto;
}
.teacher-private-box .teacher-course-image {
    height: 30px;
    width: 30px;
    margin: -3px 8px 0 0;
}
.teacher-private-middle {
    flex: 1 1 auto;
}
.teacher-private-middle h2{
    font-size: 15px;
}
.teacher-private-middle h2 span a{
    font-size: 14px;
}
.teacher-private-middle h2 span{
    font-weight: 400;
}
.teacher-private-middle h2,
.teacher-courses-middle h2 {
    margin-bottom: 2px;
    float: left;
    clear:both;
}
.teacher-private-middle div,
.teacher-courses-middle div {
    /*color: gray;*/
    margin: 0 0 5px 0;
    float: left;
    clear:both;
}
.teacher-private-middle p,
.teacher-courses-middle p {
    clear: both;
}
.teacher-courses-middle p {
    padding-top:3px;
}
.teacher-private-right{
    width: 152px;
    flex:0 0 auto;
    padding: 7px 0 0 0;
}
.teacher-courses-right {
    width: 240px;
    flex:0 0 auto;
}
.teacher-courses-right {
    /*width: 170px;*/
    height: 47px;
    position: absolute;
    top: 1px;
    right: 1px;
}
.teacher-private-right>div,
.teacher-courses-right>div {
    float: right;
    clear:both;
}
.teacher-private-details {
    font-size: 13px;
}
.teacher-private-details,
.teacher-courses-details {
    float: right;
    line-height: 30px;
}
.teacher-private-price {
    font-size: 13px;
    margin-bottom:7px;
}
.teacher-private-save-button,
.teacher-courses-button {
    /*background: #de9650;*/
    background: #fad663;
    float: right;
    clear:both;
    padding: 10px 21px;
    font-size: 15px;
    margin-left: 20px;
    color: #222;
    /*text-shadow: 1px 1px 3px #a76f39;*/
    border: 1px solid #ebc95c;
}
.teacher-courses-button {
    margin-top:4px;
}
.teacher-gray-line-small {
    line-height: 1px;
    background: #e7e8ea;
    margin: 13px 0;
    clear: both;
}
.teacher-invisible-line-small {
    line-height: 1px;
    margin: 3px 0;
    clear: both;
}
.teacher-gray-line {
    line-height: 1px;
    background: #e7e8ea;
    margin: 20px 0;
    clear: both;
}
.teacher-private-title,
.teacher-courses-title,
.teacher-types-title,
.teacher-reviews-title {
    margin: -4px 0 -9px 0;
}
.teacher-courses-body {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.teacher-courses-unit-box {
    width: 25%;
    min-height: 80px;
    display: flex;
    float: left;
}
.teacher-courses-unit-box div {
    margin: 12px 0px;
}
.teacher-courses-unit-box .teacher-image-div {
    height: 60px;
    width: 60px;
    min-width: 60px;
    margin: 9px 9px 9px 0;
    float: left;
}
.teacher-courses-unit-box .unit-teacher {
    text-transform: capitalize;
}
.teacher-courses-unit-box .unit-time-box {
    font-weight: 500;
    line-height: 22px;
    font-size: 14px;
}
.teacher-courses-unit-box p {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
}

.teacher-types-table th,
.teacher-types-table td {
    padding: 9px 14px;
}
.teacher-types-table th {
    font-weight: 500;
    font-size: 15px;
    text-align: left;
}
.teacher-types-table th {
    font-weight: 500;
    font-size: 18px;
    text-align: left;
    background: #fbf095;
}
.teacher-types-table th:last-of-type {
    background: #fbe095;
}
.teacher-types-table-mobile-1 th:last-of-type {
    background: #fbf095;
}
.teacher-types-table th:first-of-type {
    background: #fff8bc;
}
.teacher-types-table-mobile th:first-of-type {
    background: #fbe095;
}
.teacher-types-table-mobile-1 th:first-of-type {
    background: #fbf095;
}
.teacher-types-table tr td:first-of-type {
    font-weight: 500;
    text-align: right;
}
.teacher-types-table tr:nth-child(odd) td:first-of-type {
    background: #dce7f4;
}
.teacher-types-table tr:nth-child(even) td:first-of-type {
    background: #e5effc;
}
.teacher-types-table tr:nth-child(odd) td:last-of-type {
    background: #f7efde;
}
.teacher-types-table tr:nth-child(even) td:last-of-type {
    background: #fff7e7;
}
.teacher-types-table tr th:first-of-type {
    /*background: transparent;*/
}
.teacher-types-table {
    font-size:110%;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
}
.teacher-types-table tr:nth-child(even),
.teacher-types-table-mobile-1 tr:nth-child(even) td:last-of-type {
    background: #fbfbfb;
}
.teacher-types-table tr:nth-child(odd),
.teacher-types-table-mobile-1 tr:nth-child(odd) td:last-of-type {
    background: #f3f4f6;
}
.teacher-types-table a {
    color: #458;
    font-weight: 500;
}

.review-contain {
    display: flex;
    flex-direction: row;
    margin-top:17px;
}
.review-contain.hide-review {
    display: none;
}
.review-contain:first-of-type {
    margin-top:0px;
}
.teacher-show-all-reviews {
    display: block;
    text-align: center;
    margin-top: 18px;
}
.review-avatar {
    width: 88px;
    height:88px;
    display: none;
    flex: 0 0 auto;
    margin-right: 12px;
}
.review-opinion {
    background: #eaebed;
    padding: 16px;
    flex: auto;
}
.teacher-stats-icon {
    margin-top: 12px;
    margin-right: 4px;
}
.review-user-name {
    text-align: right;
    margin-top: 7px;
}
.review-star-span {
    float:left;
    margin-right:10px;
}
.teacher-private-mobile-description,
.teacher-private-mobile-topics,
.teacher-types-table-mobile,
.teacher-course-mobile-description,
.teacher-courses-details-mobile {
    display: none;
}

.see-full-schedule-mobile-link {
    display: none;
    text-align: center;
    width: 100%;
    padding: 7px;
    color: #444;
    border: 1px solid #ddd;
    margin-top: 7px;
    background: #fff8bc;
}
.kabinata-write-to-teacher .dashicons {
    margin-left: -3px;
}
.kabinata-write-to-teacher {
    color: #427fed;
    font-weight: 500;
}

.kabinata-login-notice {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 99999999;
    background: rgba(0,0,0,0.4);
}
.kabinata-login-notice-top {
    width: 90%;
    background: #fff;
    height: auto;
    max-width: 600px;
    box-shadow: 0px 0px 7px #555;
}
.kabinata-login-notice-h2 {
    background: #f5f3bb;
    margin: 0;
    padding: 15px 20px;
    display: table;
    width: 100%;
    line-height: 26px;
}
.kabinata-login-notice-h2 .notice-login-title-span {
    display: table-cell;
    line-height: 24px;
    vertical-align: middle;
}
.kabinata-login-notice-middle {
    padding: 18px 25px 19px 25px;
    font-size: 110%;
}
.kabinata-login-notice-bottom {
    background: #eee;
    padding: 13px 25px 16px;
    display: inline-block;
    width: 100%;
    margin-bottom: -8px;
}
.kabinata-login-close {
    float: left;
    margin-left: 0;
    padding: 6px 13px;
    background: #fff;
    border: 1px solid #ddd;
}
.kabinata-login-login {
    padding: 6px 13px;
    float: right;
    background: #fff;
    border: 1px solid #ddd;
    margin-left: 15px;
}
.kabinata-login-signup {
    padding: 6px 13px;
    background: #fff;
    /*border: 1px solid #cf8b49;*/
    border: 1px solid #ebc95c;
    margin-left: 15px;
    /*background: #efab69;*/
    background: #fad663;
    float: right;
}
.kabinata-login-login:hover,
.kabinata-login-close:hover,
.kabinata-login-signup:hover {
    text-decoration: none;
    box-shadow: 0px 0px 5px #bbb;
}
.teacher-lesson-types {
    background: #fffeed;
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    padding: 25px;
    border: 1px solid #e7e8ea;
}
.teacher-lesson-types .dashicons.dashicons-editor-help {
    position: absolute;
    bottom: -26px;
    right: -46px;
    width: 200px;
    height: 200px;
    font-size: 201px;
    line-height: 200px;
    opacity: 0.045;
    z-index: 1;
}
.teacher-lesson-types b {
    font-weight: 500;
}
.teacher-lesson-types p {
    margin-bottom:12px;
}
.teacher-lesson-types p:last-of-type {
    margin-bottom:0px;
}
              /*
.subjects-endpoint .course-details {
    font-weight: 500;
}*/

.upcoming-full-units-shortcode {
    padding: 14px 20px;
    border: 1px solid #ececec;
}
.upcoming-full-units-shortcode .course-unit-box {
    width:25%;
}

@media (max-width:550px) {
    .see-full-schedule-mobile-link {
        display: block;
    }
}
@media (max-width:900px) {
    .teacher-homeworks-hide {
        display:none;
    }

}
@media (max-width:700px) {
    .teacher-box-head {
        display: block;
    }
    .teacher-profile-image {
        display: inline-block;
        float: left;
    }
    .teacher-profile-middle {
        width: auto;
        display: inline-block;
    }
    .teacher-profile-right {
        width: 100%;
        display: inline-block;
        border-top: 1px solid #ccbeb1;
        padding-top: 8px;
        margin-top: 15px;
    }
    .teacher-profile-details {
        float: left !important;
    }
    .teacher-profile-price {
        clear: none !important;
        line-height: 30px;
        margin-bottom: 0 !important;
    }
    .teacher-profile-right .teacher-save-button {
        clear: right;
        width: 100%;
        text-align: center;
        margin-top: 4px;
        margin-left: 0px;
    }
    .wrap-teacher-texts {
        margin-top: 16px;
    }

}

@media (max-width:767px) {  /*
    .teacher-private-middle {
        justify-content: center;
        flex-direction: column;
        display: flex;
        min-height: 60px;
    }                   */
    .teacher-course-image {
        width: 60px;
        height: 60px;
        display: inline-block;
        float: left;
        margin: 0px 16px 0 0;
    }
    .teacher-private-middle h2,
    .teacher-private-middle h2 span a{
        font-size: 13px;
    }
    /*
    .teacher-private-right {
        display: block;
        width: 100%;
        clear: both;
    }
    .teacher-private-details,
    .teacher-private-price,
    .teacher-private-middle p{
        display: none;
    }
    .teacher-private-middle div {
        margin:0;
        line-height: 19px;
    }
    .teacher-private-details {
        float: left !important;
    }
    .teacher-private-right>div {
        clear: none;
    }
    .teacher-private-price {
        clear: none;
        line-height: 30px;
        margin-bottom: 0;
    }
    .teacher-private-save-button {
        float: none;
        width: 100%;
        display: none;
        margin: 0;
        text-align: center;
    }
    .teacher-private-head {
        display: block;
    }
    .teacher-private-mobile-description {
        display: block;
        margin: 10px 0 5px 0;
        clear: both;
    }                */
    .teacher-courses-box .teacher-courses-head {
        display: block;
    }
    .teacher-courses-box .teacher-courses-middle {
        justify-content: center;
        flex-direction: column;
        display: flex;
        min-height: 60px;
    }
    .teacher-courses-box .teacher-courses-middle p,
    .teacher-courses-box .teacher-courses-details {
        display: none;
    }
    .teacher-courses-box .teacher-courses-right {
        width: auto;
        height: auto;
        position: initial;
    }
    .teacher-courses-box .teacher-courses-button {
        float: none;
        width: 100%;
        display: block;
        margin: 0;
        text-align: center;
        margin-top: 10px;
    }
    .teacher-course-mobile-description {
        display: inline-block;
        margin-top:10px;
    }
    .teacher-courses-details-mobile {
        display: block;
    }

}
@media (min-width:701px) and (max-width:800px) {
    .teacher-reviews-link {
        display: block;
        line-height: 14px;
        margin-bottom: 10px;
    }
    .teacher-reviews-icon.teacher-stats-icon {
        margin-top: -1px;
    }

}
@media (min-width:416px) and (max-width:550px) {
    /*.teacher-private-middle,
    .teacher-courses-box .teacher-courses-middle {
        min-height: 78px;
    }    */
    .teacher-course-image {
        width: 48px;
        height: 48px;
        margin: 4px 10px 0 0;
    }    /*
    .teacher-private-middle h2 {
        font-size: 20px;
        line-height: 22px;
        margin-bottom: 3px;
    }     */

}
@media (max-width:415px) {
    /*.teacher-private-middle div,
    .teacher-courses-details-mobile {
        display: none;
    }
    .teacher-private-mobile-topics {
        display: block;
        margin: 9px 0 0 0;
        color: gray;
    }
    /*.teacher-private-middle h2,*/
    .teacher-courses-middle h2 {
        font-size: 20px;
        line-height: 22px;
        margin-bottom: 3px;
    }
    .teacher-course-image {
        width: 48px;
        height: 48px;
     margin: 4px 10px 0 0;
    }
}
@media (max-width:480px) {
    .teacher-types-table {
        display: none;
    }
    .teacher-types-table-mobile {
        display: table;
    }
    .review-user-name em {
        display: block;
        clear: both;
    }
    .review-star-span img {
        width: 12px;
    }
    .review-avatar {
        width:65px;
        height:65px;
    }
    .teacher-profile-right>div {
        float: left;
        clear:both !important;
    }
}

@media (min-width:820px) and (max-width:1023px) {
    .teacher-courses-unit-box {
        width: 33.3%;
    }
    .teacher-courses-unit-box:nth-of-type(5) {     /* 5th because it does not work per class and there is another div above */
        display:none;
    }

}
@media (min-width:590px) and (max-width:819px) {
    .teacher-courses-unit-box {
        width: 50%;
    }
}
@media (max-width:589px) {
    .teacher-courses-unit-box {
        width: 100%;
        border-bottom: 1px solid #ddd;
    }
    .teacher-courses-unit-box:nth-of-type(5) {      /* 5th because it does not work per class and there is another div above */
        /*display: none;*/
    }
    .teacher-courses-unit-box:nth-of-type(8) {
        border-bottom: 0px;
    }
    .teacher-courses-unit-box:last-of-type {
        margin-bottom: 12px;
    }
    .teacher-profile-middle>div,
    .teacher-profile-middle.kab-open-unit>div {
        font-size: 13px;
    }
    .teacher-profile-middle{
        max-width: calc(100% - 90px);
    }
    .teacher-profile-middle h2 {
        /*margin: 0;*/
        line-height: 28px;
    }

    /* hide credit  */
    .teacher-profile-image {
        width: 60px;
        height: 60px;
        margin-right: 13px;
    }
    /* show credit
    .teacher-profile-image {
        width: 80px;
        height: 80px;
        margin-right: 13px;
    }       */

    .teacher-profile-right {
        margin-top: 8px;
    }
    .teacher-profile-intro {
        padding: 32px 10px !important;
    }
    .teacher-private-price {
        clear: both !important;
            float: left !important;
    }
    .teacher-profile-box .kabina-icon-teacher-desktop {
        display: none;
    }
    .teacher-profile-box .kabina-icon-teacher-mobile {
        display: block;
    }
}


/* no course description */
@media (min-width:951px) {
    .courses-endpoint .course-right-part-head,
    .subjects-endpoint .course-right-part-head {
        padding-top: 7px;
    }
    .courses-endpoint .course-image,
    .subjects-endpoint .course-image {
        width: 40px;
        height: 40px;
        margin-right: 12px;
        margin-top: 0px;
        min-width: 40px;
    }
    .courses-endpoint .course-box-head,
    .subjects-endpoint .course-box-head {
        margin: -2px 0 4px 0;
    }
    .courses-endpoint .course-details,
    .subjects-endpoint .course-details {
        line-height: 28px;
    }
}
@media (min-width:651px) and (max-width:950px) {
    .courses-endpoint .course-image,
    .subjects-endpoint .course-image {
        width: 54px;
        height: 54px;
        margin-right: 16px;
        margin-top: 0px;
        min-width: 54px;
    }
    .courses-endpoint .course-box-head,
    .subjects-endpoint .course-box-head {
        margin-bottom: -4px;
        margin-top: 3px;
    }
}
@media (max-width:650px) {
    .courses-endpoint .course-box-head,
    .subjects-endpoint .course-box-head {
        margin-bottom: -7px;
        margin-top: 2px;
    }
}








