.page-template-neighborhoods-details .ip-banner canvas {
    min-height: 530px;
}

.page-template-neighborhoods-details .ip-banner::before {
    background: rgba(0,0,0,.1);
}

.page-template-neighborhoods-details div#main-wrapper::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 100%);
}

.page-template-neighborhoods-details #inner-page-wrapper .container {
    width: 100%;
    padding: 0;
}

.custom-container {
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 15px;
}

.nd-section1 {
    position: relative;
    padding: 65px 0 0;
    z-index: 1;
}

.nd-s1-col1 {
    margin-left: -80px;
    margin-right: -2px;
}

.nd-s1-photo {
    max-width: 540px;
    margin: 0 auto;
    box-shadow: -6px 8px 22px 0px rgba(0, 0, 0, 0.22);
}

.nd-s1-col2 {
    padding: 0 0 68px 61px;
    margin-right: -80px;
    margin-left: -28px;
    margin-top: 43px;
    background: #fff;
    box-shadow: 0px 35px 30px 0px rgba(0, 0, 0, 0.11);
}

.nd-s1-details .global-title {
    font-size: 72px;
    margin: 0 0 28px;
}

.nd-s1-text p {
    display: block;
    max-width: 637px;
    padding-right: 15px;
    font-size: 13px;
    font-weight: 400;
    line-height: 2.2;
    letter-spacing: .85px;
}

.nd-section2 {
    position: relative;
    padding: 0;
    top: -142px;
    background: #fff;
}

.nd-s2-map img {
    width: 100%;
}

