﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-align: left;
}

h1:focus {
    outline: none;
}

a,
.btn-link {
    color: #0366d6;
}

.btn-danger {
    color: #fff !important;
}

.btn-primary {
    color: #fff !important;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.gaMainPage a {
    color: #565151;
    text-decoration: none;
    cursor: pointer;
}

a:active,
a:hover,
a:focus {
    text-decoration: none;
}

body,
p,
a,
.btn {
    font-family: 'Open Sans', sans-serif;
}

body {
    font-size: 14px;
    line-height: 1.42857143;
}

body,
p,
.btn {
    color: #565151;
}

a img {
    border: none;
}

img {
    max-width: 100%;
    width: auto \9;
    height: auto;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
    position: relative;
    width: 100%;
}

.main .top-row {
    background-color: #f7f7f7;
    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(180deg, #052767 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;
    height: 100%;
}

#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: 2rem !important;
        padding-right: 1.5rem !important;
    }*/
/*
.navbar-toggler {
    display: none;
}

.navbar-collapse {
    display: -ms-flexbox!important;
    display: flex!important;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
}*/
/*.sidebar .collapse {*/
/* Never collapse the sidebar for wide screens */
/*display: block;
}
}*/

.no-wrap {
    white-space: nowrap;
}

.details-img {
    background-image: url('details.png');
    background-size: 19px 18px;
    padding: 19px 18px 0px 0px;
    height: 0px;
}

.h4,
h4 {
    font-size: 18px;
}

