/**************************
  RESPONSIVE STYLES 
**************************/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE10+ CSS here */
    .services-list a:hover{
        background: rgba(205,189,155,.6);
    }
}
@media screen and (max-width: 1450px) {
	.testimonials-wrapper {
		background-size: 95% auto;
	}
}
@media screen and (max-width: 1250px) {
    .banner .slick-arrow.slick-prev {
        left: 0;
    }
    .banner .slick-arrow:after {
        font-size: 48px;
    }
}
@media screen and (max-width: 1200px) {
    .banner .slick-arrow.slick-next {
        right: 5px;
    }
    .banner .slick-arrow.slick-prev {
        left: 5px;
    }
    .banner-text {
        margin-left: 35px;
    }
    .quick-links-wrapper .container {
        padding: 0;
    }
}

@media screen and (max-width: 1150px) {
    #inner .header-menu .container > .flexbox > div:first-child, 
    .fixed .header-menu .container > .flexbox > div:first-child {
        flex-basis: 150px;
    }
    .nav-menu > li:last-child .sub-menu {
        left: 50%;
        right: 0;
        transform: translateX(-50%);
    }
    #before-after .ba-content{
		height: 250px;
		width: 400px;
		margin: 18px;
	}
	#before-after .ba-slider {
		height: 250px;
		width: 450px;
	}
	#before-after .ba-slider figure {
		height: 250px;
		width: 400px;
	}
}
@media screen and (max-width: 1100px) {
    #inner .header-menu .container > .flexbox > div:first-child, 
    .fixed .header-menu .container > .flexbox > div:first-child {
        flex-basis: 78px;
    }
    .page-content{
        padding-top: 60px;
    }
    .bar-callout .flexbox {
        display: block;
        text-align: center;
        padding: 15px 0 25px;
    }
    .bar-callout h2{
        margin-right: 0;
    }
    .footer-wrapper > div:first-child .flexbox > div {
        padding-right: 15px;
    }
    .footer-wrapper > div:first-child .flexbox > div:last-child {
        padding-right: 0;
    }
    .sub-banner {
        height: 280px;
    }
     .zodoc {
	top: 190px;
	}
}
@media screen and (max-width: 1030px) {
	#before-after .ba-content{
		height: 200px;
		width: 350px;
		margin: 18px;
	}
	#before-after .ba-slider {
		height: 200px;
		width: 350px;
	}
	#before-after .ba-slider figure {
		height: 200px;
		width: 350px;
		background-position-x: -15px;
	}
	#before-after .ba-slider .handle{
    	height: 200px;
	}
}
@media screen and (max-width: 1000px) {
	
    /*=== Header & Footer ===*/
    #header, .header-menu {
        height: 74px;
    }
    .top-bar,
    .top-menu span {
        display: none;
    }
    .header-menu .container > .flexbox > div:first-child,
    #inner .header-menu .container > .flexbox > div:first-child, 
    .fixed .header-menu .container > .flexbox > div:first-child {
        flex-basis: 80px;
        opacity: 1;
        visibility: visible;
        padding-right: 15px;
    }
    .header-menu .container > .flexbox > div:last-child {
        flex-grow: 0;
        height: auto;
        display: flex;
        align-items: center;
    }
    .social a {
        margin-right: 15px;
        font-size: 22px;
    }
    /*=== Navigation ===*/
    #nav-btn {
        display: block;
        margin-left: 10px;
    }
    #nav-close-btn {
        position: absolute;
        top: 35px;
        right: 55px;
        display: block;
        z-index: 5;
    }
    .main-nav, .main-nav nav, 
    .nav-menu, .nav-menu > li {
        height: auto;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        color: #fff;
        background-color: #323d4f;
        transition: all 0.5s ease 0s;
        overflow: hidden;
        overflow-y: auto;
        z-index: 110;
    }
    .open .main-nav {
        width: 400px;
    }
    .main-nav nav {
        position: relative;
        min-width: 400px;
        height: inherit;
        padding: 80px 55px 50px 40px;
        text-align: left;
    }
    .nav-menu {
        display: block;
        padding-top: 0;
    }
    .nav-menu > li,
    .nav-menu > li:last-child {
        margin: 0;
        padding: 0;
    }
    .top-menu li {
        display: block;
    }
    .main-nav nav > .nav-menu > li:last-child::after {
	    height: 100%;
    }
    .top-menu li:last-child {
	    display: none;
    }
    .top-menu a,
    .nav-menu > li > a {
        display: block;
        padding: 11px 30px 7px 15px;
        border-bottom: 1px solid rgba(0,0,0,.4);
        font-size: 18px;
        box-shadow: 0px 1px rgba(255, 255, 255, 0.2);
    }
    .nav-menu > li > a:after,
    .top-menu li:not(:last-child):after {
        content: none;
    }
    .sub-menu a {
        font-size: 14px;
        padding: 9px 0 5px;
    }
    .sub-menu a:hover {
        background: none;
    }
    .nav-menu > li:last-child .sub-menu {
        transform: none;
    }
    .nav-menu a:hover,
    li.has-child:hover > a {
        color: inherit;
    }
    .sub-ctrl {
        position: absolute;
        top: 0;
        right: 0;
        width: 30px;
        text-align: center;
        cursor: pointer;
    }
    .sub-ctrl:after {
        content: "\f105";
        font: 20px/52px 'Font Awesome\ 5 Pro';
    }
    li.has-child.show > .sub-ctrl {
        transform: rotate(90deg);
    }
   .sub-menu {
        position: static;
        display: none;
        width: 100%;
        padding: 12px 25px;
        background-color: transparent;
        transition: none;
        opacity: 1;
        visibility: visible;
    }

    /*=== Layout ===*/
    .large-text {
        font-size: 30px;
    }
    .large-text span {
        font-size: 56px;
    }
    h1, h2,
    .quick-links-wrapper h3 {
        font-size: 38px;
    }
    .banner .top-slider .flexbox {
        padding-top: 100px;
    }
    .banner-top .flexbox {
        justify-content: flex-end;
    }
    .banner-top .banner-logo {
        display: none;
    }
    .banner .slick-arrow.slick-next {
        right: 15px;
    }
    .banner-text {
        margin-left: 0;
    }
    .banner .slick-arrow.slick-prev {
        display: none !important;
    }
    .page-content,
    .team-wrapper {
        background: none;
    }
    .featured-wrapper .flexbox > div:last-child:after {
        content: none;
    }
    .page-content,
    .testimonials-wrapper {
        padding: 50px 0;
    }
    .featured-wrapper .flexbox > div:last-child {
         padding: 50px 0 70px;
    }
    .team-wrapper{
        padding-top: 50px;
    }
    .page-content .flexbox > div:first-child {
        width: 280px;
    }
    .page-content .flexbox > div:last-child {
        width: calc(100% - 280px);
    }
    .featured-wrapper .img-box{
        width: calc(50% - 150px);
    }
    .featured-wrapper .flexbox > div:last-child {
        width: calc(50% + 150px);
    }
    .featured-wrapper .align-center {
        padding: 0 15px;
    }
    .services-list a {
        padding: 30px 10px;
        height: 100%;
    }
    .testimonials-wrapper > .container > .flexbox {
        height: auto;
    }
