.cancel_popup {
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    width: calc(100% - 20px);
    max-width: 617px;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 2;
    background-color: #fff;
    padding: 50px 50px 55px;
    box-shadow: 0px 24px 44px rgb(6 30 79 / 10%);
    border-radius: 20px;
    @media (max-width: 767px) {
		padding: 40px 20px 40px;
	}
	&.active {
		display: block;
	}
    .close-popup-inner {
		text-align: center;
		p {
			font-size: 20px;
			line-height: 170%;
			color: #0b2766;
			@media (max-width: 767px) {
				font-size: 16px;
			}
		}
		.close-btn-outer {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			padding: 35px 0 0;
			@media (max-width: 767px) {
				padding: 20px 0 0;
			}
			.btn_block {
				margin: 3px 6px;
				&.grey-btn {
					background: #f0f0f9;
					&:before {
						background: #e0e0ec;
					}
				}
			}
		}
	}
}
.Thankyou-wrapper {
    background-image: url("/images/bg-img-popup.jpg");
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    min-height: 100%;
    &:before {
        content: "";
        background-image: linear-gradient(180deg, rgba(32, 79, 185, 0.95) 0%, rgba(11, 39, 102, 0.95) 54.55%, rgba(6, 21, 54, 0.95) 91.56%);
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        z-index: 0;
    }
    .thanku-valuation {
        position: relative;
        .container {
            max-width: 1020px;
            margin: 0 auto;
            padding: 0 50px;
            @media (max-width: 991px) {
                padding: 0 15px;
            }
        }
        .estimation-header {
            position: relative;
            max-width: 1450px;
            padding: 20px 50px 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 0 auto;
            @media (max-width: 991px) {
                padding: 20px 15px 0;
            }
            img {
                max-width: 102px;
                @media (max-width: 991px) {
                    max-width: 80px;
                }
            }
            .close-popup {
                color: #fff;
                display: flex;
                align-items: center;
                cursor: pointer;
                @media (max-width: 479px) {
                    font-size: 14px;
                }
                img {
                    margin: 0 0 0 6px;
                    position: relative;
                    top: 2px;
                }
            }
        }
        .more-info-frame {
            display: none;
            z-index: 1;
            position: relative;
            color: #fff;
            &.active {
                display: block;
            }
            .video-grid {
                // overflow: hidden;
                position: relative;
                margin: 45px auto 75px;
                .video-block {
                    width: 100%;
                    position: relative;
                    .op-img {
                        display: flex;
                        &:before {
                            position: absolute;
                            content: "";
                            height: 100%;
                            width: 100%;
                            background-color: #ffed4073;
                            top: 0;
                            left: 0;
                            border-radius: 20px;
                        }
                        video {
                            width: 100%;
                            border-radius: 20px;
                        }
                    }
                    .video-text {
                        position: absolute;
                        top: 0;
                        text-align: center;
                        font-size: 38px;
                        font-weight: 600;
                        padding: 60px 135px;
                        @media (min-width: 992px) and (max-width: 1199px) {
                            font-size: 30px;
                        }
                        @media (min-width: 768px) and (max-width: 991px) {
                            font-size: 24px;
                            padding: 40px 80px;
                        }
                        @media (min-width: 576px) and (max-width: 767px) {
                            font-size: 22px;
                            padding: 35px 80px;
                        }
                        @media (min-width: 480px) and (max-width: 575px) {
                            font-size: 20px;
                            padding: 20px 40px;
                        }
                        @media (max-width: 479px) {
                            font-size: 16px;
                            padding: 10px 5px;
                        }
                    }
                    .video_about_btn {
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        width: 45px;
                        height: 45px;
                        border: 2px solid #fff;
                        border-radius: 10rem;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        transform: translate(-50%, -50%);
                        cursor: pointer;
                        overflow: hidden;
                        transition-property: color;
                        transition-duration: 0.3s;
                        z-index: 1;
                        &:before {
                            content: "";
                            position: absolute;
                            z-index: -1;
                            top: 0;
                            left: 0;
                            right: 0;
                            bottom: 0;
                            background: #0b2766;
                            border-radius: 100%;
                            transform: scale(0);
                            transition-property: transform;
                            transition-duration: 0.3s;
                            transition-timing-function: ease-out;
                        }
                        &:hover {
                            &:before {
                                transform: scale(2);
                            }
                        }
                        img {
                            position: relative;
                            left: 2px;
                            border-radius: 0;
                            width: 14px;
                        }
                    }
                    .popup_video {
                        position: initial;
                        transform: none;
                        .video_box {
                            border-radius: 20px;
                            overflow: hidden;
                            position:absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            padding-bottom: 56.25%;
                            &.z-index {
                                z-index: 2;
                            }
                            iframe#video{
                                height: 100%;
                                width: 100%;
                                position: absolute;
                            }
                            
                            
                        }
                        
                    }
                    
                }
                @media (min-width: 992px) and (max-width: 1199px) {
                    max-width: 800px;
                }
                @media (min-width: 768px) and (max-width: 991px) {
                    max-width: 580px;
                }
                @media (max-width: 479px) {
                    margin: 30px 0 30px;
                }
                .btn-span {
                    max-width: 127px;
                    display: inline-block;
                    position: absolute;
                    right: -147px;
                    bottom: 50px;
                    cursor: pointer;
                    @media (min-width: 1200px) and (max-width: 1366px) {
                        right: -120px;
                    }
                    @media (min-width: 768px) and (max-width: 1199px) {
                        right: -80px;
                    }
                    @media (max-width: 767px) {
                        display: none;
                    }
                    p {
                        font-size: 20px;
                        line-height: 170%;
                        @media (min-width: 768px) and (max-width: 1199px) {
                            font-size: 15px;
                            line-height: 170%;
                        }
                        @media (max-width: 767px) {
                            font-size: 15px;
                            line-height: 140%;
                        }
                    }
                    span {
                        margin: 10px 0 0;
                        display: inline-block;
                        @media (max-width: 767px) {
                            background: #0b2766;
                            width: 35px;
                            height: 35px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            border-radius: 10rem;
                            margin: 5px 0 0;
                        }
                        img {
                            width: 24px;

                            border-radius: 0;
                        }
                    }
                }
            }
            .valuation-content {
                padding: 80px 0 163px;
                display: flex;
                flex-wrap: wrap;
                @media (max-width: 1199px) {
                    padding: 0 0 75px;
                }
                @media (max-width: 575px) {
                    padding: 0 0 45px;
                }
                .content {
                    width: calc(100% - 479px);
                    padding: 10px 0 0;
                    @media (min-width: 1200px) and (max-width: 1365px) {
                        width: calc(100% - 420px);
                    }
                    @media (min-width: 768px) and (max-width: 991px) {
                        width: calc(100% - 350px);
                    }
                    @media (min-width: 576px) and (max-width: 767px) {
                        width: calc(100% - 250px);
                    }
                    @media (max-width: 575px) {
                        width: 100%;
                        text-align: center;
                        margin: 0 0 50px;
                    }
                    .title {
                        font-weight: 800;
                        font-size: 56px;
                        line-height: 100%;
                        margin: 0 0 30px;
                        max-width: 429px;
                        padding-bottom: 10px;
                        @media (min-width: 992px) and (max-width: 1199px) {
                            font-size: 50px;
                        }
                        @media (min-width: 768px) and (max-width: 991px) {
                            font-size: 45px;
                        }
                        @media (min-width: 576px) and (max-width: 767px) {
                            font-size: 35px;
                        }
                        @media (max-width: 575px) {
                            padding: 0 0 10px;
                            font-size: 40px;
                            margin: 0 auto;
                        }
                        @media (max-width: 479px) {
                            font-size: 30px;
                        }
                    }
                    .subtitle {
                        font-size: 20px;
                        line-height: 170%;
                        max-width: 350px;
                        padding: 0 0 20px;
                        @media (max-width: 767px) {
                            max-width: 335px;
                        }
                        @media (max-width: 575px) {
                            margin: 0 auto;
                        }
                    }
                    .text-row {
                        font-size: 16px;
                        line-height: 170%;
                        max-width: 320px;
                        @media (max-width: 575px) {
                            margin: 0 auto;
                        }
                    }
                }
                .valuation-calculator {
                    max-width: 479px;
                    width: 100%;
                    text-align: center;
                    @media (min-width: 1200px) and (max-width: 1365px) {
                        max-width: 420px;
                    }
                    @media (min-width: 768px) and (max-width: 991px) {
                        max-width: 350px;
                    }
                    @media (min-width: 576px) and (max-width: 767px) {
                        max-width: 250px;
                    }
                    @media (max-width: 575px) {
                        width: 100%;
                        margin: 0 auto 0;
                    }
                    .calculate-box {
                        width: 350px;
                        height: 350px;
                        margin: 0 auto;
                        border: 18px solid rgba(255, 255, 255, 0.04);
                        border-radius: 50rem;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-direction: column;
                        padding: 20px;
                        position: relative;
                        @media (min-width: 768px) and (max-width: 991px) {
                            width: 300px;
                            height: 300px;
                        }
                        @media (min-width: 576px) and (max-width: 767px) {
                            width: 250px;
                            height: 250px;
                        }
                        @media (max-width: 479px) {
                            width: 280px;
                            height: 280px;
                        }
                        &.active {
                            &:before {
                                content: "";
                                position: absolute;
                                border: 2px solid #fff100;
                                width: 330px;
                                height: 330px;
                                border-radius: 100rem;
                                transform: translate(-50%, -50%);
                                top: 50%;
                                left: 50%;
                                @media (min-width: 768px) and (max-width: 991px) {
                                    width: 280px;
                                    height: 280px;
                                }
                                @media (min-width: 576px) and (max-width: 767px) {
                                    width: 230px;
                                    height: 230px;
                                }
                                @media (max-width: 479px) {
                                    width: 260px;
                                    height: 260px;
                                }
                            }
                            .calculate-loader {
                                display: none;
                            }
                            // .calculate-inner {
                            // 	display: none;
                            // }
                            // .calculate-output {
                            // 	display: block;
                            // }
                        }
                        .calculate-loader {
                            width: 334px;
                            height: 334px;
                            border-radius: 50%;
                            display: inline-block;
                            border-top: 3px solid #fff100;
                            border-right: 3px solid transparent;
                            box-sizing: border-box;
                            animation: rotation 1s linear infinite;
                            position: absolute;
                            @media (min-width: 768px) and (max-width: 991px) {
                                width: 283px;
                                height: 283px;
                            }
                            @media (min-width: 576px) and (max-width: 767px) {
                                width: 235px;
                                height: 235px;
                            }
                            @media (max-width: 479px) {
                                width: 265px;
                                height: 265px;
                            }
                        }
                        .calculate-inner {
                            &.hide {
                                display: none;
                            }
                            .subtitle {
                                font-size: 14px;
                                line-height: 170%;
                                @media (min-width: 576px) and (max-width: 767px) {
                                    font-size: 12px;
                                }
                            }
                            .title {
                                font-size: 20px;
                                line-height: 140%;
                                padding: 0 15px 30px;
                                @media (min-width: 576px) and (max-width: 767px) {
                                    font-size: 14px;
                                    padding: 0 0 10px;
                                }
                                @media (max-width: 479px) {
                                    padding: 0 0 10px;
                                }
                            }
                            .text {
                                font-size: 14px;
                                line-height: 170%;
                                color: rgba(255, 255, 255, 0.4);
                                padding: 0 20px;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                display: -webkit-box;
                                -webkit-line-clamp: 3;
                                -webkit-box-orient: vertical;
                                @media (min-width: 576px) and (max-width: 767px) {
                                    font-size: 12px;
                                    line-height: 150%;
                                }
                            }
                        }
                        .calculate-output {
                            display: none;
                            &.active {
                                display: block;
                            }
                            .subtitle {
                                font-size: 20px;
                                line-height: 170%;
                                @media (min-width: 768px) and (max-width: 991px) {
                                    font-size: 18px;
                                }
                                @media (max-width: 767px) {
                                    font-size: 16px;
                                }
                            }
                            .title {
                                font-weight: 800;
                                font-size: 45px;
                                line-height: 120%;
                                padding: 30px 0 15px;
                                @media (min-width: 768px) and (max-width: 991px) {
                                    font-size: 35px;
                                }
                                @media (min-width: 576px) and (max-width: 767px) {
                                    font-size: 25px;
                                }
                                @media (max-width: 479px) {
                                    font-size: 30px;
                                }
                                &.error {
                                    font-size: 37px;
                                    color: red;
                                }
                            }
                            .text {
                                font-size: 22px;
                                line-height: 170%;
                                @media (min-width: 768px) and (max-width: 991px) {
                                    font-size: 20px;
                                }
                                @media (max-width: 767px) {
                                    font-size: 18px;
                                }
                            }
                        }
                    }
                }
            }
            .valuation-commitment {
                display: flex;
                flex-wrap: wrap;
                @media (min-width: 576px) and (max-width: 767px) {
                    align-items: center;
                }
                .commitment-box {
                    width: calc(100% - 492px);
                    padding: 50px 85px 0 0;
                    @media (min-width: 1200px) and (max-width: 1365px) {
                        width: calc(100% - 420px);
                    }
                    @media (min-width: 768px) and (max-width: 991px) {
                        width: calc(100% - 350px);
                        padding: 20px 40px 0 0;
                    }
                    @media (min-width: 576px) and (max-width: 767px) {
                        width: calc(100% - 300px);
                        padding: 0 20px 0 0;
                    }
                    @media (max-width: 575px) {
                        width: 100%;
                        text-align: center;
                        padding: 0 0 30px;
                    }
                    h3 {
                        font-weight: 500;
                        font-size: 20px;
                        line-height: 170%;
                        padding: 0 0 23px;
                    }
                    p {
                        font-size: 16px;
                        line-height: 170%;
                        padding: 0 0 10px;
                    }
                }
                .appointment-block {
                    width: 492px;
                    text-align: center;
                    @media (min-width: 1200px) and (max-width: 1365px) {
                        width: 420px;
                    }
                    @media (min-width: 768px) and (max-width: 991px) {
                        width: 350px;
                    }
                    @media (min-width: 576px) and (max-width: 767px) {
                        width: 300px;
                    }
                    @media (max-width: 575px) {
                        width: 100%;
                        max-width: 450px;
                        margin: 0 auto;
                    }
                    .inner-grid {
                        background-image: linear-gradient(180deg, #1f4496 0%, #0b2766 100%);
                        height: 100%;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        padding: 80px 30px 70px;
                        border-radius: 20px;
                        @media (min-width: 768px) and (max-width: 991px) {
                            padding: 40px 20px 40px;
                        }
                        @media (min-width: 576px) and (max-width: 767px) {
                            padding: 30px 20px 30px;
                        }
                        @media (max-width: 479px) {
                            padding: 30px 15px 30px;
                        }
                        .subtitle {
                            font-weight: 800;
                            font-size: 12px;
                            line-height: 110%;
                            padding: 0 0 37px;
                            text-transform: uppercase;
                            letter-spacing: 0.2em;
                            @media (min-width: 768px) and (max-width: 991px) {
                                padding: 0 0 20px;
                            }
                            @media (min-width: 576px) and (max-width: 767px) {
                                padding: 0 0 15px;
                            }
                            @media (max-width: 479px) {
                                padding: 0 0 15px;
                            }
                        }
                        h3 {
                            font-weight: 800;
                            font-size: 40px;
                            line-height: 100%;
                            padding: 0 27px 50px;
                            @media (min-width: 1200px) and (max-width: 1365px) {
                                padding: 0 0 28px;
                            }
                            @media (min-width: 768px) and (max-width: 991px) {
                                font-size: 30px;
                                padding: 0 15px 28px;
                            }
                            @media (max-width: 767px) {
                                font-size: 25px;
                                padding: 0 15px 28px;
                            }
                            span {
                                color: #fff100;
                            }
                        }
                        .btn_block {
                            font-weight: 800;
                            font-size: 14px;
                            line-height: 17px;
                            padding: 16px 10px;
                            line-height: 17px;
                            width: 100%;
                        }
                    }
                }
            }
            .popup-close-bottom {
                text-align: center;
                padding: 170px 0 70px;
                @media (min-width: 768px) and (max-width: 991px) {
                    padding: 70px 0 50px;
                }
                @media (min-width: 576px) and (max-width: 767px) {
                    padding: 50px 0 50px;
                }
                @media (max-width: 575px) {
                    padding: 70px 0 70px;
                }
                .close-btn-bottom {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    cursor: pointer;
                    img {
                        margin: 0 0 0 6px;
                        position: relative;
                        top: 1px;
                    }
                }
            }
        }
    }
    .overlay_popup {
		background: rgba(230, 230, 230, 0.9);
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 1;
	}
}
@keyframes rotation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
