@media screen and (max-width: 660px) {

    .single-sfwd-courses .speakers {
        flex-wrap: wrap;
    }
    
    .single-sfwd-courses .speakers > div {
        flex-basis: 100%;
    }

    h1,
    .text-xxl,
    #bbpress-forums h1 {
        font-size: 40px;
    }

    .home main {
        margin-top: -30px;
    }

    .request-advice p {
        display: none;
    }

    header:not(.stuck) .request-advice {
        background: linear-gradient(121deg,rgba(100, 41, 173, 1) 0%,rgba(248, 30, 92, 1) 100% );
        border-radius: 50%;
        font-size: 20px;
        height: 50px;
        width: 50px;
    }

    .request-advice:hover {
        background: #290a4e;
    }

    .request-advice i {
        margin-left: -3px;
    }

    .footer-top {
        padding: 0;
    }

    .footer-top img {
        display: none;
    }

    .footer-menu {
        width: 100%;
    }

    .footer-menu ul {
        justify-content: space-between;
        padding: 0 20px;
    }

    .footer-menu ul li {
        width: calc(100% / 4);
    }

    .footer-menu ul li a {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        position: relative;
        margin-bottom: 35px;
    }

    .footer-bottom .sm-row {
        margin: 0;
        text-align: center;
    }

    #menu-item-423 a, 
    #menu-item-564 a {
        width: 210px;
    }

    #menu-item-422 a, 
    #menu-item-560 a {
        width: 150px;
    }

    .header-user-menu ul li:last-child a {
        width: 80px;
    }

    .sm-row ul li:last-child a i {
        margin: 0;
    }

    .hero-text h2 {
        width: 250px;
    }

    .footer-bottom .sm-row p:last-child {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
    }

    .newsletter-cta,
    .footer-links {
        margin-top: 30px;
        text-align: center;
    }

    .footer-links {
        margin-bottom: 15px;
    }

    .theme-vtx .menu-list ul li a::after {
        content: '';
        display: none;
    }

    .pod-event-row > div:last-child {
        position: relative;
        margin-top: 80px;
        margin-bottom: 120px;
    }

    .latest-event > .latest-entry {
        min-width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .event-text {
        margin-top: 15px;
        text-align: center;
    }

    .event-text h2 {
        position: absolute;
        top: -60px;
        left: 0;
        white-space: nowrap;
        text-align: center;
        width: 100%;
    }

    .event-cta p {
        position: absolute;
        left: 100px;
        top: 30px;
    }

    .event-cta a {
        position: absolute;
        top: 220px;
        width: 100%;
        left: 0;
    }

    .learning-elements-col img {
        width: 180px;
    }

    .learning-elements-col > a,
    .about-col a {
        width: 100%;
    }

    .about-col:last-child h3 {
        text-align: center;
    }

    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-container img {
        margin-right: 0;
    }

    .testimonial-container > div {
        margin-top: 20px;
        margin-left: 0;
    }

    .testimonial-container > div p {
        text-align: center;
    }

    .carousel {
        margin: 0;
        justify-content: center;
    }

    .carousel li:last-child {
        margin-right: 0;
    }

    .main-content > div:first-child {
        display: none;
    }

    .main-content .pagination-container {
        flex-direction: column;
    }

    .main-content .pagination-container > div:first-child {
        margin-bottom: 40px;
        margin-top: 20px;
    }

    .main-content .archive-list {
        flex-direction: column;
    }

    .ui-icon-minus::before,
    .ui-icon-plus::before {
        content: '';
    }

    .accordion-faq .pink-banner {
        padding-right: 70px;
    }

    .bbp-topic-voice-count,
    .bbp-topic-reply-count,
    .bbp-topic-freshness,
    .forum-titles li.bbp-topic-subscribe {
        display: none;
    }

    .bbpress-wrapper li.bbp-body ul.topic {
        position: relative;
    }

    .single-forum #bbpress-forums.bbpress-wrapper li.bbp-topic-view,
    .bbp-topic-view {
        position: absolute;
        bottom: 20px;
        left: 20px;
        text-align: left;
    }

    body:not(.single-forum) #bbpress-forums {
        margin-top: 30px;
    }

    #bbpress-forums .bbp-topics li.bbp-body li.bbp-topic-title {
        margin-bottom: 30px;
        width: 80%;
    }

    .single-sfwd-lessons #bbpress-forums .bbp-topics li.bbp-body li.bbp-topic-title {
        margin-bottom: 0;
    }

    .bbp-topics li > ul {
        justify-content: space-between;
    }

    .membership-list {
        grid-template-columns: repeat(1, 1fr);
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .silver-membership-card {
        grid-column: 1;
    }

    .gold-membership-card {
        grid-column: 1;
    }

    .membership-package-cta {
        padding: 75px 30px;
    }

    .membership-package-cta img {
        width: 100%;
    }

    .member-cta,
    .more-webinars,
    .more-courses,
    .more-events,
    .more-groups,
    .pink-banner,
    .justified.back-to-course,
    .about-bottom-links .white-btn-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .member-cta > a,
    .more-webinars a,
    .more-courses a,
    .single-event .more-events a,
    .more-groups a,
    .pink-banner a,
    .pink-banner div div span,
    .justified.back-to-course a,
    .about-bottom-links .white-btn-container a {
        margin-left: 0;
        margin-top: 15px;
    }

    .single-event .webinar div:last-child div > p:last-child {
        display: none;
    }

    .single-event .main-content .webinar > div.image img {
        height: 100%;
        width: auto;
    }

    .single-event .main-content .webinar {
        padding: 20px;
        position: relative;
    }

    .single-event .main-content .webinar > div:last-child > div:last-child {
        justify-content: space-between;
    }

    .ld-item-list-item-preview > a {
        max-width: 59%;
    }

    .footer-bottom ._form-content ._form_element:nth-child(4) ._field-wrapper input, 
    .footer-bottom ._form-content ._form_element:nth-child(3) ._field-wrapper input, 
    .footer-bottom ._form-content ._form_element:nth-child(2) ._field-wrapper input {
        width: 100%;
    }

    .footer-bottom ._form-content ._form_element:nth-child(2), 
    .footer-bottom ._form-content ._form_element:nth-child(3), 
    .footer-bottom ._form-content ._form_element:nth-child(4) {
        width: 100%;
    }

    .latest-event img {
        width: 100px;
        height: 100px;
    }

    .event-cta p {
        display: none;
    }

    .mobile-event-time {
        display: block;
        text-align: left;
        margin-top: 7px;
        text-align: center;
    }

    .tickets tbody tr td:last-child a > span {
        display: none;
    }

    .member-cta > p > span {
        display: none;
    }

    .page-account .member-cta > p > span,
    .page-registration-complete .member-cta > p > span {
        display: inline-block;
    }

    .single-event .main-content .member-cta p:first-child > span {
        display: none;
    }

    .memb-group:nth-of-type(4) .membership-group-title {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: start;
    }

    .page-register .membership-group-title span {
        margin-left: 0;
        margin-top: 10px;
    }

    .page-login .mepr-form .mp-form-row input,
    .page-login #mepr_forgot_password_form .mp-form-row input {
        width: 100%;
        min-width: auto;
    }

    .page-login .mepr-form .mp-form-label {
        width: 130px;
    }

    .page-login main .login-container {
        max-width: 100%;
    }

    .page-login .mepr-login-actions span {
        display: none;
    }

    .page-login .mepr-login-actions a {
        display: block;
        width: max-content;
        margin: 5px 0;
    }

    .login-side {
        margin-top: 30px;
    }

    .mp_wrapper .mp-form-row label {
        margin-right: 15px;
    }

    .page-clinical-advice-requests main table td:nth-child(3) {
        display: none;
    }
    
    .member-intro > img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 320px;
    }

    .member-intro > div {
        text-align: center;
    }

    .quoted-text i {
        font-size: 30px;
    }

    #clinical-advice .popup-content > p:first-child a {
        margin-left: 0;
        margin-top: 20px;
        display: block;
    }

    .mp_wrapper table.mepr-account-table td, 
    .mp_wrapper table.mepr-account-table th {
        padding: 5px 10px;
    }

    .page-member-dashboard div.certificate {
        flex-direction: column;
    }

    .page-member-dashboard div.certificate > div p {
        margin: 0;
    }

    .page-member-dashboard div.certificate img {
        margin: 0;
    }

    .page-member-dashboard div.certificate > div {
        margin-top: 20px;
        flex-direction: column;
    }

    .page-member-dashboard div.certificate > div > div {
        flex-direction: column;
        margin-top: 10px;
        align-items: center;
        width: 100%;
    }

    .page-member-dashboard div.certificate > div > div > p {
        display: block;
    }

    .bbp-pagination {
        flex-direction: column-reverse;
    }

    .bbp-pagination .bbp-pagination-count {
        text-align: center;
    }

    .bbp-pagination:first-of-type {
        flex-direction: column-reverse;
    }

    .bbp-pagination:first-of-type .bbp-pagination-count {
        text-align: center;
    }

    #car_3 {
        object-position: 76%;
    }

    .single-sfwd-lessons .learndash-link-previous-incomplete {
        text-align: center;
    }

}

