/* stylelint-disable selector-max-id */
@import './layout.css';

:root {
    --min-layout-width: 1180px;
    --sidebar-width: 260px;
    --collapsed-sidebar-width: 40px;
    --animation-speed: .05s;
}

#app {
    height: 100%;
}

#app > .layout-container {
    min-width: var(--min-layout-width);
}

body.loading #preloader {
    display: flex;
}

body.loading #app {
    visibility: hidden;
}

body.loaded #preloader {
    display: none;
}

body[data-section='connect'] {
    background: #f6f6f6 url('../../../static/i/pattern.png');
}

.app {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: var(--min-layout-width);
    height: 100%;
}

.app__header {
    flex: none;

    min-width: 990px;

    background-color: #fff;
}

.app__body {
    position: relative;

    flex: 1 0 auto;
}

.app .footer {
    border-top: 1px solid #eee;
    background: #fff;
}

.app__sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    display: none;

    width: var(--sidebar-width);
}

.app__content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.app_sidebar-enabled .app__sidebar {
    display: block;

    transition: width var(--animation-speed) ease-in-out;
}

.app_sidebar-enabled .app__content {
    left: var(--sidebar-width);

    transition: left var(--animation-speed) ease-in-out;
}

.app_service-page.app_sidebar-enabled.app_sidebar-collapsed .app__sidebar {
    width: var(--collapsed-sidebar-width);

    transition: width var(--animation-speed) ease-in-out;
}

.app_service-page.app_sidebar-enabled.app_sidebar-collapsed .app__content {
    left: var(--collapsed-sidebar-width);

    transition: left var(--animation-speed) ease-in-out;
}

.suggest-list-placeholder {
    height: 180px;
}

.subscribe-page__dimensions {
    width: 352px;
    height: 494px;

    border: none;
}

.currency-amount,
.currency {
    white-space: nowrap;
}

.breakable {
    word-wrap: break-word;
    word-break: break-all;
}

a {
    outline: none;
}

h1,
h2,
h3,
h4 {
    margin: 0;

    font-size: inherit;
    font-weight: inherit;
}
