:root {
    --background-color: #f7f9ff; 
    /* --red-base: #DC3545;
    --red-var1: #cc0616;
    --red-dark: #82000a; */

    /* --red-base: #2790e6; */
    /* --red-var1: #3859A3; /*slides: 3859a3 concepts:3C60AD */
    /* --red-dark: #334976; */

    --red-base: #543EDC;
    --red-var1: #39339f;/*slides: 3859a3 concepts:3C60AD */
    --red-dark: #E9EDFF;
  }
  
/* GENERAL */
body {
    background: var(--background-color);
    font-family: 'DM Sans', sans-serif;
    color: #555;
}

body .result-page {
} 

.card-title {
    font-family: 'El Messiri', sans-serif;
}

.card-header {
    font-weight: 600;
    font-size: 1.2rem;
}


.text-primary {
    color: var(--red-base) !important;
}

.btn-primary {
    background-color: var(--red-base);
    border-color: var(--red-base);
}

.btn-primary:hover {
    background-color: var(--red-var1);
    border-color: var(--red-var1);
}


.nav-link {
    color: var(--red-base);
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--red-var1);
}

.result-page table {
    color: #555;
}

body .form-page {
    font-size: 16px;
    font-size: 1.1rem;
    font-weight: normal;
    /* line-height: 1.4; */
}
 
.form-page h1,
.form-page h2,
.form-page h3,
.form-page h4,
.form-page h5,
.form-page h6 {
    color: #00011c;
    font-family: 'El Messiri', sans-serif;
}

.form-page p {
    margin-bottom: 24px;
    line-height: 1.9;
}

p.titlep {
    margin-bottom: 10px;
    line-height: 1;
}
 
.form-page label {
    font-size: 16px;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 5px;
    color: #555;
}


/* #steps-container {
    width: 100%;
    min-height: 400px;
} */

/* TITLE */

 
#title-container {
    min-height: 460px;
    height: 100%;
    color: #fff;
    /* background-color: var(--red-base); */
    background-color: #335294;

    background: url(../images/dmi_background_purple.png);
    background-repeat: repeat;
    position: relative;
    background-size: 739px 500px; 
    background-position: -20px -20px;

    text-align: center;
    /* padding: 105px 28px 28px 28px; */
    padding: 80px 28px 28px 28px;
    box-sizing: border-box;
    position: relative;
    box-shadow: -10px 8px 21px 0px rgba(204, 204, 204, 0.75);
    -webkit-box-shadow: -10px 8px 21px 0px rgba(204, 204, 204, 0.75);
    -moz-box-shadow: -10px 8px 21px 0px rgba(204, 204, 204, 0.75);
    
}
 
#title-container h2 {
    font-size: 36px;
    font-weight:600;
    color: #fff;
    margin-bottom: 0px;
}
 
#title-container h3 {
    font-size: 25px;
    font-weight: 600;
    /* color: var(--red-dark); */

    color:#fff;
    padding: 0;
}
 
#title-container p {
    margin-top: 50px;
    font-weight: normal;
    font-size: 18px;
    font-size: 1.0rem;
    padding: 0 25px;
    line-height: 28px;    
    color: rgb(255 255 255 / 70%);

}
 
.dm-image {
    width: 214px;
}

/* FORMS */
 
.step1, .step2 {
    background:#fff;
}


#qbox-container {
    background: url(../images/dmi_background.png);
    background-repeat: repeat;
    position: relative;
    background-size: 739px 500px; 
    padding: 62px;
    /* min-height: 630px; */
    min-height: 820px;
    box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
    -webkit-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
    -moz-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
}
 
#steps-container {
    /* margin: auto; */
    /* min-width: 500px; */
    min-height: 420px;
    display: flex;
    vertical-align: middle;
    align-items: center;
}
 
.step {
    display: none;
}
 
.step h4 {
    color: var(--red-base);
    margin: 0 0 26px 0;
    padding: 0;
    position: relative;
    font-weight: 500;
    /* font-size: px; */
    font-size: 2rem;
    line-height: 1.6;
}

button#start-btn {
    /* background: #E69138 !important; */
    width: 150px !important;
    height: 60px !important;
    font-size: 20px !important;
    -webkit-border-radius: 10px !important;
    -moz-border-radius: 10px !important;
    border-radius: 10px !important;
}

button#start-btn:after {
    /* background: #8f591f !important; */

}

button#start-btn,
button#prev-btn,
button#next-btn,
button#submit-btn {
    font-size: 17px;
    font-weight: bold;
    position: relative;
    width: 130px;
    height: 50px;
    background: var(--red-base);
    margin: 0 auto;
    margin-top: 40px;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    transition: color .3s;
    text-align: center;
    color: #fff;
    border: 0;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
 
button#start-btn:after,
button#prev-btn:after,
button#next-btn:after,
button#submit-btn:after {
    position: absolute;
    top: 90%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--red-var1);
    content: "";
    z-index: -2;
    transition: transform .3s;
}
 
button#start-btn:hover::after,
button#prev-btn:hover::after,
button#next-btn:hover::after,
button#submit-btn:hover::after {
    transform: translateY(-80%);
    transition: transform .3s;
}
 
