@import '../../styles/theme';

.chartkit-theme_common {
    @include yc-chartkit-theme-common;
}

.chartkit-base {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    width: 100%;

    &__header {
        z-index: 2;
        position: absolute;
        top: -4px;
        right: 3px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    &__body {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        position: absolute; // CHARTS-1427

        &_hidden {
            opacity: 0;
            z-index: -1;
        }
    }
}
