body {
    font-family: 'Montserrat', 'serif';
}

.powered-by span {
    align-self: center;
    color: #515151;
}

.powered-by-logo {
    max-height: 30px;
}

.container {
    margin-left: 5vw;
    margin-right: 5vw;
    height: 100%;
    background-color: #bebebee6;
    border-radius: 75px;
    transition: all 0.5s ease-in-out;
}

.w3-half {
    height: 100%;
    transition: all 0.5s ease-in-out;
}

.tab {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: center;
    height: 100%;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: all 0.5s ease-in-out;
}

#div_membership_types {
    padding: 30px;
    width: 100%;
}

.membership-type {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-wrap: wrap;
    border: 1px solid #b3b3b3;
    border-radius: 25px;
    margin-bottom: 10px;
}

#tab_memberships .membership-type.selected {
    border-color: var(--primary-colour);
}

.membership-type .type-header {
    display: flex;
    flex: 1 100%;
    justify-content: flex-start;
    font-family: 'Montserrat', 'serif';
}

.membership-type .type-info {
    flex: 1 60%;
    text-align: left;
}

.membership-type .type-price {
    flex: 1 35%;
    display: block;
    font-size: 1.8em;
    color: var(--primary-colour);
}

.membership-type .type-price span {
    display: inline-block;
    color: #555555;
}

.membership-type i {
    font-size: 2em;
    margin-right: 20px;
    padding-bottom: 15px;
}

.tab .title {
    font-size: 1.5em;
    font-weight: 600;
    display: block;
    font-family: 'Montserrat', serif;
    color: #484848;
}

.tab .description {
    font-size: 1.2em;
    font-weight: 100;
    display: block;
}

.badge {
    background-color: rgb(200, 1, 200);
    font-size: 0.6em;
    color: white!important;
    border-radius: 25px;
    padding: 2px;
}

.badge.large {
    font-size: 1em;
    padding: 5px 30px 5px 30px;
}

.badge-free-days {
    font-size: 1em;
    padding: 5px;
    width: 100%;
}

.logo {
    margin-top: 15px;
    max-height: 100px;
    transition: all 0.5s ease-in-out;
}

.capitalise {
    text-transform: capitalize;
}

#tab_membership_info span,
#tab_membership_info_desktop span {
    width: 100%;
}

span.fineprint {
    font-size: 0.9em;
    color: #565c5f;
    display: block;
}

span.price {
    display: block;
    font-size: 1.8em;
    color: #555555;
}

div.fullsize {
    width: 100%;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-colour);
}


/* mobile verification */

.verification-container {
    display: flex;
    margin: auto;
    width: 100%;
    justify-content: center;
}

.verification-container input[type="text"] {
    width: 15px;
    text-align: center;
    font-size: 2em;
    width: 10%;
    margin: 2px;
    padding: 0px;
    min-width: 5%;
}

.verification-container input[type="text"].invalid {
    border: 3px solid red;
}

#div_guarantor_mobile_verification .verification-container input[type="text"] {
    border: 1px solid grey;
}

.iti input {
    font-size: 20px;
}

#tab_mobile_verification {
    padding-top: 20px;
}


/* progress stages */

#tab_progress button {
    font-size: 1.5em;
    background-color: white;
    color: var(--primary-colour);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: auto;
}

#tab_progress button.disabled {
    background-color: #b3b3b3;
}

#tab_progress button i {
    /*float: left;
    font-size: 1.5em;*/
    color: #717171;
}

#tab_progress button.complete i {
    color: #00c300;
}

#tab_progress button.progress i {
    color: #ffa500;
}

@media screen and (max-width: 768px) {
    #tab_progress {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: center;
    }
    #tab_progress button {
        width: auto;
        justify-content: center;
        padding: 5px 10px 5px 10px;
        background: none;
        font-size: 0.9em;
    }
    #tab_progress i {
        display: none;
    }
    #tab_progress button.progress {
        border: 1px solid var(--primary-colour);
        color: var(--primary-colour);
    }
    #tab_progress button.disabled {
        background: none;
        color: grey;
    }
    #tab_progress button.complete {
        color: var(--primary-colour);
    }

    #btnChangeMembership {
        width: 100%;
    }
}


/* personal details tab */

.box {
    margin-top: 30px;
    background-color: #dedede;
    border-radius: 10px;
    padding: 10px;
    display: block;
    width: 100%;
    filter: drop-shadow(2px 2px 2px grey);
    margin-bottom: 20px;
}

.gridtable {
    width: 100%;
}

