﻿@import url("css/reset.css");
@import url("css/typography.css");

.black {
    color: #000;
}

.blue {
    color: #0A579D;
}

video {
    max-width: 100%;
    height: auto;
}

iframe,
embed,
object {
    max-width: 100%;
}

#navbarA4A-wrapper .hero-image /*,
#navbarA4A-wrapper .hero-image-2*/ {
    height: 200px;
    position: relative;
}

#navbarA4A-wrapper .hero-image-2 {
    background-size: cover !important;
    position: relative;
    background-position: right center !important;
    padding-bottom: 27%;
    margin-left: -15px;
    margin-right: -15px;
}

@media (min-width:768px) {
    #navbarA4A-wrapper .hero-image-2 {
        padding-bottom: 17%;
        background-position: center center !important;
    }
}

#navbarA4A-wrapper .container {
    /*padding: 0; lili */
}

#navbarA4A-wrapper .h1 {
    color: #fff;
    font-weight: bold;
}

.navbar-nav a,
.navbar-nav a:visited {
    color: #0d64a5;
    font-family: "Montserrat-Regular", sans-serif;
}

    .navbar-nav a:hover {
        color: #e90046;
    }

    .navbar-nav a:hover,
    .navbar-nav a:focus,
    .nav > li > a:hover,
    .nav > li > a:focus {
        background-color: #fff;
    }

#neilid .navbar-nav li:last-child a.smi.l2 {
    padding-right: 0;
}

.hero-content-wrapper {
    padding: 40px;
}

@media (max-width:375px) {
    .hero-content-wrapper {
        padding: 40px;
    }
}

.hero-content h1 {
    font-family: "Montserrat-Bold", sans-serif;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.8);
}

.hero-image .hero-content-container {
    position: relative;
    bottom: -10px;
}

.hero-image-2 .hero-content-container {
    position: relative;
    bottom: -100px; /*-38px;*/
}

@media (min-width: 767px) {
    #navbarA4A-wrapper .hero-image {
        height: 400px;
        position: relative;
    }

    .hero-image .hero-content-container {
        position: relative;
        bottom: -160px;
    }
}

@media (min-width: 1198px) {
    #navbarA4A-wrapper .hero-content {
    }
}

#navbarA4ATop-wrapper .row.no-gutter [class*='col-']:last-child,
#navbarA4ATop-wrapper .row.no-gutter [class*='col-']:first-child {
    padding: 0;
}

#topContent-wrapper {
    background-color: #ffffff;
    margin-top: 3.2em;
    margin-bottom: 2.5em;
}

    #topContent-wrapper .topContent {
        padding-left: 15px;
        padding-right: 15px;
    }

.col-vert-center {
    display: table-cell;
    vertical-align: middle;
    float: none;
}

/* Media boxes */

.media-box {
    position: relative;
    box-shadow: 0px 0px 28px -6px rgba(0,0,0,0.5);
}

    .media-box + .media-box {
        margin-top: 40px;
    }

.media-box__p {
    line-height: 1.3em;
    margin-bottom: 10px;
}

@media (max-height: 991px) {
    .media-box__p.leftright {
        min-height: 2.6em;
    }

        .media-box__p.leftright.english {
            min-height: 2.6em;
        }

        .media-box__p.leftright.french {
            min-height: 3.9em;
        }
}

a.btn.media-box__button {
    background: #0d64a5;
    border-radius: 5px;
    color: #fff;
    padding: 3px 9px; /*5px 9px*/
    text-decoration: none;
    line-height: 1.4em;
    font-size: 16px;
    white-space: normal !important;
}

/*.media-box__image > img {
    width: auto;
}

@media (min-width:768px) {
    .media-box__image > img {
        width: 100%;
    }
}*/

.media-box__container {
    overflow: hidden;
    position: relative;
}

