@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

html,
body {
    font-family: 'DM Sans', sans-serif;
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    padding: 0;
    margin: 0;
    color: #333;
    background: #000;
    overflow-x: hidden;
    overflow-y: auto;
    user-select: none;
    -webkit-user-select: none;
    scroll-behavior: smooth;
}


.rate-text-container {
	position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: auto;
    height: auto;
    top: 0;
    right: 0;
    z-index: 1;
}
.rate-text-container a{
	display: block;
    float: left;
    width: auto;
    height: auto;
}

.rate-text-container a img{
	display: block;
	width: auto;
	height: 60px;
	margin: 0;
}

*,
*::after,
*::before {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

main {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow-y: auto;
}

header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background: url('img/refinance.jpg');
    background-attachment: scroll;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

    header:before {
        content: "";
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 1;
        background: #fff;
        animation: show .5s forwards;
        animation-delay: .5s;
    }

@keyframes show {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

section {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: auto;
    padding: 10%;
    margin: 0;
    background: #333;
}

.title,
.learn {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: auto;
    color: #fff;
    text-align: left;
}

.title {
    line-height: 1;
    font-size: 34px;
    font-weight: 600;
    margin: 0 0 40px 0;
}

.learn {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    padding-left: 5%;
}

.cover {
    position: relative;
    display: block;
    float: left;
    width: 50%;
    min-height: 300px;
    padding: 0;
    margin: 0;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.more {
    display: flex;
    align-items: stretch;
    justify-content: center;
    float: left;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
}

.container {
    position: relative;
    display: block;
    float: left;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
}

.final-question .brand {
	display: none;
}

    .final-question .questionnaire {
        margin: 0 0 20px 0;
    }

.brand {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    float: left;
    width: 100%;
    height: 60px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -2px;
    text-decoration: none;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

    .brand i {
        font-size: 36px;
        margin: 0 5px 0 0;
    }

.questionnaire {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: 100%;
    height: calc(100% - 125px);
    padding: 0;
    margin: 0;
}

.modal {
    position: relative;
    display: block;
    float: left;
    width: 600px;
    height: 650px;
    padding: 40px;
    margin: 0;
    opacity: 0;
    background: #fff;
    border-radius: 0 0 5px tpx;
    animation: up .5s forwards;
    animation-delay: 1s;
    transform: translate(0,30px);
}

@keyframes up {
    from {
        opacity: 0;
        transform: translate(0,30px);
    }

    to {
        opacity: 1;
        transform: translate(0,0);
    }
}

.actions {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: 40px;
    padding: 0;
    margin: 0;
}

.back,
.next,
.send {
    position: relative;
    display: block;
    width: auto;
    min-width: 150px;
    height: 100%;
    padding: 0;
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background: #ed1d26;
    border-radius: 5px;
    border: 0;
    outline: 0;
    -webkit-appearance: none;
    appearance: none;
	z-index: 5;
}
.actions button.submit-btn {
	margin-left:50%;
}

.back {
    float: left;
}

.next {
    float: right;
}

.send {
    float: right;
    width: 140px;
    height: 40px;
    margin: 0;
}

.question,
.selection {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
}


.options {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    float: left;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
}

.field {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0 0 20px 0;
}

    .field:first-child input {
        width: calc(50% - 20px) !important;
    }

        .field:first-child input:last-child {
            width: 50% !important;
            border-radius: 5px !important;
            margin: 0 0 0 20px !important;
        }

    .field:last-child {
        margin: 0;
    }

.name,
.home,
.description {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: auto;
    line-height: 1;
    padding: 0;
    text-align: center;
}

.home,
.name {
    color: #333;
    font-size: 30px;
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home {
    margin: 0;
}

.name {
    margin: 0 0 20px 0;
}

.small {
    font-size: 20px;
    font-weight: 400;
}

.description {
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
    margin: 5px 0 5px 0;
}

.icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    color: #ccc;
    font-size: 22px;
    border: 1px solid #ccc;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    transition: all .3s ease;
}

.selection input[type=text] {
    font-family: 'FontAwesome', 'DM Sans';
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    margin: 0;
    background: #eee;
    font-size: 18px;
    font-weight: 500;
    border-radius: 5px;
    outline: 0;
    -webkit-appearance: none;
    appearance: none;
    border-width: 1px;
    border-style: solid;
    border-color: #ccc;
    transition: all .3s ease;
}

    .selection input[type=text]::placeholder {
        color: #ccc;
    }

input[type=text].invalid {
    color: #CC3300;
    border-color: #CC3300;
}

.selection input[type=text].invalid::placeholder {
    color: #CC3300;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    margin: 0;
    background: #eee;
    outline: none;
    border-radius: 10px;
}

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #ed1d26;
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #ed1d26;
        cursor: pointer;
    }

.value {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0 0 20px 0;
    color: #ed1d26;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -3px;
    text-align: center;
}

.box {
    position: relative;
    display: block;
    float: left;
    width: 25%;
    height: auto;
    line-height: 1;
    padding: 3% 2%;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0;
    color: #ccc;
    cursor: pointer;
    border: 5px solid #fff;
    border-right: 0;
    text-align: center;
    background: #fafafa;
}

    .box:hover {
        color: #fff;
        background: #ed1d26;
    }

        .box:hover i {
            color: #fff;
        }

    .box:last-child {
        border-right: 1px solid #ccc;
    }

input[type="radio"] {
    display: none;
}

    input[type="radio"]:checked + label {
        color: #fff;
        background: #ed1d26;
    }

.box i {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: 100%;
    height: auto;
    line-height: 1;
    font-size: 30px;
    margin: 0 0 15px 0;
}

.box span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: 100%;
    height: auto;
    line-height: 1;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.box-active {
    color: #fff;
    background: #333;
}

#final .name:after {
    content: "Final Step";
}

#final.show .name:after {
    content: "Terms & Conditions";
}

.show .selection,
.show .description {
    display: none;
}

.show .disclaimer {
    margin: 0;
}

.show .conditions {
    height: auto;
    overflow: hidden;
}

    .show .conditions:after {
        display: none;
    }

#final.show .click:after {
    content: "Go Back";
}

