/* Shared Styles ------------------------ */

/*=============================
= GDPR =
=============================*/

/*media-solution style
#cookies-agreement-container {
    display: block;
    position: fixed;
    bottom: 90px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9999;
    bottom: 90px;
}

#cookies-agreement {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    background-color: #333333;
    opacity: 0.85;
    padding: 75px 50px;
}

    #cookies-agreement p.message {
        font-family: Radio-Canada, "ArialMT", "Arial";
        font-size: 18px;
        color: #fff;
        line-height: 24px;
        margin-bottom: 20px;
        flex-grow: 10;
        margin: 0;
    }

    #cookies-agreement .close {
        margin-right: 10px;
        color: #fff;
        opacity: 1;
    }

        #cookies-agreement .close hover {
            color: #f2f2f2;
        }

  

    #cookies-agreement a {
        color: #fff;
        text-decoration: underline;
    }

        #cookies-agreement a hover {
            color: #f2f2f2;
        }*/
@font-face {
    font-family: Radio-Canada;
    src: url(https://site-cbc.radio-canada.ca/assets/fonts/Radio-Canada-Regular.woff2) format('woff2'), url(https://site-cbc.radio-canada.ca/assets/fonts/Radio-Canada-Regular.woff) format('woff');
    font-weight: normal;
}

@font-face {
    font-family: Radio-Canada;
    src: url(https://site-cbc.radio-canada.ca/assets/fonts/Radio-Canada-Italic.woff2) format('woff2'), url(https://site-cbc.radio-canada.ca/assets/fonts/Radio-Canada-Italic.woff) format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: Radio-Canada;
    src: url(https://site-cbc.radio-canada.ca/assets/fonts/Radio-Canada-Bold.woff2) format('woff2'), url(https://site-cbc.radio-canada.ca/assets/fonts/Radio-Canada-Bold.woff) format('woff');
    font-weight: bold;
}

@font-face {
    font-family: Radio-Canada;
    src: url(https://site-cbc.radio-canada.ca/assets/fonts/Radio-Canada-BoldItalic.woff2) format('woff2'), url(https://site-cbc.radio-canada.ca/assets/fonts/Radio-Canada-BoldItalic.woff) format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: Radio-Canada;
    src: url(https://site-cbc.radio-canada.ca/assets/fonts/Radio-Canada-Light.woff2) format('woff2'), url(https://site-cbc.radio-canada.ca/assets/fonts/Radio-Canada-Light.woff) format('woff');
    font-weight: lighter;
}

@font-face {
    font-family: Radio-Canada;
    src: url(https://site-cbc.radio-canada.ca/assets/fonts/Radio-Canada-LightItalic.woff2) format('woff2'), url(https://site-cbc.radio-canada.ca/assets/fonts/Radio-Canada-LightItalic.woff) format('woff');
    font-weight: lighter;
    font-style: italic;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 15px !important;
}

::-webkit-scrollbar-track {
    display: none;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(160, 160, 160);
    border: 0px;
    border-radius: 10px;
    min-height: 40px;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: gray !important;
    }

/*big red style*/
#cookies-agreement-container {
    display: block;
    position: fixed;
    bottom: 90px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9999;
    font-size: 15px;
}

/*Will be used for "Ingenium - Canada's Museums of Science and Innovation" logo*/
/*.partner-logo-left-position {
    left: 13% !important;
}*/

.partner-logo-arts {
    width: 180px !important;
    left: 20px !important;
}

.partner-logo-container-arts {
    width: 220px !important;
    margin-right: 22px !important;
}

.partner-logo-nature {
    width: 150px !important;
    left: 20px !important;
}

.partner-logo-container-nature {
    width: 190px !important;
    margin-right: 22px !important;
}

.partner-logo-ingenium {
    width: 150px !important;
    left: 20px !important;
}

.partner-logo-container-ingenium {
    width: 190px !important;
    margin-right: 8px !important;
}


.partner-logo-onf {
    width: 140px !important;
    left: 5px !important;
}

.partner-logo-container-onf {
    width: 150px !important;
    margin-right: 13px !important;
}

.partner-logo-archives {
    width: 300px !important;
    left: 5px !important;
}

.partner-logo-container-archives {
    width: 310px !important;
    margin-right: 20px !important;
}


@media (max-width: 767px) {
    #cookies-agreement-container {
        bottom: 0;
    }

    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
    
}

@media (min-width: 768px) {
    #cookies-agreement-container {
        bottom: 0;
    }
}

#cookies-agreement {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: flex-start;
    width: 100%;
    background-color: #f5f5f5;
    border-top: 2px solid #e5e5e5;
    padding: 20px;
}

    #cookies-agreement p.message {
        flex-grow: 10;
        margin: 0;
        line-height: 24px;
        vertical-align: middle;
    }

    #cookies-agreement .close {
        margin-right: 5px;
        border: 0px;
        background-color: transparent;
        font-size: 24px;
    }

    #cookies-agreement .cookie-links a {
        margin-right: 10px;
    }

    #cookies-agreement a {
        color: #d60000;
    }

/*404 page*/

.error-container h1, .error-container h1.title, .error-container h2 {
    font-family: "Radio-Canada", "ArialMT", "Arial";
    color: #000;
    margin-bottom: 5px;
    margin-top: 20px;
}

    .error-container h1, .error-container h1.title {
        font-weight: 700;
        font-size: 2.074em;
        line-height: 1.1em;
    }