@media screen and (max-width: 600px) {

    .page-member-dashboard div.certificate > div {
        flex-direction: column;
    }

    .page-member-dashboard div.certificate > div > div {
        justify-content: flex-start;
    }

    .mp_wrapper table.mepr-account-table td div {
        margin-left: 0;
    }

    .search-widget form input#s {
        width: 90%;
    }

    .learning-elements-row {
        margin: 40px 0;
    }

    .learning-elements-col:last-child {
        margin-bottom: 0;
    }

    .teaser-card {
        flex-direction: column;
    }

    .learning-elements-col img {
        width: 100%;
        height: auto;
    }

    .teaser-info {
        border: none;
    }

    .teaser-info p:nth-child(3) {
        margin: 10px 0;
    }

    .teaser-info a {
        position: relative;
        display: block;
        bottom: 0;
        margin-top: 10px;
    }

    .about-vtx-row {
        margin-top: 70px;
    }

    .pod-event-row > div:first-child {
        padding-top: 50px;
    }

    .slot > div.justified:first-child p:last-child {
        width: 33%;
    }

    .slot > div.justified:first-child p:first-child {
        max-width: 66%;
    }

    .page-register main form > div {
        flex-basis: 100%;
    }

    .page-register main form > div.form-item {
        text-align: center;
    }

    .page-register main form > .form-item.select-wrapper {
        max-width: 100%;
    }

    .page-register form.registration-form .checkbox-wrapper {
        flex-basis: 100%;
    }

    .member-radio-select {
        flex-wrap: wrap;
    }

    .member-radio-select .radio-container {
        width: 100%;
    }

    .mp_wrapper table.mepr-account-table tr {
        border: 2px solid #acdcda;
        height: auto;
    }

    .mp_wrapper table.mepr-account-table td:last-child {
        display: flex;
        align-items: center;
    }

    .mp_wrapper table.mepr-account-table td:last-child div {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        align-items: center;
    }

    .mp_wrapper table.mepr-account-table td::before {
        content: '';
        display: none;
    }

    .mp_wrapper table.mepr-account-table td[data-label="Actions"] a:not(.mepr-open-upgrade-popup) {
        margin: 0 7px 0 0;
        height: max-content;
    }

    #mepr-account-subscriptions-table td,
    .mp_wrapper table.mepr-account-table td {
        text-align: left;
    }

    #mepr-account-subscriptions-table td:last-child {
        padding: 0 20px 7px 10px;
    }

    .page-account #mpca-sub-accounts-table.mepr-account-table tr {
        border: none;
    }

    #mpca-sub-accounts-table th:nth-child(4),
    #mpca-sub-accounts-table td:nth-child(4) {
        display: block;
    }

    .my-orders th:nth-child(3),
    .my-orders td:nth-child(3) {
        display: none;
    }

    .page-member-dashboard .grid.col-3 {
        grid-auto-rows: auto;
        row-gap: 55px;
    }

    .page-member-dashboard .wishlists div[class*="-preview"] {
        flex-direction: column-reverse;
        padding: 0;
        background-color: #f4f1f7;
        border: none;
    }

    .page-member-dashboard .wishlists div[class*="-preview"] > div:last-child {
        padding: 0;
        height: auto;
    }

    .page-member-dashboard .wishlists div[class*="-preview"] > div:nth-child(2) {
        display: block;
        padding: 10px 20px 20px;
    }

    .my-orders td:last-child > a > span {
        display: none;
    }

}

