:focus {
    outline: 0 none;
}

button,
input,
optgroup,
select,
textarea, html input[type="button"],
input[type="reset"],
input[type="submit"], button[disabled],
html input[disabled], button::-moz-focus-inner,
input::-moz-focus-inner, input[type="checkbox"],
input[type="radio"], input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button, input[type="search"], input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    border: none;
    background-image: none;
    background-color: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background: none;
}

.gform_footer input.button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
    font-weight: bold;
    display: inline-block;
    border-radius: 2em;
    padding: 0.5em 1.5em;
    text-decoration: none;
    line-height: 1;
    text-align: center;
    border: solid 1px;
    background-color: inherit;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    vertical-align: baseline;
    cursor: pointer;
    color: inherit;
    transition: all 250ms;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    text-decoration: none;
    /* filter: contrast(2); */
}


/**************************************
 * Forms
 **************************************/
button,
input,
select,
textarea {
    font-size: 100%; /* Corrects font size not being inherited in all browsers */
    margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
    vertical-align: baseline; /* Improves appearance and consistency in all browsers */
    color: inherit;
    background-color: transparent;
}

select option {
    color: #000;
    background-color: #fff;
}

::placeholder {
    color: var(--colour-red);
    opacity: 0.4;
}

.registered-content-box .login-form ::placeholder {
    color: var(--colour-blue);
}

:focus::placeholder {
    color: var(--colour-grey2);
    font-weight: normal;
}

input[type="checkbox"],
input[type="radio"] {
    padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
    -webkit-appearance: textfield; /* Addresses appearance set to search field in S5, Chrome */
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
    border: 0;
    padding: 0;
}

input[type="tel"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    /* prevent iOS zoom */
    padding: 5px 15px;
    line-height: 20px;
    color: var(--colour-grey3);
    border: 1px solid var(--colour-grey3);
}

input[type="tel"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--colour-grey3);
}

