/* Testimonials */
.ip-banner,
#breadcrumbs {
	display: none;
}
.ip-testi-s1-img #breadcrumbs {
	display: block;
	position: relative;
bottom: -20px;
}
#inner-page-wrapper {
	padding-top: 107px;
}
	#inner-page-wrapper > .container {
		width: 100%;
		padding: 0
	}

#content-full {
	z-index: 2;
	position: relative;
	background: #fff;
	margin-top: 0;
}

.ip-testi-img {
	position: relative;
}
	.ip-testi-img canvas {
		display: block;
		width: 100%;
	}
	.ip-testi-img img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.ip-testi-img:before {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1;
	}

.ip-testi .ip-global-title {
	padding: 0;
}
	.ip-testi .ip-global-title h2 {
		padding: 0;
	}
	.ip-testi .ip-global-title p {
		padding: 0;
	}

.ip-testi-margin {
	margin: 0 3.8%;
}

.ip-testi {
	position: relative;
	padding: 177px 0 112px;
}
	.ip-testi-section-1 {
		position: relative;
		margin-bottom: 122px;
	}
		.ip-testi-s1-inner {
			position: relative;
		}
			.ip-testi-s1-text {
				position: absolute;
				/*top: 55px;*/
				top: 7.8%;
				left: 0;
				z-index: 2;
				width: 40%;
			}
				.ip-testi-s1-inner .ip-global-title {
					padding: 0;
				}
					.ip-testi-s1-inner .ip-global-title h2 {
						position: relative;
					    padding: 0 0 30px;
					    margin: 0 0 53px;
					}
					.ip-testi-s1-inner .ip-global-title h2:before {
						content: '';
						width: 412px;
					    max-width: 100%;
					    height: 3px;
					    left: 0;
					    right: 0;
					    bottom: 0;
					    position: absolute;
					    background: rgb(32,61,69);
					    background: -moz-linear-gradient(90deg, rgba(32,61,69,1) 0%, rgba(190,143,51,1) 100%);
					    background: -webkit-linear-gradient(90deg, rgba(32,61,69,1) 0%, rgba(190,143,51,1) 100%);
					    background: linear-gradient(90deg, rgba(32,61,69,1) 0%, rgba(190,143,51,1) 100%);
					    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#203d45",endColorstr="#be8f33",GradientType=1);
					}
					.ip-testi-s1-inner .ip-global-title p {
						margin-bottom: 24px;
						max-width: 282px;
					}

			.ip-testi-s1-img {
/*				width: 1156px;*/
				width: 84.532%;
				margin-left: auto;
			}
				.ip-testi-s1-img.ip-testi-img:before {
					content: '';
					width: 379px;
					right: initial;
					background: url(../../images/testimonials/overlay-testimonial-photo.png) center left / 100% 100% no-repeat;
					z-index: 1;
				}


.ip-testi-section-2 {
	position: relative;
}
	.ip-testi-s2-inner {

	}
		.ip-testi-list {

		}
			.ip-testi-item {
				display: flex;	
				flex-flow: row wrap;
				align-items: center;
				justify-content: space-between;
				margin-bottom: 142px;
			}
			.ip-testi-item:nth-child(odd) {
				flex-direction: row-reverse;
			}
			.ip-testi-item:last-child {
				margin-bottom: 109px;
			}
				.ip-testi-item-head {
					/*width: 475px;*/
					width: 34.7345%;
					position: relative;
					text-align: center;
					display: flex;
					flex-flow: row wrap;
					align-items: center;
					justify-content: center;
					min-height: 275px;
					padding: 42px 15px;
				}
					.ip-testi-item-head h2 {
						font-size: 50px;
						letter-spacing: 0.1em;
						line-height: 1.2;
						font-family: var(--font-title);
						font-weight: 400;
						width: 100%;
					}

					.ip-testi-item-head:before,
					.ip-testi-item-head:after {
						content: '';
						position: absolute;
						left: 0;
						right: 0;
						height: 3px;
						background: rgb(32,61,69);
					    background: -moz-linear-gradient(90deg, rgba(32,61,69,1) 0%, rgba(190,143,51,1) 100%);
					    background: -webkit-linear-gradient(90deg, rgba(32,61,69,1) 0%, rgba(190,143,51,1) 100%);
					    background: linear-gradient(90deg, rgba(32,61,69,1) 0%, rgba(190,143,51,1) 100%);
					    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#203d45",endColorstr="#be8f33",GradientType=1);
					}
					.ip-testi-item-head:before {
						top: 0;
					}
					.ip-testi-item-head:after {
						bottom: 0;
					}

				.ip-testi-item-text {
					width: 61%;
				}
					.ip-testi-item-text p {
					    font-size: 14px;
					    letter-spacing: 0.05em;
					    line-height: 1.7143;
					    font-weight: 100;
					}
					.ip-testi-item-text span {
					    display: block;
					    text-transform: uppercase;
					    margin-top: 47px;
					}
			
	.ip-testi-list-pagination {
		padding: 0;
	}
		.ip-testi-list-pagination li {
			border-right: 1px solid #d6d6d6;
			padding: 0 5px;
		}
		.ip-testi-list-pagination li:last-child {
			border-right: 0;
		}
			.ip-testi-list-pagination li a {
			    font-size: 14px;
			    letter-spacing: 0.05em;
			    font-weight: 100;
			    line-height: 1;
			    color: #000;
			    display: flex;
			    align-items: center;
			    justify-content: center;
			    min-width: 34px;
			    height: 34px;
			    text-transform: uppercase;
			    padding: 0 10px;
			    transition: all var(--default-transition);
			}

			.ip-testi-list-pagination li a:hover,
			.ip-testi-list-pagination li.current a {
				color: #fff;
				background: #000;
			}