@media screen and (max-width: 550px) {

    .single-event .main-content .webinar > div:last-child > div:last-child {
        flex-direction: column;
    }

    .single-event .main-content .webinar > div:last-child a {
        width: max-content;
        margin-top: 5px;
    }

    #clinical-advice .popup-content form > .form-item {
        flex-basis: 100%;
    }

    #clinical-advice .popup-title h3 {
        position: relative;
        color: transparent;
    }

    #clinical-advice .popup-title h3::after {
        content: 'clinical advice';
        color: white;
        position: absolute;
        left: 0;
        right: 0;
    }

    .quoted-text {
        padding: 15px;
    }

    .page-faq .white-btn-container h2 > span {
        display: none;
    }

    .about-vtx-members .about-imgs {
        width: 100%;
        justify-content: space-between;
        margin: 20px 0;
    }

    .about-text p {
        margin: 15px 0;
    }

    .login-side div {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .login-side div p {
        width: 100%;
        margin-bottom: 15px;
    }

    .page-register h1 + div {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-register #expand-memb {
        margin-left: -4px;
        margin-top: 10px;
    }

    .mobile-cookie {
        display: block;
    }

    .cn-text-container p:not(.mobile-cookie) {
        display: none;
    }
}

@media screen and (max-width: 500px) {

    .forum #bbpress-forums .bbp-pagination .bbp-pagination-links > .page-numbers:nth-child(5) {
        display: none;
    }

    .group-meta div:last-child {
        flex-direction: column;
        padding-top: 5px;
    }

    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100%;
    }

    .woocommerce table.cart td.actions .coupon {
        display: flex;
        flex-direction: column;
    }

    .single-topic .with-sidebar .sidebar .add-topic-container,
    .single-forum .with-sidebar .sidebar .add-topic-container {
        flex-direction: column;
    }

    .sidebar .date-selector input {
        width: max(130px, 100%);
    }

    .with-sidebar .sidebar {
        flex-basis: 100%;
        min-width: auto;
    }

    .container form .date-selector {
        display: block;
    }

    .container form .date-selector label {
        display: block;
        margin-bottom: 20px;
    }

    .page-faq .white-btn-container {
        flex-direction: column;
        text-align: center;
    }

    .page-faq .white-btn-container > * {
        margin-bottom: 20px;
    }

    .page-faq .white-btn-container h2 {
        margin-right: 0;
    }

    .sidebar .add-topic-container > button {
        margin-right: 0;
        margin-top: 25px;
    }

    .expand-speaker > span,
    .expand-lesson > span,
    .expand-slot > span {
        display: none;
    }

    .ld-item-list-item-preview > a {
        max-width: 95%;
    }

    .tickets tbody tr th,
    .tickets tbody tr td {
        padding: 0 10px;
    }

    .single-event .with-sidebar .sidebar > div:first-child img,
    .single-sfwd-courses .with-sidebar .sidebar > div:first-child > div:first-child {
        width: 100%;
    }

    .sidebar .sidebar-element > .event-programme {
        flex-direction: column;
        text-align: center;
    }

    .sidebar .sidebar-element .event-programme i {
        margin-right: 0;
    }

    .sidebar .sidebar-element .event-programme > div {
        margin-top: 10px;
        text-align: center;
    }

    .single-sfwd-lessons .learndash-wrapper .ld-content-actions {
        flex-direction: column;
    }

    .single-sfwd-lessons .learndash-wrapper .ld-content-actions .ld-content-action {
        max-width: none;
        width: 100%;
        order: 1;
    }

    .single-sfwd-lessons .learndash-wrapper .ld-content-actions .ld-content-action:first-child {
        margin-right: 0;
        margin-bottom: 25px;
    }

    .single-sfwd-lessons .learndash-wrapper .ld-content-actions .ld-content-action:nth-child(2) {
        align-items: center;
        order: 2;
    }

    .single-sfwd-lessons .learndash-wrapper .ld-content-actions .ld-content-action:nth-child(2) input {
        text-align: center;
    }

    .learndash-wrapper .sfwd-mark-complete {
        width: 100%;
    }

    .single-sfwd-lessons .learndash-wrapper .learndash_mark_complete_button {
        text-align: center;
    }

    .page-register .registration-form #mepr_agree_to_privacy_policy-error,
    .page-register .registration-form #mepr_agree_to_tos-error {
        margin-top: 23px;
    }

}

