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

    .page-member-dashboard .forum-grid .topic-preview > span.emphasized {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: auto;
        margin-right: 10px;
    }

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

    .container form .date-selector .date-range {
        width: auto;
    }

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

    .add-topic-container {
        flex-direction: column;
    }

    .add-topic-container span {
        margin-bottom: 30px;
    }

    .bbp-topic-view a {
        white-space: nowrap;
    }

    .single-sfwd-lessons #bbpress-forums.bbpress-wrapper li.bbp-forum-freshness,
    .single-sfwd-lessons #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness {
    width: 25%;
    }

    #bbpress-forums.bbpress-wrapper li.bbp-forum-freshness,
    #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness {
        width: 18%;
    }

    .forum .li.bbp-forum-info {
        width: 34%;
    }

    .about-vtx-members {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-vtx-members .about-imgs {
        margin-left: 0;
        margin-bottom: 30px;
    }

    .learning-elements-col {
        flex-basis: calc(100% / 3 - 15px);
    }

    .membership-intro > div > div {
        width: 35%;
    }

    .scroll-info p {
        width: 78%;
    }

    .scroll-info-filled {
        width: 70%;
    }

    .footer-bottom ._form-content ._form_element:first-child {
        flex-basis: 90%;
    }

    .footer-bottom .fluentform form > fieldset {
        grid-template-columns: 100%;
    }

    .footer-bottom .fluentform form .ff-field_container + .ff-el-group {
        justify-self: flex-start;
        width: 100%;
    }

    .footer-bottom .fluentform form .ff-field_container + .ff-el-group .ff-el-input--content {
        width: 100%;
        margin-left: 28px;
    }

    .footer-bottom .fluentform .ff-el-group .ff-el-input--content,
    .footer-bottom .fluentform .ff-el-group input {
        width: 100%;
    }

    .membership-intro > div > div:last-child {
        width: 40%;
    }

    .course-areas-wrapper ul li a span > span {
        display: none;
    }

    .event-text h3 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        height: auto;
        overflow: hidden;
    }
}

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

    #car_3 {
        object-position: 85%;
    }

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

    .newsletter-prompt ._form_element:nth-child(2) label, 
    .newsletter-prompt ._form_element:nth-child(3) label,
    .newsletter-prompt ._form_element:nth-child(4) label {
        margin-bottom: 10px;
    }

    .newsletter-prompt > h2 {
        word-break: break-word;
        white-space: break-spaces;
        word-wrap: break-word;
        display: inline-block;
    }
}

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

    .page-member-dashboard div.certificate > div p {
        margin-right: 20px;
        min-width: 100px;
    }

    .page-member-dashboard div.certificate > div > div span {
        white-space: nowrap;
        height: max-content;
    }

    .membership-details {
        padding: 0 15px;
    }

    .membership-intro > div > div {
        width: 40%;
    }

    .membership-intro img {
        height: 360px;
    }

    .membership-intro > div {
        align-items: flex-start;
    }

    .vp-center > .player {
        position: absolute;
        top: 0;
    }

    .event-text > h2 {
        white-space: nowrap;
    }
}

