/* Listings */
#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}
#content-full {
    margin-top: 0;
}

#ip-custom-listings {
	position: relative;
	padding: 0 0 63px;
}
	.cl-search-wrap {
		padding: 39px 0 61px;
		display: flex;
		flex-flow: row wrap;
	}
		.cl-search-title {
			width: 100%;
			text-align: center;
			padding-left: 8%;
			padding-top: 69px;
			position: relative;
		}
			.cl-search-title:before {
				content: '';
				position: absolute;
				top: -39px;
				left: 0;
				right: -48px;
				/*height: 489px;*/
				bottom: -61px;
				background: url(../../images/listings/bg-title.jpg) center/cover no-repeat;
				z-index: -1;
			}
			.cl-search-title > div {
				/*max-width: 407px;
				margin: 0 auto;*/
				/* max-width: 507px; */
			    margin-right: auto;
				text-align: left;
			}
				.cl-search-title .global-site-title {
				    line-height: 1;
				    text-align: right;
				}
				    .cl-search-title .global-site-title em {
				        font-style: normal!important;
				    }
				    .cl-search-title .global-site-title em::before {
				        left: auto;
				        right: calc(100% + 20px);
				    }

				        .cl-search-title .global-site-title em::after {
				            left: auto;
				            right: calc(100% + 20px);
				            width: 120px;
				        }

				#content .cl-search-title p {
					display: block;
					font-size: 13px;
					line-height: 28px;
					letter-spacing: 0.024em;
					color: #5d5d5d;
					text-align: left;
					margin: 46px 0 0;
				}

		.cl-search-wrap .qs-holder {
			margin: 0;
			width: 54%;
			padding: 60px 4.4% 32px;
		}
			#content .cl-search-wrap .qs-holder h2 {
			    font-weight: 700;
			    font-size: 48px;
			    letter-spacing: 0.05em;
			    line-height: 1;
			    color: #fff;
			    text-transform: uppercase;
			    font-family: var(--font-family-title);
			    position: relative;
			    z-index: 1;
			    margin: 0 0 27px;
			}
			.cl-search-wrap .qs-form {
				max-width: 100%;
			}
				#content .cl-search-wrap .qs-form form {
					line-height: 1;
					margin: 0;
				}
					.cl-search-wrap .qs-form .long-form {
					    /* width: calc(33.33% - 5px); */
					    /* margin-bottom: 8px; */
					}
					.cl-search-wrap .qs-form .short-form {
					    /* width: calc(33.33% - 5px); */
					}
					.cl-search-btns {
					    /* text-align: right; */
					    /* margin-top: 19px; */
					}
					    .cl-search-btns .btn-form.qs-field.qsbtn1 {
					        width: 254px;
					        max-width: 45%;
					        margin-left: 13px;
					    }

	.cl-results {
		display: flex;
		flex-flow: row wrap;
		align-items: flex-start;
		/* margin: 0 58px; */
		margin: 0 3.625%;
		line-height: 1;
	}
		.cl-results .fp-list {
			padding: 0 2px 4px;
		}
			.fp-list a:hover .fp-specs {
			    margin-top: 45px;
			}
			.fp-btn {
				width: min(13.938vw, 223px);
				height: min(4vw, 64px);
				border: 1px solid #c1c1c1;
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: min(1.188vw, 19px);
				letter-spacing: 0.1em;
				line-height: 1;
				color: #fff;
				text-transform: uppercase;
			    position: absolute;
			    bottom: -20px;
			    right: 15px;
			    font-family: var(--font-family-title);
			    font-weight: 600;
			    transition: opacity .3s ease;
			    opacity: 0;
			}
				.fp-btn:before {
					content: '';
					width: min(2vw, 32px);
					height: min(1.125vw, 18px);
					background: url(../../images/btn-icon.png) center/contain no-repeat;
					-webkit-filter: brightness(0) invert(1);
					filter: brightness(0) invert(1);
    				margin-right: 9px;
				}

			.fp-list a:hover .fp-btn {
				opacity: 1;
			}

	/* #content ul.cl-pagination {
	    display: flex;
	    margin: 0;
	    flex-flow: row wrap;
	    align-items: center;
	    justify-content: center;
	    padding: 0 15px;
	    list-style: none;
	    margin: 0;
	}
	    .cl-pagination li {
	        padding: 0 2px;
	        position: relative;
	    }
	        .cl-pagination li a {
	            font-family: var(--font-family-default);
	            font-size: 14px;
	            line-height: 1;
	            color: #690f21;
	            font-weight: 400;
	            width: 50px;
	            height: 32px;
	            display: flex;
	            align-items: center;
	            justify-content: center;
	            text-align: center;
	        }
	            .cl-pagination li.active a {
	                border: 1px solid #c1c1c1;
	                background: #fff;
	            } */
	                /* .cl-pagination li.active:before {
	                    content: '';
	                    position: absolute;
	                    right: 0;
	                    bottom: -3px;
	                    width: calc(100% - 4px);
	                    height: calc(100% - 4px);
	                    background: #d1d1d1;
	                    z-index: -1;
	                } */