@media screen and (max-width: 480px) {
    
    .single-sfwd-courses .course-subtitle {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .single-sfwd-courses .course-subtitle > span {
        margin: 10px 0;
    }

    .topic #bbpress-forums.bbpress-wrapper .bbp-body div.bbp-reply-content {
        margin-left: 10px;
    }

    .topic #bbpress-forums div.bbp-reply-author div.post-date {
        position: relative;
        left: 0;
        bottom: 0;
    }

    .topic #bbpress-forums.bbpress-wrapper li.bbp-body > div {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 460px) {

    .sidebar .event-map > .event-venue {
        flex-basis: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .sidebar .event-map > i {
        margin-right: 0;
    }

    .sidebar .event-map .show-map {
        justify-content: center;
    }

    .topic #bbpress-forums.bbpress-wrapper .bbp-body div.bbp-reply-content {
        margin-left: 20px;
    }

    #clinical-advice .popup-content form .modal-actions > button {
        margin-right: 0;
        width: 100%;
        margin-bottom: 15px;
    }

    .membership-intro div iframe {
        height: calc(640px * 0.35);
        margin: 0;
    }

    .about-col img {
        width: 90px;
        height: 90px;
        margin: 0;
    }

    .teaser-card {
        flex-direction: column;
    }

    .teaser-card img {
        width: 100%;
        height: auto;
    }

    .teaser-info {
        border-left: none;
    }

    .hero-text > div {
        margin-top: 35px;
        flex-direction: column;
    }

    .page-member-dashboard .bio-mobile button {
        width: 100%;
    }

    .checkbox-wrapper {
        align-items: flex-start;
    }

    .single-event .session-title h2 {
        flex-direction: column;
    }

    .page-account .buttons {
        flex-direction: column;
    }

    .page-account .buttons > a {
        margin-bottom: 15px;
        width: 100%;
    }

    .single-webinar .with-sidebar .sidebar {
        width: 100%;
    }

    .single-webinar .sidebar-container.certificate::before,
    .single-sfwd-courses .sidebar-container.certificate::before {
        height: 110px;
        margin-left: -20px;
    }

    .hero-carousel-mobile #car_m_3 {
        object-position: 76%;
    }

    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table th:last-child, 
    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table td:last-child {
        width: 50%;
    }

    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table th:first-child, 
    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table td:first-child {
        width: 50%;
      }
}