::-webkit-search-cancel-button {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.site-wrap .centaur-html-widget__content select,
.site-wrap input[type="tel"],
.site-wrap input[type="text"],
.site-wrap input[type="email"],
.site-wrap input[type="url"],
.site-wrap input[type="password"],
.site-wrap input[type="search"],
.site-wrap select,
.site-wrap textarea {
    /* prevent iOS zoom */
    line-height: 20px;
    padding: 10px 15px !important;
    border: 1px solid var(--colour-grey2);
    background-color: transparent;
    color: inherit;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.site-wrap select {
    background-color: transparent;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}

.site-wrap textarea {
    max-width: 100%;
    min-width: 100%;
}

.site-wrap select::-ms-expand {
    display: none;
}

.site-wrap select option {
    font-weight: normal;
}

.site-wrap input[type="tel"]:hover,
.site-wrap input[type="text"]:hover,
.site-wrap input[type="email"]:hover,
.site-wrap input[type="url"]:hover,
.site-wrap input[type="password"]:hover,
.site-wrap input[type="search"]:hover,
.site-wrap textarea:hover,
.site-wrap select:hover{
    border-color: rgba(59, 153, 252, .7);
}

.site-wrap input[type="tel"]:focus,
.site-wrap input[type="text"]:focus,
.site-wrap input[type="email"]:focus,
.site-wrap input[type="url"]:focus,
.site-wrap input[type="password"]:focus,
.site-wrap input[type="search"]:focus,
.site-wrap textarea:focus,
.site-wrap select:focus {
    border-color: rgba(59, 153, 252, .7);
    box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
    box-shadow: 0 0 0 3px -moz-mac-focusring;
    color: inherit;
    outline: none;
}

.site-wrap .centaur-html-widget__content select,
.site-wrap .centaur-html-widget input[type="tel"],
.site-wrap .centaur-html-widget input[type="text"],
.site-wrap .centaur-html-widget input[type="email"],
.site-wrap .centaur-html-widget input[type="url"],
.site-wrap .centaur-html-widget input[type="password"],
.site-wrap .centaur-html-widget input[type="search"],
.site-wrap .centaur-html-widget textarea {
    color: var(--colour-black);
    margin-bottom: 15px;
}

/* Select icon */
.site-wrap .centaur-html-widget__content select {
    background-image: linear-gradient(45deg, transparent 50%, #000000 50%), linear-gradient(135deg, #000000 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
}

.site-wrap input[type="tel"]:focus,
.site-wrap input[type="text"]:focus,
.site-wrap input[type="email"]:focus,
.site-wrap input[type="url"]:focus,
.site-wrap input[type="password"]:focus,
.site-wrap input[type="search"]:focus,
.site-wrap textarea:focus,
.site-wrap select:focus {
    border-color: var(--colour-grey2);
}

.site-wrap .centaur-html-widget__content input[type="tel"]:focus,
.site-wrap .centaur-html-widget__content input[type="text"]:focus,
.site-wrap .centaur-html-widget__content input[type="email"]:focus,
.site-wrap .centaur-html-widget__content input[type="url"]:focus,
.site-wrap .centaur-html-widget__content input[type="password"]:focus,
.site-wrap .centaur-html-widget__content input[type="search"]:focus,
.site-wrap .centaur-html-widget__content textarea:focus,
.site-wrap .centaur-html-widget__content select:focus {
    background-color: var(--colour-grey2);
}

textarea {
    overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
    padding-left: 3px;
    vertical-align: top; /* Improves readability and alignment in all browsers */
    width: 100%;
}

label {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: inline-block;
    font-weight: bold;

}

label sup {
    color: var(--colour-red);
}

/* Base for label styling */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: relative;
    left: 0;
    top: 0;
    cursor: pointer;
    margin-right: 0.5em;
    width: 1.6em;
    height: 1.6em;
    display: inline-block;
    vertical-align: -0.3em;

    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: 0;
}

/* close approximation in IE */
::-ms-check {
    margin-left: 0;
    margin-right: 0;
    width: 1em;
    height: 1em;
    padding: 0.2em;
    border: 1px solid var(--colour-grey2);
    background: var(--colour-white);
    border-radius: 0.2em;
    box-shadow: inset 0 0.125em 0 rgba(0, 0, 0, .1);
    color: var(--colour-green);
}

/* checkbox aspect */
[type="checkbox"]:not(:checked):before,
[type="checkbox"]:checked:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;

    border: 1px solid var(--colour-grey2);
    background: var(--colour-white);
    border-radius: 0.2em;
    box-shadow: inset 0 0.125em 0 rgba(0, 0, 0, .1);
}

/* checked mark aspect */
[type="checkbox"]:not(:checked):after,
[type="checkbox"]:checked:after {
    font-family: var(--ff-icon);

    content: '\e62d';

    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;

    vertical-align: middle;
    line-height: 2.2em;
    text-align: center;
    color: var(--colour-grey3);
    transition: all .2s;
}

/* checked mark aspect changes */
[type="checkbox"]:not(:checked):after {
    opacity: 0;
    transform: scale(0);
}

[type="checkbox"]:checked:after {
    opacity: 1;
    transform: scale(1);
}

/* disabled checkbox */
[type="checkbox"]:disabled:not(:checked):before,
[type="checkbox"]:disabled:checked:before {
    box-shadow: none;

    border-color: var(--colour-grey3);
    background-color: var(--colour-grey2);
}

[type="checkbox"]:disabled:checked:after {
    color: var(--colour-grey3);
}

[type="checkbox"]:disabled {
    color: var(--colour-grey2);
}

/* accessibility */
[type="checkbox"]:checked:focus:before,
[type="checkbox"]:not(:checked):focus:before {
    border: 1px solid var(--colour-grey3);
}

[type="checkbox"]:focus,
[type="checkbox"]:active {
    outline: none;
}

/* Base for label styling */
[type="radio"]:not(:checked),
[type="radio"]:checked {
    font-size: 80%;
    position: relative;
    cursor: pointer;
    margin-right: 0.25em;
    height: 1.6em;
    width: 1.6em;
    vertical-align: middle;
}

/* radio aspect */
[type="radio"]:not(:checked):before,
[type="radio"]:checked:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--colour-grey2);
    background: var(--colour-white);
    border-radius: 100px;
    box-shadow: inset 0 0.125em 0 rgba(0, 0, 0, .1);
}

/* checked mark aspect */
[type="radio"]:not(:checked):after,
[type="radio"]:checked:after {
    content: '';
    position: absolute;
    top: 0.6em;
    left: 0.55em;
    vertical-align: middle;
    width: 0.5em;
    height: 0.5em;
    text-align: center;
    background-color: var(--colour-green);
    border-radius: 100px;
    box-shadow: inset 0 0.125em 0 rgba(0, 0, 0, .2);
    transition: all .2s;
}

/* checked mark aspect changes */
[type="radio"]:not(:checked):after {
    opacity: 0;
    transform: scale(0);
}

[type="radio"]:checked:after {
    opacity: 1;
    transform: scale(1);
}

/* disabled checkbox */
[type="radio"]:disabled:not(:checked):before,
[type="radio"]:disabled:checked:before {
    box-shadow: none;
    border-color: var(--colour-grey2);
    background-color: var(--colour-grey1);
}

[type="radio"]:disabled:checked:after {
    color: var(--colour-grey3);
}

[type="radio"]:disabled {
    color: var(--colour-grey3);
}

/* accessibility */
[type="radio"]:checked:focus:before,
[type="radio"]:not(:checked):focus:before {
    border: 1px solid var(--colour-grey3);
}

[type="radio"]:focus,
[type="radio"]:active {
    outline: none;
}

/* select fields */
.fancy-select {
    position: relative;
    display: inline-block;
}

.fancy-select select::-ms-expand {
    display: none;
}