.ip-testi-section-3 {
	position: relative;
}
	.ip-testi-section-3:before {
		content: '';
		display: block;
		width: 1px;
		height: 182px;
		margin: 90px auto 59px;
		background: rgb(32,61,69);
		background: -moz-linear-gradient(0deg, rgba(32,61,69,1) 0%, rgba(250,240,234,1) 100%);
		background: -webkit-linear-gradient(0deg, rgba(32,61,69,1) 0%, rgba(250,240,234,1) 100%);
		background: linear-gradient(0deg, rgba(32,61,69,1) 0%, rgba(250,240,234,1) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#203d45",endColorstr="#faf0ea",GradientType=1);
	}
	.ip-testi-s3-text {
		max-width: 750px;
		margin: 0 auto;
		text-align: center;
	}
		.ip-testi-s3-text h2 {
			font-size: 40px;
			letter-spacing: 0.1em;
			line-height: 1.5;
			font-family: var(--font-title);
			font-weight: 400;
			margin-bottom: 54px;
		}
		.ip-testi-s3-text a.btn-a {

		}

/*popup form*/
.aiosp-wrap .aiosp-container .aios-popup-body {
    width: 569px;
    max-width: 100%;
    padding: 46px 71px 65px;
}

.aiosp-wrap .aiosp-container .aios-popup-body button.aiosp-close {
    font-size: 0;
    width: auto;
    height: auto;
    padding: 0;
    line-height: 1;
    opacity: 1;
    color: #fff;
    top: 0;
    right: -40px;
}
    .aiosp-wrap .aiosp-container .aios-popup-body button.aiosp-close:before {
        content: "\b0241";
        position: relative;
        font-family: agentimage!important;
        speak: none;
        font-style: normal;
        font-weight: 700;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-size: 20px;
    }

#review-form-popup {}

#review-form-popup h2 {
    text-align: center;
    font-size: 24px;
    font-family: var(--font-title);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    position: relative;
	padding: 0 0 30px;
	margin-bottom: 60px;
}

