/*

<link href="print.css" rel="stylesheet" media="print" />

<link href="mobile.css" rel="stylesheet" media="screen and (max-width: 600px)" />

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link


screen and (max-width: 600px) and (prefers-color-scheme: dark)
*/


* {
    box-sizing: border-box;
}

html {
    font-size: 1.5px;
    background: #fff;
    overflow-x: auto;
    overflow-y: scroll;
}

html.dark {
    background: #333;
}


body {
    overflow: auto;
    padding: 0;
    margin: 40px;
    margin-bottom: 50vh;


    font-family: Lato1;
    font-family: OpenSans1;
    font-family: Open Sans, OpenSans1, Lato, Tahoma, Arial, sans-serif;

    font-size: 11rem;
    line-height: 140%;
    line-height: 1.4;

    background: #fff;
    color: #000;
}

body.layout {
    margin-left: 90px;
}
body.layout.sidebar-expanded:not(.sidebar-disabled) {
    margin-left: calc(var(--sidebar-width) + 40px); /* for sidebar 260px */
}

html.ligth, body.light, .ligth {
    background: #fff;
    color: #000;
}

.dark {
    background: #333;
    color: #fff;
}




img {
    vertical-align: top;
}

a {
    color: #d70;
}

p, pre, ul, ol, dl
h1, h2, h3, h4, h5, h6 {
    margin: 20px 0;
}
h2 b {
    font-weight: 900;
    text-shadow: 1px 0 var(--color-primary);
}
p:first-child, 
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
    margin-top: 0;
}
p:last-child, 
h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child {
    margin-bottom: 0;
}

h1 { font-size: 17rem; }
h2 { font-size: 16rem; }
h3 { font-size: 15rem; }
h4 { font-size: 14rem; }
h5 { font-size: 13rem; }
h6 { font-size: 12rem; }



#page-header {
    margin-bottom: 40px;
}

#page-footer {
    margin-top: 40px;
}

#page-section {

}

#page-top-bar
{
    -position: fixed;
    -z-index: 500;
    -left: 0;
    -top: 0;
    width: 100%;
    background: #eee;
    padding: 10px;
}

#page-bottom-bar
{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}


#page-breadcrumbs {
    -background: #eee;
    line-height: 50px;
}
#page-breadcrumbs ul {
    list-style: none;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #f3f3f3;
    border-radius: 5px;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    text-space-collapse: trim-inner;
}


#page-breadcrumbs li {
    display: inline-block;
    float: left;
    margin: 0;
    padding: 0;
}
#page-breadcrumbs li a, #page-breadcrumbs li b {
    display: inline-block;
    vertical-align: top;
    height: 50px;
    overflow: hidden;
    -max-width: 20%;
    text-overflow: ellipsis "..";
    padding: 0 20px;
    text-decoration: none;
    color: #333;
    background: #eee;
    border-left: 10px solid #ddd;
    -border-radius: 5px;
    -margin-bottom: 5px;
    -margin-right: 10px;
}
#page-breadcrumbs li:first-child a, #page-breadcrumbs li:first-child b {
    border-left-width: 20px;
    border-radius: 5px 0 0 5px;
}
#page-breadcrumbs li:last-child a, #page-breadcrumbs li:last-child b {
    font-weight: bold;
    border-left-color: #444;
    background: var(--color-primary);
    color: white;
    border-radius: 5px;
}
#page-breadcrumbs li:last-child b {
    -background: #666;
}
#page-breadcrumbs li a:hover  {
    border-left-color: var(--color-primary);
    background: #ccc !important;
    color: #000;
}



#page-breadcrumbs li:last-child::after {
    border-left-color: var(--color-primary);
}


#page-burger, #page-sidebar-toggle {
    font-size: 20rem;
    padding: 4px 12px;
    padding-right: 0;
    color: #666;
    cursor: pointer;
}
body.sidebar-expanded #page-burger {
    position: absolute;
    left: 0;
    top: 0;
}
#page-burger:hover, #page-sidebar-toggle:hover {
    background: #fff;
    color: var(--color-primary);
}
#page-sidebar-toggle {
    margin-bottom: 100px;
    margin-top: 40px;
}
#page-sidebar-toggle i {
    display: inline-block;
    width: 30px;
    font-size: 18rem;
}
#page-sidebar-toggle span {
    font-size: 11rem;
    font-weight: bold;
    padding-left: 10px;
    vertical-align: 12%;
    text-transform: uppercase;
}
#page-sidebar-toggle div:first-child {
    display: none;
}
body.sidebar-expanded #page-sidebar-toggle div:first-child {
    display: block;
}
body.sidebar-expanded #page-sidebar-toggle div:last-child {
    display: none;
}

