/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
 @media(min-width: 992px) {
	.welcome_video_iframe {
	    padding-top: 0 !important;
	    height: 490px;
	    margin-left: 60px !important;
	}	
}

@media only screen and (max-width: 1440px) {
	#nav li {
		padding: 0 22px;
	}

	.header_info ul {
		margin-left: -77px;
	}

	section.hp-video::before {
		width: 989px;
	}

}
@media only screen and (max-width: 1366px) {
	.map_left_txt li {
		padding-right: 60px;
	}

	.stats-number {
        font-size: 35px;
    }

    .ww-label {
        font-size: 13px;
    }

    .ww-stats-icon {
        height: 130px;
    }
}
@media only screen and (max-width: 1280px) {
	.header_logo_wrap {
		top: 35%;
	}
	.map_right_wrap {
		width: 80%;
	}
}

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










	#nav li {
		padding: 0 15px;
	}
	.header_logo_wrap {
		top: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-flow: column;
		height: 700px;
	}
	.ip-container .header_logo_wrap {
		height: auto;
	}
	.hp_slideshow .cycloneslider-template-video, .hp_slideshow .cycloneslider-template-video .cycloneslider-slides,
	.hp_slideshow .cycloneslider-template-video .cycloneslider-slide,
	.hp_slideshow .cycloneslider-template-video .cycloneslider-slide canvas {
		height: 700px !important;
	}
	.cta_title span {
		font-size: 30px;
	}
	.cta_item a::after {
		bottom: 10px;
	}
	.stats_number {
		font-size: 30px;
	}
	.stats_desc {
		font-size: 13px;
	}
	.testi_number strong {
		font-size: 45px;
	}
	#testimonials_slider {
		padding-top: 60px;
	}
	.map_left_wrap {
		left: 15px;
	}
	.map_left_txt li {
		margin-bottom: 40px;
	}
	.map_left_txt li > a {
		font-size: 15px;
	}
	.blog_top_wrap h2::before {
		width: 58%;
	}
	.blog_title a {
		font-size: 16px;
	}
	#hp_widget9::before {
		background-attachment: scroll;
	}

	.footer_info {
		padding-left: 41px;
	}

	.foot_info {
		margin-right: 16px;
	}

	hheader#header_wrap.template-header .header_info ul {
		margin-left: -72px;
	}

	header#header_wrap.template-header #nav li a {
	    font-size: 14px;
	}

	.stats-number {
        font-size: 30px;
    }

    .ww-label {
        font-size: 12px;
        letter-spacing: 0;
    }

    .ww-stats-icon {
        height: 100px;
    }

	.footer_smi {
		padding-left: 0;
	}

	#footer_wrap .footer_smi a {
		margin-left: 5px;
	}

	section.hp-video::before {
		    width: 754px;
	}






		#nav li a{
	    font-size: 12px;
		}










}






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



	header#header_wrap .nsite-logo img {
	    max-width: 230px !important;
	}

	.navigation .menu-main-navigation-container {
	    width: calc(100% - 77px);
	}

}











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







	.ns-stats > div {
	    width: 100%;
	}

	.ns-br {
	    height: 3px;
	    max-width: 300px;
	    margin: 20px 0;
	}




	.fon-desk{
		display: none;
	}

	.home	.fon-mob{
			display: block;
		}
	#content .ip-team-photos > div {
	    width: calc(100% - 6px);
	    margin: 0 3px;
	}

	section.hp-video::before {
		display: none;
	}

	.footer_smi {
		padding-left: 15px;
	}

	#content .ip-team-photos div span {
		font-size: 18px;
	}
	.header_logo_wrap {
		display: block;
		max-width: 100%;
		top: auto;
		padding: 20px 0;
		margin-top: 52px;
		position: relative;
		height: auto;
		background-color: var(--primary-color);
	}
		.ip-container .header_logo_wrap {
			max-width: 100%;
		}
		.header_logo img {
			width: auto;
			max-height: 120px;
		}
		.head-broker-logo {
			display: block;
			margin: 0 auto;
		}
	.ip-container .header_logo_wrap {
		top: auto;
	}

	.hp_slideshow .cycloneslider-template-video, .hp_slideshow .cycloneslider-template-video .cycloneslider-slides,
	.hp_slideshow .cycloneslider-template-video .cycloneslider-slide,
	.hp_slideshow .cycloneslider-template-video .cycloneslider-slide canvas {
		height: 100% !important;
	}

	.slideshow-logo-mobile {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		text-align: center;
		z-index: 2;
	}

	.slideshow-logo-mobile .broker_logo {
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
	}

	.slideshow-logo-mobile .slide_button {
		margin: 30px auto 0;
	}

	.welcome_video::before, .welcome_team_photo::after, .testimonials_right::before, .testi_number::before,
	.blog_top_wrap h2::before, .rfc_photo::after, .footer_logo::before, .hp_map::before {
		display: none;
	}

	#hp_widget1, #hp_widget3, #hp_widget4, #hp_widget5, #hp_widget7, #hp_widget8, #hp_widget9 {
		padding: 50px 0;
		text-align: center;
	}
	#hp_widget9 {
		padding-bottom: 70px;
	}
	.hp_welcome h1, .hp_testimonials h2, .hp_raving_fans h2 {
		margin-bottom: 50px;
	}
	.welcome_text {
		padding-right: 0;
	}
	.welcome_team_photo {
		margin-top: 50px;
	}

	.cta_item {
		max-width: 360px;
		margin: 0 auto 20px;
	}
	.cta_photo canvas {
		height: 234px;
	}

	.hp_statistics ul {
		margin-top: 30px;
	}
	.hp_statistics ul li {
		width: calc(100% / 3);
		margin: 20px auto;
	}

	.testi_number {
		width: 100%;
		padding: 0;
		margin-bottom: 20px;
	}
	.zillow_review {
		margin-left: 0;
	}
	.testi_zillow_desc {
		padding-right: 0;
	}
	.testimonials_right {
		margin-top: 50px;
	}
	#testimonials_slider::before {
		left: -10px;
	}

	#hp_widget6 {
		text-align: center;
	}
	.map_left_wrap {
		max-width: 100%;
		left: 0;
	}
	.map_left_txt ul {
		width: 50% !important;
	}
	.map_left_txt li {
		padding: 0 15px;
	}

	.blog_top_wrap {
		display: block;
	}
	.blog_top_wrap h2 {
		width: 100%;
	}
	.view_all_blogs {
		margin-top: 20px
	}
	.blog_item {
		margin-bottom: 30px;
	}
	.blog_photo {
		max-width: 360px;
		margin: 0 auto;
	}

	.rfc_text_wrap {
		padding-right: 0;
	}
	.rfc_text_wrap ul {
		max-width: 360px;
		margin: 0 auto;
		text-align: left;
	}
	.rfc_photo {
		max-width: 500px;
		margin: 20px auto 0 !important;
	}

	.hp_contact_form p {
		line-height: 1.2;
	}

	#footer_wrap {
		text-align: center;
	}
	.footer_info {
		padding-top: 0;
		padding-left: 15px;
	}
	.foot_info {
		width: 100%;
    	margin: 25px 0 0;
	}
	.footer_smi {
		text-align: center;
	}

	#content .archive-list > article {
        width: 100%;
    }

    #content .archive-list .article-long .archive-has-thumbnail .archive-subtitle {
        margin: 0.75em 0;
        font-size: 20px;
    }

    #content .archive-list .article-long p {
        font-size: inherit;
    }

    #content .archive-list .article-long .archive-thumbnail,
    #content .archive-list .article-long .archive-has-thumbnail {
        width: 100%;
        margin-left: 0;
    }

    #content .archive-more{
        display: block;
        margin: 0 auto;
    }

	/* 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%;
	}
	.ip-banner canvas {
		min-height: 250px;
	}

	.rfc_text_wrap ul {
		column-count: 1;
	}

	.single-post #content .category-blog .entry img {
		width: 100%;
	}

	.welcome_video_iframe > div {
		position: absolute;
		top: 0;
		left: 0;
		height: 100%!important;
	}
	.single-post #content .embed-responsive {
	    max-width: 100%;
	}

	.welcome_video_iframe {
		float: none;
		width: 100%;
		padding-top: 48.25%;
		margin: 0 auto 30px;
	}

	.header_logo_wrap.template-header-logo{
	    display: block;
	}

	#agents-results .agents-col:nth-child(even) .agents-smi {
		justify-content: center;
	}

	.ww-stats-list {
        width: calc(100% / 3 );
    }

    section.why-work-area {
        padding: 30px 15px;
    }

    .page-template-template-agent-archive-php .agents-position {
        margin-top: 0;
    }
    .single-aios-agents #agents-single .agents-contact li.agents-contact-half {
    	width: auto;
    }

		.slider-form {
		padding: 0 15px;
	}



	.slider-form {
		padding: 0 15px;
	}

	#hero .cycloneslider-canvas {
		min-height: 500px;
	}

	#hero .cycloneslider-template-responsive img , #hero .cycloneslider-template-responsive canvas {
		min-height: 500px;
	}







	.fon-mob .fon {
	    display: flex;
	    position: fixed;
	    width: 100%;
	    top: 0;
        z-index: 99;
	}

	.home #main-wrapper {
	    padding-top: 57px;
	}



	.home .amh-fixed-header-nav {
        top: 68px;
	}




	.sf-title h2 {
	    text-shadow: 0px 1px 5px #000;
	}

	#hero:before {
	    background: rgba(0,0,0,20%);
	    z-index: 1;
	}

	.slider-form {
	    z-index: 2;
	}

	.sf-title span {
	    text-shadow: 0px 1px 5px #000;
	}
	
	.contact_form_wrap .form_submit .wpcf7-spinner {
		position: absolute;
		bottom: -30px;
		right: 0;
		left: 0;
		margin: auto;
	}

}

@media only screen and (max-width: 768px) {
	.agent-holder .attachment-agent-image,
	.agent-holder .agent-contacts {
		width: 100%;
	}

	.hp-video-thumb {
		top: -35px;
	}

	.new-agent-list {
        display: block !important;;
    }

    .new-agent-list .agent-item {
        width: 100% !important;
    }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
	#content .ip-team-photos div span {
		font-size: 13px;
	}
	.hp-video-thumb {
		top: -35px;
	}
	.hp_statistics ul li {
		width: 100%;
	}
	.contact_form_wrap .form_field input, .contact_form_wrap .form_field textarea {
		font-size: 16px;
		padding-left: 15px;
		padding-right: 15px;
	}
    .ip-banner .container{
        width: 100%;
    }
    #content .ip-team-photos > img:nth-child(1) ~ img {
        width: 100%;
    }
    .aios-contact-wrap .aios-contact-main {
    	margin-left: 0;
    	margin-right: 0;
    	padding-left: 15px;
    	padding-right: 15px;
    }

    .ww-title {
        font-size: 30px;
    }

    .ww-stats-list {
        width: calc(100% / 2 );
    }
}













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

	.fon-inner {
	    flex-flow: row wrap;
	}

	.fon-inner span {
	    width: 100%;
	    text-align: center;
	    margin-right: 0;
	    font-size: 16px;
	    margin-bottom: 6px;
	}

	.home .amh-fixed-header-nav {
	    top: 89px;
	}

	.fon-mob .fon {
	    height: 89px;
	    padding: 0 10px;
	}

	.fon-inner a {
	    height: 33px;
	}

}






















/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	#content .ip-team-photos div span {
		font-size: 8px;
	}
	.hp-video-thumb {
		margin-top: 23px;
	}
	.slideshow-logo-mobile .slide_button {
		margin: 15px auto 0;
		max-width: 130px;
	}
	.slideshow-logo-mobile .slide_button a {
		height: 30px;
		font-size: 12px;
		line-height: 30px;
	}
	.team_logo {
		top: 10px;
		left: 10px;
	}
		.team_logo img {
			max-width: 100px;
			height: auto;
		}
	#testimonials_slider {
		padding-left: 15px;
		padding-right: 15px;
	}
	.map_left_txt ul {
		width: 100% !important;
	}
	.contact_form_wrap .form_field {
		margin-bottom: 15px;
	}
	.contact_form_wrap .form_field_short {
		width: 100%;
	}
	.contact_form_wrap .form_margin {
		margin-bottom: 15px;
	}

	.ww-stats-list {
        width: 100%;
    }
}