@media screen and (max-width: 430px) {

    .forum #bbpress-forums .bbp-pagination .bbp-pagination-links > .page-numbers:nth-child(4) {
        display: none;
    }

    #sidebar .event-programme {
        flex-direction: column;
        align-items: center;
    }

    #sidebar .event-programme > i {
        margin: 0;
    }

    #sidebar .event-programme > div,
    #sidebar .event-programme > div:not(.programme) {
        text-align: center;
        margin-top: 10px;
    }

    .footer-bottom ._form-content ._form_element:nth-child(4), 
    .footer-bottom ._form-content ._form_element:nth-child(4) ._field-wrapper, 
    .footer-bottom ._form-content ._form_element:nth-child(3) ._field-wrapper, 
    .footer-bottom ._form-content ._form_element:nth-child(2) ._field-wrapper {
        width: 100%;
    }

    ._form_element:nth-child(2),
    ._form_element:nth-child(3),
    ._form_element:nth-child(4) {
        flex-direction: column;
        align-items: center;
    }

    ._form_element:nth-child(5) .checkbox-wrapper {
        align-items: flex-start;
    }

    ._form-label {
        margin: 0;
    }

    .single-sfwd-courses .user_has_access .with-sidebar .sidebar {
        width: 100%;
    }

    #clinical-advice-conversation .new-message button {
        display: block;
        margin: 10px 0;
    }
}

@media screen and (max-width: 400px) {

    .c-notes {
        display: none;
    }

    .single-webinar .sidebar-container.certificate::before,
    .single-sfwd-courses .sidebar-container.certificate::before {
        display: none;
    }

    .single-webinar .sidebar-container.certificate > div,
    .single-sfwd-courses .sidebar-container.certificate > div {
        text-align: center;
    }

    .search-widget form input#s {
        width: 86%;
    }

    .card-header div.justified {
        flex-direction: column;
    }

    .learndash-wrapper {
        max-width: 100%;
    }

    .page-member-dashboard .advice .conversation-meta {
        display: none;
    }

    .page-member-dashboard .advice button {
        margin-top: 0;
    }

    .membership-intro div iframe {
        height: calc(640px * 0.3);
    }
}

@media screen and (max-width: 365px) {
    ._form_element:nth-child(5) .checkbox-wrapper label > span {
        color: transparent;
    }
}