@font-face {
    font-family: 'HyundaiSansHead';
    src: url('../fonts/HyundaiSansHead-Regular.eot');
    src: url('../fonts/HyundaiSansHead-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/HyundaiSansHead-Regular.woff') format('woff'),
    url('../fonts/HyundaiSansHead-Regular.woff2') format('woff2'),
    url('../fonts/HyundaiSansHead-Regular.ttf') format('truetype'),
    url('../fonts/HyundaiSansHead-Regular.svg#Font') format('svg');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'HyundaiSansHead';
    src: url('../fonts/HyundaiSansHead-Medium.eot');
    src: url('../fonts/HyundaiSansHead-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/HyundaiSansHead-Medium.woff') format('woff'),
    url('../fonts/HyundaiSansHead-Medium.woff2') format('woff2'),
    url('../fonts/HyundaiSansHead-Medium.ttf') format('truetype'),
    url('../fonts/HyundaiSansHead-Medium.svg#Font') format('svg');
    font-weight: 600;
    font-style: normal;
}

:root {
    --hy-blue: #002C5F;
    --hy-active: #00AAD2;
    --hy-black: #000000;
}


body {
    font-family: 'HyundaiSansHead';
    max-width: 1080px;
    margin: 0 auto;
    font-weight: 400;
}

.container {
    max-width: 836px;
}

/*Header*/
header .logo_container {
    padding-top: 66px;
    padding-bottom: 27px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.logo_container .logo_container--powerdby {
    font-size: 25px;
    line-height: 33px;
    font-weight: 400;
    color: var(--hy-blue);
    max-width: 530px;
    margin: 6px auto 0;
    padding-left: 107px;
}

header img.sitelogo {
    max-width: 528px;
    margin: 0 auto;
    height: 44px;
    object-fit: contain;
}

nav .nav--text {
    font-size: 13px;
    line-height: 17px;
    color: #9D9D9D;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    position: absolute;
    bottom: 16px;
    width: 100%;
    text-align: center;
}

nav .nav--icon_hover {
    display: none;
    transition: 0.2s all;
}

nav .nav--item a {
    display: block;
    width: 100%;
    padding: 10px 0 36px 0;
}

nav .nav--item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    transition: 0.2s all;
}

nav .nav--item:hover,
nav .nav--active {
    background-color: rgba(157, 157, 157, 0.35);
}

nav .nav--item:hover .nav--icon,
nav .nav--active .nav--icon {
    display: none;
}

nav .nav--item:hover .nav--icon_hover,
nav .nav--active .nav--icon_hover {
    display: block;
    margin: 0 auto;
}

nav .nav--item:hover .nav--text,
nav .nav--active .nav--text {
    color: var(--hy-blue);
}


/*Home Carousel*/
.heroCarousel--slider {
    padding: 0;
    margin-top: 47px;
}

.heroCarousel--slider .carousel-caption {
    text-align: left;
}

.heroCarousel--slider .carousel-caption h5 {
    font-size: 35px;
    line-height: 47px;
    color: #ffffff;
    padding: 16px 24px 5px 21px;
    background-color: var(--hy-blue);
    font-weight: 600;
    display: inline-block;
    margin: 0;
}

.heroCarousel--slider .carousel-caption p {
    font-size: 30px;
    line-height: 40px;
    color: #ffffff;
    padding: 16px 24px 15px 50px;
    background-color: var(--hy-active);
    font-weight: 600;
    display: inline-block;
    background-image: url("../img/right-arrow.svg");
    background-repeat: no-repeat;
    background-position: 27px 23px;
}

.heroCarousel--slider .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    opacity: 1;
}

.heroCarousel--slider .carousel-indicators .active {
    opacity: 1;
    background-color: var(--hy-blue);
}

.heroCarousel--slider .carousel-control-next-icon {
    background-image: url("../img/right-arrow.svg");
}

.heroCarousel--slider .carousel-control-prev-icon {
    background-image: url("../img/left-arrow.svg");
}