.nd-action-btn {
    padding: 30px 50px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nd-action1 a {
    display: inline-block;
    font-size: 20px;
    color: #053e69;
    margin-right: 14px;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.nd-action1 a:hover {
	opacity: .7;
}

.nd-action-select {
    display: flex;
}

.nd-action2 select {
    border: none;
    font-size: 14px;
    font-weight: 400;
    color: #053e69;
    text-transform: uppercase;
    letter-spacing: 3.2px;
    cursor: pointer;
    background: transparent;
}

.nd-action:first-child {
    margin-right: 47px;
}

.nd-action:first-child select {
    width: 185px;
}

.nd-action:last-child select {
    width: 77px;
}

.nd-s2-listings {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.nd-s2-list {
    width: 50%;
}

.nd-s2-list a {
    position: relative;
    display: block;
}

.nd-s2-content {
    position: absolute;
    bottom: 47px;
    left: 0;
    width: 100%;
    padding: 0 40px;
    z-index: 1;
    color: #fff;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.nd-s2-list a:hover .nd-s2-content,
.nd-s2-list a:hover .nd-list-photo.global-photo::after {
	opacity: 0;
}

.nd-list-photo.global-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
    pointer-events: none;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.nd-s2-list a:hover .nd-list-photo.global-photo img {
	opacity: .2;
}

.nd-s2-price {
    font-size: 60px;
    font-weight: 400;
    font-family: var(--font-family-title);
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 1);
    color: #fff;
}

.nd-s2-address {
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 1);
    letter-spacing: 4px;
    color: #fff;
}

.nd-s2-hover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	opacity: 0;
	text-align: center;
    color: #010101;
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.nd-s2-list a:hover .nd-s2-hover {
	opacity: 1;
}

.nd-s2-hover .nd-s2-price, .nd-s2-hover .nd-s2-address {
    text-shadow: none;
    color: #010101;
}

.nd-s2-specs span {
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0 17px;
    letter-spacing: 2.2px;
}

.nd-s2-specs {
    margin: 35px 0 45px;
}

.nd-s2-view {
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    color: #053e69;
    letter-spacing: 4px;
}

.nd-s2-pagination {
    position: relative;
    /* max-width: 500px; */
    margin: 65px auto 0;
}

.nd-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.arrow {
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #053e69;
    cursor: pointer;
    pointer-events: auto;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;

}

.arrow a{
    padding-left: 3px;
    padding-right: 3px;
}

.nd-prev:hover , .nd-next:hover {
	color: #a4a4a4!important;
}

.arrow.nd-prev {
    color: #a4a4a4;
    margin-right: 30px;
}

.arrow.nd-next{
    margin-left: 30px;
}

.arrow.nd-prev:hover {
	color: #053e69;
}

.nd-s2-page {
    /* max-width: 240px; */
    margin: 0 auto;
    text-align: center;
}

.nd-s2-page li {
    display: inline-block;
}

.nd-s2-page li a {
    font-size: 13px;
    font-weight: 400;
    color: #053e69;
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 39px; */
    width: fit-content;
    min-width: 39px;
    
    height: 39px;
    border: 2px solid transparent;
    background: transparent;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.nd-s2-page li a:not(.nd-next, .nd-prev):hover {
	border: 2px solid #053e69;
}

.nd-s2-page li a.nd-active {
	border: 2px solid #053e69;
    pointer-events: none;
}

li.nd-dot {
    margin: 0 10px;
}

.page-template-neighborhoods-details .get-in-touch-area {
    padding: 0 0 60px;
}

.page-template-neighborhoods-details .gt-bg::after {
    top: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 30%,rgba(255,255,255,0) 100%);
}


/* Sort */


.nd-action2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    /* margin-top: 50px; */
    position: relative;
}

 .nd-action2 > div {
    margin-left: 15px;
}

 .nd-action2 .sort-view {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin-left: 0;
}

 .nd-action2 .sort-view + div {
    margin-left: auto;
}

 .nd-action2 .sort-view i {
    display: block;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

 .nd-action2 .sort-view i + i {
    margin-left: 10px;
}

 .nd-action2 .sort-view i.active,
 .nd-action2 .sort-view i:hover {
    color: var(--aios-ihf-template-results-page-primary-color);
}

 .nd-action2 .sort-dropdown {
    position: relative;
    display: block;
}

 .nd-action2 .sort-dropdown button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    background: transparent;
    display: block;
    position: relative;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.34px;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

 .nd-action2 .sort-dropdown button:hover {
    color: var(--aios-ihf-template-results-page-primary-color);
}

 .nd-action2 .sort-dropdown button:after {
    content: '';
    display: inline-block;
    margin-left: 10px;
    position: relative;
    top: 0;
    width: 0;
    height: 0;
    vertical-align: middle;
    border: 4px solid transparent;
    border-top-color: #424242;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

 .nd-action2 .sort-dropdown button:hover:after {
    border-top-color: var(--aios-ihf-template-results-page-primary-color);
}

 .nd-action2 .listings-filter-tab {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
}

 .nd-action2 .listings-filter-tab:nth-child(1) {
    margin-left: auto;
}

 .nd-action2 .listings-filter-tab a {
    min-width: 145px;
    max-width: 100%;
    margin: 0.35%;
    text-transform: uppercase;
    border: 0;
    background: #424242;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0);
    color: #fff;
    border-radius: 0;
    padding: 10px 20px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

 .nd-action2 .listings-filter-tab a:hover,
 .nd-action2 .listings-filter-tab a.active {
    background: var(--aios-ihf-template-results-page-primary-color);
}

 .nd-action2 .sort-dropdown > div {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 325px;
    padding: 20px;
    margin: 10px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

 .nd-action2 .sort-dropdown > div.pull-right {
    right: 0;
    left: auto;
}

 .nd-action2 .sort-dropdown.open > div {
    display: block;
}

 .nd-action2 .sort-dropdown > div.padding-sm {
    padding: 10px 0;
}

 .nd-action2 .sort-dropdown > div.dropdown-menu-sm {
    min-width: 275px;
}

 .nd-action2 .sort-dropdown > div .row {
    margin-left: -10px;
    margin-right: -10px;
}

 .nd-action2 .sort-dropdown > div [class*=col-] {
    padding: 5px 10px;
}

 .nd-action2 .sort-dropdown > div form {
    display: block;
    margin: 0;
}

 .nd-action2 .sort-dropdown > div span {
    display: block;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.34px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

 .nd-action2 .sort-dropdown > div ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: inherit;
}

 .nd-action2 .sort-dropdown > div ::-moz-placeholder {
    /* Firefox 19+ */
    color: inherit;
}

 .nd-action2 .sort-dropdown > div :-ms-input-placeholder {
    /* IE 10+ */
    color: inherit;
}

 .nd-action2 .sort-dropdown > div :-moz-placeholder {
    /* Firefox 18- */
    color: inherit;
}

 .nd-action2 .sort-dropdown > div input[type=text],
 .nd-action2 .sort-dropdown > div select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 40px;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-align: left;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    position: relative;
}

 .nd-action2 .sort-dropdown > div input[type=submit] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    background: #000;
    display: block;
    width: 100%;
    height: 40px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.34px;
    color: #fff;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

 .nd-action2 .sort-dropdown > div input[type=submit]:hover {
    background: var(--aios-ihf-template-results-page-primary-color);
    color: #fff;
}

 .nd-action2 ul.ihf-sort-values,
 .nd-action2 ul.ihf-sort-values li {
    margin: 0;
    position: relative;
    display: block;
}

 .nd-action2 ul.ihf-sort-values li a {
    display: block;
    padding: 5px 15px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.34px;
    text-transform: uppercase;
    color: #333;
}

 .nd-action2 ul.ihf-sort-values li.active a,
 .nd-action2 ul.ihf-sort-values li a:hover {
    background: var(--aios-ihf-template-results-page-primary-color);
    color: #fff;
}

 .nd-action2 .sort-view {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}


.sort-dropdown ul li {
    padding: 5px 10px!important;
}

.sort-dropdown .active {
    background-color: var(--primary);
    color: #fff;
}
  
.nd-action-select button{
    color: #053e69!important;
}

/* end sort */

.single-aios-communities .gt-bg::after {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   min-height: 100px;
   background: linear-gradient(to bottom, rgba(255,255,255,1) 70%,rgba(255,255,255,0) 100%);
}

.single-aios-communities .gt-bg {
    top: -142px;
}

.single-aios-communities .get-in-touch-area {
   padding: 0;
   margin-top: -100px;
}


.single-aios-communities .nd-section2 {
    display: none;
}
/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1366px) {
	.nd-s1-col1 {
	    margin-left: -15px;
	}

	.nd-s1-col2 {
	    padding: 0 0 48px 41px;
	    margin-right: -15px;
	    margin-top: 20px;
	}
} 
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	.nd-s1-col1 {
	    margin-left: 0;
	}

	.nd-s1-col2 {
	    padding: 0 0 28px 21px;
	    margin-right: 0;
	    margin-top: 15px;
	}

	.nd-s1-details .global-title {
	    font-size: 52px;
	    margin: 0 0 15px;
	}

	.nd-s1-text p {
	    line-height: 1.7;
	}

	.nd-s2-price {
	    font-size: 50px;
	}

	.nd-s2-address {
	    font-size: 17px;
	    letter-spacing: 2px;
	}
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	.nd-section1 {
	    padding: 50px 0 0;
	}

	.nd-s1-col1 {
	    margin-right: 0;
	}

	.nd-s1-col2 {
	    padding: 15px;
	    margin-right: 0;
	    margin-left: 0;
	    margin-top: 15px;
	    text-align: center;
	}

	.nd-section2 {
	    top: 0;
	}

	.nd-s2-list {
	    width: 100%;
	}

	.nd-arrow {
	    justify-content: center;
	    position: relative;
	}

	.arrow {
	    margin: 0 10px 30px;
	}

	.gt-bg {
	    top: 0;
	}

	.page-template-neighborhoods-details .gt-bg::after {
	    top: 0;
	}

    .nd-action-btn {
        padding: 30px 15px;
        align-items: flex-end;
    }

    .nd-action2 {
        text-align: right;
    }   


    .single-aios-communities .get-in-touch-area {
        margin-top: 0;
    }

} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	.nd-s1-details .global-title {
	    font-size: 45px;
	}

	/* .nd-action-select {
	    display: block;
	}

	.nd-action2:first-child {
   		margin-right: 0;
	    margin-bottom: 20px;
	} */

	.page-template-neighborhoods-details .ip-banner canvas {
	    min-height: 430px;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.page-template-neighborhoods-details .ip-banner canvas {
	    min-height: 330px;
	}

	.nd-s1-details .global-title {
	    font-size: 30px;
	}

	.nd-s2-price {
	    font-size: 40px;
	}

	.nd-s2-address {
	    font-size: 14px;
	    letter-spacing: 1px;
	}

	.nd-s2-content {
	    bottom: 15px;
	    padding: 0 15px;
	}

	.nd-s2-specs {
	    margin: 15px 0;
	}
}
 
@media(max-width:320px) {
	.nd-action-select {
	    display: block;
	}

	.nd-action2:first-child {
   		margin-right: 0;
	    margin-bottom: 20px;
	}    
}