/*
Theme Name: tierphysiotherapie-bonn.de
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

.masthead {
  background: url('/img/theme/nav.png') repeat-x left center !important;
}

.paper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.paper.middle {
  top: 300px;
  bottom: 0;
  height: calc(100% - 300px);
}

.paper.bottom {
  position: fixed;
  top: 300px;
  bottom: 0;
  height: 100% - 300px;
}

#paper-bottom.active {
  top: 0;
}

.paper.middle .paper-item, .paper.bottom .paper-item {
  height: 100%;
  background: url('/img/theme/paper-bottom.png') left top repeat-y;
  background-size: 100% 100%;
}

.paper-item {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.paper-item .link {
  position: absolute;
  right: 100px;
  top: 120px;
  display: block;
  width: 300px;
  height: 80px;
  /* border: 1px solid red; */
  z-index: 1000;
}

.paper-item img {
  width: 100%;
  max-width: 1200px;
  height: auto;
}

#main {
  padding-top: 260px;
}

.content {
  padding-left: 120px;
  padding-right: 120px;
}


@media only screen and (max-width: 1100px) {

  #main {
    padding-top: 220px;
  }

}

@media only screen and (max-width: 990px) {

  #main {
    padding-top: 180px;
  }

  .content {
    padding-left: 80px;
    padding-right: 80px;
  }

}


@media only screen and (max-width: 778px) {

  #main {
    padding-top: 160px;
  }

  .content {
    padding-left: 60px;
    padding-right: 60px;
  }

  .paper.middle {
    top: 200px;
  }

  .paper.bottom {
    top: 200px;
  }

}


@media only screen and (max-width: 480px) {

  #main {
    padding-top: 70px;
  }

  .content {
    padding-left: 40px;
    padding-right: 40px;
  }

}


@media only screen and (max-width: 380px) {

  #main {
    padding-top: 60px;
  }

  .content {
    padding-left: 20px;
    padding-right: 20px;
  }

}
