/* 
	Logo
    ---------------------------------------------------------------------------------------------------------------
*/


/* Fix for scrollbar offset when there's a notification */

body.modal-open {
    overflow: auto !important;
}

@media (min-width: 769px) {
    #main-company-logo {
        margin: 0em 0em 0em 2em;
    }
}

#main-company-logo {
    width: 35em;
}

.games #main-company-logo {
    width: 11em;
    min-width: 18em;
}

.login-panel .logo-container {
    margin-bottom: 2em;
}


/* 
	Custom
    ---------------------------------------------------------------------------------------------------------------
*/

.form-control {
    border-radius: 0px;
}

.btn {
    border-radius: 0px;
}


/*
    Colors, fonts
    ---------------------------------------------------------------------------------------------------------------
*/

body {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}


/* Header, footer */

.footer-item::after {
    color: grey;
}

.primary-theme {
    background-color: #fff;
}

.primary-theme.login-panel {
    background-color: white;
}


/* to-do bar, anniversary bar */

.highlight-background-color {}

.primary-font-color,
a.primary-font-color {}

.highlight-font-color,
a.highlight-font-color {
    color: #1460aa;
}

.dark-background-color {}

.btn-primary,
.custom-content-Landing .btn-primary {
    background-color: #1460aa !important;
    font-weight: 700;
    border-radius: 20px;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #0d4b88 !important;
}


/*
    Header / Navbar
    ----------------------------------------------------------------------------------------------------------------
*/

.navbar-company-logo img {
    max-height: 4em;
}

.navbar-mobile-sidebar-toggle .navbar-link {
    color: #E82C2A !important;
}

.navbar-desktop-sidebar-toggle {}

.navbar-item {}

.nav-link {
    color: white;
}

.navbar-link {
    color: white;
}

.navbar-link .nav-link,
.quick-link .nav-link,
.sidebar-link .nav-link {
    color: white;
}

.footer-link .nav-link {
    color: white;
}

.navbar-main-section {}

.navbar-main-section .navbar-link {
    color: black;
    font-weight: bold;
}

.navbar-desktop-sidebar-toggle .navbar-link,
.navbar-mobile-sidebar-toggle .navbar-link .navbar-link a {
    color: #000000;
}

.navbar-sub-section .navbar-link,
.navbar-secondary-section .navbar-link {
    color: white;
}


/*
    Sidebar (mobile)
    ----------------------------------------------------------------------------------------------------------------
*/

.sidebar-container .primary-theme {
    background-color: black;
}

.sidebar {}

.footer-link {
    color: white;
}

.sidebar-footer-section .sidebar-link {
    color: #fff;
}

.sidebar-link {}

.sidebar .nav-link {
    color: #fff;
}

.sidebar-link-user {}

.sidebar-user-section {}

.sidebar-user-section .sidebar-link {}

.sidebar-main-section {}

.sidebar-main-section .sidebar-link {}

.sidebar-sub-section {}

.sidebar-link {}


/*
    Footer
    --------------------------------------------------------------------------------------------------------------
*/

.footer {
    background-color: white;
}

.footer.primary-theme {
    border: none;
}

.footer-item {}

.footer-link {}


/* #footer id selector should just be used temporarily for positioning */

#footer {
    /* margin-top: 0; */
    /* Uncomment this line to undo the sticky footer (always pushed to bottom) */
    box-shadow: 7px -9px 10px #DFDFDF;
    border-top: 1px solid #CACACA;
}


/*
	"Themed" elements
	--------------------------------------------------------------------------------------------------------------
*/


/* Selected contacts in applause form, grid filter tags */

.tag-item {
    background-color: #7344a2;
}


/* Selected strengths in applause form */

.checkbox-pillbox-active {
    background-color: #7344a2;
}


/* Nav tabs in snapshot/profile page */

.profile-nav.active>.nav-link {
    background-color: #7344a2 !important;
}

.language-code-fr .login-side-image {
    background-image: url("../images/fr/Special-Login-Image.png");
}

.forgot-password-message {
    color: #333;
}

.forgot-password-container .forgot-password-message-success {
    color: #000;
}

