/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

/* Document
   ========================================================================== */

html {
  font-family: sans-serif; /* 1 */
  line-height: 1.15; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */

a:active,
a:hover {
  outline-width: 0;
}

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}

/* clearfix */
.group:before,
.group:after {
  content: "";
  display: table;
}
.group:after {
  clear: both;
}
.group {
  zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}

/* TechByte Styles - Jose Erlino Lontok */
body {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    line-height: 30px;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: auto;
}

.group .col {
    float: left;
    width: 45%;
}
.group .col-right {
    float: right;
}

.group .col img {
    max-width: 100%;
}

#main-nav {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    position: relative;
}

#main-nav .brand {
    float: left;
    line-height: 80px;
}

#main-nav .brand img {
    vertical-align: middle;
}

#main-nav ul {
    float: right;
    list-style: none;
    margin: 0;
    padding: 0;
}

#main-nav ul>li {
    float: left;
    font-size: 16px;
    color: #333333;
}

#main-nav ul>li>a {
    color: #333333;
    padding: 0 20px;
    text-decoration: none;
    line-height: 77px;
    border-bottom: 3px transparent solid;
    display: block;
}

#main-nav ul>li.active>a, #main-nav ul>li>a:hover {
    border-bottom: 3px #124041 solid;
}

header.home {
    background: url(../images/main_bg.jpg) no-repeat;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

header.home h1 {
    font-size: 38px;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 45px;
}

header.home p {
    padding: 0 15%;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    margin-bottom: 40px
}

header.page {
    background: url(../images/header_page_bg.jpg) #1c5264 top right no-repeat;
    background-size: cover;
    color: #fff;
    min-height: 141px;
    text-align: right;
}

header.page h1 {
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    line-height: 141px;
}

section.content {
    background-color: #fff;
    padding: 50px 0;
}

section.content p {
    margin-bottom: 30px;
}

section.content h2 {
  font-size: 24px;
  font-weight: 400;
  color: #02231f;
  margin-bottom: 30px;
}

section.content a {
    color: #333333;
}

section.content h2.alt {
    color: #488898;
    margin-bottom: -20px;
    font-size: 18px;
}

section.content h3 {
  font-size: 14px;
  color: #2b6772;
}


.text-center {
  text-align: center;
}

.btn {
    color: #fff;
    border: 1px #fff solid;
    border-radius: 4px;
    text-decoration: none;
    padding: 5px 40px;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    transition: all .4s;
}

.btn:hover {
  background-color: #2b6772;
}

.cta-banner {
    text-align: center;
    width: 100%;
    min-height: 323px;
    background: url(../images/cta_banner_bg.jpg);
    background-size: cover;
    color: #fff;
    display: table;
}

.cta-banner-wrap {
    display: table-cell;
    vertical-align: middle;
}

#home-about {
    padding: 100px 0;
    font-size: 16px;
}

#home-about h2 {
    font-size: 38px;
    font-weight: 900;
    margin-top: 30px;
    margin-bottom: 10px;
    position: relative;
    color: #2b6772;
}

#home-about h2:before {
  content: '';
  position: absolute;
  background-color: #2b6772;
  width: 48px;
  height: 4px;
  top: -35px;
}

#home-about h2:after {
  content: '';
  position: absolute;
  background-color:#7dbec6;
  width: 48px;
  height: 4px;
  top: -35px;
  left: 48px;
}

#home-about .subline {
    color: #666;
}

#home-about p {
    font-weight: 300;
    line-height: 30px;
    color: #333;
}

#home-about a {
    color: #2b6772;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

#home-about a:after {
    content: "\f061";
    font: normal normal normal 14px/1 FontAwesome;
    margin-left: 8px;
    display: inline-block;
    font-size: 12px;
}

#home-about .group .col-right {
    position: relative;
}

#home-about .group .col-right:before {
    content: '';
    position: absolute;
    width: 50%;
    height: 110%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7dbec6+0,2b6772+100 */
    background: #7dbec6; /* Old browsers */
    background: -moz-linear-gradient(top, #7dbec6 0%, #2b6772 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #7dbec6 0%,#2b6772 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #7dbec6 0%,#2b6772 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7dbec6', endColorstr='#2b6772',GradientType=0 ); /* IE6-9 */
    z-index: -1;
    top: -5%;
    right: 2%;
}

#home-services {
    background: url(../images/our-services-bg.jpg) no-repeat;
    background-size: cover;
    color: #fff;
    padding: 80px 0;
    position: relative;
    font-size: 16px;
}

#home-services a {
    color: #fff;
    text-decoration: none;
}

#home-services a:after {
    content: "\f061";
    font: normal normal normal 14px/1 FontAwesome;
    margin-left: 8px;
    margin-top: -5px;
    display: inline-block;
    font-size: 11px;
}

#home-services:before {
    width: 50%;
    height: 100%;
    content:'';
    position: absolute;
    background-color: rgba(0,0,0,.80);
    top: 0;
    z-index: 1;
}

#home-services .container {
    z-index: 2;
    position: relative;
}

#home-services .col:nth-child(1) {
     width: 30%;
     padding-top: 110px;
}

#home-services .col-right {
    width: 60%;
}

#home-services h2 {
    font-size: 38px;
    font-weight: 900;
    margin-top: 30px;
    margin-bottom: 10px;
    position: relative;
    color: #7dbec6;
}

#home-services h2:before {
  content: '';
  position: absolute;
  background-color: #2b6772;
  width: 48px;
  height: 4px;
  top: -35px;
}

#home-services h2:after {
  content: '';
  position: absolute;
  background-color:#7dbec6;
  width: 48px;
  height: 4px;
  top: -35px;
  left: 48px;
}

