@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: Raleway;
    font-style: normal;
    font-weight: 400;
    src:
    /* from https://fonts.gstatic.com/s/raleway/v12/1Ptug8zYS_SKggPNyC0ISw.eot */
    url('https://fonts.gstatic.com/s/raleway/v12/1Ptug8zYS_SKggPNyC0ISw.eot') format('embedded-opentype'),
    /* from https://fonts.gstatic.com/s/raleway/v12/1Ptug8zYS_SKggPNyC0ISQ.woff */
    url('https://fonts.gstatic.com/s/raleway/v12/1Ptug8zYS_SKggPNyC0ISQ.woff') format('woff'),
    /* from https://fonts.gstatic.com/s/raleway/v12/1Ptug8zYS_SKggPNyC0ITw.woff2 */
    url('https://fonts.gstatic.com/s/raleway/v12/1Ptug8zYS_SKggPNyC0ITw.woff2') format('woff2'),
    /* from https://fonts.gstatic.com/l/font?kit=1Ptug8zYS_SKggPNyC0ISA&skey=30a27f2564731c64&v=v12#Raleway */
    url('https://fonts.gstatic.com/l/font?kit=1Ptug8zYS_SKggPNyC0ISA&skey=30a27f2564731c64&v=v12#Raleway') format('svg'),
    /* from https://fonts.gstatic.com/s/raleway/v12/1Ptug8zYS_SKggPNyC0ISg.ttf */
    url('https://fonts.gstatic.com/s/raleway/v12/1Ptug8zYS_SKggPNyC0ISg.ttf') format('truetype');
}

@font-face {
    font-family: Raleway;
    font-style: italic;
    font-weight: 400;
    src:
    /* from https://fonts.gstatic.com/s/raleway/v12/1Ptsg8zYS_SKggPNyCg4TYFu.eot */
    url('https://fonts.gstatic.com/s/raleway/v12/1Ptsg8zYS_SKggPNyCg4TYFu.eot') format('embedded-opentype'),
    /* from https://fonts.gstatic.com/s/raleway/v12/1Ptsg8zYS_SKggPNyCg4TYFs.woff */
    url('https://fonts.gstatic.com/s/raleway/v12/1Ptsg8zYS_SKggPNyCg4TYFs.woff') format('woff'),
    /* from https://fonts.gstatic.com/s/raleway/v12/1Ptsg8zYS_SKggPNyCg4TYFq.woff2 */
    url('https://fonts.gstatic.com/s/raleway/v12/1Ptsg8zYS_SKggPNyCg4TYFq.woff2') format('woff2'),
    /* from https://fonts.gstatic.com/l/font?kit=1Ptsg8zYS_SKggPNyCg4TYFt&skey=bf44ee29381a37b0&v=v12#Raleway */
    url('https://fonts.gstatic.com/l/font?kit=1Ptsg8zYS_SKggPNyCg4TYFt&skey=bf44ee29381a37b0&v=v12#Raleway') format('svg'),
    /* from https://fonts.gstatic.com/s/raleway/v12/1Ptsg8zYS_SKggPNyCg4TYFv.ttf */
    url('https://fonts.gstatic.com/s/raleway/v12/1Ptsg8zYS_SKggPNyCg4TYFv.ttf') format('truetype');
}

@font-face {
    font-family: Raleway;
    font-style: normal;
    font-weight: 700;
    src:
    /* from https://fonts.gstatic.com/s/raleway/v12/1Ptrg8zYS_SKggPNwJYtWqZPBA.eot */
    url('https://fonts.gstatic.com/s/raleway/v12/1Ptrg8zYS_SKggPNwJYtWqZPBA.eot') format('embedded-opentype'),
    /* from https://fonts.gstatic.com/s/raleway/v12/1Ptrg8zYS_SKggPNwJYtWqZPBg.woff */
    url('https://fonts.gstatic.com/s/raleway/v12/1Ptrg8zYS_SKggPNwJYtWqZPBg.woff') format('woff'),
    /* from https://fonts.gstatic.com/s/raleway/v12/1Ptrg8zYS_SKggPNwJYtWqZPAA.woff2 */
    url('https://fonts.gstatic.com/s/raleway/v12/1Ptrg8zYS_SKggPNwJYtWqZPAA.woff2') format('woff2'),
    /* from https://fonts.gstatic.com/l/font?kit=1Ptrg8zYS_SKggPNwJYtWqZPBw&skey=e507c3e2b7915ad1&v=v12#Raleway */
    url('https://fonts.gstatic.com/l/font?kit=1Ptrg8zYS_SKggPNwJYtWqZPBw&skey=e507c3e2b7915ad1&v=v12#Raleway') format('svg'),
    /* from https://fonts.gstatic.com/s/raleway/v12/1Ptrg8zYS_SKggPNwJYtWqZPBQ.ttf */
    url('https://fonts.gstatic.com/s/raleway/v12/1Ptrg8zYS_SKggPNwJYtWqZPBQ.ttf') format('truetype');
}
body {
    font-size: 16px !important;
}
html, body {
    font-family: Raleway,'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}
.h1, h1 {
    margin-bottom: .5rem !important;
    font-weight: 500;
    line-height: 1.2 !important;
    font-size: 4.0rem !important;
    margin-top: 0;
    margin-bottom: .5rem;
}
a, .btn-link {
    color: #0366d6;
}

.btn-outline-success:hover {
    background-color: #B280FF;
}

.input-group {
    position: static !important;
}

.btn-inline {
    position: static;
    top: 3px
}

.input-inline {
    display: inline-block;
    position: static;
    left: 20px;
    margin-right: 20px
}
.btn-secondary {
    position: static !important;
    z-index: unset !important;
}

.form-check-input {
    position: static;
}

.add-icons {
    color: lightseagreen;
    margin-right: 5px;
    display: inline-block;
    position: static;
    top: 4px;
}

.btn-outline-success:active {
    background-color: #B280FF !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.companies-table tr td:first-child{
    width:50%;
    min-width:300px;
}
.top-row {
    height: 5.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        background-image: linear-gradient(270deg, #5F259F 50%, #5F259F 50%);
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

.main .top-row > a, .main .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
}

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(0deg, #5F259F 50%, #5F259F 50%);
}

.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
    margin-bottom:0px;
}

.sidebar .navbar-brand {
    font-size: 17.6px;
    display: inline-block;
    padding: 5px 0px;
    margin-right: 16px;
    line-height: 3rem;
    white-space: nowrap;
    height: 36.39px;
}
.pl-4, .px-4 {
    padding-left: 1.8rem !important;
}
.pl-3, .px-3 {
    padding-left: 1.6rem !important;
    padding-right: 1.6rem !important;
}
.flex-column {
    margin-top: 2rem;
    margin-top: 0px;
}

.sidebar .oi {
    width: 3rem;
    font-size: 1.8rem;
    vertical-align: text-top;
    top: -2px;
}

.sidebar .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.8rem;
}

.sidebar .nav-item:first-of-type {
    padding-top: 1.6rem;
}

.sidebar .nav-item:last-of-type {
    padding-bottom: 1.6rem;
}

    .sidebar .nav-item a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 48px;
        display: flex;
        align-items: center;
        line-height: 3rem;
        font-size: 14.4px;
        padding: 8px 16px;
        width:220px;
    }

.sidebar .nav-item a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

        .sidebar .nav-item a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }


.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@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: 3rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
