

/* Mobile Nav */
.nav-up {
    top: -80px !important;
    transition: top .2s linear;
}

.nav-down {
    transition: top .2s linear;
}

#mobile_nav {
    position: fixed;
    top: 0px;
    height: 70px;
    background-color: white;
    z-index: 2;
    width: 100%;
    box-shadow: 0px 1px 3px RGBA(0,0,0,.1);
}

.logo_centerd {
    width: auto;
    padding-left: 30px;
    margin: 0px;
    display: inline-block;
    float: left;
    text-align: left;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#hamburger {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 70px;
    margin: 0px 30px;
    display: grid;
    align-items: center;
    font-size: 30px;
    color: #333333;
    z-index: 900;
}

#hamburger .fa-times {
    display: none;
}

#mobile {
    display: none;
    height: 100vh;
    background-color: white;
}

#mobile_nav .logo img {
    width: auto;
    height: 40px;
    margin: 15px 0 0 30px;
    display: block;
}

#mobile_nav ul {
    padding: 0px;
    background-color: white;
}

#mobile_nav ul li {
    display: block;
    padding: 15px 30px;
}

#mobile_nav ul li a {
    text-decoration: none;
    color: black;
}

/* Desktop Nav Bar */

nav {
    background-color: #ffffff;
    height: 110px;
    display: grid;
    align-items: center;
}

nav .nav_grid {
    display: grid;
    grid-column-gap: 60px;
    grid-template-columns: 1fr 4fr;
    align-items: center;
}

nav ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

nav ul li {
    display: inline-block;
    margin: 0px 30px 0px 0px;
    padding: 0px;
}

nav ul li a {
    color: #333333;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: .3px;
    font-size: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
}

nav ul li.current_page_item a {
    padding-bottom: 4px;
    border-bottom: 2px solid #0075c4;
}

.nav_grid .icon img {
    height: auto;
}

nav ul li a:hover {
    color: #999999;
}

/* Footer */
footer {
    background-color: #fafafa;
    padding: 60px 0;
}

footer .logo img {
    max-width: 60%;
}

footer ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

footer ul li {
    display: block;
    color: white;
    margin: 0px 0px 5px 0px;
}

footer ul li a {
    text-decoration: none;
    color: #333333;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: .9rem;
    line-height: .9rem;
    letter-spacing: 1px;
    transition: padding .2s linear;
}

footer ul li a:hover {
   color: #999999;
   padding-left: 5px;
   transition: padding .2s linear;
}

footer p a:hover  {
    color: #999999;
}

footer h2 {
    color: #333333;
    text-transform: uppercase;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.2rem;
}

footer h2.widget_title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: .8rem;
    letter-spacing: 1px;
}

footer p, footer p a {
    color: #333333;
    font-size: .9rem;
    font-weight: 400;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.4rem;
    margin: 0px 0px 15px 0px;
}

footer img.logo {
    width: 115px;
    display: block;
    margin: auto;
}

footer .nf-field-element input[type="email"] {
    border-radius: 4px;
    padding: 10px 18px;
    background-color: transparent;
    border: 2px solid white;
    color: #ffffff;
}

footer .nf-field-element input[type="button"] {
    background-color: #F8B343;
    border: 2px solid #F8B343;
    border-radius: 4px;
}

footer input[type="email"]::placeholder {
    color: #ffffff;
}

.copyright p {
    text-align: center;
    color: #999999;
    font-size: .9rem;
    text-transform: uppercase;
}

