@import 'common.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: 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: white !important; }
    .version_filler { background-color: white !important; }
    .notif { display: none; }
    .nav_top {
        background-color: white;
        .schema {
            margin-right: 50px;
            .schema_component { margin-right: 0; }
        }
    }
}
.alert_wrapper {
    display: block;
    &.alert-dismissible .close {
        position: relative;
        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: inherit;
    }
}
.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: black;
    text-shadow: 0 1px 0 white;
    opacity: 0.2;
}
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
    color: unset;
    cursor: not-allowed;
    opacity: 0.65;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: rgba(0, 77, 116, 0.2);
    border-color: rgba(0, 59, 88, 0.2);
}
.codemirror_wrapper {
    .cm-editor {
        &:focus,
        &.cm-focused {
            outline: none !important;
        }
    }
    .cm-scroller {
        &:focus {
            outline: none !important;
        }
    }
}
