.autosave-msg {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 10px 30px;
    background: #421a75;
    color: #fff;
    border-radius: 10px;
    margin: 5px;
    display: none;
}

.autosave-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 63, 106, 0.75);
    color: #fff;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
}

.autosave-overlay div {
    background: url(../images/spinner.svg) 0 0 no-repeat;
    padding-left: 50px;
}


/******************* Prasanth ***************/

.js-form-item-field-trial-unit-department-name-other:before {
    content: "If 'other', please specify *";
}

.filelist {
    margin-top: 10px;
}

.filelist>div {
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 1px;
}

.filelist>div>div>label {
    display: none;
}

.filelist>div .form-managed-file {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.filelist .form-type-managed-file .form-managed-file input[value="Remove"] {
    border: none;
    border-radius: 15px;
    padding: 0px 20px;
    font-size: 13px;
    line-height: 1;
}

.filelist>div .form-type-managed-file label.webform-file-button {
    border: 2px solid #8E8E89;
    border-radius: 5px;
    padding: 5px;
    text-align: center !important;
    cursor: pointer;
    margin: 0;
    background: #e7f5ff;
}

.filelist>div .form-type-managed-file label.webform-file-button:hover {
    background: #421a75;
    color: #fff;
    border-color: #421a75;
}

.filelist .form-type-managed-file .formtip,
#edit-staff .formtip {
    display: none;
}

.evidence-wrapper {}

.evidence-wrapper .webform-multiple-table-responsive tr td {
    display: block !important;
}


/* .webform-submission-form .form-type-webform-multiple .webform-multiple-table table tr {
    display: flex;
    flex-direction: column;
    align-items: stretch;
} */


/* 
.webform-submission-form .form-type-webform-multiple .webform-multiple-table--operations {
    display: block !important;
} */

.js-form-item-field-requested-role-other:before {
    content: "If 'other', please specify *";
}


/* Registration */

.field--name-field-first-name,
.field--name-field-surname,
.field--name-field-phone-number {
    max-width: 40em;
}

#edit-field-health-service-location {
    height: 200px;
}

.fineprint {
    font-size: .9em;
    line-height: 1.5;
}

.fineprint span {
    display: block;
    margin-bottom: 10px;
}

.password-suggestions {
    border-radius: 10px;
    padding: 10px 20px;
}

.password-suggestions ul {
    padding-top: 0;
}

.password-suggestions li {
    line-height: 1.6;
}

.form-item-field-health-service-organisatio-0-target-id>label {
    width: 100%;
}

#edit-field-register-as {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

#edit-field-register-as .form-item {
    width: 200px;
    height: 40px;
    position: relative;
}

#edit-field-register-as label,
#edit-field-register-as input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#edit-field-register-as input[type="radio"] {
    opacity: 0.01;
    z-index: 100;
}

#edit-field-register-as input[type="radio"]:checked+label,
.Checked+label {
    background: #421a75;
    color: #fff;
}

#edit-field-register-as label {
    padding: 5px;
    border: 2px solid #421a75;
    cursor: pointer;
    z-index: 90;
    text-align: center;
    font-weight: bold;
}

#edit-field-register-as label:hover {
    background: #421a75;
    color: #fff;
}

#edit-field-register-as .form-item:first-child label {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-right: 0;
}

#edit-field-register-as .form-item:last-child label {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.password-strength__meter,
.password-strength__indicator {
    border-radius: 5px;
}

.field--name-field-authentication-file .form-type-managed-file .form-managed-file input::before,
.field--name-field-authentication-file input.form-submit {
    padding: 6px 24px 7px;
    line-height: 1;
}

.field--name-field-authentication-file .form-type-managed-file label {
    width: 100%;
}

.chosen-container-multi {
    width: 100% !important;
}

.chosen-results .highlighted::after {
    background: none;
}


/* #edit-account .form-item-name {
    display: none;
} */


/* Profile */

.profile {
    padding: 0 25px;
}

.profile .field {
    padding: 10px 0;
}

.profile .field__label,
.profile .field__item {
    line-height: 1;
}

.profile .field__label {
    font-size: 1.1em;
}

.profile .field__item {
    font-size: 2em;
    font-weight: 700;
    color: #000;
}

.profile .field__item a {
    font-weight: 700;
    color: #000;
}


/* Profile Edit */

.user-form,
.role-delegation-role-assign-form,
.user-cancel-form {
    padding: 0 25px;
}

