:root {
    --aacd-orange: #ff6d22;
    --aacd-blue: #005abb;
    --aacd-grey: #5e6a71;
    --aacd-darker-grey: #4b5257;
    --aacd-purple: #a360bf;
    --text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

html {
    font-size: 16px;
    background: #FFFFFF;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

body {
    color: var(--aacd-darker-grey);
    font-size: 1rem;
}

#warning0, #warning1, #warning2, #warning3, #warning4, #warning5, #warning6, #warning7, #warning8, #warning9, #warning10,
#notice0, #notice1, #notice2, #notice3, #notice4, #notice5, #notice6, #notice7, #notice8, #notice9, #notice10 
{
    display: none;
    /* position: fixed;
    top: 4rem;
    right: 0;
    width: 100%;
    max-width: 300px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 0;     */
}
button[data-notify="dismiss"] {
    display: none;
}

.contentBody {
    font-size: 1rem;
}

footer.footer {
    padding: 1.3rem 0 .5rem;
}

.core_headerlinks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
    list-style: none;
    padding: .25rem;
    margin: 0;
    background-color: #dbdbdb;
    color: #383838;
    font-size: .8rem;
    width: 100%;
}
.core_headerlinks a {
    color: #383838;
}

footer.footer h2 {
    margin-bottom: 2rem;
}

footer.footer h3 {
    color: var(--aacd-orange);
    font-size: 1.2rem;
    margin-bottom: 0;
}
footer.footer h4 {
    color: var(--aacd-blue);
    font-size: 1rem;
}


/* Start of core tools */
.aacd_button {
    text-transform: uppercase;    
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    max-width: calc(350px - 2rem);
}
.aacd_button:focus {
    text-decoration: none;  
}
.aacd_button:after {
    content: "\00BB";   
    font-size: 1.7em;
    line-height: 0em;
    color: var(--aacd-orange);
    vertical-align: middle;
    margin-top: -4px;   
}
.aacd_button:hover {
    text-decoration: none;
}
.aacd_button.outline_white {
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}
.aacd_button.solid_white {
    background-color: #FFFFFF;
    color: var(--aacd-orange);
    border: none;
}
.aacd_button.outline_grey {
    color: var(--aacd-grey);
    border: 1px solid var(--aacd-grey);
}
.aacd_button.solid_grey {
    background-color: var(--aacd-grey);
    color: #ffffff;
    border: none;
}
.aacd_button.outline_blue {
    color: var(--aacd-blue);
    border: 1px solid var(--aacd-blue);
}
.aacd_button.solid_blue {
    background-color: var(--aacd-blue);
    color: #ffffff;
    border: none;
}
.aacd_button.outline_orange {
    color: var(--aacd-orange);
    border: 1px solid var(--aacd-orange);
}
.aacd_button.solid_orange {
    color: #FFFFFF;
    background-color: var(--aacd-orange);
    border: 1px solid var(--aacd-orange);
}
.aacd_button.solid_orange:after {
    color: #FFFFFF;   
}
.aacd_button.bold {
    padding: .5rem 1.3rem;
    font-weight: 500;
    border-width: 2px;
}

.shadow {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}


.border_orange {
    border: 4px solid var(--aacd-orange)  !important;
}

.border_blue {
    border: 4px solid var(--aacd-blue) !important;
}

.aacd_text_orange {
    color: var(--aacd-orange)  !important;
}

.aacd_text_blue {
    color: var(--aacd-blue) !important;
}

.aacd_text_grey {
    color: var(--aacd-grey) !important;
}

.aacd_text_dark_grey {
    color: var(--aacd-darker-grey) !important;
}

.aacd_background_grey {
    background-color: var(--aacd-grey) !important; 
}

.flex_it {
    display: flex;
    column-gap: 1.3rem;
}



/* navigation stuff */ 
.aacd_navigation_container, .aacd_navigation_container > ul, .aacd_navigation_container > ul > li, .aacd_navigation_container > ul > li > a {
    height: 100%;
}

.aacd_navigation_container > ul > li > a .menu_title {
    display: flex;
    height: 100%;
    align-items: center;
}

.aacd_navigation_container > ul > li.children:hover > ul, .aacd_navigation_container > ul > li.children > ul:hover {
    display: block !important;
}

.aacd_navigation_container > ul > li.children > ul {
    display: block;
    position: absolute;
    top: 45px;
    color: var(--aacd-darker-grey);
    background: rgba(94, 106, 113, 0.9); 
    border-radius: 0 0 .4rem .4rem;
    z-index: 10;
}

.aacd_navigation_container > ul > li.children > ul > li a {
    padding: .25rem .5rem;
    padding: .4rem 1rem;
    display: block;
}

.aacd_navigation_container > ul > li.children > ul > li a:hover {
    background: rgba(94, 106, 113, 1);
}

.aacd_navigation_container > ul.first-level > li.last_item {
    background-color: var(--aacd-orange);
    padding: 0 .5rem;
    font-weight: 500;
    background-image: url('/custom/AACD/images/MainLayout/FindaDentist.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.aacd_navigation_container > ul.first-level > li.last_item:hover {
    background-image: none;    
}



/* home page header specific */

#aacd_home_header {
    position: relative;
}

#aacd_header_content_container {
    background-color: rgba(94, 106, 113, 0.75);  /* --aacd-grey with opacity */
    color: #FFFFFF;   
    padding: 1.3rem 0;
}