.fancy-select select {
    font-size: inherit;
    line-height: 22px;
    height: 42px;
    padding: 8px 55px 9px 15px;
    border: 1px solid var(--colour-grey2);
    background: none;
    color: inherit;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.fancy-select:after {
    font-family: var(--ff-icon);
    content: '\e617';
    right: 1px;
    bottom: 1px;
    width: 40px;
    padding-right: 2px;
    border-left: 1px solid var(--colour-grey2);
    position: absolute;
    display: inline-block;
    font-size: 125%;
    line-height: 40px;
    text-align: center;
    font-weight: normal;
    vertical-align: middle;
    z-index: 1;
    background: var(--colour-white);
    cursor: pointer;
}

.fancy-select select:focus {
    border-color: var(--colour-grey2);
}

.lt-ie10 .fancy-select select {
    padding-right: 15px;
}

.lt-ie10 .fancy-select:after {
    display: none;
}

.field-error input[type="tel"],
.field-error input[type="text"],
.field-error input[type="email"],
.field-error input[type="password"] {
    background-color: var(--colour-pink);
    border-color: var(--colour-red);
}

.login-error,
.message.error {
    background: var(--colour-pink);
    color: var(--colour-red);
    padding: 0 15px;
    line-height: 2;
    margin: 0 0 1em;
    border: solid 1px var(--colour-red);
    width: 100%;
    flex: 1 0 auto;
    align-self: flex-start;
}

.message.success {
    color: var(--colour-grey3);
}

.message.success:before {
    display: inline-block;
    font-family: var(--ff-icon);
    vertical-align: middle;
    content: '\e62d';
    text-align: center;

    color: var(--colour-green);
    border: 1px solid var(--colour-green);
    border-radius: 100px;
    width: 36px;
    height: 36px;
    line-height: 34px;
    margin-right: 15px;
}

.article-body form.success {
    position: relative;
}

.article-body form.success:after {
    content: 'thank you';
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    padding: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--colour-red);
    color: var(--colour-white);
    opacity: 0.9;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border: solid 2px var(--colour-white);
}

.article-body form label {
    line-height: 28px;
}

.article-body form p.error {
    background-color: var(--colour-red);
    color: var(--colour-white);
    text-transform: uppercase;
    text-align: center;
    padding: 12px;
    margin-bottom: 10px;
}

input[type].error {
    border-color: var(--colour-red);
}

form .error-message {
    background-color: var(--colour-pink);
    color: var(--colour-red);
    font-weight: bold;
    text-align: center;
    padding: 0.2em;
    margin: 1em 0;
    border: solid 1px var(--colour-red);
    font-size: var(--size-small);
}

form .success-message {
    color: var(--colour-grey4);
    font-weight: bold;
    text-align: center;
    padding: 0.2em;
    margin: 1em 0;
    border: solid 1px var(--colour-green);
}

.ajax-spinner {
    cursor: wait;
    margin-left: 10px;
    color: var(--colour-blue);
}

.ajax-spinner:after {
    content: '\e97b';
    font-family: var(--ff-icon);
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    animation: waitState 2s infinite;
    display: inline-block;
}

/* added for webinar */
.webinar-blocks .consent-form .cf h2 {
    text-transform: unset;
}

.gform_confirmation_wrapper {
    border: solid 2px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 80% !important;
    font-size: var(--size-large);
}

.gform_confirmation_wrapper > div:not(:last-child) {
    margin-bottom: 1rem;
}

@keyframes error-pulse {
    0% {
        box-shadow: 0 0 0 2px var(--colour-red);
    }
    50% {
        box-shadow: 0 0 5px 2px var(--colour-red);
    }
    100% {
        box-shadow: 0 0 0 2px var(--colour-red);
    }
}

.gfield_error .ginput_container {
    box-shadow: 0 0 0 2px var(--colour-red);
    transition: all 500ms;
    animation: error-pulse 1s 2s 3;
}

.gfield_required {
    color: var(--colour-red);
}

.gform_heading {
    margin-bottom: 1rem;
}

.validation_error {
    color: var(--colour-red);
    margin: 1rem auto;
    line-height: 1.1;
}

.gform_validation_container,
.gform_wrapper .gform_validation_container,
body .gform_wrapper li.gform_validation_container,
body .gform_wrapper .gform_body ul.gform_fields li.gfield.gform_validation_container,
body .gform_wrapper ul.gform_fields li.gfield.gform_validation_container {
    display: none !important;
    position: absolute !important;
    left: -9000px;
}

ul.gfield_radio > li {
    display:flex;
}

ul.gfield_radio > li > :first-child {
    margin-right: 0.5rem
}

/* Some padding for the form widgets */
div.gform_widget {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem 1rem;
}

div.gform_widget div.gform_wrapper {
    max-width: calc(var(--width-12-col) + 1rem);
    width: 100%;
}