/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
 @media only screen and (max-width: 1440px) {
	.header-wrap{
		margin: 0;
	}

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

	#nav > li {
		margin-left: 59px;
	}

	/* Fixed Header */
	.fixed-inner {
		max-width: 1255px;
	}
	/* End Header */

	/* Properties */
	.fp-inner {
		max-width: 1198px;
	}
	/* End Properties */

	/* Featured Videos */
	.fv-left {
		margin-left: -73px;
	}

	.fv-right-img {
		margin-right: -15px;
	}

	.fv-right-img::before {
		width: 206px;
		right: -72px;
	}
	
	/* End Videos */
} 

@media only screen and (max-width: 1366px) {
	
	.global-container {
		padding: 0 15px;
	}

	/* Welcome */
	.welcome-img {
		position: relative;
		margin-left: 32px;
	}

	.welcome-img::before {
		width: 192px;
		left: -7.5%;
	}
	/* End Welcome */

	/* Agents */
	.agent-name span,
	.agent-name em {
		font-size: 29px;
		letter-spacing: 0.020em;
	}
	.agent-email a{
		letter-spacing: 0.020em;
	}
	/* End Agent */

	/* Properties */
	.fp-inner {
		max-width: 1090px;
	}

	.fp-hover {
		width: 600px;
		height: 401px;
	}

	.fp-hover-details {
		left: 10px;
	}

	.fp-hover-inner {
		padding-right: 22px;
	}

	.fp-address span {
		font-size: 12px;
	}

	.fp-price {
		font-size: 33px;
	}
	/* End Properties */

	/* Featured Videos */
	.fv-left {
		margin-left: 0;
	}

	.fv-right-img {
		margin-right: 23px;
	}

	.fv-right-img::before {
		right: -37px;
	}

	.fv-hover {
		width: 340px;
		height: 244px;
		top: -31px;
	}

	.fv-right-img::before {
		right: -27px;
	}
	/* End Videos */
    
    
	.slide-logo img {
		width: 100%;
	}
} 
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	#nav > li {
		margin-left: 20px;
	}

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

	#nav > li::after {
		content: '';
		position: absolute;
		width: 1px;
		height: 15px;
		background: #4d4d4d;
		top: -2px;
		right: -8px;
	}
	/* Header */
	ul#nav {
		max-width: 897px;
	}

	.fixed-logo img {
		max-width: 222px;
	}
	

	#nav2 > li {
		margin-left: 23px;
	}
	/* ENd Header */

	/* Slideshow */
	.slide-logo img {
		width: 320px;
	}
	.slide-broker img {
		width: 150px;
	}
	/* Slideshow */

	/* Welcome */
	.global-title span,
	.global-title em {
		font-size: 37px;
	}

	.welcome-img::before {
		height: 489px;
	}

	.welcome-right {
		padding: 34px 0 0 58px;
	}

	.welcome-descrip p {
		font-size: 13px;
		line-height: 22px;
	}
	/* End Welcome */

	/* Agent */
	.agent-name span, .agent-name em {
		font-size: 22px;
	}
	/* End Agent */

	/* Properties */
	.fp-inner {
		max-width: 880px;
	}

	.fp-hover {
		width: 490px;
		height: 354px;
	}

	.fp-price {
		font-size: 20px;
	}

	.fp-button {
		width: 146px;
	}
	
	/* End Properties */

	/* Videos */
	.fv-right-img::before {
		height: 512px;
	}
	/* End Videos */

	.sidebar .qs-form .qs-lg .dropdown-menu {
	    left: auto;
	    right: 0;
	}
	.agent-phone em {
	    font-size: 20px;
	    letter-spacing: 0.05em;
	}
	.agent-email a {
	    letter-spacing: 0.000em;
	    font-size: 11px;
	}
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	#content-sidebar #content {
		width: 100%;
		float: none;
	}

	.header-info {
		display: none;
	}

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

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

	.header-wrap{
		justify-content: center;
	}

	.ip-container header.header {
		padding: 30px 0;
	}
	.global-container {
		padding: 0;
	}

	/* Header */
	header.header {
		position: relative;
		margin: 52px 0 0;
		padding: 30px 0;
		background: #000;
	}

	.header-inner {
		padding: 0;
		background: transparent;
	}

	ul#nav {
		display: none;
	}

	.header-logo {
		display: block;
	}

	.header-logo img {
		display: block;
		margin: 0 auto;
	}
	/* End Header */

	/* Slideshow */
	.hp-slideshow {
		padding: 0;
	}
	/* End Slideshow */
	.qs-lg {
		max-width: 100%;
		margin-right: 0;
	}

	.qs-md {
		max-width: 50%;
		margin-right: 0;
	}

	.qs-button,
	.qs-advanced {
		width: 100%;
	}

	.qs-button {
		margin: 15px 0 0;
	}

	.qs-advanced a {
		justify-content: center;
	}

	.qs-advanced a::after{
		display: none;
	}

	.qs-md.pad-right{
		padding-right: 5px;
	}

	.qs-md.pad-left{
		padding-left: 5px;
	}
	/* Quick Search */

	/* Welcome */
	.hp-welcome > .container .textwidget > .row {
		flex-direction: column;
		align-items: center;
	}

	.welcome-img {
		margin: 0 auto;
	}

	.welcome-img::before{
		display: none;
	}

	.welcome-right {
		padding: 34px 0 0 0;
		text-align: center;
	}

	.welcome-descrip p {
		font-size: 17px;
		line-height: 26px;
	}

	.global-button a {
		margin: 0 auto;
	}
	/* End Welcome */

	/* Meet Team */
	.hp-meet-team {
		padding: 75px 15px 0;
	}
	
	/* End Meet Team */

	/* Properties */
	.featured-properties {
		padding: 38px 20px 114px;
	}

	.fp-inner {
		max-width: 100%;
	}

	.fp-top {
		justify-content: center;
		flex-direction: column;
	}

	.global-title {
		text-align: center;
		padding: 0 0 20px;
	}

	.fp-list {
		max-width: 645px;
		margin: 0 auto;
	}

	.fp-hover {
		width: calc(100% + 15px);
		height: calc(100% + 15px);
		top: 0;
	}

	.fp-hover-details {
		left: 0;
		justify-content: center;
	}
	
	/* End Properties */

	/* Communities */
	.map-wrap{
		display: none;
	}

	.map-mobile {
		display: block;
		text-align: center;
	}

	.map-buttons {
		position: relative;
		bottom: 0;
		flex-direction: column;
	}

	.map-buttons a {
		margin: 0 0 8px;;
	}

	.map-county a {
		display: block;
	}

	.map-county a span {
		display: inline-block;
	}
	/* End Communities */

	/* Videos */
	.featured-videos {
		padding: 0;
	}

	.fv-list {
		margin: 0 auto;
		padding: 0;
		max-width: 356px;
	}

	.fv-wrapper{
		padding: 0;
		margin: 0;
	}
	
	.fv-slick-holder .slick-current.slick-active > div:first-child .fv-list .fv-hover,
	.fv-slick-holder .slick-current.slick-active > div:last-child .fv-list .fv-hover,
	.fv-hover {
		width: calc(100% + 15px);
		height: calc(100% + 15px);
		top: 0;
	}

	.fv-arrow-button {
		justify-content: center;
		width: 100%;
		flex-direction: column;
	}

	.fv-arrow-button .global-button {
		width: 170px;
		margin: 30px 0;
	}

	.fv-right-img {
		max-width: 551px;
		margin: 0 auto;
	}

	.fv-right-img::before{
		display: none;
	}
	/* End Videos */

	/* Form */
	.git-md {
		width: 100%;
	}

	.git-md.pad-right,
	.git-md.pad-left{
		padding: 0;
	}
	/* End Form */

	/* Footer */
	footer.footer {
		margin: 0;
	}
	
	.footernav {
		flex-direction: column;
		max-width: 100%;
	}

	.footernav li {
		margin: 0 0 6px;
	}

	.copyright {
		line-height: 17px;
	}
	/* End Footer */
	
	/* 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%;
	}

	.slide-info {
	    padding: 15px 0 0;
	}

	.slide-inner {
	    top: 0;
	}

	.slide-broker {
	    padding-top: 20px;
	}
	
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	/* Header */
	.slide-logo img {
		max-width: 200px;
	}
	/* End Header */

	/* Properties */
	.fp-hover-details {
		flex-direction: column;
	}
	/* End Properties */

	/* Form */
	.git-form {
		margin: 0 10px;
	}
	/* End Form */
    .ip-banner .container{
        width: 100%;
	}
	
	.map-county a span::after {
		left: 6px;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.aiosp-content .listings-popup input[type=email],
	.aiosp-content .listings-popup input[type=tel],
	.aiosp-content .listings-popup input[type=text], 
	.aiosp-content .listings-popup select,
	.aiosp-content .listings-popup textarea,
	.aiosp-content .listings-popup .form-control {
		font-size: 11px !important;
	}

	.hp-qs .qs-form .qs-lg button.btn.dropdown-toggle.bs-placeholder.btn-default {
	    padding: 0px 2px;
	}

	.header-logo img {
		max-width: 230px;
	}
	
	.global-title span, .global-title em {
		font-size: 28px;
	}

	.global-title em {
		padding: 0 0 0 7px;
	}

	.slide-inner {
		display: none;
	}

	.hp-qs {
		padding: 21px 0 0;
	}

	.fp-details {
		flex-direction: column;
	}

	.fp-address {
		margin-right: 0;
	}

	.fp-address::after{
		display: none;
	}

	.fp-hover-inner {
		padding-right: 0;
		flex-direction: column;
		padding-bottom: 12px;
	}

	.featured-properties {
		padding: 38px 20px 58px;
	}

	.featured-communities {
		padding: 27px 0 0;
	}

	.fv-slick-holder {
		margin: 0;
	}

	.fv-hover-button {
		left: 12px;
	}
	
	.git-form div.wpcf7-response-output {
		font-size: 13px;
	}

	.map-county a span {
		font-size: 15px;
		padding: 0 30px;
	}

	.map-title span, .map-title em {
		font-size: 29px;
	}
}
 