img.aacd_header_logo {
    display: block;
    max-width: 220px;
    width: 90%;
    margin: auto;
    margin-bottom: 1.3rem;
}

#aacd_home_menus {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 0 1rem .7rem;
    gap: .75rem;
}

#aacd_home_menus nav:last-child {
    height: 15px;
}

.aacd_home_menu_left {
    display: flex; 
    align-items: center;
    gap: 1rem;
    justify-content: space-around;
}

.aacd_home_menu_left a {
    color: #FFFFFF;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.aacd_home_menu_left a::before {
    content: "\00BB";   
    font-size: 1.7em;
    line-height: 0em;
    color: var(--aacd-orange);
    display: inline-block;
    vertical-align: middle;
    margin-top: -4px;
}

.hamburger {
    display: inline-block;
    width: 30px;
    position: relative;
    cursor: pointer;
}

.hamburger div {
    background-color: #FFFFFF;
    height: 1px;
    width: 100%;
    margin: 6px 0;
    border-radius: 1px;
}
.hamburger div:first-child {
    margin-top: 0;
}
.hamburger div:last-child {
    margin-bottom: 0;
}

.mobile_menu_exit_button {
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
    opacity: 0.8;
    z-index: 999;
}

.mobile_menu_exit_button:hover {
    opacity: 1;
}
.mobile_menu_exit_button:before, .mobile_menu_exit_button:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #fff;
}
.mobile_menu_exit_button:before {
    transform: rotate(45deg);
}
.mobile_menu_exit_button:after {
    transform: rotate(-45deg);
}


.aacd_home_video.mobile_only {
    border-top: 4px solid var(--aacd-blue);
    width: 100%;
    margin-bottom: 1.3rem;
}
.aacd_home_video.desktop_only {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aacd_home_heading {
    color: #FFFFFF;
    text-align: center;
    margin-left: .75rem;
    margin-right: .75rem;
    /* text-shadow: var(--text-shadow); */
}
h1.aacd_home_heading {
    font-size: 1.2rem;
    margin-bottom: 0;
}
h2.aacd_home_heading {
    font-size: 1rem;
    margin-bottom: 1.3rem;
    font-weight: 400;
}

.aacd_home_heading.desktop_only {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: var(--text-shadow);
}
h1.aacd_home_heading.desktop_only {
    font-size: 1.5rem;
}
h2.aacd_home_heading.desktop_only {
    font-size: 1.3rem;  
    margin-bottom: 2rem;
}

.aacd_home_header_buttons {
    max-width: 350px;
    margin: auto;
    margin-bottom: .5rem;
}

.aacd_home_header_buttons .aacd_button {
    margin: 0 1rem  1rem;
}
.aacd_home_header_buttons .aacd_button:last-child {
    margin-bottom: 0;
} 

#desktop_nav_container {
    position: absolute;
    top: 0;
    left: 0;
    height: 45px;
    width: 100%;
    background: rgba(94, 106, 113, 0.6);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}