.media-box--type1 {
    background: #fff;
}

    .media-box--type1 .media-box__container {
        margin-left: 0;
    }

    .media-box--type1 .media-box__image {
        position: inherit;
        width: 100%;
        display: block;
    }

        .media-box--type1 .media-box__image > img {
            width: 100%;
        }

    .media-box--type1 .media-box__content {
        width: 100%;
        padding: 40px 20px 20px;
    }

    .media-box--type1 .media-box__h2 {
        font-family: 'Montserrat-Bold', sans-serif;
        position: absolute;
        top: -10px;
        left: -10px;
        padding: 5px 10px 5px 30px;
        background: #e50145;
        color: #fff;
        width: 100%;
        font-size: 1rem;
        height: 40px;
        line-height: 35px;
    }

        .media-box--type1 .media-box__h2:after {
            left: 100%;
            top: 50%;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border-color: rgba(136, 183, 213, 0);
            border-left-color: #e50145;
            border-width: 20px;
            margin-top: -20px;
        }

@media (min-width: 992px) {

    .media-box--type1 .media-box__content {
        width: 60%;
        padding: 60px 40px 30px;
        min-height: 200px;
    }
}

@media (min-width: 768px) {

    .media-box--type1 .media-box__content {
        width: 60%;
        padding: 60px 40px 30px;
    }
}

@media (min-width: 768px) {

    .media-box--type1 .media-box__container {
        margin-left: 10px;
    }

    .media-box--type1 .media-box__image {
        position: absolute;
        right: 0;
        top: 0;
        width: 40%;
    }

        .media-box--type1 .media-box__image > img {
            width: 100%;
            height: auto;
        }

        .media-box--type1 .media-box__image.applyForAGrant {
            background-position: right top;
            background-position-x: right;
            background-position-y: top;
            background-origin: content-box;
            background-size: cover;
            height: 100%;
            min-height: 250px;
        }

    .media-box--type1 .media-box__h2 {
        position: absolute;
        top: -10px;
        left: -10px;
        padding: 5px 10px 5px 60px;
        background: #e50145;
        color: #fff;
        width: 49%;
        font-size: 1.3rem;
        height: 46px;
        line-height: 36px;
    }

        .media-box--type1 .media-box__h2:after {
            border-width: 23px;
            margin-top: -23px;
        }
}

.media-box--type2 {
    background: #0d64a5;
    color: #fff;
}

    .media-box--type2 .media-box__h2,
    .media-box--type3 .media-box__h2 {
        font-family: 'Montserrat-Bold', sans-serif;
        padding: 30px 40px 0;
        font-weight: bold;
        font-size: 1.1em;
        text-decoration: underline;
    }

        .media-box--type2 .media-box__h2 a,
        .media-box--type2 .media-box__h2 a:hover {
            color: #fff;
        }

    .media-box--type2 .media-box__content,
    .media-box--type3 .media-box__content {
        padding: 15px 40px 30px;
    }

    .media-box--type2 a.media-box__button {
        color: #0d64a5;
        background: #fff;
    }

    .media-box--type2 .media-box__image {
        position: inherit;
        width: 100%;
        display: block;
    }

        .media-box--type2 .media-box__image > img {
            width: 100%;
        }

.media-box--type3 {
    background: #fff;
}

    .media-box--type3 .media-box__h2 a {
        color: #0d64a5;
    }

a.media-box__button:hover,
a.media-box__button:focus {
    background: #e90046;
}

.media-box--type2 a.media-box__button:hover,
.media-box--type2 a.media-box__button:focus {
    color: #e90046;
    background: #fff;
}



/* Sponsors */

#sponsor-wrapper {
    margin: 60px 0;
    text-align: center;
}

.sponsor-h1 {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    height: 40px;
    line-height: 35px;
    color: #0d64a5;
}

.sponsor-set {
    text-align: center;
    margin-top: 0;
}

