/*
Theme Name:     JIH Custom
Description:    Custom theme for Jones Industrial Holdings.
Author:         loveadv.
Template:       base

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/



/* -------------------------------- 

Sitewide styles

extra-light 200
light 300
regular 400
medium 500
bold 700

-------------------------------- */

html {
    min-height: 100%;
}

body {
    background-color: #ffffff;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400; /* regular */
    font-size: 16px;
    color: #000000;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Work Sans', sans-serif;
}

h1 {
    font-weight: 200; /* extra light */
    font-size: 40px;
}

h2 {
    font-weight: 300; /* light */
    font-size: 30px;
}

h2.bold {
    font-weight: 300; /* light */
    font-size: 30px;
}

h2.light {
    font-weight: 200; /* extra-light */
    font-size: 30px;
}

h3 {
    font-weight: 300; /* light */
    font-size: 26px;
    line-height: 26px;
}

h3.light {
    font-weight: 200; /* extra-light */
}

a:link,
a:visited {
    color: #f8971d;
}

a:hover,
a:active,
a:target,
a:focus {
    color: #e78407;
}

p.body-1-light,
.body-1-light {
    font-weight: 300; /* light */
    font-size: 20px;
}

p.body-1-regular,
.body-1-regular {
    font-weight: 400; /* regular */
    font-size: 20px;
    line-height: 24px;
}

p.body-1-bold,
.body-1-bold {
    font-weight: 700; /* bold */
    font-size: 20px;
}

p.body-2-light,
.body-2-light {
    font-weight: 300; /* light */
    font-size: 16px;
    line-height: 16px;
}

p.body-2-light strong,
.body-2-light strong {
    font-weight: 500; /* medium */
    font-size: 16px;
    line-height: 16px;
}

p.body-2-regular,
.body-2-regular {
    font-weight: 400; /* regular */
    font-size: 16px;
    line-height: 16px;
}

p.body-2-medium,
.body-2-medium {
    font-weight: 500; /* medium */
    font-size: 16px;
    line-height: 16px;
}

p.body-3-light,
.body-3-light {
    font-weight: 300; /* light */
    font-size: 14px;
}

p.body-3-medium,
.body-3-medium {
    font-weight: 500; /* medium */
    font-size: 14px;
}

p.body-3-bold,
.body-3-bold {
    font-weight: 700; /* bold */
    font-size: 14px;
}

button, a.button, a.button:link, a.btn {
    font-weight: 700; /* bold */
    font-size: 14px;
}

.lnr {
    display: inline-block;
    fill: currentColor;
    width: 1em;
    height: 1em;
    vertical-align: -0.05em;
    font-size: 0.8em;
    font-weight: bold;
}

/* -------------------------------- 

Brand color styles

-------------------------------- */

.red {
    color: #ee3124;
}

.marigold {
    color: #f8971d;
}

.blue {
    color: #091a3b;
}

.dkgray {
    color: #363636;
}

.ltgray {
    color: #e1e1e1;
}

.black {
    color: #000000;
}

.white {
    color: #ffffff;
}

/* -------------------------------- 

Header styles

-------------------------------- */

#main-nav .sub-menu {
    display:none;
}

.dropdown.menu.vertical > li.opens-right > a::after {
    content: none;
    display: none;
}

@media screen and (min-width:1024px) {
    #nav-row-container {
        position: fixed;
        width: 100%;
        z-index: 1000;
        top: 0;
    }
    
    #main-nav .sub-menu.js-dropdown-active {
        display:inline-block;
    }
    
    .home #main-nav .sub-menu {
        display:none!important;
    }
    
    #main-nav .sub-menu {
        list-style:none;
        margin: 0 auto;
        width:100%;
        padding: 0;
    }
    
    .is-dropdown-submenu > li {
        width: auto;
    }
    
    #main-nav .sub-menu a:link,
    #main-nav .sub-menu a:visited {
        color: #000000;
        font-size: 12px;
        font-weight: 300;
        line-height: 1;
        padding: 15px 1rem;
        display:block;
        text-transform: uppercase;
    }
    
    #main-nav .sub-menu a:hover {
        color:#f8971d;
    }
    
    .is-dropdown-submenu-parent {
        position: inherit;
    }
    
    .is-dropdown-submenu-parent.opens-right > .is-dropdown-submenu {
        background: #e3e3e2 none repeat scroll 0 0;
        border: medium none;
        display: block;
        left: 0;
        right: 0;
        top: 125px;
    }
    
    #main-nav .sub-menu li {
        display: inline-block;
        vertical-align:middle;
        padding:0;
    }
    
    .home .hero,
    .page .hero,
    .blog .hero {
        margin-top: 125px;
    }

    .hero-spacer {
        height: 125px;
    }
}

.nav-row {
    background-color: #ffffff;
    padding: 20px 0;
}

#main-nav {
    margin-top: 45px;
}

#main-nav .menu a {
    
}

@media screen and (max-width:1326px) and (min-width:1173px) {
    #main-nav .menu a {
        
    }
}

@media screen and (max-width:1172px) and (min-width:1020px) {
    #main-nav .menu a {
        
    }
}

@media screen and (max-width:1024px) and (min-width:640px) {
    header #primary-menu {
        display: inline;
    }
}