#desktop_nav ul, #internal_nav ul {
    list-style: none; 
    margin: 0;
    padding: 0;
}

#desktop_nav > ul, #internal_nav > ul  {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#desktop_nav > ul ul, #internal_nav > ul ul {
    display: none;
} 

#desktop_nav a, #internal_nav a {
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .95rem;
}

#aacd_internal_header {
    height: 45px;
    width: 100%;
    background-color: var(--aacd-grey);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    justify-content: end;
}

.aacd_content_section {
    padding-top: 1.3rem;
    padding-right: 1rem;
    padding-left: 1rem;
}

.aacd_content_section:last-child {
    padding-bottom: 1rem;
}

.aacd_content_section h2 {
    font-size: 2.2rem;
    font-weight: 400;  
    color: var(--aacd-darker-grey);
    margin-bottom: 1.3rem;
}

.aacd_content_section img {
    width: 100%;
    margin-bottom: 1.3rem;
}

.aacd_content_section > *:last-child {
    margin-bottom: 0 !important;
}

#aacd_home_who_we_are .flex_it {
    align-items: start;
}

#aacd_home_who_we_are .flex_it img {
    width: 30%;
}


#aacd_home_who_we_are .list_container {
    padding: 3rem;
}

#aacd_home_who_we_are ul {
    font-size: 1.5rem;
    margin-bottom: 1.3rem;
    text-transform: uppercase;
    font-weight: 400; 
    padding: 0;
    margin-left: 1rem;
}

#aacd_home_who_we_are ul li {
    margin-bottom: 1rem;
}

#aacd_home_who_we_are ul li::marker {
    color: var(--aacd-blue);
}


#aacd_home_who_we_are ol {
    list-style: none; 
    counter-reset: num; 
    font-size: 1.7rem;
    margin-bottom: 1.3rem;
    text-transform: uppercase;
    font-weight: 400;
    padding: 0;
}

#aacd_home_who_we_are ol li {
    counter-increment: num; 
    margin-bottom: .75rem;
    position: relative;
    padding-left: 3rem;
}

#aacd_home_who_we_are ol li:before {
    content: ".0" counter(num);   
    color: var(--aacd-blue);  
    font-size: 1em;
    font-weight: 500;
    position: absolute;
    left: 0;
    top: .1rem;
    width: 2.5rem; 
}

#aacd_home_who_we_are .aacd_button {
    margin-left: auto;
    margin-right: auto;
}

#aacd_home_our_people p {
    font-size: 1.3rem;
    margin-bottom: 1.3rem;
}
#aacd_home_our_people p a {
    color: var(--aacd-grey);
}

#aacd_home_our_people img {
    margin-bottom: 1.3rem;
}

#aacd_home_our_people .aacd_button {
    margin: 0 auto 1rem;
}

#aacd_home_our_people .flex_it > div:last-child {
    position: relative;
}

#aacd_home_our_people .flex_it > div:last-child .img_wrapper {
    /* cursor: pointer; */
    position: relative;
    max-height: 275px;
    margin-bottom: 1.3rem;
    overflow: hidden;
}

#aacd_home_our_people .flex_it > div:last-child .img_wrapper img {
    margin-top: -40px;
}