/* #content ul.cl-pagination {
    display: flex;
    margin: 0;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    list-style: none;
    margin: 91px 0 0;
}
    .cl-pagination li {
        padding: 0 2px;
        position: relative;
    }
        .cl-pagination li a {
            font-family: var(--font-family-default);
			font-size: 14px;
			line-height: 1;
			color: #690f21;
			font-weight: 400;
			width: 32px;
			height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
			border: 1px solid #cecece;
        }
			.cl-pagination li:hover a,
            .cl-pagination li.active a {
                border-color: #690f21;
                background: #690f21;
				color: #ffffff;
            } */
				/* .cl-pagination li:hover:before,
                .cl-pagination li.active:before {
                    content: '';
                    position: absolute;
                    right: 0;
                    bottom: -3px;
                    width: calc(100% - 4px);
                    height: calc(100% - 4px);
                    background: #d1d1d1;
                    z-index: -1;
                } */
	/* .cl-pagination li.disabled a {
		width: 80px;
	}
	.cl-pagination li.next, .cl-pagination li.prev {
	    display: inline-flex;
	    align-items: center;
	}
		.cl-pagination li.next a,
		.cl-pagination li.prev a {
		    width: auto;
		    letter-spacing: 0.05em;
		    text-transform: uppercase;
		}

			.cl-pagination li.next a i,
			.cl-pagination li.prev a i {
			    font-style: normal!important;
			    color: #690f21;
			}

			.cl-pagination li.next a i {
			    margin-left: 20px;
			}
			.cl-pagination li.prev a i {
			    margin-right: 20px;
			}
		.cl-pagination li.next:before,
		.cl-pagination li.prev:after {
		    content: '';
		    width: 31px;
		    height: 3px;
		    background: #690f21;
		}
		.cl-pagination li.next:before {
		    margin-right: 20px;
		}
		.cl-pagination li.prev:after {
		    margin-left: 20px;
		}

		.cl-pagination li .page-numbers.current:before{
			content: '';
		    position: absolute;
		    right: 0;
		    bottom: -3px;
		   /* width: calc(100% - 4px);
		    height: calc(100% - 4px);*/
		    /* background: #d1d1d1; */
		    /* z-index: -1; */
		/* } */
		/* .cl-pagination li .page-numbers.current {
		    border: 1px solid #c1c1c1;
		    background: #fff;
		    padding: 20px;
		}

		.cl-pagination li a.next:before, .cl-pagination li a.prev:after{
			    content: '';
			    width: 31px;
			    height: 3px;
			    background: #690f21;
		}
		.cl-pagination li a.next:before{
			margin-right: 20px;
		}
		

		a.next.page-numbers{
			width: auto;
		    letter-spacing: 0.05em;
		    text-transform: uppercase;
		}
		.next.page-numbers i.ai-font-arrow-g-n{
			margin-left: 20px;
		    font-style: normal!important;
		    color: #690f21; 
		} */