@media screen and (max-width:1023px) {
    .utility-nav {
        display: inline;
    }
}

.logo img {
    max-width: 330px;
}

@media screen and (min-width:1023px) and (max-width:1442px) {
    #nav-row-container {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media screen and (min-width:1023px) and (max-width:1189px) {
    #main-nav .menu a {
        font-size: 13px;
        padding: 0.7rem 8px;
    }
    
    #main-nav {
        margin-top: 7%;
    }
}


@media screen and (max-width:639px) {
    .logo img {
        max-width: 280px;
    }
}

@media screen and (max-width:420px) {
    .logo img {
        max-width: 70%;
    }
}

#primary-menu.menu > li > a:link,
#primary-menu.menu > li > a:visited,
.utility-nav > li > a:link,
.utility-nav > li > a:visited,
footer ul a:link,
footer ul a:visited {
    color: #000000;
    text-transform: uppercase;
}

#primary-menu.menu > li > a:hover,
#primary-menu.menu > li > a:active,
#primary-menu.menu > li > a:target,
#primary-menu.menu > li > a:focus,
.utility-nav > li > a:hover,
.utility-nav > li > a:active,
.utility-nav > li > a:target,
.utility-nav > li > a:focus,
footer ul a:hover,
footer ul a:active,
footer ul a:target,
footer ul a:focus {
    color: #ee3124;
}

#primary-menu.menu > li.current_page_item > a:link,
#primary-menu.menu > li.current_page_item > a:visited,
#primary-menu.menu > li.current_page_item > a:hover,
#primary-menu.menu > li.current_page_item > a:active,
#primary-menu.menu > li.current_page_item > a:target,
#primary-menu.menu > li.current_page_item > a:focus {
    color: #000000;
    font-weight: 500; /* medium */
    cursor: pointer;
}

.utility-nav {
    margin-top: 45px;
}

.utility-nav .genericon {
    vertical-align: middle;
}

.utility-nav li > a {
    padding: .7rem 5px;
}

.utility-nav > li > a.linkedin:link,
.utility-nav > li > a.linkedin:visited,
footer a.linkedin:link,
footer a.linkedin:visited {
    color: #5284DB;
}

.utility-nav > li > a.linkedin:hover,
.utility-nav > li > a.linkedin:active,
.utility-nav > li > a.linkedin:target,
.utility-nav > li > a.linkedin:focus,
footer a.linkedin:hover,
footer a.linkedin:active,
footer a.linkedin:target,
footer a.linkedin:focus {
    color: #091a3b;
}

/* -------------------------------- 

Navigation button styles

-------------------------------- */

/* btn */
.menu-button {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 28px 10px 0 20px;
    float: right;
}

@media screen and (max-width:420px) {
    .menu-button {
        margin: 18px 10px 0 20px;
    }
}

.menu-button span {
	margin: 0 auto;
	position: relative;
	top: 12px;
}
.menu-button span:before, .menu-button span:after {
	position: absolute;
	content: '';
}
.menu-button span, .menu-button span:before, .menu-button span:after {
	width: 30px;
	height: 3px;
	background-color: #363636;
	display: block;
    border-radius: 10px;
}
.menu-button span:before {
	margin-top: -10px;
}
.menu-button span:after {
	margin-top: 10px;
}
/* --- btn --- */

/* example 5 */
.example5 span {
	-webkit-transition-duration: 0s; transition-duration: 0s;
	-webkit-transition-delay: 0.2s; transition-delay: 0.2s;
}
.menu-open .example5 span {
	background-color: rgba(0,0,0,0.0);
	-webkit-transition-delay: 0.2s; transition-delay: 0.2s;
}
.example5 span:before {
	-webkit-transition-property: margin, -webkit-transform; transition-property: margin, transform;
	-webkit-transition-duration: 0.2s; transition-duration: 0.2s;
	-webkit-transition-delay: 0.2s, 0s; transition-delay: 0.2s, 0s;
}
.menu-open .example5 span:before {
	margin-top: 0;
	-webkit-transform: rotate(45deg); transform: rotate(45deg);
	-webkit-transition-delay: 0s, 0.2s; transition-delay: 0s, 0.2s;
}
.example5 span:after {
	-webkit-transition-property: margin, -webkit-transform; transition-property: margin, transform;
	-webkit-transition-duration: 0.2s; transition-duration: 0.2s;
	-webkit-transition-delay: 0.2s, 0s; transition-delay: 0.2s, 0s;
}
.menu-open .example5 span:after {
	margin-top: 0;
	-webkit-transform: rotate(-45deg); transform: rotate(-45deg);
	-webkit-transition-delay: 0s, 0.2s; transition-delay: 0s, 0.2s;
}

@media screen and (max-width:639px) {
    #nav-wrapper,
    #sub-nav-wrapper {
        max-height: 0px;
        overflow: hidden;
        -webkit-transition: max-height 0.75s ease;
        -moz-transition: max-height 0.75s ease;
        -o-transition: max-height 0.75s ease;
        transition: max-height 0.75s ease;
    }

    #nav-wrapper.expanded,
    #sub-nav-wrapper.expanded {
        max-height: 1000px;
        -webkit-transition: max-height 0.75s ease;
        -moz-transition: max-height 0.75s ease;
        -o-transition: max-height 0.75s ease;
        transition: max-height 0.75s ease;
    }
}



