html,  body{
    height: 100%;
    background: var(--default-background-color);
    font-family: var(--default-font-family);
}
button, .button{
    padding: 11px 24px;
}
.fieldblock{
    margin: 0 0 18px 0;
}
.layout-wrapper{
    padding: 10px 0;
    height: 100%;
}

.layout-wrapper .layout-content{
    width: 416px;
    margin: 0 auto;
    max-width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    min-height: 100%;
    gap: 16px;
    padding-bottom: 16px;
}

.layout-content-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 24px;
    padding: 22px 24px;
    height: 80px;
    margin-bottom: 16px;
}
.layout-content-footer{
    font-size: 12px;
    line-height: 1.2;
    color: #9b9b9c;
}
#top-logo img{
    height: 29px;
}
.support-button{
    display: block;
    text-align: center;
    margin: 24px 0;
}
.support-button a{
    color: #000000;
    font-size: 12px;
}
.page-title{
    line-height: 1.2;
    margin: 54px 0 10px 0;
    padding-left: 15px;
}
.page-title-description{
    font-size: 12px;
    line-height: 1.2;
    margin: 0;
    font-weight: 300;
    padding-left: 15px;
}
.form-error {
    color:var(--red);
    margin-top: 10px;
    padding: 3px 15px;
}
.h2{
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 23px;
}
.content-block{
    margin: 16px 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
}

.fieldblock,.fieldblock label{
    color: #000000;
    /*font-weight: 700;*/
    font-size: 12px;
}
.form-additionals{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0;
}
.form-additionals .fieldblock{
    width: auto;
    min-width: auto;
    margin: 0;
}
.form-additionals a{
    font-size: 14px;
    font-weight: 600;
}
.form-buttons .button{
    width: 100%;
}
.fieldblock+.fieldblock-notation{
    margin-top:-10px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 500;
}
.fieldblock.fieldblock-error +.fieldblock-notation{
    margin-top: 10px;
}
.separator{
    opacity: 0.15;
    background-color: rgba(0, 0, 0, 1);
    width: 100%;
    height: 1px;
    margin: 24px 0;
}
#welcome-aside:before{
    content:"";
    background:url(../image/large-logo.png) top center no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 400px;
}
#welcome-aside{
    left: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    width: 448px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: rgb(194,186,240);
    background-image: linear-gradient(27deg, rgba(223, 225, 255, 1) 0%, rgba(233, 237, 255, 1) 51%, rgba(234, 238, 255, 1) 66%, rgba(231, 236, 255, 1) 73%, rgba(196, 218, 255, 1) 100%);
    padding-left: 69px;
    padding-bottom: 48px;
    gap: 40px;
}
#welcome-aside .layout-aside-title{
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1.57;
    line-height: 40px;
    background: rgb(53,47,111);
    background: linear-gradient(36deg, #352F6F 0%, #6F66F0 34%, #6F66F0 66%, #BEB9F8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 7px;
}
#welcome-aside .aside-socials ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}
#welcome-aside .aside-socials ul li{
    background: #5853E565;
    border-radius: 16px;
    overflow: hidden;
}
#welcome-aside .aside-socials ul a{
    display: block;
    width: 48px;
    height: 48px;
    font-size: 0;
    line-height: 0;
}
#welcome-aside .aside-socials ul li.instagram a{
    background: url(../image/icon-instagram.svg) center center no-repeat;
    background-size: 24px;
}
#welcome-aside .aside-socials ul li.youtube a{
    background: url(../image/icon-youtube.svg) center center no-repeat;
    background-size: 24px;
}
#welcome-aside .aside-socials ul li.twitter a{
    background: url(../image/icon-twitter.svg) center center no-repeat;
    background-size: 24px;
}

#login-form .fieldblock,#login-form  .fieldblock label{
    color: #000000;
    font-weight: 500;
    font-size: 12px;
}
#registration-wizzard #step2{
    display: none;
}
#registration-wizzard.step2 #step1{
    display: none;
}
#registration-wizzard.step2 #step2{
    display: block;
}
#registration-wizzard>div>a{
    margin-left: 21px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
