@media print {
    html, body 
    {
        height: auto;
    }

    body,
    main,
    #content {
        background-color: transparent !important;
    }

    #content {
        min-height: auto;
    }

    .breadcrumbnavigation,
    #breadcrumbs,
    .sponsor,
    .primary,
    header,
    #topButton, 
    #print,
    .Actions, 
    #Form_CommentsForm, 
    h4.CommentTitle, 
    h2.lesson, 
    .searchResults #PageNumbers, 
    #topButton, 
    .subnav,
    #pageNav,
    .sidebar, 
    .sidebar-video,
    .panel-image,
    .panel-text h2 .fa-chevron-right,
    .pagination,
    .paginationDated,
    .accordion-controls,
    .ui-icon,
    .searchMembers,
    .searchDrawings,
    .searchClassings,
    .classButton,
    input[type="text"].show-full,
    .edit-remove,
    .RegisterButton,
    .unitPrev,
    .unitNext,
    .unitNext1 {
        display: none !important;
    }

    body>*:not(main) {
        display: none;
    }
    .ui-accordion-content{
        display:block!important;
    }

    blockquote, img, pre, tr {
        page-break-inside: avoid;
    }

    * {
        background: 0 !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        filter: none !important;
        -ms-filter: none !important;
    }

    a, a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " ("attr(href) ")";
    }

    abbr[title]:after {
        content: " ("attr(title) ")";
    }

    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
        content: "";
    }

    a.logo[href]:after, a img[href]:after {
        display: none;
    }

    thead {
        display: table-header-group;
    }

    img {
        max-width: 100% !important;
    }

    pre {
        border: 1px solid #999;
    }

    h1 {
        font-size: 2rem !important;
        line-height: normal;
        width: 100%;
        float: none;
        display: block;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    h3 {
        font-size: 1.4rem !important;
    }

    h2, h3, p {
        orphans: 3;
        widows: 3;
    }

    p, li {
        font-size: 100%;
        color: #000000;
    }

    li,
    li::before,
    li::after {
        color: #000000;
    }

    main, 
    .main {
        border: none;
        border-top: none;
    }

    #teachers h1, #teach h1, #resources h1, #tips h1, #learners h1, #article-page h1, #page h1, #projectTeam h1, .searchResults h1 {
        border-top: none;
        border-right: none;
        padding-left: 0;
    }

    #teachers, #teach, #resources, #tips, #learners, #teachers .section, #teach .section, #resources .section, #tips .section, #teachers .content .sub-section,
    #teach .content .sub-section, #resources .content .sub-section, #tips .content .sub-section, #article-page, #page, #projectTeam,
    #article-page article, #profile-page article, #page article, #projectTeam article, .searchResults, .searchResults article {
        border-top: none;
        width: 100%;
        border-right: 0;
        break-before: avoid;
    }

    #teachers .content, #teach .content, #resources .content, #tips .content, #learners .content {
        padding-left: 0;
        border-right: none;
    }

    .sub-section2, #teachers .content .sub-section .section {
        width: 100%;
    }

    .unit {
        padding: 0;
    }

    .home {
        margin-top: 0;
    }

    .home .content {
        float: none;
        width: 100%;
    }

    .content,
    .UserDefinedForm #page .content {
        width: 100%;
        float: none;
        display: block;
        margin-top: 20px;
        max-width: none;
        break-before: avoid;
    }

    .content .content-left {
        width: 100%;
        float: none;
        border-right: none;
        display: block;
        padding: 0;
        break-before: avoid;
    }

    .main .links {
        margin: 0;
        padding: 0;
        position: relative;
        border: none;
        display: block;
        font-weight: 400;
        font-size: 100%;
    }

    .main .links span {
        color: #333;
        font-size: 100%;
        padding-left: 0;
        margin-left: 0;
    }

    article,
    .UserDefinedForm article {
        border: none !important;
        border-radius: 0;
        background-color: transparent;
        box-shadow: none;
        break-before: avoid;
    }
    .ui-accordion .ui-accordion-header {
        border: none !important;
        border-radius: 0 !important;
        background-color: transparent !important;
        padding: 0;
        break-before: avoid;
    }
    .ui-accordion .ui-accordion-content {
        border: none !important;
        border-radius: 0 !important;
        background-color: transparent !important;
        padding: 0 0 20px !important;
        break-before: avoid;
        font-size: 100%;
    }

    .element {
        break-before: avoid;
    }

    form,
    .userform {
        break-before: avoid;
    }

    #Form_ContactForm .main {
        border-bottom: none;
    }

    .post-summary,
    .panel,
    .panel a {
        display: block;
    }

    .panel-text {
        display: block;
        border: none !important;
        background-color: transparent;
        padding: 10px 0;
    }

    .page-break-before {
        display: block;
        page-break-before: always;
    }

    .RegistryPage .profileWrap {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: left;
        margin: 40px auto 0;
        text-align: center;
        width: 100%;
    }

    .RegistryPage .profileMember {
        width: 200px;
    }

    .mainClass {
        display: block;
        margin: 0;
        padding: 0;
    }
    .classListings {
        background-color: transparent;
        border: none !important;
        box-shadow: none;
        display: block;
        margin: 0;
        padding: 0 0 40px 0 !important;
        width: 100%;
        break-before: avoid;
    }
    .classContent {
        background-color: transparent;
        border: none !important;
        box-shadow: none;
        display: block;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .ClassListingPage article h1 {
        padding-left: 0;
    }
    .classListings svg {
        color: #000000;
        display: none;
    }
    .ClassListingPage .classWrap {
        padding: 0;
    }

    .classListings h2, 
    .classListings h3, 
    .classListings p {
        line-height: normal;
        width: 100%;
        float: none;
        display: block;
    }

    .classListings .classDate p,
    .classListings .CoEmail, 
    .classListings .CoPhone,
    .classListings .CoTutor,
    .classListings .CoWeb {
        float: none !important;
        display: block;
        clear: both !important;
        width: 100%;
        text-align: left !important;
    }

    #learners .remember .links {
        display: block;
        clear: both:
    }
}