/*=== HEADER ===*/
#main {
	padding-left: 145px;
	background: url(../images/layout/bg-line.png) repeat-y top center #f5f5f5;
}
#header {
	height: 0;
}
.header-wrapper {
	position: absolute;
    left: 145px;
    right: 0;
	z-index: 10;
}

/*=== MAIN NAVIGATION ===*/
.header-menu {
	font: 14px 'Rubik-Medium';
	color: #fff;
}
.header-menu .cell {
	padding: 46px 20px 0;
}
.header-menu .cell:first-child {
	width: 290px;
}
#inner .header-menu .cell:first-child {
	width: 0;
}
#inner .header-menu .logo {
	display: none;
}
.header-menu .cell:last-child {
	text-align: right;
}
.header-menu [class*="fa-"] {
	margin-left: 8px;
	font-size: 16px;
}
.header-menu a[href^="tel:"] {
    margin-right: 5px;
}
.header-menu a:hover {
	color: #32589e;
}

#nav-btn,
#nav-close-btn {
	display: none;
	font-size: 35px;
}
.menu-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 145px;
    min-height: 500px;
    padding: 140px 0;
    color: #fff;
    background-color: #333;
    z-index: 150;
}
.menu-panel:after {
    content: "";
    position: absolute;
    top: 0;
    left: 146px;
    bottom: 0;
    width: 240px;
    background-color: #333;
    opacity: 0;
    visibility: hidden;
}
.menu-panel .logo {
	position: absolute;
	top: 48px;
	left: 33px;
}
#home .menu-panel .logo {
	opacity: 0;
	visibility: hidden;
}

.vertical-box {
    position: absolute;
    bottom: 75px;
    padding-left: 23px;
    text-transform: uppercase;
    transform-origin: top center;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    cursor: pointer;
}
.vertical-box:before,
.vertical-box:after {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 12px;
    height: 2px;
    background-color: rgba(255,255,255,.5);
}
.vertical-box:after {
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
    transform: rotate(90deg);
}
.vertical-box.open:before {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.vertical-box.open:after {
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	-ms-transform: rotate(135deg);
	-o-transform: rotate(135deg);
    transform: rotate(135deg);
}
.vertical-box .social {
    position: absolute;
    top: 0;
    color: rgba(255,255,255,.5);
    opacity: 0;
    visibility: hidden;
}
.vertical-box .social a {
	padding-right: 6px;
}
.vertical-box.open span {
	opacity: 0;
	visibility: hidden;
}

li.has-child {
    position: relative;
}
.nav-menu > li > a {
	white-space: nowrap;
	font-family: 'Rubik-Medium';
}
.nav-menu li a {
	display: block;
	padding: 13px 28px 12px;
	text-transform: uppercase;
	font-size: 14px;
}
.nav-menu li a:hover,
.nav-menu li.active > a,
li.has-child:hover > a {
	color: #0f8b56;
}
.sub-menu {
	position: absolute;
    top: 0;
    left: 100%;
    width: 240px;
    opacity: 0;
    visibility: hidden;
    z-index: 5;
}
.sub-menu:before {
    content: "";
    position: absolute;
    top: 20px;
    left: -19px;
    width: 38px;
    height: 1px;
    background-color: #f5f5f5;
}
li.has-child:last-child .sub-menu {
	top: auto;
	bottom: 0;
}
li.has-child:last-child .sub-menu:before {
	top: auto;
	bottom: 20px;
}
body.menu-open .menu-panel:after,
li.has-child:hover .sub-menu,
.vertical-box.open .social,
#home.fixed .menu-panel .logo {
	opacity: 1;
	visibility: visible;
}

/*=== SEARCH ===*/
.search-box {
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    background-color: rgba(51,51,51,.9);
    z-index: 155;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
}
.search-box.open {
	opacity: 1;
    visibility: visible;
}
.search-box input[type=text] {
    width: 70%;
    border: none;
    font-size: 18px;
    background-color: #fff;
}
.search-box input[type=submit] {
    width: 34px;
    height: 53px;
    margin-left: 15px;
	background: url(../images/layout/search.png) no-repeat center center;
}
#search-close-btn {
    position: absolute;
    top: 55px;
    right: 55px;
    font-size: 35px;
}
#search-close-btn:hover {
	color: #0f8b56;
}