/* Typography */
html {
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6, p, li {
    color: #333333;
    font-family: 'Source Sans Pro', sans-serif;
    margin-bottom: 0px;
    margin-top: 30px;
    letter-spacing: .3px;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
}

h1.border_bottom {
    border-bottom: 2px solid #333333;
    padding-bottom: 15px;
}

h2 {
    font-size: 1.6rem;
    line-height: 1.4rem;
}

h3 {
    font-size: 1.2rem;
    line-height: 1.4rem;
}

h4 {
    font-size: 1rem;
    line-height: 1.4rem;
}

h5 {
    font-size: .8rem;
    line-height: 1.4rem;
}

h6 {
    font-size: .6rem;
    line-height: 1.4rem;
}

p {
    font-size: 1rem;
    line-height: 2rem;
    font-weight: 300;
    letter-spacing: .3px;
    font-family: 'Lora', serif;
}

p.drop_cap::first-letter {
    font-size: 3rem;
    margin-right: 2px;
    color: #999999;
}

p.jumbo {
    font-size: 120%;
    font-family: 'Source Sans Pro', sans-serif;
}

a.ui {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: #666666;
    text-decoration: none;
}

a.align_right {
    float: right;
    color: #999999;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
}

a.remove_link_style {
    text-decoration: none;
    color: #333333;
}

a.align_right:hover {
    color: #666666;
}

a .fa-chevron-right {
    position: relative;
    top: 2px;
    margin-left: 6px;
}

blockquote {
    margin: 30px 0px;
    padding: 0px 60px;
    border-left: 4px solid #0075c4;
}

blockquote p {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.8rem;
    font-size: 1.1rem;
    color: #333333;
    font-weight: 300;
}

h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p {
    margin-top: 15px;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

img.full {
    max-width: 100%;
}

img.extra_wide {
    max-width: 120%;
    margin-left: -10%;
}

img.inline {
    max-width: 50%;
    padding: 40px 0px 0px 30px;
}

img.right {
    float: right;
    display: inline;
}

.profile_image {
    height: 30vh;
}

.page_banner {
    display: grid;
    width: 100%;
    position: relative;
    z-index: 1;
}

.page_banner:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 70vh;
    background-color: RGBA(0,0,0,.3);
    z-index: 2;
}

.page_banner .container {
    position: relative;
    z-index: 3;
}

.page_banner h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.page_banner button {
    background-color: #0075c4;
    border: 0px solid #0075c4;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    padding: 20px 40px;
    border-radius: 4px;
}

.page_banner button:hover {
    opacity: .9;
}

.page_banner span {
    text-align: center;
    color: white;
    font-size: 2.4em;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
}

.author_link img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0px 0px 4px RGBA(0,0,0,.4);
    display: inline-grid;
    float: left;
}

.author_link h2 a {
    color: #333333;
    text-decoration: none;
}

.author_link h2 a:hover {
    color: #666666;
    text-decoration: none;
}

.author_bio p {
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.5rem;
}

.author_bio h3 {
    margin-bottom: 15px !important;
}

.video {
    width: 100%;
    height: 100%;
    margin-top: 30px;
}

.video iframe {
    width: 100%;
    height: 100%;
}

/* Homepage */
.home .full_width.call_to_action {
    margin-top: 0px;
}

.service {
    position: relative;
}

.featured_row h3 {
    margin-bottom: 5px !important;
}

.featured_row p {
    margin-top: 0px !important;
}

.service p {
    font-size: .9rem;
    line-height: 1.6rem;
    margin-bottom: 30px;
}

.service a {
    text-decoration: none;
}

.left_sidebar.featured_row {
    align-items: center;
}

/* Audio */
.mejs-container {
    border: none;
    margin-top: 30px;
}

/* Base Card Style */
.card {
    padding: 30px 30px 20px 30px;
    background-color: #ffffff;
    box-shadow: -1px 1px 2px RGBA(0,0,0,.2);
    transition: box-shadow .1s linear;
    margin: 2px 30px;
}

.card p {
    line-height: 1.5rem;
}

.card ul {
    padding: 0px;
    margin: 30px;
}

.card ul li {
    margin: 0px;
    padding: 0px;
    line-height: 30px;
}

a.card_link {
    text-decoration: none;
}

.card:hover {
    box-shadow: -2px 2px 2px RGBA(0,0,0,.2);
    transition: box-shadow .1s linear;
}

/* Pricing Card */
.pricing.card h3 {
    text-align: center;
    line-height: 1.5rem;
    font-size: 1.7rem;
    font-weight: 100;
}

.pricing.card h2 {
    text-align: center;
    line-height: 1.5rem;
    font-size: 1.7rem;
    font-weight: 600;
    position: absolute;
    bottom: 30px;
    width: inherit;
    margin: 0px;
}

.pricing.card p {
    text-align: center;
    line-height: 1.5rem;
    font-size: 1rem;
    font-weight: 100;
    font-family: 'Source Sans Pro', sans-serif;
    padding: 0 20px;
}

.pricing.card h2 span {
    font-size: 1rem;
    font-weight: 400;
}

.pricing.card ul {
    margin-bottom: 70px;
}

.pricing.card ul li i {
    color: #00E6C4;
}