#aacd_home_our_people .flex_it > div:last-child .img_wrapper:after {
    /* content: "\f144";  */
    font-family: "FontAwesome";
    font-size: 3.5rem; 
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* pointer-events: none; */
}


#aacd_home_our_people .flex_it > div {
    width: 100%;
}

#aacd_home_registration {
    position: relative;
    text-align: center;
    background-image: url('/proxy/images/registration_bg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgb(189 165 144 / 90%);
    background-blend-mode: color-dodge;
    margin-top: 2rem;
    padding-bottom: 1.3rem;
}

#aacd_home_registration p {
    color: #000000;
    font-size: 1.3rem;
    font-weight: 500;
}
#aacd_home_registration h3 {
    font-size: 2rem;
    font-weight: 700;
}

#aacd_home_registration .aacd_button {
    margin: 0 auto 1.3rem;
    border-radius: 7px;
    padding: .5rem;
    max-width: 100%;
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 500px;
}
#aacd_home_registration .aacd_button:after {
    content: "";
}

#aacd_home_registration .aacd_button.registration_downloads {
    display: block;
    text-align: center;
    line-height: 1.1em;
    padding: .5rem .75rem;

    position: absolute;
    bottom: -1.3rem;
    left: 50%;
    translate: -50% 0;
    width: 90vw;
    max-width: 700px;
}
#aacd_home_registration .aacd_button.registration_downloads small {
    text-transform: unset;
    font-weight: 100;
}

#aacd_home_registration > div {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 3rem;
}

#aacd_home_registration > div img {
    width: 50%;
}


#aacd_home_community {
    padding-left: 0;
    padding-right: 0;
}

#aacd_home_community h2 {
    padding-left: 1rem;
    padding-right: 1rem;
}

#aacd_home_community {
    background-image: url('/proxy/images/community_bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(145, 145, 145, 0.9);
    background-blend-mode: color-dodge;
    margin-bottom: 1.3rem;
    margin-top: 2rem;
}

#aacd_home_community .inner_container {
    padding: 1rem 0;
}
#aacd_home_community .inner_container .images_container {
    margin-bottom: 1rem; 
    padding-left: 1rem; 
    padding-right: 1rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 1rem;
}

#aacd_home_community .inner_container .images_container img {
    width: 50%;
}

#aacd_home_community .inner_container .community_banner {
    padding: 1.2rem 1rem;
    background-color: rgba(82, 82, 82, 0.75);
    margin-bottom: .75rem;
}

#aacd_home_community .inner_container .community_banner:last-child {
    margin-bottom: 0;
}

#aacd_home_community .inner_container .community_banner:after {
    /* content: "Read More...";
    color: var(--aacd-orange);
    text-align: right;
    display: block; */
}

#aacd_home_community .inner_container .community_banner:nth-child(odd) {
    background-color: rgba(94, 106, 113, 0.75);
}

#aacd_home_community .inner_container .community_banner h5 {
    color: #fff; 
    font-size: 1.2rem;  
    margin-bottom: .25rem; 
}

#aacd_home_community .inner_container .community_banner p {
    color: #fff;  
    font-size: 1rem;
    margin-bottom: .25rem;   
    font-weight: 100;
}


/** newsroom stuff **/

.aacd_express_preview {
    padding: 1rem 0; 
}

.aacd_express_preview h3 {
    font-size: 1.4rem;
    font-weight: 100;
    margin-bottom: .25rem;
}

.aacd_express_preview h4 {
    text-transform: uppercase;
    color: var(--aacd-orange);  
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.aacd_express_preview img {
    margin-bottom: .5rem;
}

.aacd_express_preview .aacd_button {
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
}

#aacd_home_newsroom .express_container {
    display: flex;
    gap: 1.5rem;
}


#aacd_home_newsroom .express_container .aacd_express_preview {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
}

#fotter_banner {
    display: flex;
    gap: 1.3rem;
    padding: 0;
    justify-content: space-between;
}

