@media only screen and (max-width: 1310px){
	.nav-primary .genesis-nav-menu > li > a, .nav-header .genesis-nav-menu > li > a{
		margin: 0 10px;
	}

	.asf-trigger{
		margin: 0px 10px 0px 0px;
	}
}

@media only screen and (max-width: 1220px) {
	.wrapper, .wrap, .content-sidebar-wrap {
		width: 1024px;
	}
	
	.two-columns .panel-grid-cell:first-child .panel-widget-style {
		padding-left: 20px;
	}
	
	.two-columns .panel-grid-cell:last-child .panel-widget-style {
		padding-right: 20px;
	}

	/* Home Section 3 */
	.key-area-wrap:before{
	    max-width: 95%;
	    margin-left: 2.5%;
	    left: 0;
	}
}

@media only screen and (max-width: 1199px) {
	.wrapper, .wrap, .content-sidebar-wrap {
		width: 1024px;
	}
}

@media only screen and ( max-width: 1024px ) {

	/* Menu */
	.nav-primary .genesis-nav-menu > li > a, .nav-header .genesis-nav-menu > li > a{
		margin: 0 5px;
	}

	/* Home Section 5 */
	#home-sec5 .btn{
		margin-left: 20px;
	}
    
    /* Sticky Sidebar Fix */
    .content-sidebar .content {
		display: block;
		float: none;
		margin: 0px auto 50px;
	}
	
	.content-sidebar .sidebar {
		float: none;
		margin: 30px auto;
	}
    
	.content-sidebar .content,
	.content-sidebar .sidebar {
		position: relative!important;
		top: auto!important;
		bottom: auto!important;
	}
	
	.is_stuck {
		position: relative!important;
		top: auto!important;
		bottom: auto!important;
	}
	
	/* Sidebar */
	.content-sidebar .sidebar {
		float: none;
		width: 645px;
		margin: 40px auto 0;
		display: block;
		clear: both;
	}
	
	.sidebar .search-form {
		position: relative;
	}
	
	.search-form input[type="text"],
	.search-form input[type="search"] {
		width: 100%;
		padding-right: 44px;
	}
	
	.search-form input[type="submit"] {
		position: absolute;
		right: 0;
	}
	
	.sidebar-posts {
		text-align: center;
	}
	
	.sidebar-posts .post-item .overlay {
		text-align: left;
	}
	
	.sidebar-posts .post-item {
		display: inline-block;
		margin-right: 20px;
	}
	
	.two-columns .panel-grid-cell:first-child .panel-widget-style {
		padding-right: 40px;
	}
	
	.two-columns .panel-grid-cell:last-child .panel-widget-style {
		padding-left: 40px;
	}
    
    /* Home */
    #slide-1-layer-6{
        font-size: 12px !important;
        margin-top:-10px !important;
    }

    #slide-1-layer-7,
    #slide-1-layer-8{
    	font-size:30px !important;
    }

	#slide-1-layer-9{
		font-size: 13px !important;
	}

	#slide-1-layer-11{
		font-size:12px !important;
	}
    
    #home-sec3 {
		padding-top: 0px;
		padding-bottom: 50px;
	}
    
    #home-sec6 .panel-grid-cell {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .home .internal-testimonials {
        height: 300px;
    }
    
    .sidebar-cta .image {
        text-align:center
    }   
    
    /* Bottom CTA */
    .bottom-cta .right .trans{
        margin:20px 15px 10px ;
    }

    .bottom-cta .left{
        padding: 21px 110px;
        padding-left: 10px;
    }
    
    /* Our People */
    .full-width-content .team-members-container .team-box{
		margin: 20px 75px;
		
	}
    
    /* Services */
    .services-list{
		margin-left: -55px
	}
    
    .menu-services-menu1-container a,
    .menu-services-menu2-container a{
    	min-width:100%;
    	width:100%
    }
}

