/* ---- General ---- */
body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: #000000;
  font-style: normal;
  font-weight: normal;
  font-size: 10px;

  text-align: left;
  margin: 0;
  padding: 0;
  background-color: #F2F2F2;
}

ul {
  margin: 0;
}

/* Primary Typography */

h1,
h2,
h3,
h4 {
  color: #FF4C00;
  font-weight: bold;
  text-decoration: none;
  text-align: left;
  padding: 0 0 0 0;
  margin: 5px 0 10px 0;
  line-height: 12pt;
}

h1 {
  font-size: 10pt;
  margin: 5px 0 10px 20px;
}

h2 {
  font-size: 10pt;
}

h3 {
  font-size: 9pt;
}

h4 {
  color: #666666;
  font-size: 7pt;
  margin: 0 0 5px 0;
}

a {
  color: #FF4C00;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

input,
select,
nav {
  font-size: 11px;
}

/* Primary Layout containers */

#header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 133px;
  background: linear-gradient(to bottom, #FFF 0 110px, #666 110px 111px, #888 111px, #666 112px, #000);
  box-sizing: border-box;
  z-index: -1;
}

#site {
  width: 765px;
  margin: 0 auto 0 auto;

  display: grid;
  grid-template-columns: 205px 550px;
  grid-template-rows: 100px 23px auto;
  column-gap: 10px;
  row-gap: 10px;

  grid-template-areas:
    "header header"
    "navbar navbar"
    "subnav subnav"
    "sidebar content"
    "sidebar footer";
}

#header {
  grid-area: header;
  /* to compensate for the grid gap */
  margin-bottom: -10px;
  border-left: #B7B7B7 1pt solid;
  border-right: #B7B7B7 1pt solid;
  display: flex;
  justify-content: space-between;
}

#login {
  align-self: flex-start;
  height: 110px;
  padding: 10px;
}

.logo {
  align-self: flex-end;
  width: 203px;
  margin-bottom: 10px;
  max-height: 100px;
}

#box01 {
  grid-area: subnav;
}

#box02 {
  grid-area: sidebar;
  align-self: start;
}

#box03 {
  grid-area: content;
}

#footer {
  grid-area: footer;
}

/* nav features */

nav {
  grid-area: navbar;
  border-left: #000 1pt solid;
  border-right: #000 1pt solid;
}

nav ul {
  float: right;
}

nav li {
  display: inline-block;
  list-style: none;
  padding: 0 10px 0 10px;
  height: 23px;
}

nav li:hover,
nav li.selected {
  background: #2E2E2E;
  font-weight: normal;
}

nav li a {
  margin: 0 auto;
  color: #FFF;
  text-decoration: none;
  vertical-align: middle;
}

/* subnav features */

#subnav {
  font-size: 8pt;
  padding: 0;
  line-height: 16pt;
  margin-bottom: 10px;
}

#box02 h4 {
  font-size: 11px;
  color: #000;
  font-weight: bold;
}

#subnav li {
  list-style: none;
}

#subnav a {
  color: #000;
  text-decoration: none;
}

#subnav a:hover {
  color: #FF4C00;
  text-decoration: none;
}

#subnav .selected a {
  color: #FF4C00;
}

/* Footer features */

#footer {
  color: #9E9E9A;
  font-size: 7pt;
}

#footer a {
  font-weight: normal;
  text-decoration: none;
  color: #9E9E9A;
  font-style: italic;
}

#footer a:hover {
  text-decoration: underline;
  color: #000;
}

/* table features */
thead {
  background-color: #E6E6E6;
  border: 0;
}

/** Styling **/
.box {
  background-color: #FFF;
  border: #B7B7B7 1pt solid;
  padding: 10px;
  box-sizing: border-box;
}

.box.highlight {
  border: #FF4C00 7px solid;
}

.message {
  background-color: #F2F2F2;
  padding: 5px;
  font-weight: bold;
  border-top: 2px #FC3 solid;
  border-bottom: 2px #FC3 solid;
}

.selected {
  font-weight: bold;
  text-decoration: none;
}

.selected a {
  text-decoration: none;
}

.button {
  padding: 2px;
  color: #FFF;
  border: #C71818 1pt solid;
  font-weight: bold;
  background: linear-gradient(to bottom, #f89d77 0, #f15937 60%);
}

.field {
  margin: 2px 0 0 0;
  padding: 3px;
  border: #B7B7B7 1pt solid;
  background-color: #FFF;
}

/* ---- sortering met scripaculous ---- */

ul.productlist {
  list-style-image: none;
  list-style-type: none;
  margin-top: 5px;
  margin: 0px;
  padding: 0px;
  display: block;
  position: relative;
  float: left;
}

ul.productlist li {
  padding: 4px;
  margin: 5px;
  position: relative;
}

li.orange {
  background-color: #FFD1BE;
  border: 1px solid #FF4C00;
  cursor: move;
}