@media screen and (max-width: 1550px) {
    .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;
    }

    .page-member-dashboard div.certificate > div > div p {
        text-align: right;
    }

    .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: 60%;
    }

    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table th:nth-child(2),
    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table td:nth-child(2) {
        width: 20%;
    }

    .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: 20%;
    }
}

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

    .t-course-start-date span {
        display: none;
    }

    .footer-bottom > form {
        max-width: 55%;
    }
    
    .footer-bottom ._form-content {
        justify-content: space-between;
    }

    .footer-bottom ._form-content ._form_element:nth-child(2),
    .footer-bottom ._form-content ._form_element:nth-child(3) {
        margin-right: 0;
    }

    .footer-bottom ._form-content ._form_element:nth-child(4) label {
        margin-right: 60px;
    }

    .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(4) input {
        width: 100%;
    }

    .card-element > div:last-child {
        width: 95%;
    }

    .card-element > div:last-child > a img {
        width: 100%;
        height: auto;
    }

    .membership-list {
        grid-template-columns: repeat(2, 1fr);
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    .membership-details {
        padding: 0 30px;
    }

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

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

@media screen and (max-width: 1450px) {
    
    #car_1 {
        object-position: 72%;
    }

    #car_2 {
        object-position: 60%;
    }

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

    .event-text > h2 {
        white-space: normal;
    }

    .event-text > h2 > span {
        display: none;
    }

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

    .footer-bottom > .fluentform {
        flex-basis: 40%;
    }

    .footer-bottom .fluentform form .ff-field_container .ff-t-container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .footer-bottom .fluentform form .ff-field_container .ff-t-container .ff-t-cell {
        padding: 0;
    }
}

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

    .general-membership-benefits div div h2 {
        max-width: 250px;
        font-size: 27px;
    }

    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table th:nth-child(2),
    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table td:nth-child(2) {
        display: none;
    }

    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table th:nth-child(4),
    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table td:nth-child(4) {
        width: 18%;
    }

    .page-member-dashboard .user-dash-info {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .page-member-dashboard .user-dash-info > div {
        text-align: left;
    }

    .sidebar-element .event-programme {
        padding: 24px;
    }

    .membership-intro > div > div {
        width: 37%;
    }

    .slot > div.justified:first-child p:last-child {
        width: 27%;
        text-align: end;
        white-space: nowrap;
    }

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

    .page-member-dashboard .member-forum-preview .forum-grid {
        grid-gap: 20px;
    }

    .single-webinar .sidebar-container.certificate {
        justify-content: space-between;
    }

    .single-webinar .sidebar-container.certificate > div {
        margin-left: 0;
    }

    .membership-intro > div .iframe-container {
        margin-right: 25px;
    }

}

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

    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table th:nth-child(2),
    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table td:nth-child(2) {
        display: none;
    }

    .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: 40%;
    }

    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table tbody tr:last-child td {
        vertical-align: baseline;
    }

    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table td:nth-child(5) {
        vertical-align: bottom;
    }

    li.bbp-topic-voice-count {
        display: none;
    }

    .page-member-dashboard #bbpress-forums.bbpress-wrapper li.bbp-body ul.topic {
        justify-content: space-between;
    }

    .page-member-dashboard #bbpress-forums.bbpress-wrapper li.bbp-forum-freshness,
    .page-member-dashboard #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness,
    .single-sfwd-lessons #bbpress-forums.bbpress-wrapper li.bbp-forum-freshness,
    .single-sfwd-lessons #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness {
        width: 35%;
    }

    .single-forum #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness {
        width: 23%;
    }

    .page-member-dashboard .grid.col-3 {
        column-gap: 20px;
    }

    .page-member-dashboard .wishlists div[class*="-preview"] > div:last-child {
        max-width: 105px;
        height: 140px;
        /* align-self: flex-end; */
    }

    .page-member-dashboard .wishlists div[class*="-preview"] > div:last-child img {
        height: 100%;
    }

    .page-member-dashboard .member-forum-preview .forum-grid {
        display: flex;
        justify-content: space-between;
    }

    .page-member-dashboard .member-forum-preview .forum-grid .list,
    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview {
        flex-basis: calc(100% / 2 - 10px);
        width: calc(100% / 2 - 10px);
    }

    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview > table {
        table-layout: fixed;
    }

    #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness {
        width: 30%;
    }

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

    .container,
    .container-mobile,
    .page-checkout .container, 
    .page-order-summary .container {
        margin: 0 20px;
        max-width: 100%;
    }

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

    .page-faq main {
        width: 100%;
    }

    .page-about main {
        margin: 0 20px;
        max-width: none;
    }

    .page-faq main > div:not(.breadcrumb-top):not(.intro) {
        margin: 0 20px;
    }

    .page-faq .breadcrumb-top,
    .page-faq .intro {
        margin-left: 20px;
    }

    .learning-elements-col {
        flex-basis: calc(100% / 3 - 15px);
    }

    .footer-bottom > form {
        max-width: 100%;
    }

    .membership-intro img {
        display: none;
    }

    .membership-intro > div > div.iframe-container {
        width: 39%;
    }

    .membership-intro > div > div:last-child {
        width: 56%;
    }

    .sidebar-element .event-programme {
        padding: 20px;
    }

    .topic .sidebar #subscription-toggle a span {
        display: none;
    }

    .single-topic #bbpress-forums {
        margin-top: 0;
    }

    .webinar-form-signup form {
        grid-template-columns: 100%;
    }

    .webinar-form-signup .ff-el-group input {
        width: 100%;
    }

    .webinar-form-signup form .ff-field_container + .ff-el-group {
        justify-self: flex-start;
        width: 100%;
    }

    .webinar-form-signup form .ff-field_container .ff-el-input--content,
    .webinar-form-signup form .ff-field_container + .ff-el-group .ff-el-input--content {
        width: 100%;
    }

    .webinar-form-signup form .ff-field_container .ff-el-input--label,
    .webinar-form-signup form .ff-field_container + .ff-el-group .ff-el-input--label {
        white-space: nowrap;
    }

    /* .webinar-form-signup form .ff-field_container + .ff-el-group .ff-el-input--content {
        margin-left: 25px;
    } */

    .course-areas-wrapper ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .single-sfwd-courses .speakers {
        flex-wrap: wrap;
    }

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

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

    .newsletter-prompt ._form-content {
        flex-direction: column;
    }

    .newsletter-prompt ._form_element:nth-child(2), 
    .newsletter-prompt ._form_element:nth-child(3), 
    .newsletter-prompt ._form_element:nth-child(4) {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .newsletter-prompt ._form_element:nth-child(2) label, 
    .newsletter-prompt ._form_element:nth-child(3) label,
    .newsletter-prompt ._form_element:nth-child(4) label {
        margin-bottom: 0;
        width: 100px;
    }

    .newsletter-prompt ._form_element:nth-child(2) ._field-wrapper, 
    .newsletter-prompt ._form_element:nth-child(3) ._field-wrapper,
    .newsletter-prompt ._form_element:nth-child(4) ._field-wrapper {
        width: 85%;
    }
    
    .newsletter-prompt ._form_element:nth-child(2) ._field-wrapper input, 
    .newsletter-prompt ._form_element:nth-child(3) ._field-wrapper input,
    .newsletter-prompt ._form_element:nth-child(4) ._field-wrapper input {
        width: 100%;
    }

    .newsletter-prompt ._form_element:nth-child(5) {
        margin-bottom: 20px;
    }

    .member-intro {
        align-items: center;
    }

    .sidebar .filter input {
        width: 98%;
    }

    .group .group-meta {
        max-width: 100%;
    }

    #bbpress-forums {
        width: 100%;
    }

    .page-member-dashboard #bbpress-forums {
        margin-top: 0;
    }

    .page-member-dashboard #forum-preview div:first-child {
        margin-top: 0;
    }

    .white-btn-container a {
        white-space: nowrap;
    }

    .event-text > h2 > span {
        display: inline-block;
    }

    .pod-event-row {
        flex-direction: column;
    }

    .pod-event-row > div:last-child {
        padding: 0;
        border: none;
        margin-top: 35px;
        margin-bottom: 40px;
    }

    .pod-event-row > div:first-child {
        padding-right: 0;
        max-width: 100%;
    }

    .podcast::after {
        content: '';
        display: block;
        background-color: #d9c6f1;
        height: 3px;
        width: 100%;
        position: absolute;
        left: 0;
        margin-top: 35px;
    }

    .learning-elements-row,
    .about-vtx-row {
        flex-direction: column;
        margin-bottom: 0;
    }

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

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

    .learning-elements-col {
        margin-bottom: 40px;
    }

    .about-vtx-members {
        flex-direction: row;
        align-items: center;
    }

    .about-vtx-members .about-imgs {
        margin-left: 30px;
        margin-bottom: 0;
    }

    .about-col {
        max-width: 100%;
        margin-top: 0;
    }

    .about-col:first-child:after {
        content: '';
        display: block;
        background-color: #d9c6f1;
        height: 3px;
        width: 100vw;
        position: absolute;
        left: -20px;
        margin-top: 55px;
    }

    .about-col:last-child {
        margin-top: 110px;
    }

    .t-course-start-date span {
        display: inline-block;
    }

    .teaser-info p:first-child::before {
        content: '';
    }

    .footer-bottom ._form-content {
        justify-content: center;
    }

    .footer-bottom ._form-content ._form_element:nth-child(4) label {
        margin-right: 15px;
    }

    ._form-label {
        white-space: nowrap;
    }

    .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: 70%;
    }

    .footer-bottom ._form-content ._form_element:nth-child(2) ._field-wrapper input, 
    .footer-bottom ._form-content ._form_element:nth-child(3) ._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: 400px;
        justify-content: space-between;
    }

    .footer-bottom ._form-content ._form_element:first-child {
        margin-bottom: 20px;
    }

    .general-membership-benefits div div h2 {
        font-size: 30px;
    }

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

    .single-sfwd-courses .learndash-wrapper .ld-item-list .ld-item-title {
        margin-right: 20px;
    }

    .forum-archive .grid.col-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .member-footer .pod-event-row > .podcast {
        padding-top: 35px;
    }

    .page-member-dashboard .grid .scroll-zone {
        min-height: 500px;
    }

    .page-login .mepr-form .mp-form-row input {
        width: 82%;
    }

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

    .page-login main .login-container,
    .page-login .container h1,
    .page-login .container .breadcrumb-top {
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        max-width: 680px;
    }

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

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

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

    .bbp-pagination:last-of-type .bbp-pagination-count {
        margin-top: 30px;
    }

    .hero-text > h1:first-of-type {
        font-size: 40px;
    }

    .single-forum #bbpress-forums.bbpress-wrapper li.bbp-topic-subscribe {
        width: 20%;
    }
}