#fotter_banner img {
    width: 100%;
}

#fotter_banner > div {
    flex-basis: 25%;
}

#footer_details {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#footer_details h2 {
    font-weight: 100;
}

#footer_details > div {
    flex-basis: 50%;
}

#footer_details .aacd_button {
    margin: auto;
}

#footer_details a {
    color: var(--aacd-grey);
    font-size: .9rem;
    text-decoration: none;
}

.aacd_intenal_page_header {
    /*
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.aacd_intenal_page_header img {
    /*
    width: 100%;
    */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: flex;
    align-items: center;
}

.aacd_intenal_page_header .content_container {
    z-index: 1;
    /* width: 100%; */
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}


.aacd_intenal_page_header .content_container > h1 {
    text-align: center;
    font-size: 2.7rem;
}
.aacd_intenal_page_header .content_container > h1 span, .aacd_intenal_page_header .content_container > h2 span {
    font-weight: 600;
}
.aacd_intenal_page_header .content_container > h2 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    letter-spacing: .1rem;
}
.aacd_intenal_page_header .content_container > .aacd_button {
    margin-left: auto;
    margin-right: auto;
}



/** INTERNAL PAGES **/ 
.aacd_internal_page_conttent {
    padding: 2rem 0;
}
.aacd_internal_page_conttent:last-child {
    padding: 0;
}
.aacd_internal_page_conttent:first-child {
    padding-top: 2rem !important;
}

.aacd_internal_page_conttent h2 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 1.3rem;
}
.aacd_internal_page_conttent h2 span.aacd_text_orange {
    font-weight: 600;
}
.aacd_internal_page_conttent h3 {
    font-size: 1.5rem;
}
.aacd_internal_page_conttent img {
    width: 100%;
}

/* default link style */
/* we need to make sure to update the newroomEditor.css file as well so the iframe editor is styld the same */
.aacd_internal_page_conttent a:not(.aacd_button), 
#newsroom_container a:not(.aacd_button)
{
    color: var(--aacd-orange);
    font-weight: 600;
}

.aacd_internal_page_conttent b,
.aacd_internal_page_conttent strong {
    font-weight: 600;    
}

.aacd_internal_content_top {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.aacd_internal_content_top > div:first-child {
    width: 40%;
}

.aacd_internal_content_top > div:last-child {
    flex-grow: 1;
    text-align: center;
}

/** MEMBER PORTAL STUFF **/
#member_portal_container {
    padding: 1.5rem 0;
}
#member_portal_container > h1 {
    text-align: center;
    font-size: 2.7rem;
}
#member_portal_container > h1 span.aacd_text_blue {
    font-weight: 600;
}
#member_portal_container > h2 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    letter-spacing: .1rem;
}
#member_portal_container a.aacd_button {
    margin: 0 auto 1.3rem;
}
#aacd_portal_user_container {
    background-color: #072a59;
    color: #ffffff;
    margin-bottom: 1rem;
}
#aacd_portal_user_container .image_container {
    padding: .75rem;
    width: 100%;
    max-width: 300px;
}
#aacd_portal_user_container .image_container img {
    width: 100%;
}
#aacd_portal_user_container .inner_top_container {
    display: flex;
    align-items: stretch;
}
#aacd_portal_user_container .greeting_container {
    background-color: #FFFFFF;
    padding: 1.3rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}
#aacd_portal_user_container .greeting_container img {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto 1.3rem;
}
#aacd_portal_user_container .greeting_container h3 {
    font-size: 2rem;
}
#aacd_portal_user_container .inner_bottom_container {
    padding: 1.3rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 300;
    display: flex;
    column-gap: 4rem;
    flex-wrap: wrap;
}
#aacd_portal_user_container .inner_bottom_container strong {
    font-weight: 500;    
}


