/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (min-width: 992px) {
	.abt-img {
		padding-left: 90px;
		margin-top: 180px;
	}
}

@media only screen and (min-width: 1441px) {
	.custom-container {
		width: 1430px;
		padding: 0 15px;
		margin: 0 auto;
	}
}

@media only screen and (max-width: 1440px) {
	.cta-details h3 {
		font-size: 28px;
	}
}

@media only screen and (max-width: 1280px) {
	.map-list li {
	    width: 48%;
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {

	#nav {
	    padding: 0;
	}
		#nav > li {
		    margin-right: 25px;
		}
		#nav > li:last-child {
		    margin-right: 0;
		}
			#nav > li > a {
			    font-size: 13px;
			}
	.header.active .header-register-login {
	    margin-right: 15px;
	}
	.header-logo {
	    margin-left: 0;
	}
	.header-right {
	    padding: 22px 0;
	}
		.header-search {
		    margin-left: 15px;
		}
		.header-register-login span,
		.country-select-name {
		    font-size: 13px;
		}

	.active #nav {
	    padding-left: 10px;
	    padding-right: 10px;
	}
		.active #nav > li {
		    margin-right: 25px;
		}
			.active #nav > li > a {
			    font-size: 11px;
			}
	.country-select-name {
	    margin: 0 5px;
	}

	.header-register-login a i.icon-bell {
	    margin-right: 5px;
	}

	.active .header-search {
	    margin-left: 5px;
	}
		.active .search-btn {
		    width: 32px;
		    height: 32px;
		}
	.header.active .header-logo {
	    width: 90px;
	}
	.active .header-register-login span, .active .country-select-name {
	    font-size: 11px;
	}

	.header.active .header-register-login {
	    margin-right: 5px;
	}
	.country-dropdown.active {
	    max-height: 76vh;
	    overflow: auto;
	}
		.country-dropdown.active::-webkit-scrollbar {
			width: 0;
		}

	.slideshow-discover h2,
	.section-title,
	#content .entry-title,
	#content .archive-title {
	    font-size: 40px;
	}
	.section-title {
		padding-left: 15px;
		padding-right: 15px;
	}
	.property-item-details .amenities span {
	    padding: 7px 10px 8px;
	}
	.abt-title strong {
	    font-size: 50px;
	}
	.cta-details h3 {
	    font-size: 20px;
	    margin-bottom: 15px;
	}
		.cta-details h3:after {
		    margin-top: 15px;
		}
	.cta-details p {
	    margin-bottom: 15px;
	}
	.map-title strong {
	    font-size: 80px;
	}
	.map-list {
	    max-height: min(27vw, 380px);
	}
		.map-list li a {
		    padding-left: 35px;
		}
	.footer-links {
	    padding-left: 25px;
	}
		.footer-nav li a,
		.footer-contact-info li {
		    font-size: 12px;
		    line-height: 25px;
		}
		.footer-contact-info {
		    width: 231px;
		}
	.ipmw-press-text {
		height: 85px;
	}
	.ipmw-press-title {
		font-size: 18px;
	}
	.ipmw-press-desc {
		font-size: 12px;
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */

@media only screen and (max-width: 991px) {

	.col-md-6.contc .aios-cu-left{
		padding-left: 0;
	}


	.col-md-6.contc {
	    margin-top: 40px;
	}

	.col-md-6.contc .aios-cu-left {
	    text-align: center;
	}

	.aios-cu-inner .aios-cu-left .aios-cu-form {
    width: 100% !important;
    max-width: 500px !important;
}


/******ihf****/


#content #listings-results .listings-table .listings-table-body .listings-item > div {
    display: flex;
    align-items: center;
}


#content #listings-results .listings-table .listings-table-body .listings-table-label {
    background: transparent;
    height: auto;
    border: 0;
    padding: 0;
    display: inline-block;
    width: auto;
    margin-right: 20px;
}

#listings-results .listings-table .listings-table-body .listings-price span{

    display: block !important;
    color: #000;
}


