/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	#main-header {

	}
		.default-header {

		}
			.dh-cont li {
				padding: 0 5px;
			}
				.dh-cont li a {
					font-size: 15px;
				}
			.navi > li > a {
			    padding: 0 8px;
			}
		.fixed-header {
			padding: 12px 0;
		}
			.fh-navi .navi > li {
			    margin: 0 15px;
			}

	#upperfold-wrap {

	}
		.slide-holder .cycloneslider-canvas {
			height: 420px;
		}
		.slide-holder .cycloneslider-template-responsive .cycloneslider-prev {
            left: calc( (100vw - 940px) / 2 - 15px );
        }
        .slide-holder .cycloneslider-template-responsive .cycloneslider-next {
            right: calc( (100vw - 940px) / 2 - 15px );
        }
        .qs-form i {
        	margin-right: 1.40%;
        }

    #featured-expertise-wrap {

    }
    	.fp-address {
    		margin-bottom: 1px;
    	}

    #welcome-testimonial-wrap {

    }
    	.welcome-col {
    		padding-bottom: 35px;
    	}
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {

	#main-wrapper {
		padding-top: 52px;
	}

	#main-header {
		position: relative;
	}
		.default-header {
			height: auto;
		}
			.dh-center-inner {
				box-shadow: none;
			}
			.dh-logo {

			}
			.dh-logo a {
				max-width: 100%;
			}
	#upperfold-wrap {

	}
		.slide-holder .cycloneslider-canvas {
			height: auto;
		}
		.slide-holder .cycloneslider-template-responsive .cycloneslider-prev {
            left: calc( (100vw - 720px) / 2 );
        }
        .slide-holder .cycloneslider-template-responsive .cycloneslider-next {
            right: calc( (100vw - 720px) / 2 );
        }
        .quicksearch-holder {
        	position: relative;
        	bottom: inherit;
        }
        	.qs-form {
        		max-width: 360px;
        		margin: auto;
        	}
	        	.qs-form i {
	        		width: 100%;
	        		margin: 0 0 25px;
	        		text-align: center;
	        	}
	        	.qs-form .field-input {
	        		margin-right: 0;
	        		margin-bottom: 8px;
	        	}
	        	.qs-form .field-lg {
	        		width: 100%;
	        	}
	        	.qs-form .field-sm {
	        		width: calc( 50% - 4px );
	        		margin-right: 8px;
	        	}
	        	.qs-form .field-nomar {
	        		margin-right: 0;
	        	}
	        	.qs-form input[type="submit"] {
	        		width: calc( 50% - 4px );
	        		margin: 0 8px 0 0;
	        	}
	        	.qs-form a.adv-btn {
	        		width: calc( 50% - 4px );
	        		margin: 0;
	        	}

				.qs-form p{
					text-align: center;
				}
	#featured-expertise-wrap {

	}
		.expertise-col {
			margin: 50px 0;
		}

	#welcome-testimonial-wrap {
		text-align: center;
	}
		.welcome-col {
			border-right: 0;
		}
		.testimonial-col-inner {
			padding-left: 0;
		}
		.ts-arrows {
			position: relative;
			bottom: inherit;
			margin-top: 20px;
		}

	#post-brokerage-wrap {
		text-align: center;
	}
		.post-item {
			display: block;
			width: 100%;
			max-width: 360px;
			margin: 50px auto;
			text-align: left;
		}
		.post-txt {
			width: calc( 100% - 118px );
		}
		.brokerage-col {
			padding-top: 0;
		}

	#contact-wrap {
		text-align: center;
	}
		.contact-logo {
			margin: auto;
		}
		.agent-col {
			margin: 50px 0;
		}

	#main-footer {

	}
		.footer-left,
		.footer-right {
			text-align: center;
		}
		.footer-right {
			padding-top: 15px;
		}
		.footer-nav {
			margin-left: 0;
		}
	
	/* The following are used on inner pages. Please edit carefully. */

	.inner {
	    width: 100%;
	}
	#content-sidebar, #content-full {
	    width: 100%;
	}	
	.outer{
		width: 100%;
		min-width: 100%;
	}
	#content-sidebar #content{
		width: 100%;
	}
	
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	#upperfold-wrap {

	}
		.slide-holder .cycloneslider-template-responsive .cycloneslider-prev {
            left: 15px;
        }
        .slide-holder .cycloneslider-template-responsive .cycloneslider-next {
            right: 15px;
        }
        .slide-holder .cycloneslider-template-responsive .cycloneslider-caption-title {
        	font-size: 40px;
        }

    .ip-banner .container{
        width: 100%;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	#upperfold-wrap {

	}
		.slide-holder .cycloneslider-template-responsive .cycloneslider-caption {
			display: none;
		}

		.hp-popup-container {
			padding: 40px;
			padding-bottom: 25px;
			max-width: 90%;
		}
		.popup-title span {
			font: 300 28px/1 var(--secondary-font);
		}
		.post-page-home-inspection h1.entry-title{
			line-height: 1;
		}
}
 