#aacd_portal_links_container {
    padding: 1.3rem;
    color: #FFFFFF;
    background-color: rgba(94, 106, 113, 0.75);
    margin-bottom: 1.3rem;
}
#aacd_portal_links_container h4 {
    text-transform: uppercase;
    text-align: center;
    color: #FFFFFF;
    font-weight: 400;
    margin-bottom: 1rem;
}
#aacd_portal_links_container .inner_container {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 1rem;
}
#aacd_portal_links_container .inner_container a {
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    text-align: center;
    padding: .5rem;
    text-decoration: none;
    flex: 0 0 calc(50% - 1rem); 
    display: block; 
    text-transform: uppercase;
    font-weight: 300;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#aacd_portal_grid_display {
    display: flex;
    flex-wrap: wrap;    
}
#aacd_portal_grid_display > div {
    flex: 0 0 50%;
    aspect-ratio: 1 / 1;
    background-color: rgba(94, 106, 113, 0.75);
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
#aacd_portal_grid_display > div h3 {
    font-weight: 400;
}

#aacd_portal_grid_display .bg_white {
    background-color: #FFFFFF !important;
}
#aacd_portal_grid_display .aacd_text_orange {
    font-weight: bold;
}

ul.topbar {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.topbar li.title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--aacd-blue) !important;
    line-height: 1.2;
    margin-bottom: 1.3rem;
}

.ctg_primary_header {
    font-size: 1.5rem;
    font-weight: 500;  
    color: var(--aacd-blue) !important; 
    line-height: 1.2;
    margin-bottom: 1.3rem;
}


@media (max-width: 1270px) {
    #aacd_home_who_we_are .list_container {
        padding: 2rem;
    }
    #aacd_home_who_we_are ol {
        font-size: 1.5rem;
    }
}
@media (max-width: 1112px) {
    #aacd_home_who_we_are .list_container {
        padding: 1rem;
    }
    #aacd_home_who_we_are ol {
        font-size: 1.2rem;
    }
}

@media (min-width: 991px) {

    .mobile_only {
        display: none !important;   
    }

    #aacd_home_header {
        display: flex;
        align-items: stretch;
        min-height: 100svh;
    }

    #aacd_header_content_container {
        width: 350px;
        padding-left: 1.3rem;
        padding-right: 1.3rem;
        margin-top: 45px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 1;
    }

    .aacd_content_section {
        padding-top: 2rem;
      
    }

    #aacd_header_content_container .aacd_header_logo {
        margin: 0 auto 2rem;
        max-width: 95%;
    }
    #aacd_header_content_container .aacd_home_header_buttons {
        margin: 0 auto;
        width: 95%;
    }
    .aacd_home_header_buttons .aacd_button {
        margin: 0 0 1rem;    
    }

    .aacd_content_section.header_right h2 {
        text-align: right;
    }
    
    #aacd_home_who_we_are ol li {
        margin-bottom: 2rem;
        padding-left: 4rem;
    }
    
    #aacd_home_who_we_are ol li:before {
        font-size: 1em;
        top: .1rem;
        width: 3.5rem; 
    }

    #aacd_home_our_why > .flex_it > img {
        width: 45%;
        object-fit: cover;
        object-position: center center;
    }
    
    #aacd_home_our_why > .flex_it > div > .flex_it img:first-child {
        width: calc(42% - .715rem);
        object-fit: cover;
        object-position: center center;
    }

    #aacd_home_our_why > .flex_it > div > .flex_it img:last-child {
        width: calc(58% - .715rem);
        object-fit: cover;
        object-position: center center;
    }

    #aacd_home_our_people .flex_it {
        flex-wrap: wrap;
        column-gap: 3rem;
    }

    #aacd_home_our_people .flex_it > div:first-child {
        width: calc(40% - 1.5rem);
    }

    #aacd_home_our_people .flex_it > :first-child p {
        margin-bottom: 3rem;
    }

    #aacd_home_our_people .flex_it > div:last-child {
        width: calc(60% - 1.5rem);
    }

    #aacd_home_our_people .flex_it > div:last-child {
        display: flex;
        column-gap: 1rem;
    }

    #aacd_home_our_people .flex_it > div:last-child .img_wrapper {
        width: calc(33% - .5rem);
    }

    #aacd_home_newsroom .express_container .aacd_express_preview img {
        order: -2;
    }

    #aacd_home_registration {
        margin-bottom: 1.7rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    #aacd_home_newsroom .express_container .aacd_express_preview {
        padding-top: 0;
    }

    #aacd_home_newsroom .express_container .aacd_express_preview .aacd_button {
        width: 100%;
        max-width: 500px;
    }

    #aacd_home_community .inner_container {
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }

    #aacd_home_community .inner_container .images_container {
        order: 2;
    }


}