/*=== TOP BANNER ===*/
.banner {
	position: relative;
	min-height: 490px;
}
.banner .top-slider {
	height: 100%;
    z-index: 1;
}
.banner .single-banner {
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.banner .single-banner:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 35%;
	background-color: rgba(51,51,51,.9);
}
.banner .single-banner:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 603px;
	margin-left: -374px;
	background: url(../images/layout/bg-line-dark.png) repeat-y;
}
.banner .single-banner > a {
	position: absolute;
    bottom: 40px;
    left: 50%;
    width: 110px;
    margin-left: -55px;
    text-transform: uppercase;
    text-align: center;
    font: 12px/20px 'Rubik-Medium';
    color: #fff;
    z-index: 2;
}
.banner .single-banner > a:after {
	content: "";
	position: absolute;
	bottom: -26px;
	left: 50%;
	width: 1px;
	height: 22px;
	background-color: #4aa85f;
}
.banner .container {
	z-index: 2;
}
.banner-text {
    max-width: 570px;
    width: 100%;
    padding-left: 50px;
    color: #fff;
}
.banner-text a {
	font-family: 'Rubik-Bold';
}
.large-text {
	text-transform: uppercase;
	letter-spacing: 0.4px;
    font: 42px/48px 'RobotoSlab-Bold';
    padding-bottom: 25px;
}
.banner-content {
    padding-bottom: 25px;
    line-height: 1.5;
}
.banner .slick-list,
.banner .slick-track {
	height: 100% !important;
}
.banner .slider-control {
	text-align: right;
}
.banner .slick-dots {
	position: static;
    display: inline-block;
    width: auto;
    height: auto;
    margin-right: -6px;
}
.banner .slick-dots li {
    display: block;
    width: 26px;
    height: 26px;
    margin: 7px 0;
    line-height: 26px;
}
.banner .slick-dots li.slick-active {
	-webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: rgba(51,51,51,.5);
}
.move-down {
    position: absolute;
    bottom: 42px;
    left: 35%;
    text-transform: uppercase;
    font: 12px 'Rubik-Medium';
    color: #fff;
    z-index: 2;
}
.move-down:before {
	content: "";
	display: inline-block;
	width: 22px;
	height: 1px;
    margin: 0 12px 0 -11px;
    vertical-align: middle;
	background-color: #4aa85f;
}

#inner .banner .single-banner:before {
	content: none;
}
#inner .banner .overlay {
	background: rgba(51,51,51,.5);
}
.banner-mask {
    position: absolute;
    top: 30px;
    right: 35px;
    bottom: 50px;
    left: 45px;
    border: 1px solid rgba(255,255,255,.85);
    border-bottom: 0;
    z-index: 2;
}
.banner-mask:before,
.banner-mask:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(50% - 65px);
    height: 1px;
    background-color: rgba(255,255,255,.85);
}
.banner-mask:after {
	left: auto;
	right: 0;
	width: calc(50% - 55px);
}

/*=== BREADCRUMBS ===*/
.breadcrumbs {
    padding-left: 45px;
    margin-bottom: 55px;
}
.breadcrumbs li {
	display: inline-block;
	line-height: 20px;
	text-transform: uppercase;
	font-size: 12px;
    color: #333;
}
.breadcrumbs li:last-child {
    color: #32589e;
}
.breadcrumbs li:after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    margin: -2px 3px 0 4px;
    vertical-align: middle;
    background-color: #333;
}
.breadcrumbs li:last-child:after {
    content: none;
}

/*=== ABOUT SECTION ===*/
.about-wrapper {
	padding: 80px 0 50px;
	text-align: center;
	font: 20px/32px 'RobotoSlab-Regular';
	color: #32589e;
}
.about-wrapper .container {
	max-width: 880px;
}
.about-wrapper p {
	line-height: 32px;
}