.error-container .links-list-hint {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.error-container .links-list-hint {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.error-container .link-list {
    padding: 0;
    list-style: none;
}

.error-container ol, .error-container ul {
    margin: 0;
}

.error-container .link-list li {
    padding: 10px;
    border-bottom: thin solid #000;
    display: flex;
}

.error-container li {
    font-family: "Radio-Canada", "ArialMT", "Arial";
    color: #000;
    line-height: 24px;
    margin-bottom: 6px;
}

.error-container .link-list {
    padding: 0;
    list-style: none;
}

    .error-container .link-list li:before {
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        content: "\f105";
        margin-right: 10px;
        color: red;
        flex: 0 0 20px;
    }

.error-container .link-item {
    cursor: pointer;
}

.error-container .link-list li a {
    color: #000;
    font-weight: 700;
    flex: 0 0 calc(100% - 20px);
}

.error-container .link-list li {
    padding: 10px;
    border-bottom: thin solid #000;
    display: flex;
}

.error-container li {
    font-family: "Radio-Canada", "ArialMT", "Arial";
    color: #000;
    line-height: 24px;
    margin-bottom: 6px;
}


/*End 404*/
/*@font-face {
    font-family: 'CBC-bold';
    src: url('../Content/fonts/radcan.woff2') format('woff2'), url('../Content/fonts/radcan.woff') format('woff');
}*/

#loader {
    position: fixed;
    z-index: 99; /* make higher than whatever is on the page */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100vh;
    background-color: rgba(255,255,255,.2);
}

#loader-full {
    position: fixed;
    z-index: 9999; /* make higher than whatever is on the page */
    top: 180px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: calc(100vh - 188px);
    background-color: white;
}

.error-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 25px;
}

.container-fluid {
    padding: 0;
    flex: 1 0 auto;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: "Radio-Canada", "ArialMT", "Arial" !important;
}

a:link, a:visited {
    color: #191919;
    text-decoration: none;
    transition: color 300ms ease-in-out;
}

a:hover, a:active {
    color: black;
    transition: color 300ms ease-in-out;
}

.tac {
    text-align: center;
}

.desktop-hidden {
    display: none;
}

/* Loading Spinner */
.loading-container {
    width: 100%;
    height: calc(100vh - 200px);
    background: whitesmoke;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-container-alt {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-border {
    height: 5rem;
    width: 5rem;
}

/* Masonry Grid System */
.item {
    width: 100%;
}

.column {
    columns: 1;
    width: 48.5%;
}

.column-wider {
    min-width: 60% !important;
}

.promo-masonry-columns {
    padding-top: 50px;
    display: flex;
    justify-content: space-between;
}

/* Blurb */
.blurb-container {
    margin-bottom: 15px;
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 25px;
}

.display-blurb {
    display: inline;
    position: relative;
    z-index: 0;
}

.blurb-opened, .blurb-hidden-part {
    display: none;
}

.blurb-toggle-btn {
    color: #191919;
    border-radius: 15px;
    font-size: 16px;
    height: 25px;
    padding: 10px;
    z-index: 10;
}

.plus-blurb, .minus-blurb {
    position: relative;
    font-weight: bold;
    user-select: none;
}

#load-more-blurb {
    display: none;
}

.mobile-blurb {
    display: none;
}

.desktop-blurb {
    display: block;
}

.newsletter-container {
    margin-bottom: 2rem;
    height: 380px !important;
}

/* Smartphone Vertical */
@media screen and (max-width: 1368px) {
    .blurb-overlay {
        /* height: 29%;
        width: 100vw;
        overflow: hidden;
        background-color: rgba(255,255,255,0.5);
        position: absolute;
        bottom: 0;
        left: 0;*/
    }
    /* .cbc-logo {
        width: 100%;
    }*/

    #load-more-blurb {
        display: inline;
    }

    .mobile-blurb {
        display: inline;
    }

    .desktop-blurb {
        display: none;
    }

    .library-logo {
        height: auto !important;
        width: 50%;
    }
}

/* See More Button */
.see-more-container {
    display: flex;
    justify-content: center;
}

.see-more-btn {
    color: #191919;
    border-radius: 15px;
    /* text-transform: uppercase;*/
    min-width: 150px;
    min-height: 55px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: all 300ms ease-in-out;
}

    .see-more-btn:hover {
        transition: all 300ms ease-in-out;
        background: #494949;
        color: white;
    }

.no-margin {
    margin: 0 !important;
}

/* Plus Button */
.sm-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    height: 25px;
    width: 25px;
    background: #232323;
}

.add-btn {
    margin-left: 10px;
}

.add-icon {
    color: white;
    font-size: 25px;
    position: relative;
    top: -2.5px;
}

.minus-icon {
    color: white;
    font-size: 25px;
    position: relative;
    top: -2.5px;
}

/* Reset Filters Button */
.reset-filters-btn {
    margin-left: 25px;
    display: none;
}

.reset-filters-btn-icon {
    margin-top: 3px;
    margin-left: 8px;
    width: 24px;
}

/* Pill */
.pill, .pill-empty {
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25px;
    min-width: fit-content;
    padding: 15px;
}

.pill {
    background: white;
}

.pill-empty {
    background: none;
}
/* Colors */
.white {
    background: white;
}

.whitesmoke {
    background: whitesmoke;
}

.dark-grey {
    background: #191919;
    color: white;
}

/* Master ------------------------------- */

/* Top Bar */
.navigation-wrapper {
    display: flex;
    justify-content: center;
}

.navigation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 125px;
    width: 1570px;
}

.header-images {
    display: flex;
    align-items: center;
    height: 100px;
    position: relative;
    left: -23px;
}

.cbc-logo {
    height: 80%;
    margin-left: 15px;
}

.h1-cbc-logo {
    height: 100%;
    margin-top: 6.5%;
}

.header-vertical-line {
    height: 75px;
    border-left: solid 1px black;
}

.library-logo {
    height: 100%;
    margin-left: 10px;
}

.header-vertical-line {
    height: 50px;
    border-left: solid 1px black;
    margin-left: 15px;
}

.language-toggle {
    background: #191919;
    color: white;
    /*padding: 0 10px;*/
    cursor: pointer;
    user-select: none;
}

/* Navigation Bar ------------------------- */
.navbar {
    padding: 0 !important;
    height: 50px !important;
}

.bg-dark {
    background-color: #232323 !important;
}