/* Project Card */
.project.card h1 {
    text-align: left;
    line-height: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.project.card h2 {
    text-align: left;
    line-height: 1.5rem;
    font-size: 1rem;
    margin-top: 10px;
    font-weight: 500;
    text-decoration: none;
}

.project.card div {
    margin: -30px -30px 0px -30px;
    height: 160px;
}

/* Blog Post Card */
.post_thumbail {
    height: 160px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    transition: all 1s linear;
}

.post_meta {
    margin-top: 0px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 20px;
}

.blog_card {
    box-shadow: 0px 0px 5px 2px RGBA(0,0,0,.1);
}

.blog_card h1, .post_meta h1 {
    font-size: 1.1rem;
    margin-top: 15px;
    line-height: 1.5rem;
    font-family: 'Lora', serif;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 1.5rem;     /* fallback */
    max-height: 3rem;      /* fallback */
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
}

.blog_card h2 {
    font-size: .8rem;
    margin-top: 15px;
    font-weight: 400;
}

.blog_card h2 .seperator {
    margin: 0 8px 0 10px;
    position: relative;
    top: -2px;
    vertical-align: middle;
    color: #999999;
}

.blog_card p, .post_meta p {
    font-size: .9rem;
    line-height: 1.25rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    letter-spacing: 0px;
    margin-top: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 1.25rem;     /* fallback */
    max-height: 3.75rem;      /* fallback */
    -webkit-line-clamp: 3; /* number of lines to show */
    -webkit-box-orient: vertical;
}

.blog_card .post-edit-link h2 {
    display: inline;
    float: left;
    position: relative;
    top: 0px;
    margin: 10px;
    background-color: white;
    width: 30px;
    height: 30px;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
    opacity: .7;
}

.blog_card .post-edit-link h2:hover {
    opacity: 1;
}

.blog_card .post-edit-link .fa-pencil {
    position: relative;
    top: 3px;
}

/* Single Service */
.call_to_action h1 {
    text-align: center;
    color: #ffffff;
    font-family: 'Open Sans';
    font-weight: 200;
}

.call_to_action p {
    text-align: center;
    color: #ffffff;
    line-height: 1.7rem;
    font-size: .9rem;
    font-family: 'Open Sans';
    font-weight: 400;
}

.full_width.call_to_action {
    background-color: #0075c4;
}

.call_to_action button.center {
    background-color: #ffffff;
    border: none;
    color: #333333;
}

.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

.acf-map img {
   max-width: inherit !important;
}

nav.navigation.pagination {
    text-align: center;
    border-top: 1px solid #999999;
    padding-top: 15px;
    background-color: transparent;
}

.navigation.pagination h2 {
    display: none;
}

.nav-links a.page-numbers {
    font-family: 'Source Sans Pro', sans-serif;
    color: #333333;
    padding: 0 4px;
    text-decoration: none;
}

.nav-links a.page-numbers:hover {
    font-family: 'Source Sans Pro', sans-serif;
    color: #999999;
    padding: 0 4px;
    text-decoration: none;
}

.page-numbers.current {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    color: #333333;
    border-bottom: 2px solid #333333;
    padding-bottom: 0px;
}

.page-numbers .fa-chevron-left, .page-numbers .fa-chevron-right {
    position: relative;
    top: 1px;
}

/* Single Blog Post */
.post_details h2 {
    font-size: .8rem;
    font-weight: 400;
    margin-top: 15px;
}

.post_details .seperator {
    margin: 0 8px 0 10px;
    position: relative;
    top: -2px;
    vertical-align: middle;
    color: #999999;
}

.author_meta img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.author_link {
    margin-top: 15px;
}

.author_link h2 {
    display: inline-block;
    margin: 0px 0px 0px 10px;
    position: relative;
    top: 6px;
}

#the_post {
    margin-top: 30px;
}

.card_carousel .blog_card {
    margin: 2px 30px;
}

/* Sidebar */
.sidebar {
    background-color: #fafafa;
    padding: 30px;
}

.sidebar ul {
    margin: 10px 0px 0px 0px;
}

.sidebar ul li {
    margin: 0px 0px 10px 0px;
}

.sidebar ul li a {
    color: #333333;
    text-decoration: none;
}