#services-list {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    color: #333;
    padding: 50px 40px 50px 90px;
}

#services-list>div {
    flex: 0 48%;
    padding-right: 2%;
    padding-bottom: 20px;
}

#services-list>div a {
    color: #4d8c95;
    font-size: 13px;
    font-weight: 900;
}

#services-list>div a:after {
    content: "\f061";
    font: normal normal normal 14px/1 FontAwesome;
    margin-left: 8px;
    margin-top: -5px;
    display: inline-block;
    font-size: 11px;
}

#services-list h3 {
    font-size: 18px;
    position: relative;
    padding-top: 50px;
}

#services-list h3:before {
    content: '';
    position: absolute;
    top:0;
}

#services-list>div:nth-child(1) h3:before {
    width: 41px;
    height: 38px;
    background-image: url(../images/services-asset.png);
}

#services-list>div:nth-child(2) h3:before {
    width: 35px;
    height: 38px;
    background-image: url(../images/services-treasury.png);
}

#services-list>div:nth-child(3) h3:before {
    width: 42px;
    height: 42px;
    background-image: url(../images/services-investment.png);
}

#services-list>div:nth-child(4) h3:before {
    width: 40px;
    height: 42px;
    background-image: url(../images/services-direct.png);
}

#services-list p {
    font-size: 16px;
    font-weight: 300;
    line-height: 30px;
}

#services-list a {
    color: #fff;
    text-decoration: none;
}

#home-testimonials {
    text-align: center;
    padding: 80px 0;
}

#home-testimonials h2 {
    color: #7dbec6;
    font-size: 38px;
    background: url(../images/testi-border.png) top center no-repeat;
    padding-top: 35px;
    margin-bottom: 0;
}

#home-testimonials .subline {
    color: #666;
}

#home-testimonials .group {
    margin-top: 50px;
}

#home-testimonials .col {
    width: 33.33%;
    color: #666;
    font-size: 16px;
}

#home-testimonials .col p {
    padding: 0 5%;
}

#home-testimonials .col .name {
    color: #2b6772;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

#contact-form input[type="text"] {
    width: 49%;
    float: left;
    background-color: #f1f2f3;
    border: 0;
    padding: 15px 20px;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#contact-form input[type="text"]:nth-child(2), #contact-form input[type="text"]:nth-child(4)  {
    float: right;
}

#contact-form input[type="text"]:nth-child(3) {
    clear:left;
}

#contact-form textarea {
    width: 100%;
    height: 225px;
    margin-bottom: 10px;
    background-color: #f1f2f3;
    border: 0;
    padding: 20px;
    resize: none;
    font-size: 14px;
    box-sizing: border-box;
}

#contact-form input[type="submit"] {
    float: right;
    border: 0;
    background-color: #124041;
    text-transform: uppercase;
    color: #fff;
    padding: 10px 40px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
}

.page-contact-us section.content {
    font-size: 14px;
    font-weight: 300;
}

footer #footer-top {
    padding: 40px 0;
    border-bottom: 1px #dcdedf solid;
    font-size: 14px;
}

.page-contact-us footer #footer-top {
    border-top: 1px #dcdedf solid;
}

footer #footer-branding {
    color: #999;
}

footer #footer-branding p {
    padding-right: 60px;
}

footer #footer-copyright {
    text-align: center;
    color: #bab9b9;
    font-size: 10px;
    font-weight: 300;
}

footer .footer-column {
    float: left;
    width: 33.33%;
}

#footer-quick-links {
  width: 24% !important;
  margin-left: 20px
}

#footer-contact {
  float: right;
}

footer .footer-column h3 {
    color: #205c63;
    font-size: 14px;
    font-weight: 700;
}

#footer-quick-links ul {
    list-style: none;
    margin-left: 0;
    padding: 0;
}

#footer-quick-links ul li {
    float: left;
    width: 50%;
    font-size: 14px;
}

#footer-quick-links ul li a {
    color: #666;
    text-decoration: none;
}

#footer-contact .col strong, .page-contact-us section.content .col strong {
    display: inline-block;
    width: 22px;
    color: #2b6772;
    font-weight: 700;
}

#main-nav button {
    display: none;
}

@media (max-width: 767px) {
    #main-nav button {
        display: block;
        position: absolute;
        top: 28px;
        right: 15px;
        border: 1px #000 solid;
        background: transparent;
        padding: 10px;
        outline: none;
        text-transform: uppercase;
        font-size: 11px;
    }
    #main-nav .brand {
        float: none;
    }
    #main-nav ul {
        float: none;
        list-style: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        transition: all .5s ease-in;
        max-height: 0;
    }
    .nav-open #main-nav ul {
        max-height: 500px;
    }
    #main-nav ul>li {
        float: none;
        font-size: 14px;
        text-transform: uppercase;
    }
    #main-nav ul>li>a{
        border-bottom: 3px #95bb30 solid;
        padding: 0;
        line-height: 40px;
    }
    header.home h1, #home-about h2, #home-mission h2 {
        font-size: 10vw;
        line-height: 12vw;
    }
    #home-about {
        background-size: cover;
    }
    footer .list-inline>li>a {
        margin: 0 10px;
    }
    #contact-form input[type="text"] {
        width: 100%;
        margin-top: 10px;
    }
    #contact-form input[type="submit"] {
        float: none;
        display: block;
        margin: auto;
    }
    .col {
        width: 100% !important;
        float: none !important;
    }
    .footer-column {
        width: 100% !important;
        float: none !important;
        clear: both;
        padding-top: 20px;
    }
    #footer-quick-links ul li {
        float: none;
        width: 100%;
    }
    #services-list {
        display: block;
    }
    #footer-quick-links {
      margin-left: 0;
    }
}