.sponsor-h2 {
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

@media (min-width: 480px) {
    .sponsor-h2 {
        font-size: 1em;
        font-weight: bold;
        margin-bottom: 10px;
    }
}

.sponsorlogo {
}

    .sponsorlogo > img {
        padding-right: 10px;
        padding-left: 10px;
        margin-top: 20px;
        height: auto;
        max-height: 50px;
    }

    .sponsorlogo:first-child > img {
        width: 205px;
        padding-left: 0;
    }

    .sponsorlogo:nth-child(2) > img {
        width: 130px;
    }

    .sponsorlogo:nth-child(3) > img {
        width: 60px;
    }

    .sponsorlogo:nth-child(4) > img {
        width: 220px;
    }

    .sponsorlogo:nth-child(5) > img {
        width: 200px;
    }

    .sponsorlogo:last-child > img {
        width: 100px;
        padding-right: 0;
    }

/* Side menu */

.side-menu-box {
    padding: 88px 40px 30px;
    box-shadow: 0px 0px 28px -6px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.side-menu__h2,
.navbar-primary.navbar-xs a.selected,
.navbar-primary.navbar-xs a.selected:hover,
.navbar-primary.navbar-xs a.selected:visited {
    font-family: 'Montserrat-Bold', sans-serif;
    position: absolute;
    top: 20px;
    left: 0;
    padding: 5px 10px 5px 55px;
    background: #e50145;
    color: #fff;
    width: 87%; /*70%;*/
    font-size: 1.3rem;
    height: 40px;
    line-height: 1.7rem;
}

    .navbar-primary.navbar-xs a.selected,
    .navbar-primary.navbar-xs a.selected:hover,
    .navbar-primary.navbar-xs a.selected:visited {
        position: inherit;
        color: #fff !important; /* lazy me */
        line-height: 1.2;
    }

        .navbar-primary.navbar-xs a.selected:hover,
        .navbar-primary.navbar-xs a.selected:visited {
        }

        .side-menu__h2:after,
        .navbar-primary.navbar-xs a.selected:after {
            left: 100%;
            top: 50%;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border-color: rgba(136, 183, 213, 0);
            border-left-color: #e50145;
            border-width: 20px;
            margin-top: -20px;
        }

.side-menu-box a,
.side-menu-box a:hover {
    color: #0d64a5;
    text-decoration: none;
    font-family: "Montserrat-Regular", sans-serif;
    font-size: 16px; /* added Sept 9 */
}

    .side-menu-box a:hover {
        color: #e90046;
    }

.side-menu-box .side-menu__primary,
.navbar-sub-nav li {
    list-style: none;
}

.side-menu-box .side-menu__primary {
    margin-left: 0;
    margin-bottom: 25px; /* added Sept 9 */
}

.navbar-sub-nav {
    display: none;
    margin-top: 34px;
    padding-bottom: 13px;
    border-bottom: 1px solid #ccc;
}

    .navbar-sub-nav.show {
        display: inherit;
    }

    .navbar-sub-nav li {
        padding: 10px 30px;
    }

        .navbar-sub-nav li a,
        .navbar-sub-nav li a:hover,
        .navbar-sub-nav li a:visited {
            text-decoration: none;
            color: #0174C5;
        }

.side-menu-box .side-menu__tertiary {
    list-style: disc;
}

    .side-menu-box .side-menu__primary li,
    .side-menu-box .side-menu__tertiary li {
        margin-bottom: 10px;
    }

    .side-menu-box .side-menu__tertiary li {
        margin-left: 15px;
    }

.side-menu__h3 {
    font-family: "Montserrat-Bold", sans-serif;
    margin-top: 0;
    margin-bottom: 15px;
    border-top: 2px solid #0d64a5;
    padding-top: 25px;
    font-size: 16px;
}

@media (min-width: 480px) {
    #topContent-wrapper-landingpage {
        margin-top: 2.5em;
        margin-bottom: 2.5em;
    }

    #topContent-wrapper {
        margin-top: 2.5em; /* 0 */
        margin-bottom: 2.5em;
    }

        #topContent-wrapper .topContent, #topContent-wrapper-landingpage .topContent {
            padding-left: 15px;
            padding-right: 15px;
        }
}

.whiteContentPane-fullwidth {
    padding: 0 10px;
}

@media (min-width: 768px) {
    .whiteContentPane-fullwidth {
        padding: 0 0 0 0;
    }
}