.sidebar ul li a:hover { color: #999999 }

.sidebar h2, .sidebar h4 {
    margin: 10px 0px;
}

.sidebar p {
    font-size: .8rem;
    line-height: 1.4rem;
    font-family: 'Open Sans';
    font-weight: 400;
    margin: 0px;
}

ul.tag_pills {
    list-style: none;
    margin: 10px 0px 0px 0px;
    padding: 0px;
    display: block;
}

ul.tag_pills:after {
  content: "";
  display: table;
  clear: both;
}

ul.tag_pills li {
    display: inline;
    float: left;
    font-size: .7rem;
    background-color: #DADADA;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 0px 10px 10px 0px;
}

/* Progress Bar */
div.progress_bar {
    width: 100%;
    margin-top: 20px;
    height: 10px;
    background-color: #c5c5c5;
    border-radius: 5px;
    position: relative;
}

div.progress_bar div {
    width: 20%;
    height: 10px;
    background-color: #7ED321;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    display: inline-block;
    float: left;
    position: relative;
}

.progress_bar #incomplete {
    background-color: #dadada;
    border-radius: 0px;
}

.progress_bar #margin {
    background-color: #dadada;
    border-radius: 0px;
}

label[for=progress],label[for=incomplete] {
    color: #4a4a4a;
    position: absolute;
    right: 0px;
    top: 20px;
    font-size: 0.8rem;
}

.progress_bar i {
    position: relative;
    top: -23px;
    left: 18%;
    font-size: 2rem;
    transform: rotate(45deg);
    color: #4e4e4e;
}

/* Forms */
input[type="text"],input[type="email"],input[type="tel"],input[type="url"], textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    color: #333333;
    font-family: 'Source Sans Pro', sans-serif;
    border: 1px solid #999999;
    border-radius: 2px;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="url"]::placeholder,
textarea::placeholder {
    color: #999999;
}

.nf-error-msg {
    color: #666666 !important;
    font-style: italic;
    font-size: .8rem;
}

.nf-form-fields-required {
    color: #666666;
    font-style: italic;
    font-size: .8rem;
    margin-bottom: 15px;
}

button, .nf-field-element input[type="button"]  {
    padding: 10px 30px;
    font-family: 'Source Sans Pro', sans-serif;
    color: #ffffff;
    background-color: #0075c4;
    border: 1px solid #0075c4;
    border-radius: 2px;
}

button.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 30px;
    padding: 20px 60px;
    text-transform: uppercase;
    border-radius: 4px;
}

button.center:hover, 
button.full_width:hover, 
.nf-field-element input[type="button"]:hover {
    opacity: .8;
}

button.full_width {
    width: 100%;
    text-align: center;
    display: block;
    margin-top: 30px;
    font-size: 1.5rem;
    padding: 20px 0px;
    border: 0px;
    color: white;
}

button.disabled {
    background-color: #dadada;
}

/* Color Classes */
.white {
    color: white;
}

.color_fill_blue {
    background-color: #4aacf2;
}

.color_fill_blue h1,
.color_fill_blue h2,
.color_fill_blue h3,
.color_fill_blue h4,
.color_fill_blue h5,
.color_fill_blue h6,
.color_fill_blue p,
.color_fill_blue a {
    color: white;
}

/* Margin Classes */
.no_margin_top {
    margin-top: 0px !important;
}

.no_margin_bottom {
    margin-bottom: 0px !important;
}

.bump_down {
    margin-top: 60px !important;
}

/* Alignment Classes */
.center {
    text-align: center;
}

/* Media Queries */

@media (min-width: 1025px) {
    #mobile_nav {
        display: none;
    }
}

@media (min-width: 681px) and (max-width: 1024px) {
    #mobile_nav {
        display: none !important;
    }

    #desktop_menu {
        display: grid;
    }
}

@media (min-width: 320px) and (max-width: 680px) {
    #desktop_menu {
        display: none;
    }

    #mobile_nav {
        display: block;
    }

    .home .content,
    .single-service .content {
        margin: 60px 0px 60px 0px;
    }

    .card {
        margin: 2px 7.5px;
    }

    .content {
        margin: 110px 0px 60px 0px;
    }

    .page-template-page-blog .row:first-of-type {
        margin-bottom: 30px;
    }

    .blog_card {
        margin-bottom: 30px;
    }

    footer img {
        width: 80%;
        display: block;
        margin: auto;
    }

    footer .column {
        margin: 0px 0px 60px 0px;
    }
}