/* -------------------------------- 

Hero styles

-------------------------------- */

.hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: table;
    width: 100%;
}

.page .hero > .row,
.blog .hero > .row {
    height: 450px;
    vertical-align: bottom;
    display: table-cell;
}

.page.page-id-25 .hero > .row, .blog .hero > .row {
    height: 570px;
}

.page-id-25 .hero {
    background-position: center -40px;
}

.hero .column {
    background-color: rgba(255,255,255,0.95);
    padding: 30px 20px 15px;
}

@media screen and (max-width:639px) {
    .page .hero > .row, .blog .hero > .row {
        height: auto;
    }
    .hero .column {
        margin: 50px auto 0;
    }
}

.hero h1 {
    line-height: 40px;
    font-size: 37px;
}

.home .hero .column {
    background-color: rgba(255,255,255,0.85);
}

a.scroll {
    text-transform: uppercase;
}

/* -------------------------------- 

Homepage styles

-------------------------------- */

.section-title {
    text-transform: uppercase;
    margin-bottom: 0;
}

.home-section-intro {
    margin-bottom:0;
}

.home .body-2-regular {
    line-height: 24px;
}

.home section {
    padding: 35px 0 45px;
    position: relative;
}

.home #main-content {
    background-color: #E3E3E2;
    padding: 40px 0 0px;
    z-index: 20;
}

.home #main-content > .row {
    padding: 0;
}

.home #main-content .menu {
    display: inline-block;
    margin: 0 auto;
}

@media screen and (min-width:1048px) {
    .home #main-content .menu {
        padding-left: 310px;
    }
}

.home #main-content .menu a:link,
.home #main-content .menu a:visited,
.home #main-content .menu li {
    font-weight: 300; /* light */
    font-size: 12px;
    text-transform: uppercase;
    color: #000000;
}

.home #main-content .menu a:hover,
.home #main-content .menu a:active,
.home #main-content .menu a:target {
    color: #f8971d;
}

.home #main-content .menu a.active {
    font-weight: 500;
    cursor: default;
    color: #000000;
}
.home #main-content {padding:0;background-color: none;}
.home #portfolio {color: #fff;}
.home .row.portfolio-grid .text-col {padding-top: 70px;padding-bottom: 60px;}
.home .row.portfolio-grid .text-col h2 {margin-bottom: 0;}
.home .row.portfolio-grid .img-bg {min-height: 470px;margin-top: -85px;background-repeat: no-repeat;background-size: cover;display: flex;flex-direction: column;justify-content: center;}
.home .row.portfolio-grid .img-bg a {padding-left: 70px;}
.home .row.portfolio-grid > div > .row:not(:nth-child(1)) {margin-top: 135px;}
.home .team-intro p {font-weight: 300;}
.contact-info .gform_wrapper.gravity-theme input[type=text],.contact-info  .gform_wrapper.gravity-theme textarea {padding: 20px;font-size: 13px;}
.scroll-back-to-top-wrapper {display: flex;justify-content: center;align-items: center;}
    
@media screen and (min-width:1025px) {
    .home #main-content li.head {
        opacity: 0;
        -webkit-transform: translate(0px, -50px);
        -moz-transform: translate(0px, -50px);
        -o-transform: translate(0px, -50px);
        -ms-transform: translate(0px, -50px);
        transform: translate(0px, -50px);
        -webkit-transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
        -moz-transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
        -o-transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
        transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    }

    .home #main-content.is-stuck li.head {
        opacity: 1;
        -webkit-transform: translate(0px, 0px);
        -moz-transform: translate(0px, 0px);
        -o-transform: translate(0px, 0px);
        -ms-transform: translate(0px, 0px);
        transform: translate(0px, 0px);
        -webkit-transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
        -moz-transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
        -o-transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
        transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    }   
    .home .row.portfolio-grid .text-col {padding-left:65px;}
}

#intro-content * {
    color: #ffffff;
}

#intro-content h2 {
    font-size: 24px;
    line-height: 30px;
}

#intro-content p {
    text-transform: uppercase;
    font-size: 14px;
}

#company-profile {
    background-color: #E3E3E2;
}

#overview {
    padding: 75px 0;
}

#overview h2, #strategy h2 {
    line-height: 34px;
}

@media screen and (min-width:1013px) {

    #overview > .row > .column:nth-child(1) {
        padding-right: 50px;
    }

    #overview > .row > .column:nth-child(2) {
        padding-left: 50px;
    }
    
}

#vision, #strategy {
    background-size: cover;
    background-position: center center;
}

#vision .column {
    background-color: rgba(80,80,80,0.9);
    padding: 30px;
    margin: 160px auto;
}

#vision h2 {
    font-size: 24px;
}

#history, #criteria {
    padding: 65px 0 40px;
}

@media screen and (min-width:846px) and (max-width:1023px) {
    #history, #criteria {
        padding: 125px 0 75px;
    }
}

@media screen and (min-width:1024px) {
    #history, #criteria {
        padding: 125px 0;
    }
}

section.horizontal-timeline {
    padding: 0;
}