/*#content-wrapper {
    background-image: url("/portals/_default/Skins/RHF-2016-A4A/images/RHF_Spring_Awareness_Campaign_Dots.jpg");
    background-repeat: repeat-x repeat-y;
    background-color: #0d64a5;
    -moz-background-origin: border-box;
    -webkit-background-origin: border-box;
    background-origin: border-box;
    padding: 2em 1em;
}*/

#content-wrapper {
    background-image: url("https://rhfcdn.blob.core.windows.net/a4a/CAN-589 Access4All Signiture Initiative – C150_Connector_Symbol.svg");
    background-repeat: no-repeat;
    background-color: #0d64a5;
    background-position: right bottom;
    background-size: cover;
    padding: 2.5em 0;
    -moz-background-origin: border-box;
    -webkit-background-origin: border-box;
    background-origin: border-box;
}

@media (min-width: 992px) {
    #content-wrapper {
        /*padding: 2.5em 2em;*/
    }
}

/* remove spacing between middle columns */
.row.no-gutter [class*='col-']:not(:first-child):not(:last-child) {
    padding-right: 1em;
    padding-left: 1em;
}
/* remove right padding from first column */
.row.no-gutter [class*='col-']:first-child {
    padding-right: 0.5em;
}
/* remove left padding from first column */
.row.no-gutter [class*='col-']:last-child {
    padding-left: 0.5em;
}

.whiteinside {
    background-color: white;
}

.inside {
    margin-top: 0;
    margin-bottom: 0;
    background-color: transparent;
}

.inside-full-height {
    height: 100%;
}

.content {
    padding: 2.2625em 2.2625em 2.5em 2.2625em; /*12px 3px;*/
}

.row-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
}

.col-height {
    display: table-cell;
    float: none;
    height: 100%;
}

.col-top {
    vertical-align: top;
}

.col-middle {
    vertical-align: middle;
}

.col-bottom {
    vertical-align: bottom;
}

.col-md-height:last-child {
    margin-top: 1em;
}

@media (min-width: 992px) {
    .row-md-height {
        display: table;
        table-layout: fixed;
        height: 100%;
        width: 100%;
    }

    .col-md-height:first-child {
        padding-right: 0.5em;
        margin-top: 0;
    }

    .col-md-height:last-child {
        padding-left: 0.5em;
    }

    .col-md-height {
        display: table-cell;
        float: none;
        height: 100%;
    }

    .col-md-top {
        vertical-align: top;
    }

    .col-md-middle {
        vertical-align: middle;
    }

    .col-md-bottom {
        vertical-align: bottom;
    }
}

.col-sm-height:last-child {
    margin-top: 1em;
}

@media (min-width: 768px) {
    .row-sm-height {
        display: table;
        table-layout: fixed;
        height: 100%;
        width: 100%;
    }

    .col-sm-height:first-child {
        padding-right: 0.5em;
        margin-top: 0;
    }

    .col-sm-height:last-child {
        padding-left: 0.5em;
    }

    .col-sm-height {
        display: table-cell;
        float: none;
        height: 100%;
    }

    .col-sm-top {
        vertical-align: top;
    }

    .col-sm-middle {
        vertical-align: middle;
    }

    .col-sm-bottom {
        vertical-align: bottom;
    }
}


.bs-callout-access4 {
    /*border-left: 5px solid #0A579D;*/
    border-top: 2px solid #0d64a5;
    /*border-right: 1px solid #0A579D;
    border-bottom: 1px solid #0A579D;*/
    padding: 30px;
}

.bs-callout-access4-contentPane {
    border-left: 5px solid #0A579D;
    border-top: 1px solid #0d64a5;
    border-right: 1px solid #0A579D;
    border-bottom: 1px solid #0A579D;
    padding: 30px;
}
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

@media (max-width: 767px) {
}

/* Small devices (tablets, 768px and up) sm */
@media (min-width: 768px) {
}

/* Medium devices (desktops, 992px and up) md*/
@media (min-width: 992px) {
}

/* Large devices (large desktops, 1200px and up) lg*/
@media (min-width: 1200px) {
}