.login-container {
    background: url("../images/en/logon-image.jpg") no-repeat center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.language-code-fr .login-container {
    background: url("../images/fr/logon-image.jpg") no-repeat center;
}

.login-panel {
    color: black;
}

.login-panel .logo {
    background-image: url("../images/en/logo-large-login.png");
    background-position: center;
}

.language-code-fr .login-panel .logo {
    background-image: url("../images/fr/logo-large-login.png");
    background-position: center;
}

.primary-theme {
    border-right: 1px solid #CACACA;
    border-bottom: 1px solid #CACACA;
    background-color: black;
}

@media (max-width: 767px) {
    .login-child-section {
        padding: 40px;
    }
}

@media (min-width: 768px) {
    .login-child-section {
        padding: 45px;
    }
}

@media (min-width: 1200px) {
    .login-child-section {
        padding: 30px;
    }
}

.login-child-section .footer {
    background: none;
}

.login-child-section .footer,
.login-child-section a,
.login-child-section h3,
.login-child-section .btn-link {
    color: white;
}

.login-child-section .footer {
    margin-top: 0;
}

.login-child-section .footer-content {
    border: none;
}

.login-parent-section {
    background-color: rgba(94, 48, 140, 0.8);
}

.login-button {
    width: 100%;
}

.problem-signing-in {
    text-align: center;
}

.login-panel .problem-signing-in-link {
    color: #000 !important;
}

.login-button.btn.disabled,
.login-button.btn[disabled] {
    opacity: 1;
}

.login-panel .forgot-password-message.forgot-password-message-error {
    color: black;
}


/*
    Special page headers (tutorial, rewards, awards, incentives)
    --------------------------------------------------------------------------------------------------------------
*/

.promo-header-text {
    opacity: 0;
}

.promo-header-title {
    color: #fff;
}

.award .promo-header-container,
.award-header {
    background-image: url("../images/en/Award-Background-Image.jpg");
}

.incentive .promo-header-container,
.incentive-header {
    background-image: url("../images/en/Incentive-Background-Image.jpg");
}

.language-code-fr .incentive .promo-header-container,
.language-code-fr .incentive-header {
    background-image: url("../images/fr/Incentive-Background-Image.jpg");
}

.claim-header-container {
    background-image: url("../images/Booking-Claim-Background.jpg");
}


/*
    Translation
    ----------------------------------------------------------------------------------------------------------------
*/

.translate-icon {
    background-image: url("../images/Translate-Icon.png");
}


/*
    Remove Brokerage Tier, Underwriter 1 & 2 from my team page contact area
    ----------------------------------------------------------------------------------------------------------------
*/

.promo-results-container .primary-theme.widget-header {
    background-color: black;
}


/* agency promo headers */

.primary-theme.widget-header {
    background-color: black;
}


/* gameplay links */

li.navbar-item.NavLink_Games,
.is-gameplay li.sidebar-item.NavLink_Games {
    background-color: #e82c2a;
    border: 1px solid white;
    margin-bottom: 0px;
    height: 28px;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    margin-right: 8px;
    animation-name: pulsate;
    animation-fill-mode: both;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    display: none !important;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.is-gameplay li.sidebar-item.NavLink_Games {
    padding: 0 6px;
    font-size: 13px;
    background-color: #e82c2a;
}

.is-gameplay li.sidebar-item.NavLink_Games {
    display: inline-block;
}

li.sidebar-item.NavLink_Games {
    background-color: #044361;
    display: none;
}

.is-gameplay li.navbar-item.NavLink_Games {
    display: inline-block;
}

li.navbar-item.NavLink_Games {
    display: none;
}

li.navbar-item.NavLink_Games {}

.is-gameplay .games-link {
    display: block;
}

.games-link {
    display: none;
}


/* In French, hide the mission container: */

.language-FR #hotspot-container {
    display: none;
}


/* add a message in French: */

.language-FR #mission::before {
    content: "Version française à venir";
    font-size: 3vw;
    background-color: rgba(255, 255, 255, 0.9);
    margin-top: 10% !important;
    box-shadow: 0px 0px 20px lightblue;
}


