/*.fh5co-cover .overlay {*/
    /*background-color: #000;*/
    /*background-position: bottom right;*/
    /*background-repeat: no-repeat;*/
    /*background-size: contain;*/
/*}*/

html, body, div#template {
    height: 100% ;
}

.header_logo, .logo_image {
    max-height: 75px !important;
}

.navbar {
    min-height: 95px !important;
}


/*
 * The white list text belongs to the landing page hero, which sits on a
 * dark background image.  The rule used to apply to every section with
 * the general class, which made the list items on all of the content
 * pages white on a white background, so the text could not be read at
 * all.  It is scoped to the section that actually carries the background
 * image.
 */
section.general.top-bg ul li ,
section.general.top-bg ol li {
    color: white;
}

/*
 * Bootstrap's link colour, #007bff, is only 3.98:1 against a white
 * background, which is below the 4.5:1 that WCAG 2.1 AA asks for on
 * normal sized text.  The link colour is darkened here so that the
 * links on the pages can be read.  The vendored Bootstrap file is not
 * changed, because it is a third party file.
 */
a {
    color: #0062cc;
}

a:hover,
a:focus {
    color: #004a99;
}

/*
 * The green and orange button colours carried white text at 2.74:1 and
 * 3.47:1.  Both backgrounds are darkened so that the white text on them
 * reaches the 4.5:1 minimum.
 */
.nav-signup {
    background: #237f23;
}

.btn-join {
    background: #b55006;
}

/*
 * The orange section on the landing page carried white text on a
 * #da6a08 background, which is 3.47:1 and does not reach the 4.5:1 that
 * WCAG 2.1 AA asks for on normal sized text.  The paragraphs were worse:
 * they were painted in rgba(255,255,255,0.8), which composites to
 * #f8e1ce over that orange and reaches only 2.75:1.
 *
 * The E.21 pass darkened .btn-join, but the section that actually carries
 * the orange is .section-control, which is a different rule in a
 * different file, so it was missed.  The background is darkened here to
 * #b55006, which gives 5.10:1 against white, and the paragraph colour is
 * made opaque so that it is judged on the colour a person actually sees.
 */
.section-control {
    background: #b55006;
}

.section-control p {
    color: #ffffff;
}

/*
 * The accordion headers on the landing page carry the same orange and
 * the same white text, so they have the same 3.47:1 problem.  This is
 * the third rule that uses #da6a08; the button rule was already
 * darkened by E.21, but the section and the accordion headers were
 * missed.  The background is darkened here for the same reason.
 */
.accordion-cstm .card-header {
    background: #b55006;
}

/*
 * Bootstrap's button colours paint white text on light backgrounds.
 * Three of them fail WCAG 2.1 AA:
 *
 *   .btn-success  #5cb85c  2.48:1
 *   .btn-info     #5bc0de  2.09:1
 *   .btn-warning  #f0ad4e  1.95:1
 *   .btn-danger   #d9534f  3.96:1
 *
 * .btn-primary (#337ab7) reaches 4.56:1 and is left alone.  The
 * failing colours are darkened here, keeping the hue, so that the
 * white text reaches the 4.5:1 that AA asks for:
 *
 *   .btn-success  #428442  4.55:1
 *   .btn-info     #3c7f93  4.52:1
 *   .btn-warning  #976d31  4.62:1
 *   .btn-danger   #c84c49  4.58:1
 *
 * The hover, focus, active and disabled states are covered as well,
 * because Bootstrap gives each of them its own background.
 *
 * The vendored Bootstrap file is not changed, because it is a third
 * party file.
 */
.btn-success,
.btn-success:focus,
.btn-success.active,
.btn-success:active,
.btn-success:hover,
.btn-success.disabled,
.btn-success.disabled:hover,
.btn-success.disabled:focus,
.btn-success.disabled:active,
.btn-success[disabled],
.btn-success[disabled]:hover,
.btn-success[disabled]:focus,
.btn-success[disabled]:active {
    background-color: #428442;
    border-color: #367536;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active {
    background-color: #367536;
    border-color: #2d6030;
}

.btn-info,
.btn-info:focus,
.btn-info.active,
.btn-info:active,
.btn-info:hover,
.btn-info.disabled,
.btn-info.disabled:hover,
.btn-info.disabled:focus,
.btn-info.disabled:active,
.btn-info[disabled],
.btn-info[disabled]:hover,
.btn-info[disabled]:focus,
.btn-info[disabled]:active {
    background-color: #3c7f93;
    border-color: #316878;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active {
    background-color: #316878;
    border-color: #285565;
}

.btn-warning,
.btn-warning:focus,
.btn-warning.active,
.btn-warning:active,
.btn-warning:hover,
.btn-warning.disabled,
.btn-warning.disabled:hover,
.btn-warning.disabled:focus,
.btn-warning.disabled:active,
.btn-warning[disabled],
.btn-warning[disabled]:hover,
.btn-warning[disabled]:focus,
.btn-warning[disabled]:active {
    background-color: #976d31;
    border-color: #7d5928;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active {
    background-color: #7d5928;
    border-color: #654723;
}

.btn-danger,
.btn-danger:focus,
.btn-danger.active,
.btn-danger:active,
.btn-danger:hover,
.btn-danger.disabled,
.btn-danger.disabled:hover,
.btn-danger.disabled:focus,
.btn-danger.disabled:active,
.btn-danger[disabled],
.btn-danger[disabled]:hover,
.btn-danger[disabled]:focus,
.btn-danger[disabled]:active {
    background-color: #c84c49;
    border-color: #ac403d;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active {
    background-color: #ac403d;
    border-color: #8d3634;
}

/*
 * The text on the landing page hero sits on a photograph.  The photo has
 * both very dark areas and very light areas, so the text colour could
 * not be chosen to be readable over both of them.  A dark scrim is put
 * behind the text column so that the contrast does not depend on what
 * the photograph happens to show.  With the scrim in place the white
 * heading reaches 10.13:1 and the pale text reaches 9.29:1.
 */
.top-info {
    background: rgba(20, 22, 24, 0.8);
    padding: 20px 24px;
    border-radius: 4px;
}

/*
 * The hero link was #f28526, which could not be read over the light
 * areas of the photograph even with the scrim.  A lighter orange is
 * used instead, which reaches 4.89:1 over the lightest part of the
 * scrimmed background.
 */
.top-info a {
    color: #ff9d3d;
}

.top-info a:hover,
.top-info a:focus {
    color: #ffb570;
}

/*
 * Bootstrap removes the focus shadow from link buttons, so the accordion
 * headings on the landing page and any other link button showed no
 * indication of where the keyboard focus was.  A visible outline is put
 * back for every element that can be focused.
 */
a:focus,
button:focus,
.btn:focus,
.btn-link:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 3px solid #b55006;
    outline-offset: 2px;
    box-shadow: none;
}

/*
 * The link buttons are given the darker link colour so that they match
 * the links elsewhere on the site.
 */
.btn-link {
    color: #0062cc;
}

.btn-link:hover,
.btn-link:focus {
    color: #004a99;
}