/*=== QUICK LINKS SECTION ===*/
.quick-links-wrapper {
	padding-bottom: 20px;
    text-align: center;
    color: #f8f8f8;
}
.quick-links-wrapper .container {
    max-width: 930px;
}
.quick-links-wrapper .negative-indent > .table {
	height: 256px;
}
.quick-links-wrapper .negative-indent > .table > .cell {
	padding: 0 20px;
}
.quick-links-wrapper .img-box,
.quick-links-wrapper .relative {
	display: block;
    height: 100%;
}
.quick-links-wrapper .overlay {
	background: #3354a0;
	background: -moz-linear-gradient(left, #3354a0 0%, #49a25b 100%);
	background: -webkit-linear-gradient(left, #3354a0 0%,#49a25b 100%);
	background: linear-gradient(to right, #3354a0 0%,#49a25b 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3354a0', endColorstr='#49a25b',GradientType=1 );
	opacity: 0;
	visibility: hidden;
}
.quick-links-wrapper .img-box:hover .overlay {
	opacity: 1;
	visibility: visible;
}
.quick-links-wrapper .img-box .cell {
    padding: 115px 40px 50px;
}
.quick-links-wrapper h3 {
    margin-bottom: 18px;
}
.quick-links-wrapper [class*="fa-"] {
	font-size: 17px;
}

/*============== Testimonials ==============*/
.home-testimonials {
	position: relative;
	margin: 150px 0;
}
.home-testimonials:before {
	content: '';
	background: transparent url(../images/layout/symbol.png) no-repeat center center scroll;
	background-size: contain;
	position: absolute;
	top: -135px;
	right: 0;
	height: 294px;
	width: 92px;
}
.home-testimonials h2 {
	font-size: 16px;
}
.home-testimonials .name-location {
	font-size: 42px;
	line-height: 1;
	padding-right: 50px;
}
.home-testimonials .container > .table {
	margin-bottom: 25px;
}
.testimonials {
	padding: 0px;
	margin: 25px auto;
}
.testimonials h2:not(:first-child) {
	margin-top: 45px;
}
.testimonials li + li {
	position: relative;
	margin-top: 25px;
	padding-top: 25px;
	border-top: 10px solid transparent;
}
.testimonials li + li:before {
	content: '';
	position: absolute;
	top: -5px;
	right: 0;
	left: 0;
	height: 5px;
	background: #49a25b;
	background: -moz-linear-gradient(left, #49a25b 0%, #3354a0 100%);
	background: -webkit-linear-gradient(left, #49a25b 0%,#3354a0 100%);
	background: linear-gradient(to right, #49a25b 0%,#3354a0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#49a25b', endColorstr='#3354a0',GradientType=1 );
}
.testimonials li span {
	display: block;
	margin-top: 15px;
	font-size: 18px;
}	

.control-width {
	position: relative;
    margin-top: -13px;
}
.control-width:before {
	content: "";
	position: absolute;
	top: -8px;
	left: 190px;
	width: 25px;
	height: 41px;
	background: url(../images/layout/symbol-sm.png) no-repeat;
}
.control-width:after {
	content: "";
	position: absolute;
    top: 12px;
    left: 200px;
	right: 0;
	height: 1px;
	background-color: #333;
}
.inner-box {
	display: inline-block;
	width: 190px;
}

/*=== CALLOUT SECTION ===*/
.bar-callout {
	position: relative;
	margin: 27px 0;
	text-align: center;
	font: 24px/30px 'Rubik-Medium';
	color: #fff;
	background: url(../images/layout/bg-callout.png) no-repeat center center rgba(50,88,158,88);
	background-size: cover;
}
.bar-callout:after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 92px;
	height: 294px;
	margin-top: -147px;
    background: url(../images/layout/symbol.png) no-repeat;
}
.bar-callout .table {
	height: 240px;
}
.bar-callout .cell {
	padding: 45px 0;
}
.bar-callout p {
	margin-bottom: 0;
	line-height: 30px;
}

.bottom-callouts {
	display: flex;
	flex-wrap: wrap;	
}
.bottom-callouts > * {
	background-attachment: scroll;
	background-color: transparent;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	text-align: center;
	flex-basis: 500px;
	flex-grow: 1;
	padding: 25px;
	height: 350px;
	transition: all 0.3s ease 0s;
}
.bottom-callouts > *:before {
	content: '';
	background-color: rgba(24,63,73,0.6);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	height: 100%;
	width: 100%;
}
.bottom-callouts .bottomCallBorder {
	border: solid 1px #fff;
	border-bottom: none;
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: 0 10px;
	position: absolute;
	top: 25px;
	right: 25px;
	bottom: 25px;
	left: 25px;
}
.bottom-callouts .bottomCallBorder:before,
.bottom-callouts .bottomCallBorder:after {
	content: '';
	border-bottom: solid 1px #fff;
	position: absolute;
	bottom: 0;
	width: 40%;
	width: calc(50% - 80px)
}
.bottom-callouts .bottomCallBorder:before {
	left: 0;
}
.bottom-callouts .bottomCallBorder:after {
	right: 0;
}
.bottom-callouts > *:hover:before {
	background-color: rgba(24,63,73,0.7);
}
.bottom-callouts .callout-header,
.bottom-callouts p {
	color: #fff;
	position: relative;
	z-index: 1;
}
.bottom-callouts .callout-header {
	font: 34px/1 'RobotoSlab-Bold';
	text-transform: uppercase;
	letter-spacing: 1px;
	padding-bottom: 10px;
}
.bottom-callouts .callLinkText {
	text-transform: uppercase;
	font-family: 'Rubik-Medium';
	position: absolute;
	right: 0;
	bottom: -6px;
	left: 0;
	margin: auto;
	max-width: 130px;
}

/*=== MAIN CONTENT & INNER PAGES===*/
.main-content {
	padding: 60px 0 25px;
}
.main-content .container {
	max-width: 1054px;
	padding: 0;
}
.main-content .col-right {
	padding-left: 45px;
}
.main-content .col-right .side-callout {
	background-attachment: scroll;
	background-color: transparent;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 25px;
	position: relative;
}
.main-content .col-right .side-callout:before {
	content: '';
	background-color: rgba(0, 0, 0, 0.6);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.main-content .col-right .side-callout .btn {
	margin-top: 15px;
}
.main-content .col-right .side-callout > * {
	color: #fff;
	position: relative;
	z-index: 1;
}
.main-content .sidebar > div:not(:last-child) {
	margin-bottom: 40px;
}
.main-content h1 {
	position: relative;
/*     width: 640px; */
    margin: 40px 0 28px;
    z-index: 1;
}

.container .col-left {
	padding-left: 15px;
	width: 60%;
}
.container .col-left > div {
	margin-bottom: 16px;
	line-height: 20px;
}

.content-wrapper {
	padding: 50px 0 110px;
}
.photo-gal {
	padding: 25px 0;
}
#gallery.content-wrapper .container {
	max-width: 1015px;
}
.project-list {
	margin: 0 -10px;
	font-size: 0;
}
.project-list li {
	display: inline-block;
	width: 33.33%;
	padding: 0 10px 25px;
	vertical-align: top;
	text-align: center;
	font-size: 14px;
	color: #f8f8f8;
}
.project-list li a > img {
	display: none;
}
.project-list .img-box {
    display: block;
	height: 368px;
}
.project-list .img-box:before {
	content: attr(data-title);
	padding: 0 5px;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	text-transform: uppercase;
	font: 22px/26px 'RobotoSlab-Bold';
	z-index: 1;
}
.project-list .img-box:before,
.project-list .img-box:after {
	opacity: 0;
	visibility: hidden;
}
.project-list .text-box {
	position: relative;
	width: 53%;
	z-index: 1;
	opacity: 0;
	visibility: hidden;
}
.project-list .img-box:hover:before,
.project-list .img-box:hover:after,
.project-list .img-box:hover .text-box {
	opacity: 1;
	visibility: visible;
}
.project-list h3 {
	margin-bottom: 0;
}
.project-list + div {
	margin-top: 55px;
}

.img-banner.lg {
	height: 464px;
}
.img-banner.lg:after {
	content: none;
}


/*=== FOOTER ===*/
.footer-wrapper {
	height: auto;
    padding-left: 145px;
	color: #fff;
	background-color: #3e3e3e;
}
.quote-box {
    padding: 24px 0;
	text-align: center;
	background: #49a25b;
	background: -moz-linear-gradient(left, #49a25b 0%, #3354a0 100%);
	background: -webkit-linear-gradient(left, #49a25b 0%,#3354a0 100%);
	background: linear-gradient(to right, #49a25b 0%,#3354a0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#49a25b', endColorstr='#3354a0',GradientType=1 );
}
.quote-box p {
	margin-bottom: 0;
}
.quote-box p a {
	font: 18px 'Rubik-Medium';
}
.quote-box .container > div {
	color: #fff;
	font: 14px 'Rubik-Regular';
}
.quote-box .container > div > a {
	font: 18px 'Rubik-Medium';
}
.copyright {
	padding: 30px 0;
	font-size: 12px;
}
.copyright .cell:last-child {
	width: 112px;
	padding-left: 20px;
}
.copyright p {
	margin-bottom: 0;
}
.copyright span {
	line-height: 20px;
}
.copyright ul {
	display: inline-block;
}
.copyright li {
	display: inline-block;
	line-height: 20px;
}
.copyright li:after {
	content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    margin: 0 3px;
    vertical-align: middle;
    background-color: #fff;
}
.copyright li:last-child:after {
	content: none;
}
.copyright li a {
	text-decoration: underline;
}
.jbsystem {
	width: 92px;
	height: 34px;
    padding-left: 13px;
	font-size: 8px;
	background: url(../images/layout/logo-JB-Systems.png) no-repeat;
}

/* Staff */
#full-staff {
	margin-bottom: 0;
	transition: all 0.5s ease 0s;
}
/*
#full-staff.open-staff {
	margin-bottom: 700px;
}
*/
.all-staff .staff-cat {
	padding: 50px 1% 10px;
}
.all-staff .staff-container {
/* 	background-color: #2f2f2f; */
	display: flex;
	flex-wrap: wrap;
	position: relative;
	transition: all 0.5s ease 0s;
}
.all-staff .staff-container > div {
	text-align: center;
	margin: 0 0 1% 1%;
	width: 32%;
	transition: all 0.5s ease 0s;
}
/*
.all-staff .staff-container > div.open {
	margin-bottom: 700px;
}
*/
.all-staff .staff-container > div:after {
	content: '';
	position: absolute;
	bottom: 0;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-bottom: 15px solid #2f2f2f;
	height: 0;
	width: 0;
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s ease 0s;
}
.all-staff .staff-container > div.open:after {
	opacity: 1;
	visibility: visible;
}
.all-staff .staff-container > div figure {
	background-attachment: scroll;
	background-color: transparent;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	cursor: pointer;
	position: relative;
	height: 366px;
	width: 100%;
}
.all-staff .staff-container > div figure span {
	color: #fff;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	height: 35px;
	font-size: 30px;
	line-height: 35px;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	z-index: 1;
	transition: all 0.3s ease 0s;
}
.all-staff .staff-container > div figure:after {
	content: '';
	background: rgba(73, 162, 91, 0.5);
	background: -moz-linear-gradient(left, rgba(73, 162, 91, 0.5) 0%, rgba(51, 84, 160, 0.5) 100%);
	background: -webkit-linear-gradient(left, rgba(73, 162, 91, 0.5) 0%,rgba(51, 84, 160, 0.5) 100%);
	background: linear-gradient(to right, rgba(73, 162, 91, 0.5) 0%,rgba(51, 84, 160, 0.5) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(73, 162, 91, 0.5)', endColorstr='rgba(51, 84, 160, 0.5)',GradientType=1 );
	position: absolute;
	left: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease 0s;
}
.all-staff .staff-container > div figure:hover:after,
.all-staff .staff-container > div figure:hover span {
	opacity: 1;
	visibility: visible;
}
.all-staff h3 {
	font-size: 40px;
	line-height: 1;
}
.all-staff .jobTitle {
	color: #d11241;
}
.all-staff p.jobTitle {
	margin-bottom: 10px;
	text-align: center;
	font-size: 20px;
	line-height: 25px;
}
.all-staff a {
	display: block;
}

/* Staff Modal */
.staff-toggle {
	background-color: #2f2f2f;
	color: #fff;
	display: flex;
	height: 0;
	overflow: hidden;
	position: absolute;
	left: 0;
	right: 0;
	height: 0;
	transition: all 0.5s ease 0s;
}
/*
.open .staff-toggle {
	height: 700px;
}
*/
.staff-toggle .close-staff {
	cursor: pointer;
	position: absolute;
	top: 25px;
	right: 25px;
}
.staff-toggle .close-staff i {
	font-size: 40px;
	font-weight: 200;
}
.staff-toggle > div {
	display: flex;
	padding: 50px;
	max-width: 1300px;
	width: 100%;
	margin: auto;
	overflow: auto;
}
.staff-toggle > div > div {
	display: flex;
	justify-content: center;
	flex-direction: column;
	text-align: left;
	padding-left: 25px;
	width: 60%;
}
.staff-toggle > div > div:first-child {
	background-attachment: scroll;
	background-color: transparent;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 0;
	height: 600px;
	width: 40%;
}
.staff-toggle .job-title {
	font-size: 22px;
	line-height: 1;
	margin-bottom: 15px;
}
.staff-toggle > div > div:last-child a,
.staff-toggle > div > div:last-child p {
	margin-bottom: 3px;
}
.staff-toggle .staff-desc {
	margin-top: 15px;
}
.staff-toggle .staff-desc > p {
	margin-bottom: 15px !important;
}