@import 'theme.less';
@import 'variables.less';
@import 'common.less';
@import 'har_theme_override.less';
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local('Lato Regular'), local('Lato-Regular'),
        url(/font/lato_regular.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA,
        U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: local('Lato Bold'), local('Lato-Bold'),
        url(/font/lato_bold.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA,
        U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
@font-face {
    font-family: 'Gibson';
    src: url(/font/Gibson-Regular.woff) format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gibson';
    src: url(/font/Gibson-SemiBold.woff) format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gibson';
    src: url(/font/Gibson-MediumItalic.woff) format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Gibson';
    src: url(/font/Gibson-Book.woff) format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gibson';
    src: url(/font/Gibson-Medium.woff) format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gibson';
    src: url(/font/Gibson-Italic.woff) format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Gibson';
    src: url(/font/Gibson-SemiBoldItalic.woff) format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Gibson';
    src: url(/font/Gibson-BookItalic.woff) format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
html, body {
    line-height: 23px;
    color: @first_color;
}
.old_modals {
    height: auto !important;
}
html, body, #react_root, .page_wrapper, .page_wrapper>div, .page_body {
    height: 100%;
}
button{
    &.close {
        padding: 0;
        cursor: pointer;
        background: var(--color-transparent);
        border: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
}
h4, .h4 {
    font-size: 18px;
}
.page_body {
    padding-left: 50px;
    padding-top: 60px;
    position: initial !important;
    background-color: @cp_white;
    &.zagent {
        padding-left: 0;
    }
}
.api_app {
    margin-top: 50px;
    text-align: center;
    button {
        margin: 10px;
    }
}
.no_nav {
    .page-body {
        margin-left: 0;
    }
    .logo_wrapper {
        background-color: var(--bg-primary) !important;
    }
    .version_filler {
        background-color: var(--bg-primary) !important;
    }
    .notif {
        display: none;
    }
    .nav_top {
        background-color: var(--bg-primary);
        .schema {
            margin-right: 50px;
            .schema_component {
                margin-right: 0;
            }
        }
    }
}
.alert_wrapper {
    display: block;
    &.alert-dismissible .close {
        position: relative;
        color: var(--color-inherit);
        opacity: 1;
        text-shadow: none;
        outline: 0;
        right: 10px;
        top: 0px;
    }
}
.alert-dismissible {
    padding-right: unset;
    &.close {
        position: relative;
        top: -2px;
        right: -21px;
        color: var(--color-inherit);
    }
}
.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: var(--close-btn-text);
    text-shadow: var(--text-shadow-close-btn);
    opacity: var(--close-btn-opacity);
}
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
    color: unset;
    cursor: not-allowed;
    opacity: var(--state-disabled-opacity);
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: var(--state-disabled-bg);
    border-color: var(--state-disabled-border);
}
.codemirror_wrapper {
    .cm-editor {
        &:focus, &.cm-focused {
            outline: none !important;
        }
    }
    .cm-scroller {
        &:focus {
            outline: none !important;
        }
    }
}
