@font-face {
    font-family: 'Onest';
    src: url('../static/Onest-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../static/Onest-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../static/Onest-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../static/Onest-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../static/Onest-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../static/Onest-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --colorShuttleGray: #575B65;
    --colorWhite: #FFF;
    --colorBorder: rgba(22, 45, 90, 0.12);
    --colorBoulder: #767676;
    --colorTuna: #2F3541;
    --coloSmaltAlpha5: rgba(0, 61, 153, 0.05);
    --coloSmaltAlpha10: rgba(0, 61, 153, 0.1);
    --colorPickledBluewoodAlpha60: rgba(39, 50, 73, 0.6);
}

* {
    margin: 0;
    padding: 0;
    transition: 0.5s;
}

body {
    background: var(--colorShuttleGray);
    font-family: "Onest", sans-serif !important;
    font-size: 16px;
}

.overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.modalWindow {
    margin: auto;
    display: flex;
    justify-content: space-between;
    row-gap: 32px;
    column-gap: 32px;
    background-color: var(--colorWhite);
    padding: 20px;
    border-radius: 64px;
    max-width: 1208px;
}

.topLogo {
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
}

.topLogo > img {
    width: 200px;
}

.title {
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
}

.linksList {
    padding: 0;
    margin: 5px 0;
    max-width: 320px;
    list-style: none;
}

.linksList li:not(:last-child) {
    margin-bottom: 8px;
}

.linksList a {
    text-decoration: none;
}

.link {
    padding: 0 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 50px;
    border: 1px solid var(--colorBoulder);
    border-radius: 28px;
    color: var(--colorTuna);
    transition: 0.5s;
}

.link__icon img {
    height: 30px;
    vertical-align: middle;
}

.link:hover {
    background: var(--coloSmaltAlpha10);
    border: 1px solid var(--coloSmaltAlpha10);
}

.role__group {
    margin: 10px 0;
    padding: 10px 15px;
    border: 1px solid;
    border-radius: 10px;
}

.role__select {
    text-align: left;
    margin: 10px 0;
}

.role__select input {
    vertical-align: middle;
}

.role__label span {
    vertical-align: middle;
}

.role__label img {
    width: 30px;
    vertical-align: middle;
}

.modalWindow__right {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 40%;
    background: var(--coloSmaltAlpha5);
    border-radius: 40px;
    text-align: center;
}

.modalWindow__right_only {
    flex-basis: 100%;
}

.info {
    margin-bottom: 20px;
    max-width: 400px;
    text-align: center;
}

.data {
    width: 100%;
    padding: 10px;
}

.data select {
    min-height: 100px;
    overflow: auto;
}

.mdm-data {
    width: 100%;
}

.mdm-data textarea {
    width: 100%;
    min-width: 200px;
    min-height: 100px;
}

a:not(.link):hover {
    color: #184195;
}

.modalWindow__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    flex-basis: 60%;
}

.subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 16px;
}

.listWithIcons {
    list-style: none;
}

.listWithIcons li {
    position: relative;
    padding-left: 36px;
    line-height: 20px;
}

.listWithIcons li:not(:last-child) {
    margin-bottom: 10px;
}

.listWithIcons li:before {
    position: absolute;
    left: 0px;
    content: "";
    display: block;
    width: 16px;
    height: 22px;
    background: url('../img/check.svg');
    background-size: 100% 100%;
}

@media (max-width:920px) {
    .modalWindow {
        display: flex;
        flex-direction: column;
    }

    .title {
        font-size: 26px;
    }
}

@media (max-width:550px) {

    p, a:not(.link) {
        font-size: 14px;
    }

    .info {
        margin-bottom: 24px;
    }

    .linksList {
        margin-bottom: 24px;
    }

    .title {
        font-size: 24px;
        margin: 24px 0;
    }

    .subtitle {
        font-size: 18px;
    }

    .topLogo {
        padding-bottom: 24px;
    }

    .modalWindow {
        padding: 0;
        border-radius: 0;
    }

    .modalWindow__right {
        padding: 32px;
        border-radius: 0 0 40px 40px;
    }

    .modalWindow__left {
        padding: 16px;
    }
}

#kc-locale {
  width: 100%;
  text-align: right;
  margin-bottom: 0;
}

#kc-locale li {
  display: inline;
}
