* {
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
}

.hidden__text {
    font-size: 14px;
    font-style: italic;
}

#details {
    padding-top: 3em;
}

.italic {
    font-style: italic;
}

.item {
    padding-top: 1em;
}

.title {
    padding-top: 2em;
    font-size: 17px;
    font-weight: bold;
    font-size: 17px;
    font-weight: bold;
}

.item-form {
    padding-left: 2em;
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.img {
    max-width: 15%;
    height: 15%;
}

.invisible {
    display: none;
}

.result {
    margin-bottom: 1rem;
}

.result p {
    text-align: center;
    margin-bottom: 1rem;
}

.radio {
    display: inline-flex;
    align-items: flex-start;
    cursor: pointer;
}

.radio:hover .radio__icon::after {
    opacity: 0.5;
}

.radio:active .radio__icon::after {
    opacity: 1;
}

.radio_disabled {
    cursor: default;
    pointer-events: none;
}

.radio_disabled:hover .radio__icon::after {
    opacity: 0;
}

.radio_disabled:active .radio__icon::after {
    opacity: 0;
}

.radio__label {
    margin-top: 4px;
    padding-left: 8px;
    font: 1.2rem;
    font: var(--Subhead);
}

.radio__icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.radio__icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 9001px;
    background-color: #f2f4fa;
    background-color: var(--LightGray);
    opacity: 0;
    transition: opacity 100ms ease-out;
    z-index: 1;
}

.radio__icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 20px;
    height: 20px;
    margin: 2px;
    border-width: 2px;
    border-style: solid;
    border-radius: 9001px;
    z-index: 2;
}

.radio__input {
    padding: 0;
    margin: 0;
    width: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
}

/*
    Checked
  */

.radio__input:checked + .radio__icon::before {
    border-width: 0;
    background-color: #0066B3;
    background-color: var(--Primary);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 10C2 14.42 5.58 18 10 18C14.42 18 18 14.42 18 10C18 5.58 14.42 2 10 2C5.58 2 2 5.58 2 10ZM10 5C7.23858 5 5 7.23858 5 10C5 12.7614 7.23858 15 10 15C12.7614 15 15 12.7614 15 10C15 7.23858 12.7614 5 10 5Z' fill='%23ffffff'/%3E%3C/svg%3E%0A");
}

/*
    Unchecked
  */

.radio__input + .radio__icon::before {
    border-color: #BABBC0;
    border-color: var(--Gray);
}

/*
    Invalid
  */

.radio__input:invalid + .radio__icon::before {
    border-color: #E5243C;
    border-color: var(--Error);
}

.radio__input_invalid + .radio__icon::before {
    border-color: #E5243C;
    border-color: var(--Error);
}

.steps {
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.steps__item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.steps__counter {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
    border-radius: 50%;
    background-color: #54ceae;
    background-color: var(--Secondary);
    font-size: 1.2rem;
    font-size: var(--Subhead);
    line-height: 100%;
    font-weight: bold;
    font-weight: var(--Bold);
    color: #ffffff;
    color: var(--White);
}

.steps__text {
    font-size: 1.2rem;
    font-size: var(--Subhead);
    line-height: 100%;
}

body {
    background-color: #f2f4fa;
    background-color: var(--LightGray);
}

@media (max-width: 920px) {
    body {
        background-color: #ffffff;
        background-color: var(--White)
    }
}

.main {
    max-width: 41rem;
    margin: 2rem auto 0;
    padding: 4rem 2rem;
    border-radius: 8px;
    border-radius: var(--BorderRadius);
    background-color: #ffffff;
    background-color: var(--White);
}

@media (max-width: 920px) {

    .main {
        max-width: none;
        margin: 0;
        border-radius: 0
    }
}

.main__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.main__logo svg {
    width: 5rem;
    height: 2.5rem;
}

.main__heading {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-size: var(--Heading);
    font-weight: bold;
    font-weight: var(--Bold);
    text-align: center;
}

.main__actions {
    display: flex;
    justify-content: center;
}

.main__actions .main__button {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    border-radius: var(--BorderRadius);
    background-color: #0066B3;
    background-color: var(--Primary);
    font-weight: bold;
    font-weight: var(--Bold);
    color: #ffffff;
    color: var(--White);
    cursor: pointer;
}

.main__actions .main__button.confirm_pdn__actions,
.main__button.cancel_confirm_pdn__actions {
    width: 100%;
    margin: 0 4rem;
}

.main__actions .cancel_confirm_pdn__actions {
  background-color: #ffffff;
  background-color: var(--White);
  color: #0066B3;
  color: var(--Primary);
  box-shadow: inset 0 0 0 2px #0066B3;
  box-shadow: inset 0 0 0 2px var(--Primary);
}

@media (max-width: 920px) {

    .main__actions .main__button {
        font-size: 1.2rem;
        font-size: var(--Subhead)
    }
}

.main__actions .main__button:hover {
  background-color: #00508d;
  box-shadow: inset 0 0 0 2px #00508d;
}

.main__actions .cancel_confirm_pdn__actions:hover {
  background-color: #f5f7fa;
  color: #0075cf;
  box-shadow: inset 0 0 0 2px #0075cf;
}

.main__actions .main__button_disabled {
    cursor: disabled;
    pointer-events: none;
    background-color: #f2f4fa;
    background-color: var(--LightGray);
}

.checkbox {
    display: inline-flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox:hover .checkbox__icon::after {
    opacity: 0.5;
}

.checkbox:active .checkbox__icon::after {
    opacity: 1;
}

.checkbox_disabled {
    cursor: default;
    pointer-events: none;
}

.checkbox_disabled:hover .checkbox__icon::after {
    opacity: 0;
}

.checkbox_disabled:active .checkbox__icon::after {
    opacity: 0;
}

.checkbox__label {
    margin-top: 4px;
    padding-left: 8px;
    font: 1.2rem;
    font-size: var(--Subhead);
}

.checkbox__icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.checkbox__icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 9001px;
    background-color: #f2f4fa;
    background-color: var(--LightGray);
    opacity: 0;
    transition: opacity 100ms ease-out;
    z-index: 1;
}

.checkbox__icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 18px;
    height: 18px;
    margin: 3px;
    border-width: 2px;
    border-style: solid;
    border-radius: 2px;
    z-index: 2;
}