/*
    .testimonials-wrapper {
        background: #323d4f;
    }
*/
    .testimonials-arrows {
        margin: 10px 0 0;
    }
    .footer-wrapper > div:first-child .flexbox > div:first-child {
        width: 100%;
        text-align: center;
        position: relative;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .footer-wrapper .logo {
        display: inline-block;
        width: 180px;
    }
    .footer-wrapper > div:first-child .flexbox > div:first-child:after {
        content: '';
        height: 1px;
        left: 0;
        width: 100%;
        position: absolute;
        background: rgba(50,61,79,.3);
        bottom: 0;
    }
    .copyright .flexbox {
        justify-content: center;
        align-items: flex-start;
    }
    .copyright .flexbox > div {
        width: 100%;
    }
    .copyright .flexbox > div:first-child {
        margin-bottom: 10px;
        text-align: center;
    }
    .main-content {
        padding: 20px 0 50px;
        background: none;
    }
    .main-content .content {
        padding: 15px 0 0 25px;
    }
    .main-content .content .accordion {
        margin-right: 0;
    }
}
@media screen and (max-width: 900px) {
	#before-after .ba-content {
	display: block;
	margin: auto;
	}
    h3{
        font-size: 28px;
    }
    .page-content .flexbox {
        flex-wrap: wrap;
    }
    .page-content .flexbox > div:first-child,
    .featured-wrapper .flexbox > div:last-child {
        width: 100%;
    }
    .page-content .flexbox > div:last-child {
        width: 100%;
        padding: 25px 0 0;
        border: none;
    }
    .featured-wrapper .img-box {
/*         display: none; */
		height: 340px;
		width: 100%;
    }
    .main-content .container > .table {
        flex-direction: column-reverse;
    }
    .main-content .content {
        margin-top: 0;
        padding: 0 0 50px;
        width: 100%;
    }
    .sidebar {
        margin: 0 auto;
        padding: 0;
    }
    .sidebar:after {
        content: none;
    }
