﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-width: 99vw;
  background-color: #94989b;
  background-image: url('./background.jpg');
  font-family: arial;
  font-weight: bold;
  font-size: calc(15px + 0.390625vw);
  overflow-y: auto;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #303090;
}

a.blacklink {
  color: #000000;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 5px 0;
}

h1,
h2 {
  text-align: center;
}

/* flexbox container */
.left-sidebar-flexbox {
  display: flex;
  flex-wrap: wrap;
}

/* columns (mobile) */
.left-sidebar-flexbox>* {
  width: 100%;
  padding: 1rem;
}

.left-sidebar-flexbox>header {
  display: flex;
  flex-direction: row;
  flex: none;
  padding-bottom: 0;
  border-bottom-color: black;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

.left-sidebar {
  border-top-color: black;
  border-top-style: solid;
  border-top-width: 1px;
  padding-right:.5rem; 
  border-right-color:black; 
  border-right-style:solid; 
  border-right-width:1px; 
  overflow-y:auto;
  overflow-x:hidden; 
  min-height: 0px;  
}

.layout-sidebar-flexbox>header>nav {
  flex: 0 0 0;
  text-align: right;
  width: 60px;
}

/* hide title when viewing on small devices */
@media only screen and (max-width:768px) {
  .left-sidebar-flexbox>header>div>div>h1 {
    display: none;
  }
}

/* tablet and above breakpoint */
@media only screen and (min-width:768px) {
  .left-sidebar-flexbox>header {
    order: -2;
    /* header first */
  }

  .left-sidebar-flexbox>.left-sidebar {
    /* left sidebar before main content */
    order: -1;
    width: calc(100% / 3.5);
    min-width: 25rem;
    max-width: 40rem;
  }

  .left-sidebar-flexbox>.main-content {
    width: calc(100% / 3.5 * 2);
    max-width: calc(100% - 30rem);
    min-width: cals(100% - 25rem);
  }

  .left-sidebar {
    border-top-width: 0;
  }
}

/* override user agent stylesheet changes for h1 inside a section */
header h1 {
  font-size: 2em;
}

img {
  border-style: none;
}

.layoutdetail {
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
  margin-top: 10px;
}

.zoomable {
  border-color: black;
  border-width: 2px;
  border-style: solid;
  margin: 10px 10px 10px 10px;
}

.loupe {
  background-color: #555;
  background: rgba(0, 0, 0, 0.25);
  border: 5px black solid;
  cursor: url(blank.gif), url(blank.cur), none;
}

.mainimage {
  border-color: black;
  border-width: 1px;
  border-style: solid;
  margin: 5px 5px 5px 5px;
}

.hideimage {
  border: 0px;
  display: block;
  height: 1px;
  left: -1px;
  top: -1px;
  width: 1px;
  position: absolute;
}

.showimage {
  border-color: black;
  border-width: 2px;
  border-style: solid;
  display: block;
  position: absolute;
  left: 40px;
  top: 10px;
  width: 712px;
  height: 550px;
}

a.aSrc .largeimage,
a.aSrc .largeimage2 {
  border: 0px;
  display: block;
  height: 1px;
  left: -1px;
  top: -1px;
  width: 1px;
  position: absolute;
}

a.aSrc:hover .largeimage,
a.aSrc:hover .largeimage2 {
  border-color: black;
  border-width: 2px;
  border-style: solid;
  display: block;
  position: absolute;
  left: 40px;
  top: 10px;
  width: 712px;
  height: 550px;
}

#divCS a.aSrc:hover .largeimage {
  top: 10px;
  left: 10px;
  width: 670px;
  height: 550px;
}

#divAnth a.aSrc:hover .largeimage {
  top: 10px;
  left: 10px;
  width: 800px;
  height: 600px;
}

#divKCT a.aSrc:hover .largeimage {
  top: 10px;
  width: 732px;
  height: 550px;
}

#divKCT a.aSrc:hover .largeimage2 {
  top: 10px;
  width: 885px;
  height: 550px;
}

#divSW a.aSrc:hover .largeimage {
  top: 10px;
  left: 10px;
  width: 1073px;
  height: 550px;
}

#divDS a.aSrc:hover .largeimage {
  top: 10px;
  left: 10px;
  width: 756px;
  height: 401px;
}

#divDS a.aSrc:hover .largeimage2 {
  top: 10px;
  left: 10px;
  width: 719px;
  height: 550px;
}

#divPJD a.aSrc:hover .largeimage {
  top: 50px;
  left: 10px;
  width: 426px;
  height: 640px;
}

#divPJD a.aSrc:hover .largeimage2 {
  top: 50px;
  left: 10px;
  width: 640px;
  height: 426px;
}

#divKE a.aSrc:hover .largeimage {
  top: 10px;
  left: 10px;
  width: 827px;
  height: 550px;
}

#tabLayoutList {
  border-collapse: collapse;
}

#tabLayoutList tr {
  height: 100px;
  vertical-align: top;
  border-bottom: 1px black solid;
  position: relative;
}

#tabLayoutList td {
  padding-top: .5em;
  position: relative;
}

.showdiv {
  display: block;
  visibility: visible;
}

/* Overlay */
#simplemodal-overlay {
  background-color: #000;
  cursor: wait;
}

/* Container */
#simplemodal-container {
  color: #bbb;
  background-color: #333;
  border: 4px solid #444;
  padding: 12px;
}

#simplemodal-container .simplemodal-data {
  padding: 8px;
}

#simplemodal-container code {
  background: #141414;
  border-left: 3px solid #65B43D;
  color: #bbb;
  display: block;
  font-size: 12px;
  margin-bottom: 12px;
  padding: 4px 6px 6px;
}

#simplemodal-container a {
  color: #ddd;
}

#simplemodal-container a.modalCloseImg {
  background: url(images/x.png) no-repeat;
  width: 25px;
  height: 29px;
  display: inline;
  z-index: 3200;
  position: absolute;
  top: -15px;
  right: -16px;
  cursor: pointer;
}

#simplemodal-container h3 {
  color: #84b8d9;
}

.tooltip {
  display: none;
  background: transparent url(images/black_arrow_bigger.png);
  font-size: 12px;
  height: 193px;
  width: 371px;
  padding: 25px;
  color: #eee;
}

.tooltip2 {
  display: none;
  background: transparent url(images/black.png);
  font-size: 12px;
  height: 57px;
  width: 160px;
  padding: 25px;
  color: #eee;
}

/* Flexbox stuff*/
.flex-column-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.flex-row-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.flex-item-fixed {
  flex: 0 0 auto;
}

.flex-item-shrink-grow {
  flex: 1 1 auto;
}

.flex-wrap {
  flex-wrap: wrap;
}

.layout-list-overlay {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 1000;
}