@media screen and (max-width: 1150px) {
    .woocommerce-checkout.page-checkout .payment_method_stripe .form-row {
        width: 100%;
        float: none;
    }

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

    .bbp-pagination:first-of-type .bbp-pagination-links {
        margin-bottom: 30px;
    }

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

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

    #menu-item-422 a, 
    #menu-item-560 a {
        width: 160px;
        padding-right: 45px;
    }

    #menu-item-372 a,
    #menu-item-333 a {
        width: 180px;
        padding: 0 20px 0 0;
    }

   
    #menu-item-422::after, 
    #menu-item-560::after {
        right: 20px;
    }
    
    .header-user-menu ul li:last-child {
        padding: 0 20px;
    }

    .header-user-menu ul li:last-child::after {
        right: 20px;
    }

    .sticky-header .menu-list {
        margin-left: 0;
    }

    .header-bottom ul#menu-primary-menu {
        display: none;
    }

    .header-bottom #menu-primary-menu.show-menu {
        display: flex;
        flex-direction: column;
        height: auto;
        align-items: center;
        position: absolute;
        background-color: #6429ad;
        left: 0;
        width: 100%;
        margin-top: 50px;
        z-index: 1;
    }

    .header-bottom .justified {
        display: flex;
        align-items: center;
        padding-left: 20px;
        color: white;
        font-weight: 700;
        text-transform: lowercase;
    }

    .hamburger {
        display: block;
    }

    .header-top .justified {
        align-items: flex-start;
    }
}