#criteria .column img {
    padding: 0px 0 10px;
    max-width: 115px;
}

#criteria .column > .inner {
    padding: 25px;
    border: 1px solid #DAD9D9;
}

#criteria .column > .inner p {
    text-transform: uppercase;
    line-height: 22px;
    margin: 0;
}

@media screen and (max-width:440px) {
    #criteria .small-up-2 > .column {
        width: 100%;
        padding: 10px 20px;
    }
}

@media screen and (min-width:1024px) {
    #criteria .column.column-block {
        position: relative;
    }
    #criteria .column.column-block::after {
        content: "+";
        font-size: 45px;
        font-weight: 200;
        position: absolute;
        top: 36%;
        right: -14px;
    }
    #criteria .column.column-block:last-child::after {
        display: none;
    }
}

.line-top::before,
.line-bottom::after {
    content: " ";
    background-color: #ee3124;
    width: 1px;
    height: 70px;
    position: absolute;
    top: -50px;
    left: 50%;
}

.line-bottom::after {
    top: auto;
    bottom: -50px;
}

.line-top.line-orange::before,
.line-bottom.line-orange::after {
    background-color: #f8971d;
}

@media screen and (min-width:1176px) {
    .firm-infographic {
        width: 90%;
        float: right;
    }
}

.firm-infographic .column-block {
    margin-bottom: 15px;
    padding-left: 7px;
    padding-right: 7px;
    position: relative;
}

.firm-infographic .column .wrapper {
    border: 1px solid #D9D9D9;
    padding: 10px;
    z-index: 5;
}

.firm-infographic .column:hover {
    cursor: pointer;
}

.firm-infographic .inner {
    text-transform: uppercase;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 15;
}

.firm-infographic p {
    margin: 0;
    background-color: #ffffff;
    display: table;
    width: 100%;
    height: 200px;
}

@media screen and (max-width:639px) {
    .firm-infographic p {
        height: 100px;
    }
}

.firm-infographic .column:hover p {
    color: #ffffff;
    font-weight: 700; /* bold */
    background-color: transparent;
}

.firm-infographic .column p > span {
    vertical-align: middle;
    display: table-cell;
    line-height: 20px;
}

@media screen and (min-width:639px) and (max-width:846px) {
    .firm-infographic .column p > span {
        font-size: 16px;
    }
}

@media screen and (max-width:639px) {
    .firm-infographic .column-block:nth-child(1)::after,
    .firm-infographic .column-block:nth-child(2)::after,
    .firm-infographic .column-block:nth-child(3)::before {
        content: "+";
        color: #ee3124;
        font-size: 64px;
        font-weight: 200;
        background-color: #ffffff;
        position: absolute;
        bottom: -30px;
        left: 0;
        right: 0;
        line-height: 50px;
        height: 50px;
        width: 40%;
        margin: 0 auto;
        padding: 0;
        z-index: 10;
    }
}

@media screen and (min-width:640px) and (max-width:1024px) {
    .firm-infographic .column-block:nth-child(2)::after,
    .firm-infographic .column-block:nth-child(3)::after,
    .firm-infographic .column-block:nth-child(4)::before {
        content: "+";
        color: #ee3124;
        font-size: 64px;
        font-weight: 200;
        background-color: #ffffff;
        position: absolute;
        left: -26px;
        top: 0;
        bottom: 0;
        line-height: 50px;
        width: 50px;
        height: 40%;
        margin: auto 0;
        padding: 8% 0;
        z-index: 10;
    }
}

@media screen and (min-width:1025px) {
    .firm-infographic .column-block:nth-child(2)::before,
    .firm-infographic .column-block:nth-child(4)::before {
        content: "+";
        color: #ee3124;
        font-size: 64px;
        font-weight: 200;
        background-color: #ffffff;
        position: absolute;
        left: -26px;
        top: 0;
        bottom: 0;
        line-height: 50px;
        width: 50px;
        height: 40%;
        margin: auto 0;
        padding: 8% 0;
        z-index: 10;
    }

    .firm-infographic .column-block:nth-child(1)::after,
    .firm-infographic .column-block:nth-child(2)::after {
        content: "+";
        color: #ee3124;
        font-size: 64px;
        font-weight: 200;
        background-color: #ffffff;
        position: absolute;
        bottom: -30px;
        left: 0;
        right: 0;
        line-height: 50px;
        height: 50px;
        width: 40%;
        margin: 0 auto;
        padding: 0;
        z-index: 10;
    }
}

@media screen and (min-width:1024px) {
    .vert-center {
        display: table;
    }
    
    .vert-center > .inner {
        display: table-cell;
        vertical-align: middle;
    }
}

.strategy-infographic {
    /*background-image: url(http://loveadv-clients.com/dev/jones/wp-content/uploads/2017/03/investment_strategy_infographic.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    height: 420px;
    width: 450px;*/
}

@media screen and (min-width:1024px) {
    .strategy-infographic {
        float: right;
    }
}

@media screen and (max-width:1023px) {
    .strategy-infographic {
        padding: 25px 0;
    }
    .home .row.portfolio-grid > div > .row {margin: 0;}
    .home .row.portfolio-grid > div > .row .column {padding: 0;}
    .home .row.portfolio-grid .text-col {padding: 35px 15px;}
}