@media only screen and ( max-width: 1023px ) {
	/*
	*	768 to 1023
	*/
	.wrapper, .wrap, .content-sidebar-wrap {
		width: 740px;
	}
	
	.content-sidebar .content {
		margin: auto;
		display: block;
		float: none;
	}
	
	blockquote {
		padding: 10px 40px 10px 40px;
	}
	
	.custom-form .gfield_captcha_input_container {
		width: 170px;
	}
	
	.contact-page .content-sidebar-wrap .left-side {
		width: 100%;
	}

	.contact-page .content-sidebar-wrap .right-side {
        width: 100%;
	}
	
	.page-bottom-bg {
		height: 200px;
	}

	/* Header */
	.site-header{
	    position: absolute;
	    background: #003e4d;
	    padding: 20px 0;
	}
    
    .home-slider{
	   margin-top:130px
    }


	.site-header .title-area{
	    width: 100%;
	    float: none;
	    text-align: center;		
	}

	.header-widget-area{
	    float: none;
	    width: 100%;
	    text-align: center;		
	}

	/* Home Section 1 */
	#home-sec1 h4{
	    line-height: normal;
	    margin-bottom: 10px;		
	}

	/* Home Section 5 */
	#home-sec5 .row{
		position: relative;
	}

	#home-sec5 .col-sm-3{
		position: relative;
		height: 170px;
	}

	#home-sec5 .col-sm-3 h4{
		position: relative;
		top: 50%;
		-ms-transform: translateY(-50%); /* IE 9 */
		-webkit-transform: translateY(-50%); /* Chrome, Safari, Opera */
		transform: translateY(-50%);
	}

	#home-sec5 .btn{
	    margin: 10px auto 0 auto;
	    display: block;		
	}

	#home-sec5 .btn:first-child{
	    margin-left: auto;
	    margin-top: 0;		
	}

	/* Footer */
	.footer-newsletter-form .gform_footer{
		padding-left: 0px;
		margin-top: 10px;
	}
	
	/* Sidebar Post Text */
	.sidebar-post-text {
		width: 300px;
		display: block;
		clear: both;
		margin: 30px auto;
	}

	.sidebar-post-text .sidebar-posts .post-item {
		text-align: left;
		clear: both;
		margin: 0px auto;
	}
	
    /* Cutom Sections */
    .custom-sections .bg-container .half-box,
    .custom-sections .content-container .half-box{
       height: auto !important;
    }    
	
	.panel-row-style.two-columns {
		display: block;
		width: 100%!important;
		float: none!important;
		display: block;
		max-width: 100%;
	}
	
	.two-columns .panel-grid-cell:first-child .panel-widget-style,
	.two-columns .panel-grid-cell:last-child .panel-widget-style {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.two-columns > .panel-grid-cell {
		display: block!important;
		width: 100%!important;
	}
	
	.two-columns.equal-height-columns .panel-grid-cell .panel-widget-style,
	.two-columns.equal-height-columns .panel-grid-cell .so-panel {
		min-height: initial!important;
	}
    
    .footer-social-icons li a .fa{
	   line-height: 25px;

    }

	/* Home Slider */
	.rev_slider .small-heading{
		font-size: 11px !important;
		line-height: 15px !important;
		letter-spacing:3.4px !important;
	}

	.rev_slider .main-heading1,
	.rev_slider .main-heading2{
		font-size: 30px !important;
		line-height: normal !important;
	}

	.rev_slider .sub-heading{
		font-size: 14px !important;
		line-height: 20px !important;
	}

	.rev_slider .slider-links, .rev_slider .slider-links a{
		font-size: 12px !important;
		line-height: 19px !important;	
	}

	.rev_slider .slider-links{
		padding: 10px 15px !important;
	}

	.home-slider .rev_slider li.tp-revslider-slidesli div:nth-child(2){
		top: 90px !important;
	}

	.home-slider .rev_slider li.tp-revslider-slidesli div:nth-child(3){
		top: 110px !important;
	}

	.home-slider .rev_slider li.tp-revslider-slidesli div:nth-child(4){
		top: 145px !important;
	}

	.home-slider .rev_slider li.tp-revslider-slidesli div:nth-child(5){
    	top: 200px !important;
	}

	.home-slider .rev_slider li.tp-revslider-slidesli div:nth-child(6){
    	top: 280px !important;
	}
    
    .internal-header {
        margin-top: 90px;
    }
    
    /* Bottom CTA */
    .bottom-cta .right .trans{
        margin:20px 10px 8px ;
    }

    .bottom-cta .left{
        padding: 20px 40px;
    }

	/* Footer */
	#footer-top-sec1 .right-sec a{
	    display: block;
	    margin-right: 0;		
	}
    
    /* Our People */
    .full-width-content .team-members-container .team-box{
		margin: 20px 5px;
		
	}
    
    .single-team-member .team-member .image-container,
	.single-team-member .team-member .title-container{
		text-align:center
	}
    
    /* Services */
    .services-list{
		margin-left: -25px;
	}
    
    .menu-services-menu1-container a:before,
    .menu-services-menu2-container a:before{
    	display:none;
    }
    
}

@media only screen and (max-width: 768px) {
    /* Bottom CTA */
    .bottom-cta .right .trans{
        margin:20px 10px 10px ;
    }

    .bottom-cta .left{
        padding: 42px 110px;
    }
}