.h4,
.h5,
.h6,
h4,
h5,
h6 {
    /*margin-top: 10px;*/
    margin-bottom: 10px;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

/* Bootstrap override */
.btn {
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
}

.btn .glyphicon:after {
    content: " ";
    padding-right: 8px;
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus {
    background-color: #4e8a10;
    border-color: #ccc;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:hover:active {
    background-color: #7ea353;
    border-color: #ccc;
    color: #fff;
}

.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn.dropdown-toggle {
    color: #565151;
}

.form-group {
    /* Bootstrap override */
    /* Bootstrap override */
    /* Bootstrap override */
    /* Bootstrap override */
    margin-bottom: 1em;
}

.form-group label {
    font-weight: normal;
    /*margin: 10px 0;*/
}

.form-group .form-value {
    font-weight: normal;
    margin: 10px 0;
    display: inline-block;
}

.form-group .form-control {
    /*height: 34px;*/
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form-group select.form-control {
    padding: 6px 6px;
}

.form-group .form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.form-group .input-group-addon {
    /*height: @form-input-height;*/
    border: 1px solid #766f6f;
    border-radius: 0;
    border-left: none;
}

.form-group .form-control:disabled {
    background-color: #f5f5f5 !important;
}

.form-group.has-error {
    color: #a94442;
}

.form-group.has-error .form-control {
    border-color: #a94442;
}

.form-group.has-error .input-group-addon {
    border-color: #a94442;
}

.modal {
    overflow-y: auto !important;
}

.grid-container {
    overflow-x: auto;
}

.grid {
    /*table-layout: fixed;*/
}

.grid a {
    color: #0056b3 !important;
    text-decoration: underline !important;
}

.grid .form-group {
    margin-bottom: 0 !important;
}

.grid.table thead {
    background-color: #EFF3FC;
}

.grid.table thead .oi {
    color: #D0D3DC;
}

.grid.table thead th {
    background-color: #EFF3FC;
    vertical-align: top !important;
    padding: 4px 4px !important;
    font-weight: normal;
}

.grid.table thead th .oi {
    cursor: pointer;
    width: 15px;
}

.grid.table thead th .title {
    white-space: nowrap;
    overflow-x: hidden;
    /*text-overflow: ellipsis;*/
    padding-right: 18px;
}

.grid.table td {
    padding: 2px 4px !important;
}

.grid .daterangepicker.auto-apply .drp-buttons {
    display: inherit !important;
}

.grid .daterangepicker .drp-calendar {
    max-width: 290px;
}

.pagination {
    margin: 0 0;
}

.grid-search {
    display: flex;
    align-items: baseline;
}

@media (max-width: 767.98px) {
    .pager nav {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .pager .pagination {
        display: table-row;
    }

    .pager li.page-item {
        display: table-cell;
    }
}

@media (max-width: 573.98px) {
    .grid-search {
        justify-content: flex-start;
    }
}

@media (min-width: 574px) {
    .grid-search {
        justify-content: flex-end;
    }
}

.page-size .form-group {
    margin-bottom: 0.5rem;
}

.page-size .form-control {
    width: auto;
}

/*.nav-item.entity-item {
    position: relative;
}

    .nav-item.entity-item .num-records {
        position: absolute;
        right: 30px;
        font-weight: bold;
    }*/

.navbar {
    background-color: #546cbe !important;
    padding-top: 0em;
    padding-bottom: 0em;
}

*.navbar-nav > li > a {
    color: #fff !important;
}

/*@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .navbar-collapse {
        justify-content: space-between;
    }

        .navbar-collapse :last-child {
            margin-left: auto;
        }

    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .nav-item.dropdown:hover a.nav-link.dropdown-toggle {
        color: #555 !important;
        background-color: #e7e7e7;
    }

    .nav-item .dropdown-menu a:hover,
    .nav-item .dropdown-menu a:focus {
        color: #fff !important;
        background-color: inherit;
    }
}*/

/*@media (max-width: 991.8px) {
    .navbar-nav {
        margin-top: 0.5em;
    }

    .nav-link {
        padding: 0.5rem 1rem !important;
    }

    .dropdown-item {
        padding: 0.5rem 1.5rem !important;
    }

    .nav-item.dropdown.expanded > .dropdown-toggle {
        background-color: #e7e7e7 !important;
        color: #555 !important;
    }

    .nav-item.dropdown.expanded > .dropdown-menu {
        display: block;*/
/*background-color: #e7e7e7 !important;*/
/*}

.dropdown-submenu.expanded > .dropdown-toggle {
    background-color: #e7e7e7 !important;
    color: #555 !important;
}

.dropdown-submenu.expanded > .dropdown-menu {
    display: block;*/
/*background-color: #e7e7e7 !important;*/
/*}
}*/

/*.navbar-nav > li > a {
    color: #fff !important;
}

    .navbar-nav > li > a:hover {
        color: #fff !important;
    }

.navbar-brand {
    font-size: 18px;
    color: #ffffff !important;
}

.nav-item .dropdown-menu {
    font-size: 14px;
    margin: 0;
    background-color: #546cbe !important;
    border: none;
    border-radius: 0px;
}

    .nav-item .dropdown-menu a {
        color: #fff !important;
        background-color: inherit;
    }

.nav-item .dropdown-item.active,
.nav-item .dropdown-item:active {
    color: #fff;
    background-color: inherit !important;
}

.nav-item .dropdown-submenu {
    position: relative;
}

    .nav-item .dropdown-submenu a::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 6px;
        top: 12px;
    }

    .nav-item .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;*/
/*margin-left: .1rem;
margin-right: .1rem;*/
/*}*/

.login-display {
    color: #fff;
}

.login-display .btn {
    color: #fff;
}

.login-display a {
    color: #fff;
}

/*
.navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 20px
}

@media(min-width: 768px) {

    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px
    }
}
*/
.ga-area-nav {
    padding: 8px 15px 0;
    list-style: none;
    border-radius: 4px;
    background-color: #546cbe;
    /*margin-top: 1em;*/
    margin-bottom: 1em;
}

.ga-area-title,
.ga-area-title:visited,
.ga-area-title:hover {
    color: #fff;
    font-size: 120%;
    display: block;
    margin-bottom: 0.5em;
}

.ga-area-title {
    color: #fff;
    font-size: 120%;
    display: block;
    margin-bottom: 0.5em;
}

.ga-area-nav-items {
    padding-left: 0;
    list-style: none;
}

.ga-area-nav-items li {
    color: #fff;
}

.ga-area-nav-items > li {
    display: inline-block;
}

.ga-area-nav-items li {
    color: #fff;
}

.crumb[data-ga-selected="True"] {
    font-weight: bold;
}

.crumb {
    color: #fff;
}

.ga-area-nav-items li + li::before {
    padding: 0.5em;
    color: #ccc;
    content: "|";
}

.crumb:hover {
    color: #fff;
}

.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-default {
    border-color: #ddd;
}

.panel-default > .panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-body {
    padding: 15px;
}

.panel-footer {
    padding: 15px;
}

.list-group {
    padding-left: 0;
    margin-bottom: 20px;
}

.list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.list-group-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

a.list-group-item,
button.list-group-item {
    color: #555;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.ga-overview-panel {
    margin-bottom: 0;
    padding-bottom: 0;
}

.ga-overview-panel .panel-heading {
    padding: 0.5em;
    font-size: 120%;
}

.ga-overview-panel > .panel-heading {
    color: #3a4c8a;
    background-color: #eee;
}

.ga-overview-panel .panel-body {
    padding: 0.5em;
}

.ga-overview-panel .panel-footer {
    padding: 0.5em;
}

.ga-overview-panel > .panel-footer {
    color: #3a4c8a;
    background-color: #eee;
}

.ga-overview-panel > .panel-body > .row > div {
    margin-bottom: 1em;
}

.ga-overview-panel > .panel-heading label {
    font-size: 14px;
    display: inline-block;
}

.ga-overview-panel label {
    font-weight: normal;
    display: block;
    color: #3a4c8a;
}

.ga-overview-panel h4 {
    background-color: #f5f5f5;
    color: #3a4c8a;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}

.ga-actions-panel {
    /*margin-top: 1em;*/
}

.ga-actions-panel .panel-heading {
    background-color: #dd522d !important;
    color: #fff !important;
}

#pnlActions {
    overflow-x: auto;
    overflow-y: no-display;
}

.list-group {
    padding-left: 0;
    margin-bottom: 20px;
}

.ga-actions-panel .list-group-item {
    background-color: #4e8a10;
    color: #fff;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
}

.ga-actions-panel .ga-actions-list-nav .list-group-item {
    background-color: #546cbe;
    color: #fff;
}

.recent-activity {
    margin-bottom: 10px;
    display: block;
    font-weight: bold;
}

.activities {
    padding-left: 0;
}

.activities {
    list-style-type: none;
}

.pin {
    font-size: 90%;
}

.pin {
    color: #4e8a10;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.5);
    /*dim the background*/
    display: none;
}

.overlay.transparent {
    background: none !important;
}

.overlay.visible {
    display: block !important;
}

.overlay .spinner {
    top: 50%;
    position: absolute;
    margin: -15px 0px 0px 0px;
    width: 100%;
}

.overlay .spinner .inner {
    text-align: center;
}

.overlay .spinner .inner .caption {
    border: 1px solid;
    padding: 20px;
    background: #ffffff;
}

.overlay .spinner .inner .caption .loading-image {
    background-image: url(../images/loading.gif);
    padding: 17px;
}

.overlay.no {
    width: 0;
    height: 0;
}

.overlay.no .spinner {
    position: fixed;
}

.active {
    font-weight: bold;
}

.label-info {
    background-color: #5bc0de;
}

.label-as-badge {
    border-radius: 1em;
    float: right;
    padding: 0.2em 0.6em 0.2em;
    font-size: 0.6em;
}

.no-spinner {
    -moz-appearance: textfield;
}

.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}