body #fancybox-content {
    border: none!important;
}
#fancybox-wrap {
    width: 760px!important;
}
body #fancybox-content,
body #fancybox-outer {
    background: none;
    box-shadow: 0 0 34px 0 rgb(2 6 19 / 42%);
    border-radius: 7px;
}
#fancybox-overlay {
    background-color: #000!important;
}

#fancybox-outer:before {
	content: '';

    width: 506px;
    height: 240px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image:url(../images/quiz-pop-bg@2x.png?v=2);

	position: absolute;
	top: -130px;
	left: 50%;
	transform: translateX(-50%);
}

#ff-quiz-form-popup {
    width: 760px;
}

#ff-quiz-form {
    background: #323E48;
	border: none;
	border-radius: 7px;
	color: #fff;
    box-shadow: 0 0 34px 0 rgba(2,6,19,0.42);
}

.ff-quiz-form .h {
    font-size: 22px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}
.ff-quiz-form .sh {
	color: #fff;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
	margin-bottom: 30px;
}
body .ff-quiz-form .submit-btn {
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0;
}
.ff-quiz-form .submit-btn:hover {
    background: #2CC6FA;
}

.ff-quiz-form .field-checkbox .ff-label {
    display: inline-block;
}

.field_hear_about_us_other {
    display: none;
}
.field_hear_about_us_other.show {
    display: block;
}

body .ff-quiz-form .field-container {
    margin: 20px 0 0;
}

body .ff-quiz-form .form-fields {
    padding: 50px 50px 30px;
    width: 100%;
}

.ff-quiz-form .submit-btn {
    white-space: normal;
}

@media only screen and ( max-width: 767px ) {
	body .ff-quiz-form .form-fields {
	    padding: 30px 10px 30px 10px;
        margin-left: 0px;
        margin-right: 0px;
	}

	.ff-quiz-form .field-container.left,
	.ff-quiz-form .field-container.right{
		width: 100% !important;
		float: none !important;
	}

    #fancybox-outer:before {
        display: none;
    }
}