/* Reset */
html,body { border: none; margin: 0; padding: 0; } p,ul,ol,dl,h1,h2,h3,h4,h5,h6,blockquote,address,big,cite,code,em,font,img,small,strike,sub,sup,fieldset,form,label,legend,button,table,caption,tr,th,td,figure { border: none; font-size: inherit; line-height: inherit; margin: 0; padding: 0; text-align: inherit; } blockquote::before,blockquote::after { content: ""; } 

/* Setup */
html { scroll-behavior: smooth; } 
body { color: #333; font-size: 18px; line-height: 1.62rem; margin:0; padding:0; background-color:#fff; display: flex; flex-direction: column; min-height: 100vh; font-family: 'Roboto', sans-serif; font-display: swap;} 
a { color:#007bff; text-decoration:none; } 
a:hover { color:#005e8b; } 
input {font-family: inherit; background-color: white;} input::-webkit-datetime-edit {line-height: 1;padding: 0;margin-bottom: -2px;}

p { margin: 0 0 1em 0; } 

h1 { font-size: 2.8rem; } 
h2 { font-size: 1.6rem; } 
h3 { font-size: 1.4rem; } 
h4 { font-size: 1.3rem; } 
h5 { font-size: 1.2rem; } 

ul, ol { margin: 0 0 1rem 1rem; } 
ul { list-style: disc; } 
ol { list-style: decimal; } 
li { line-height: 1.5; margin: 0.1rem 0 0 1rem; } 
li > ul, li > ol { margin: 0.5rem 0 0 1rem; } 

/* width & height */
.w0 { width: unset !important; } .w20 { width:20%; } .w25 { width:25%; } .w33 { width:33.33%; } .w50 { width:50%; } .w70 { width:70%; } .w80 { width:80%; } .w100 { width:100% !important; } 
.h100 { height:100px; } .h200 { height:200px; } .h300 { height:300px; } 
.i100 { max-width: 100%; height: auto; }

/* padding & margins */
.p0 { padding:0 !important; } .p5 { padding:.5rem!important; } .p10 { padding:1rem; } 
.pt5 { padding-top:.5rem; } .pt10 { padding-top:1rem; } .pt20 { padding-top:2rem; } 
.pb5 { padding-bottom:.5rem; } .pb10 { padding-bottom:1rem; } .pb20 { padding-bottom:2rem; } 
.m0 { margin:0 !important; } .m5 { margin:.5rem !important; } .m10 { margin:10px !important;} 
.ml10 { margin-left:10px; } .ml20 { margin-left:20px; } 
.mr10 { margin-right:10px; } .mr20 { margin-right:20px; } 

/* aligns */
.left { float:left; } .right { float:right; } .center { margin:auto; text-align:center; justify-content: center; } 
.alignright { text-align: right; } .alignleft { text-align: left; } .aligncenter { text-align: center; } 
.centered { display: flex; justify-content: center; align-items: center; height: 100vh; } 
.relative { position:relative; }
.hidden { display: none; }

/* fonts */
.font05 { font-size:0.5em; }.font06 { font-size:0.6em; } .font08 { font-size:0.8em; } .font12 { font-size:1.2em; } .font14 { font-size:1.4em; } .font16 { font-size:1.6em; }
.upcase { text-transform: uppercase; } 
.underline { text-decoration: underline; text-underline-position: under; } .nounderline { text-decoration: none; } 
.bold { font-weight:600; } 

/* Colors */
.red { color:#DB4437; } .gray { color:gray; } .white { color:white!important; } .black { color:#333; } .green { color:#66ad59; } 
.bgblack { background:#333; } .bggreen { background:#66ad59 !important; } .bggray { background:#f2f7f2; } .bgred { background:#DB4437; } .bgdarkgray { background:#474747; } .bgwhite { background:#fff; } .bglightblue { background:#f4f9fd; } 

/* menu */
.menu { width:250px; height:100vh; background-color:#333333; color:#fff; position:fixed; display:flex; flex-direction:column; top:0; left:0; transition:transform .3s ease-in-out; z-index:999; border-right: 1px solid #ccc;}
.menu a { color:#fff; text-decoration:none; padding:10px; display: block; }
.hamburger,.close-btn { display:none; }

/* content */
main { margin-left:250px; transition:margin-left .3s ease-in-out; flex-grow:1; position:relative; }
.content { padding:20px; max-width: 1400px;}
.title { font-size:2em; padding-bottom:10px; padding-top:20px; line-height: 3rem; }
.postbox { position: relative; min-width: 255px; border: 1px solid #c3c4c7; box-shadow: 0 1px 1px rgba(0,0,0,.04); background: #fff; }

.submenu { margin: 15px 0px; } 
.submenu a, .partmenu a { white-space: nowrap; border: 1px solid #ccc; background-color: #f7f7f8; color: #333; border-radius: 2px; padding: 7px; margin-right: 10px;}
.submenu a:hover, .partmenu a:hover { background-color: #333; color: #fff; }

.partmenu { margin: 5px 0px; } 
.partmenu a { font-size:0.6em; padding: 2px; } 

.line { border-bottom: 1px solid #dadce0; }
.radius { border-radius: 0.3em; }
.flex { display: flex; }
.shadow { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);}

.external::before {content: "\2197"; margin-right: 5px;}
.vertical {writing-mode: vertical-rl;transform: rotate(180deg);}

/* table */
.table { margin-bottom:10px; }
.table th,.table td { border-bottom:1px solid #ddd; padding: 5px; max-width: 250px; }
.table td input { border: 1px solid #ccc; border-radius: 5px; font-size: initial; }
.table th { background-color:#f7f7f8; color:#333333cc; cursor: pointer; font-weight: bold; }
.table textarea,.table select, .table input { width:100%;  border: 1px solid #ccc; box-sizing: border-box; padding: 10px; } 
/*.table { border-collapse: collapse; } 
.table th { background-color: #555; color: white; padding: 10px; text-align: left; } 
.table tr:nth-child(even) { background-color: #f2f2f2; } 
.table tr:nth-child(odd) { background-color: #e6e6e6; } 
.table td { padding: 10px; text-align: left; border: 1px solid #ddd; } 
.table tr:hover { background-color: #c0c0c0; } 
.table.bordered { border: 1px solid #ddd; } 
.table.bordered th, .table.bordered td { border: 1px solid #ddd; } */
.tbg { background-color: #c0c0c020 !important; } 

/* Form */
.form { max-width: 600px; margin: 0 auto; padding: 20px; background-color: #f5f5f5; border-radius: 5px;}
 .form-message { color: red; margin-bottom: 10px; }
 .form-row { display: flex; align-items: center; margin-bottom: 10px; }
 .form-row label { flex: 1; white-space: nowrap;}
 .form-row input,.form-row select,.form-row textarea { flex: 2; padding: 10px; border: 1px solid #ccc; border-radius: 5px; font-size: 16px; }
 .form-row input[readonly] {background-color: #f1f1f1;border: none;cursor: default;}
 .form-row input[type="submit"], .form-row input[type="button"] { background-color: #fff; color: #333; &:hover { color: #fff; background-color: #444; border-color: #444; cursor: pointer; }
 }
 

button, .button { display: inline-block; padding: 5px 10px; border: 1px solid #999; color: #333; background-color: #fff; transition: all 0.2s; border-radius: 0.3em; font-family: 'Roboto', sans-serif; }
button:hover, .button:hover { color: #fff; background-color: #444; border-color: #444; cursor: pointer; }
button:disabled,button[disabled]{background-color: #cccccc;cursor:not-allowed !important;}

.pointer { cursor: pointer; } 

.message { display: none; position: fixed; top:20px; right:20px; padding: 10px; background-color: #f1f1f1; color: #333; font-size: 20px; border-radius: 5px; border:1px solid #444; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); z-index: 9999; }

.hint { display: none; position: absolute; max-width: 300px; min-width: 150px; height: auto; background-color: #fff; border: 1px solid #ccc; padding: 10px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); } 
.hintid { position:absolute; right:5px; bottom:0px; color:gray; font-size:10px; } 
hint { cursor:pointer; } 
hint::after { content:"ⓘ"; } 

/* Breadcrumbs container */
.breadcrumbs { list-style:none; padding:0; margin:0; /*border:1px solid #ddd; border-radius:5px; */overflow:hidden } 
.breadcrumbs li { display:inline; margin:0 } 
.breadcrumbs a { text-decoration:none; color:#333; } 
.breadcrumbs li::after { content:"›"; margin:0 8px; color:#666 } 
.breadcrumbs li:last-child::after { content:"" } 

/* Pagination */
.pagination {margin-top: 20px;text-align: center;}
.pagination a {display: inline-block;padding: 5px 10px;margin: 0 2px;border: 1px solid #ccc;border-radius: 3px;text-decoration: none;color: #333;}
.pagination a.active {background-color: #555;color: #fff;border-color: #999;}
.pagination a:hover {color:#fff;background-color: #333;}

#dialog {width: 80%;max-width: 500px;padding: 20px;background-color: #f5f5f5;border-width: 1px;}
.chartsize{width:95%;height:260px;}
.chartsize_light{width:95%;height:200px;}

/* Search */
.search_results { position: absolute; z-index: 999; top: 100%; right: 0; }
.search_results p { margin: 0; padding: 5px 7px; border: 1px solid #CCC; border-top: none; cursor: pointer; background: #f5f5f5; }

.clearfix::after { content: ""; clear: both; display: table; } 

@media not print {
    @media (max-width: 768px) {
        .mh { display: none; }
        .mobile0 {padding: 0 !important; margin: 0 !important; }
        .mpt20{ padding-top: 20px; }

        header { height: 3.6rem; } 
        .content { padding:10px; } 
        .title { line-height: 3rem;}

        .right{ float:none; }

        .menu { transform: translateX(-100%); } 

        .menu.open { transform: translateX(0); } 

        main { margin-left: 0; } 

        .hamburger { display: block; position: fixed; top: 10px; left: 10px; font-size: 24px; color: #000; cursor: pointer; } 
        .close-btn { display: none; position: fixed; top: 10px; right: 10px; font-size: 24px; color: #000; cursor: pointer; } 

        .form {max-width: 100%;padding: 10px;}
        .form-row { flex-direction: none; margin-bottom: 20px;}

        .submenu a, .partmenu a { display: block; margin-bottom: 10px; }

        .mobile0{padding: 0 !important; margin: 0 !important;}

        .w20,.w25 { width:50%; } 
        .w33,.w50,.w70,.w80 { width:100%; } 
        .centered { all: initial; } 
        .table {overflow-x: scroll; display: block;}
        .table th, .table td { padding: 5px; }

        #dialog { max-width: none;}
        .chartsiz, .chartsize_light {width:95%;height:100%;}
    }
}
@media print {
    @page {
        margin:0 !important;
        padding:0 !important;
    }
    body {
        transform: scale(0.95);
        width: 100%;
        margin:0 !important;
        padding:0 !important;
        line-height: 1.4;
        word-spacing:1.1pt;
        letter-spacing:0.2pt;
        color: #000;
        background: none;
        font-size: 10pt !important;
    }
    .content { padding:0; max-width: 100%;}
    a { color:#000000; }
    main {margin:0 !important;}
   #menu, #hamburger {display:none;}
   .printhide {display:none;}
   .chartsiz, .chartsize_light {width:95%;height:100%;}
}