#cl-popup {
	background: #fff url(../../images/listings/bg-popup.jpg) center/cover no-repeat;
	width: 756px;
	max-width: 100%;
	/*min-height: 661px;*/
	margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 84px 15px 83px;
}
	.cl-popup-title {
	    text-align: center;
	}

	    .cl-popup-title  .global-site-title {
	        line-height: 1;
	        text-align: right;
	    }
	        .cl-popup-title .global-site-title span {
	            padding-right: 87px;
	        }
	        .cl-popup-title  .global-site-title em {
	            font-style: normal!important;
	        }
	        .cl-popup-title  .global-site-title em::before {
	            left: auto;
	            right: calc(100% + 20px);
	        }
	    
	            .cl-popup-title  .global-site-title em::after {
	                left: auto;
	                right: calc(100% + 20px);
	                width: 91px;
	            }
	.cl-popup-btn {
	    margin: 30px 0 16px;
	}
		.cl-popup-btn a {
		    display: flex;
		    width: 203px;
		    height: 50px;
		    align-items: center;
		    justify-content: center;
		    text-align: center;
		    background: #690f21;
		    font-weight: 500;
		    font-size: 16px;
		    letter-spacing: 0.1em;
		    color: #fff!important;
		    margin: 0 auto;
		}
			.cl-popup-btn a i.ai-font-phone {
			    margin-right: 10px;
			}

	#cl-popup p {
	    font-weight: 300;
	    font-size: 13px;
	    line-height: 28px;
	    letter-spacing: 0.024em;
	    color: #5d5d5d;
	    text-align: center;
	    margin: 0 0 22px;
	}
	#cl-popup form {
	    max-width: 528px;
	    margin: 0 auto;
	    position: relative;
	}

	    #cl-popup form label {
	        display: block;
	    }
	   	#cl-popup form label:first-of-type {
	   		margin-bottom: 42px;
	   	}
	        #cl-popup form label span.cl-popup-text {
	            display: block;
	            font-weight: 300;
	            font-size: 14px;
	            line-height: 1;
	            color: #5d5d5d;
	            text-transform: uppercase;
	            padding: 0 8px;
	        }
	        
	        #cl-popup form label input {
	            width: 100%;
	            height: 30px;
	            background: transparent;
	            border: none;
	            font-weight: 300;
	            font-size: 14px;
	            line-height: 1;
	            color: #5d5d5d;
	            border-bottom: 1px solid #5d5d5d;
	            padding: 0 8px;
	        }
	#cl-popup .global-site-btn {
	    width: 177px;
	    margin: 54px auto 0;
	}

		#cl-popup .global-site-btn > div {
		    display: flex;
		    align-items: center;
		    justify-content: center;
		    max-width: 340px;
		    height: 64px;
		    position: relative;
		    text-align: center;
		    padding: 0 15px;
		    border: solid 1px #c1c1c1;
		    -webkit-transition: all 0.3s ease-in-out;
		    -moz-transition: all 0.3s ease-in-out;
		    -o-transition: all 0.3s ease-in-out;
		    transition: all 0.3s ease-in-out;
		    margin: 0 auto;
		    box-shadow: 2px 3px 0px 0px rgba(0, 0, 0, 0.18);
		}

		    #cl-popup .global-site-btn > div  span {
		        display: flex;
		        align-items: center;
		        position: relative;
		        z-index: 5;
		        font-size: 19px;
		        color: #1b1b1b;
		        font-weight: 600;
		        letter-spacing: 1.9px;
		        text-transform: uppercase;
		        font-family: var(--font-family-title);
		        -webkit-transition: all 0.3s ease-in-out;
		        -moz-transition: all 0.3s ease-in-out;
		        -o-transition: all 0.3s ease-in-out;
		        transition: all 0.3s ease-in-out;
		    }

		        #cl-popup .global-site-btn > div  span img{
		            -webkit-transition: all 0.3s ease-in-out;
		            -moz-transition: all 0.3s ease-in-out;
		            -o-transition: all 0.3s ease-in-out;
		            transition: all 0.3s ease-in-out;
		            margin-right: 16px;
		        }

		            #cl-popup .global-site-btn > div:hover{
		                background: #690f21;
		                border: solid 1px #690f21;
		            }

		                #cl-popup .global-site-btn > div:hover span{
		                    color: #fff;
		                }

		                    #cl-popup .global-site-btn > div:hover span img{
		                        filter: invert(1) brightness(10);
		                    }

		#cl-popup .global-site-btn > div input {
		    position: absolute;
		    top: 0;
		    left: 0;
		    width: 100%;
		    height: 100%;
		    opacity: 0;
		    z-index: 6;
		}

		#cl-popup .global-site-btn > div .wpcf7-spinner {
		    position: absolute;
		    bottom: -30px;
		    left: 0;
		    right: 0;
		    margin: auto;
		}
	.use-floating-validation-tip .wpcf7-not-valid-tip {
	    position: absolute;
	    width: auto;
	}
	#cl-popup .wpcf7 form .wpcf7-response-output {
	    position: absolute;
	    top: 100%;
	    left: 0;
	    right: 0;
	    margin: 15px 0 0;
	    text-align: center;
	}
	.aiosp-close-btn-in #cl-popup .aiosp-close {
	    font-size: 0;
	    opacity: 1;
	    top: 16px;
	    right: 27px;
	}

	.aiosp-close-btn-in .aiosp-close:before,
	.aiosp-close-btn-in .aiosp-close:after {
	    content: '';
	    position: absolute;
	    width: 3px;
	    height: 30px;
	    background: #690f21;
	    margin: auto;
	    top: 0;
	    left: 0;
	    right: 0;
	    bottom: 0;
	}

	.aiosp-close-btn-in .aiosp-close:before {
	    transform: rotate(45deg);
	}
	.aiosp-close-btn-in .aiosp-close:after {
	    transform: rotate(-45deg);
	}


