.site-header .logo {
    margin-right: 0;
}

.mortgage-form .field .saved::before {
    display: none;
}

.mortgage-form.heading {
    align-items: center;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    margin: 16px auto 0;
    max-width: 1202px;
    padding: 30px 25px 0;
    position: relative;
}

.mortgage-form.heading .form-header {
    text-align: center;
}
.mortgage-form.heading .form-header h2 {
    font-size: 32px;
    font-weight: 500;
}

.mortgage-form.heading .form-header p {
    margin: 0;
}

.mortgage-form.heading .form-content {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-right: 40px;
}

.mortgage-form.heading .form-content .trustpilot-snippet {
    border-radius: 6px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 14px;
    padding: 14px 0;
}

.mortgage-form.heading .form-content .trustpilot-snippet .trustpilot {
    padding: 0;
}

.mortgage-form.heading .form-content .trustpilot-snippet .trustpilot .content .tp-widget-wrapper .wrapper-left {
    width: auto;
}

.mortgage-form.heading .form-content .trustpilot-snippet .trustpilot .content .tp-widget-wrapper .wrapper-left .tp-widget-logo {
    margin: 0 auto 6px;
}

.mortgage-form.heading .form-content .trustpilot-snippet .trustpilot .content .tp-widget-wrapper .wrapper-left .tp-widget-stars {
    margin: 0 auto;
}

.mortgage-form.heading .form-content .trustpilot-snippet .trustpilot .content .tp-widget-wrapper .wrapper-left .tp-widget-businessinfo {
    margin: 0 auto;
    max-width: 120px;
}

.mortgage-form .help-trigger {
    right: 10px;
    top: 10px;
}

.clients-number.rate-details {
    align-items: center;
    border-radius: 6px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 14px;
    display: flex;
    justify-content: space-between;
    margin: 0;
    max-height: 95px;
    max-width: 255px;
    padding: 20px;
}

.clients-number.rate-details .icon-container {
    height: 70px;
    width: 40px;
}

.custom-lock-container .lock-wrapper .lock-container .lock-text em {
    color: var(--secondary-color);
    font-style: normal;
    font-weight: 500;
}

.mortgage-form.your-rate {
    background: transparent;
    box-sizing: border-box;
    margin: 16px auto 0;
    max-width: 1202px;
    padding: 30px 25px 0;
    position: relative;
}

.mortgage-form.your-rate .row {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-sizing: border-box;
    column-gap: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 16px auto 0;
    max-width: 1202px;
    padding: 30px 25px 30px;
    position: relative;
}

.mortgage-form.your-rate .row .field {
    box-sizing: border-box;
    margin-bottom: 0;
    padding: 10px;
}

.date-month .fields {
    gap: 10px;
}

.date-month .fields>div {
    gap: 10px;
    margin-bottom: 0;
    width: 100%;
}

.mortgage-form label {
    margin-bottom: 6px;
}

.radio-buttons .options input[type="radio"]:checked+label {
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: #ffffff;
}

.radio-buttons .options li {
    margin: 0;
    width: 100%;
}

.mortgage-form.your-rate .row .field .options {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: space-between;
}

.mortgage-form.your-rate .row .field.radio .options {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
}

.mortgage-form.your-rate .row .field.radio .options li {
    margin: 15px 37px 0px 0;
}

.mortgage-form.your-rate .row.purchase-timeframe {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, 1fr);
}