@media (max-width: 991px) {

    .desktop_only {
        display: none !important;   
    }

    #aacd_home_who_we_are .flex_it {
        display: block;
    }

    #aacd_home_who_we_are .flex_it img {
        width: 100%;
    }

    #aacd_home_our_why > .flex_it {
        flex-wrap: wrap;
    }

    #aacd_home_our_why > .flex_it {
        flex-direction: column-reverse;   
    }

    #aacd_home_our_people .flex_it {
        flex-wrap: wrap;
    }

    #aacd_home_registration > div {
        flex-direction: column;
        margin-bottom: 1.3rem;
    }

    #aacd_home_registration > div > img {
        order: 1;
        width: 100%;
        margin-bottom: 0;
    }

    #aacd_home_registration .aacd_button.registration_downloads {
        position: unset;
        max-width: 500px;
        translate: none;
        left: 0;
        margin-top: 0;
    }

    #aacd_home_newsroom .express_container {
        flex-wrap: wrap;
    }

    #aacd_home_newsroom .express_container .aacd_express_preview {
        flex-basis: 100%;
    }

    #aacd_home_newsroom .express_container .aacd_express_preview .aacd_button {
        width: 100%;
        max-width: 500px;
    }

    #footer_details {
        flex-wrap: wrap;
    }
    #footer_details > div {
        flex-basis: 100%;
    }

    .aacd_internal_content_top {
        display: block;
    }
    .aacd_internal_content_top > div {
        width: 100% !important;
    }
    .aacd_internal_content_top img {
        margin-top: 1.3rem;
        width: 100%;
        max-width: 100%;
    }

    .aacd_internal_content_top.reverse_on_stack {
        display: flex;
        flex-direction: row;
        flex-direction: column-reverse;
    }

    #desktop_nav_container {
        position: absolute;
        min-height: 100svh;
        background: rgba(94, 106, 113, 1);
        display: block;
        z-index: 999;
    }

    #internal_nav {
        position: absolute;
        min-height: 100svh;
        background: rgba(94, 106, 113, 1);
        display: block;
        z-index: 999;  
        top: 0;
        left: 0;
        width: 100%;
    }

    #desktop_nav > ul, #internal_nav > ul {
        flex-direction: column;
        display: flex;
        align-items: start;
        justify-content: start;
        width: 100%;
        gap: .5rem;
        margin-top: 2rem;
    }

    .aacd_navigation_container, .aacd_navigation_container > ul, .aacd_navigation_container > ul > li, .aacd_navigation_container > ul > li > a {
        height: unset;
    }

    .aacd_navigation_container > ul > li.children:hover > ul, .aacd_navigation_container > ul > li.children > ul:hover {
        display: none !important;
    }

    .aacd_navigation_container > ul > li.children > ul {
        position: unset;
    }

    #aacd_portal_grid_display > div {
        flex: 0 0 100%;
        aspect-ratio: unset;
    }
    #aacd_portal_grid_display > div {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    #aacd_portal_grid_display > div:last-child {
        border-bottom: none;
    }

}



