#textmain {
  max-width:800px;
  line-height: 1.5;
  position:relative;
  width:100%;
  margin:auto;
  margin-left:auto;
  margin-right:auto;
  padding-bottom:0px;
  padding-top:4px;
  padding-bottom:4px;
  z-index:1;
  text-align:left;
}

#space {
  margin:0px;
  width:100%-10px;
  margin-left:10px;
  margin-right:10px;
  line-height: 1.4;
}

#imagebox {
  margin:0 auto;

}

#header h1 {
margin-top:0px;
margin-bottom:0px;
}

.picbox, .xpicture {
  height:100%;
  width:100%;
}
/* hover.css */
/* Animation code START */

@keyframes pop {
  50% {
    transform: scale(1.025);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pop2 {
  50% {
    transform: scale(0.975);
  }
  100% {
    transform: scale(1);
  }
}

.xpicture {
  display: inline-block;
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  animation-name: pop2;
  animation-duration: 0.4s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

.xpicture:hover, .xpicture:focus, .xpicture:active {
  animation-name: pop;
  animation-duration: 0.4s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

@keyframes pulse {
  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.pulse {
	animation: pulse 2s linear infinite;
}

/* Animation code END */

@keyframes animatepictures {
  from {
    transform: scale(0.5) rotate(10deg);
	opacity: 0;
  }
  to {
    transform: scale(1) rotate(0deg);
	opacity: 1;
  }
}

.animatepictures {
  animation-name: animatepictures;
  animation-duration: 0.4s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

.hide {
	opacity: 0;
	transform: scale(0.0);
}



.picbox .pic_overlay {
  display:none;
}

.picbox .pic_overlay_fixed {
  font-size:15px;
  position:absolute;
  color:#fff;
  text-shadow: 1px 1px 0px #000;
  bottom:0px;
  left:0px;
  padding-bottom:4px;
  padding-top:3px;
  background-color:#000;
  opacity: .7;
  border-top-right-radius:14px;
  border-bottom-left-radius:18px;
}

.showdescription {
  border-bottom-left-radius:6px;
  border-bottom-right-radius:6px;
}

.left {
  position:absolute;
  left:5px;
  top:0px;
  height:100%;
  width:12px;
  display:none;
}

.right {
  position:absolute;
  right:5px;
  top:0px;
  height:100%;
  width:12px;
  display:none;
}

#picpic {
  width:100%;
  margin:0;
  padding:0;
  padding-top:2px;
  margin-bottom:-4px;

}

.pic_navi_button {
  display:none;  /* COULD BE CHANCED */
}

.navigation_lowres {
  display:inline;
  position:absolute;
  z-index:99;
  width:50%;
  height:100%;
}

.popinfo {
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  border-radius:5px;
  opacity: 0.00;
  position:absolute;
  margin-left:auto;
  margin-right:auto;
  padding-top:3px;
  padding-bottom:3px;
  left:0;
  right:0;
  top:2px;
  width:500px;
  margin:auto;
  background:#444;
  color:#fff;
  z-index:800;
  transition: opacity 3s ease-in-out;
}

.close_button {
  position:absolute;
  right:4px;
  top:2px;
  height:14px;
  width:14px;
}

.js-class-fade-out {
  opacity: .3;
  filter:blur(2px);
}

.js-class-fade-in {
  opacity: 1;
  filter:blur(0.01px);
}