.strategy-infographic .head {
    text-transform: uppercase;
    font-size: 17px;
    position: absolute;
    top: 44%;
    text-align: center;
    width: 50%;
    left: 26%;
}

.strategy-infographic p {
    line-height: 22px;
    text-align: center;
}

.arrow-1 {
    position: absolute;
    bottom: 60px;
    left: 24px;
    width: 25%;
}

.arrow-2 {
    position: absolute;
    width: 25%;
    bottom: 60px;
    right: 36px;
}

/* -------------------------------- 

Main content area styles

-------------------------------- */

#main-content {
    padding: 50px 0 0;
}

#main-content > .row {
    padding-bottom: 50px;
}

@media screen and (max-width:639px) {
    #main-content > .row:last-child {
        padding-bottom: 0;
    }
}

#main-content .line-top::before {
    height: 40px;
}

/* -------------------------------- 

Interior page styles

-------------------------------- */

.portfolio-grid a > div {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 450px;
    width: 100%;
    display: table;
}

.portfolio-grid a * {
    color: #000000;
    line-height: 24px;
}

.portfolio-grid img {
    max-width: 35%;
    margin: 0 auto 20px;
}

.portfolio-grid a * {
    color: #ffffff;
}

.portfolio-grid a .port-wrapper > div {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.portfolio-grid a .logo {
    width: 20rem;
}

.portfolio-grid a > div > div {
    padding: 40px 50px;
    display: table-cell;
    vertical-align: middle;
}

@media screen and (min-width:640px) {
    
    /*.portfolio-grid a:nth-child(1) {
        border-right: 2px solid #ffffff;
    }*/

    /*.portfolio-grid a:nth-child(2) {
        border-left: 3px solid #ffffff;
    }*/

    .portfolio-grid a > div > div {
        background: rgba(9,26,59,0);
        -webkit-transition: background 0.5s cubic-bezier(.17,.67,.83,.67) 2s;
        -moz-transition: background 0.5s cubic-bezier(.17,.67,.83,.67) 2s;
        -o-transition: background 0.5s cubic-bezier(.17,.67,.83,.67) 2s;
        transition: background 0.5s cubic-bezier(.17,.67,.83,.67) 2s;
    }

    .portfolio-grid a:hover > div > div {
        background: rgba(9,26,59,0.85);
        -webkit-transition: background 0.5s cubic-bezier(.17,.67,.83,.67);
        -moz-transition: background 0.5s cubic-bezier(.17,.67,.83,.67);
        -o-transition: background 0.5s cubic-bezier(.17,.67,.83,.67);
        transition: background 0.5s cubic-bezier(.17,.67,.83,.67);
    }

    .portfolio-grid a .port-wrapper {
        max-height: 0px;
        overflow: hidden;
        opacity: 0;
        -webkit-transition: max-height 1.5s ease 0.4s, opacity 1s ease-in-out;
        -moz-transition: max-height 1.5s ease 0.4s, opacity 1s ease-in-out;
        -o-transition: max-height 1.5s ease 0.4s, opacity 1s ease-in-out;
        transition: max-height 1.5s ease 0.4s, opacity 1s ease-in-out;
    }

    .portfolio-grid a:hover .port-wrapper {
        opacity: 1;
        max-height: 1000px;
        -webkit-transition: max-height 2s ease 0.4s, opacity 1s ease-in-out 1s;
        -moz-transition: max-height 2s ease 0.4s, opacity 1s ease-in-out 1s;
        -o-transition: max-height 2s ease 0.4s, opacity 1s ease-in-out 1s;
        transition: max-height 2s ease 0.4s, opacity 1s ease-in-out 1s;
    }
}


@media screen and (max-width:639px) {
    .portfolio-grid a > div {
        height: auto;
    }
    .portfolio-grid a > div > div {
        background: rgba(9,26,59,0.85);
        padding: 20px 10px;
    }
    .portfolio-grid img {
        max-width: 50%;
    }
    .hero h1 {font-size: 35px;}
    .home .row.portfolio-grid .img-bg {min-height: 300px;}
    .home .row.portfolio-grid .img-bg a {padding-left: 32px;}
    .home #portfolio {margin-bottom: 0 !important;}
}

#news {
    background-color: #f4f4f4;
    padding-top: 20px;
}

.news a.column:hover > div,
.news a.column:active > div,
.news a.column:target > div,
.news a.column:focus > div,
.news a:hover * {
    background-color: transparent;
    cursor: default;
}


.news a.column.enabled:hover > div,
.news a.column.enabled:active > div,
.news a.column.enabled:target > div,
.news a.column.enabled:focus > div,
.news a.enabled:hover * {
    background-color: #f8971d;
    color: #ffffff;
    cursor: pointer;
}

.btn.more {
    text-transform: uppercase;
    font-style: normal;
}

.news-item {
    border-bottom: 1px solid #000000;
    padding: 10px 10px 45px 10px;
}

.team-grid a.column {
    padding: 0 10px 0 0;
    position: relative;
    overflow: hidden;
    height: 460px;
}