@media only screen and (max-width: 767px) {
	/*
	* 540 to 767
	*/
	
    /* Menu */
    .nav-primary,
    .nav-header{
        display: none;
    }
    
    .site-header {
        padding: 50px 0px 10px;
    }

	.wrapper, .wrap, .content-sidebar-wrap {
		width: 503px;
	}
    
	.content-sidebar .sidebar {
		width: 100%;
        max-width: 300px;
	}

	/* Contact Us Form */
	.contact-page .content-sidebar-wrap .left-side,
	.contact-page .content-sidebar-wrap .right-side {
		display: block;
		margin-left: auto;
		margin-right: auto;
		float: none;
	}
    
    /* Team Member */
    .team-members-container .team-member {
		padding: 35px 10px 20px 10px;
        text-align: center;
    }

    .team-member .name .sub-title:after {
        left: 0;
        right: 0;
        margin: auto;
    }
    
    
    .team-member .content-container {
        text-align: center;
    }
	
    /* Testimonials */
	.testimonial-content-page {
		padding-left: 80px;
	}
	
	.testimonial-content-page:before {
		left: 20px;
		top: 10px;
	}

	/* Internal Testimonial slider */
	.internal-testimonials .testimonial-item {
		padding: 40px 10px 0px 10px;
	}
    
    .testimonial-section .right-side {
		margin-top: 30px;
	}
	
	/* Footer Bottom */
	.footer-bottom-left,
	.footer-bottom-center,
	.footer-bottom-right {
		text-align: center;
		margin-bottom: 5px;
	}
	
	/* 404 Page */
	.error404 .content-404 h2 {
		font-size: 200px;
		line-height: 200px;
	}
    
    /* PopUp Form */
    .popup-form-wrap .left-box{
        min-height: inherit;
        margin: 30px 0px;
    }
    
    /* Cutom Sections */
    .custom-sections .half-box{
        width: 100%;
        
    }
    
    .custom-sections .content-container .half-box{
       height: auto !important;
       display: inline-block;
    }

    /* Header */
    .header-phone{
	    width: 48px;
	    text-align: center;
	    padding-left: 10px;   	
    }

    /* Slider */
    .rev_slider .slider-links{
    	padding: 10px 10px !important;
    }

    .rev_slider .slider-links a{
	    font-size: 10px !important;
	    margin-right: 5px !important;   	
    }

    .rev_slider .slider-links a:last-child{
    	margin-right: 0px !important;
    }
	
	/* Home Section 3 */
	.key-area-item{
		width: 100%;
		padding: 10px;
	}

	.key-area-item a{
		width: 200px;
	}

	/* Home Testimonial Section */
	.internal-testimonials .testimonial-item a.testimonial-text{
	    font-size: 16px;
	    line-height: normal;
	}

	/* Home Section 5 */
	#home-sec5 .col-sm-3{
		height: auto;
	}

	#home-sec5 .col-sm-3 h4{
	    top: 0%;
	    -ms-transform: translateY(0%);
	    -webkit-transform: translateY(0%);
	    transform: translateY(0%);	
	    text-align: center;
	    margin-bottom: 30px;
	}

	#home-sec5 .col-sm-3:before{
		display: none;
	}

	/* Home News Section */
	.simple-blog-post .item{
		margin-bottom: 20px;
	}

	.simple-blog-post .more-post-link{
		padding-top: 30px;
	}

	/* Footer */
	#footer-top-sec1,
	#footer-top-sec1 .right-sec a{
		text-align: center;
	}

	.footer-newsletter-heading{
		padding-left: 20px;
	}

	.footer-newsletter-form{
		float: none;
	}

	.footer-newsletter-form .gform_body, .footer-newsletter-form .gform_footer{
		display: block;
	}
    
    .footer-top .panel-grid-cell {
        padding-top: 10px;
        padding-bottom: 10px;
	}
    
    /* Home Page */
    .simple-blog-post .thumbnail-con img{
        width:100%
    }

    #footer-top-sec2,
    #footer-top-sec3 {
        text-align:center;

    }

    .btn.footer-contact-btn{
        position:absolute;
        left:0;
        right:0;
        margin:auto;
    }

    .gform_wrapper .footer-newsletter-form ul.gform_fields .ginput_container_email:before{
        left:inherit;
    }
    
    /* Responsive Menu Override */
    #responsive-menu-container {
        width: 55% !important;
        margin-top: 50px !important;
    }
    
    /* Bottom CTA */
    .bottom-cta .right .trans{
        margin: 15px auto;
        width: 90%;
        display: inherit;

    }

    .bottom-cta .left{
        padding:10px 20px;
    }


    .bottom-cta .left p{
        text-align:center;
    }

    /* Our People */
    .full-width-content .team-members-container .team-box{
		margin: 20px;
        display:inline-block;
		margin-left:50px;
	}
    
    /* Services */
    .services-list{
		margin-left:inherit;
	}
    
    
    .menu-services-menu2-container {
    	margin-top:-90px
    }
    
}

