@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('global.css');
@font-face {
    font-family: 'PlusJakartaSans';
    src: url('/resources/fonts/PlusJakartaSans-VariableFont_wght.ttf')
}

@font-face {
    font-family: 'PlusJakartaSansItalic';
    src: url('/resources/fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf')
}

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

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}
.b-layout-header{
    height:56px;
    position:relative!important;
}
.b-layout-sider {
  
    height: 100%
    
}
.main {
    flex: 1;
}
.btn {
    font-size: 0.9rem;
}
    .main .top-row {
        background-color: var(--header-background-color);
        background-image: url(/resources/GDSLinkLogoWhite.svg);
        background-size: auto 44%;
        background-position: 4% center;
        justify-content: flex-end;
        z-index: 999;
        background-repeat: no-repeat;
    }

        .main .top-row > a, .main .top-row .btn-link {
            color: rgba(255, 255, 255, 0.5);
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row > a:hover, .main .top-row .btn-link:hover {
            color: rgba(255, 255, 255, 1.0);
            text-decoration: none;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
            background-color: var(--header-background-color);
        }

.footer, .b-layout-footer {
    background-color: #f5f5f5;
    bottom: 0px;
    width: 100%;
    z-index: 999;
}

.sidebar {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

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

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

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

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

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

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .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;
}

.progress.fit {
    height: 100%;
}

.notification-container {
    position: fixed;
    min-height: 0px;
    width:100%;
    bottom: 70px;
    right: 20px;
}

    .notification-container .notification-container-wrapper {
        position: absolute;
        bottom: 0px;
        right: 0px;
    }

.toast {
    min-width: 200px;
}

    .toast-header .spinner-border { 
        margin-right: 5px; 
    }

.inactive {
    background-color: #fcf8e3 !important;
}

.card-decks .card-deck {
    margin-top: 20px;
}

.card-decks .card-deck:first-child {
    margin-top: 0px;
}

/* blazorise layout override */
.b-layout{
    font-size:var(--body-text-font-size)
}
.b-layout-content {
    overflow-x: auto;
}

.b-bar-vertical-inline {
    box-shadow: none !important;
}

.b-bar-vertical-inline.b-bar-light, .b-bar-vertical-popout.b-bar-light, .b-bar-vertical-small.b-bar-light {
    background-color: var(--sidebar-background-color) !important;
}

.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown:hover .b-bar-dropdown-menu {
    background: #000 !important;
}

.b-layout-sider-content {
    z-index: 999 !important;
}

.footer, .b-layout-footer {
    background-color: #f5f5f5;
}

/* blazorise bar override */
:root {
    --b-sidebar-width: 240px !important;
}

.b-bar-brand {
    font-size: 1.1rem;
    /*background-color: rgba(0,0,0,0.4) !important;*/
}

.b-bar-brand .b-bar-link {
    padding-left: 0.5em !important;
}

.b-bar-brand .b-bar-link img {
    width: 140px;
    margin-left: 1em;
}

.b-bar-vertical-inline[data-collapse=small] .b-bar-brand .b-bar-link .b-bar-icon {
    width: 100% !important;
    margin: 0;
}

.b-bar-vertical-inline[data-collapse=small] .b-bar-brand .b-bar-link img {
    width: 100% !important;
    padding: 2px;
    height: auto;
    margin-left: 0;
}

.b-bar-menu .b-bar-link {
    line-height: 2em;
}

.b-bar-dropdown-menu {
    background: transparent !important;
}

.b-bar-dropdown:before {
    color: #FFF !important;
}

.b-bar-icon {
    width: 1.5rem !important;
    font-size: var(--button-icon-size) !important;
}

.b-bar-link {
    color: #FFF !important;
    font-size: var(--body-text-font-size);
}

.b-bar-brand .b-bar-link.active {
    background-color: transparent !important;
}

.b-bar-dropdown-item.active, .b-bar-link.active {
    background-color: rgba(255,255,255,0.25) !important;
    color: white !important;
}

.b-bar-dropdown-item {
    color: #FFF !important;
    font-size: var(--body-text-font-size);
}

/* blazorise validation override */
.file-upload-control .invalid-feedback {
    display: block;
}

/* blazorise pagination */
.pagination .page-item {
    cursor: pointer;
}

.pagination .page-item.disabled {
    cursor: default;
}

/* select2 plugins */
.select2-wrapper .select2 {
    width: 100% !important;
}
/**/
.page-item.disabled .page-link{
    font-size:0.8rem
}
/* custom datagrid */
.table-download .col-component {
    width: 35%;
    font-weight: 500;
}

.table-download .col-version {
    width: 15%;
}

.table-download .col-release-date {
    width: 15%;
}

.table-download .col-archived {
    width: 10%;
}

.table-download .col-actions {
    width: 25%;
}

.table-project .row-header {
    background-color: rgba(200, 200, 200, 0.1);
}

.table-project .col-actions {
    width: 8%;
}

.data-grid-row-disabled {
    color: #6c757d !important;
    cursor: default !important;
}

.control-group .custom-control {
    display: inline-block;
}

.customer-data-grid thead th:nth-child(6) {
    min-width: 330px;
}

/**/
/* Filter template */
.filter-panel-holder .checkbox-filter-panel {
    display: flex;
    align-items: center;
}

.filter-panel-holder .checkbox-filter-panel .custom-control.custom-checkbox {
    display: inline-block;
    padding-top: 3px;
}

.filter-panel-holder .checkbox-filter-panel > .btn-filter {
    margin-left: -0.7em;
    padding: 3px 5px 5px 10px;
}

.filter-panel-holder .checkbox-filter-panel > button.hide {
    color: transparent;
}

.filter-panel-holder .filter-text {
    font-size: 0.75rem;
}
/**/
.card .logo-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    max-height: 150px;
}

.card .logo {
    max-width: 150px;
    max-height: 150px;
}

.empty-card {
    border: 0;
}

th.fit-width, td.fit-width {
    width: 1px;
    white-space: nowrap;
}

@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: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

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

.upload-image {
    max-width: 200px;
    max-height: 200px;
}

.ql-container {
    font-family: inherit !important;
    font-size: inherit !important;
    color: var(--form-control-color) !important;
}

.ql-snow .ql-tooltip {
    z-index: 3;
}

.connector-detail {
}

.connector-detail .logo-holder {
    text-align: center;
}

.connector-detail .logo {
    max-width: 150px;
    max-height: 150px;
}

.connector-detail .section-separator {
    border-top: 1px solid #ddd;
}

.connector-document-section {
    border-top: 1px solid #ddd;
}

.connector-detail .connector-description {
    min-height: 300px;
}

.connector-detail .connector-description .ql-container.ql-snow {
    border: 0 !important;
}

.connector-detail .connector-description .ql-editor {
    padding: 0 !important;
}

/* new tag modal */
.new-tag-modal .alert:last-child {
    margin-bottom: 0px;
}
