/*Header- start*/

.ApplicationTitle {
    font-size: 1.5rem;
    width: 100%;
    font-family: "Raleway";
    font-weight: 600;
}

.ManagerHeader {
    max-width: 75rem;
    padding: 0 40px 0 20px;
}

.ontario-header {
    position: relative;
    background-color: #1a1a1a;
    color: #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: 5.75rem;
}

.ontario-header .ontario-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

.ontario-row {
    margin: 0 auto;
    max-width: 72rem;
    width: 100%;
}

.ontario-row:before, .ontario-row:after {
    content: " ";
    display: table;
}

.ontario-row:after {
    clear: both;
}

.ontario-header__logo-container {
    height: 46px;
}

.ontario-column, .ontario-columns {
    position: relative;
    padding-left: calc(2rem / 2);
    padding-right: calc(2rem / 2);
    box-sizing: border-box;
    float: left;
}

.ontario-header-button {
    background-color: #1a1a1a;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    height: 48px;
    line-height: calc(14 / 9);
    text-align: center;
    text-decoration: none;
}

.ontario-header-button:link {
    color: #fff;
}

.ontario-header-button:visited {
    color: #551a8b;
}

.ontario-header-button--with-outline:hover, .ontario-header-button--without-outline:hover {
    background-color: #4d4d4d;
    text-decoration: none;
}

.ontario-header-button:hover, .ontario-header-button:focus, .ontario-header-button:visited {
    color: #fff;
}

.ontario-header-button--with-outline, .ontario-header-button--without-outline {
    background-color: #1a1a1a;
    color: #fff;
}

.ontario-header__language-toggler {
    padding: .75rem;
}

.ontario-header__nav-right-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

.ontario-small-6 {
    width: 50%;
}

/*Header- end*/


/*Footer - start*/

.ontario-footer {
    color: #FFFFFF;
    padding: 4rem 0;
}

.ontario-footer__links-container {
    list-style: none;
    margin: 0 0 1rem 0;
    margin-bottom: 0.5rem;

}

.ontario-footer__links-container--inline {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex-direction: row;
}

.ontario-footer__links-container--two-column-list {
    column-count: 1;
    display: block;
    margin: 0;

    @media screen and (min-width: 40em) {
        column-count: 2;

        .ontario-footer__link {
            padding: 0;
            margin: 0 1rem 1rem 0;
        }
    }
}

.ontario-footer__links-container li {
    padding: 0.25rem 0;
}

.ontario-footer__link {
    color: #FFFFFF;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin: 0;
    text-decoration: underline;

    &:hover,
    &:focus {
        text-decoration: none;
    }

    &:visited,
    &:active,
    &:hover {
        color: #FFFFFF;
    }
}

.ontario-footer__copyright a {
    margin: 0;
}

.ontario-footer__links-container--social {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.ontario-footer__links-container--social .ontario-footer__link {
    background: transparent;
    border-radius: 45%;
    margin: 0 3rem 1rem 0;
    padding: 0;
    outline: none;
    height: calc(#{3rem} + #{0.5rem});
    width: calc(#{3rem} + #{0.5rem});
    display: flex;
    justify-content: center;
    align-items: center;

    &:hover,
    &:focus {
        background-color: darken(#FFFFFF, 100);

        .ontario-icon {
            fill: #FFFFFF;
        }
    }
}

.ontario-footer__links-container--social .ontario-footer__link .ontario-icon {
    fill: #FFFFFF;
    width: 36px;
    height: 36px;
}

.ontario-footer p {
    max-width: 48rem;
    width: 100%;

    a {
        color: #FFFFFF;
        font-weight: 600;

        &:visited {
            color: #FFFFFF;
        }

        &:active {
            color: darken(#FFFFFF, 10);
        }

        &:focus,
        &:hover {
            text-decoration: none;
        }
    }
}

.ontario-footer__ministry-logo {
    width: 100%;
    max-width: 255px;
}

.ontario-button.ontario-footer__button {
    background-color: #1A1A1A;
    border: 2px solid #FFFFFF;
    border-color: #FFFFFF;
    color: #FFFFFF;
    margin-bottom: 2rem;

    &:hover,
    &:focus {
        background-color: darken(#FFFFFF, 70);
    }

    &:active {
        background-color: darken(#FFFFFF, 60);
    }
}

/* Supergraphic background */
.ontario-footer--default {
    background-color: #1A1A1A;
    border-bottom: 4px solid #333333;
    position: relative;
}

.FastPageFooterContent {
    max-width: 100%;
}

.ontario-footer--default:before{
    background-color: #4d4d4d;
    background-repeat: no-repeat;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 275rem;
    background-position: calc(50vw - 187rem) -160rem;
}

.ontario-footer--default:before {
    background-image: url(../WebFiles/footer-default-supergraphic-logo.png);
}

.FastPageFooterContent {
    padding: 0 0;
}

/*Footer - end*/

/*Login - start*/

.ButtonCaptionText {
    word-break: normal;
    white-space: pre-line;
}

/*Login - end*/

/*WebMessage - Start*/

/* This css targets the html in web message IFSPYM in order to allow for dynamic resizing for mobile */
.PaymentComplete {
    width: 50rem
}
@media (max-width: 50rem) {
    .PaymentComplete {
        width: auto
    }
}

/*WebMessage - End*/