
select {
    appearance: none;
}

.form-control, .form-control option {
    font-family: Montserrat,sans-serif;
    font-size: 16px;
    line-height: 16px;
}

textarea.form-control, input.form-control[type="text"], input.form-control[type="email"], select.form-control {
    background: #fff;
    padding: 12px 16px;
    border: 1px solid #002235;
    outline: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 30px;
}


textarea.form-control:focus, input.form-control[type="text"]:focus, input.form-control[type="email"]:focus, select.form-control:focus {
    border-width: 2px;
}

input.form-control[type="text"], input.form-control[type="email"], select.form-control {
    height: 56px;
}

textarea.form-control {
    min-height: 130px;
}

.ktc-default-section {
    width: 100%;
}

.ktc-radio.ktc-radio-list, .ktc-checkbox-list, .advanced-radio-buttons {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
}

input[type="radio"], input[type="checkbox"] {
    width: 20px;
    min-width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 16px;
    margin-right: 10px;
    accent-color: #00857f;
}

.ktc-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.ktc-radio label, .ktc-radio input, .ktc-checkbox label, .ktc-checkbox input, .advanced-radio-buttons label, .advanced-radio-buttons input, input[type="submit"] {
    cursor: pointer;
}

.ktc-radio label {
    vertical-align: middle;
}

label.control-label {
    width: fit-content;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 8px;
    display: block;
}

.ktc-default-section input[type="submit"], .ktc-default-section ~ input[type="submit"] {
    background: #00857f;
    padding: 11px 18px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    border: none;
    transition: transform .2s cubic-bezier(.25,.46,.45,.94),-webkit-transform .2s cubic-bezier(.25,.46,.45,.94);
}

input[type="submit"]:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    transition: transform .2s cubic-bezier(.25,.46,.45,.94),-webkit-transform .2s cubic-bezier(.25,.46,.45,.94);
}

.form-heading {
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
}

form {
    /* the counter increment happens before
     the counter value gets used so resetting to zero
     actually counts up from 1 */
    counter-set: step 0;
}

.multistep-form {
    scroll-margin: 180px;
}

.form-field {
    scroll-margin: 180px;
}