.team-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-desc {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px 15px 50px;
    -webkit-transform: translate(0px, 40px);
    -moz-transform: translate(0px, 40px);
    -o-transform: translate(0px, 40px);
    -ms-transform: translate(0px, 40px);
    transform: translate(0px, 40px);
    -webkit-transition: transform 0.25s ease-in-out, background-color 0.2s ease-in-out;
    -moz-transition: transform 0.25s ease-in-out, background-color 0.2s ease-in-out;
    -o-transition: transform 0.25s ease-in-out, background-color 0.2s ease-in-out;
    transition: transform 0.25s ease-in-out, background-color 0.2s ease-in-out;
}

.team-grid img {
    width: 100%;
}

.team-desc p {
    text-transform: uppercase;
}

.team-grid em.btn {
    position: absolute;
    bottom: 10px;
    font-weight: bold;
}

.team-grid a:hover .team-desc {
    background-color: rgba(248,151,29,0.8);
    -webkit-transform: translate(0px, 0);
    -moz-transform: translate(0px, 0);
    -o-transform: translate(0px, 0);
    -ms-transform: translate(0px, 0);
    transform: translate(0px, 0);
    -webkit-transition: transform 0.25s ease-in-out, background-color 0.2s ease-in-out;
    -moz-transition: transform 0.25s ease-in-out, background-color 0.2s ease-in-out;
    -o-transition: transform 0.25s ease-in-out, background-color 0.2s ease-in-out;
    transition: transform 0.25s ease-in-out, background-color 0.2s ease-in-out;
}

.team-bio-image {
    min-width: 100%;
    min-height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media screen and (min-width:640px) {
    .team-bio-image {
        position: fixed;
    }
}

.team-bio-container > a,
.modal a.close {
    position: absolute;
    top: -25px;
    right: 15px;
    font-size: 75px;
    color: #C4C3C0;
}

.team-bio-container > a:hover,
.modal a.close:hover {
    color: #ee3124;
}

.team-bio-container {
    min-height: 100%;
}

.team-bio-container img {
    margin: 0 0 25px;
}

.team-bio-container img.logo-mark {
    width: 50px;
    margin: 50px 0;
}

@media screen and (min-width:640px) {
    .team-bio-container img.logo-mark {
        width: 50px;
        margin: 100px 0 115px;
    }
}

.modal .lnr-cross {
    font-weight: normal;
    font-size: 44px;
}

.team-bio-container h3 {
    margin: 0;
}

@media screen and (min-width:934px) {
    .team-bio-inner {
        width: 80%;
        margin: 0 auto;
    }
}

.team-bio-inner {
    padding-bottom: 70px;
}

.team-bio-container .title {
    position: relative;
    margin: 0 0 40px;
    text-transform: uppercase;
}

.team-bio-container .title::after {
    content: " ";
    height: 2px;
    width: 110px;
    background-color: #f8971d;
    position: absolute;
    bottom: -20px;
    left: 0;
}

.team-bio-container .body-1-regular {
    margin: 0 0 3px;
    font-weight: 300;
    font-size: 24px;
    line-height: 28px;
}

.team-bio-container .body-2-light {
    line-height: 28px;
}

footer .logo img {
    padding: 0 10px 10px;
}

@media screen and (max-width:639px) {
    footer .logo img {
        padding-bottom: 50px;
        max-width: 100%;
    }
}

.section-intro {
    text-transform: uppercase;
    font-weight: 300;
    position: relative;
    border-bottom: 2px solid #D2D2D2;
    margin: 0 0 25px;
    padding: 0 0 10px;
    font-size: 14px;
}

.section-intro::after {
    position: absolute;
    bottom: -2px;
    left: 0;
    content: " ";
    height: 2px;
    background-color: #CF4E43;
    width: 35%;
}

.contact-info .gform_wrapper input[type="submit"] {
    background-color: #EB312E;
    text-transform: uppercase;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    padding: 20px 40px;
}

.contact-info .gform_wrapper input[type="submit"]:hover {
    background-color: #363636;
}

.contact-info p {
    font-size: 18px;
    font-weight: 300;
}

.contact-info p.lead {
    font-size: 20px;
    padding-left: 0;
}

.contact-info p {
    padding-left: 40px;
    position: relative;
}

p > img {
    position: absolute;
    left: 0;
}

@media screen and (min-width:1025px) {
    .contact-info p {
        width: 55%;
    }
}

.contact-info .gform_wrapper .top_label .gfield_label, .contact-info .gform_wrapper .ginput_complex label {display: inline-block;color:#333333;font-weight:300;}

.contact-info .gform_wrapper input,
.contact-info .gform_wrapper input[type="text"],
.contact-info .gform_wrapper textarea {
    background-color: #ffffff;
    box-shadow: none;
    border: 1px solid #EEEEEE;
    font-size: 12px;
}

.contact-info .gform_wrapper input:focus,
.contact-info .gform_wrapper input[type="text"]:focus,
.contact-info .gform_wrapper textarea:focus {
    border: 1px solid #EB312E;
}

.contact-info .gform_wrapper input[type="email"],
.contact-info .gform_wrapper input[type="number"],
.contact-info .gform_wrapper input[type="password"],
.contact-info .gform_wrapper input[type="tel"],
.contact-info .gform_wrapper input[type="text"],
.contact-info .gform_wrapper input[type="url"],
.contact-info .gform_wrapper textarea {
    padding: 20px;
    height: auto;
}

@media screen and (min-width:550px) {
    .contact-info .gform_wrapper ul li.gfield {
        width: 50%;
        display: inline-block;
    }
    
    .contact-info .gform_wrapper ul li#field_1_5,
    .contact-info .gform_wrapper ul li#field_1_5 {
        width: 100%;
    }
    
    .contact-info .gform_wrapper textarea.medium {
        width: 98.75%;
    }
    
}

.contact-info input::-webkit-input-placeholder, /* Chrome/Opera/Safari */
.contact-info textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #999999;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
}

