html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #000;
}

.tf_bg {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
}

.tf_bg img {
  position: absolute;
  top: 0px;
  /*-482px;	 -(imgh/2 - wh/2) */
  left: 0px;
  /* calculate a negative value to center horizontally */
  width: 100%;
  /* windowwidth plus negative value of left */
  /*height:1650px; /* windowheight plus negative value of top */
  z-index: 1;
  display: none;
}

.tf_pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent url(../images/pattern3.png) repeat top left;
  z-index: 2;
}

.tf_content {
  position: absolute;
  bottom: 50px;
  left: 50px;
  z-index: 10;
  display: none;
}

.tf_content h2 {
  color: #fff;
  font-size: 60px;
  padding: 0;
  margin: 0;
  font-family: 'Roboto', arial, sans-serif;
  text-shadow: 0px 0px 9px #000;
}

.tf_content p {
  color: #fff;
  padding: 0;
  margin: 0;
  background: rgba(168, 159, 146, 0.8);
  padding: 33px;
  width: 600px;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  text-transform: none;
  text-shadow: 1px 1px 3px #000, 0px 0px 1px #555;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 5px #202020;
  border: 4px solid #fff;
  text-align: justify;
}

.tf_thumbs {
  position: absolute;
  z-index: 12;
  right: 50px;
  top: 50%;
  margin-top: -79px;
  border: 4px solid #fff;
  -moz-box-shadow: 1px 1px 5px #202020;
  -webkit-box-shadow: 1px 1px 5px #202020;
  box-shadow: 1px 1px 5px #202020;
  -webkit-box-reflect: below 5px -webkit-gradient( linear, left top, left bottom, from(transparent), color-stop(0.6, transparent), to(rgb(18, 18, 18)));
}

.tf_thumbs img {
  display: block;
}

.tf_loading {
  position: fixed;
  top: 50%;
  left: 50%;
  margin: -30px 0px 0px -30px;
  width: 60px;
  height: 60px;
  background: #fff url(../images/loader.gif) no-repeat center center;
  z-index: 999;
  opacity: 0.7;
}

.tf_next,
.tf_prev {
  width: 35px;
  height: 14px;
  position: absolute;
  /* top: 50%; */
  right: 320px;
  z-index: 100;
  cursor: pointer;
  background: transparent url(../images/nav.png) no-repeat top left;
  opacity: 0.8;
}

.tf_next {
  background-position: 0px -14px;
  margin-top: 80px;
}

.tf_prev {
  background-position: 0px 0px;
  margin-top: -55px;
}

.tf_next:hover,
.tf_prev:hover {
  opacity: 0.9;
}

.tf_zoom,
.tf_fullscreen {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 6px;
  right: 6px;
  cursor: pointer;
  z-index: 100;
  opacity: 0.6;
  background: transparent url(../images/icons.png) no-repeat top left;
}

.tf_zoom {
  background-position: 0px -20px;
}

.tf_fullscreen {
  background-position: 0px 0px;
}

.tf_zoom:hover,
.tf_fullscreen:hover {
  opacity: 0.9;
}

.reference {
  position: fixed;
  bottom: 0px;
  right: 0px;
  background: #000;
  height: 25px;
  padding-top: 7px;
  padding-right: 5px;
  text-align: right;
  width: 100%;
  text-shadow: 1px 1px 1px #000;
  z-index: 999;
  opacity: 0.8;
}

.description {
  position: fixed;
  top: 5px;
  right: 5px;
  text-shadow: 1px 1px 1px #000;
  z-index: 999;
}

.reference a,
.description span {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-family: Arial;
  font-size: 12px;
}

a.last {
  float: left;
  line-height: 23px;
}

.reference a:hover {
  text-shadow: 0px 0px 1px #fff;
}

.tf_thumbs {
  top: 50px;
  margin-top: 0;
}

.tf_zoom {
  display: none;
}

.tf_next,
.tf_prev {
  top: 100px;
}

.tf_prev {
  margin-top: 0;
}

@media (max-width: 1199px) {
  .tf_content h2 {
    font-size: 36px;
  }
  .tf_content p {
    width: calc(100% - 400px);
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
  }
}

@media (max-width: 1099px) {
  .tf_thumbs {
    width: 200px;
    height: 140px;
    overflow: hidden;
  }
  .tf_next,
  .tf_prev {
    right: 280px;
  }
}

@media (max-width: 767px) {
  .tf_content h2 {
    font-size: 28px;
  }
  .tf_content p {
    width: calc(100% - 90px);
    max-height: 350px;
    overflow-y: auto;
  }
  .tf_thumbs {
    display: none;
  }
  .tf_next,
  .tf_prev {
    top: 30px;
    right: 30px;
  }
  .tf_next {
    margin-top: 50px;
  }
}
