html {
  font-size: 18px;
  }

body {
  background-color: #3f3f3f;
  margin: 0;
  overflow: hidden;
}


img{
	max-height:100%;
    max-width:100%;
    height:auto;
    width:auto;
    position:absolute;
    top:0; bottom:0;
    left:0; right:0;
    margin:auto;
}

h2 {
	color: #ffffff;
	margin-bottom: 0.25rem;
	margin-top: 0;
}

p {
	color: #ffffff;
	margin-bottom: 0.75rem;
	white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}

#infobox {
	position: absolute;
	bottom: 0;
	left: 0; right: 0;
	width: auto;
	height: 4.5rem;
	margin:auto;
	margin-left: 9vh; margin-right:9vh;
	text-align: center;
}

#photowrapper {
    max-height:calc(100vw-5rem);
    width:100vw;
	height:auto;
    width:auto;
    position:absolute;
	top:0; bottom:5rem;
    left:0; right:0;
	margin:auto;
}


/* Link Positionen */

#cf_link_x {
	height:5vh; width:5vh; position:absolute; bottom:auto; right:2vh; top:2vh; left:auto
}

#cf_link_r {
	height:5vh; width:5vh; position:absolute; bottom:auto; right:2vh; top:47.5vh; left:auto
}

#cf_link_l {
	height:5vh; width:5vh; position:absolute; bottom:auto; right:auto; top:47.5vh; left:2vh
}

#cf_link_i {
	height:5vh; width:5vh; position:absolute; bottom:2vh; right:2vh; top:auto; left:auto
}


/* Link Transitions */
#cf_link_x img, #cf_link_r img, #cf_link_l img, #cf_link_i img {
  -webkit-transition: opacity 100ms ease-in-out;
  -moz-transition: opacity 100ms ease-in-out;
  -o-transition: opacity 100ms ease-in-out;
  transition: opacity 100ms ease-in-out;
}

#cf_link_x img.top:hover, #cf_link_r img.top:hover, #cf_link_l img.top:hover, #cf_link_i img.top:hover {
  opacity:1;
}

#cf_link_x img.top, #cf_link_r img.top, #cf_link_l img.top, #cf_link_i img.top {
  opacity:0;
}

#cf_link_x img.bottom:hover, #cf_link_r img.bottom:hover, #cf_link_l img.bottom:hover, #cf_link_i img.bottom:hover {
  opacity:1;
}