@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root
{
    --primary-gradiant: linear-gradient( 70deg, rgb(188,52,62) 0%, rgb(240,70,81) 100%);
    --primary-color: rgb(20, 154, 119);
    --secondary-color: #149A77;
    --text-color: rgb(0, 0, 0);
    --field-color: rgb(255,255,255);
}
  
body
{
    font-family: "Josefin Sans", sans-serif;
    background: #FFFFFF;
}

main
{
    /*min-height: 100vh;*/
    width: 100%;
    display: grid;
    /*padding: 100px 0;*/
    align-content: center;
}
.step-number
{
    /*position: absolute;*/
    top: 0;
    right: 0;
    height: 50px;
}
.step-number-inner
{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #000;
    font-weight: 300;
    text-transform: uppercase;
}
.step-number-inner span
{
    margin-left: 5px;
}
.side-img
{
    width: 100%;
    height: 100%;
    position: relative;
    display: grid;
    align-content: center;
}
.side-img img
{
    width: auto;
}
.step-bar
{
    display: flex;
    /*justify-content: space-between;*/
    height: auto;
    width: 100%;
    /*position: absolute;*/
    left: 60px;
    bottom: 60px;
}
.step-bar .bar
{
    background-color: rgb(226, 226, 226);
    /*width: 18%;*/
    height: 5px;
    border-radius: 0px;
    overflow: hidden;
      
}
.step-bar .bar .fill
{
    background-color: var(--primary-color);
    transition: 0.5s linear;
    width: 0;
    height: 100%;
}
/*.wrapper
{
    width: 70%;
    margin: 0 auto 0 100px;
}*/
.question
{
    position: absolute;
    width: 20%;
    height: auto;
    top: 34%;
    right: 24%;
    transform: rotate(180deg);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}
.question img
{
    width: 100%;
}



.q-heading
{
  font-size: 36px;
  font-family: "Josefin Sans", sans-serif;
  color: var(--text-color);
  font-weight: 300;
  text-align: center;
  margin-bottom: 15px;
}
form
{
    overflow: hidden;
}
.form-inner
{
    width: 99%;
    z-index: 10;
    position: relative;
    margin: auto auto;
}


.radio-field
{
    position: relative;
    width: 100%;
    
    margin-bottom: 10px;
    padding: 15px 0 15px 45px;
}
.radio-field input
{
    -webkit-appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: solid 1px rgb(225, 225, 225);
    border: solid 4px transparent;
    border-radius: 7px;
    background-color: #f2f2f2;
    box-shadow: 0px 2px 21px 0px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: 0.4s;

}
.radio-field label
{
    position: relative;
    z-index: 10;
    font-size: 20px;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 300;
    color: var(--text-color);
    pointer-events: none;
    padding-left: 15px;
    
    display: inline-block;
    cursor: pointer;
}

.radio-field input:checked
{
    background: var(--secondary-color);
    outline: none;
}
/*.radio-field input:checked::before
{
    content: "";
    position: absolute;
    border-left: solid 5px var(--secondary-color);
    border-bottom: solid 5px var(--secondary-color);
    top: 29px;
    left: 15px;
    width: 7px;
    height: 1px;
    transform: rotate(-45deg);
    border-radius: 3px;
    opacity: 0;
    z-index: 99;
}*/


/* Hide the default radio button */




.radio-field .fa-check {
    position: absolute;
    z-index: 9999;
    top: 50%;
    left: 21px;
    transform: translateY(-50%);
    color: var(--secondary-color);
    display: none;
    font-size: 20px;
}
.radio-field input:checked + .fa-check {
    display: block;
}

.radio-field .img_radio_field .fa-check {
    top: auto;
    bottom: 0;
    left: 11px;
}
.radio-field .img_radio_field input:checked + .fa-check {
    display: block!important;
}







.radio-field label::before
{
    content: "";
    position: absolute;
    top: 0px;
    left: -30px;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid grey;
    opacity: 1;
    background: #fff;
    z-index: 1;
}
.next-prev
{
    width: auto;
    height: auto;
    position: fixed;
    bottom: 0;
    z-index: 9999;
}

.next-prev button
{
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    font-size: 41px;
    font-family: "Josefin Sans", sans-serif;
    color: #5e5d5d;
    opacity: 0.4;
    font-weight: 300;
    text-transform: uppercase;
}
  
.next-prev .next, .next-prev .apply

{
    background: var(--primary-gradiant);
    border: 0;
    color: var(--field-color);
}
.next-prev .prev
{
    margin-right: 40px;
}

.next-prev button i
{
    margin: 0 7px;
}
#error div
{
    position: fixed;
    top: 20px;
    left: 20px;
}
  