.form-multistep {
    margin-top: 25px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.form-multistep .step-index::before {
    content: counter(step);
}

.form-multistep .step-index {
    counter-increment: step;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50px;
    background-color: #00857f;
    text-align: center;
    top: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 24px;
}

.form-multistep .step-description {
    text-align: center;
    font-weight: 600;
}

.acknowledge-and-accept {
    margin-bottom: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.acknowledgements li {
    position: relative;
}

.acknowledgements li::before {
    content: "";
    border-radius: 50%;
    width: 3px;
    height: 3px;
    top: 10px;
    left: -23px;
    background: #000;
    position: absolute;
    box-sizing: border-box;
}

.field-validation-error {
    color: #d11141;
    margin-top: -1.5em;
    margin-bottom: 1.5em;
}

.input-validation-error {
    border: 2px solid #d11141 !important;
}

.form-information {
    position: relative;
    margin-left: 40px;
    margin-bottom: 0;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    color: #00857f;
}

.form-information:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%) translateX(-100%);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg aria-hidden='true' data-prefix='fal' data-icon='exclamation-circle' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='svg-inline--fa fa-exclamation-circle fa-w-16 fa-3x'%3E%3Cpath fill='%23007A74' d='M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-11.49 120h22.979c6.823 0 12.274 5.682 11.99 12.5l-7 168c-.268 6.428-5.556 11.5-11.99 11.5h-8.979c-6.433 0-11.722-5.073-11.99-11.5l-7-168c-.283-6.818 5.167-12.5 11.99-12.5zM256 340c-15.464 0-28 12.536-28 28s12.536 28 28 28 28-12.536 28-28-12.536-28-28-28z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

.newsletter-subscription form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.newsletter-subscription form input[type="submit"],
form[id^=form-UpdateYourMobileDetails] input[type="submit"] {
    color: #fff;
    font-weight: 700;
    background: #002235;
    border: none;
    border-radius: 4px;
    padding: 1em;
    height: fit-content;
    margin-bottom: 30px;
}

form[id^=form-UpdateYourMobileDetails] input[type="submit"] {
    position: relative;
    float: right;
    top: -59px;
}

.newsletter-subscription form input[type="email"] {
    max-width: 300px;
    width: 300px;
}

form[id^=form-UpdateYourMobileDetails] textarea.form-control,
form[id^=form-UpdateYourMobileDetails] input.form-control[type="text"],
form[id^=form-UpdateYourMobileDetails] input.form-control[type="email"],
form[id^=form-UpdateYourMobileDetails] select.form-control {
    background: #fff;
    padding: 12px 16px;
    border: 1px solid #002235;
    outline: none;
    max-width: 100%;
    width: 100%;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 5px;
}

form[id^=form-UpdateYourMobileDetails] .form-heading {
    display: none;
}

.explanation-text {
    margin-left: 16px;
    margin-top: -1.5em;
    margin-bottom: 30px;
    padding: 0;
    color: #6a6a6a;
    font-size: 12px;
    font-weight: inherit;
    display: block;
}

input.form-control[type="text"][id*="Postcode"] {
    width: 200px;
}

.static-content {
    margin-bottom: 30px;
}

.ktc-radio-list ~ .field-validation-error {
    margin-left: 16px;
}

.ktc-file-component-wrapper {
    font-weight: 700;
    width: fit-content;
    position: relative;
    border-radius: 3px;
    transition: transform .2s cubic-bezier(.25,.46,.45,.94),-webkit-transform .2s cubic-bezier(.25,.46,.45,.94);
    margin-bottom: 30px;
}

.ktc-file-component-wrapper label {
    color: white;
    background: #002235;
    padding: 12px 8px;
    border-radius: 3px;
    cursor: pointer;
    display: block;
    transition: transform .2s cubic-bezier(.25,.46,.45,.94),-webkit-transform .2s cubic-bezier(.25,.46,.45,.94);
    z-index: 1;
    margin-bottom: 4px;
}

.ktc-file-component-wrapper label:hover {
    transform: scale(115%);
}

.ktc-file-component-wrapper label * {
    vertical-align: middle;
}

.ktc-uploader-icon-button {
    vertical-align: middle;
    display: inline-block;
    background: yellow;
    margin-right: 5px;
    background: url('/img/icon-upload.ab0cf451.svg');
    background-size: 100% 100%;
    width: 20px;
    height: 20px;
}

input[type="file"] {
    opacity: 0;
    font-size: 0;
    position: absolute;
    width: 0;
    height: 0;
    cursor: pointer;
}

.ktc-uploader-text {
    font-size: 0;
}

.ktc-uploader-text:after {
    vertical-align: middle;
    font-size: 14pt;
    margin: 8px;
    content: 'UPLOAD FILE';
}

.ktc-uploader-replacement {
    vertical-align: middle;
    font-weight: 500;
    color: #464546;
}

.ktc-uploader-text-button {
    font-size: 0;
    vertical-align: middle;
    cursor: pointer;
}

.ktc-uploader-text-button:before {
    color: #d11141;
    background: url('data:image/svg+xml,<svg class="svg-inline--fa fa-times fa-w-10" aria-hidden="true" focusable="false" data-prefix="far" data-icon="times" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" data-fa-i2svg=""><path fill="%23d11141" d="M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z"/></svg>');
    content: '';
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
    display: inline-block;
    color: orange;
}

.formwidget-submit-text::before {
    content: url("data:image/svg+xml,%3Csvg enable-background='new 0 0 37 37' version='1.1' viewBox='0 0 37 37' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' class='chw-form-thankyou__icon' style='width: 200px; margin: auto'%3E%3Cpath d='m30.5 6.5c6.6 6.6 6.6 17.4 0 24s-17.4 6.6-24 0-6.6-17.4 0-24c6.6-6.7 17.4-6.7 24 0z' fill='none' stroke='%23007a74' stroke-linejoin='round' stroke-miterlimit='10' stroke-width='3' class='chw-form-thankyou__circle path'%3E%3C/path%3E%3Cpolyline points='11.6 20 15.9 24.2 26.4 13.8' fill='none' stroke='%23007a74' stroke-linejoin='round' stroke-miterlimit='10' stroke-width='3' class='chw-form-thankyou__tick path'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 200px;
    display: block;
    width: 160px;
    margin: auto;
    margin-bottom: 24px;
}

.formwidget-submit-text {
    padding: 10px 60px;
}

.limited-text-area {
    margin-bottom: 30px;
}

.limited-text-area textarea.form-control {
    margin-bottom: 0;
}
.limited-text-area .characters-remaining-text {
    margin-left: 16px;
    color: #6a6a6a;
    font-size: 12px;
}

.two-columns-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 10px;
}
.two-columns-section > * {
    flex-basis: 0;
    flex-grow: 1;
}

.ktc-default-section input[type="text"].form-control, .ktc-default-section textarea.form-control {
    width: min(400px, 100%);
}

.two-columns-section input.form-control[type="text"],
.two-columns-section textarea.form-control,
.two-columns-section input.form-control[type="email"],
.two-columns-section select.form-control {
    max-width: 100%;
    width: 100%;
}

.two-columns-section .form-control {
    width: 100%;
}
