﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: "icons";
    src: url("fonts/websymbols-regular-webfont.svg#WebSymbolsRegular") format("svg"), url("fonts/websymbols-regular-webfont.eot"), url("fonts/websymbols-regular-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/websymbols-regular-webfont.woff") format("woff"), url("fonts/websymbols-regular-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
}

a, .btn-link {
    color: #0366d6;
}

.icon {
    font-family: icons;
    float: left;
    margin-right: 5px;
}

.header {
    text-align: center;
}

.btn-primary {
    color: #fff;
    background-color: #2b3997 !important;
    border-color: #1861ac;
}

    .btn-primary:hover {
        background-color: #4fa5df !important;
    }

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.active {
    z-index: 0 !important;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 10%, rgba(2,61,119,1) 90%);
    color: white;
}

.main {
    flex: 1;
}

    .main .top-row {
        /* background-color: #f7f7f7;*/
        border-bottom: 1px solid #d6d5d5;
        justify-content: space-between;
    }

        .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: #02447B !important;
}

.menu-list .top-row {
    background-color: rgba(0,0,0,0.4);
}

.menu-list .navbar-brand {
    font-size: 1.1rem;
}

.menu-list .oi {
    width: 2rem;
    font-size: 1.1rem;
    /*    vertical-align: text-top;*/
    top: 2px;
}

.menu-list .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}



    .menu-list .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .menu-list .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .menu-list .nav-item a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .menu-list .nav-item a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .menu-list .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;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    /*.navbar-toggler {*/
    /*        display: none;*/

    /*}*/

    /*sidebar .collapse {*/
    /*.sidebar .collapse {*/
    /*         Never collapse the sidebar for wide screens */
    /*display: block;
    }*/
}

.container-wide {
    width: 94vw;
}



/* Nav bar*/

.menu {
    background-color: #E6ECEF;
    border: 1px solid lightgray;
}

.navigation-item {
    z-index: 1;
}



.menu-list {
    background: rgb(2,0,36);
    background: linear-gradient(190deg, rgba(2,0,36,1) 10%, rgba(2,61,119,1) 90%);
    width: auto;
    z-index: 2;
    position: absolute;
    border-bottom-right-radius: 15px;
    opacity: 0.8;
    box-shadow: 0px 0px 10px 0px black;
    margin-top: -2px;
}

.dropdown-menu {
    padding: 1rem !important;
}

    .dropdown-menu a {
        text-decoration: none;
    }

/*.menu-empresas {
    cursor: pointer;
    transition: font-size 1s;
}

    .menu-empresas:hover * {
        text-shadow: 2px 2px 4px black;
    }*/

.logo {
    width: 35px;
    height: 35px;
    align-self: center;
    margin-left: 10px;
}

#logo-loading {
    animation: loading 3s normal infinite;
    width: 40px;
    margin-left: 25px;
    margin-top: 20px;
}

@keyframes loading {
    0% {
        transform: scale(1,1);
    }

    50% {
        transform: scale(1.5,1.5);
    }

    100% {
        transform: scale(1,1);
    }
}


.modal {
    z-index: 1000 !important;
}

.ui-radiobutton-label {
    white-space: normal;
    padding-left: 5px;
}

input[type='file'] {
    /*    color: transparent;*/
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.input-file {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: #2b3997;
    border-color: #1861ac;
    border-radius: 5px;
    display: block;
    transition: all .5s;
    cursor: pointer;
    padding: 15px 40px !important;
    text-transform: uppercase;
    width: fit-content;
    text-align: center;
    transition: color .15s;
    overflow-wrap: anywhere;
}

    .input-file:hover {
        background-color: #429DD6;
    }

.user-info {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    text-align: right;
    margin-left: auto;
    padding-right: 15px;
    padding-top: 3px;
}

.user-info-login {
    margin-left: auto;
    padding-top: 12px;
    margin-right: 20px;
}

.pointer {
    cursor: pointer;
}

/* Radzen*/

.ui-datatable-thead th {
    padding: 0 !important;
}
.ui-datatable td {
    padding: 0px;
}
.ui-datatable-thead th .ui-column-title {
    text-transform: none !important;
    padding: 0 0.3rem 0 0.3rem !important;
}

.ui-datatable-data td {
    padding: 0 !important;
}

    .ui-datatable-data td .ui-cell-data {
        white-space: normal !important;
        font-size: 0.65rem !important;
        padding: 0 0.3em 0 0.3em;
    }
.ui-button-sm .ui-button-text {
    line-height: 1.0rem;
    padding: 0 !important;
    margin: 0 !important;
}
.ui-cell-filter {
    padding: 0rem 0.625rem !important;
}

/* Bootstrap */

/*.form-group {
    margin-bottom: -0.5rem !important;
}*/

.card {
    padding-bottom: 0px !important;
}

.card-nopadding {
    padding: 0px !important;
}

.card-body-filters {
    padding: 0px !important;
}

    .card-body-filters .form-group {
        margin-bottom: 0px;
    }

.card-body {
    /*padding-bottom: 0px !important;*/
}

.btn-label {
    position: relative;
    left: -12px;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0,0,0,0.15);
    border-radius: 3px 0 0 3px;
}

.btn-labeled {
    padding-top: 0;
    padding-bottom: 0;
}

.btn {
    margin-bottom: 10px;
}

.modal-open .modal {
    background: rgba(0,0,0,0.90);
}

@media print {
    .no-print {
        display: none !important;
    }

}
.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}