/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #565656;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    line-height: 1.4;
}

body {
    font-size: .8125rem;
}

html a {
    color: #565656;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Shared layout
   ========================================================================== */

.titleWave {
    background: url("img/subTitleWave.png") repeat-x center;
    height: 1.4375rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.titleWave > .subTitle {
    background: #ffffff;
    position: relative;
    z-index: 2;
    padding: 0 1.0625rem;
}

.subTitle {
    font-size: 1.25rem;
    line-height: 1.25rem;
    color: #1780c3;
    text-transform: uppercase;
    font-weight: bold;
}

a.subTitle {
    text-decoration: none;
    border-bottom: 2px solid #1780c3;
}

a.subTitle:hover {
    color: #004f9f;
    border-bottom: 2px solid #004f94;
}

input.transBlue {
    color: #004f9f;
    border: 2px solid #004f9f;
    background: none;
}

input.transBlue:hover {
    color: #ffffff;
    background: #004f9f;
}

input.transBlue[disabled] {
    border: 2px solid #565656;
    color: #565656;
    cursor: default;
}

#footer,
#content {
    width: 100%;
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
}

article,
footer,
header {
    width: 60rem;
    margin: 0 auto;
}

#pageWrap {
    min-height: 100%;
    background: url("img/topGradient.png") repeat-x top;
}

#header {
    width: 100%;
    margin-bottom: 2.875rem;
}

#header #topWave {
    width: 100%;
    height: .9375rem;
    background: url("img/topWave.png") repeat-x;
    overflow: hidden;
    margin-bottom: 2.1875rem;
}

#header #topPhone {
    width: 19.375rem;
    margin: 0 0 0 33%;
    color: #004f9f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

#topPhone p {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    line-height: 1.8125rem;
    margin: 0;
}

#topPhone p > span {
    color: #959595;
    font-size: .875rem;
}

#topPhone p img {
    position: absolute;
    top: 0;
    left: 1px;
    z-index: 2;
}

#header #feedback {
    order: 1;
    width: 8rem;
    height: 1.9375rem;
}

#footer {
    height: 4.625rem;
    background: #dad8d4;
}

#footer footer {
    display: flex;
    align-items: flex-start;
}

#footer #bottomWave {
    width: 100%;
    height: 1.25rem;
    background: url("img/bottomWave.png") repeat-x;
    overflow: hidden;
    margin-bottom: .625rem;
}

#footer #contacts {
    width: 24.375rem;
    padding-right: .625rem;
    margin-right: 4.375rem;
    min-height: 1px;
}

#footer .footer-copyright {
    font-size: .8125rem;
    color: #26272a;
}

#footer #goTop {
    height: 1.875rem;
    width: 1.875rem;
    background: url("img/gotTop.png") no-repeat top;
    cursor: pointer;
}

#footer #goTop:hover {
    background: url("img/gotTop.png") no-repeat bottom;
}

/** CONTENT **/

#content #onContent {
    width: 61.25rem;
    margin: 0 auto;
    text-align: center;
}

#content #onContent h1 {
    text-transform: uppercase;
    color: #0c55a0;
    line-height: 1em;
    font-size: 2.25rem;
    text-align: center;
}

/** END CONTENT **/

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
