body {
    /* background-image: url('assets/test-background.png'); */
    background-repeat: repeat;
}

a,
a:visited {
    color: #0F73D7;
}

header {
    width: 100%;
    height: 60px;
    background-color: #0a55a0;
    margin-bottom: 15px;
}

header .alertable-logo {
    float: left;
    padding: 0 15px;
    height: 100%;
}

header .alertable-logo img {
    float: left;
    height: 29px;
    margin-top: 13px;
}

header .alertable-logo span {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    vertical-align: middle;
    margin-left: 15px;
    color: white;
    font-size: 20px;
    font-family: 'Open Sans';
    font-weight: bold;
}

header .link-action {
    float: right;
    display: inline-block;
    vertical-align: middle;
    height: 60px;
    line-height: 60px;
    margin-right: 15px;
    cursor: pointer;
    color: #ffbf6b;
    font-weight: bold;
    font-size: 1em;
    text-transform: uppercase;
    text-decoration: none;
}

.focusable:focus, .focusable:active {
    background-color: #0c67c2;
}

.banners {
    margin-bottom: 25px;
}

.clearfix {
    float: none;
    clear: auto;
}

.badges {
    max-width: 50%;
    height: auto;
    float: left;
    padding: 3px;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

.content {
    padding: 0 20px;
}

.content a {
    font-weight: bold;
}

.fullwidth {
    width: 100%;
    height: auto;
}

.maxWidth {
    max-width: 1170px;
    margin: 0 auto;
}

h1 {
    font-size: 42px;
    line-height: 46px;
    font-weight: bold;
    margin: 25px 0;
}

h2 {
    font-size: 22px;
    line-height: 26px;
    font-weight: bold;
}

.credit {
    font-size: 14px;
    line-height: 16px;
    font-style: italic;
    padding-top: 3px;
}

#alertMessage {
    width: 100%;
    height: 600px;
    border: none;
}

#alertMessage:target {
    display: block;
}

.nopadding {
    padding: 0;
}

.margin20 {
    margin-top: 20px;
}

.columnBorder {
    display: block;
    border: solid 4px #0a55a0;
}

.columnHeader {
    padding: 8px 0px 1px;
    color: #fff;
    text-align: center;
    background-color: #0a55a0;
    font-weight: bolder;
}

.columnHeader h2 {
    font-size: 34px;
    line-height: 32px;
    font-weight: 700;
    text-align: center;
}

.badgeBlock {
    padding: 15px;
    display: block;
}

.hidden {
    display: none !important;
}

.email-and-sms {
    font-style: normal;
}

.alert-message-toggle {
    cursor: pointer;
}

#customer-name-row {
    border-bottom: solid 1px #ccc;
}

.customer-title {
    padding-left: 20px;
}

#customer-name {
    font-family: 'Open Sans';
    color: #0a55a0;
}

#customer-logo {
    max-height: 6em;
    max-width: 80%;
}

.footer-spacer {
    height: 60px;
}

footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    height: 45px;
    background-color: #0a55a0;
    margin: 0;
}

footer .copyright {
    float: left;
    height: 100%;
    padding-left: 8px;
}

footer .copyright span {
    font-size: 12px;
    color: white;
    height: 45px;
    line-height: 45px;
    vertical-align: middle;
    display: inline-block;
}

footer .copyright span a {
    font-weight: normal;
    color: #ffffff;
}

footer .copyright span a:hover {
    text-decoration: underline;
}

footer .copyright .desktop {
    display: inline;
}

/* Currently using short version for both
footer .copyright .mobile {
    display: none;
}
*/

footer .terms a {
    font-size: 12px;
    color: #ffbf6b !important;
    cursor: pointer;
    height: 45px;
    line-height: 45px;
    vertical-align: middle;
    display: inline-block;
    padding: 0 8px;
    font-weight: bold;
}

footer .terms a:hover {
    color: #ffbf6b;
    text-decoration: underline;
}

footer .terms a:active, .terms footer a:focus {
    background-color: #0c67c2;
}

footer .terms {
    float: right;
    height: 100%;
}

#intro {
    margin-bottom: 1rem;
}

#intro p {
    margin-bottom: none;
}

.loader .loader-focus {
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 45px;
    left: 0;
    z-index: 2;
    background-color: #fff;
    opacity: 0;
    transition: opacity 150ms linear;
    pointer-events: none;
}

.loader .loader-spinner {
    position: absolute;
    z-index: 3;
    top: calc(50% - 75px/2);
    left: calc(50% - 75px/2);
    border-radius: 50%;
    border: solid 6px #0c67c2;
    border-top-color: #fff;
    width: 75px;
    height: 75px;
    animation-name: spin;
    animation-duration: 500ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    transition: opacity 150ms linear;
    opacity: 0;
    pointer-events: none;
}

.loader.show .loader-focus {
    opacity: 1;
}

.loader.show .loader-spinner {
    opacity: 1;
}

.scroll-to-bottom-btn {
    position: absolute;
    bottom: 10px; /* Adjust position as needed */
    right: 10px; /* Adjust position as needed */
    z-index: 1; /* Ensure button appears above iframe */
    padding: 10px 20px;
    cursor: pointer;
    background-color: #00000022;
    border: none;
}

@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

@media only screen and (max-width: 767px) {
    h1 {
        font-size: 28px;
        line-height: 32px;
        padding: 0 18px;
        margin: 15px 0;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .content {
        padding: 10px;
    }

    .credit {
        display: block;
        clear: both;
        padding: 10px 0;
    }

    .banners {
        margin-bottom: 0;
    }
    
    footer .copyright {
        padding-left: 4px;
    }
    
    /* Currently using short version for both
    footer .copyright .desktop {
        display: none;
    }
    
    footer .copyright .mobile {
        display: inline;
    }
    */
    
    footer .terms a {
        padding: 0 2px;
    }
}

@media only screen and (max-width: 380px) {
    /* Not enough room so dropping this */
    footer .french-copyright {
        display: none;
    }
}