/*
    .testimonials-arrows {
        display: none;
    }
*/
    .main-team-photo .pins li:first-child .tooltip-box{
        left: 100%;
    }
    .main-team-photo .pins li:last-child .tooltip-box{
        left: auto;
    }
    .main-team-photo .pins li:first-child{
        top: 150px;
        left: 7%;
    }
    .main-team-photo .pins li:nth-child(2) {
        top: 190px;
        left: 45%;
    }
    .main-team-photo .pins li:nth-child(3) {
        top: 160px;
        left: 56%;
    }
    .main-team-photo .pins li:last-child {
        top: 190px;
        right: 10%;
    }
    .tooltip-box{
        width: 220px;
        padding: 15px;
    }
    .banner-content {
	    width: 58%;
    }

}
@media screen and (max-width: 770px) { /* Tablet View */
    body {
        cursor: pointer; /* iOS Clicking Fix */
    }
    h1, h2,
    .main-content .content h1{
        margin-bottom: 20px;
    }
    .large-text {
        font-size: 28px;
    }
    .large-text span {
        font-size: 52px;
        line-height: 1;
    }
    .quick-links-wrapper h3{
        font-size: 34px;
    }
    .page-content .flexbox > div:last-child > ul{
        display: block;
    }
    .page-content .flexbox > div:last-child > ul li + li,
    .page-content .flexbox > div:last-child > ul li{
        width: 100%;
        padding: 0;
    }
    .footer-wrapper > div:first-child{
        font-size: 14px;
    }
    .footer-wrapper > div:first-child .flexbox > div:not(:first-child){
        width: 33.33%;
    }
    .testimonials-wrapper .img-box {
        width: 200px;
        height: 200px;
    }
    .testimonials-wrapper .img-box + .text-box{
        width: calc(100% - 200px);
        padding-left: 25px;
    }
    
    .main-gallery > a {
	    min-width: 240px;
    }
}

