/* General */

body {
    max-width: 2000px;
    margin: 0 auto;
    font-family: 'Open Sans', sans-serif;
    color: #000;
}

p,
a,
label {
    font-size: 16px;
    line-height: 1.65;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
}

.grid-x {
    width: 100%;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: #0179b5;
}

a:hover {
    color: #056a9c;
}

h1 {
    text-transform: uppercase;
    color: #0179b5;
    font-weight: 900;
    line-height: 1;
    font-size: 60px;
}

h2 {
    font-size: 28px;
    line-height: 1.25;
}


/* End General */


/* Header */

#header-wrapper {
    position: relative;
}

.header {
    padding: 25px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(1, 121, 181, 0.75);
    z-index: 25;
}

.header-right {
    padding: 0;
}

.header-right p {
    font-size: 28px;
    margin: 0;
}

.header-right p:last-of-type {
    color: #f3011a;
    margin-bottom: 0;
}

.header-right .fa {
    margin-left: 15px;
    margin-right: 5px;
    color: #000;
}

.header-right .fa.fa-phone {
    margin-left: 0;
}

.phone-number-wrapper a {
    font-size: 25px;
    color: #fff;
    font-weight: 600;
}

.phone-number-wrapper .fa {
    border: 1px solid #fff;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    width: 30px;
    text-align: center;
    height: 30px;
    line-height: 30px;
    margin-right: 5px;
}


/* End Header */


/* Menu */

.menu-wrapper {
    margin-top: 20px;
}

.menu-wrapper nav {
    margin: auto;
}

.menu-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.menu-wrapper ul li {
    display: inline-block;
    margin-left: 15px;
    text-transform: uppercase;
}

.menu-wrapper ul li:first-of-type {
    margin-left: 0;
}

.menu-wrapper ul li a {
    color: #fff;
    padding: 5px 2px;
    font-weight: 600;
}

.menu-wrapper ul li a:hover,
.menu-wrapper ul li a.active {
    border-bottom: 1px solid #fff;
    color: #fff;
}

#menu-button {
    display: none;
}

@media screen and (max-width: 1000px) {
    .menu-wrapper ul li {
        margin-left: 10px;
    }
    .menu-wrapper ul li a {
        font-size: 15px;
    }
}

@media screen and (max-width: 850px) {
    #menu-button {
        display: block;
        color: #fff;
        text-align: right;
        padding: 0;
        cursor: pointer;
        font-size: 18px;
        margin-top: 8px;
    }
    #menu-button .fa {
        font-size: 16px;
        margin-right: 5px;
        color: #fff;
    }
    nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #0179b5;
        padding: 10px 20px;
    }
    .grid-x>.header-left {
        width: 50%;
    }
    .grid-x>.header-right {
        width: 50%;
        padding: 0;
    }
    .header {
        padding: 15px 0;
        background: #0179b5;
        position: relative;
    }
    .phone-number-wrapper .fa {
        font-size: 16px;
        width: 22px;
        height: 22px;
        line-height: 22px;
    }
    .phone-number-wrapper a {
        font-size: 18px;
    }
    .logo {
        width: 200px;
        max-width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .grid-x>.contact-details {
        width: 100%;
        -webkit-box-ordinal-group: 3;
        -webkit-order: 2;
        -ms-flex-order: 2;
        order: 2;
    }
    .grid-x>.form {
        width: 100%;
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
    }
}

@media screen and (max-width: 600px) {
    .menu-wrapper ul li {
        display: block;
        margin: 0;
        margin-top: 15px;
    }
    .menu-wrapper ul li:first-of-type {
        margin-top: 0;
    }
    .phone-number-wrapper a {
        font-size: 16px;
    }
}

@media screen and (max-width: 450px) {
    .phone-number-wrapper {
        display: none;
    }
    nav {
        background: #0674ab;
    }
}

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}


/* End Menu */


/* Content */

#intro {
    padding: 50px 0;
}

#intro .container {
    padding: 0 30px;
}

#intro h1 {
    margin-bottom: 25px;
}

#intro h2 {
    color: #0179b5;
    margin-bottom: 25px;
}

#intro h3,
#circles .team-title h3 {
    background: #0179b5;
    color: #fff;
    display: inline-block;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 28px;
    padding: 2px 30px;
    margin: 25px 0 15px;
    min-width: 275px;
}

#circles .team-title {
    margin-bottom: 20px;
}

#circles {
    padding-bottom: 50px;
}

.circle {
    padding: 0 30px;
    text-align: center;
    margin-bottom: 50px;
}