.filter-label {
    color: white;
    /*text-transform: uppercase;*/
    margin-bottom: 0;
    margin-left: 15px;
    margin-right: 10px;
}

/* Dropdown Menu Toggle */
.dropdown-no-custom-toggle,
.dropdown-custom-toggle {
    color: white !important;
    /* text-transform: uppercase;*/
    padding: 15px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 300ms ease-in-out;
}

    .dropdown-custom-toggle:hover {
        background: whitesmoke;
        color: #232323 !important;
        transition: all 300ms ease-in-out;
    }

.dropdown-no-custom-toggle {
    cursor: default !important;
}

    .dropdown-no-custom-toggle:hover {
        cursor: pointer !important;
    }

.dropdown-no-custom-toggle-disabled {
    cursor: default !important;
}

    .dropdown-no-custom-toggle-disabled:hover {
        cursor: default !important;
    }

.dropdown-no-custom-toggle-disabled,
.dropdown-custom-toggle-disabled {
    color: whitesmoke !important;
    /*    text-transform: uppercase;*/
    padding: 26px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: default;
    user-select: none;
    transition: all 300ms ease-in-out;
}

    .dropdown-custom-toggle-disabled:hover {
        cursor: default !important;
    }

.reset-custom-toggle-disabled,
.reset-custom-toggle {
    color: white !important;
    /*    text-transform: uppercase;*/
    padding: 0px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 300ms ease-in-out;
    /*background: url('/img/white-refresh-icon.png') no-repeat center;*/
    background-size: 24px 24px;
}

    .reset-custom-toggle:hover {
        /*    background:  whitesmoke !important;*/
        color: #232323 !important;
        transition: all 300ms ease-in-out;
        /* background: url('/img/black-refresh-icon.png') no-repeat center;*/
        background-size: 24px 24px;
        background-color: whitesmoke !important
    }

.reset-custom-toggle-disabled {
    cursor: default !important;
}

.hideFilterMenu {
    display: none;
}

.dropdown-icon {
    margin-left: 7px;
    font-size: 16px;
}

.rotate-icon {
    transform: rotate(180deg);
}

.highlight {
    background-color: white;
    color: #232323 !important;
}

/* Dropdown Menu Pills */
.dropdown-custom-menu {
    opacity: 1;
    transition: opacity 300ms ease-in-out;
    width: 100%;
    height: auto;
    background: white;
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    border-bottom: 0.125rem solid lightgrey;
}

    .dropdown-custom-menu > .container {
        justify-content: unset !important;
    }

.pill-alignment {
    position: relative;
    top: 5px;
    padding: 1% 0% 1% 0%;
}

.checkbox-pill {
    margin-right: 10px;
    user-select: none;
    background: whitesmoke;
    cursor: pointer;
}

input[type='checkbox'] {
    display: none;
}

    input[type='checkbox']:checked ~ .pill {
        background: #232323 !important;
        color: white !important;
    }

    input[type='checkbox']:checked ~ .services-logo, input[type='checkbox']:checked ~ .partners-logo {
        background: whitesmoke !important;
    }

    input[type='checkbox']:disabled ~ .services-logo, input[type='checkbox']:disabled ~ .partners-logo {
        cursor: default !important;
        transform: none;
        opacity: 0.2;
    }

    input[type='checkbox']:disabled + div {
        border-color: whitesmoke;
        color: #ccc;
    }

        input[type='checkbox']:disabled + div.checkbox-pill {
            cursor: default !important;
        }

.hidden-menu {
    visibility: hidden;
    opacity: 0;
    transition: all 300ms ease-in-out;
}

/* Services */
.services-title {
    font-weight: 100;
    /* text-transform: uppercase;*/
    font-size: 1.5em;
    margin-bottom: 20px;
}

.partners-logo, .services-logo {
    width: 200px;
    height: 100px;
    overflow: hidden;
    border-radius: 25px;
    margin-right: 10px;
    user-select: none;
    cursor: pointer;
}

    .partners-logo:hover, .services-logo:hover {
        transform: scale(1.1);
    }

div.partners-logo.last-partner:hover {
    transform: scale(1.05) !important;
}

.services-logo img {
    object-fit: contain;
    object-position: center center;
    width: 125%;
    height: 125%;
    position: relative;
    top: -15%;
    left: -12%;
}

.partners-logo img {
    object-fit: contain;
    object-position: center center;
    width: 90%;
    height: 125%;
    position: relative;
    top: -15%;
    left: 5%;
}

/* Bottom of Page ------------------------ */

.platforms-footer-container {
    flex-shrink: 0;
}

/* Platforms */
.platforms-bg {
    background: white;
    min-height: 200px;
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#carouselDesktop {
    display: block;
}

#carouselMobile {
    display: none;
}

.platforms-container, .partners-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    /*   margin-bottom: 25px;*/
}

.carousel-control-prev, .carousel-control-next {
    background-color: transparent !important;
    border: none !important;
    filter: invert(100%);
}

.carousel-control-next {
    right: -120px;
}

.carousel-control-prev {
    left: -100px;
}

.platform-logo-wide {
    max-width: 300px;
    /*  max-height: 100px;*/
}

.platform-logo-wide-2 {
    max-width: 300px;
    /* max-height: 250px;*/
}

/*.platforms-container:not(:first-child) {
    margin-top: 75px;
}

.platforms-container:last-child {
    margin-bottom: 75px;
}*/

/* Footer */
.footer-bg {
    background: #191919;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container-mobile {
    display: none;
}

.footer-logo {
    max-height: 65px;
}

.smaller-logo {
    max-height: 25px;
    margin-right: 15px;
}

.footer-vertical-line {
    height: 40px;
    border-left: solid 1px white;
    margin-right: 15px;
}

/* Library ------------------------------ */

.wrapper {
    background: whitesmoke;
}

.main-overlay {
    background: rgba(0,0,0,.7);
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 200px;
    left: 0;
    z-index: 1;
    overflow-x: auto;
}

.card {
    border-radius: 25px;
    border: none;
}