.disclaimer {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    font-size: 10px;
    color: #ccc;
    text-align: justify;
}

    .disclaimer a {
        color: #333;
    }

.click {
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: 100%;
    height: auto;
    line-height: 1;
    padding: 0;
    margin: 0 0 15px 0;
    cursor: pointer;
    outline: 0;
    text-decoration: underline;
    text-transform: uppercase;
}

    .click i {
        margin: 0 5px 0 0;
    }

    .click:after {
        content: "Show Terms & Conditions";
    }

.conditions {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: auto;
}

    .conditions:after {
        content: "";
        position: absolute;
        display: block;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

#home-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: 100%;
    height: 180px;
    padding: 0;
    margin: 0 0 5% 0;
    overflow: hidden;
    text-align: center;
    border-radius: 5px;
    transition: all .3s ease;
}

    #home-image img {
        width: 100%;
        height: auto;
        vertical-align: middle;
    }

.progress {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    padding: 0;
    margin: 0;
    background: #eee;
    overflow: hidden;
    transform: translate(0,-100%);
    border-radius: 5px 5px 0 0;
}

.bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: 15%;
    height: 100%;
    padding: 0;
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: #ed1d26;
    transition: all .3s ease;
}

.final .brand {
    display: none;
}

.final .questionnaire {
    height: calc(100% - 40px);
}

.scroll {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 1%;
    left: 0%;
    width: 100%;
    height: auto;
}

.toggle {
    display: block;
    float: left;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    background: #fff;
    border-radius: 20px;
    opacity: 0;
    text-transform: uppercase;
    animation: up .5s forwards;
    animation-delay: 1.2s;
}

    .toggle i {
        color: #ed1d26;
        margin: 0 10px 0 0;
    }

.fix-bar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}


.md-bar2 {
    height: 10px;
}

@media only screen and (max-width: 700px) {

    .final .questionnaire {
        height: calc(100% - 30px);
    }

    #home-image {
        width: 100%;
        height: 120px;
        margin: 0 0 10px 0;
    }

    .modal {
        width: 80%;
        height: 80%;
        padding: 4%;
        overflow: visible;
    }

    .brand {
        height: 40px;
        font-size: 20px;
    }

        .brand i {
            font-size: 30px;
            margin: 0 5px 0 0;
        }

    .questionnaire {
        height: calc(100% - 80px);
    }

    .actions {
        height: 40px;
    }

    .back, .next {
        min-width: 80px;
        padding: 0;
    }

	button.submit-btn {
		width: 100%;
	}
	
    .send {
        width: 100px;
        height: 40px;
        padding: 0;
        font-size: 12px;
    }

    .home, .name {
        font-size: 22px;
    }

    .name {
        margin-bottom: 5px;
    }

    .small {
        font-size: 14px;
    }

    .description {
        font-size: 12px;
        margin-top: 5px;
    }

    .options {
        display: block;
    }

    .slider {
        width: 60%;
        margin: 0 20%;
    }

    .box {
        width: 50%;
        padding: 5%;
        font-size: 10px;
    }

        .box i,
        .box span {
            font-size: 24px;
            margin: 0 0 10px 0;
        }

    .value {
        font-size: 24px;
    }

    .stack .box {
        width: calc(100% / 3);
    }

    .selection input[type=text] {
        width: 100%;
        height: 30px;
        line-height: 30px;
        padding: 0 10px;
        margin: 0;
        font-size: 12px;
    }

    .field {
        margin-bottom: 8px;
    }

        .field:first-child input {
            width: 50% !important;
            margin: 0 !important;
            border-right: 0 !important;
            border-radius: 5px 0 0 5px !important;
        }

            .field:first-child input:last-child {
                width: 50% !important;
                margin: 0 !important;
                border-radius: 0 5px 5px 0 !important;
            }

        .field:nth-child(2),
        .field:nth-child(3) {
            width: 50%;
        }

            .field:nth-child(2) input {
                border-radius: 5px 0 0 5px;
				font-size: 9px;
            }

            .field:nth-child(3) input {
                border-radius: 0 5px 5px 0;
            }

    .disclaimer {
        text-align: justify;
        text-justify: inter-word;
        margin-top: 0px;
        font-size: 8px;
    }

    .conditions {
        height: 45px;
        line-height: 1;
        color: #000;
    }

    .click {
        margin-bottom: 10px;
    }

    section {
        padding: 15% 10%;
    }

    .title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .cover {
        width: 100%;
        min-height: 200px;
        margin-bottom: 30px;
    }

    .learn {
        font-size: 14px;
        margin: 0;
        padding-left: 0;
    }

    .more {
        display: block;
    }

    .final-question .brand {
        display: none;
    }

    .final-question .conditions {
        height: auto;
    }

    .final-question .modal {
        padding: 6% 4%;
    }

    .final-question .questionnaire {
        margin: 0 0 20px 0;
    }

    .final-question #srDisclosure {
        font-size: 10px;
        color: #999;
    }
	
	
	.rate-text-container a img{
		height: 40px;
	}
}

div.valuemax {
    display:none;
}
/*.valuemax {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    float: left;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 15px 0 5px 0;
}

    .valuemax span {
        display: block;
        width: auto;
        height: auto;
        padding: 5px 10px;
        margin: 0;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        background: #000;
        border-radius: 10px;
    }*/