@media screen and (min-width: 1100px) {

    .filter-form,
    .filter-expand-form {
        display: block !important;
    }

    .card-element .grey-wishlist-wrapper {
        position: absolute;
        top: 0;
        right: 0;
    }

    .page-member-dashboard #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness {
        white-space: nowrap;
    }
}

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

    #car_3 {
        object-position: 80%;
    }

    header {
        margin-bottom: 30px;
    }

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

    .breadcrumb-top {
        margin-bottom: 30px;
    }

    li.bbp-topic-reply-count {
        display: none;
    }

    #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness {
        width: 40%;
    }

    .page-member-dashboard #bbpress-forums.bbpress-wrapper li.bbp-forum-freshness,
    .page-member-dashboard #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness,
    .single-sfwd-lessons #bbpress-forums.bbpress-wrapper li.bbp-forum-freshness,
    .single-sfwd-lessons #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness {
        width: 44%;
    }

    .single-forum #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness {
        width: 31%;
    }

    .page-member-dashboard .member-forum-preview .forum-grid {
        grid-gap: 20px;
    }

    .page-member-dashboard .wishlists .empty p:nth-child(2){
        padding: 0 20px;
        text-align: center;
    }

    .page-member-dashboard div.certificate > div > div {
        width: 340px;
    }

    .date-range .date-input input::placeholder {
        color: inherit;
    }

    .date-range span.date-input:first-child:before,
    .date-range span.date-input:last-child:before {
        opacity: 0;
    }

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

    .with-sidebar .main-content {
        margin: 0;
        width: 100%;
    }

    .archive-list {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .single .with-sidebar .sidebar > div:first-child img {
        width: 100%;
        object-fit: cover;
    }

    .archive .container .with-sidebar,
    .page-news .with-sidebar {
        flex-direction: column;
    }
    
    .archive .container .with-sidebar .sidebar .filter-form .filter-expand-form::after {
        content: '';
        background-color: #d9c6f1;
        height: 3px;
        display: block;
        margin: 30px 0; 
    }

    .container form .date-selector {
        display: flex;
        justify-content: start;
    }

    .container form .date-selector .date-range {
        width: auto;
    }

    .container form .date-range span:nth-child(2) {
        margin: 0 20px;
    }

    .container form .date-selector label {
        display: flex;
        margin-bottom: 0;
    }

    .main-content .card-element {
        flex-direction: column-reverse;
        padding: 0;
        flex-basis: calc(100%/2 - 20px);
        width: 100%;
        justify-content: flex-end;
    }

    .main-content > .pagination-container:first-child {
        justify-content: flex-start;
    }

    .container .main-content .card-element > div:last-child {
        padding: 0;
    }

    .card-element .wishlist-wrapper {
        position: relative;
        justify-content: flex-end;
    }

    .container .main-content .card-element .card-text {
        padding: 0 17px 25px 17px;
    }

    .container .main-content .card-element > div:last-child {
        width: 100%;
    }

    .container .main-content .card-element div:last-child a img {
        width: 100%;
        object-position: top;
        margin-bottom: 30px;
    }

    .card-content p img {
        width: auto;
    }

    .with-top-checkbox > p {
        display: none;
    }

    .single-forum .with-sidebar .sidebar::after {
        content: '';
        display: none;
    }

    .with-sidebar .sidebar img {
        width: auto;
    }

    .filter-section .expand-filter {
        display: block;
    }

    .filter-expand-form {
        display: none;
        padding-top: 20px;
    }

    #car_1 {
        object-position: 72%;
    }

    #car_2 {
        object-position: 60%;
    }

    .membership-intro h1 {
        margin-bottom: 23px;
    }

    .membership-intro > div {
        flex-direction: column;
    }

    .membership-intro > div > div:last-child {
        width: 100%;
        margin: 10px 0;
    }

    .membership-intro > div > div.iframe-container {
        max-width: 465px;
        width: 100%;
        margin: 0;
    }

    .membership-title {
        font-size: 30px;
        margin-top: 30px;
    }

    .membership-price {
        font-size: 40px;
    }

    .veterinary-membership-benefits p,
    .gold-membership-benefits p,
    .silver-membership-benefits p,
    .membership-card p.advice-credit {
        font-size: 25px;
    }

    .membership-package-cta {
        flex-direction: column;
        margin-bottom: 70px;
    }

    .membership-package-cta div {
        text-align: center;
        margin-top: 30px;
    }

    .membership-package-cta img {
        margin-right: 0;
    }

    .membership-package-cta div a {
        margin: 30px auto 0;
    }

    .small-pagination-section {
        display: none;
    }

    .post-type-archive-event .main-content .pagination-container:last-child,
    .post-type-archive-sfwd-courses .main-content .pagination-container:last-child {
        justify-content: flex-start;
    }

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

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

    .page-register .registration-form .mp-form-row:nth-child(13) label span {
        color: transparent;
        font-size: 0;
    }

    .page-register .registration-form .mp-form-row:nth-child(13) label span::before {
        content: 'Reg.';
        color: #290a4e;
        font-size: 18px;
    }

    .page-register .mp-form-row.mepr_mepr_veterinary_registration_number .mp-form-label label span::after {
        content: 'Reg.';
        color: #290a4e;
        position: absolute;
        left: 0;
        font-size: 18px;
    }

    .page-register .mp-form-row.mepr_mepr_veterinary_registration_number .mp-form-label span {
        color: transparent;
        position: relative;
        margin-right: 3px;
        font-size: 6px;
    }

    .member-intro > img {
        margin-left: 20px;
    }

    .single-forum:not(.logged-in) #bbpress-forums.bbpress-wrapper li.bbp-body ul.forum, 
    .single-forum:not(.logged-in) #bbpress-forums.bbpress-wrapper li.bbp-body ul.topic {
        justify-content: space-between;
    }

    .single-forum:not(.logged-in) #bbpress-forums.bbpress-wrapper li.bbp-header ul.forum-titles {
        display: flex;
        justify-content: space-between;
    }

    .error404 section {
        width: 85%;
    }

    .error404 main img {
        height: 350px;
    }

    .forum li.bbp-topic-title {
        width: 60%;
    }

}