.circle .fa {
    display: block;
    font-size: 28px;
    margin: 25px 0 0;
}

.circle .link-title {
    display: block;
    text-transform: uppercase;
    font-size: 25px;
    letter-spacing: -1px;
    font-weight: 900;
    color: #000;
}

#circles h3 {
    color: #0179b5;
    font-size: 28px;
    line-height: 1.25;
}

.team-member h4 {
    color: #0179b5;
    font-size: 25px;
    font-weight: 900;
    margin-top: 15px;
    margin-bottom: 0;
}

.team-member p {
    font-size: 18px;
}

.team-member img {
    width: 330px;
    max-width: 100%;
}

#intro .privacy-terms-content h2 {
    color: #000;
    margin: 30px 0 10px;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

#intro .privacy-terms-content h3 {
    color: #000;
    margin: 30px 0 10px;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0;
    background: none;
    letter-spacing: 0;
}

#intro .careers h2 {
    margin-top: 50px;
    margin-bottom: 10px;
}

table tbody tr:nth-child(even) {
    background-color: #fff;
}

table tbody th {
    background: #0179b5;
    color: #fff;
}

table tbody td,
table tbody th {
    border: 1px solid #ddd;
}


/* End Content */


/* RHA */

#rha {
    background: url("../images/rha-bg.jpg");
    background-size: cover;
    background-position: center center;
    padding: 100px 0;
    margin: 25px 0;
}

#rha .overlay {
    width: 90%;
    max-width: 1000px;
    padding: 40px 25px;
    margin: auto;
    background: rgba(255, 255, 255, 0.9);
}

#rha .overlay .content {
    width: 80%;
    margin: 0 auto;
}

#rha .overlay h4 {
    color: #0179b5;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 20px;
}

p.document-link,
.document-link a {
    font-size: 18px;
}

.document-link .fa {
    color: #e40816;
}

.document-link a {
    color: #000;
    text-decoration: underline;
    font-weight: 600;
}


/* End RHA */


/* Contact Form Section */

#contact-form {
    padding: 0 0 50px;
}

.landline strong {
    font-size: 20px;
}

#form-contact {
    padding: 0;
}

.input-wrapper {
    padding: 0 10px;
}

.form p {
    padding: 0 10px;
}

.input-wrapper input,
.input-wrapper input:focus {
    background: #ededed;
    border: none;
    box-shadow: none;
}

.input-wrapper textarea,
.input-wrapper textarea:focus {
    background: #ededed;
    border: none;
    box-shadow: none;
}

input.form-submit {
    background: #0079b4;
    color: #fff;
    display: inline-block;
    padding: 10px 25px;
    font-weight: 900;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

input.form-submit:hover {
    background: #046c9e;
}

label.captcha {
    display: inline-block;
    line-height: 40px;
}

input.captcha {
    display: inline-block;
    width: 50px;
    text-align: center;
}

p#response-success {
    background-color: #f9e200;
    padding: 10px;
    margin: 15px 10px;
    color: #000;
}

p#response-failed {
    background-color: #EC2F2F;
    padding: 10px;
    margin: 15px 10px;
    color: #fff;
}


/* End Contact Form Section */


/* Footer */

footer {
    color: #fff;
    background: url("../images/footer-bg.png");
    background-size: cover;
    background-position: top center;
    padding-top: 105px;
    padding-bottom: 75px;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

footer p {
    margin: 0;
}

footer a.credit {
    font-weight: 600;
}


/* End Footer */


/* Media Queries */

@media screen and (max-width: 1023px) {
    h1 {
        font-size: 44px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 20px;
    }
    p,
    a,
    label {
        font-size: 15px;
    }
}

@media screen and (max-width: 799px) {
    .copy {
        display: block;
    }
    .divider.left {
        display: none;
    }
}

@media screen and (max-width: 639px) {
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 18px;
    }
    p,
    a,
    label {
        font-size: 15px;
    }
    #intro .container {
        padding: 0;
    }
    #rha .overlay .content {
        width: 100%;
        margin-top: 25px;
    }
    #intro h3 {
        min-width: 250px;
    }
    .circle {
        padding: 0;
    }
    #rha .overlay h4 {
        font-size: 22px;
        line-height: 1.25;
    }
    #rha .overlay p,
    #rha .overlay a {
        font-size: 16px;
    }
    .contact-details {
        padding: 25px 10px 0;
    }
}

@media screen and (min-width: 2001px) {
    p,
    a,
    label {
        font-size: 17px;
        line-height: 1.65;
    }
}


/* End Media Queries */