:root {
    --icd10search-primary-color: #c7348b;
    --icd10search-background-light: #E9ECEE;
    --icd10search-text-color: #4C4C4C;
    --icd10search-color-blue: #233E53;
}

@font-face {
    font-family: 'iconfont';
    src: url('/azh/_assets/d50f53dcd1131653618995322280630d/Fonts/IconFont/fonts/iconfont.woff2') format('woff2'),
    url('/azh/_assets/d50f53dcd1131653618995322280630d/Fonts/IconFont/fonts/iconfont.woff') format('woff');
    /*src: url('/_assets/d50f53dcd1131653618995322280630d/Fonts/IconFont/fonts/iconfont.woff2') format('woff2'),*/
    /*url('/_assets/d50f53dcd1131653618995322280630d/Fonts/IconFont/fonts/iconfont.woff') format('woff');*/
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body .legacy-design .checkbox,
body .legacy-design .formElement.radio {
    position: relative;
    margin-left: 0;
    padding-top: 6px;
    padding-bottom: 6px;
    display: block;
    float: none;
}

body .legacy-design .checkbox input[type='checkbox'] + label,
body .legacy-design .formElement.radio input[type='radio'] + label {
    /*font-size: 20px;*/
    padding-left: 35px;
    padding-top: 5px
}

body .legacy-design .checkbox input[type='checkbox']:not(:checked) + label::before,
body .legacy-design .formElement.radio input[type='radio']:not(:checked) + label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border: 1px solid var(--icd10search-primary-color);
    background: white;
    margin-right: 10px;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    left: 2px;
    top: 8px;
}

body .legacy-design .formElement.radio input[type='radio']:checked + label::before {
    content: '\2022';
    width: 20px;
    height: 20px;
    line-height: 20px;
    background: var(--icd10search-primary-color);
    border: 1px solid var(--icd10search-primary-color);
    color: #fff;
    top: 8px;
}

.legacy-design input {
    border: none;
    background-color: #f2f2f2;
    padding: 10px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-style: normal;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85em;
    line-height: 1.2;
    color: #4c4c4c;
    height: 36px;
}

.legacy-design input[type=radio] {
    height: auto;
}

.legacy-design button {
    font-family: Arial, Helvetica, sans-serif;
}

.legacy-design ::-webkit-input-placeholder {
    color: #243d51;
}

.legacy-design ::-moz-placeholder {
    color: #243d51;
    opacity: 1;
}

.legacy-design :-ms-input-placeholder {
    color: #243d51;
}

.legacy-design .checkbox,
.legacy-design .formElement.radio {
    position: relative;
    margin-left: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.legacy-design .checkbox label,
.legacy-design .formElement.radio label {
    display: block;
}

/* Checkbox and Radios */
/* graceful degradation for ie8 */
.legacy-design input[type='checkbox'],
.legacy-design input[type='radio'] {
    width: auto;
    float: left;
    margin-right: 0.75em;
    background: transparent;
    border: none;
}

.legacy-design input[type='radio']:checked,
.legacy-design input[type='checkbox']:checked,
.legacy-design input[type='radio']:not(:checked),
.legacy-design input[type='checkbox']:not(:checked) {
    background: transparent;
    position: relative;
    visibility: hidden;
    margin: 0;
    padding: 0;
    margin-left: -16px;
}

.legacy-design input[type='checkbox'] + label,
.legacy-design input[type='radio'] + label {
    cursor: pointer;
    font-size: 1.00em;
    line-height: 1.2;
    color: #4c4c4c;
    padding-left: 27px;
}

.legacy-design input[type='checkbox'] + label,
.legacy-design input[type='radio'] + label {
    padding-left: 12px;
}

.legacy-design input[type='radio']:checked + label::before,
.legacy-design input[type='checkbox']:checked + label::before,
.legacy-design input[type='checkbox']:not(:checked) + label::before,
.legacy-design input[type='radio']:not(:checked) + label::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    border: 1px solid #4c4c4c;
    background: white;
    margin-right: 10px;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    left: 2px;
}

.legacy-design input[type=radio] + label::before {
    border-radius: 30px;
}

.legacy-design input[type='checkbox']:hover + label::before {
    background: #b3b3b3;
}

.legacy-design input[type='radio']:checked + label::before {
    font-size: 14px;
    background: #b3b3b3;
}

.legacy-design input[type='checkbox']:checked + label:before {
    /* Properties from %pseudoIconElement */
    font-family: 'iconfont' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    content: "\ea10";
    font-size: 14px;
    background: #b3b3b3;
}

body .legacy-design .checkbox {
    margin-left: 0;
}

body .legacy-design .checkbox input[type='checkbox'] + label:before {
    border: 2px solid #243D51;
    background: #fff;
    font-size: 18px;
    height: 28px;
    width: 28px;
    line-height: 25px;
    top: 10px;
}

body .legacy-design .checkbox input[type='checkbox']:checked + label:before {
    background: var(--icd10search-primary-color);
    border: 2px solid var(--icd10search-primary-color);
    color: #fff;
}

body .legacy-design .checkbox input[type='checkbox'] + label {
    padding-left: 35px;
    padding-top: 5px
}

body .legacy-design .checkbox input[type='checkbox']:disabled {
    opacity: 0.3;
}

body .legacy-design .checkbox input[type='checkbox']:disabled + label {
    cursor: not-allowed;
}

body .legacy-design .checkbox input[type='checkbox']:disabled + label:before {
    opacity: 0.3;
}


/* buttons */
body .legacy-design button {
    border-radius: 6px;
    background: var(--icd10search-primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

body .legacy-design button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

body .legacy-design button[type='reset'] {
    background: #fff;
    color: var(--icd10search-primary-color);
    border: 1px solid var(--icd10search-primary-color);
}

body .legacy-design button.button-forward {
    margin: 0 auto;
    display: block;
}

body .legacy-design .buttons button {
    display: inline-block;
    margin-inline: 0;
}