@media screen  and (min-width: 1000px) {
    .footer-bottom .sm-row p:last-child,
    .footer-bottom .footer-links p:last-child {
        position: absolute;
        bottom: 25px;
    }
}

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

    #car_3 {
        object-position: 75%;
    }

    .page-member-dashboard .wishlists div[class*="-preview"] >div:nth-child(2) p.emphasized {
        font-size: 30px;
    }

    .page-member-dashboard .grid.col-3 {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 0;
    }

    .page-member-dashboard .wishlists div[class*="-preview"] > div:last-child {
        max-width: none;
    }

    .page-member-dashboard .member-forum-preview .forum-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .page-member-dashboard .member-forum-preview .forum-grid .list,
    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview {
        grid-column: 1;
    }

    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview {
        grid-row: 2;
    }

    .bg-img {
        background-size: contain;
    }

    .request-advice, .bg-hover {
        height: 50px;
        width: 233px;
    }

    .request-advice p > span {
        display: none;
    }

    .request-advice p {
        font-size: 16px;
    }

    body.home {
        overflow-x: clip;
    }

    .header-top a > img {
        margin-left: -35px;
    }

    #searchsubmit {
        height: 50px;
        width: 50px;
    }

    .searchform div i {
        line-height: 50px;
    }

    .search-widget {
        order: 1;
        display: none;
        position: absolute;
        width: 100%;
        bottom: 25px;
        right: 20px;
    }

    .show-s {
        display: block;
    }

    .ht-h {
        height: 160px;
        border-bottom: 2px solid #6429ad;
    }

    .search-widget form {
        width: 100%;
    }

    .search-widget form div > div {
        top: 5px;
        left: 40px;
    }

    .search-widget form input#s {
        width: 93%;
        margin-left: 40px;
    }

    .search-expand {
        background-color: #61c0bc;
        height: 50px;
        width: 50px;
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        margin-left: 20px;
    }

    .search-expand::after {
        content: '\f002';
        font-family: 'Font Awesome 5 Pro';
        font-weight: 900;
        color: white;
        position: absolute;
        line-height: 50px;
        left: 16px;
    }

    .search-close {
        background-color: #6429ad;
        height: 50px;
        width: 50px;
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        margin-left: 20px;
    }

    .search-close::after {
        content: '\f00d';
        font-family: 'Font Awesome 5 Pro';
        font-weight: 900;
        color: white;
        position: absolute;
        line-height: 50px;
        left: 18px;
    }

    .footer-top {
        border-bottom: 10px solid #61c0bc;
    }

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

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

    .footer-bottom > .fluentform {
        margin-top: 30px;
    }

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

    .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;
    }

    .hero-carousel > span {
        border-bottom: 20px solid;
        height: 660px;
        border-image: linear-gradient(90deg, #6429ad, #61c0bc, #6429ad) 30;
        display: block;
        position: absolute;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
    }

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

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

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

    .forum-archive .group_filter.justified {
        flex-direction: column;
    }

    .group_filter.justified span {
        margin-bottom: 30px;
    }

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

    .group .group-meta > div > span:last-child {
        padding-left: 0;
    }

    .group .group-meta > div > span:last-child a {
        max-width: max-content;
    }

    .footer-bottom ._form-content {
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
      }

    .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) {
        justify-content: space-between;
        width: 85%;
    }

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

    .sticky-sidebar {
        position: relative;
        max-width: 100%;
    }

    .sidebar-element .event-programme {
        flex-direction: row;
        padding: 20px;
    }

    .sidebar-element .event-programme > i {
        margin-right: 30px;
    }

    .sidebar-element .event-programme > div:not(.programme) {
        text-align: left;
        margin-top: 0;
    }

    .single-sfwd-courses .learndash-wrapper .ld-item-list .ld-item-title {
        margin-right: 45px;
    }

    .page-register .mepr-form .have-coupon-link {
        height: max-content;
    }

    .single-forum #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness {
        width: 28%;
    }

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

    .footer-bottom .sm-row ul {
        justify-content: center;
    }
    
    .course-areas-wrapper ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-forum #bbpress-forums.bbpress-wrapper li.bbp-topic-subscribe {
        width: 20%;
    }

}

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

    .single-sfwd-courses .speakers {
        flex-wrap: nowrap;
    }

    .single-sfwd-courses .speakers > div {
        flex-basis: calc(100% / 2);
    }

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

    #bbpress-forums .bbp-header ul.forum-titles li:last-child {
        width: 20%;
    }

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

    h1,
    .text-xxl {
        font-size: 50px;
    }

    h2,
    h3,
    .general-membership-benefits div div h2  {
        font-size: 25px;
    }

    body,
    td,
    th {
        font-size: 16px;
    }

    .page-register .registration-form .mp-form-row:nth-child(13) label span::before,
    .page-register .mp-form-row.mepr_mepr_veterinary_registration_number .mp-form-label label span::after {
        font-size: 16px;
    }

    .page-register .mp-form-row.mepr_mepr_veterinary_registration_number .mp-form-label span {
        margin-right: 0;
    }

    .scroll-info p {
        width: 98%;
    }

    .single-forum .with-sidebar {
        flex-direction: column;
    }

    .single-forum #bbpress-forums h1 {
        text-align: center;
    }

    .single-forum:not(.logged-in) .sidebar {
        margin-bottom: 30px;
    }

    .single-forum:not(.logged-in) .sidebar,
    .single-forum:not(.logged-in) .breadcrumb-top {
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }

    .single-forum .sidebar > img {
        width: 100%;
    }

    .single-forum.logged-in .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
    }

    .single-forum.logged-in .sidebar .filter {
        grid-row: 2;
        grid-column: 1 / span 2;
    }

    .single-forum.logged-in .sidebar .add-topic-container {
        justify-content: space-evenly;
    }

    .single-forum.logged-in .sidebar > span {
        grid-row: 3;
        grid-column: 1;
    }

  /*   .add-topic-container {
        flex-direction: row;
    }
 */
    .add-topic-container span {
        margin: 0;
    }

    .single-topic .with-sidebar .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .single-topic .with-sidebar .sidebar .filter {
        grid-column-start: 1;
        grid-column-end: two;
    }

    .single-topic .with-sidebar .sidebar .add-topic-container {
        grid-column: 2;
        grid-row: 1;
        margin-left: 20px;
        justify-content: space-evenly;
        flex-direction: column;
    }
    
    .single-topic .with-sidebar .sidebar #subscription-toggle {
        grid-column: 1;
        grid-column-end: two;
    }

    .single-topic .with-sidebar .sidebar > a {
        grid-column: 1;
        width: max-content;
    }

    .member-intro {
        flex-direction: column-reverse;
    }

    .member-intro > div {
        width: 100%;
    }

    .member-intro > img {
        margin-left: 0;
        margin-top: 20px;
    }

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

    .single-webinar h1,
    .single-webinar .webinar-meta {
        text-align: center;
    }

    .page-register main form > div {
        flex-basis: calc(100%/2 - 15px);
    }

    .page-register main form > div:empty {
        display: none;
    }

    #mepr-account-subscriptions-table td:nth-child(4), 
    #mepr-account-subscriptions-table th:nth-child(4) {
        display: none;
    }

    .single-sfwd-courses .user_has_no_access .with-sidebar .tablet-sidebar {
        display: none;
    }

    .single-sfwd-courses .user_has_no_access .with-sidebar .sidebar {
        display: flex;
        justify-content: space-between;
    }

    .single-webinar .with-sidebar .sidebar {
        display: flex;
        justify-content: space-between;
        margin-bottom: 30px;
    }

    .single-webinar .with-sidebar .webinar-top-side {
        width: calc(100% / 2 - 10px);
        position: relative;
        margin-bottom: 0;
    }

    .single-webinar .sidebar > div > .sidebar-container {
        margin-bottom: 20px;
    }

    .single-webinar .with-sidebar .sidebar > div:last-child {
        margin-bottom: 0;
        width: 50%;
        margin-left: 20px;
    }

    .single-webinar .with-sidebar .sidebar .tablet-webinar-el > div:last-child {
        margin-bottom: 0;
    }

    .single-webinar:not(.logged-in) .with-sidebar .sidebar .tablet-webinar-el > div:last-child {
        height: 100%;
    }

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

    .single-event .tablet-sidebar > div:last-child {
        margin-bottom: 0;
    }

    .single-event .tablet-sidebar,
    .single-sfwd-courses .tablet-sidebar {
        display: flex;
        width: calc(100% / 2 - 20px);
        flex-direction: column;
        justify-content: space-between;
    }

    .single-event .tablet-sidebar > div {
        height: 100%;
    }

    .single-event .with-sidebar .sidebar .tablet-sidebar > .sidebar-container {
        padding: 20px;
    }

    .sidebar .event-programme .programme {
        align-self: flex-start;
    }

    .logged-out-enrol-container {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        margin-left: 10px;
        margin-top: 0;
    }

    .single-sfwd-courses .user_has_no_access .logged-out-enrol-container {
        width: 50%;
    }

    .sidebar > div .logged-out-enrol-container > div:last-child,
    .single-sfwd-courses .tablet-sidebar > div:last-child,
    .single-event .tablet-sidebar .goodie-bag {
        margin-bottom: 0;
    }

    .with-sidebar .sidebar > div:first-child {
        display: flex;
        justify-content: space-between;
    }
    
    .single-sfwd-courses .user_has_access .sidebar > div:nth-child(2),
    .single-sfwd-courses .user_has_access .sidebar > div:nth-child(3),
    .with-sidebar .sidebar .sidebar-element > .event-programme,
    .with-sidebar .sidebar .sidebar-element > a,
    .with-sidebar .sidebar .sidebar-element > div:nth-child(2) {
        display: none;
    }

    .single-event .with-sidebar .sidebar > div:first-child img {
        width: calc(100% / 2 - 10px);
        object-fit: cover;
        position: relative;
    }

    .single-sfwd-courses .user_has_access .with-sidebar .sidebar .sidebar-top {
        width: 50%;
        margin: 0;
    }

    .single-sfwd-courses .user_has_no_access .sidebar > div:first-child {
        width: 50%;
    }

    .single-sfwd-courses .user_has_no_access .sidebar > div .sidebar-top {
        width: 100%;
    }

    .with-sidebar .sidebar > div:first-child > div:first-child img {
        object-fit: cover;
        height: 100%;
    }

    .single .container .with-sidebar {
        flex-direction: column;
    }

    .single-sfwd-courses h1,
    .single-sfwd-courses .course-subtitle {
        text-align: center;
    }

    #car_1 {
        object-position: 72%;
    }

    #car_2 {
        object-position: 60%;
    }

    #car_3 {
        object-position: 80%;
    }

    .hero-text > h1:first-of-type {
        font-size: 30px;
    }

    .membership-list {
        width: 100%;
    }

    .absolute-sidebar {
        position: relative;
    }

    .single .with-sidebar .sidebar .sidebar-top {
        width: 85%;
        position: relative;
        margin: 0 auto;
        margin-bottom: 25px;
    }

    .single-event h1 {
        text-align: center;
    }

    #mpca-sub-accounts-table th,
    #mpca-sub-accounts-table td {
        padding: 5px;
    }

    .footer-bottom .fluentform form .ff-field_container + .ff-el-group .ff-el-input--content {
        margin-left: 25px;
    }
}

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

    .header-bottom,
    .footer-top {
        background: #6429ad;
    }

}

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

    #car_1 {
        object-position: 72%;
    }

    #car_2 {
        object-position: 60%;
    }

    #car_3 {
        object-position: 76%;
    }

    .single-sfwd-lessons #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness {
        width: 63%;
    }

    #bbpress-forums.bbpress-wrapper li.bbp-topic-freshness {
        width: 35%;
    }

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

    .page-member-dashboard .advice > span:nth-of-type(2) {
        margin-right: 20px;
    }

    .memb-group .member-radio-select h3 > span {
        display: none;
    }

    .memb-group .member-radio-select .radio-container:not(.order-1) h3::after {
        content: '/ year';
    }

    .memb-group .member-radio-select .order-1 h3::after {
        content: '/ month';
    }

    .memb-group:nth-of-type(9) .member-radio-select .radio-container h3::after  {
        content: '';
        display: none;
    }

    #mepr-account-subscriptions-table td:nth-child(5), 
    #mepr-account-subscriptions-table th:nth-child(5) {
        display: none;
    }

    .page-register .mepr-form .have-coupon-link {
        height: max-content;
    }

    .page-clinical-advice-requests main table td:nth-child(2) {
        display: none;
    }

    .my-orders tr td:first-child {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        margin-top: 10px;
    }

}

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

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

    .webinar-description {
        flex-direction: column;
        row-gap: 20px;
    }

    .webinar-description img {
        align-self: center;
    }
}

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

    .sidebar .event-map > .event-venue {
        flex-basis: 75%;
        text-align: center;
        margin-top: 0;
    }

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

    .page-member-dashboard .member-forum-preview .forum-grid {
        flex-direction: column;
    }

    .page-member-dashboard .member-forum-preview .forum-grid .list, 
    .page-member-dashboard .member-forum-preview .forum-grid #forum-preview {
        width: 100%;
    }

    .forum-archive .grid.col-3 {
        grid-template-columns: repeat(1, 1fr);
    }

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

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

    .page-member-dashboard div.certificate > div > div {
        width: auto;
        height: min-content;
        align-items: baseline;
    }

    .woocommerce #customer_details.col2-set {
        display: flex;
        flex-direction: column;
    }

    .woocommerce #customer_details.col2-set .col-1, 
    .woocommerce-page #customer_details.col2-set .col-1,
    .woocommerce #customer_details.col2-set .col-2, 
    .woocommerce-page #customer_details.col2-set .col-2 {
        float: none;
        width: 100%;
    }

    .page-order-summary .woocommerce-cart-form__contents td.actions button[name="update_cart"] {
        display: none;
    }

    .woocommerce table.shop_table_responsive tr:nth-child(2n) td, 
    .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td,
    .woocommerce table.shop_table td {
        background: none;
        border: none;
    }

    .woocommerce table.shop_table_responsive tr, 
    .woocommerce-page table.shop_table_responsive tr {
        height: auto;
    }

    .woocommerce-cart .woocommerce table.cart td.actions .coupon .button {
        width: auto;
        float: none;
    }

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

    #mepr-account-subscriptions-table td:nth-child(3), 
    #mepr-account-subscriptions-table th:nth-child(3) {
        display: none;
    }

    .main-content .card-element {
        flex-basis: calc(100%/2 - 10px);
    }

    .card-element div:last-child img {
        height: auto;
    }

   .page-member-dashboard .code-cta p {
      text-align: center;
   }

   .page-member-dashboard .code-cta p span {
       margin-top: 10px;
   }

    .page-member-dashboard .credit-cta > p > span:last-child {
        width: 70%;
    }

    .page-member-dashboard .credit-cta {
        flex-direction: column;
        align-items: center;
    }

    .page-member-dashboard .credit-cta > p {
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
    }

    .page-member-dashboard .credit-cta > p > span:last-child {
        text-align: center;
        width: 100%;
        margin-top: 10px;
    }

    #bbpress-forums.bbpress-wrapper li.bbp-forum-freshness {
        width: 18%;
    }

    .course_group h3::before {
        content: '';
    }

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

    #car_1 {
        object-position: 70%;
    }

    #car_2 {
        object-position: 65%;
    }

    #car_3 {
        object-position: 76%;
    }

    .hero-text > h1:first-of-type {
        font-size: 20px;
    }
    
    .about-col > h3 {
        text-align: center;
    }

    .hero-text > h2 + p {
        max-width: 400px;
    }

    .about-vtx-members {
        flex-direction: column-reverse;
    }
    
    .about-vtx-members .about-imgs {
        margin: 30px 0;
    }

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

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

    .tablet-sidebar .event-programme > div {
        margin-top: 10px;
    }

    .page-member-dashboard .advice {
        justify-content: space-between;
    }

    .page-member-dashboard .advice > span:first-child {
        text-align: center;
    }

    .page-member-dashboard .advice > span:nth-of-type(2) {
        display: none;
    }

    .page-member-dashboard .wishlists > div:first-child {
        margin-bottom: 30px;
    }

    .single-sfwd-courses .user_has_no_access .with-sidebar .sidebar {
        flex-direction: column;
        margin: 0 auto;
        width: auto;
        max-width: 540px;
    }

    .single-sfwd-courses .user_has_no_access .sidebar > div:first-child {
        width: 100%;
    }

    .single-sfwd-courses .user_has_no_access .sidebar .logged-out-enrol-container {
        margin-left: 0;
    }

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

    .single-event .with-sidebar .sidebar {
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
    }

    .single-event .main-content h1,
    .single-event .main-content p:first-of-type {
        width: auto;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }

    .single-event .tablet-sidebar {
        display: none;
    }

    .single-event .with-sidebar .sidebar .sidebar-element > .event-programme,
    .single-event .with-sidebar .sidebar .sidebar-element > div:nth-child(2) {
        display: flex;
    }

    .single-sfwd-courses .user_has_no_access .logged-out-enrol-container {
        width: 100%;
    }

    .single-sfwd-courses .with-sidebar .sidebar .sidebar-top {
        margin-bottom: 0;
    }

    .single-sfwd-courses .breadcrumb-top,
    .single-event .breadcrumb-top {
        max-width: 540px;
        margin: 0 auto 40px;
    }

    .single-sfwd-courses .user_has_access .with-sidebar .sidebar {
        max-width: 540px;
        margin: 0 auto;
        width: auto;
    }

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

    .single-sfwd-courses .tablet-sidebar {
        display: none;
    }
    
    .single-sfwd-courses .with-sidebar .sidebar > div:nth-child(2),
    .single-sfwd-courses .with-sidebar .sidebar > div:nth-child(3) {
        display: flex;
    }

    .single-sfwd-courses .learndash-wrapper .ld-tabs,
    .single-sfwd-courses .learndash-wrapper h1,
    .course-sponsor {
        margin: 0 auto;
        max-width: 540px;
    }

    .header-bottom {
        flex-direction: column;
    }

    .header-bottom ul#menu-user-menu,
    .header-bottom ul#menu-logged-in-user-menu {
        display: none;
    }

    .header-bottom #menu-user-menu.show-menu,
    .header-bottom #menu-primary-menu.show-menu,
    .header-bottom ul#menu-logged-in-user-menu.show-menu {
        display: flex;
        flex-direction: column;
        height: auto;
        align-items: center;
        position: relative;
        margin-top: 0;
    }
}

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

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

    .woocommerce-cart table.cart td.actions .coupon .input-text {
        min-width: auto;
        width: 100%;
        margin-bottom: 15px;
    }

    .woocommerce-page table.cart td.actions .coupon .button {
        width: 100%;
    }

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

    .footer-menu ul li a {
        width: 120px;
    }

    .header-bottom ul li {
        width: 115px;
    }

    .header-bottom .header-user-menu ul li {
        width: auto;
    }

    #car_1 {
        object-position: 76%;
    }

    #car_2 {
        object-position: 69%;
    }

    #car_3 {
        object-position: 80%;
    }

    .hero-text {
        padding-top: 130px;
    }
    
    .hero-text h1,
    .hero-text h2 {
        width: 300px;
    }

    .hero-text > div a {
        margin-bottom: 20px;
    }

    .general-membership-benefits div div {
        width: 100%;
    }

    .general-membership-benefits div div h2 {
        max-width: none;
    }

    .single-webinar .breadcrumb-top {
        max-width: 540px;
        margin: 0 auto 40px;
    }
    
    .single-webinar .with-sidebar .sidebar,
    .single-webinar .main-content h1,
    .single-webinar .main-content p:nth-of-type(2) {
        flex-direction: column;
        width: auto;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }

    .single-webinar .with-sidebar .sidebar > div:last-child {
        width: 100%;
        margin-left: 0;
    }

    .single-webinar .main-content h1,
    .single-webinar .main-content p:first-of-type {
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }

    .single-webinar .with-sidebar .webinar-top-side {
        margin-bottom: 25px;
    }

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

    .single-webinar .sidebar-container.certificate::before,
    .single-sfwd-courses .sidebar-container.certificate::before {
        margin-left: 0;
    }

    .single-webinar .sidebar-container.certificate {
        justify-content: center;
    }

    .pagination-section .navigation .page-numbers  {
        display: none;
    }

    .pagination-section .navigation .page-numbers.current,
    .pagination-section .navigation .page-numbers.current + .page-numbers,
    .pagination-section .navigation .page-numbers.current + .page-numbers + .page-numbers {
        display: flex;
    }

    .pagination-section .navigation .page-numbers:last-child {
        position: relative;
        margin-left: 25px;
    }

    .pagination-section .navigation a.page-numbers.prev {
        position: relative;
        margin-right: 25px;
    }

    .pagination-section .navigation .page-numbers:last-child::before {
        content: '...';
        display: inline-block;
        position: absolute;
        left: -28px;
        bottom: 0;
        font-size: 22px;
    }

    .pagination-section .navigation a.page-numbers.prev::after {
        content: '...';
        display: inline-block;
        position: absolute;
        right: -28px;
        bottom: 0;
        font-size: 22px;
    }

    .pagination-section .navigation.first-page .nav-links::before {
        margin-left: 0;
    }

    .hero-text > div:last-child > a > span:first-child {
        display: none;
    }

    .hero-text > div:last-child > a > span:last-child {
        display: block;
    }

}

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

    .hero-text {
        padding-top: 110px;
    }

    .hero-carousel {
        display: none;
    }

    .hero-carousel-mobile {
        display: block;
        position: relative;
        left: 0;
        max-width: 100%;
    }

    .hero-carousel-mobile img {
        position: absolute;
        top: 0;
        width: 100vw;
        height: 570px;
        object-fit: cover;
        left: -20px;
        animation: fade 15s infinite;
    }

    .hero-carousel-mobile #car_m_1 {
        animation-delay: 10s;
        object-position: 92%;
    }

    .hero-carousel-mobile #car_m_2 {
        animation-delay: 5s;
        object-position: 88%;
    }

    .hero-carousel-mobile #car_m_3 {
        animation-delay: 0s;
        object-position: 65%;
    }

    @keyframes fade {
        0%   { opacity: 0; }
        13.33%   { opacity: 1; }
        40%  { opacity: 1; }
        53.33%  { opacity: 0; }
        100% { opacity: 0; }
    }

    .hero-text {
        padding-top: 40px;
        height: 570px;
    }

    .hero-text > div {
        margin-top: 55px;
        flex-direction: row;
    }

    .hero-text h1 {
        width: auto;
    }

    .hero-text > div:last-child > a > span:first-child {
        display: none;
    }

    .hero-section::before {
        height: 570px;
    }

    .hero-carousel-mobile > span {
        border-bottom: 20px solid;
        height: 590px;
        border-image: linear-gradient(90deg, #6429ad, #61c0bc, #6429ad) 30;
        display: block;
        position: absolute;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
    }

    .single-sfwd-lessons .learndash-wrapper .ld-content-actions {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .single-sfwd-lessons .ld-content-action .ld-button {
        white-space: nowrap;
    }

    .single-sfwd-lessons .learndash-wrapper .ld-content-actions .ld-content-action:nth-child(2) {
        white-space: nowrap;
        background-color: transparent;
        position: relative;
        max-width: none;
        align-items: flex-end;
        order: 1;
        flex-basis: 100%;
        margin-top: 20px;
    }

    .ld-content-actions > .ld-custom-spacer,
    .ld-custom-spacer {
        height: 0;
        position: absolute;
    }

    .woocommerce-privacy-policy-text > p:first-child {
        margin-bottom: 15px;
    }

    .woocommerce-cart table.cart td.actions .coupon .input-text {
        margin-right: 0;
    }

    .my-acc-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .my-acc-title > h1 {
        margin-bottom: 15px;
    }

    .single-topic .breadcrumb-top,
    .single-topic .main-content h1,
    .single-forum .breadcrumb-top,
    .single-forum .main-content h1 {
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }

    .single-topic .main-content h1,
    .single-forum .main-content h1 {
        text-align: center;
    }

    .single-topic .with-sidebar .sidebar,
    .single-forum .with-sidebar .sidebar {
        display: block;
        max-width: 540px;
        margin: 0 auto 30px;
    }

    .single-topic .with-sidebar .sidebar > *,
    .single-forum .with-sidebar .sidebar > * {
        width: 100%;
    }

    .single-topic .with-sidebar .sidebar .add-topic-container,
    .single-forum .with-sidebar .sidebar .add-topic-container {
        margin-left: 0;
        flex-direction: row;
    }

    .single-topic .with-sidebar .sidebar > a {
        display: block;
    }

    .single-event .tablet-sidebar {
        display: none;
    }

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

    #mpca-sub-accounts-table td:nth-child(2) {
        word-break: break-all;
    }

    body #cookie-notice .cookie-notice-container {
        justify-content: space-between;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    #cookie-notice .cookie-notice-container .cn-button {
        margin-top: 10px;
    }
    
    .error404 main {
        height: auto;
    }

    .error404 main section h1 {
        margin-top: 40px;
    }

    .error404 main section p,
    .error404 section {
        width: 100%;
    }

    .error404 main img {
        position: relative;
        margin-top: 30px;
        margin-bottom: -80px;
        bottom: auto;
        display: block;
    }

    .course-areas-wrapper ul {
        grid-template-columns: repeat(1, 1fr);
    }
}