.hero.teacher-profile .hero-body{
    padding-bottom: 5rem;
}
.hero.teacher-profile, .hero.teacher-profile .hero-body,
.hero.teacher-profile .title, .hero.teacher-profile .subtitle,
.hero.teacher-profile a {
    background-color: #505764;
    color: #fff;
}
.teacher-profile-top .image {
    border: 2px solid #fff;
    border-radius: 5px;
    width: 175px;
}

.teacher-profile-top .row {
    margin-bottom: 0.5rem;
}

.teacher-profile-top .row:last-child{
    margin-bottom: -5px;
}

.column.teacher-primary-details {
    display: flex;
    flex-direction: column;
}

.teacher-primary-details .teacher-details{
    flex-grow: 1;
}

.teacher-highlight{
    display: inline-block;
    vertical-align: middle;
    margin: 10px 0 0 20px;
}

.online-reviews {
    white-space: nowrap;
}

.profile-actions-wrapper {
    position: relative;
    padding: 0;
}

.profile-actions.box {
    position: absolute;
    width: 100%;
    padding: 2rem;
    border-radius: 5px;
    background-color: #f7f7f7;
    z-index: 1;
}

.profile-actions .row{
    padding: 0.5rem;
    font-weight: 500;
}

.profile-actions .row .price {
    color: #f5a623;
}
.share-buttons {
    display: inline-block;
}
.share-button {
    font-size: 22px;
    cursor: pointer;
    width: 45px;
    height: 45px;
    line-height: 45px;
    margin: 5px;
    text-align: center;
    display: inline-block;
    color: #fff;
    border-radius: 50%;
    vertical-align: middle;
}

.share-button.facebook{
    background-color: #3b5998;
    font-size: 24px;
}

.share-button.whatsapp{
    background-color: #25D366;
    font-size: 30px;
}
.share-button.whatsapp .icon-whatsapp:before{
    margin-top: -3px;
}

.share-button.email {
    background-color: #BB0000;
}

.share-button.email .icon-envelope:before{
    margin-top: -4px;
}

.share-button.sms{
    background-color: #ffbd00;
}
.share-box-mobile {
    position: relative;
    margin-right: 8px;
    display: inline-block;
}

.share-box-mobile .share {
    font-size: 18px;
    vertical-align: middle;
}

.share-box-mobile .share-buttons {
    position: absolute;
    bottom: 0;
    right: 30px;
    overflow: hidden;
    max-height: 0;
    transition: 1s;
    width: 200px;
}
.share-box-mobile .share-button {
    font-size: 16px;
    width: 25px;
    height: 25px;
    line-height: 25px;
}

.share-box-mobile .share-button.facebook{
    font-size: 16px;
}

.share-box-mobile .share-button.whatsapp{
    font-size: 18px;
}
.share-box-mobile .share-button.email {
    background-color: #BB0000;
}

.profile-description {
    background-color: #f9f9f9;
    border: 1px solid #dedfe0;
    padding: 1.5rem;
    border-radius: 5px;
}

.profile-description p{
    white-space: pre-line;
}

.profile-bio .row:not(:last-child) {
    margin-bottom: 3rem;
}

.comments-all {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.profile-comment-header {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.comments-all .profile-comment {
    flex: 0 0 calc(50% - 8px);
}

.profile-comment {
    padding: 20px 25px;
    border: 1px solid hsla(0,0%,85.9%,.5);
    border-radius: 4px;
    box-sizing: border-box;
}

.profile-comment .comment-avatar{
    width: 48px;
    height: 48px;
    line-height: 48px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid #fff;
    color: #fff;
    text-align: center;
    font-size: 20px;
}

.profile-comment .comment-name{
    color: #363636;
    font-weight: 700;
}

.profile-comment .comment-date{
    font-size: 0.6rem;
}
.profile-comment .comment-share {
    text-align: left;
}
.profile-comment .comment-share-button{
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    margin: 0 4px;
    height: 26px;
    width: 26px;
    text-align: center;
    vertical-align: bottom;
}
.profile-comment .comment-share-button.facebook{
    background-color: #3b5998;
}

.profile-comment .comment-share-button.whatsapp{
    background-color: #25D366;
}

.profile-comment .comment-share-button.email {
    background-color: #BB0000;
    font-size: 14px;
}

.profile-comment .comment-share-button.sms {
    background-color: #ffbd00;
}

.profile-comment .comment-rank {
    color: #dbdbdb;
}
.views-mini-pager {
    display: flex;
    align-items: center;
}

.views-mini-pager li{
    margin: 5px;
}

.calendar-steps {
    border-radius: 7px;
    overflow: hidden;
}

.calendar-steps .level-item{
    padding: 20px 0;
    background-color: #f4f4f4;
}

.calendar-steps .level-item.active{
    background-color: #f6a623;
    color: #fff;
}

.calendar-steps .level-item .step-number{
    display: inline-block;
    font-weight: 500;
    padding-left: 10px;
}

.tags-links a{
    border-radius: 4px;
    border: solid 1px #d8d8d8;
    background-color: #ffffff;
    color: #4a4a4a;
    padding: 3px 10px;
    display: inline-block;
    font-size: 14px;
    margin: 5px 0;
    transition: 0.25s;
}
.tags-links a:hover{
    color: #fff;
    background-color: #f6a623;
}

.hero.teacher-profile.sticky .hero-body {
    padding-top: 15px;
    padding-bottom: 15px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 5;
    animation: grow .5s;
    overflow: hidden;
}
.hero.teacher-profile.sticky .teacher-profile-top {
    animation: appear .75s;
}
.hero.teacher-profile.sticky .key-sentence, .hero.teacher-profile.sticky .teacher-details {
    display: none;
}
.hero.teacher-profile.sticky .teacher-profile-top .image {
    width: 50px;
}
.hero.teacher-profile.sticky .column.teacher-primary-details{
    flex-direction: row;
    align-items: center;
}
.hero.teacher-profile.sticky .column.teacher-primary-details .row{
    flex-grow: 1;
    margin: 0;
}
.hero.teacher-profile.sticky .column.teacher-primary-details .teacher-highlight{
    vertical-align: middle;
}
.article-teaser{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .hero.teacher-profile .hero-body {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .hero.teacher-profile .teacher-primary-details {
        text-align: center;
    }
    .hero.teacher-profile .title {
        height: 70px;
        display: flex;
        align-items: center;
        padding-right: 70px;
        margin-top: -20px;
    }
    .hero.teacher-profile .teacher-profile-top .image {
        width: 125px;
        height: 125px;
        padding-top: 0;
        margin: auto;
    }
    .hero.teacher-profile .profile-actions {
        position: fixed;
        z-index: 1;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        display: flex;
        align-items: center;
        padding: .25rem;
        background-color: #343944;
    }
    /*.profile-actions .row{*/
    /*    padding: 0.5rem 0.25rem;*/
    /*}*/
    .profile-actions .button {
        font-size: 1.25rem!important;
    }
    .profile-actions .button .icon {
        margin: 0!important;
    }
    .profile-actions .row:first-child {
        flex-grow: 1;
    }
    .profile-actions .row:last-child{
        text-align: left;
    }
    .teacher-title{
        position: relative;
    }
    .profile-actions .row .price {
        color: #fff;
    }

    .share-box-mobile .share-buttons {
        right: auto;
        bottom: 100%;
        left: -6px;
        width: auto;
    }
}

@keyframes grow {
    from {
        max-height: 0;
    }
    to {
        max-height: 100px;
    }
}

@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .comments-all .profile-comment {
        flex: 1 1 100%;
    }
}