.heroCarousel--slider .carousel-control-prev-icon,
.heroCarousel--slider .carousel-control-next-icon {
    height: 18px;
    width: 12px;
    opacity: 1;
}

.heroCarousel--slider .carousel-control-next,
.heroCarousel--slider .carousel-control-prev {
    opacity: 1;
}

.heroCarousel--slider .carousel-control-next {
    justify-content: end;
    padding-right: 16px;
}

.heroCarousel--slider .carousel-control-prev {
    justify-content: start;
    padding-left: 16px;
}

.heroCarousel--slider .carousel-caption {
    left: 79px;
}

.heroCarousel--qtext {
    padding-top: 36px;
    box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.16);
    padding-bottom: 22px;
    margin-bottom: 44px;
}

.heroCarousel--qtext h2 {
    color: var(--hy-blue);
    font-size: 35px;
    line-height: 40px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    border-bottom: 2px solid var(--hy-active);
    padding-bottom: 14px;
}

.heroCarousel--qtext p,
.heroCarousel--qtext p a {
    color: var(--hy-blue);
    font-size: 35px;
    line-height: 40px;
    font-weight: 400;
    margin: 0;
    padding-top: 10px;
    text-decoration: none;
}

/*CTA*/
.hfCTA--wrap {
    background-color: var(--hy-blue);
    padding: 21px 23px 0px;
    position: relative;
}

.homeCTA .hfCTA--wrap {
    min-height: 345px;
    padding: 21px 23px 88px;
}

.hfCTA--wrap h3 {
    font-size: 25px;
    line-height: 30px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
}

.hfCTA .col {
    padding: 0 8px;
}

.hfCTA .row {
    margin: 0 -20px;
}

.hfCTA--wrap h3 span {
    text-transform: uppercase;
}

.hfCTA--wrap .hfCTA--text {
    font-size: 18px;
    line-height: 23px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 17px;
}

.hfCTA--wrap .hfCTA--button {
    display: block;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    background-color: var(--hy-active);
    font-size: 25px;
    line-height: 33px;
    text-transform: uppercase;
    position: absolute;
    width: calc(100% - 48px);
    left: 24px;
    bottom: 24px;
}

.hfCTA--wrap .hfCTA--img {
    margin-bottom: 24px;
}

.hfCTA--wrap .hfCTA--button span {
    background-image: url("../img/right-arrow.svg");
    background-repeat: no-repeat;
    height: 22px;
    width: 14px;
    background-size: contain;
    display: inline-block;
    margin-right: 10px;
    position: relative;
    top: 2px;
}

/*Disclaimer*/
.disclaimer p {
    font-size: 16px;
    color: #383737;
    line-height: 18px;
    margin-top: 50px;
    margin-bottom: 80px;
}

/*Quiz*/
.hfQuiz .hfQuiz--question {
    background-color: var(--hy-blue);
    font-size: 40px;
    line-height: 47px;
    font-weight: 600;
    text-align: center;
    padding: 52px 20px;
    color: #ffffff;
}

.hfQuiz .hfQuiz--question span {
    text-transform: uppercase;
}

.hfQuiz--question > .container {
    max-width: 90%;
}

.hfQuiz--input {
    display: none;
}

.hfQuiz--input:checked + .hfQuiz--label {
    background-color: var(--hy-active);
    color: #ffffff;
}

.hfQuiz--input:checked + .hfQuiz--label:before {
    opacity: 1;
}

.hfQuiz--label {
    display: flex;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease-out;
    color: #ffffff;
    font-size: 45px;
    line-height: 50px;
    font-weight: 600;
    background-color: rgba(0, 44, 95, 0.8);
    padding: 23px;
    max-width: 560px;
    margin: 0 auto 42px;
    padding-left: 65px
}

.hfQuiz--label:hover {
    color: #ffffff;
    /*background-color: var(--hy-active);*/
}

.hfQuiz--inputwrap {
    position: absolute;
    z-index: 99;
    width: 100%;
    top: 339px;
}

.hfQuiz--options {
    position: relative;
}