.margin-bottom-1rem {
    margin-bottom: 1rem;
}

/* News Feed */
.promos-news-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.container-custom {
    max-width: 1140px;
}

.container-custom-alt {
    width: 1570px;
}

.flex-center {
    display: flex;
    justify-content: center;
}

.flex-center-nav {
    display: flex;
    right: 0;
    left: 0;
    justify-content: center;
    margin: 0;
}

.news-feed-container {
    background: white;
    position: relative;
    border-radius: 25px;
    padding: 1rem;
    width: 400px;
    margin: 55px 0 0 30px;
}

.section-title, .section-title-alt {
    font-family: "Radio-Canada", "ArialMT", "Arial";
    font-size: 18px;
    font-size: 2.5em;
    line-height: 1.2em;
    font-weight: bold;
    /*  text-transform: uppercase;*/
    margin-bottom: .5rem;
}

.news-title {
    position: relative;
    top: 40px;
    left: 45px;
}

.promos-title {
    position: relative;
    top: 40px;
    left: 15px;
}

.news-masonry-columns {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.news-card {
    width: 100%;
}

.date-container {
    display: flex;
    justify-content: flex-end;
    margin: -35px 10px 0;
}

/* Promos */
.margin-bottom-2rem {
    margin-bottom: 2rem;
}

/* Image and Tags */
.promo-img {
    width: 100%;
    height: auto;
    border-radius: 25px;
}

.tag-type-container {
    display: flex;
    justify-content: space-between;
    margin: -40px 10px 0;
}

.tag-container {
    display: flex;
    flex-direction: row;
    /*    max-width: 80%;*/
    max-width: 100%;
    flex-wrap: wrap;
}

.tag-item {
    margin-right: 5px;
}

    .tag-item > span {
        position: relative;
        top: -1px;
    }

.type-container {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -10px;
}

.type-icon-video {
    background-image: url("../Content/Images/icon-video.png");
    background-repeat: no-repeat;
    background-size: contain;
    height: 30px;
    width: 30px;
    background-position-x: 6px;
}

.type-icon-quiz {
    background-image: url("../Content/Images/icon-quiz.svg");
    background-repeat: no-repeat;
    background-size: contain;
    height: 25px;
    width: 25px;
}

.type-icon-audio {
    background-image: url("../Content/Images/icon-audio.png");
    background-repeat: no-repeat;
    background-size: contain;
    height: 25px;
    width: 25px;
    background-position-y: 1px;
}

.type-icon-news, .type-icon-article {
    background-image: url("../Content/Images/icon-news.png");
    background-repeat: no-repeat;
    background-size: contain;
    height: 25px;
    width: 25px;
    background-position-y: .5px;
}

.type-icon-app {
    background-image: url("../Content/Images/icon-app.png");
    background-repeat: no-repeat;
    background-size: contain;
    height: 20px;
    width: 20px;
}

/* Card Body */
.promo-title {
    font-family: "Radio-Canada", "ArialMT", "Arial";
    font-size: 1.2em;
    line-height: 1.2em;
    font-weight: bold;
    /* text-transform: uppercase;*/
}

.promo-title-platform {
    color: #757575;
}

.promo-description {
    /* Missing CBC font */
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.select-btn-layout {
    display: flex;
    justify-content: flex-end;
    margin-top: -25px;
}

.select-btn {
    margin-right: -7px;
}

.hidden {
    /*  display: block;*/
    visibility: hidden;
}

/* custom css classes shared by raw HTML */
p.text-justify {
    text-align: justify;
    /*text-justify: inter-word;*/
}

.red-headline-bar::before {
    color: transparent;
    display: block;
    position: absolute;
    left: 0;
    width: 6px;
    background-color: red;
    margin-left: 15px;
    content: "|";
}

.email-link:visited {
    color: #007bff !important;
}

.blue-link {
    color: #007bff !important;
}

    .blue-link:hover {
        color: #007bff !important;
        text-decoration: underline
    }

/* footer link */
a.footer-link, a.footer-link:visited {
    color: whitesmoke !important;
    font-size: larger;
    margin-top: -3px;
}
/* footer link */
a.footer-link-mobile, a.footer-link-mobile:visited {
    color: whitesmoke !important;
    font-size: large;
    margin-top: -3px;
}

/* custom styles used for document type "Page" */
.min-height-wrapper {
    min-height: calc(100vh - 358px);
}

.page h2 {
    font-family: "Radio-Canada", "ArialMT", "Arial";
    font-size: 1.3em;
    line-height: 1.2em;
    font-weight: bold;
}

/* Contact Us */
.box {
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

    .box:hover {
        background-color: #191919 !important;
        color: white;
    }

/* hide Google search result ads */
.gsc-adBlock {
    display: none !important;
}

/* Media Queries ------------------------- */
/* Laptop */
@media screen and (max-width: 1800px) {
    body {
        overflow-x: hidden;
    }

    .container-custom {
        max-width: 866px;
    }

    .navigation-header {
        width: 96vw;
        max-width: 1296px;
    }

    .container-custom-alt {
        width: 96vw;
        max-width: 1296px;
    }
}

/* Small Laptop */
@media screen and (min-width:1200px) and (max-width: 1300px) and (min-height: 600px) and (max-height: 700px) {
    .container-custom {
        max-width: 800px;
    }

    .platforms-bg > .container-custom-alt {
        width: 91vw;
        position: relative;
        left: -15px;
    }

    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

/* iPad Vertical */
@media screen and (min-width: 710px) and (max-width: 1000px) {
    body {
        overflow-x: hidden;
    }

    .container-custom {
        max-width: 820px;
    }

    .navigation-header {
        width: 95vw;
        margin-left: 2.5vw;
    }

    .container-custom-alt {
        width: 95vw;
    }

    #loader-full {
        top: 180px;
    }

    .desktop-hidden {
        display: block;
    }

    .newsletter-container {
        height: 440px !important;
    }

    .ipad-view {
        display: flex;
        justify-content: space-between;
        position: relative;
        left: 15px;
    }

        .ipad-view .latestNewsBtn {
            position: relative;
            right: 50px;
            -webkit-animation: scale-down-center 2s ease-in-out infinite alternate both;
            animation: scale-down-center 2s ease-in-out infinite alternate both;
        }

        .ipad-view .promosTitleBtn {
            position: relative;
            left: 20px;
            -webkit-animation: scale-down-center 2s ease-in-out infinite alternate both;
            animation: scale-down-center 2s ease-in-out infinite alternate both;
        }

    .alt-ipad {
        right: 75px;
    }

    /* Top Bar */
    .pill-alignment {
        /* top: 25px;*/
        padding: 2% 0% 2% 0%;
    }

    .section-title {
        font-size: 2em;
        position: relative;
        top: 35px;
    }

    .section-title-alt {
        font-size: 2em;
    }

    .underline-title {
        position: relative;
    }

        .underline-title:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -8px; /* This controls the distance of the underline from the text */
            height: 5px; /* This controls the thickness of the underline */
            width: 100%;
            background-color: black;
        }

    .partners-logo, .services-logo {
        width: 170px;
    }

    /* News Feed */
    .news-wrapper {
        display: none;
    }

    .promos-wrapper {
        display: block;
    }

    .promo-masonry-columns {
        padding-top: 50px;
        width: 95%;
        margin-left: 2.5%;
    }

    .news-masonry-columns {
        justify-content: space-between;
    }

    .news-feed-container {
        width: 95%;
        margin-left: 2.5%;
        margin-bottom: 25px;
    }

    .news-card {
        width: 100%;
    }

    /* Promo Card */
    .tag-container.wrapped > .tag-item {
        margin-top: 5px;
    }

    .wrapped {
        position: relative;
        top: -30px;
    }

    /* Platforms */
    .carousel-control-next {
        right: -50px;
    }

    .carousel-control-prev {
        left: -50px;
    }

    .platform-logo {
        max-width: 110px;
        max-height: 80px;
    }

    .platform-logo-wide {
        max-width: 200px;
        max-height: 80px;
    }

    .platform-logo-wide-2 {
        max-width: 200px;
        max-height: 250px;
    }

    /* Footer */
    .footer-bg {
        font-size: 85%;
    }

    .footer-logo {
        max-width: 200px;
    }

    .smaller-logo {
        max-height: 20px;
    }

    /* Page */
    .min-height-wrapper {
        min-height: calc(100vh - 334px);
    }

    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

/* iPad Horizontal */
@media screen and (min-height: 810px) and (max-height: 1000px) and (max-width: 1180px) {
    #loader-full {
        top: 180px;
        height: calc(100vh - 180px);
    }

    .desktop-hidden {
        display: block;
    }

    .navigation-header {
        width: 95vw;
        margin-left: 2.5vw;
    }

    .container-custom-alt {
        width: 95vw;
    }

    .newsletter-container {
        height: 440px !important;
    }

    .ipad-view {
        display: flex;
        justify-content: space-between;
        position: relative;
        left: 15px;
    }

        .ipad-view .latestNewsBtn {
            position: relative;
            right: 40px;
            -webkit-animation: scale-down-center 2s ease-in-out infinite alternate both;
            animation: scale-down-center 2s ease-in-out infinite alternate both;
        }

        .ipad-view .promosTitleBtn {
            position: relative;
            left: 10px;
            -webkit-animation: scale-down-center 2s ease-in-out infinite alternate both;
            animation: scale-down-center 2s ease-in-out infinite alternate both;
        }

    .alt-ipad {
        position: relative;
        right: 75px;
    }

    .underline-title {
        position: relative;
    }

        .underline-title:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -8px; /* This controls the distance of the underline from the text */
            height: 5px; /* This controls the thickness of the underline */
            width: 100%;
            background-color: black;
        }

    /* Platforms */
    .carousel-control-next {
        right: -50px;
    }

    .carousel-control-prev {
        left: -50px;
    }

    .platform-logo {
        max-width: 110px;
        max-height: 80px;
    }

    .platform-logo-wide {
        max-width: 200px;
        max-height: 80px;
    }

    .platform-logo-wide-2 {
        max-width: 200px;
        max-height: 250px;
    }

    /* Promos */
    .container-custom {
        max-width: 768px;
    }

    /* News Feed */
    .news-feed-container {
        width: 95%;
        margin-left: 2.5%;
        margin-bottom: 25px;
    }

    .news-card {
        width: 100%;
    }

    /* Page */
    .min-height-wrapper {
        min-height: calc(100vh - 334px);
    }

    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

/* iPad Horizontal Mini */
@media screen and (min-height: 810px) and (max-height: 1000px) and (max-width: 1025px) {
    .wrapper {
        font-size: 80%;
    }

    /* Promos */
    .container-custom {
        max-width: 670px;
    }

    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

/* iPad Mini */
@media screen and (min-width: 601px) and (max-width: 749px) {
    .h1-cbc-logo {
        height: auto !important;
        padding-right: 10px;
    }
    /* Platforms */
    .platform-logo {
        max-width: 110px;
        max-height: 80px;
    }

    .platform-logo-wide {
        max-width: 200px;
        max-height: 80px;
    }

    .platform-logo-wide-2 {
        max-width: 200px;
        max-height: 250px;
    }

    .newsletter-container {
        height: 440px !important;
    }

    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

/* Smartphone Vertical */
@media screen and (max-width: 600px) {
    body {
        overflow-x: hidden;
    }

    .desktop-hidden {
        display: block;
    }

    .wrapper {
        font-size: 90%;
    }

    .newsletter-container {
        height: 440px !important;
    }

    #loader-full {
        top: 110px;
        height: calc(100vh - 110px);
    }

    .h1-cbc-logo {
        height: auto !important;
        padding-right: 10px;
    }

    .navigation-header {
        width: unset;
        margin-left: unset;
    }

    .container-custom-alt {
        width: unset;
        left: unset;
    }

    /* Top Bar */
    .navigation-header {
        height: auto;
        margin-bottom: 25px;
    }

    .blurb-container {
        margin-top: 0px !important;
    }

    .navbar {
        height: 54px !important;
    }

    .cbc-logo {
        max-width: 100%;
        position: relative;
        /*top: 10px;*/
    }

    .library-logo {
        height: auto !important;
        margin-left: 5px;
        width: 50%;
    }

    .header-vertical-line {
        height: 40px;
        border-left: solid 1px black;
        margin-left: 10px;
    }

    .filter-label {
        margin-left: 10px;
    }

    .dropdown-custom-toggle {
        height: auto;
        font-size: 1.0em;
        white-space: nowrap;
        padding: 15px 13px;
    }

    .reset-custom-toggle-disabled, .reset-custom-toggle {
        margin-left: -10px;
    }

    .clear-label {
        display: none;
    }

    .reset-filters-btn-icon {
        padding-right: 2px;
        margin-left: 20px;
    }

    .dropdown-custom-menu {
        height: auto;
        top: 54px;
        padding: 10px 10px 25px 10px;
    }

    .pill-alignment {
        top: 12px;
        padding: 2% 0% 2% 0%;
    }

    .partners-logo, .services-logo {
        width: 180px;
    }

    /* Cards */
    .underline-title {
        position: relative;
    }

        .underline-title:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -8px; /* This controls the distance of the underline from the text */
            height: 5px; /* This controls the thickness of the underline */
            width: 100%;
            background-color: black;
        }

    .ipad-view .promosTitleBtn {
        position: relative;
        left: 0;
    }

    .ipad-view .latestNewsBtn {
        position: relative;
        right: 30px;
    }

    .news-title {
        left: 15px;
    }

    .news-feed-container {
        width: 98.5%;
        margin-left: .75%;
        margin-bottom: 25px;
    }

    .container-custom {
        max-width: 95%;
    }

    .section-title, .section-title-alt {
        font-size: 1.5em;
    }

    .mobile-section-title {
        display: flex;
        justify-content: space-between;
        position: relative;
        top: 25px;
    }

    .news-masonry-columns {
        flex-direction: column;
    }

    .news-card {
        width: 100%;
    }

    .promo-masonry-columns {
        flex-direction: column;
    }

    .column {
        width: 100%;
    }

    .margin-bottom-2rem {
        margin-bottom: 1rem;
    }

    .tag-container.wrapped > .tag-item {
        margin-top: 5px;
    }

    .wrapped {
        position: relative;
        top: -30px;
    }

    /* Platforms */
    #carouselDesktop {
        display: none;
    }

    #carouselMobile {
        display: block;
    }

    .platforms-container, .partners-container {
        flex-direction: column;
        margin-bottom: 0 !important;
    }

        .platforms-container:not(:first-child), .partners-container:not(:first-child) {
            margin-top: 0;
        }

        .platforms-container:last-child, .partners-container:last-child {
            margin-bottom: 0;
        }

        .platforms-container img, .partners-container img {
            margin-bottom: 0rem;
        }

    .platform-logo {
        max-width: 120px;
        max-height: 80px;
    }

    .platform-logo-wide {
        max-width: 250px;
        max-height: 100px;
    }

    .platform-logo-wide-2 {
        max-width: 120px;
        max-height: 250px;
    }

    .carousel-control-next {
        right: 0;
    }

    .carousel-control-prev {
        left: 0;
    }

    /* Footer */
    .footer-bg {
        height: auto;
    }

    .footer-container, .footer-container-odd {
        display: none;
    }

    .footer-container-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .footer-sub-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        padding-bottom: 25px;
    }

    .footer-logo {
        margin-top: 10px;
    }

    .footer-mobile-vertical-line {
        height: 40px;
        border-left: solid 1px white;
        margin: 0 10px;
    }

    .footer-mobile-logo:first-child {
        max-height: 20px;
    }

    .footer-mobile-logo-taler:first-child {
        max-height: 32px;
    }

    .language-toggle {
        margin-right: -10px;
    }

    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