#page-sidebar {
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 50px;
    height: 100%;

    background: #222;
    font-size: 10rem;
}
#page-sidebar-content {
    overflow: auto;
    width: 100%;
    height: 100vh;
}
body.sidebar-expanded #page-sidebar {
    width: var(--sidebar-width);
}
#page-sidebar, #page-sidebar a {
    color: #fff;
}

#page-sidebar a:hover {
    color: #d70;
}

#page-logo {
    display: block;
    text-align: center;
    padding: 5px;
    -padding-top: 20px;
}
#page-logo:hover {
    background: #fff;
}
#page-logo > img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    
}

body #page-logo:hover > img {
    transform: scaleX(-1);
}


#page-sidebar-user {
    text-align: center;
    padding-top: 5px;
}
#page-sidebar-user > * {
    display: inline-block;
    font-size: 8rem;
}
#page-sidebar-user a:hover {
    background: #fff;
    color: #222;
    border-radius: 5px;
}
body.sidebar-expanded #page-sidebar-user > * {
    padding: 3px 6px;
    font-size: 10rem;
}





#page-menu {
    text-transform: uppercase;
    
}

#page-menu ul, #page-menu li {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

#page-menu > ul > li {
    margin-top: 30px;
}
#page-menu > ul > li:first-child {
    margin-top: 10px;
}
#page-menu ul ul li:not(:first-child) {
    border-top: 1px solid #4a4a4a;
}
#page-menu ul ul li:nth-child(2) a {
    padding-top: 15px;
}

#page-menu .point-name span {
    background: var(--color-primary);
}

#page-menu li > a > span {
    display: inline-block;
    vertical-align: top;
    padding-bottom: 2px;
}
#page-menu li > a > span > span {
    display: block;
}
#page-menu li > a > span > span::first-letter {
    font-size: 120%;
}

#page-menu li > a, #page-menu li > span {
    display: block;
    overflow: hidden;
    padding: 10px 0 10px 12px;
    text-decoration: none;
    background: #222;
    color: #fff;
    white-space: nowrap;
}
body.sidebar-expanded #page-menu a, body.sidebar-expanded #page-menu span {
    text-overflow: ellipsis "..";
}


#page-menu li > span {
    font-size: 13rem;
    font-weight: bold;
    padding: 15px 0;
    text-align: center;
    line-height: 1;
}
body:not(.sidebar-expanded) #page-menu li > span {
    padding: 0;
}


#page-menu a:hover {
    background: #333;
    color: var(--color-primary);
}
#page-menu a.current {
    background: #fff !important;
    color: var(--color-primary) !important;
    font-weight: bold;
}
#page-menu a.current i.fa-solid {
    color: var(--color-primary) !important;
}
#page-menu a.hdr {
    background: #444;
    font-size: 12rem;
}


#page-menu a i.fa-solid, #page-menu span i.fa-solid {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    vertical-align: bottom;
    text-align: center;
    color: #555;
    font-size: 20px;
}
#page-menu a.hdr i.fa-solid {
    color: #333;
    font-size: 24px;
}
#page-menu a:hover i.fa-solid {
    color: #d70;
}


#page-menu span i.fa-solid {
    color: #fff;
}


.page-message, .page-message-error, .page-message-ok {
    margin: 20px auto;
    width: 100%;
    -max-width: 1000px;
    padding: 20px;
    border-left: 20px solid var(--color-primary);
    border-left: 20px solid #ddd;
    background: #eee;
    color: #111;
    border-radius: 5px;
}
.page-message-error {
    border-left-color: #d00;
    color: #d00;
}
.page-message-ok {
    border-left-color: green;
    color: green;
}
.dark .page-message {
}
.page-message-contents {
    -max-width: 1000px;
}

#page-sidebar-user a {
    text-decoration: none;
}

.text-right {
    text-align: right;
}
.float-right {
    float: right;
}


iframe.fullscreen {
    position: fixed;
    right: 0;
    top: 0;
    width: calc( 100vw - 50px );
    height: 100vh;
    background: #fff;
    border: 0;
    overflow: scroll;
}

body.sidebar-expanded iframe.fullscreen {
    width: calc( 100vw - var(--sidebar-width) );
}

.table-report {
    width: 100%;
}
.table-report tr:hover td {
    background: #ddd;
}







