body {
}

ul {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

li {
  float: left;
}

li.hidden {
  visibility: hidden;
}

li.shown {
  visibility: visible;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  background-color: black;
}

.flex-container > div {
  background-color: white;
  width: 200px;
  margin: 5px;
  text-align: center;
  font-size: 10pt;
}

.flex-container-config {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.flex-container-config > div {
  background-color: white;
  margin: 5px;
  padding: 2px;
  text-align: center;
  font-size: 10pt;
  border-style: solid;
  border-width: 1px;
  border-color: black;
}

.vertical {
    position: fixed;
    top: -50px;
    right: 0px;
    background-color: #DDDDDD;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    float: right;
    display: block;
    -ms-transform: rotate(20deg); /* IE 9 */
    -webkit-transform: rotate(20deg); /* Safari */
    transform: rotate(-90deg); /* Standard syntax */
    -moz-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
}

.vertical-old {
    position: relative;
    background-color: #DDDDDD;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    float: right;
    -moz-transform: rotate(270deg);  /* FF3.5+ */
    -o-transform: rotate(270deg);  /* Opera 10.5 */
    -webkit-transform: rotate(-90deg);  /* Saf3.1+, Chrome */
    -moz-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
}

/* The Modal (background) */
.modal {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 90%;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  z-index: 10; // Always on top
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.outline {
  color: #fff;
  text-shadow: #000 0px 0px 3px;
  -webkit-font-smoothing: antialiased;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

img {
  image-orientation: from-image;
}
