@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

a, .btn-link {
    color: #40128e;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.sidebar {
    background-color: #fafafe;
    box-shadow: inset -4px 0 16px rgba(0,0,0,.04);
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type {
    padding-top: 1rem;
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}

.nav-item a {
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    color: #8989a2;
    font-weight: 600;
}

.nav-item a.active, .nav-item a:hover {
    color: #2f2e52;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: #8989a2;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

@media (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

@font-face {
    font-family: Averta-Standard;
    font-weight: 400;
    src: url('../fonts/averta-standard/3A26F5_0_0.eot');
    src: url('../fonts/averta-standard/3A26F5_0_0.eot?#iefix') format('embedded-opentype'), url('../fonts/averta-standard/3A26F5_0_0.woff2') format('woff2'), url('../fonts/averta-standard/3A26F5_0_0.woff') format('woff'), url('../fonts/averta-standard/3A26F5_0_0.ttf') format('truetype');
}

@font-face {
    font-family: Averta-Standard;
    font-weight: 600;
    src: url('../fonts/averta-standard/3A26AB_1_0.eot');
    src: url('../fonts/averta-standard/3A26AB_1_0.eot?#iefix') format('embedded-opentype'), url('../fonts/averta-standard/3A26AB_1_0.woff2') format('woff2'), url('../fonts/averta-standard/3A26AB_1_0.woff') format('woff'), url('../fonts/averta-standard/3A26AB_1_0.ttf') format('truetype');
}

@font-face {
    font-family: Averta-Standard;
    font-weight: 700;
    src: url('../fonts/averta-standard/3A26AB_0_0.eot');
    src: url('../fonts/averta-standard/3A26AB_0_0.eot?#iefix') format('embedded-opentype'), url('../fonts/averta-standard/3A26AB_0_0.woff2') format('woff2'), url('../fonts/averta-standard/3A26AB_0_0.woff') format('woff'), url('../fonts/averta-standard/3A26AB_0_0.ttf') format('truetype');
}

@font-face {
    font-family: Circular;
    font-weight: 900;
    src: url('../fonts/circular/circular-black.eot');
    src: url('../fonts/circular/circular-black.eot?#iefix') format('embedded-opentype'), url('../fonts/circular/circular-black.woff2') format('woff2'), url('../fonts/circular/circular-black.woff') format('woff');
}

body {
    color: #8989a2;
}

body, button, input, textarea {
    font-family: Averta-Standard;
    font-weight: 400;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: Circular;
    font-weight: 900;
    line-height: 1em;
    color: rgba(0,0,0,.85);
}

.btn {
    display: inline-block;
    font-weight: 700;
    vertical-align: middle;
    cursor: pointer;
    background-repeat: repeat-x;
    background-position: -1px -1px;
    background-size: 110% 110%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    white-space: nowrap;
    padding: 3px 28px;
    line-height: 30px;
    height: 40px;
    text-transform: uppercase;
    border-radius: 24px;
    background-color: initial;
    border: 2px solid #40128e;
    color: #40128e;
    font-size: 12px;
    -webkit-font-smoothing: antialiased;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-primary {
    color: #fff !important;
    background-color: #40128e !important;
    border-color: #40128e !important;
}

    .btn-primary:hover {
        background-color: #532999 !important;
        border-color: #532999 !important;
    }