html:not([lang=en]) .en-only {
    display: none;
}

html:not([lang=fr-CA]) .fr-only {
    display: none;
}

body .is-layout-flex {
    display: flex;
    position: relative;
}

/* social block */
.social-block-column-wpr {
    padding-left: min(130px, 8vw);
    flex-basis: calc(100% - 57%);
}

.social-block-wpr-tablet-only {
    display: none;
}

@media screen and (max-width: 990px) {
    .social-block-column-wpr {
        display: none;
    }

    .social-block-wpr-tablet-only {
        display: block;
    }
}

.socials-block .social-links ul {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    justify-items: center;
    transition: all .3s ease;
    z-index: 9;
}

.social-links ul>li {
    font-size: 1.2rem;
    margin-bottom: 0;
    padding-left: 6px;
    padding-right: 6px;
}

.social-links ul>li img {
    height: 17px;
    margin-bottom: .5rem;
}

.social-links ul>li>.social-link {
    align-items: center;
    display: flex !important;
    flex-direction: column;
    min-height: 2.4rem;
    min-width: 2.4rem;
}
/* social block end */

/* read callout block */
#section-read-callouts img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

#section-read-callouts .primary-taxonomy {
    text-decoration: underline;
}

@media screen and (max-width: 639px) {
    #section-read-callouts img {
        flex: 1 0 50%;
        height: 93px;
    }

    #section-read-callouts .grid-wpr>[class*=grid-]:not(:first-child) {
        border: 0px solid #e0e0e0;
        border-top-width: 2px;
        padding-top: 30px;
        margin-top: 30px;
    }
}

#section-read-callouts .hide {
    display: none !important;
}
/* read callout block end */

/* floating nav */


.floating-side-nav {
    position: absolute;
    top: 20px;
    max-width: 471px;
    left: calc(50% + min(130px, 8vw));
    padding-right: 15px;
}

.floating-side-nav.sticky {
    position: fixed;
    top: 20px;
}

.floating-side-nav.docked {
    position: absolute !important;
    top: auto !important;
    bottom: 0;
}

/* floating side nav disappears @ 991px and changes to mobile style */

@media screen and (max-width: 990px) {
    .floating-side-nav {
        display: none;
    }
    .main-content-column {
        flex-grow: 1;
    }

    #mobileStickyNav {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        background: white;
        position: relative; /* default */
        z-index: 100;
    }

    #mobileStickyNav.sticky {
        position: fixed;
        top: 0;
        left: 0;
    }
}

@media screen and (min-width: 991px) {
    #mobileStickyNav {
        display: none;
    }
}

.rbc-blocks-toc-for-mmm-nav {
    border-left: 1px solid #b3b3b3;
    list-style: none;
}

.rbc-blocks-toc-for-mmm-nav li {
    border-left: 2px solid transparent;
    padding: 0;
}

.rbc-blocks-toc-for-mmm-nav li a {
    color: #444;
    display: block;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    padding: 8px 16px;
    text-decoration: none;
}

.rbc-blocks-toc-for-mmm-nav li {
    border-left: 2px solid transparent;
}

.rbc-blocks-toc-for-mmm-nav li.active {
    border-left-color: #006ac3;
}

.rbc-blocks-toc-for-mmm-nav li a {
    display: flex;
    flex-direction: column;
}

.rbc-blocks-toc-for-mmm-nav li a.active {
    color: #006ac3;
}
/* end floating nav */


.main-content .section-grey {
    background-color: #fafafa !important;
}


/* no sticky nav */
#sticky-wrapper {
    height: auto !important;
}
.main-content #sticky-wrapper .nav-bar {position: relative !important; width: 100% !important; box-shadow: none !important;}



/* carried over from wp */

.has-f-5-f-8-f-9-background-color {
    background-color: #f5f8f9;
}

.has-rbc-bright-blue-tint-4-background-color {
    background-color: #E3F4FF;
}

.wp-block-buttons {
    justify-content: center;
}

.btn.primary > a {
    color: white;
}

.is-style-table-striped tbody tr:nth-child(2n) td, .is-style-table-striped tbody tr:nth-child(2n) th,
table.stacktable tbody tr:nth-child(2n) td, table.stacktable tbody tr:nth-child(2n) th
{
    background-color: #e3f4ff;
}

.wp-block-rbc-single-post-topics {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.btn.topic {
    border: 1px solid #006ac3;
    border-radius: 3rem;
    color: #006ac3;
    font-size: 1.2rem;
    font-weight: 400;
    padding: .3rem 1.5rem;
    text-transform: uppercase !important;
}
.btn.topic>a:hover {
    text-decoration: none;
}
.featured-image-wrapper {
    top: 3rem;
}
.cover-image {
    max-width: 67rem;
    height: auto;
    width: 100%;
}
.cover-image-full {
    height: auto;
    width: 100%;
}
.author-text {
    font-size: 1.2rem;
    line-height: 1.6rem;
}

.cover-pub-line {
    font-size: 1.2rem;
    line-height: 1.6rem;
    color: #6f6f6f;
    letter-spacing: .2rem;
}

ol.lower-romain-list li {
    list-style-type: lower-roman;
}

/* desktop */
@media screen and (min-width: 640px) {
    .article {
        margin-top: 100px;
    }

    .floating-side-nav {
        padding-left: min(130px, 8vw);
    }
}

.related-post-list {
    .post-card-image img {
        width: 100%;
        height: 250px;
        border-radius: 8px;
    }
}

/* mobile */
@media screen and (max-width: 639px) {
    .w-mob-full {
        width: 100% !important;
    }
}



/* centered view template */
@media screen and (min-width: 640px) {
    .centered-template .narrow-centered-section {
        width: max(50%, 450px) !important; /* 450px min width is arbitrary can be changed as needed. wp design had a 50% width which looked narrow on small screens */
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 970px) {
    .centered-template-social-section {
        position: absolute;
        top: auto;
        border-bottom: 0;
        border-right: 1px solid #e0e0e0;
        left: 10%;
        padding-right: 1.5rem;
    }
    .centered-template-social-section .socials-block .social-links ul {
        display: flex;
        flex-direction: column !important;
        align-items: center;
    }
    .centered-template-social-section .socials-block .social-links ul li {
        margin-bottom: 15px;
    }
}

@media screen and (min-width: 640px) and (max-width: 969px) {
    .centered-template-social-section {
        margin-top: 95px;
        margin-bottom: 15px;
    }
}

.home-map .divider {
    margin-top: 20px;
    margin-bottom: 20px;
}
