:root {
    --coheader: black;
    --blue: #1e90ff;
    --white: #ffffff;
}

html,
body {
    box-sizing: border-box;
    background-color: gray;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    text-align: left;
    font-size: 0.8em;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-family: 'Arial';
}

.container {
    height: cal(100vh - 4px);
    display: grid;
    border: 1px solid black;
    grid-template-columns: minmax(180px, 250px) minmax(250px, 1fr);
    grid-template-rows: 44px calc(100vh - 69px) 20px;
    grid-template-areas: "navbar navbar" "sidebar content" "footer footer";
}

#footer {
    grid-area: footer;
    background-color: rgb(210, 233, 79);
    border-top: 1px solid black;
    color: black;
    text-align: center;
    padding: 2px;
    font-size: .7em;
}

#navbar {
    grid-area: navbar;
    background-color: rgb(143, 153, 119);
    background-color: rgb(210, 233, 79);
    color: var(--coheader);
    border-bottom: 1px solid black;
    font-size: 1rem;
    font-weight: 600;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    overflow-y: hidden;
}

.headertxt {
    float: left;
    padding: .5rem;
    border: 0px solid green;
    width: 270px;
    max-width: 270px;
    min-width: 270px;
}

.links {
    border: 0px;
    padding-top: 3px;
    width: 380px;
    max-width: 480px;
    min-width: 280px;
    overflow: auto;
    grid-auto-flow: column;
}

.button {
    float: left;
    margin: 1px;
    margin-top: 4px;
    text-align: center;
    display: inline;
    width: 26px;
    height: 26px;
    padding: 1px;
    line-height: 26px;
    font-size: 1em;
    font-weight: 500;
    border: 1px solid black;
    border-radius: 8px;
    background-color: khaki;
    text-decoration: none;
}

.pagemiddle {
    position: relative;
    border-collapse: collapse;
    border: 1px solid red;
    top: 0;
    left: 0;
    width: calc(100vw - 2px);
    height: calc(100vh - 42px);
    background-color: khaki;
    background-image: linear-gradient(gray, black, gray);
    font-weight: 600;
    padding: 0px;
    margin: 0px
}

#sidebar {
    grid-area: sidebar;
    margin: 0px;
    padding: 0px;
    border-right: 1px solid black;
    color: black;
    background-color: lightgray;
    background-image: linear-gradient(203deg, orange, white);
}

#sidebar h3 {
    margin: 0px;
    padding: 5px;
}

.header2 {
    color: yellow;
    padding-left: 10px;
    padding-top: 5px;
}

.opstyper {
    width: 100%;
    height: calc(100% - 36px);
    border: none;
    overflow-y: scroll;
    scrollbar-width: none;
    overflow-x: hidden;
    margin: 0px;
    padding: 0px;
    padding-top: 2px;
    -webkit-overflow-scrolling: touch;
    background-color: transparent;
}

.opstyper::-webkit-scrollbar {
    display: none;
}

#content {
    grid-area: content;
    background-image: linear-gradient(203deg, white, orange, white);
    color: black;
    font-weight: 600;
    padding: 0px;
    margin: 0px;
}

#content h3 {
    margin: 0px;
    padding: 5px;
}

.opskrifter {
    width: 100%;
    height: calc(100% - 36px);
    color: black;
    border: none;
    margin: 0px;
    overflow-y: scroll;
    scrollbar-width: none;
    overflow-x: hidden;
    padding: 0px;
    padding-top: 2x;
    -webkit-overflow-scrolling: touch;
    background: tranperant;
}

h4 {
    margin: 5px;
    padding: 0px;
}

.opskrifter::-webkit-scrollbar {
    display: none;
}

.button1 {
    float: left;
    width: 92%;
    max-width: 90%;
    height: 20px;
    margin: 2px;
    margin-left: 8px;
    text-decoration: none;
    text-align: left;
    font-size: 0.9em;
    font-weight: 500;
    padding: 3px;
    padding-top: 5px;
    padding-left: 6px;
    border: 1px solid black;
    border-radius: 8px;
    background-color: lightgreen;
    color: black;
    overflow: hidden;
    text-overflow: clip;
}

.button1:hover {
    background-color: #afa387;
}

.button2 {
    float: left;
    width: 250px;
    height: 28px;
    margin: 2px;
    margin-left: 4px;
    text-decoration: none;
    text-align: left;
    font-size: 0.9em;
    font-weight: 500;
    padding: 3px;
    padding-top: 5px;
    padding-left: 6px;
    border: 1px solid black;
    border-radius: 8px;
    background-color: yellow;
    color: black;
    overflow: hidden;
    text-overflow: clip;
}

.button2:hover {
    background-color: #afa387;
}

.opsheader {
    float:left;
    display: inline-block;
    color: black;
    padding-left: 10px;
    padding-top: 17px;
    font-weight: 600;
    font-size: 16px;
}