.form-page .progress {
    border-radius: 0px !important;
}

 
.form-page .progress .progress-bar {
    background-color: #b8b2e0;
}
 
.q__question {
    position: relative;
}
 
.q__question:not(:last-child) {
    margin-bottom: 10px;
}
 
.question__input {
    position: absolute;
    left: -9999px;
}
 
.question__label {
    position: relative;
    display: block;
    /* line-height: 40px; */
    line-height: 1.5em;
    min-height: 50px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background-color: #fff;
    /* padding: 5px 20px 5px 50px; */
    padding: 13px 15px 5px 50px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;  


}
/* .question__label::first-line {    
    line-height: 40px;
 }
  */
.question__label:hover {
    border-color: var(--red-base);
}
 
.question__label:before,
.question__label:after {
    position: absolute;
    content: "";
}
 
.question__label:before {
    top: 12px;
    left: 10px;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: inset 0 0 0 1px #ced4da;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}
 
.question__input:checked+.question__label:before {
    background-color: var(--red-base);
    box-shadow: 0 0 0 0;
}
 
.question__input:checked+.question__label:after {
    top: 22px;
    left: 18px;
    width: 10px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
 
.form-check-input:checked,
.form-check-input:focus {
    background-color: var(--red-base) !important;
    outline: none !important;
    border: none !important;
}
 
input:focus {
    outline: none;
}
 
#input-container {
    display: inline-block;
    box-shadow: none !important;
    margin-top: 36px !important;
}
 
label.form-check-label.radio-lb {
    margin-right: 15px;
}
 
#q-box__buttons {
    text-align: center;
}
 
input[type="text"],
input[type="email"] {
    padding: 8px 14px;
}
 
input[type="text"]:focus,
input[type="email"]:focus {
    border: 1px solid var(--red-base);
    border-radius: 5px;
    outline: 0px !important;
    -webkit-appearance: none;
    box-shadow: none !important;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}
 
.form-check-input:checked[type=radio],
.form-check-input:checked[type=radio]:hover,
.form-check-input:checked[type=radio]:focus,
.form-check-input:checked[type=radio]:active {
    border: none !important;
    -webkit-outline: 0px !important;
    box-shadow: none !important;
}
 
.form-check-input:focus,
input[type="radio"]:hover {
    box-shadow: none;
    cursor: pointer !important;
}
 
#success {
    display: none;
}
 
#success h4 {
    color: var(--red-base);
}
 
.back-link {
    font-weight: 700;
    color: var(--red-base);
    text-decoration: none;
    font-size: 18px;
}
 
.back-link:hover {
    color: var(--red-dark);
}

/* PRELOADER */
 
#preloader-wrapper {
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
}
 
#preloader {
    background-image: url('../images/dmi_preloader.png');
    width: 120px;
    height: 119px;
    border-top-color: #fff;
    border-radius: 100%;
    display: block;
    position: relative;
    top: 50%;
    left: 50%;
    margin: -75px 0 0 -75px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    z-index: 1001;
}
 
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
 
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
 
#preloader-wrapper .preloader-section {
    width: 51%;
    height: 100%;
    position: fixed;
    top: 0;
    background: var(--background-color);
    z-index: 1000;
}
 
#preloader-wrapper .preloader-section.section-left {
    left: 0
}
 
#preloader-wrapper .preloader-section.section-right {
    right: 0;
}
 
.loaded #preloader-wrapper .preloader-section.section-left {
    transform: translateX(-100%);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
 
.loaded #preloader-wrapper .preloader-section.section-right {
    transform: translateX(100%);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
 
.loaded #preloader {
    opacity: 0;
    transition: all 0.3s ease-out;
}
 
.loaded #preloader-wrapper {
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.3s 1s ease-out;
}

/* MEDIA QUERIES */

@media (min-width: 1400px) {
    #steps-container {
        width: 800px;
    }
}
 
@media (min-width: 990px) and (max-width: 1199px) {
    #title-container {
        padding: 80px 28px 28px 28px;
    }
    /* #steps-container {
        width: 85%;
    } */
    
    #qbox-container {
        min-height: 820px;
    }
}
 
@media (max-width: 991px) {
    #title-container {
        padding-top: 30px;
        min-height: inherit;
    }
    #steps-container {
        width: 100%;
        min-height: 400px;
    }
    #qbox-container {
        min-height: 630px;
    }
    .qbox-container-result {
        padding-top: 30px  !important;
    }
}
 
@media (max-width: 767px) {
    #title-container {
        padding-top: 50px;
    }
    #steps-container {
        width: 100%;
        min-height: 400px;
    }
    #qbox-container {
        padding-top: 30px;
    }
    .qbox-container-result {
        padding: 20px !important;
        padding-top: 20px  !important;
    }
}
 
@media (max-width: 560px) {
    #title-container {
        padding-top: 45px;
    }
    #qbox-container {
        padding: 30px;
        padding-top: 40px;
    }
    .qbox-container-result {
        padding: 10px !important;
        padding-top: 10px  !important;
    }
}


.result-page table tr:last-child, .result-page table tr:last-child td {
    border-bottom: none;
}

.custom-tooltip {
    --bs-tooltip-bg: var(--bs-secondary);
  }