/* Styles for Error Pages (404s, 500s...) */

/*
   NB: This file is not "SASS enabled"
   This file is directly linked in the header
   thus it is not run through the SASS compiler
*/


/* -------- Styles Sourced from Other Files -------- */
/* ===== Page Typography ===== */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,500,600,700');

html
{
    /* Set the font size for rem units on the html root element */
    color: #333;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

input, textarea, keygen, select
{
    font-family: inherit;
}

h1
{
    font-size: 45px;
    line-height: 1.1;
    font-weight: 300;
}

h2
{
    margin-top: 1.625rem;
    margin-bottom: .8125rem;
    font-size: 1.5625rem;
    line-height: 2.03125rem;
    font-weight: 700;
}

h3
{
    margin-top: 1.625rem;
    margin-bottom: .8125rem;
    font-size: 1.25rem;
    line-height: 1.625rem;
    font-weight: 700;
}

h4
{
    margin-top: 1.625rem;
    margin-bottom: .8125rem;
    font-size: 1rem;
    line-height: 1.625rem;
    font-weight: 700;
}

p
{
    margin-top: 1.625rem;
    margin-bottom: 1.625rem;
    font-size: 1rem;
    line-height: 1.625rem;
    font-weight: 400;
}

h2 + p,
h3 + p,
h4 + p
{
    margin-top: .8125rem;
    margin-bottom: 1.625rem;
}

b, strong
{
    font-weight: 700;
}

a
{
    color: #20A7E2;
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

a img
{
    border: none;
}

hr
{
    width: 100%;
    border: none;
    border-top: #ccc;
    margin-top: 1.625rem;
    margin-bottom: 1.625rem;
}

ul, ol
{
    padding-left: 3rem;
    margin-top: .8125rem;
    margin-bottom: .8125rem;
    font-size: 1rem;
    line-height: 1.625rem;
}

li
{
    margin-top: .8125rem;
    margin-bottom: .8125rem;
}

.clearfix:after
{
    content: " ";
    display: block;
    clear: both;
}

@media (max-width: 758px)
{
    ul, ol
    {
        padding-left: 2rem;
    }
}

/* ===== Page Structure ===== */
body
{
    position: relative;
    padding: 0;
    margin: 0;
    background: #f4f4f6;
}

.container
{
    position: relative;
    width: 1280px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.main
{
    position: relative;
    display: block;
    padding-top: 80px;
    padding-bottom: 150px;
    box-sizing: border-box;
}

@media (max-width: 1300px)
{
    .container
    {
        width: 1100px;
    }
}

@media (max-width: 1120px)
{
    .container
    {
        width: 758px;
    }
}

@media (max-width: 758px)
{
    body
    {
        background: #fff;
    }

    .container
    {
        width: 100%;
        min-width: 280px;
    }

    .main
    {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* ===== Header ===== */
#header
{
    width: 100%;
    top: 0;
    left: 0;
    display: block;
    position: fixed;
    background: #00496e;
    color: #fff;
    z-index: 9000;

    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;

    font-style: normal;
    font-weight: 400;

    font-size: 18px;
}

#header .logo
{
    padding: 0 10px;
    line-height: 60px;
    float: left;
}

#header .logo svg
{
    width: 200px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;

    border: 0;
    vertical-align: middle;
    margin-bottom: 5px;
}

@media (max-width: 758px)
{
    #header .logo
    {
        width: 210px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        float: none;
        line-height: 50px;
    }

    #header .logo svg
    {
        margin-top: 1px;
        margin-left: 20px;
        width: 80%;
    }
}

/* ===== Footer Styles ===== */
#footer
{
    width: 100%;
    background: #00496e;

    color: #ffffff;
    font-size: 13px;
    font-family: 'museo-sans';
}

#footer .container
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#footer a
{
    color: #ffffff;
}

#footer .column
{
    width: 21%;
    min-width: 240px;
    padding-top: 35px;
    padding-bottom: 30px;
    margin-left: 10px;
}

#footer .column-header
{
    position: relative;
    display: block;
    padding-top: 10px;
    padding-bottom: 15px;
    margin: 0 0 8px 0;

    font-size: 18px;
    text-transform: uppercase;
}
#footer .footer-middle
{
    margin: 0 10px;
}
#footer .footer-middle span
{
    display: block;
    margin: 10px 0;
}


#footer .footer-bottom
{
    display: flex;
    padding-top: 10px;
    padding-bottom: 50px;
    margin-left: 10px;
}

#footer .footer-bottom div
{
      margin-right: 72px;
}

#footer .footer-bottom div:last-child
{
    margin-right: 0;
}

#footer .wide-line
{
    width: 100%;
    padding-bottom: 10px;
    border-top: 2px solid #026192;
}

#footer .column-item
{
    position: relative;
    display: block;
    margin-top: 15px;
}

#footer .footer_social-list div
{
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    border: none;
    top: -5px;
    left: 0;
    border-radius: 50%;
    padding: 5px;
    background: #2aa6de;
    box-sizing: border-box;
}
#footer .footer_social-list div svg
{
    display: block;
    width: 100%;
    fill: #fff;
}
#footer .footer_social-list div.xcom {
    background: transparent;
    left:0;
    top:-3px;
    padding: 0;
}

#footer .footer_social-list div svg.x{
    fill: #000;
    width: 24px;
}

#footer .svg-icon
{
    max-width: 100%;
    max-height: 100%;
}

#footer .footer_social-link
{
    padding-left: 30px;
}

#footer .search_mobile_only
{
    display: none;
}

#modal-overlay
{
    display: none;
}

@media (max-width: 1120px)
{
    #footer .column
    {
        width: 40%;
        min-width: 182px;
        margin-left: 15px;
    }
}

@media (max-width: 758px)
{
    #footer .footer-middle
    {
        margin: 0 15px;
    }

    #footer .footer-bottom
    {
        display: block;
        margin-left: 15px;
    }

    #footer .footer-bottom div
    {
        margin-right: 0;
    }

    .fspace
    {
        display: block;
    }
}

@media (max-width: 480px)
{
    #footer .search_mobile_only
    {
        display: block;
    }
}

/* ===== Topic Tile ===== */
.topic-tile
{
    cursor: pointer;
    text-decoration: none;
    float: left;
    position: relative;
    background-color: #ffffff;
    width: 220px;
    height: 282px;
    margin: 0 20px 20px 0;
    text-align: center;
}

.topic-tile:nth-child(4)
{
    margin-right: 0;
}

.topic-tile h4
{
    max-width: 160px;
    margin-left: auto;
    margin-right: auto;

    color: #20a7e2;
    line-height: normal;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.topic-tile a
{
    position: absolute;
    display: block;
    height: 100%;
    width: 100%
}

.topic-tile p
{
    font-style: normal;
    font-weight: 700;

    position: absolute;
    border-top: 1px solid #20a7e2;
    color: #20a7e2;
    width: auto;
    font-size: 15px;
    padding: 8px 10px;
    line-height: 1em;
    display: inline-block;
    top: 208px;
    left: 70px;
}

.topic-tile img
{
    outline: none;
    border: none;
    margin-top: 36px;
    width: 75px;
    height: 75px;
}

.topic-tile:hover
{
    background-color: #20a7e2;
}

.topic-tile:hover p,
.topic-tile:hover h4
{
    color: #fff;
    border-color: #fff;
}

.topic-tile:hover img
{
    background-position: -76px 0;
}



/* -------- Styles Unique to these Pages -------- */
/* ===== Error Page Styles ===== */
.error-container
{
    padding: 30px 10px 0;
    text-align: center;
}

.error-container h1
{
    color: #ccc;
}

.error-container a.button
{
    background-color: #20A7E2;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    border-radius: 4px;
    position: relative;
    outline: 0;
    padding: 12px 20px 11px 20px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    margin: 30px auto 50px auto;
}

.error-container a.button:hover
{
    background: #228ABA;
}

.topic-tile p
{
    color: #333;
}

.error-tile-row
{
    padding: 20px 0;
    margin-left: auto;
    margin-right: auto;
    width: 700px;
    text-align: center;
}

.error-tile-row .topic-tile:last-child
{
    margin-right: 0;
}

@media (max-width: 758px)
{
    .notnarrow
    {
        display: none;
    }
}