.gridtable label {
    color: var(--primary-colour);
    font-size: 18px;
}

.tooltip {
    position: relative;
    display: inline-block;
    margin-top: -25px;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: red;
    color: white;
    text-align: center;
    border-radius: 5px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    /* margin-left: -60px; */
    opacity: 0;
    transition: opacity 0.3s;
}

.inp {
    width: 100%;
    background-color: white;
    border: none;
    border-radius: 5px;
    font-size: 20px;
}

button.primary {
    width: auto;
    padding: 8px 30px 8px 30px;
    border-radius: 25px;
}

span.checkmark {
    border: 1px solid grey;
}

.radio_container {
    display: inline;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio_checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
    border: 1px solid grey;
}

.radio_container input:checked~.radio_checkmark {
    background-color: var(--primary-colour);
}

.radio_container input:checked~.radio_checkmark:after {
    display: block;
}

.radio_container .radio_checkmark:after {
    top: 8px;
    left: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio_checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.td_50 {
    width: 50%;
}

.td_25 {
    width: 25%;
}

.td_75 {
    width: 75%;
}

@media screen and (max-width:768px) {
    .gridtable,
    .gridtable thead,
    .gridtable tbody {
        display: block;
        width: 100%;
    }
    .gridtable tr {
        display: grid;
        width: 100%;
        /*grid-template-columns: auto auto auto;*/
    }
    .gridtable td {
        width: 100%;
    }
    .td_25,
    .td_50,
    .td_75 {
        width: 100%;
    }
    .tabcontent {
        padding: 0px;
    }
    #welcome_header {
        padding-top: 12px;
        font-size: 34px;
    }
    .tab button {
        padding: 14px 12px;
    }
}


/* checkbox */

.Checkbox_container.terms {
    display: inline-grid!IMPORTANT;
}

.Checkbox_container {
    /* display: inline-flex; */
    /* display: inline-grid; */
    display: grid;
    position: relative;
    padding-left: 35px;
    margin-bottom: 3px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.Checkbox_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.Checkbox_container input:checked~.checkmark {
    background-color: var(--primary-colour);
}

.Checkbox_container:hover input~.checkmark {
    background-color: #616161;
}

.Checkbox_container input:checked~.checkmark:after {
    display: block;
}

.Checkbox_container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Pre-screening Questions */

#div_screening_questions h1,
#div_screening_questions h2,
#div_screening_questions h3,
#div_screening_questions h4,
#div_screening_questions h5,
#div_screening_questions h6,
#div_screening_questions p {
    text-align: left;
}

.specify_container {
    display: none;
    width: 100%;
}

.specify_container label {
    text-align: left;
    display: block;
    padding-left: 0;
    color: var(--primary-colour)!important;
}

.answer-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.radio-container {
    justify-content: flex-start;
}

.answer-checkbox,
.answer-radio {
    width: 50%;
    text-align: left;
}

.radio-container .answer-radio {
    width: auto;
}


/* add padding to all radio answer, except last answer */

.radio-container .answer-radio:not(:last-child) {
    padding-right: 20px;
}

@media screen and (max-width: 768px) {
    .answer-checkbox,
    .answer-radio {
        width: 100%;
    }
}


/* input and labels */

label.small {
    font-size: 0.8em;
    position: relative;
    bottom: -5px;
    color: var(--primary-colour)!important;
    float: left;
}

input::placeholder {
    color: #b3b3b3;
    font-size: 0.8em;
}

.content-wrapper {
    display: flex;
    justify-content: center;
}


/* overall design on mobile */

@media screen and (max-width: 768px) {
    .content-wrapper {
        padding: 0;
        margin: 0;
    }
    img.hero {
        opacity: 0.05;
    }
    .container {
        padding: 0;
        margin: 0;
        background: none!important;
        max-width: 95%;
    }
}

@media screen and (max-width: 600) {
    .container {
        max-width: 100%;
    }
}

.has-label .iti {
    padding-left: 0px!important;
}

.asterisk {
    color: red;
}

.screening-answer-required {
    border: 2px solid red;
    border-radius: 10px;
}

#span_complete_qr {
    text-align: center;
    text-align: -webkit-center;
}

#span_complete_qr img {
    /*max-width: 50vw;
    position: relative;
    left: 25%;*/
    display: block;
    transform: rotate(45deg);
    padding: 60px;
}

#div_complete_staff_hours {
    justify-content: center;
}

#div_complete_staff_hours td {
    padding: 2px 15px;
}

#div_complete_staff_hours table tr:first-child td {
    color: var(--primary-colour);
    font-weight: bold;
}