@import url('https://fonts.googleapis.com/css?family=Vollkorn|Josefin+Slab');
@import url('https://fonts.googleapis.com/css?family=Orbitron');

body {

  background-color:#101010; 
  /*background-image:url('/astro_bg.png');*/
	font-family:"Vollkorn",Helvetica,Sans-serif;
	font-size:1em;
  margin-left: 10px;
  margin-right:10px;

  /*padding: 0;
  margin:0;*/

  overflow-y:scroll;

  animation: fadeInAnimation ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;

}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
     }
}

.mainheader {
  padding-top: 20px;
  padding-bottom: 20px;
  display:inline-block;
  float:center;
  font-family: 'Josefin Slab',Sans-serif;
  font-style: bold;
}


.wrap {
  overflow: hidden;
  margin: 5px;
 
}

.box {
  float: left;
  position: relative;
  width: 33%;
  margin-top: min(10px, 5%);
  /*
  padding-bottom: min(15px, 10%);
  padding-top: min(15px, 10%); */
  /*border: 1px solid red; */
}

.box:hover {
  cursor: pointer;
}

.box:hover .titleBox { 
    background-color: darkgreen;
}


.boxInner {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0px;
  bottom: 0px;
  overflow: hidden;
  /* border: 1px solid cyan; */
 
  display: flex;
  justify-content: center;
  align-items: center;
}

.boxInner img {
  width: 100%;
  display: flex;
  min-height: 0;
 
}



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

/* remove unwanted IE 'feature' */
::-ms-clear {
  width : 0;
  height: 0;
}
        
 @media only screen and (max-width : 480px) {
    /* Smartphone view: 1 tile */
    .box {
      width: 100%;
      padding-bottom: 65%;
    }

    h3.desc_header{
      display:none;
    }
  }

  @media only screen and (max-width : 650px) and (min-width : 481px) {
    /* Tablet view: 2 tiles */
    .box {
       width: 50%;
      padding-bottom: 35%;
    }
  }
  
  @media only screen and (min-width : 651px) {
    /* Larger desktop: 6 tiles */
    .box {
      width: 33.3%;
      padding-bottom: 23%;
    }
  }



a {
	text-decoration: none;
	color:#0b6198;
}

h1 {
  text-align: center;
  /*font-family: Audiowide,Helvetica,Sans-serif; */
  font-family: Orbitron,Helvetica,Sans-serif;
  font-size:2.2em;

  color:#3E6C8A;
  padding-bottom: 15px;
}

h2 {
  font-family: Vollkorn,Helvetica,Sans-serif;
  font-style: italic;
  font-size: 1.7em;
  padding-top: 30px;
  color:#3E6C8A;
}

h3 {
  font-family: 'Josefin Slab',Helvetica,Sans-serif;
  font-style: italic;
  font-size:1.5em;
  text-align:center;
  padding-top: 0px;
  color:#3E6C8A;
}

h4 {
  font-family: Vollkorn,Helvetica,Sans-serif;
}

h5 {
	font-family: 'Lucida Sans',Helvetica,Sans-serif;
 
	color:lightyellow;
	text-align:center;
}


header {
	text-align: center;
	
	margin:0px;
	/*border:10px solid #2e1b0e;*/
	 display: inline-block;
	 width:100%;
	 height:90px;
   color: lightyellow;
}

section {
  padding-top:10px;
}

select {
  margin-left: 5px;
  margin-right: 5px;
}

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0; 
  left: 0;
  right: 0;
  bottom: 0;
  color:#3E6C8A;
  background-color: rgba(0,0,0,0.9); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  /*cursor: pointer;*/ /* Add a pointer on hover */
  text-align: center;
}


#imageBorder {
  margin:5px;
  max-width: 1024px;
}

#imageFull {
  
  width: auto;
  height: auto;
}

#description {
  position: absolute;
  width:70%;
  top: 78%;
  left: 50%;
  font-size: 16px;

  transform: translate(-50%,-22%);
  -ms-transform: translate(-50%,-22%);
  -webkit-transform: translate(-50%,-22%);
  -moz-transform: translate(-50%,-22%);
  -o-transform: translate(-50%,-22%);

  z-index: 1;
}


#textDescription1 {

  font-size: 20px;

}

#textDescription2 {

  font-size: 14px;
  font-style: italic;

}

#textDescription3 {

  font-size: 12px;

}

#textDescription4 {

  font-size: 12px;

}
 
 
#footer {
  font-family: Helvetica,Sans-serif;
  font-size:0.5em;
  font-style:italic;
  text-align: center;
  margin-top: 20px;
  color:#3E6C8A;
}

.center {

  display: block;
  position: absolute;
  top: 45%;
  left: 50%;
  max-width: 70%;
  max-height: 70%;

  transform: translate(-50%,-55%);
  -ms-transform: translate(-50%,-55%);
  -webkit-transform: translate(-50%,-55%);
  -moz-transform: translate(-50%,-55%);
  -o-transform: translate(-50%,-55%);

 
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.25s;
}

.topRight {
  position: absolute;
  z-index: 1;
  top: 10%;
  right: 10%;
  
}