/* all games page - Temporary fix for the games and missions issue */

.navbar-item.Games.history {
    background-color: red;
    color: white !important;
    padding: 1px;
    margin-top: -5px;
    border-radius: 10px;
    margin-right: 12px;
}

.navbar-main-section .Games .navbar-link {
    color: white;
    font-size: 16px;
    text-transform: uppercase;
}


/* Reloadable Card Fixes */


/* Customize Reloadable card to remove dollar sign and add Aeroplan Miles */

.language-code-en .card-container .redeem-buttons .dollar-value::before {
    content: "$";
    display: none;
}

.language-code-en .card-container .dollar-value::before,
.language-code-fr .card-container .dollar-value::after {
    display: none;
}

.language-code-en .card-container .redeem-buttons .dollar-value::after {
    content: " Aeroplan Points";
    font-size: .6em;
    display: block;
    line-height: 1.1em;
    margin-bottom: 10px;
}

.language-code-fr .card-container .redeem-buttons .dollar-value::after {
    content: " Points Aéroplan";
    font-size: .6em;
    display: block;
    line-height: 1.1em;
    margin-bottom: 10px;
}

.card-transaction-success-container .success-message .success-message-header {
    color: black;
}


/* Registration Page: show username helper text */

.register-form .username-helper-text {
    display: block;
}


/* Registration Page: tweaking available fields */

.field-contents.col-sm-4.fs-hide-without-consent.middle-name-field {
    display: none;
}


/* Registration Process - change padding on the terms and conditions box */

.modal-body .terms-container {
    margin: 1%;
    margin-top: 0;
}


/* After hiding middle name above, stretch out the first and last name fields */

@media (min-width: 768px) {
    .first-name-field.col-sm-4,
    .last-name-field.col-sm-4 {
        width: 48%;
    }
    .first-name-field.col-sm-4 {
        margin-right: 4%;
    }
}

.phone-field,
.birthday-field,
.start-day-field,
.company-field {
    display: none;
}

.field-contents.limiter-1-field {
    display: none;
}


/* Tweaking the incentive page */

.promo-card-container {
    background-color: white;
    border-radius: 1.6rem;
    box-shadow: 0 0 15px #ddd;
}

.incentive body {
    background-color: #f9f9f9;
}

.promo-card-container .promo-card-thumbnail {
    border-radius: 0.5rem;
}

.promo-card-container .promo-card-title {
    line-height: 32px;
    font-size: 26px;
    color: black;
    font-weight: 700;
}

.promo-card-container-link:focus .promo-card-container,
.promo-card-container-link:hover .promo-card-container {
    box-shadow: 0 0 25px #ccc;
    text-decoration: none;
    transition: .2s;
}

.ribbon {
    background: #D8292F !important;
    color: white !important;
}


/* Add a background-color to the landing page */


/* dark background test 
.Landing-Incentives {
    background-color: #282828;
    background-size: cover;
    background-image: url(https://aircanadaandme-etmoi-uat.rewardsnation.com/assets/clients/aircanadaandme-etmoi-uat/enterprise/images/Max_Desktop.webp);
}
    */

.Landing-Incentives {
    background-color: #f9f9f9;
}


/* Custom fix for new login page  */

.flex-fill-height.content-html-container.custom-content-customlogincontent {
    height: 100vh !important;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: url(../images/en/logon-image.jpg) no-repeat center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.login-footer nav-link {
    background-color: #1460aa;
    font-weight: 700;
    border-radius: 20px;
    font-size: 2rem;
    color: #fff !important;
    display: block;
    margin-bottom: 0;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    display: none;
}

.login-footer nav-link a {
    color: white !important;
    text-decoration: none;
}

@media (max-width: 992px) {
    .login-footer nav-link {
        display: block;
    }
}


/* Change language - make bilingual */

.language-code-en a#change-language-dropdown-toggle-login-panel::after {
    content: "| Changer de langue";
}

.language-code-fr a#change-language-dropdown-toggle-login-panel::before {
    content: "Change the language |";
}


/* Hide Contact form on contact page*/

section.contact-us-form {
    display: none;
}