.contact-info input::-moz-placeholder, /* Firefox 19+ */
.contact-info textarea::-moz-placeholder { /* Firefox 19+ */
    color: #999999;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
}

.contact-info input:-ms-input-placeholder, /* IE 10+ */
.contact-info textarea:-ms-input-placeholder { /* IE 10+ */
    color: #999999;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
}

.contact-info input:-moz-placeholder, /* Firefox 18- */
.contact-info textarea:-moz-placeholder { /* Firefox 18- */
    color: #999999;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
}

.blog-date {
    color: #CF4E43;
    text-transform: uppercase;
}

.blog-post {
    padding: 10px 0 60px;
}

.blog-post h3 > a {
    color: #000000;
}

.list-article .blog-post h3 {
    font-size: 21px;
}

#main-content .blog-post p {
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
}

.blog-post a.btn.more {
    color: #000000;
    font-weight: 300;
}

.blog-post a.btn.more:hover,
.blog-archive ul a:hover {
    color: #CF4E43;
}

.blog-archive {
    width: 100%;
}

.blog-archive ul {
    list-style-type: none;
    margin: 0;
}

.blog-archive ul a {
    color: #000000;
    padding: 0 0 15px;
    display: inline-block;
}

.list-article .blog-post {
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.list-article .blog-post::after {
    content: " ";
    height: 2px;
    background-color: #D2D2D2;
    width: 97%;
    position: absolute;
    bottom: 0px;
    left: 15px;
}

.list-article .blog-post:last-child::after {
    display: none;
}

/* -------------------------------- 

Search styles

-------------------------------- */

.search.search-results .hero {
    height: 125px;
}

.search.search-results .hero > .row {
    display: none;
}

#blog-article-list article {
    border-bottom: 2px solid #D2D2D2;
    padding: 40px 0;
}

.search h2.entry-title a {
    color: #000000;
}

time.updated {
    display: none;
}

#search-modal > .inner {
    display: table;
    width: 100%;
    height: 100%;
    background-color: #363636;
    color: #ffffff;
}

#search-modal > .inner > .search-wrapper {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#search-modal input[type="submit"],
.searchform input[type="submit"] {
    background-color: #EB312E;
    text-transform: uppercase;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    padding: 20px 40px;
    outline: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
}

#search-modal input[type="submit"]:hover,
.searchform input[type="submit"]:hover {
    background-color: #f8971d;
}

#search-modal a.btn {
    color: #ffffff;
    font-weight: 300;
    padding: 10px 0;
}

#search-modal a.btn:hover {
    color: #EB312E;
}

#search-modal .search-field {
    background-color: transparent;
    text-align: center;
    text-transform: uppercase;
    border: none;
    font-size: 3em;
    color: #ffffff;
    height: auto;
}

#search-modal .search-field:focus {
    box-shadow: none;
    color: #ffffff;
}

/* -------------------------------- 

Animation styles

-------------------------------- */



/* -------------------------------- 

Footer styles

-------------------------------- */

footer p.body-3-medium,
footer .body-3-medium {
    font-size: 12px;
}

footer p.body-2-light,
footer .body-2-light {
    font-size: 14px;
}

footer > .row {
    border-top: 1px solid #e1e1e1;
    padding: 50px 0;
}

footer .body-2-light {
    line-height: 150%;
}

footer address {
    font-style: normal;
    margin: 0;
}

footer .sub-menu {
    list-style-type: none;
    margin-left: 0;
}

footer .sub-menu a {
    padding: .7rem 1rem;
    font-weight: 300; /* light */
}


/* -------------------------------- 

Timeline styles

-------------------------------- */