@media only screen and (max-width: 539px) {
	/*
	* 320 to 539
	*/
	
	/* General */
	h1, .h1 {
		font-size: 50px;
	}

	h2, .h2 {
		font-size: 34px;
	}

	h3, .h3 {
		font-size: 29px ;
	}

	h4, .h4 {
		font-size: 23px;
	}

	h5, .h5 {
		font-size: 15px;
	}

	h6, .h6 {
		font-size: 12px;
	}

	.wrapper, .wrap, .content-sidebar-wrap {
		width: 450px;
	}
	
	blockquote {
		padding: 10px 25px 10px 25px;
		font-size: 16px;
	}
    
    /* Custom Form */
    .custom-form .gform_footer .gform_button.button {
		width: 100%;
		margin-top: 0;
	}
	
	.custom-form .gform_footer {
		text-align: left;
	}
	
	.custom-form .gfield_captcha_input_container {
		width: 100%;
	}

	/* Contact Page */
	.contact-page .content-sidebar-wrap .right-side {
		width: 100%;
	}
	
	.testimonial-content-page,
	.testimonial-name-bottom,
    .testimonial-company-position{
		padding: 0px 5px;
		text-align: center;
	}

	.testimonial-quote .fa-quote-left{
		display: none !important;
	}
	
	body div.gform_wrapper .ginput_container input.small,
	body div.gform_wrapper .ginput_container input.medium,
	body div.gform_wrapper .ginput_container input.large,
	body div.gform_wrapper .ginput_container select.small,
	body div.gform_wrapper .ginput_container select.medium,
	body div.gform_wrapper .ginput_container select.large,
	body div.gform_wrapper .ginput_container textarea.small,
	body div.gform_wrapper .ginput_container textarea.medium,
	body div.gform_wrapper .ginput_container textarea.large,
	body div.gform_wrapper input.gform_button.button,
	body div.gform_wrapper input[type=submit],
	body div.gform_wrapper .top_label .gfield_error,
	body div.gform_wrapper .ginput_container,
	body div.gform_wrapper div.ginput_complex,
	body div.gform_wrapper div.gf_page_steps,
	body div.gform_wrapper div.gf_page_steps div {
		width: 100% !important;
	}
    
    /*Team Member*/
    .member-social-media .custom-social-icons a {
        margin: 20px 10px 0px 0px;
    }
    
    .page-template-default .team-member .image-container img,
    .full-width-content .team-member .image-container img{
		width:124px;
		height:124px;
	}
	
	/*404 Page*/
	.error404 .content-404 h2 {
		font-size: 85px;
		line-height: 85px;
	}
	
	.error404 .content-404 {
		padding: 30px 0px 20px 0px;
	}
    
    /*Footer Bottom*/
	.footer-bottom .bar{
		display: none;
	}
    
    /* Home */
    #slide-1-layer-7,
    #slide-1-layer-8{
    	font-size:28px !important;
    }
    
	.slider-links{
		margin-left: -13px !important;
	}

	#slide-1-layer-11{
		font-size:12px !important;
	}
    
    .home-slider {
    margin-top: 100px;
    }
       
    .site-header .title-area{
        display: none;
    }
    
    .internal-header{
        padding-top: 50px;
    }
    
    .btn.orange{
        width:100%;	
        margin-top: 15px
    }

    .bottom-cta .left p{
        text-align:center;
    }
    
    .breadcrumb {
        padding: 0px 60px;
    }

    
    /* Our People */
    .full-width-content .team-members-container .team-box{
		margin: 20px;
        display:inline-block;
		margin-left:100px;
	}

	.full-width-content .team-member .title{
		width:128px
	}

	.full-width-content .team-member .image-container{
		background-color:transparent;
	}
    
    /* Services */
    .services-page .entry-content ul {
        margin-left:0px;
        padding-left:0px;
    }
    
    .service-contact p {
        font-size: 20px;
    }
    
    .service-contact {
    padding: 40px;

    }

}



/*
*  Retina
*/
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
	/* Retina-specific stuff here */
	
	/* search-btn@2x.png */
	/* .search-form input[type="submit"] {
		background-image: url("../images/search-btn@2x.png");
		background-size: 16px 16px;
	} */
}