#registration-wizzard .fieldblock.fieldblock-required:before,
#forgot-password-form .fieldblock.fieldblock-required:before,
#reset-password-form .fieldblock.fieldblock-required:before{
    content:"Required";
    position: absolute;
    top: 2px;
    right: 0;
    font-size: 12px;
    font-weight: 500;
    color: #000000;
    opacity: 0.5;
}
#forgot-password-form h1,#reset-password-form h1 {
    margin-top: 0;
}
#registration-form #fieldblock-login input {
    background-image: url('/files/image/icon-ear.svg');
    background-position: left 16px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    padding-left: 40px;
}
.content-block .content-block-footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 24px;
    gap:16px;
    margin-top: 24px;
    font-size: 16px;
    border-top: 1px solid var(--default-border-color);
    color: var(--default-text-color);
    font-weight: bold;
}
.content-block .content-block-footer a {
    font-size: 14px;
}
.text-input {
    width: 100%;
    margin-bottom: 18px;
    min-height: auto;
    height: 40px;
}
.text-input .fieldblock {
    margin: 0;
}
.text-input .fieldblock label {
    display: none;
}
.success-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}
.success-page .message p {
    margin: 0;
    font-size: 12px;
}
.success-page .icon {
    height: 64px;
    width: 64px;
    margin-top: 16px;
}
.success-page h1 {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 16px;
}
.success-page .button {
    width: 100%;
}
.custom-select-decorator {
    width: 100%;
}
.content-block .content-block-title {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 23px;
    padding-left: 16px;
}
.content-block .content-block-title .icon {
    display: none;
}
.success-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin: 162px auto auto;
}
.success-page .message,.success-page .message p  {
    margin: 0;
    font-size: 12px;
    text-align: center;
}
.success-page > .icon {
    height: 64px;
    width: 64px;
    margin-top: 16px;
}
.success-page dl {
    width: 100%;
}
.success-page dl dd {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    color: var(--primary-background-color);
}
.success-page h1 {
    margin: 0!important;
    font-size: 16px;
}
.success-page .button {
    width: 100%;
}
.success-page .amount {
    font-size: 48px;
    font-weight: bold;
}

#form-external-payment .form-balance {
    display: none;
    flex-direction: column;
    padding: 16px;
    border-radius: 8px;
    gap: 5px;
    font-size: 12px;
}
#form-external-payment .form-balance.selected {
    display: flex;
}
#form-external-payment .form-error {
    margin: 0;
    min-height: 20px;
}
#form-external-payment .content-block .content-block-title {
    padding-left: 0;
}
#form-external-payment .content-block .content-block-title .icon {
    display: block;
    margin-right: 8px;
}
#form-external-payment .content-block .content-block-footer {
    font-weight: normal;
}
#form-external-payment .fieldblock.voucher {
    display: flex;
    flex-direction: row;
    gap:5px;
    margin: 0;
}
#form-external-payment .fieldblock.voucher input {
    max-width: 230px;
}
#form-external-payment .fieldblock.voucher .delete-button,
#form-external-payment #applied-vouchers .fieldblock.voucher .apply-button{
    display:none;
}
#form-external-payment #applied-vouchers .fieldblock.voucher .delete-button{
    display:block;
}
#form-external-payment #applied-vouchers {
    width: 100%;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--default-border-color);
}
#form-external-payment #applied-vouchers .fieldblock {
    margin-bottom: 16px;
}
#form-external-payment #vouchers .button {
    width: 135px;
}
#form-external-payment  .fieldblock.voucher .fieldblock-error-message {
    padding: 0;
}
#form-external-payment #invoice-details .change {
    display: none;
}
#form-external-payment.hasChange #invoice-details .change{
    display: block;
}
#form-external-payment.hasChange #vouchers {
    border: none;
    margin-bottom: 0;
}
#form-external-payment.hasChange #applied-vouchers {
    border-bottom: none;
    margin-bottom: 0;
}
#form-external-payment.hasChange #vouchers label,
#form-external-payment.hasChange #vouchers .fieldblock.voucher.apply {
    display: none;
}
#form-external-payment #initial-amount {
    font-weight: 700;
}
.form-fields {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;

}
.form-balance input {
    border: none;
    border-radius: 0;
    padding: 0;
    background: none;
    font-size: 24px;
    font-weight: bold;
    width: inherit;
}
.switch label span {
    padding: 4px 13px;
}
dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:0;
    margin: 0;
}
dl dt,dl dd {
    padding: 16px 0;
    border-bottom: 1px solid var(--default-border-color);
    margin: 0;
}


dl dt {
    font-weight: 500;
}
dl.short dd {
    text-align: right;
}
dl dt:nth-last-child(2),
dl dd:last-child{
    border: none;
}
.content-block > dl dt:first-child,
.content-block > dl dd:nth-child(2) {
    padding-top: 3px;
}
#invoice-details .content-block-title {
    justify-content: center;
}
#project-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
#project-nav .button {
    padding-top: 7px;
    padding-bottom: 7px;
}
@media (max-width: 1300px) {
    .layout-wrapper{
        gap: 0;
    }

    .layout-wrapper #welcome-aside{
        display: none;
    }
    .layout-content-header{
        border-radius: 0;
    }
    .layout-content-footer{
        padding: 0 10px;
    }
    .page-title{
        font-size: 24px;
        font-weight: 700;
        padding-left: 24px;
    }
    .content-block{
        padding: 24px;
        border-radius: 0;
    }
}

@media (max-width: 810px){
    .page-title{
        margin-top: 10px;
    }

}