#listings-results .listings-table .listings-table-body .listings-item > div p span {
    display: block !important;
}


#content #listings-results .listings-table .listings-table-body .listings-item span.for-sm{
	display: none !important;
}

#content #listings-results .listings-table .listings-table-body .listings-item span.for-lg{
	display: block !important;
}
/******ihf****/







	*[class*="col-md"] { width: 100%; }
    .col-sm-1 { width: 8.33333333%; }
    .col-sm-2 { width: 16.66666666%; }
    .col-sm-3 { width: 25%; }
    .col-sm-4 { width: 33.33333333%; }
    .col-sm-5 { width: 41.66666666%; }
    .col-sm-6 { width: 50%; }
    .col-sm-7 { width: 58.33333333%; }
    .col-sm-8 { width: 66.66666667%; }
    .col-sm-9 { width: 75%; }
    .col-sm-10 { width: 83.33333333%; }
    .col-sm-11 { width: 91.66666667%; }
    .col-sm-12 { width: 100%; }

	/* 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%;
	}

	header.header {
		position: fixed;
	}
		header.header .container {
		    width: 100%;
		}
			.header-navigation,
			.header-register-login {
				display: none;
			}
			.header-right {
			    padding: 14px 0;
			}
			.active .search-btn {
			    width: 42px;
			    height: 42px;
			}

	.discover-btn-text-wrap p {
		display: none;
	}
	a.discover-btn:hover .discover-btn-text-wrap h3,
	a.discover-btn:hover .discover-btn-text-wrap p {
		transform: translateY(0);
	}
	i.discover-btn-icon {
	    left: calc(100% - 50px);
	}

	.header-country {
	    position: absolute;
	    top: 100%;
	    right: 0;
	    white-space: nowrap;
	    width: 200px;
	    padding: 15px 0;
	    display: none;
	}
		.amh-header-buttons {
		    display: none;
		}
	#hp-slideshow canvas {
	    min-height: 330px;
	}
	.slideshow-discover {
	    max-width: 400px;
	}
	.discover-btn-text-wrap {
	    padding-right: 60px;
	    height: 60px;
	}
	    .discover-btn-text-wrap h3 {
	        font-size: 20px;
	        padding-right: 0;
	    }

	#hp-about {
	    padding: 60px 0;
	}
	    .abt-text {
	        width: 100%;
	    }

	        .abt-title {
	            text-align: center;
	            padding: 0;
	        }
	        	.abt-title strong:before {
	        		display: none;
	        	}
	        .abt-text-box {
	            margin: 0 0 30px;
	            padding: 5% 8.9% 5%;
	        }
		    .abt-btn-list a.btn-a {
			    margin-bottom: 15px;
			}
	    .abt-img {
	        width: 100%;
	        max-width: 400px;
	        margin: 0 auto;
	    }

	#hp-map {
	    padding: 60px 0;
	}
	    .map-area {
	        display: none;
	    }
	    .map-area-list {
	        width: 100%;
	        max-width: 520px;
	        margin: 0 auto;
	        display: block;
	        padding: 0 15px;
	    }
	        .map-title {
	            margin: 0 0 40px;
	            text-align: center;
	        }
	            .map-title strong {
	                font-size: 60px;
	            }
	            .map-title span {
	                font-size: 30px;
	            }
	    .map-list {
	        max-height: initial;
	        font-size: 0;
	        flex-flow: row wrap;
	    }
	        .map-list li {
	            width: 50%;
	        }
	        .map-list li:nth-child(6) a:after,
	        .map-list li:nth-child(12) a:after {
	            display: block;
	        }

	        .map-list li a {
	            font-size: 16px;
	            padding: 15px 0 15px 40px;
	        }
	            .map-list li a:before {
	                top: 10px;
	            }
	.comm-list {
	    max-height: initial;
	    flex-flow: row wrap!important;
	}
	    .comm-item {
	        width: 50%;
	    }
	        .comm-item-img canvas{
	            height: auto!important;
	        }
	        .comm-item-name {
	            font-size: 30px;
	        }
	.cta-item {
	    width: 50%;
	}
	#hp-fv {
	    padding: 60px 0;
	}
		.video-list {
		    padding: 40px 0 0;
		    display: flex;
		    flex-flow: row wrap;
		    justify-content: space-between;
		}
		    .video-big {
		        width: 100%;
		        margin: 0 0 20px;
		    }
		    .video-small {
		        position: relative;
		        width: calc(50% - 10px);
		    }
		.video-btn-list a.btn-a {
			margin-bottom: 15px;
		}
	#hp-pp {
	    padding: 80px 0;
	}
	    .stats-item {
	        width: 100%;
	        margin: 0 0 30px;
	    }
	    .stats-item:last-child {
	        margin-bottom: 0;
	    }
	    .stats-item:after {
	        margin-top: 25px;
	    }

	footer.footer .custom-container.container {
	    width: 100%;
	}
		.footer-inner {
		    padding: 50px 5% 0;
		}
		    .footer-logo {
		        width: 100%;
		        text-align: center;
		        margin: 0 0 30px;
		    }
		        .footer-logo a {
		            display: inline-block;
		        }
		    .footer-center {
		        width: 100%;
		        text-align: center;
		        margin: 0 0 20px;
		    }

		.footer-links {
		    padding: 0;
		    max-height: initial;
		}

		    .footer-nav li a,
		    .footer-contact-info li {
		        font-size: 16px;
		        line-height: 30px;
		    }
		.footer-right {
		    width: 100%;
		}
		    .footer-other-links {
		        max-height: initial;
		        text-align: center;
		        width: 100%;
		        display: block;
		    }
		    .footer-contact-info {
		        margin: 20px 0 0;
		        text-align: center;
		        display: block;
		    }
		        .footer-contact-info li {
		            display: block;
		        }
		.footer-copyright {
		    width: 100%;
		    display: block;
		    text-align: center;
		    padding: 30px 0;
		    margin: 30px 0 0;
		}
		.footer-icons {
		    justify-content: center;
		    margin: 10px 0 0;
		}

	#pojo-a11y-toolbar {
         display:none;
    }
    .footer-contact-info {
	    width: 100%;
	}
	.ipmw-press-list {
		display: block;
	}
	.ipmw-press-col {
	width: 100%;
	max-width: 500px;
	margin: 0 auto 40px;
}

#listings-results .listings-table .listings-table-body .listings-table-label {
    color: black !important;
}
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
	*[class*="col-sm"] { width: 100%; }
    .col-xs-1 { width: 8.33333333%; }
    .col-xs-2 { width: 16.66666666%; }
    .col-xs-3 { width: 25%; }
    .col-xs-4 { width: 33.33333333%; }
    .col-xs-5 { width: 41.66666666%; }
    .col-xs-6 { width: 50%; }
    .col-xs-7 { width: 58.33333333%; }
    .col-xs-8 { width: 66.66666667%; }
    .col-xs-9 { width: 75%; }
    .col-xs-10 { width: 83.33333333%; }
    .col-xs-11 { width: 91.66666667%; }
    .col-xs-12 { width: 100%; }

    .ip-banner .container{
        width: 100%;
    }
    .map-list li {
        width: 100%;
    }
    .comm-item {
        width: 100%;
    }
    .cta-item {
	    width: 100%;
	}
	
	.aiosp-wrap .aiosp-container.aiosp-ref-\#hp-popup .aios-popup-body {
		margin: 0 20px;
	}
	.popup-bg {
		max-width: 100%;
	}
	.popup-container {
		flex-flow: row wrap;
	}
	.aios-popup-body .aiosp-close {
		color: #fff;
	}
	.popup-content {
		border-top-right-radius: 0;
  		border-bottom-left-radius: 30px;
	}
	.img-wrapper {
		border-bottom-left-radius: 0;
 		 border-top-right-radius: 30px;
	}
	
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	.discover-btn-text-wrap h3 {
	    font-size: 16px;
	}
}