.form-item-current-pass,
.confirm-parent,
.password-parent {
    max-width: 33em;
}

#edit-status {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

#edit-status .form-item {
    width: 200px;
    height: 40px;
    position: relative;
}

#edit-status label,
#edit-status input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#edit-status input[type="radio"] {
    opacity: 0.01;
    z-index: 100;
}

#edit-status input[type="radio"]:checked+label {
    background: #421a75;
    color: #fff;
}

#edit-status #edit-status-0[type="radio"]:checked+label {
    background: #c92a2a;
    color: #fff;
}

#edit-status #edit-status-1[type="radio"]:checked+label {
    background: #087f5b;
    color: #fff;
}

#edit-status label {
    padding: 5px;
    border: 2px solid #421a75;
    cursor: pointer;
    z-index: 90;
    text-align: center;
    font-weight: bold;
}

#edit-status label:hover {
    background: #421a75;
    color: #fff;
}

#edit-status .form-item:first-child label {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-right: 0;
}

#edit-status .form-item:last-child label {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

#edit-pass label {
    display: block;
}


/* Add Users */

.user-form .password-confirm,
.user-form .password-field,
.user-form .password-strength,
.user-form .password-confirm-match,
#edit-mail--2 {
    width: 100%;
}


/* Roles */

.form-checkboxes .form-item {
    margin: 0;
}

.form-type-checkbox {
    position: relative;
    line-height: 1;
}

.form-type-checkbox input {
    margin: 0px;
    margin-top: 1px;
    cursor: pointer;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    position: absolute;
    z-index: 1;
    top: 0px;
    left: 0px;
    background: red;
    width: 40px;
    height: 20px;
}

.form-type-checkbox input:checked+label:before {
    background-color: #421a75;
    content: "\2713";
    padding-left: 8px;
    font-weight: 700;
}

.form-type-checkbox input:checked+label:after {
    left: 21px;
}

.form-type-checkbox label {
    position: relative;
    padding-left: 46px;
}

.form-type-checkbox label:before,
.form-type-checkbox label:after {
    position: absolute;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    transition: background-color 0.3s, left 0.3s;
}

.form-type-checkbox label:before {
    content: "\1F5D9";
    color: #fff;
    box-sizing: border-box;
    padding-left: 22px;
    font-size: 12px;
    line-height: 20px;
    background-color: #888;
    left: 0px;
    top: 0px;
    height: 20px;
    width: 40px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-weight: 700;
}

.form-type-checkbox label:after {
    content: "";
    letter-spacing: 20px;
    background: #fff;
    left: 1px;
    top: 1px;
    height: 18px;
    width: 18px;
    margin: 0;
}

.form-type-checkbox input[disabled]+label {
    opacity: .25;
}

.form-type-checkbox input[name="roles[administrator]"]:checked+label:before,
.form-type-checkbox input[name="roles[site_administrator]"]:checked+label:before {
    background-color: #087f5b;
}

.form-type-checkbox input[name="field_terms[value]"]:checked+label:before {
    background-color: #2b8a3e;
}

.form-type-checkbox input[name="field_terms[value]"]+label {
    font-weight: bold;
}

.form-type-checkbox input[name="field_terms[value]"]:checked+label {
    color: #2b8a3e;
}


/* People Approve Page */

#views-exposed-form-site-administrator-people-page-2 {
    background: #e7f5ff;
    padding: 10px 10px 20px;
    border-radius: 5px;
}

#views-exposed-form-site-administrator-people-page-2 .form--inline {
    display: flex;
    align-items: flex-end;
}

#views-exposed-form-site-administrator-people-page-2 .form--inline>div {
    margin: 0;
}

#views-exposed-form-site-administrator-people-page-2 .form-item.form-type-select label {
    float: none;
}

#views-exposed-form-site-administrator-people-page-2 #edit-status {
    padding: 12px 12px 11px;
    margin: 0 10px;
}

#views-exposed-form-site-administrator-people-page-2 #edit-actions {
    margin-left: auto;
}

.views-field-roles-target-id li {
    line-height: 1.1;
}


/* Tables */

td.is-active {
    background: #d0ebff;
}

.views-view-table td {
    padding: 10px;
}

.dropbutton-widget {
    border-radius: 5px;
}


/* Cost Estimates */

.ce-qa {
    line-height: 1.1;
    font-size: 1.16316rem;
    margin-bottom: 40px;
}

