body {
  background: url(../img/backgroundimage.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow-x: hidden;
  margin: 0;
}

div.whitetextbox {
  border-top: solid;
  border-bottom: solid;
  border-width: 1px;
  background-color: rgba(50, 50, 50, 0.98);
  box-shadow: inset 0 100px 42px -100px rgb(255, 255, 255);

  opacity: 99.99%;
  overflow: hidden;
  position: relative;
}

.content-bg {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  opacity: 75%;
}

div.whitetext {
  padding-top: 25px;
  padding-bottom: 25px;
  padding-left: 35px;
  padding-right: 35px;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  color: white;
  text-align: center;
}

.divInline {
  display: inline-block;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  color: white;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  text-align: center;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  color: white;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  text-align: center;
}


.BlendAnimation {
  animation-name: BlendAnimation;
  animation-duration: 0.8s;
}

@keyframes BlendAnimation {
  0% {
    opacity: 0%;
  }
  100% {
    opacity: 100%;
  }
}


/* Nav-Bar start */

ul.NavBar {
  z-index: 10;
  list-style-type: none;
  margin: 0;
  padding: 0;
  top: 0;
  overflow: hidden;
  background-color: rgba(50, 50, 50, 1);
}

li.NavBar {
  float: left;
}

li.NavBar a {
  z-index: 10;
  font-family: 'Newsreader', serif;
  display: block;
  color: white;
  text-align: left;
  padding: 14px 16px;
  text-decoration: none;
}

li.NavBar a:hover {
  background-color: #111;
}

.dropdown-content {
  z-index: 10;
  display: none;
  position: absolute;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.25);
}

.dropdown-content a {
  z-index: 10;
  min-width: 160px;
}

.dropdown:hover .dropdown-content {
  display: block;
  background-color: #636363;
}

.dropdown:hover {
  background-image: linear-gradient(to bottom, rgba(50, 50, 50, 1), #4ccccc);
}

.active {
  background-color: #4CAF50;
}

/* Nav-Bar end */

/* gallery start */

div.gallery {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

div.gallery li {
  margin: 10px 12px 60px 12px;
  list-style: none;
}

div.gallery video, div.gallery img {
  width: 26.7vh;
  max-width: 100%;
  transition: transform 0.4s;
  border-radius: 5%;
  box-shadow: 0 12px 24px 0 rgb(15, 15, 15), 0 12px 40px 0 rgb(15, 15, 15);
}

div.gallery img:hover, div.gallery video:hover {
  transform: scale(1.15);
}


div.gallery3 {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

div.gallery3 li {
  margin: 10px 12px 60px 12px;
  list-style: none;
}

div.gallery3 img, div.gallery3 iframe {
  max-width: 100%;
  transition: transform 0.4s;
  border-radius: 10px;
  box-shadow: 0 0 24px 0 rgb(0, 0, 0), 0 0 40px 0 rgb(0, 0, 0);
  scale: 0.95;
}

div.desc3 {
  margin: 20px;
  border-radius: 10px;
  background-color: rgba(50, 50, 50, .8);
}

div.gallery3 img:hover {
  transform: scale(1.05);
}


div.desc2 {
  border-radius: 15px;
  background-color: rgba(50, 50, 50, .8);
  padding-top: 25px;
  padding-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 23px;
  font-family: 'Roboto', sans-serif;
  color: white;
  text-align: center;
}

div.desc2Info {
  border-radius: 15px;
  padding-top: 5px;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  color: rgb(165, 165, 165);
  text-align: center;
}

div.gallery img#largescale:hover, div.gallery video#largescale:hover {
  transform: scale(1.375);
}

/* gallery 2 OLD.

div.gallery2 {
  border: 1px solid #ccc;
}

div.gallery2:hover {
  border: 1px solid #777;
}

div.gallery2 img {
  max-width: 100%;
  height: auto;
  display: block;
}

div.desc {
  border-top: solid;
  border-width: 1px;
  background-color: rgba(50, 50, 50, 0.98);
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 6px 6px;
  float: left;
  max-width: 29.99999%;
}

@media only screen and (max-width: 1200px) {
  .responsive {
    max-width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 600px) {
  .responsive {
    max-width: 100%;
  }
}

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

end of "gallery" */

/* start of Referrer buttons */

.fa {
  width: 75px;
  margin: 5px 2px;
}

.fa:hover {
  opacity: 0.8;
}

/* end of Referrer buttons */

/* start of large Buttons */

.button {
  margin: 8px 0;
  justify-content: center;
  padding: calc(.5em - 1px) 1em;
  text-align: center;
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  height: 2.5em;
  color: #1f1922;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  background-color: #99fffff8;
  transition: all .15s ease-in-out;
  text-decoration: none;
}

.button:hover {
  background-color: #6458e6;
  color: #fcfcfc;
}

.button:focus:not(:active) {
  box-shadow: 0 0 0 .125em rgba(120, 235, 152, .25);
}

/* end of large buttons */

/* start Tooltip */

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 95%;
  left: 50%;
  margin-left: -60px;
  opacity: 0%;
  transition: opacity 0.2s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 95%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.tooltip:hover .tooltiptext {
  opacity: 100%;
  visibility: visible;
}

/* end of Tooltip */


/* start Tooltip right side */

.tooltipright {
  position: relative;
  display: inline-block;
}

.tooltipright .tooltiptextright {
  visibility: hidden;
  width: 500px;
  background-color: black;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0 0;
  position: absolute;
  z-index: 1;
  top: -267px;
  left: 110%;
  color:white;
  font-size: 16px;
  opacity: 0%;
  transition: opacity 0.35s;
  box-shadow: 0 12px 24px 0 rgb(0, 0, 0), 0 12px 40px 0 rgb(0, 0, 0);
}

/* Arrow but doesnt allign properly /actually the entire thing doesnt allight properly cause its absolute but dosnt matter much since its only affected in Y axis by the text, the more text the further it goes down
.tooltipright .tooltiptextright::after {
  content: "";
  position: absolute;
  top: 47%;
  right: 100%;
  border-width: 15px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}
*/
.tooltipright:hover .tooltiptextright {
  opacity: 100%;
  visibility: visible;
}

/* end of Tooltip right side */

/* start of Sidebar */

* {
  box-sizing: border-box;
}

.w3-sidebar.w3-collapse {
  top: 16px;
  margin: 16px;
  border-radius: 15px;
  background-color: rgba(50, 50, 50, .8);
  padding-bottom: 20px;
  padding-left: 15px;
  padding-right: 15px;
  text-align: left;
  display: block;
  position: sticky;
  float: left;
  width: 275px;
}

@media only screen and (max-width: 1200px) {
  .w3-sidebar.w3-collapse {
    top: 0;
    padding-top: 1px;
    position: relative;
    float: none;
    text-align: center;
    width: inherit;
  }
}

.w3-sidebar a {
  display: block;
  padding: 5px 1px 1px 16px;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  border-bottom: dotted;
  border-width: 1px;
  color: rgb(255, 255, 255);
}

.w3-sidebar a:hover {
  background-color: rgba(30, 30, 30, 1);
}

.w3-sidebar h4 {
  padding-left: 12px;
  padding-right: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 27px;
  color: white;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  text-align: center;
}

#mdcontainer {
  margin: 44px auto 44px auto;
  max-width: 49.99999%;
}

@media only screen and (max-width: 1200px) {
  #mdcontainer {
    margin: 44px auto 44px auto;
    max-width: 100%;
  }
}


/* end of Sidebar */