main .cuk-webform  {
  max-width: 750px;
  padding-top: 0.5rem !important;
}

small {
  font-size: 0.8em !important;
}

.webform-scale-medium input + label {
    width: 36px;
    height: 36px;
    font-size: 1em;
    line-height: 30px;
}


.webform-scale-options input:checked:focus + label {
    box-shadow: 0 0 0 4px #365269;
}

.webform-scale-options input:checked + label {
    color: #365269;
    border-color:#FC5C1F !important;
}

.webform-element--title-inline.js-webform-type-webform-scale.webform-type-webform-scale > label {
    display: inline-block;
    padding-right: 0.5em;
    min-width: 184px;
}

.form-wrapper.card,
.form-wrapper .card-header {
    background-color: transparent; 
    background: transparent; 
    border: none;
    border-bottom: 0px;
}

.form-wrapper summary[role=button] {
    margin-top: 0;
    margin-bottom: 0;
    border: 0px solid #ccc;
    border: none;
    color: #365269;
    /*text-decoration: underline;*/ 
    cursor: pointer;
}

.form-wrapper summary[role=button]:hover {
    /* color:#FC5C1F; */
    text-decoration: underline;
} 

.form-wrapper details card {
  margin: 0 0 0.5rem 0;
}

.form-wrapper details details-wrapper.card-body,
.form-wrapper details details-wrapper.card-body:hover {
    color: #101920;
    text-decoration:none;
}

.form-item-total-staffing-costs,
.form-item-total-other-costs,
.form-item-calculate {
	display: flex;
	align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.form-item-calculate .error-message {
  flex-basis: 100%;     
  height: auto;
}

#edit-the-calculations.webform-section {
	width: fit-content;
}

#edit-the-calculations.webform-section .webform-section-title {
    text-align: center;
}

#edit-the-calculations.js-form-item.form-item.js-form-wrapper.form-wrapper.webform-section {
	width: fit-content;
    padding: 0.9rem 1.5rem 0.5rem;
    border: 1px solid #adb5bd;
    border-radius: 10px;
    background: #FFF;
}

#edit-the-calculations.js-form-item.form-item.js-form-wrapper.form-wrapper.webform-section .webform-section-title {
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: underline;
}



.js-webform-computed label {
    padding-right: 0.8em;
}

.option-i-confirm-that-i-have-read-understood-and-agree-to-the-grant-funding-terms-and-conditions,
.form-item-i-understand-i-need-to-use-the-cycling-uk-logo-on-all-materials- {
  margin-left: 1rem;
}

.webform-signature-pad canvas {
    border: 1px solid #adb5bd;
    border-radius: 10px;
    background: #FFFFFF !important;
}

.webform-progress-tracker {
    font-size: 0.7rem;
}
.progress-tracker {
    margin: 1rem auto 0.5rem;
}

.cuk-webform > div.webform-progress {
    margin-bottom: 0;
}

.page-node-type-webform h5 {margin-bottom: 0.8rem !important;}

.progress-text {
    padding: 3px 3px;
}

.webform-multiple-add .input-group #edit-event-data-add-more-items {
    margin-bottom: 0 !important;
}

.container-inline.webform-multiple-add .form-item > * {
    display: flex;
}