.ce-q {
    font-weight: 600;
}

.ce-a {
    margin: 5px 0;
}

.ce-a span {
    display: inline-block;
    padding: 15px;
    border-radius: 10px;
    background: #e7f5ff;
    color: rgba(3, 63, 106);
    font-weight: 700;
}

.ce-t {
    margin-top: 5px;
    border: 1px solid #b58efb;
    border-radius: 5px;
}

.ce-qa table {}

.ce-qa th,
.ce-qa td {
    padding: 15px;
}


/* Views */

.submissions-list .views-element-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.submissions-list .views-element-container>div {
    padding: 0 20px;
}

.submissions-list .views-table th,
.submissions-list .views-table td {
    padding: 8px;
}

.submissions-list .views-element-container .views-exposed-form {
    padding: 25px;
    background: #f8F8F8;
    border-radius: 10px;
    margin-bottom: 10px;
}

.submissions-list .views-element-container .views-exposed-form .form--inline {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

.submissions-list-sat td:nth-child(5),
.submissions-list-sat th:nth-child(5) {
    display: none;
}

.evidence-table {
    line-height: 1.2;
    table-layout: auto;
    margin-bottom: -40px;
}

.evidence-table td {
    vertical-align: top;
}

.evidence-table td a {
    display: block;
    margin-bottom: 10px;
}

.evidence-table td a:last-child {
    margin-bottom: 0;
}

.evidence-table td.action-number {
    background: #f8F8F8;
    font-weight: 600;
}

table.evidence-table thead tr {}

table.evidence-table thead tr th {
    font-size: 18px;
}

table.evidence-table tr.thead {
    border-bottom: 1px solid rgba(58, 168, 220, .25);
    /* // rgba(231, 245, 255, .5); // #b58efb; */
    background: rgba(231, 245, 255, .5)
}

table.evidence-table tr.thead th {
    text-align: left;
    padding: 8px 15px 8px 5px;
    color: #000000;
    font-weight: 600;
}

table.evidence-table tr.empty td {
    height: 50px;
}

.evidence-list-page .block-system-main-block .content ul.menu {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 0;
    border-radius: 10px;
    background: #f8F8F8;
    border: 1px solid #eee;
    border-bottom: 0;
    overflow: hidden;
    text-align: center;
    line-height: 1.4;
}

.evidence-list-page .block-system-main-block .content ul.menu li.menu-item {
    width: 33%;
    padding: 10px 20px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    flex: 1 1 auto;
}

.evidence-list-page .block-system-main-block .content ul.menu li.menu-item:nth-child(3n) {
    border-right: 0;
}

.tippy-help label {
    display: none;
}

.tippy-content {
    padding: 15px;
}

.webform-page #block-sqhc-local-tasks {
    display: none;
}

.webform-submission-navigation {
    display: none;
}

.login-intro a {
    color: #fff;
    text-decoration: underline;
}

.login-intro ul {
    line-height: 1.8;
}

#browser-warning {
    padding: 10px;
    background: #ffd43b;
    color: #000;
    font-size: 16px;
    overflow: hidden;
    width: 100%;
}

#browser-warning span {
    float: left;
    font-size: 18px;
    line-height: 52px;
}

#browser-warning a {
    float: right;
    height: 52px;
    border: 1px solid black;
    border-radius: 5px;
    padding: 5px 25px 5px 20px;
    color: #000;
}

#browser-warning a svg {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    display: inline;
}

#browser-warning a strong {
    display: inline;
    vertical-align: middle;
}

#browser-warning a:hover {
    background: #000;
    color: #fff;
}

@supports (display: grid) {
    #browser-warning {
        /* non IE browsers */
        display: none;
    }
}


/* login, register, forgot password */

.path-user #page-wrapper,
.path-user #page,
.path-user #main-wrapper,
.path-user #main,
.path-user #content,
.path-user #login,
.path-user .dialog-off-canvas-main-canvas {
    min-height: 100%;
    height: auto;
}

.path-user #main #content {
    position: static;
}


/* Hide Last Element */

#block-sqhc-local-tasks ul li:nth-child(4) {
    display: none;
}

.start-submission #block-sqhc-local-tasks {
    display: none;
}


/* Reports */

.reports-page select[multiple] {
    height: 250px;
}


/* Operational Metrics */

.form-item-total-fte-on-trial {
    display: none;
}