/* IHF QS */

.qs-form .qs-select .btn-default {
    display: inline-block;
    vertical-align: top;
    margin-right: 0;
    margin-bottom: 0;
    background: #fff;
    padding: 17px 0 3px;
    position: relative;
    border-radius: 0;
    color: #000000;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    font-family: var(--font-family-poppins);
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 31px;
    padding: 0 20px;
    border: none;
    line-height: 1;
    letter-spacing: .3px;
    justify-content: center;
}

.qs-form .qs-select  span.filter-option.pull-left {
    color: #5d5d5d;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
}

.qs-form .qs-select .btn-default:active,
.qs-form .qs-select .btn-default:focus,
.qs-form .qs-select .btn-default:hover {
    background-color: #ffffff !important;
    background-image: unset;
    border-color: unset;
    box-shadow: unset;
    outline: unset !important;
}

.qs-form .qs-select .btn-group.open .dropdown-toggle,
.open>.dropdown-toggle.btn-default {
    box-shadow: unset !important;
    background-color: #ffffff !important;
}

.qs-form .bootstrap-select.btn-group .dropdown-menu.inner {
        max-height: 300px !important;
        min-width: 100% !important;
}

@media only screen and (max-width: 1440px) {
	#content .cl-search-wrap .qs-holder h2 {
	    font-size: 40px;
	}
}
@media only screen and (max-width: 1199px) {
	#content .cl-search-wrap .qs-holder h2 {
	    font-size: 32px;
	}
}
@media only screen and (max-width: 991px) {
		
	.cl-popup-title .global-site-title {
	    text-align: center;
	}
		.cl-popup-title .global-site-title span {
		    padding-right: 0;
		}
	.cl-search-title {
	    width: 100%;
	    padding: 0 15px;
	}
	.cl-search-wrap .qs-holder {
	    width: 100%;
	    max-width: 500px;
	    padding: 30px 5%;
	    margin: 30px auto 0;
	}
		#content .cl-search-wrap .qs-holder h2 {
		    text-align: center;
		    font-size: 30px;
		}
		.cl-search-wrap .qs-form .short-form {
		    width: 100%;
		    margin-bottom: 8px;
		}
		.cl-search-btns {
		    margin: 0;
		}
			.cl-search-btns .btn-form.qs-field.qsbtn1 {
			    width: 300px;
			    max-width: 100%;
			    margin: 13px auto 0;
			}

	/* .cl-pagination li a {
	    width: 30px;
	    height: 30px;
	    font-size: 13px;
	}
	.cl-pagination li.next:before,
	.cl-pagination li.prev:after {
	    width: 20px;
	}
	.cl-pagination li.next a i {
	    margin-left: 10px;
	}
	.cl-pagination li.prev a i {
	    margin-right: 10px;
	} */
	.fp-list a:hover .fp-specs {
	    margin-top: 16px;
	}
	.fp-btn {
	    position: relative;
	    bottom: 0;
	    right: 0;
	    margin: 15px auto 0;
	    width: 140px;
	    height: 40px;
	    font-size: 12px;
	}
	    .fp-btn:before {
	        width: 19px;
	        height: 11px;
	        margin-right: 5px;
	    }
}