label.hfQuiz--label:before {
    content: "";
    position: absolute;
    top: calc(70% - 42px);
    background-image: url("../img/right-arrow.svg");
    height: 37px;
    width: 24px;
    background-size: contain;
    display: inline-block;
    left: 30px;
}

.hfQuiz--wrapper {
    display: none;
}

.hfQuiz--wrapper.qactive {
    display: block;
}

/*Quiz result*/
.hfQuiz-result .hfQuiz--question {
    padding: 28px 20px;
}

.hfQuiz-result .hfQuiz-result--hero {
    position: relative;
}

.hfQuiz-result .img-caption {
    width: 393px;
    position: absolute;
    bottom: 16px;
    left: 80px;
}

.hfQuiz-result .img-caption h5 {
    font-size: 35px;
    line-height: 47px;
    color: #ffffff;
    padding: 16px 24px 5px 21px;
    background-color: var(--hy-blue);
    font-weight: 600;
    display: block;
    margin: 0;
    text-transform: uppercase;
}

.hfQuiz-result .img-caption p {
    font-size: 30px;
    line-height: 40px;
    color: #ffffff;
    padding: 16px 24px 15px 21px;
    background-color: var(--hy-active);
    font-weight: 600;
    display: block;
}

.hfQuiz-result--content {
    padding-top: 54px;
    background-color: #F6F3F2;
    padding-bottom: 68px;
}

.hfQuiz-result--content h2,
.hfQuiz-resultCTA h2{
    color: var(--hy-blue);
    font-weight: 600;
    font-size: 35px;
    line-height: 40px;
    margin-bottom: 30px;
}

.hfQuiz-result--content p {
    color: var(--hy-blue);
    font-weight: 400;
    font-size: 25px;
    line-height: 30px;
    margin: 0;
}

.hfQuiz-result--main {
    margin-top: 25px;
}

.hfQuiz-result--main p {
    color: #ffffff;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    background-color: var(--hy-blue);
    padding: 21px 25px 16px;
}

.hfQuiz-result--others .col-6{
    padding: 0 8px;
}

.hfQuiz-result--others .hfCTA--wrap .hfCTA--text{
    font-size: 16px;
}

.hfQuiz-result--others .hfCTA--wrap .hfCTA--img {
    margin-bottom: 24px;
    min-height: 219px;
    object-fit: cover;
}

.hfQuiz-resultCTA{
    padding-top: 40px;
}

.hfQuiz-result--others{
    padding-top: 55px;
}

.hfQuiz-resultCTA .hfCTA--wrap .hfCTA--button{
    position: relative;
    display: block;
    text-align: left;
    left: 0;
    width: 100%;
    top: 0;
    font-size: 23px;
    text-transform: none;
    padding-left: 30px;
    line-height: 28px;
}

.hfQuiz-resultCTA .hfCTA--wrap {
    padding: 26px 23px 30px;
}

.hfQuiz-resultCTA .hfCTA--wrap .hfCTA--button span{
    position: absolute;
    top: 18px;
    left: 18px;
    display: none;
}

label.error {
    color: #fff;
    font-style: italic;
    background: red;
    font-size: 14px;
    padding: 0px 5px;
    margin-left: 2px;
}
input.error {
    border: 1px dotted red;
}
#quiz-user-data {
    max-width: 560px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 1rem;
}
.form-control {
    height: 70px;
    font-size: 24px;
    border-radius: 0;
}
#quiz-save-btn {
    width:100%;
    height: 70px;
    font-size: 24px;
    background: var(--hy-active);
    border-color: var(--hy-active);
    border-radius: 0;
}

.hfQuiz--resultswrap{
    top: 20px;
}

.hfQuiz--resultwrap-text{
    background-color: var(--hy-blue);
    color: #ffffff;
    font-size: 25px;
    line-height: 30px;
    padding: 20px 15px;
    margin-bottom: 20px;
}

.hfQuiz--resultwrap-text h3 {
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 7px;
}

.hfQuiz--resultwrap-text strong{
    font-weight: 500;
}

.hyf-loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.disclaimer p a{
    color: #383737
}