.opspopup {
    position: fixed;
    top: 0px;
    left: 0px;
    background-image: linear-gradient(105deg, lightblue, #43cf78, #00549e);
    height: 100vh;
    width: 100vw;
    font-weight: 600;
    padding: 0px;
    margin: 0px;
}

.closebutton {
    display:inline-block;
    float: right;
    width: 32px;
    height: 28px;
    line-height: 20px;
    margin: 5px;
    margin-bottom: 4px;
    padding-top: 8px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid black;
    background-color: lightgreen;
    color: black;
    border-radius: 8px;
}

.closebutton:hover {
  opacity: 0.8;
  background-color:lightblue;
  color: black;
}

.logo {
    position: fixed;
    top: calc(100vh - 89px);
    left: calc(100vw - 130px);
    width: 120px;
    height: 59px;
    background-image: url('../images/cialogo.png');
}

a.btn {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
}

.main {
    background-color: khaki;
    border: 1px solid gray;
    position: fixed;
    top: 40px;
    left: 0px;
    width: calc(100vw - 0px);
    height: calc(100vh - 60px);
    opacity: 0.1;
}

.reportbtn {
    display: block;
    height: 30px;
    margin: 0px 0px 2px 2px;
    padding: 0px;
    padding-left: 5px;
    line-height: 28px;
    color: #000;
    font-size: 10px;
    font-weight: 800;
    border: solid 1px #20538D;
    border-radius: 6px;
    width: 100px;
    background-color: RGB(255, 184, 113);
    background-color: rgb(247, 200, 152);
    text-align: left;
    overflow: hidden;
    text-decoration: none;
    opacity: 0.8;
}

.reportbtn:hover {
    background: #3d7a80;
    color: #fff;
    border: solid 1px #2A4E77;
}

.standard_header1 {
    position: absolute;
    margin: 0px;
    top: 72px;
    left: 32px;
    font-size: 18px;
}

.standard_header2 {
    position: absolute;
    margin: 0px;
    top: 76px;
    left: 500px;
    font-size: 12px;
}

.standardcanvas1 {
    position: absolute;
    top: 55px;
    left: 10px;
    width: 600px;
    width: calc(100% - 25px);
    padding: 0px;
    height: calc(100% - 65px);
    min-height: 180px;
    font-size: 12px;
    overflow: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    border: solid 1px blue;
    background: lightgray;
}

.standard_body {
    float: left;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: auto;
    border: none;
    font-size: 14px;
    background: white;
}

.standard_body th {
    margin: 0px;
    padding: 0px;
    padding-left: 5px;
    height: 30px;
    text-align: left;
    font-size: 14px;
    background-color: lightgreen;
    border: #999 1px solid;
    border-top: none;
    border-left: none;
}

.standard_body tr:nth-child(even) {
    margin: 0px;
    padding: 0px;
    background: transparent;
}

.standard_body tr:nth-child(odd) {
    margin: 0px;
    padding: 5px;
    background: transparent;
}

.standard_body td {
    border: #999 1px solid;
    border-top: none;
    border-left: none;
    margin: 0px;
    padding: 0px;
    padding-left: 5px;
    font-size: 14px;
    font-weight: 600;
    color: black;
    height: 32px;
    text-align: left;
    overflow: hidden;
    border-collapse: collapse;
}

.arbheader {
    display: inline-block;
    background-color: transparent;
    color: black;
    padding: 6px;
    height: 25px;
    font-weight: 600;
    font-size: 18px;
}

.arbejdsgang {
    float: left;
    margin: 0px;
    padding: 0;
    margin-top: 25px;
    width: calc(100% - 3px);
    padding: 0px;
    height: 655px;
    font-size: 14px;
    overflow: hidden;
    border: solid 0px silver;
    border-top: solid 1px black;
    border: solid 1px gray;
    background-color: rgb(247, 243, 241);
    background-color: lightgreen;
}

textarea {
    width: calc(100% - 5px);
    margin: 0px;
    padding: 5px;
    padding-top: 3px;
    padding-bottom: 0px;
    border: solid 0px silver;
    font-size: 16px;
    resize: none;
    height: calc(100% - 41px);
    border-top: solid 1px gray;
}

.gem {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

#clockbox {
    position: fixed;
    top: 20px;
    font-size: 14px;
    font-weight: 600;
    left: calc(100vw - 100px);
}

#datebox {
    position: fixed;
    top: 3px;
    font-size: 14px;
    font-weight: 600;
    left: calc(100vw - 100px);
}

@media (min-width:481px) {
    html {
        font-size: 0.8em;
    }
    .button {
        width: 24px;
        height: 26px;
        font-size: .7em;
    }
    .headertxt {
        width: 200px;
        max-width: 200px;
        min-width: 200px;
    }
}

@media (min-width:769px) {
    html {
        font-size: 1.0em;
    }
    .button {
        width: 26px;
        height: 26px;
        font-size: .8em;
    }
    .headertxt {
        width: 230px;
        max-width: 230px;
        min-width: 230px;
    }
}

@media (min-width:1025px) {
    html {
        font-size: 1.10em;
    }
    .button {
        width: 28px;
        height: 26px;
        font-size: .9em;
    }
    .headertxt {
        width: 250px;
        max-width: 250px;
        min-width: 250px;
    }
}

@media (min-width:1201px) {
    html {
        font-size: 1.20em;
    }
    .button {
        width: 30px;
        height: 26px;
    }
    .headertxt {
        width: 280px;
        max-width: 280px;
        min-width: 280px;
    }
}
.opsantal {
  float:left;
  width: 40px;
  font-size:16px;
  margin: 10px;
  margin-left: 40px;
  margin-right: 0px;
  padding: 2px;
  height: 36px;
  line-height: 36px;
  display: inline-block;
  border: none;

}

input[type=numeric] {
  display:block;
  width: 100px;
  border: 1px solid black;
  box-sizing: border-box;
  width: 60px;
  margin: 12px;
  margin-left: 10px;
  margin-right: 0px;
  padding-right: 5px;
  text-align: right;
}

.recalcbutton {
    float: left;
    text-align: center;
    display: inline;
    font-size: 1em;
    font-weight: 600;
    background-color: khaki;
    text-decoration: none;
  color: black;
  padding: 2px;
  margin: 4px;
  margin-top: 12px;
  margin-left:8px;
  border: 1px solid black;
  cursor: pointer;
  width: 90px;
  height: 36px;
  line-height: 32px;
  border-radius: 4px;
}

.recalcbutton:hover {
  opacity: 0.8;
  background-color:lightblue;
  color: black;
}
