/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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.
 */

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
    font-family: "Noah-Regular";
    src: url("/fonts/Noah-Regular.otf");
}

@font-face {
    font-family: "Noah-Bold";
    src: url("/fonts/Noah-Bold.otf");
}

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

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;

    font-family: "Noah-Regular", serif;
}

b {
    font-family: "Noah-Bold", serif;
}

body {
    background: #e9eaee;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
    visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
    width: 1140px;
    height: 860px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: url("/img/header-background.jpg") no-repeat;
    background-size: cover;
}

.header__nav {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.86);

    padding-top: 20px;
    padding-bottom: 16px;
    padding-left: 20px;
}

.header__nav__logo-container {
    display: flex;
    flex-direction: column;
}

.header__nav__logo-container span {
    text-decoration: none;
    font-size: 18px;
    color: #0074b2;

    font-style: italic;

    margin: 12px 0;
    align-self: center;
}

.header__nav__logo {
    height: 75px;
}

.header__nav__menu {
    display: flex;
    list-style: none;

    margin: 0;
    padding: 0;
}

.header__nav__menu__item {
    margin-right: 24px;
}

.header__nav__menu__item__a {
    text-decoration: none;
    font-size: 24px;
    color: #0074b2;
}

.header__banner {
    background: rgba(255, 255, 255, 0.86);
    padding: 32px;
}

.header__banner__list {
    list-style: none;
    padding: 0 0 32px;
    margin: 0;

    display: flex;
    justify-content: center;
}

.header__banner__bottom {

    font-size: 16px;

}

.header__banner__bottom__title {
    font-size: 30px;

    color: #0074b2;
    text-transform: uppercase;
    text-align: center;

    padding: 0;
    margin: 0;
}

.header__banner__list__item {
    width: 240px;
    margin-right: 80px;

}

.header__banner__list__item__image {
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}

.header__banner__list__item__text {
    display: inline-block;
    text-align: center;
    font-size: 10px;
    color: #0074b2;
    text-transform: uppercase;
}

.header__banner__bottom__help {
    border-radius: 15px;
    background-color: #00aceb;
    color: #feffff;
    font-size: 18px;
    font-family: "Noah-Bold", serif;
    border: none;
    text-align: center;
    text-transform: uppercase;
    padding: 6px 10px;

    height: 30px;
    margin-right: 32px;
    margin-bottom: 12px;
}

.section {
    width: 1140px;
    margin: 0 auto;
    background: #fff;
    padding: 100px 100px 60px;
    box-sizing: border-box;
}

.section--blue {
    background-color: #0074b2;
    background-image: linear-gradient(to top, #00aceb 0%, rgba(0, 172, 235, 0) 100%);
}

.section__title {
    font-size: 24px;
    color: #0074b2;
    text-transform: uppercase;
    text-align: center;
    padding: 0;
    margin: 0 0 100px;
}

.section__title--blue {
    color: #fff;
}

.section__list {
    display: flex;
    list-style: none;
}

.section__list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-list__content.--img-text {
    list-style: none;
}

.section-list__content.--img-text > li {
    display: flex;
    margin: 24px 0;
}

.section-list__content.--img-text img {
    display: inline-block;
    align-self: flex-start;

    width: 120px;
    min-width: 120px;
    max-width: 120px;
}

.section-list__content.--img-text span {
    margin-left: 16px;
    font-size: 14px;
}

.section-list__right {
}

.section-list__title-container img {
    width: 60px;
    margin-right: 16px;
}

.section__list__item {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    width: 250px;
}

.section__list__item__img {
    margin-bottom: 10px;
}

.section__list__item__text {
    font-size: 10px;
    text-transform: uppercase;
    color: #0074b2;
    font-family: "Noah-Bold", serif;
}

.section__list__item__text--blue {
    color: #fff;
}

.section__sign {
    margin-top: 85px;
    color: #0074b2;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
}

.section__sign--blue {
    color: #ffffff;
}

.section-about-us {
    width: 1140px;
    margin: 0 auto;

    padding: 60px;
    box-sizing: border-box;
}

.section-about-us__title {
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
    color: #0074b2;
    font-family: "Noah-Bold", serif;
}

.section-about-us__text {
    text-transform: uppercase;
    font-size: 16px;
    text-align: center;
    color: #0074b2;
    font-family: "Noah-Bold", serif;
}

.footer {
    box-sizing: border-box;
    width: 1140px;
    margin: 0 auto;

    background-color: #0074b2;
    background-image: linear-gradient(to top, #00aceb 0%, rgba(0, 172, 235, 0) 100%);

    padding: 34px 200px 60px;

    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}

.footer__nav {
    display: flex;
    list-style: none;
    padding: 0;

    justify-content: flex-start;
}

.footer__nav__item:first-child {
    margin-right: 24px;
}

.footer__nav__item__title {
    color: #fff;
    font-family: "Noah-Bold", serif;
    padding-top: 0;
    margin-top: 0;
}

.footer__nav__item__title--top-padding {
    margin-top: 20px;
}

.footer__nav__item__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__nav__item__links__item__link {
    cursor: pointer;
    color: #fff;
    text-decoration: none;
}

.footer__nav__item__links__item__link:hover {
    text-decoration: underline;
}

.footer__sign {
    text-align: center;
    font-size: 10px;
    font-family: "Noah-Bold", serif;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster */
        -webkit-box-shadow: none !important;
        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 that are fragment identifiers,
       * or use the `javascript:` pseudo protocol
       */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    /*
       * Printing Tables:
       * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
       */
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}

.main {
    width: 1140px;
    margin: 0 auto;
}

.section-list {
    width: 1140px;
    margin: 0 auto;

    padding: 60px;
    box-sizing: border-box;

    background-color: #0074b2;
    background-image: linear-gradient(to top, #00aceb 0%, rgba(0, 172, 235, 0) 100%);

    display: flex;
    flex-direction: column;
}

.section-list  > img {
    width: 56px;
    align-self: center;
}


.section-list.--white {
    background: #ffffff;
}

.section-list__title {

    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
    color: #fff;
    font-family: "Noah-Bold", serif;

}

.section-list.--white .section-list__title {
    color: #0074b2;
}

.section-list__img {
    display: inline-block;
    margin-right: 12px;
}

.section-list__content {
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
    font-family: "Noah-Bold", serif;
}

.section-list.--white .section-list__content {
    color: #0074b2;
}

.section-list__content > li {
    margin-bottom: 10px;
}

.underline {
    text-decoration: underline;
}
