html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-attachment: fixed;
    background-size: cover;
}

h1 {
    padding-top: .5rem;
}

h1.plugin {
    padding-top: 3rem;
    box-shadow: 0 .125rem 0 0 var(--gray-300);
}

div td span {
    display: inline-block;
}

ol {
    width: 50rem;
}

ol > li {
    font-size: .875rem;
    padding-left: .125rem;
    margin-top: var(--gutter-y);
}

ol > li > i {
    font-style: normal;
}

.ldWrapper {
    width: 100%;
    height: auto;
    background-color: transparent;
    padding: 0 0 2.5rem;
    /*overflow: hidden;*/
    text-align: left;
}

.ldWrkScr {
    min-height: 6.25rem;
    max-height: 8.125rem;
    margin: 1.25rem 0 0;
    overflow: auto;
    overflow-x: hidden;
}

.loginBtns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 5rem;
}

.loginBtns:has(button:only-child)  {
    justify-content: center;
}

.loginBtns button {
    display: inline-block;
    width: 12.875rem;/*12.8125 205*/
    margin: .625rem auto;
}

.loginBtns button:has(a) {
    padding: 0;
}

.loginBtns button a,
.loginBtns button a:visited {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
    color: var(--primary);
    text-decoration: none;
}

#DivGlobalID {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    min-width: 33.125rem;
    transition: opacity .25s;
    padding: 0;
}

#header {
    width: 100%;
    height: 5.625rem;
    min-height: 5.625rem;
    padding: 1.875rem 3.75rem 0;
    white-space: nowrap;
}

#header div {
    display: flex;
    align-items: center;
    gap: 4.0625rem;
}
#header div:not(:first-child){
    justify-content: flex-end;
}

#demoLink {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: bolder;
    color: var(--primary);
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.2s;
}

#demoLink.show {
    opacity: 1;
}

#demoLink svg {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: .625rem;
}

#rusEng {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 7.5rem;
    height: 2.375rem;
    background: #EBEFF5;
    border-radius: var(--border-radius);
    transition: opacity 0.2s;
}

#rusEng.hide {
    opacity: 0;
}

#rusEng li {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: .75rem;
    font-weight: 500;
    color: var(--gray-950);
    border-radius: var(--border-radius);
    padding: .25rem 1rem;
    width: 3.5rem;
    height: 2rem;
}

#rusEng li[aria-selected=true],
#rusEng li[active] {
    background-color: #FFFFFF;
}

#main {
    display: flex;
    flex-direction: column;
    flex: 1 1 100%;
    justify-content: center;
    align-items: center;
    position: relative;
    width: fit-content;
    min-width: 28.125rem;
/*    max-width: 28.375rem;*/
    min-height: 18.75rem;
}

#main:has(.plugin) {
    justify-content: start!important;
}

#stepContainer form {
    max-width: 28.375rem;
}

#stepContainer .ErrMsg {
    font-size: .875rem;
    width: calc(100% - 3.875rem);
}

#stepContainer .ErrBullet {
    margin-left: 1rem;
}

#footer {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 5.625rem;
    padding: 0 2.5rem .375rem;
    transition: padding-right 0.25s, padding-left 0.25s;
}

#footer li {
    justify-content: center;
    align-items: center;
    padding: 0 1.25rem;
    text-align: center;
    color: var(--primary);
    font-weight: 500;
}

.AlertMess {
    font-size: .8125rem;
    padding-top: .375rem;
    margin: 0 0 .625rem 0;
    color: #ff0000;
}

.row .AlertMess {
    border: .0625rem solid transparent/*#DEDFDE*/;
    line-height: 1.125rem;
}

#versionError {
    display: none;
}

#progressbar td {
    width: 1.5rem;
    height: 1.5rem;
    border: .0625rem solid white;
    border-radius: var(--border-radius);
}

#progressbar td.done {
    background-color: var(--primary);
}

#needPluginForm {
    width: 26.625rem;
}
#needPluginForm h1 {
    line-height: 1.5;
}

#authSettingsForm {
    width: 35.75rem;
}

#keyParamsEdit {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    text-align: center;
    cursor: pointer;
    padding: 1.25rem 0 0;
    opacity: 0;
}

#keyParamsEdit.show {
    opacity: 1;
}

.row.abonent{
	margin: 0;
}

.abonent .selBtn {
    visibility: hidden;
}