.checkbox__input {
    padding: 0;
    margin: 0;
    width: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
}

/*
    Checked
  */

.checkbox__input:checked + .checkbox__icon::before {
    border-width: 0;
    background-color: #0066B3;
    background-color: var(--Primary);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.70997 13.2901C7.31997 13.6801 6.68997 13.6801 6.29997 13.2901L2.70997 9.70006C2.52271 9.51323 2.41748 9.25958 2.41748 8.99506C2.41748 8.73054 2.52271 8.47689 2.70997 8.29006C3.09997 7.90006 3.72997 7.90006 4.11997 8.29006L6.99997 11.1701L13.88 4.29006C14.27 3.90006 14.9 3.90006 15.29 4.29006C15.68 4.68006 15.68 5.31006 15.29 5.70006L7.70997 13.2901Z' fill='%23ffffff'/%3E%3C/svg%3E%0A");
}

/*
    Unchecked
  */

.checkbox__input + .checkbox__icon::before {
    border-color: #BABBC0;
    border-color: var(--Gray);
}

/*
    Invalid
  */

.checkbox__input:invalid + .checkbox__icon::before {
    border-color: #E5243C;
    border-color: var(--Error);
}

.checkbox__input_invalid + .checkbox__icon::before {
    border-color: #E5243C;
    border-color: var(--Error);
}

.note {
    font-style: italic;
    font-size: 14px;
}

.form {
    display: flex;
    flex-direction: column;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.form .radio {
    margin-bottom: 1rem;
}

.form .checkbox {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.form__link {
    cursor: pointer;
    text-decoration: underline;
}

.form__link:hover {
    color: #0066B3;
    color: var(--Primary);
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltipText {
    visibility: hidden;
    width: 140px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltipText {
    visibility: visible;
}

ul {
    list-style: disc;
}

ul > li {
    margin-left: 2rem;
}

ol {
    list-style: decimal;
}

ol > li {
    margin-left: 1rem;
}


:root {
    /* Fonts */
    --FontFamily: 'Lato', sans-serif;

    --Light: 300;
    --Regular: normal;
    --Medium: 500;
    --Bold: bold;

    --BaseFontSize: 18px;
    --BaseLineHeight: 1.5;

    --Heading: 2rem;
    --Subhead: 1rem;

    /* Colors */
    --LightGray: #f2f4fa;
    --White: #ffffff;
    --Primary: #0066B3;
    --Secondary: #54ceae;
    --Error: #E5243C;
    --Gray: #BABBC0;
    --DarkGray: #646572;

    /* Misc */
    --BorderRadius: 8px;
}

@media (max-width: 640px) {
    :root {
        --BaseFontSize: 14px;
    }
}

html {
    font-family: 'Lato', sans-serif;
    font-family: var(--FontFamily);
    font-weight: normal;
    font-weight: var(--Regular);
    font-size: 18px;
    font-size: var(--BaseFontSize);
    line-height: 1.5;
    line-height: var(--BaseLineHeight);
}

.data {
    margin-bottom: 3rem;
}

.data__heading {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-size: var(--Subhead);
    font-weight: bold;
    font-weight: var(--Bold);
    text-align: center;
}

.data__line {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.data__border {
    flex-basis: 4rem;
    flex-grow: 1;
    flex-shrink: 0;
    margin: 0 4px;
    border-bottom: 1px dashed #BABBC0;
    border-bottom: 1px dashed var(--Gray);
    transform: translateY(-4px);
}

.data__title {
    flex-shrink: 0;
    color: #646572;
    color: var(--DarkGray);
}

.data__value {
    text-align: right;
}

.data__help {
    margin-bottom: 3rem;
    text-align: center;
    color: #646572;
    color: var(--DarkGray);
}

@font-face {
    font-family: 'Lato';
    /*src: url('https://ui.modernsys.ru/fonts/Lato-Medium.woff2') format('woff2'),
    url('https://ui.modernsys.ru/fonts/Lato-Medium.woff') format('woff');*/
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    /*src: url('https://ui.modernsys.ru/fonts/Lato-Light.woff2') format('woff2'),
    url('https://ui.modernsys.ru/fonts/Lato-Light.woff') format('woff');*/
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    /*src: url('https://ui.modernsys.ru/fonts/Lato-Bold.woff2') format('woff2'),
    url('https://ui.modernsys.ru/fonts/Lato-Bold.woff') format('woff');*/
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    /*src: url('https://ui.modernsys.ru/fonts/Lato-Regular.woff2') format('woff2'),
    url('https://ui.modernsys.ru/fonts/Lato-Regular.woff') format('woff');*/
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
