@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');

html, body {
    font-family:  'Source Sans Pro', sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}
 .navbar-brand {margin-left: 1rem; }
 
 .navicon {display: none;}
 .navall{}
  .tog-ico {
      position: absolute; bottom: 0; width: 100%; padding: 10px;}


app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 2.6rem;
    display: flex;
    align-items: center;
}

#poAccordion.ui-accordion .ui-accordion-content { padding: 10px 0 !important; background: #f8f8f8;}
#poDetails.ui-accordion .ui-accordion-content { padding: 10px !important;}
#poDetails.ui-accordion table {font-size: 10pt;}
#poAccordion.ui-accordion .ui-accordion-header.ui-state-default  {background: none !important; border: none !important; font-size: 10pt !important; color: #fff;}
#poAccordion.ui-accordion .ui-accordion-header.ui-state-default:hover{color:#fff; text-decoration: underline;}
#poAccordion.ui-widget input, #poAccordion.ui-widget select, #poAccordion.ui-widget textarea, #poAccordion.ui-widget button { font-size: 10pt !important;}
.sidebar-right .ui-accordion .ui-accordion-header { border: none; border-bottom: 1px dotted #000; border-radius: 0 !important; }
.sidebar-right .ui-state-active {background: #ACD685;font-weight: bold; color: #444; }
.main {
    flex: 1;
}

.main .top-row {
    background-color: #1E282D;
    border-bottom: 1px solid #1E282D;
    justify-content: flex-start;
    z-index: 2;
    color: #bbc5ca;
    font-size: 0.8rem;  
}

.main .top-row > a {
    margin-left: 1.5rem;
    color: #bbc5ca;
}

.main .top-row .profile-links { position: relative; width: 20px;}
.main .top-row .profile-links:hover .p-links{     display: block !important;
    position: absolute;
    top: 20px;
    right: 0;
    background: #fff;
    border: 1px dotted #999;
    text-align: left !important;
    width: 80px;
}
.main .top-row .profile-links:hover .p-links a {color: #666;}

    .main .top-row .profile-links .p-links {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.sidebar {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background: #666666;
}

.sidebar .top-row {
    background-color: #1E282D;
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: .5rem;
    text-transform: uppercase;
}

.sidebar .oi {
    width: 1.2rem;
    font-size: 0.6rem;
    vertical-align: text-top;
    top: -0px;
}

.nav-item {
    font-size: 0.99rem;
    /*padding-bottom: 0.5rem;*/
    border-top: 1px dotted #ccc;
}

.nav-item:first-of-type {
    /*padding-top: 1rem;*/
}

.nav-item:last-of-type {
    /*padding-bottom: 1rem;*/
}

.nav-item a {
    color: #d7d7d7;
    border-radius: 0px;
    height: 2.3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    background-color: transparent;
    transition: .3s background-color ease-out;
}

.nav-item a.active, .nav-item a.active:hover {
    border-top: 1px solid #3f8200;
    border-bottom: 1px solid #3f8200;
    background-color: #ACD685;
    color: #000;
    transition: .3s background-color ease-out;
    font-weight: 600;
}

.nav-item a:hover {
    background-color: #3f8200;
    color: #fff;
    transition: .3s background-color ease-in;
}

.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;
}
.sticky-header { background-color: #F6F6F6; top: 40px; border-bottom: 1px dotted; z-index: 1;}
.sticky-header h5{ font-weight: 600;}
.table td, .table th {padding: 3.2px;}
.btn-light, .btn-light:hover {background-color: #e4e4e4;border-color: #e4e4e4;}
.btn-light:hover, .btn-success:hover, .btn-dark:hover, .btn-primary:hover {box-shadow: 2px 2px 5px #ccc;}
.top-row a:link,.top-row a:visited  {color:#bbc5ca; transition: .2s color ease-out}
.top-row a:hover {color:#fff; transition: .2s color ease-in; text-decoration: none;}

.table thead { position: sticky !important; }

/*.po-search a:link, .po-search a:visited  { color: #fff;}
.po-search a:link, .po-search a:visited {
    color: #fff;
    text-decoration: underline;
}*/
.d-flex.justify-content-end {
    position: fixed;
    bottom: 0;
    background: #F6F6F6;
    width: 100%;
    border-top: 1px dotted #000;
    justify-content: flex-start !important;
    
    
}
#blazor-error-ui {display: none;}
.btn-success {background: #3f8200; border-color: #3f8200; font-size:10pt;}
.btn-primary {font-size:10pt;background: #555; border-color: #555; }
.btn-primary:hover {background: #222; border-color: #222;}
.btn-dark {font-size: 9pt; background-color: #999; border-color: #999;}
.pagination {padding:  10px 0 0 1%; font-size: 13px; color: #000;}
.pagination a:link {color: #000;}
.main .row{margin-left: 0; margin-right: 0;}
.left-section {background: #F0F0F0; height: 100vh;}
/*.right-section {border-left: 1px dotted #000;}*/
.right-section hr{ margin-bottom: .3rem; margin-top: .3rem;}
.right-section .fixed-top  { top: 120px;}
.whitebox {background: #fff; border: 1px dotted #000; box-shadow: 6px 6px 8px #ddd; }
.sidebar-right {height: 84vh; position: sticky; top: 105px; border-left: 1px dotted #000;}
.hd-title {background: #DCF4FE; font-size: 13pt; color: #666;}
.hd-title .po-link a:link, .hd-title .po-link a:visited {font-size: 13pt; color: #000; font-weight: 600;}
.hd-title .po-link a:hover, .hd-title .po-link a:active {text-decoration: underline;}
.po-details hr {margin-top: .2rem; margin-bottom: .2rem;}
.content-wrapper {overflow: auto;  height: 84.3vh;}
.content-wrapper .table-responsive { min-width: 1060px;}
.control-section.polist .table td,  control-section .table th {
    padding: 0.2px 10px;
}
.control-section .table th { text-align: center !important;}
.navbar-brand {margin-left: 1rem; font-weight: bold; color: #fff !important; font-style: italic; font-size: 1.5rem; line-height: 1.5rem; margin-left: 0;}
.navbar-brand:first-letter { color: #ACD685; }
.norowselect {font-size: 18pt; font-weight: 200; padding: 90px 0;}
.table-hover tbody tr:hover {background-color: rgb(221, 240, 204);}
.lbl-brand {
    vertical-align: top;
    line-height: 30px;
}

@media (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 96.1vh;
        position: sticky;
        top: 42px;
        padding-right: 0;
        padding-left:10px;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        /*padding-left: 1.2rem !important;
        padding-right: 1rem !important;*/
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
a.ui-button:hover {
    color: #fff;
    text-decoration: none;
}

/*
Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
*/
.hljs {
    display: block;
    overflow-x: auto;
    background: white;
    color: black;
}

.hljs-comment,
.hljs-quote,
.hljs-variable {
    color: #008000;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-built_in,
.hljs-name,
.hljs-tag {
    color: #00f;
}

.hljs-string,
.hljs-title,
.hljs-section,
.hljs-attribute,
.hljs-literal,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-addition {
    color: #a31515;
}

.hljs-deletion,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-meta {
    color: #2b91af;
}

.hljs-doctag {
    color: #808080;
}

.hljs-attr {
    color: #f00;
}

.hljs-symbol,
.hljs-bullet,
.hljs-link {
    color: #00b0e8;
}


.hljs-emphasis {
    font-style: italic;
}

.hljs-strong {
    font-weight: bold;
}

.documentation-link {
    text-decoration: none !important;
    padding: 6px 0;
    display: flex;
    align-items: center;
    position: relative;
    float: right;
    margin-left: -100%;
}

.social-link {
    margin-right: 8px;
    text-decoration: none;
}

.console {
    height: 400px;
    background: #fff;
    margin: 16px 0;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    padding: 0 0 16px 0;
    color: #000;
}

.console-content {
    flex: 1;
    overflow: auto;
    background-color: #ccc;
}

.console-header {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
}

.console-title {
    flex: 1;
    text-align: center;
    font-size: 24px;
}

.console-clear {
    appearance: none;
    border: none;
    background: transparent;
    color: #000;
    padding: 0 16px 0 0;
}

.console-message {
    margin: 8px;
    padding: 4px 0;
    display: flex;
    align-items: baseline;
    background: #fff;
    border-radius: 4px;
}

.console-message-time {
    font-size: 12px;
    padding: 2px 4px;
}

.checkbox-editor-field {
    display: inline-block;
}
.fas.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

.fa-left {
    margin-right: 7px;
}

