/* GENERAL */
body {
    background: #f7f9ff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #555;
}
h1, h2, h3, h4, h5, h6 {
    color: #00011c;
}
p {
    margin-bottom: 24px;
    line-height: 1.9;
}
label {
    font-size: 16px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #00011c;
}

/* TITLE */
#title-container {
    min-height: 460px;
    height: 100%;
    color: #fff;
    background-color: #DC3545;
    text-align: center;
    padding: 80px 28px 28px 28px;
    box-sizing: border-box;
    position: relative;
}
#title-container h2 {
    font-size: 45px;
    font-weight: 800;
    color: #fff;
    padding: 0;
    margin-bottom: 0px;
}
#title-container h3 {
    font-size: 25px;
    font-weight: 600;
    color: #82000a;
    padding: 0;
}
#title-container p {
    font-size: 13px;
    padding: 0 25px;
    line-height: 20px;
}
.covid-image {
    width: 300px;
    margin-bottom: 15px;
}

/* FORMS */
#qbox-container {
    /* background: url(../img/corona.png); */
    /* background-repeat: repeat; */
    /* position: relative; */
    padding: 60px;
    min-height: 600px;
}
#steps-container {
    margin: auto;
    width: 500px;
    min-height: 420px;
}

.progress {
    border-radius: 0px !important;
}

.form-check-input:checked, .form-check-input:focus {
    background-color: #DC3545 !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;
}

input[type="text"]:focus, input[type="email"]:focus {
    border: 1px solid #DC3545;
    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: #DC3545;
}

/* PRELOADER */
#preloader-wrapper {
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
}
#preloader {
    /* background-image: url('../img/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: #F7F9FF;
    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;
}
.bg-semi-transparent {
    background: rgb(204,204,204); /* Fallback for older browsers without RGBA-support */
    background: rgba(204,204,204,0.3);
}

/* MEDIA QUERIES */
@media (min-width: 990px) and (max-width: 1199px) {
    #title-container {
        padding: 80px 28px 28px 28px;
    }
    #steps-container {
        width: 85%;
    }
}
@media (max-width: 991px) {
    #title-container {
        padding: 30px;
        min-height: inherit;
    }
}
@media (max-width: 767px) {
    #qbox-container {
        padding: 30px;
    }
    #steps-container {
        width: 100%;
        min-height: 400px;
    }
    #title-container {
        padding-top: 50px;
    }
}
@media (max-width: 560px) {
    #qbox-container {
        padding: 40px;
    }
    #title-container {
        padding-top: 45px;
    }
}

#toast-container > div {
    opacity: 1;
}