.mortgage-form.your-rate .actions {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.mortgage-form.your-rate .actions input[type="checkbox"]+label::before {
    border-radius: 5px;
}

.mortgage-form.your-rate .actions .disclaimer {
    font-size: .625em;
    margin: 20px auto 0;
    margin: 0 0 0 20px;
    max-width: 100%;
    text-align: left;
    width: auto;
    font-family:var(--font-family);
}

.mortgage-form .arrow-trigger-container {
	position:relative;
}
.mortgage-form.your-rate .actions .consent-full-text {
	margin:12px 20px 0;
}

.mortgage-form .help-trigger {
    left: auto;
    top: 5px;
}

.mortgage-form.your-rate .actions button {
    margin-top: 70px;
}

.lock-container {
    background: #fff var(--house-icon) 16px 16px no-repeat;
    background-size: 40px;
    border-radius: 6px;
    box-shadow: 0 2px 20px rgb(0 0 0 / 12%);
    padding: 22px 16px 22px 72px;
    width: 200px;
}

/* Footer */

.form-footer .section-carousel img {
    display: block;
    margin: 0 auto;
    max-width: 700px;
    margin-top:30px;
}
.section-carousel {
    margin-bottom: 0;
}
/* Media Queries */
@media screen and (min-width: 1000px) {
   .mortgage-form .signup-icon {
        right: -5px !important;
        left: auto;
        top: 35%;
        bottom: 17px;
        height: 200px;
    }
}
/* Media Queries */
@media screen and (max-width: 1025px) {
    .mortgage-form.heading .form-content {
        margin-right: 0;
    }
}

@media screen and (max-width: 769px) {
    .mortgage-form.your-rate .row {
        grid-template-columns: repeat(1, 1fr);
    }

    .mortgage-form.heading .form-header h2 {
        font-size: 24px;
        font-weight: 500;
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .lock-container {
        width: 180px;
    }

    .mortgage-form.heading .form-content .trustpilot-snippet {
        padding: 12px 0;
    }

    .date-month .fields>div {
        margin-bottom: 10px;
    }

    .mortgage-form.your-rate .row-short .contact-info-container {
        grid-template-columns: 1fr;
        padding:0 20px 20px 20px;
    }
    .mortgage-form.your-rate .row-short .mortgage-title {
    	padding-top:0;
    }

	.mortgage-form.your-rate .actions button {
		margin-top:0;
	}
}

@media screen and (max-width: 550px) {
    .mortgage-form.your-rate .row {
        padding: 24px 14px 24px;
    }

    .mortgage-form.heading {
        flex-direction: column;
        padding: 30px 4px 0;
    }
    .range__opt {
		font-size:9px;
	}
    .mortgage-form.your-rate .mortgage-form.heading .form-header h2 {
        font-size: 20px;
        font-weight: 600;
        padding: 0 44px;
        text-align: center;
    }

    .mortgage-form.heading .form-header p {
        font-size: 18px;
        font-weight: 600;
        text-align: center;
    }

    .mortgage-form.heading .form-content {
        align-items: normal;
        flex-direction: column;
        margin: 20px 0 0 0;
        width: 100%;
    }

    .lock-wrapper {
        justify-content: normal;
    }

    .lock-container {
        align-items: center;
        background: #fff var(--house-icon) 13px 10px no-repeat;
        background-size: 20px;
        border-radius: 6px;
        box-shadow: 0 2px 20px rgb(0 0 0 / 12%);
        display: flex;
        gap: 10px;
        justify-content: normal;
        padding: 7px 6px 7px 44px;
        width: 100%;
    }

    .lock-wrapper .visitors,
    .quote-info .visitors {
        font-size: 16px;
        margin: 0;
    }

    .lock-wrapper .lock-text {
        font-size: 12px;
    }

    .mortgage-form.heading .form-content .trustpilot-snippet {
        padding: 6px 6px;
    }

    .mortgage-form.heading .form-content .trustpilot-snippet .trustpilot .content .tp-widget-wrapper .wrapper-left {
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .mortgage-form.heading .form-content .trustpilot-snippet .trustpilot .content .tp-widget-wrapper .wrapper-left .tp-widget-logo {
        margin: 0;
        width: 75px;
    }

    .mortgage-form.heading .form-content .trustpilot-snippet .trustpilot .content .tp-widget-wrapper .wrapper-left .tp-widget-stars {
        margin: 0;
    }

    .mortgage-form.heading .form-content .trustpilot-snippet .trustpilot .content .tp-widget-wrapper .wrapper-left .tp-widget-stars .tp-stars div svg {
        height: 87% !important;
        top: 2px !important;
    }

    .mortgage-form.heading .form-content .trustpilot-snippet .trustpilot .content .tp-widget-wrapper .wrapper-left .tp-widget-businessinfo {
        font-size: 10px;
        margin: 0;
        max-width: 100%;
    }

    .radio-buttons .options li {
        width: 100%;
    }

    .mortgage-form.your-rate .row .field.radio-buttons .options {
        flex-wrap: wrap;
    }

    .mortgage-form.your-rate .row .field.radio-buttons.rate-term .options li {
        flex: 0 0 47%;
    }

    .mortgage-form.your-rate .row .field.radio-buttons.credit-score .options {
        flex-wrap: wrap;
    }

    .mortgage-form.your-rate .row .field.radio-buttons.credit-score .options li,
    .mortgage-form.your-rate .row .field.radio-buttons.rate-term .options li,
    .mortgage-form.your-rate .row .field.radio-buttons.employment-info .options li {
        flex: 0 0 47%;
    }

    .mortgage-form.your-rate .row .field.radio-buttons.rate-type .options li {
        flex: 0 0 30%;
    }

    .mortgage-form .actions .call-to-action {
        width: 85%;
    }
}

@media screen and (max-width: 376px) {
    .lock-wrapper .lock-text {
        font-size: 10px;
    }

    .mortgage-form.heading .form-content .trustpilot-snippet .trustpilot .content .tp-widget-wrapper .wrapper-left .tp-widget-businessinfo {
        font-size: 7px;
    }

    .mortgage-form.heading .form-content .trustpilot-snippet .trustpilot .content .tp-widget-wrapper .wrapper-left .tp-widget-logo {
        margin: 0;
        width: 65px;
    }
}

@media screen and (max-width: 321px) {

    .mortgage-form.your-rate {
        padding: 30px 10px 0;
    }

    .mortgage-form.heading {
        padding: 30px 0px 0;
    }

    .mortgage-form.heading .form-content {
        gap: 10px;
    }

    .lock-container {
        align-items: center;
        background: #fff var(--house-icon) 13px 8px no-repeat;
        background-size: 16px;
        border-radius: 6px;
        box-shadow: 0 2px 20px rgb(0 0 0 / 12%);
        display: flex;
        gap: 10px;
        justify-content: normal;
        padding: 3px 6px 3px 44px;
        width: 100%;
    }

    .lock-wrapper .visitors, .quote-info .visitors {
        font-size: 12px;
        margin: 0;
    }

    .mortgage-form.heading .form-content .trustpilot-snippet .trustpilot .content .tp-widget-wrapper .wrapper-left .tp-widget-stars {
        width: 100px;
    }

    .lock-wrapper .lock-text {
        font-size: 8px;
    }

    .mortgage-form.your-rate .row {
        padding: 20px 8px 20px!important;
    }
    
    .mortgage-form.your-rate .row .field.radio-buttons.credit-score .options li,
    .mortgage-form.your-rate .row .field.radio-buttons.rate-term .options li,
    .mortgage-form.your-rate .row .field.radio-buttons.employment-info .options li,
    .mortgage-form.your-rate .row .field.radio-buttons.rate-type .options li {
        flex: 0 0 100%!important;
    }
}

.callback-wrapper .callback-dropdown {
    width:auto;
}
.callback-wrapper #callback-date {
    min-width:150px;
}
.mortgage-wrapper .mortgage-wrapper {
	margin-top:0;
}

.mortgage-wrapper {
	margin-top:0;
}
.mortgage-form.your-rate .mortgage-form.header-wrapper {
	justify-content:space-between;
	margin-bottom:10px;
	padding-bottom:10px;
}
.mortgage-form.your-rate .mortgage-form.header-wrapper .form-header {
	text-align:left;
}
.mortgage-form.heading .counter {
	position:relative;
}
.mortgage-form.header-wrapper .lock-wrapper .visitors {
	font-family: var(--font-family);
	position:relative;
	text-align:left;
	left:0;
	bottom:0;
	right:0;
	margin-bottom: 5px;
	line-height:27px;
	width:auto;
}
.mortgage-form.header-wrapper .lock-wrapper .lock-text {
	margin-left:0;
	font-family: var(--font-family);
	font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 19px;
    color: #000;
    margin: 0;
}


/* Positioning the icon container */
.icon-container {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index:5;
    /* Ensuring compatibility with older browsers */
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

/* Icon style */
.icon {
    font-size: 20px;
    color: #888;
    transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
}

/* Icon hover effect (changes color on hover) */
.icon:hover {
    color: #007bff;
}

/* Tooltip styling (popup text) */
.icon[title] {
    position: relative;
}

/* Tooltip (popup text) */
.icon[title]:hover::after {
    content: attr(title);
    position: absolute;
    top: 25px; /* Position the tooltip above the icon */
    right:0;
    background-color: #fff;  /* White background */
    color: black;  /* Black text */
    padding: 10px;
    width: 200px;  /* Minimum width of 200px */
    font-size: 12px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adding a slight shadow for depth */
    opacity: 0;
    font-style:normal;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10; /* Ensure tooltip is above other elements */
    white-space: pre-wrap; /* Prevent the text from wrapping */
}

/* Show the tooltip */
.icon[title]:hover::after {
    opacity: 1;
    visibility: visible;
}

.mortgage-form .icon-input{
	position:relative;
}
/* Responsive Design */
@media (max-width: 600px) {
    .icon {
        font-size: 18px;
    }
}

/* Compatibility with older browsers (IE 11 and below) */
@supports (-ms-ime-align: auto) {
    .input-field {
        padding-right: 35px; /* Fix for IE */
    }
}

img.logo-short {
	width: 23px;
    height: 23px;
}

/* Tooltip arrow (callout) */
.icon[title]:hover::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 5px;
    width: 0;
    height: 0;
    border-left: 7px solid #80808000;
    border-right: 7px solid transparent;
    border-bottom: 6px solid #ffffff;
    z-index: 1001;
}
.reset-thumb::-webkit-slider-thumb {
    margin-top:0 !important;
}
.mortgage-form .actions { 
	align-items:center;	
}
.arrow.left, .arrow.right {
    margin-top:40px;
}