div#preload {
    display: none;
}

.btnNext, .btnPrevious {
    display: block;
    position: absolute;
    top:46%;
    width:40px;
    height:40px;
    transition: .2s;
    border-radius: 5px;
    box-shadow: -4px 4px 0 rgba(255,255,255,.5);
    -webkit-backface-visibility: hidden;
    
}

.btnPrevious {
    left:48px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}
 
.btnNext {
    /*left:87%;*/
    right:48px;
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
}



.btnClose {
  position: absolute;
  /*left:88.5%;*/
  top: 26px;
  right: 26px;
  width: 40px;
  height: 40px;
  transition: .2s;
  opacity: 0.6;
  -webkit-backface-visibility: hidden;
}

.btnClose:hover {
  opacity: 1;
  cursor: pointer;
}

.btnClose:before, .btnClose:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 33px;
  width: 4px;
  background-color: white;
}

.btnClose:before {
  transform: rotate(45deg);
  -ms-transform: translate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

.btnClose:after {
  transform: rotate(-45deg);
  -ms-transform: translate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}


.btnNext:hover, .btnPrevious:hover {
    cursor: pointer;
    box-shadow: -4px 4px 0 rgba(255,255,255,1); 
}
 
.lds-dual-ring {

  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-32px, -56px);
  -ms-transform: translate(-32px, -56px);
  -webkit-transform: translate(-32px, -56px);
  -moz-transform: translate(-32px, -56px);
  -o-transform: translate(-32px, -56px);

  /* for IE (fix wobble?) */
  transform-origin: 32px 32px 32px;

  /*display: inline-block;*/
  width: 64px;
  height: 64px;

  z-index: 9999;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;

  -webkit-animation-name: lds-dual-ring;
  -webkit-animation-duration: 1.2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
}

@-webkit-keyframes lds-dual-ring {

  0% {
    -webkit-transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(90deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
  }
  75% {
    -webkit-transform: rotate(270deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }

}

@keyframes lds-dual-ring {
    
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
  
}


@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.lds-spinner {


  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-32px, -56px);
  -ms-transform: translate(-32px, -56px);
  -webkit-transform: translate(-32px, -56px);
  -moz-transform: translate(-32px, -56px);
  -o-transform: translate(-32px, -56px);

  color: official;

  /*
  border:1px solid;  
  display: inline-block;
  position: relative;
  */
  
  width: 64px;
  height: 64px;

  z-index: 9999;
}

.lds-spinner div {
  transform-origin: 32px 32px;
  -webkit-transform-origin: 32px 32px;

  animation: lds-spinner 1.2s linear infinite;

  -webkit-animation-name: lds-spinner;
  -webkit-animation-duration: 1.2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
}

.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;

  top: 3px;
  left: 29px;
  width: 5px;
  height: 14px;

  border-radius: 20%;
  background: white;
}

.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  animation-delay: -1.1s;
  -webkit-animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  -webkit-transform: rotate(30deg);
  animation-delay: -1s;
  -webkit-animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  -webkit-transform: rotate(60deg);
  animation-delay: -0.9s;
  -webkit-animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  animation-delay: -0.8s;
  -webkit-animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  -webkit-transform: rotate(120deg);
  animation-delay: -0.7s;
  -webkit-animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  -webkit-transform: rotate(150deg);
  animation-delay: -0.6s;
  -webkit-animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  animation-delay: -0.5s;
  -webkit-animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  -webkit-transform: rotate(210deg);
  animation-delay: -0.4s;
  -webkit-animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  -webkit-transform: rotate(240deg);
  animation-delay: -0.3s;
  -webkit-animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  -webkit-transform: rotate(270deg);
  animation-delay: -0.2s;
  -webkit-animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  -webkit-transform: rotate(300deg);
  animation-delay: -0.1s;
  -webkit-animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  -webkit-transform: rotate(330deg);
  animation-delay: 0s;
  -webkit-animation-delay: -0.001s;
}

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* The navigation menu */
.navbar {
  overflow: hidden;
}

/* Navigation links */
.navbar a {
  float: left;
  font-size: 1.3em;
  font-style: italic;
  color: #3E6C8A;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The subnavigation menu */
.subnav {
  float: left;
  overflow: hidden;
}

/* Subnav button */
.subnav .subnavbtn {
  font-size: 1.3em;
  font-style: italic;
  border: none;
  outline: none;
  color: #3E6C8A;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Add a red background color to navigation links on hover */
.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: #191919;
}

/* Style the subnav content - positioned absolute */
.subnav-content {
  display: none;
  position: absolute;
  margin: 0 auto;

  background-color: #191919;
  
  z-index: 1;
}

/* Style the subnav links */
.subnav-content a {
  float: left;
  /* color:   #3a6885; */
  color: #3E6C8A;
  text-decoration: none;
  font-size: 1em;
}

/* Add a grey background color on hover */
.subnav-content a:hover {
  background-color: #191919;
  color: white;

  font-style: bold;
}

/* When you move the mouse over the subnav container, open the subnav content */
.subnav:hover .subnav-content {
  display: block;
}