@media screen and (max-width: 670px) { /* Phone View */
    h1, h2{
        font-size: 35px;
    }
    .team-wrapper h2:before{
        margin-bottom: 15px;
    }
    .large-text span {
        font-size: 48px;
    }
    .btn, .page-content div > a{
        font-size: 14px;
        padding: 9px 20px 7px;
    }
    .btn i{
        font-size: 20px;
    }
    .banner .top-slider .flexbox{
        padding-bottom: 50px;
    }
    .quick-links-wrapper .flexbox{
        flex-wrap: wrap;
    }
    .quick-links-wrapper{
        margin-top: 0;
        background: #323d4f;
        height: auto;
        border: none;
    }
    .quick-links-wrapper a {
        width: 100%;
        flex: auto;
        border: none;
        border-bottom: 1px solid rgba(255,255,255,.25);
        padding: 20px 15px;
    }
    .featured-wrapper .align-center br {
        display: none;
    }
    .team-wrapper .btn {
        bottom: 15px;
    }
    .tooltip-box {
        width: 200px;
        padding: 10px;
        font-size: 12px;
        background: #323d4f;
    }
    .testimonials-arrows {
	    justify-content: space-between;
    }
    .tooltip-box h3 {
        font-size: 24px;
    }
    .pins li > a {
        width: 25px;
        height: 25px;
        border: 3px solid rgba(205, 189, 155, 0.65);
    }
    .main-team-photo .pins li:first-child{
        top: 95px;
    }
    .main-team-photo .pins li:first-child .tooltip-box{
        -webkit-transform: scale(0) translateX(-30%);
        transform: scale(0, 0) translateX(-30%);
    }
    .main-team-photo .pins li.active:first-child .tooltip-box{
        -webkit-transform: scale(1, 1) translateX(-30%);
        transform: scale(1, 1) translateX(-30%);
    }
    .main-team-photo .pins li:nth-child(2){
        top: 140px;
    }
    .main-team-photo .pins li:nth-child(3) {
        top: 120px;
    }
    .main-team-photo .pins li:last-child {
        top: 130px;
    }
    .main-team-photo .pins li:last-child .tooltip-box{
        -webkit-transform: scale(0) translateX(-70%);
        transform: scale(0, 0) translateX(-70%);
    }
    .main-team-photo .pins li.active:last-child .tooltip-box{
        -webkit-transform: scale(1, 1) translateX(-70%);
        transform: scale(1, 1) translateX(-70%);
    }
    .page-content, .testimonials-wrapper {
        padding: 40px 0;
    }
    .featured-wrapper .flexbox > div:last-child{
        padding: 40px 0 50px;
    }
    .team-wrapper{
        padding-top: 40px;
    }
    .main-content .content .accordion{
        margin-bottom: 40px;
    }
    .services-list li:after{
        width: 50px;
    }
    .services-list li:before{
        height: 50px;
    }
    .services-list a{
        padding: 25px 10px;
    }
    .footer-wrapper .flexbox{
        flex-direction: column;
    }
    .footer-wrapper > div:first-child .flexbox > div:not(:first-child){
        width: 100%;
        text-align: center;
        padding: 0;
    }
    .footer-wrapper > div:first-child .flexbox > div:not(:last-child){
        margin-bottom: 15px;
    }
    .accordion-head{
        padding-right: 40px;
    }
    .accordion-content{
        padding-right: 0;
    }
    .accordion-head:before, .accordion-head:after{
        right: 15px;
    }
    .testimonials-wrapper .inner-box .flexbox{
        flex-direction: column;
    }
    .testimonials-slider .slick-list {
        max-height: 100%;
    }
    .testimonials-wrapper .img-box{
        margin: 0 auto 25px;
    }
    .testimonials-wrapper .img-box + .text-box{
        width: 100%;
        padding: 0;
        text-align: center;
    }
    .testimonials-wrapper .img-box + .text-box h2:before {
        margin-left: auto;
    }
    .breadcrumbs{
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 480px) {
    .pins > li {
	    transform: translateY(60px);
    }
    .large-text{
        font-size: 24px;
    }
    .large-text span {
        font-size: 44px;
    }
    .social a{
        margin-right: 10px;
    }
    #nav-close-btn {
        top: 30px;
        right: 25px;
        font-size: 20px;
    }
    .open .main-nav {
        width: 360px;
    }
    .main-nav nav {
        min-width: 360px;
        padding: 80px 25px 50px;
    }
    .nav-menu > li > a {
        padding: 9px 30px 5px 15px;
    }
    .sub-ctrl:after {
        line-height: 47px;
    }
    .banner {
        min-height: 500px;
    }
    .banner-top .flexbox{
        justify-content: center;
    }
    .banner-text{
        text-align: center;
    }
    .quick-links-wrapper h3 {
        font-size: 30px;
    }
    .services-list li {
        width: 50%;
    }
    .footer-wrapper .logo {
        width: 150px;
    }
    .services-list li:after, 
    .services-list li:before{
        content: none;
    }
    .bar-callout h2{
        font-size: 30px;
    }
    .footer-wrapper > div:first-child{
        padding: 25px 15px;
    }
    .copyright ul{
        display: block;
    }
    .main-team-photo{
        display: block;
        margin: 0 -15px;
    }
    .tooltip-box h3 {
        font-size: 20px;
        margin-bottom: 0;
    }
    .team-wrapper .container{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .team-wrapper .btn{
        position: static;
        order: -1;
        transform: none;
        margin: 0 0 20px;
    }
    .team-wrapper .team-top{
         order: -2;
    }
    .main-team-photo .pins li:first-child {
        top: 76px;
    }
    .main-team-photo .pins li:nth-child(2) {
        top: 95px;
    }
    .main-team-photo .pins li:nth-child(3) {
        top: 80px;
    }
    .main-team-photo .pins li:last-child {
        top: 90px;
    }
    .sub-banner a{
        margin-right: auto;
    }
    .breadcrumbs{
        text-align: left;
    }
    .accordion-head{
        font-size: 14px;
    }
    .accordion-head:before, .accordion-head:after {
        right: 10px;
        top: 27px;
    }
    .content p a{
        display: inline;
    }
    .main-gallery {
	    justify-content: center;
    }
    .staff-wrapper {
	    align-items: flex-start;
		justify-content:center;
    }
}

@media screen and (max-width: 380px) {
	.pins > li:nth-child(even) {
	    transform: translate(-20px, 40px);
    }
	
	.grid, .grid-sizer, .grid-item {
		width: 100% !important;
	}
}

@media screen and (max-width: 360px) {
    h1, h2 {
        font-size: 32px;
    }
    .testimonials-wrapper h2:before, 
    .testimonials-wrapper p:not(:last-child) {
        margin-bottom: 15px;
    }
    .large-text span {
        font-size: 40px;
    }
    #nav-close-btn {
        right: 20px;
    }
    .open .main-nav {
        width: 320px;
    }
    .main-nav nav {
        min-width: 320px;
        padding: 70px 20px 50px;
    }
    .sidebar {
        width: 100%;
    }
    .services-list .icon{
        height: auto;
    }
    .services-list li {
        width: 100%;
    }
    .featured-wrapper .flexbox > div:last-child{
        padding-bottom: 30px;
    }
    .jbsystems{
        flex-direction: column;
        margin-top: 10px;
    }
    .copyright span{
        display: block;
        margin-bottom: 10px;
    }
    .team-wrapper{
        overflow: visible;
    }
    .tooltip-box{
        width: 170px;
        font-size: 11px;
    }
    .tooltip-box p{
        margin-bottom: 0;
    }
    .main-team-photo .pins li:first-child {
        top: 50px;
    }
    .main-team-photo .pins li:nth-child(2) {
        top: 80px;
    }
    .main-team-photo .pins li:nth-child(3) {
        top: 65px;
    }
    .main-team-photo .pins li:last-child {
        top: 80px;
    }
}