.horizontal-timeline {
  opacity: 0;
  margin: 2em auto;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.horizontal-timeline::before {
  /* never visible - this is used in jQuery to check the current MQ */
  content: 'mobile';
  display: none;
}
.horizontal-timeline.loaded {
  /* show the timeline after events position has been set (using JavaScript) */
  opacity: 1;
}
.horizontal-timeline .timeline {
  position: relative;
  height: 100px;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}
.horizontal-timeline .events-wrapper {
  position: relative;
  height: 100%;
  margin: 0 40px;
  overflow: hidden;
}
.horizontal-timeline .events-wrapper::after, .horizontal-timeline .events-wrapper::before {
  /* these are used to create a shadow effect at the sides of the timeline */
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  height: 100%;
  width: 20px;
}
/*
.horizontal-timeline .events-wrapper::before {
  left: 0;
  background-image: -webkit-linear-gradient( left , #f8f8f8, rgba(248, 248, 248, 0));
  background-image: linear-gradient(to right, #f8f8f8, rgba(248, 248, 248, 0));
}
.horizontal-timeline .events-wrapper::after {
  right: 0;
  background-image: -webkit-linear-gradient( right , #f8f8f8, rgba(248, 248, 248, 0));
  background-image: linear-gradient(to left, #f8f8f8, rgba(248, 248, 248, 0));
}
*/
.horizontal-timeline .events {
  /* this is the grey line/timeline */
  position: absolute;
  z-index: 1;
  left: 0;
  top: 49px;
  height: 2px;
  /* width will be set using JavaScript */
  background: #dfdfdf;
  -webkit-transition: -webkit-transform 0.4s;
  -moz-transition: -moz-transform 0.4s;
  transition: transform 0.4s;
}
.horizontal-timeline .events ol {
    list-style-type: none;
}
.horizontal-timeline .filling-line {
  /* this is used to create the green line filling the timeline */
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #f8971d;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -ms-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.horizontal-timeline .events a {
  position: absolute;
  bottom: 0;
  z-index: 2;
  text-align: center;
  font-size: 1.3rem;
  padding-bottom: 15px;
  color: #383838;
  /* fix bug on Safari - text flickering while timeline translates */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}
.horizontal-timeline .events a::after {
  /* this is used to create the event spot */
  content: '';
  position: absolute;
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: -5px;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  border: 2px solid #dfdfdf;
  background-color: #f8f8f8;
  -webkit-transition: background-color 0.3s, border-color 0.3s;
  -moz-transition: background-color 0.3s, border-color 0.3s;
  transition: background-color 0.3s, border-color 0.3s;
}
.no-touch .horizontal-timeline .events a:hover::after {
  background-color: #f8971d;
  border-color: #f8971d;
}
.horizontal-timeline .events a.selected {
  pointer-events: none;
}
.horizontal-timeline .events a.selected::after {
  background-color: #f8971d;
  border-color: #f8971d;
}
.horizontal-timeline .events a.older-event::after {
  border-color: #f8971d;
}
@media only screen and (min-width: 1100px) {
  .horizontal-timeline::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}

.timeline-navigation {
    list-style-type: none;
}

.timeline-navigation a {
  /* these are the left/right arrows to navigate the timeline */
  position: absolute;
  z-index: 1;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 34px;
  width: 34px;
  border-radius: 50%;
  border: 2px solid #dfdfdf;
  /* replace text with an icon */
  overflow: hidden;
  color: transparent;
  text-indent: 100%;
  white-space: nowrap;
  -webkit-transition: border-color 0.3s;
  -moz-transition: border-color 0.3s;
  transition: border-color 0.3s;
}
.timeline-navigation a::after {
  /* arrow icon */
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background: url(/wp-content/themes/jih-custom/images/cd-arrow.svg) no-repeat 0 0;
}
.timeline-navigation a.prev {
  left: 0;
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}
.timeline-navigation a.next {
  right: 0;
}
.no-touch .timeline-navigation a:hover {
  border-color: #f8971d;
}
.timeline-navigation a.inactive {
  cursor: not-allowed;
}
.timeline-navigation a.inactive::after {
  background-position: 0 -16px;
}
.no-touch .timeline-navigation a.inactive:hover {
  border-color: #dfdfdf;
}

.horizontal-timeline .events-content ol {
    list-style-type: none;
    margin: 0;
}

.horizontal-timeline .events-content {
  position: relative;
  width: 100%;
  margin: 2em 0;
  overflow: hidden;
  -webkit-transition: height 0.4s;
  -moz-transition: height 0.4s;
  transition: height 0.4s;
}
.horizontal-timeline .events-content li {
  position: absolute;
  z-index: 1;
  width: 100%;
  left: 0;
  top: 0;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  padding: 0 5%;
  opacity: 0;
  -webkit-animation-duration: 0.4s;
  -moz-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}
.horizontal-timeline .events-content li.selected {
  /* visible event content */
  position: relative;
  z-index: 2;
  opacity: 1;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.horizontal-timeline .events-content li.enter-right, .horizontal-timeline .events-content li.leave-right {
  -webkit-animation-name: cd-enter-right;
  -moz-animation-name: cd-enter-right;
  animation-name: cd-enter-right;
}
.horizontal-timeline .events-content li.enter-left, .horizontal-timeline .events-content li.leave-left {
  -webkit-animation-name: cd-enter-left;
  -moz-animation-name: cd-enter-left;
  animation-name: cd-enter-left;
}
.horizontal-timeline .events-content li.leave-right, .horizontal-timeline .events-content li.leave-left {
  -webkit-animation-direction: reverse;
  -moz-animation-direction: reverse;
  animation-direction: reverse;
}
.horizontal-timeline .events-content li > * {
  max-width: 800px;
  margin: 0 auto;
}
.horizontal-timeline .events-content em::before {
  content: '- ';
}

@-webkit-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}
@-moz-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -moz-transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}
@keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}
@-webkit-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}
@-moz-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}
@keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}


@media all and (min-width: 640px) {
	.ba_parent_col{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	.ba_parent_col .medium-6{
		width: 100%
	}
}

.none_pointer_events{
	text-align: center!important;
}