/* Smartphone Horizontal */
@media screen and (max-height: 500px) and (max-width: 1000px) {
    .container-custom {
        max-width: 600px;
    }

    .navigation-header {
        width: 95vw;
        margin-left: 2.5vw;
    }

    #loader-full {
        top: 190px;
        height: 100vh;
    }

    .promo-masonry-columns {
        display: flex;
        flex-direction: column;
    }

    /* Footer */
    .footer-bg {
        height: auto;
    }

    .footer-container, .footer-container-odd {
        display: none;
    }

    .footer-container-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .footer-sub-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        padding-bottom: 25px;
    }

    .footer-logo {
        margin-top: 10px;
    }

    .footer-mobile-vertical-line {
        height: 40px;
        border-left: solid 1px white;
        margin: 0 10px;
    }

    .footer-mobile-logo:first-child {
        max-height: 20px;
    }

    .footer-mobile-logo-taler:first-child {
        max-height: 32px;
    }

    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

/* Smartphone Vertical */
@media screen and (min-width: 381px) and (max-width: 410px) {
    .partners-logo, .services-logo {
        width: 170px;
    }
    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

/* Smartphone Vertical */
@media screen and (min-width: 360px) and (max-width: 380px) {
    .h1-cbc-logo {
        height: auto !important;
        padding-right: 10px;
    }

    .navigation-header {
        margin-bottom: 10px;
    }

    .navbar {
        height: 70px !important;
    }

    .filter-label {
        font-size: 16px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .dropdown-label {
        font-size: 14px;
    }

    .dropdown-custom-toggle {
        padding: 15px 10px;
    }

    .reset-custom-toggle-disabled,
    .reset-custom-toggle {
        padding: 0px 10px;
    }

    .dropdown-custom-menu {
        top: 70px;
    }

    .ipad-view .promosTitleBtn {
        -webkit-animation: scale-down-center 2s ease-in-out infinite alternate both;
        animation: scale-down-center 2s ease-in-out infinite alternate both;
    }

    .ipad-view .latestNewsBtn {
        -webkit-animation: scale-down-center 2s ease-in-out infinite alternate both;
        animation: scale-down-center 2s ease-in-out infinite alternate both;
    }

    .services-logo {
        width: 155px;
    }

    .partners-logo {
        width: 165px;
    }
   
    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

/* Smartphone Vertical (Smaller) */
@media screen and (max-width: 359px) {
    .h1-cbc-logo {
        height: auto !important;
        padding-right: 10px;
    }

    .navigation-header {
        margin-bottom: 10px;
    }

    .navbar {
        height: 70px !important;
    }

    .filter-label {
        font-size: 14px;
        margin-left: 5px;
        margin-right: 2px;
    }

    .dropdown-label {
        font-size: 14px;
    }

    .dropdown-custom-toggle {
        padding: 15px 5px;
    }

    .reset-custom-toggle-disabled,
    .reset-custom-toggle {
        padding: 0px 2px;
    }

    .dropdown-custom-menu {
        top: 70px;
    }
    /*Will be used for "Ingenium - Canada's Museums of Science and Innovation" logo*/
    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

/* Link Animation */
@-webkit-keyframes scale-down-center {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
    }
}

@keyframes scale-down-center {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
    }
}

/* fine tune header logo section */
.lib-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.cbc-logo {
    max-height: 80px !important;
}

.has-library-logo .cbc-logo {
    object-fit: contain;
}

.library-logo {
    display: block;
    width: auto !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    min-height: 100px;
}

@media (max-width: 576px) {
    .has-library-logo .cbc-logo {
        max-height: 100px !important;
    }
    /*Will be used for "Ingenium - Canada's Museums of Science and Innovation" logo*/
    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

@media (max-width: 600px) {
    .header-images {
        margin-top: 10px;
    }
    /*Will be used for "Ingenium - Canada's Museums of Science and Innovation" logo*/
    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

@media screen and (min-width: 601px) and (max-width: 749px) {
    .has-library-logo .cbc-logo {
        max-height: 60px !important;
    }
    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

@media screen and (min-width: 601px) and (max-width: 749px) {
    .h1-cbc-logo.has-library-logo {
        padding-right: 0 !important;
    }
    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

@media (max-width: 750px) {
    .navigation-header {
        margin-bottom: 0 !important;
    }

    .h1-cbc-logo.has-library-logo {
        margin-top: 3.5%;
    }

    .header-vertical-line {
        margin-left: 5px;
    }
    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

@media screen and (min-width: 750px) and (max-width: 800px) {
    .has-library-logo .cbc-logo {
        max-height: 60px !important;
        margin-left: 10px !important;
    }
}

/* Pill adjustment */
.pill.language-toggle {
    height: 36px;
    width: 60px;
}

/* search openner */
.pill.search-opener .search-icon {
    background-color: #191919;
    border-radius: 25px;
    height: 36px;
    width: 60px;
}

.pill.search-opener svg {
    height: 24px;
    width: 24px;
    left: 10px;
    font-size: 30px;
    color: #fff;
}

.pill.search-opener .search-icon:focus-visible svg {
    border-color: #fff;
    border: 1px solid #fff;
}

.search-icon-label {
    display: block;
    height: 1px;
    width: 1px;
    /*margin: -1px;*/
    overflow: hidden;
    clip: rect(0px,0px,0px,0px);
    white-space: nowrap;
    border-width: 0px;
}

@media screen and (max-width: 749px) {
    .pill.search-opener {
        flex: 0 1 40px;
        flex-grow: 1;
        display: flex;
        justify-content: end;
    }

        .pill.search-opener.toggle-off {
            display: none;
        }
    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

@media screen and (min-width: 750px) {
    .pill.search-opener {
        display: none;
    }
}

/* search dialog */
.search-dialog .search-container {
    flex-grow: 1;
    position: relative;
    height: 50px;
    margin: 0 10px;
    border-radius: 8px;
    display: flex;
    justify-content: end;
    padding-top: 8px
}

    .search-dialog .search-container .search-input {
        border: 1px solid #191919;
        border-color: #191919;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
        width: 70%;
        max-width: 250px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 16px;
        transition: 0.3s ease all;
        line-height: 24px;
        height: 36px;
    }

    .search-dialog .search-container .search-btn .search-icon {
        background-color: #191919;
        border-radius: 0 40px 40px 0;
        height: 36px;
        width: 60px;
    }

        .search-dialog .search-container .search-btn .search-icon svg {
            height: 24px;
            width: 24px;
            left: 10px;
            font-size: 30px;
            color: #fff;
        }

        .search-dialog .search-container .search-btn .search-icon:focus-visible svg {
            border-color: #fff;
            border: 1px solid #fff;
        }

    .search-dialog .search-container .back-btn {
        margin: -5px 20px 0 10px;
    }

        .search-dialog .search-container .back-btn .back-icon {
            border-style: none;
            height: 50px;
            width: 50px;
            font-size: 30px;
            border-radius: 36px;
        }

            .search-dialog .search-container .back-btn .back-icon svg {
                height: 24px;
                width: 24px;
                font-size: 30px;
                margin-top: -10px;
            }

@media screen and (max-width: 749px) {
    .search-dialog {
        display: none;
    }

        .search-dialog .search-container .back-btn {
            display: block;
        }

        .search-dialog.toggle-on {
            flex: 0 1 300px;
            flex-grow: 1;
            display: flex;
            z-index: 201;
            position: absolute;
            background: white;
            height: 125px;
            width: 100%;
            left: 0;
        }

            .search-dialog.toggle-on .search-container {
                top: 40px;
                padding-right: 20px;
            }

                .search-dialog.toggle-on .search-container .search-input {
                    width: 100%;
                    max-width: 100%;
                }
    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

@media screen and (min-width: 750px) {
    .search-dialog {
        flex: 0 1 300px;
        flex-grow: 1;
        display: flex;
    }

        .search-dialog .search-container .back-btn {
            display: none;
        }
}

/* Google search result */

.search-no-result-message {
    font-family: "Radio-Canada", "ArialMT", "Arial" !important;
    font-size: 1.9rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.search-title {
    padding-bottom: 1rem;
    padding-top: 1rem;
    font-size: 1.9rem;
}
/*set image margin stop stop 0*/
.gs-thumbnail {
    margin-top: 0rem !important;
}

/************* Hide Google Branding ****************/

/* Hide the results count command thead sort options at the top */
div.gsc-above-wrapper-area {
    display: none;
}

/* First result remove top border */
.gs-rows a:first-child {
    border-top: none !important;
}

/* Hide the mention "enhanced by Google"*/
div.gcsc-more-maybe-branding-root, div.gcsc-find-more-on-google-root, div.gcsc-branding {
    display: none;
}


/************* End Hide Google Branding ****************/

.gs-rows {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    margin-left: -.5rem;
    margin-right: -.5rem;
}

    .gs-rows a {
        align-items: flex-start;
        flex: 1 1 230px;
        flex-grow: 1;
        display: flex;
        flex-direction: row-reverse;
        flex-basis: 100%;
        border-top: 1px solid #e0e0e0;
        padding-top: 1rem;
        margin: .5rem;
    }

.gs-info {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.gsc-cursor-page {
    /*display: block;
    flex: none;
    width: 100%;*/
    font-family: "Radio-Canada", "ArialMT", "Arial" !important;
    font-size: 1.2rem !important;
    /* font-weight: 700;*/
}

.gs-thumbnail {
    display: block;
    /*    flex: 1 1 220px;*/
    /*height: 124px;*/
    max-width: 300px;
    margin: 1.5rem 0 1.5rem 1.5rem;
}

    .gs-thumbnail img {
        object-fit: contain;
        border-radius: 25px;
        max-width: 300px;
    }

@media screen and (max-width: 767px) {
    .gs-rows a {
        flex-direction: column;
    }

    .gs-thumbnail {
        flex-grow: 0;
        flex-shrink: 0;
        line-height: 0px;
        margin: auto;
        max-width: 100%;
    }

        .gs-thumbnail img {
            object-fit: contain;
            min-height: 200px;
            max-width: 100%;
        }
    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

@media screen and (min-width: 1024px) {
    .gs-info-title {
        font-family: "Radio-Canada", "ArialMT", "Arial" !important;
        font-size: 1.2rem;
        font-weight: 700;
        padding-right: 7rem;
    }

    .gs-info-summary {
        font-family: "Radio-Canada", "ArialMT", "Arial" !important;
        font-size: 16px;
        padding-right: 9rem;
    }
}

@media screen and (max-width: 1024px) {
    .gs-info-title {
        font-family: "Radio-Canada", "ArialMT", "Arial" !important;
        font-size: 1.2rem;
        font-weight: 700;
    }

    .gs-info-summary {
        font-family: "Radio-Canada", "ArialMT", "Arial" !important;
        font-size: 16px;
    }

    .partner-logo-arts, .partner-logo-nature {
        width: 90% !important;
        left: 5% !important;
    }

    .partner-logo-container-arts, .partner-logo-container-nature {
        width: 170px !important;
        margin-right: 10px !important;
    }
}

.sticky {
    display: flex;
    justify-content: center;
    left: 0;
    right: 0;
    top: 0;
    position: fixed;
    z-index: 9999;
}

.floating-form {
    -moz-border-radius: 0px;
    -webkit-border-radius: 25px 25px 25px 25px;
    border-radius: 25px;
    position: fixed;
    right: -460px; /* Initially off-screen */
    top: calc(100% - 10px);
    transform: translateY(-100%);
    width: 420px;
    background-color: #f7f2eb;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: right 0.5s ease-in-out; /* Transition for sliding effect */
    z-index: 1050;
}

.form-header {
    -moz-border-radius: 0px;
    -webkit-border-radius: 25px 25px 0px 0px;
    border-radius: 25px 25px 0px 0px;
    background-color: #DD0000;
    color: white;
    padding: 10px 20px;
    margin: -20px -20px 20px -20px; /* Make the background color fill the whole line */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    cursor: pointer;
    color: white;
    font-size: 24px;
}

.form-title {
    box-sizing: border-box;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    margin: 0px;
    padding: 10px 10px 10px 10px;
}

.container-email {
    display: grid;
    gap: 5px;
}

.form-fields {
    align-items: flex-end;
    border: none;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto;
    margin: 0px;
}

.form-content {
    box-sizing: border-box;
    align-items: flex-end;
    background-color: rgb(247, 242, 235);
    color: rgb(0, 0, 0);
    display: grid;
    gap: 10px;
    padding: 10px;
}

.form-description {
    font-weight: 400;
    font-size: 1.375rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.label-email {
    line-height: 17px;
}

.container-email span {
    font-weight: 500;
    font-size: 0.8125rem;
}

.input-email {
    font-size: 0.875rem;
    border-radius: 5px;
    border: 1px solid;
    height: 47px;
    min-height: 47px;
    padding: 0px 10px;
}

.button-box {
    font-size: 0.875rem;
    line-height: 1.3;
    -webkit-box-align: center;
    align-items: center;
    background-color: rgb(0, 0, 0);
    box-sizing: border-box;
    border-radius: 4px;
    border: 3px solid transparent;
    color: rgb(255, 255, 255);
    display: flex;
    height: 48px;
    -webkit-box-pack: center;
    justify-content: center;
    min-height: 48px;
    padding: 5px 16px;
    text-align: center;
    transition-duration: 0.125s;
    transition-property: background-color, filter;
    transition-timing-function: ease-out;
}

.button-pos {
    align-self: flex-start;
    margin-top: 21px;
}