/* only for column content visible */
.col-lg-1 > div {
    background-color: #ddd;
}

.whiteContainer-fluid {
    background-color: #FFFFFE;
}

/****************************************************
    Buttons

****************************************************/

a.btn.btn-nav-white {
    border: none;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 1.3em;
    padding-left: 22px;
    padding-right: 22px;
}

    a.btn.btn-nav-white:link,
    a.btn.btn-nav-white:visited {
        background-color: #ffffff;
        color: #0076c0; /*#0479CB;*/
    }

    a.btn.btn-nav-white:hover,
    a.btn.btn-nav-white:active,
    a.btn.btn-nav-white:focus {
        color: #0A579D; /*#0062a8;*/
        background-color: #dddddd;
    }

@media (min-width: 450px) {
    a.btn.btn-nav-white {
        font-size: 1.6em;
    }
}

a.btn.btn-nav-blue {
    background-color: #0d64a5;
    border: none;
    font-family: 'Montserrat-Regular', sans-serif; /*'TradeGothicCondensed', sans-serif;*/
    font-size: 1.3em;
    color: #fff;
    margin-right: 5px;
    padding-left: 22px;
    padding-right: 22px;
}

    a.btn.btn-nav-blue:link,
    a.btn.btn-nav-blue:visited {
        color: #fff;
    }

@media (min-width: 450px) {
    a.btn.btn-nav-blue {
        font-size: 1.4em; /*1.6em*/
    }
}

a.btn.btn-nav-blue:hover,
a.btn.btn-nav-blue:active,
a.btn.btn-nav-blue:focus {
    color: #ffffff;
    background-color: #0A579D;
}

.navbar-rhfbtn {
    float: right;
}

a.btn.btn-nav-yellow {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4em;
    margin-right: 0;
    padding: 2px 22px 5px;
    border: 1px solid white;
    text-transform: uppercase;
    text-decoration: none;
}

    a.btn.btn-nav-yellow:link,
    a.btn.btn-nav-yellow:visited {
        color: #000;
        background-color: #fee600;
    }

@media (min-width:451px) and (max-width:767px) {
    a.btn.btn-nav-yellow {
        padding: 2px 10px;
        font-size: 1.3em;
    }
}

@media (max-width: 450px) {
    a.btn.btn-nav-yellow {
        padding: 2px 10px;
        font-size: 0.9em;
    }
}

a.btn.btn-nav-yellow:hover,
a.btn.btn-nav-yellow:active,
a.btn.btn-nav-yellow:focus {
    color: #000000; /*#0A579D; */
    background-color: #E0C600;
}

.buttonBox {
    vertical-align: bottom;
    position: absolute;
    bottom: 0;
}

.thumbnail {
    width: 260px;
    height: 180px;
    overflow: hidden; /* contain images within thumbnail boundaries */
    border: 0; /* removes Bootstrap's default border */
    -webkit-box-shadow: 0 17px 22px -20px #c4c4c4;
    -moz-box-shadow: 0 12px 12px -10px #c4c4c4;
    box-shadow: 0 12px 12px -10px #c4c4c4;
}

    .thumbnail img {
        width: 100%;
        height: auto;
    }
/* to keep proportions */
.thumbnails p {
    text-align: center;
    padding: 10px;
}
/* captions can be styled with an inline element */
.PartnersTitle h2 {
    padding-top: 1em;
    padding-bottom: 1em;
    color: white;
}

.applygrant-button {
    padding-right: 15px;
}

@media (min-width: 768px) {
    .applygrant-button {
        padding-right: 0;
    }
}
/*************************************************************************
    FOOTER
************************************************************************/
#footer-wrapper {
    background-color: #0d64a5;
    padding-bottom: 3.2em; /*120px;*/
    padding-top: 3.2em; /* 75px; */
}

@media (min-width: 768px) {
    #footer-wrapper {
        padding-bottom: 5em; /*120px;*/
        padding-top: 5em; /* 75px; */
    }
}

.social {
    height: 40px;
}