#review-form-popup h2:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    max-width: 273px;
    background: rgb(32,61,69);
    background: -moz-linear-gradient(90deg, rgba(32,61,69,1) 0%, rgba(190,143,51,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(32,61,69,1) 0%, rgba(190,143,51,1) 100%);
    background: linear-gradient(90deg, rgba(32,61,69,1) 0%, rgba(190,143,51,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#203d45",endColorstr="#be8f33",GradientType=1);
    margin: auto;
}

.review-form {
    font-size: 0;
}
    .review-form form  {
        margin: 0 -8px;
        position: relative;
    }
        .review-form-field.field-6 {
            width: 50%;
            margin-bottom: 30px;
        }
        .review-form-field.field-12 {
            width: 100%;
            margin-bottom: 30px;
        }
        .review-form-field {
            display: inline-block;
            vertical-align: top;
            padding: 0 8px;
        }
            .review-form-field em {
                display: block;
                font-weight: 100;
                font-size: 14px;
                letter-spacing: 0.05em;
                line-height: 1;
                color: #000;
                font-style: normal!important;
            }
            .review-form-field input,
            .review-form-field select,
            .review-form-field textarea {
                width: 100%;
                height: 36px;
                background: transparent;
                border: none;
                border-bottom: 1px solid #000;
                font-weight: 100;
                font-size: 14px;
                letter-spacing: 0.05em;
                line-height: 1.7143;
                color: #000;
            }
            .review-form-field textarea {
                height: 85px;
                resize: none;
            }

        .review-form-popup-contact-btn {
            text-align: center;
            position: relative;
            margin: 2px 8px 0;
        }

        .review-form-popup-contact-btn .btn-a {
            position: relative;
            min-width: 135px;
        }

        .review-form-popup-contact-btn .btn-a input {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
        }

        .review-form-popup-contact-btn .btn-a .wpcf7-spinner {
            position: absolute;
            bottom: -40px;
            right: 0;
            margin: auto;
        }

        .review-form-popup-contact-btn .btn-a:not(:hover):before {
            width: 68px;
        }

    .use-floating-validation-tip .wpcf7-not-valid-tip {
        position: absolute;
        width: auto;
        font-size: 12px;
    }

    .review-form .wpcf7 form .wpcf7-response-output {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 20px 8px 0;
        font-size: 12px;
        color: #000;
        text-align: center;
    }


span.page-numbers.current {
    background: #000;
}

span.page-numbers.current {

    ont-size: 14px;
    letter-spacing: 0.05em;
    font-weight: 100;
    line-height: 1;
     color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    text-transform: uppercase;
    padding: 0 10px;
    transition: all var(--default-transition);
    
}


@media only screen and (min-width: 992px) {
	/*header*/
	header.header {
	    background: #000;
	    padding: 20px 0;
	}
	    .header-logo {
	        bottom: 0;
	        width: 164px;
	    }
	        .header-logo a img {
	            -webkit-filter: brightness(0) invert(1);
	            filter: brightness(0) invert(1);
	        }

	    a.bm-contact-open,
	    .bm-menu-open span {
	        color: #fff;
	        border-color: #fff;
	    }
	    .bm-menu-icon:before,
	    .bm-menu-icon:after {
	        background: #fff;
	    }
}	
@media only screen and (max-width: 1280px) {
	.ip-testi-margin {
	    margin: 0;
	}

}
@media only screen and (max-width: 1199px) {
	.ip-testi-s1-text {
		top: 2.8%;
	}
}

@media only screen and (max-width: 991px) {
	.aiosp-wrap .aiosp-container .aios-popup-body button.aiosp-close {
		color: #000;
		right: 10px;
		top: 10px;
	}
	.aiosp-wrap .aiosp-container .aios-popup-body {
	    padding: 46px 7% 65px;
	}

	.ip-testi {
	    padding: 130px 0 80px;
	}

	.ip-testi-s1-text {
	    top: 0;
	    width: 100%;
	    position: relative;
	    text-align: center;
	}
		.ip-testi-s1-inner .ip-global-title h2:before {
		    margin: 0 auto;
		}

		.ip-testi-s1-inner .ip-global-title p {
		    margin-left: auto;
		    margin-right: auto;
		    max-width: 460px;
		}
	.ip-testi-s1-img {
	    margin-right: auto;
	    width: 100%;
	}

	.ip-testi-s1-img:before {
	    opacity: 0;
	}

	.ip-testi-item {
	    margin-bottom: 80px;
	}
		.ip-testi-item-head {
		    width: 100%;
		    min-height: auto;
		    max-width: 500px;
		    margin: 0 auto 30px;
		}
			.ip-testi-item-head h2 {
			    font-size: 40px;
			}
		.ip-testi-item-text {
		    width: 100%;
		    text-align: center;
		    max-width: 500px;
		    margin: 0 auto;
		}

	.ip-testi-s3-text h2 {
	    font-size: 30px;
	}
	
}
@media only screen and (max-width: 767px) {

}
@media only screen and (max-width: 480px) {
	.ip-testi-list-pagination li a {
	    min-width: 25px;
	    height: 25px;
	}
	.ip-testi-item-head h2 {
	    font-size: 30px;
	}
	.ip-testi-s3-text h2 {
	    font-size: 25px;
	}

	.review-form-field.field-6 {
		width: 100%;
	}
}