/* template.css, landappartement.at, gerald petter, august 2017 */

/* Farben
  
  light beige: rgb(255, 255, 228);
  beige: rgb(255, 255, 215);
  dark-beige: rgb(250, 234, 182);
  red: rgb(119, 41, 66);
  dark red: rgb(57, 3, 20);

*/


/* Pop-Up ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#popup {
  background-color: rgba(255, 255, 228, 0.8);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20000;
}
  @media screen and (min-width: 1100px) {
    #popup {
      position: fixed;
    }
  }
  @media screen and (min-width: 1100px) and (max-height: 700px) {
    #popup {
      position: absolute;
    }
  }
  
.popup-text {
  position: absolute;	
  width: 94%;
  left: 3%;
  top: 30px;	
  padding: 0px;
  color: rgb(20, 20, 20);
  font-size: 16px;
  border-radius: 10px;
  border-width: 2px;
  border-style: solid;
  border-color: rgb(57, 3, 20);
  background: rgba(255, 255, 228, 0.9);
}
  @media screen and (min-width: 600px) {
    .popup-text {
      background-image: url(../images/startseite/bg-popup.jpg);
      background-size: cover;	
      background-position: right top;
      position: absolute;	
      width: 94%;
      left: 53%;
      margin-left: -50%;
      top: 50px;	
      padding: 20px;
      color: rgb(20, 20, 20);
      font-size: 16px;
      border-radius: 10px;
      border-width: 2px;
      border-style: solid;
      border-color: rgb(57, 3, 20);
    }
  }
    @media screen and (min-width: 1100px) {
      .popup-text {
        width: 1076px;
        margin-left: -538px;
        position: fixed;	
        left: 50%;
        top: 50%;	
        margin-top: -315px;
        padding: 40px;
      }
    }
    @media screen and (min-width: 1100px) and (max-height: 700px) {
      .popup-text {
        position: absolute;
        top: 50px;
        margin-top: 0;
      }
    }
      
#popup h2 {
  color: rgb(57, 3, 20);
  font-size: 1.6em;	
  font-weight: 600;	
  margin-bottom: .5em;
}

.hintergrund {
  padding: 20px;
  width: 100%;
}
  @media screen and (min-width: 600px) {
    .hintergrund {
      background: rgba(255, 255, 228, 0.9);
      padding: 20px;
      width: 50%;
      font-size: .8em;
    }
  }
    @media screen and (min-width: 900px) {
      .hintergrund {
        font-size: 1em;
      }
    }
    
#close{
  position: absolute;
  background: rgb(57, 3, 20);
  color: rgb(255, 255, 228);
  right: -15px;
  top: -15px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;	
  font-size: 15px;
  font-weight: bold;
  font-family: 'Arial Black', Arial, sans-serif;
  cursor: pointer;
}

.hintergrund p {
  margin: .7em 0;
}

.einblenden {
  animation-name: einblenden;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
}

@keyframes einblenden {
  from {transform:translate(0, -1000px);}		/** Startposition **/
  50% {transform:translate(0, -1000px);}		/** Position nach 50% der Zeit (0.5 Sec) **/
  85% {transform:translate(0, 50px);}		/** Position nach 85% der Zeit (0.8 Sec) **/
  to {transform: translate(0, -0px);} 		/** Endposition **/
}

/* body ========================================================================================================================== */
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1em;
  margin: 0;
  position: relative;
  max-width: 1920px;
  min-width: 280px;
  margin: 0 auto;
  background-color: rgb(255, 255, 228); 
}
  
small {
  font-size: 0.8em;
  font-weight: 400;
}

strong {
  color: rgb(119, 41, 66);
}

a {
  color: rgb(100, 100, 100);
}

/* Header ========================================================================================================================== */
header {
  position: relative;
  padding: 36px 0 0;
  background-color: rgb(57, 3, 20);
}

/* Adresse Header */
header address {
  display: none;
  color: rgb(255, 255, 228);
  font-size: 0.7em;
}
  @media screen and (min-width: 1000px) {
    header address {
      display: block;
      position: absolute;
      top: 10px;
      left: 2%;
      margin-left: 260px;
    }
  }
    @media screen and (min-width: 1200px) {
      header address {
        left: 5%;
        margin-left: 320px;
        font-size: 0.8em;
      }
    }
      @media screen and (min-width: 1400px) {
        header address {
          margin-left: 470px;
        }
      }
        @media screen and (min-width: 1700px) {
          header address {
            left: 10%;
            font-size: 0.9em;
            top: 8px;
          }
        }
    
header address p {
  float: left;
  margin-left: 10px;
}
  @media screen and (min-width: 1700px) {
    header address p {
      margin-left: 30px;
    }
  }
  
header address p:first-child {
  margin-left: 0;
}

header address a {
  color: inherit;
}

/* Google Translate Element */
#google_translate_element {
  position: absolute;
  top: 5px;
  left: 2%;
  z-index: 3;
}
  @media screen and (min-width: 1000px) {
    #google_translate_element {
      top: 5px;
      left: auto;
      right: 2%;
    }
  }
    @media screen and (min-width: 1200px) {
      #google_translate_element {
        right: 5%;
      }
    }
      @media screen and (min-width: 1700px) {
        #google_translate_element {
          right: 10%;
        }
      }
    
.goog-te-gadget-simple {
  background-color: rgb(255, 255, 228) !important;
  border-left: none !important;
  border: 1px solid rgb(119, 41, 66) !important;;
}
  
.goog-te-gadget-simple .goog-te-menu-value {
  color: rgb(119, 41, 66) !important;
}

.goog-te-gadget-simple .goog-te-menu-value span {
  color: rgb(119, 41, 66) !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:nth-of-type(2) {
  border-left: 1px solid rgb(119, 41, 66) !important;
}

/* Logo */
#logo {
  padding: 30px 2% 20px;
  text-align: center;
  background-color: rgb(255, 255, 228);
  background: linear-gradient(to bottom, rgb(255, 255, 215) 0%, rgb(255, 255, 228) 100%);
  width: 100%;
}
  @media screen and (min-width: 1000px) {
    #logo {
      padding: 30px 0 20px 2%;
      text-align: left;
    }
  }
    @media screen and (min-width: 1200px) {
      #logo {
        padding: 30px 0 20px 5%;
      }
    }
      @media screen and (min-width: 1700px) {
        #logo {
          padding: 30px 0 20px 10%;
        }
      }
    
#logo img {
  width: 100%;
  max-width: 441px;
}
  @media screen and (min-width: 1000px) {
    #logo img {
      width: 240px;
    }
  }
    @media screen and (min-width: 1200px) {
      #logo img {
        width: 290px;
      }
    }
      @media screen and (min-width: 1400px) {
        #logo img {
          width: 441px;
        }
      }
    
/* Hauptmenü */
#menu-main {
  top: 1px;
}
  @media screen and (min-width: 1000px) { 
    #menu-main {
      top: 60px;
      left: 2%;
      margin-left: 260px;
      font-size: 1.2em;
    }
  }
    @media screen and (min-width: 1200px) { 
      #menu-main {
        left: 5%;
        margin-left: 310px;
      }
    }
      @media screen and (min-width: 1400px) { 
        #menu-main {
          top: 66px;
          margin-left: 460px;
          font-size: 1.4em;
        }
      }
        @media screen and (min-width: 1700px) { 
          #menu-main {
            left: 10%;
          }
        }
      
#menu-main > a  {
  border-top: 4px solid rgb(255, 255, 228); 
  border-bottom: 4px solid rgb(255, 255, 228); 
}

#menu-main > a:hover  {
  border-top: 4px solid rgb(250, 234, 182); 
  border-bottom: 4px solid rgb(250, 234, 182); 
}

#menu-main > a::after {
  background-color: rgb(255, 255, 228);   
}

#menu-main > a:hover::after {
  background-color: rgb(250, 234, 182); 
}

#menu-main > ul {
  background-color: rgb(57, 3, 20);
}
  @media screen and (min-width: 1000px) {
    #menu-main > ul {
      background-color: transparent;
    }
  }
  
.menu-main > li {
  border-bottom: 1px solid rgb(255, 255, 228); 
  color: rgb(255, 255, 228);
}
  @media screen and (min-width: 1000px) {
    .menu-main > li {
      border-bottom: none;
      padding: 4px 10px;
    }
  }
  
.menu-main > li:first-child {
  border-top: 1px solid rgb(255, 255, 228); 
}
  @media screen and (min-width: 1000px) {
    .menu-main > li:first-child {
      border-top: none; 
    }
  }
  
.menu-main > li a {
  color: rgb(255, 255, 228);
}
  @media screen and (min-width: 1000px) {
    .menu-main > li a {
      color: rgb(57, 3, 20);
    }
  }
  
.menu-main > li a:hover {
  color: rgb(250, 234, 182);
  text-decoration: none;
}
  @media screen and (min-width: 1000px) {
    .menu-main > li a:hover {
      color: rgb(119, 41, 66);
    }
  }
  
  @media screen and (min-width: 1000px) {
    .menu-main > li > ul {
      background-image: none;
      background-color: rgb(255, 255, 224);
    }
  }
  
/* Slideshow, Mainimg */
#slideshow, #mainimg {
  position: relative;
  overflow: hidden;
  box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.2);
}
      
#slider img, #mainimg img {
  object-fit: cover;
  height: 250px !important;
  width: 100%;
}
  @media screen and (min-width: 600px) {
    #slider img, #mainimg img {
      object-fit: fill;
      height: auto !important;
    }
  }

#slider {
  position: relative;
}

ul#slider p.caption, #mainimg figcaption {
  display: none;
}
  @media screen and (min-width: 600px) {
    ul#slider p.caption, #mainimg figcaption {
      display: block;
      font-family: 'Allura', cursive;
      position: absolute;
      left: 2%;
      bottom: 35px;
      width: 96%;
      color: rgb(255, 255, 228);
      text-shadow: 1px 1px 1px rgb(60, 60, 60);
      font-size: 1.9em;
    }
  }
    @media screen and (min-width: 1000px) {
      ul#slider p.caption, #mainimg figcaption {
        font-size: 2.2em;
      }
    }
      @media screen and (min-width: 1200px) {
        ul#slider p.caption, #mainimg figcaption {
          left: 5%;
          width: 90%;
        }
      }
        @media screen and (min-width: 1700px) {
          ul#slider p.caption, #mainimg figcaption {
            left: 10%;
            font-size: 2.5em;
            bottom: 45px;
            width: 80%;
          }
        }

ul#slider p.caption small, #mainimg figcaption small {
  font-size: 0.5em;
}

ul.rslides_tabs {
  display: none;
}
  @media screen and (min-width: 600px) {
    ul.rslides_tabs {
      display: block;
      position: absolute;
      left: 2%;
      bottom: 12px;
      z-index: 2;
    }
  }
    @media screen and (min-width: 1000px) {
      ul.rslides_tabs {
      }
    }
      @media screen and (min-width: 1200px) {
        ul.rslides_tabs {
          left: 5%;
        }
      }
        @media screen and (min-width: 1700px) {
          ul.rslides_tabs {
            left: 10%;
            bottom: 20px;
          }
        }

ul.rslides_tabs li {
  display: inline-block;
  list-style: none;
  background-color: rgba(255, 255, 228, 0.9);
  border-radius: 50%;
  height: 8px;
  width: 8px;
  font-size: 12px;
  line-height: 1em;
  margin: 0 3px;
}
  @media screen and (min-width: 1000px) {
    ul.rslides_tabs li {
      height: 12px;
      width: 12px;
    }
  }
  
ul.rslides_tabs li:first-child {
  margin-left: 0;
}

ul.rslides_tabs li a {
  color: transparent;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: inline-block;
}

ul.rslides_tabs li.rslides_here {
  background-color: rgb(119, 41, 66);
}

/* Anfrage */
#anfrage > a {
  color: rgb(255, 255, 228); 
  background-color: rgb(57, 3, 20); 
}

#anfrage form#request {
  color: rgb(255, 255, 228); 
  background-color: rgba(57, 3, 20, 0.9);
}

/* Content ========================================================================================================================== */
main {
  text-align: center;
  padding: 1.5em 2% 1em;
}
  @media screen and (min-width: 1000px) {
    main {
      text-align: left;
    }
  }
    @media screen and (min-width: 1200px) {
      main {
        padding: 1.5em 5% 1em;
      }
    }
      @media screen and (min-width: 1400px) {
        main {
          font-size: 1.1em;
        }
      }
        @media screen and (min-width: 1700px) {
          main {
            padding: 1.5em 10% 1em;
          }
        }
    
@media screen and (min-width: 1000px) {
  main::after {
    content: "";
    display: block;
    clear: both;
  }
}
    
/* Artikel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
  #haftungsausschluss {
    font-size: 0.9em;
    padding-top: 2em;
  }
  @media screen and (min-width: 1000px) {
    #haftungsausschluss div {
      column-count: 2;
      column-gap: 3em;
      column-rule: 1px dashed rgb(250, 234, 182);
      margin-bottom: 2.5em;
    }
  }

.teaser {
  margin: 1.5em 0;
}
  @media screen and (min-width: 600px) {
    .teaser {
      clear: both;
    }
  }
    @media screen and (min-width: 1000px) {
      .teaser {
        width: 48%;
        float: left;
        clear: none;
      }
      .teaser:nth-of-type(2n) {
        margin-left: 4%;
      }
    }
  
/* Überschriften */
article h1 {
  font-size: 1.7em;
  line-height: 1.2em;
  font-weight: 300;
  color: rgb(57, 3, 20);
  margin: 0.6em 0 0.5em;
}

article h1:first-child {
  margin-top: 0;
}

.teaser h2 {
  display: none;
}

article h2 {
  font-size: 1.2em;
  font-weight: 600;
  color: rgb(119, 41, 66);
  font-style: italic;
  margin: 0.3em 0 0.2em;
}

@media screen and (min-width: 1000px) {
  #haftungsausschluss h2 {
    column-span: all;
    font-size: 1.3em;
    padding-bottom: 0.5em;
  }
}

article h3 {
  font-size: 1.1em;
  font-weight: 600;
  margin: 0.1em 0 0.2em;
}

/* Absätze, Iframe  */
article p {
  margin: 0.5em 0;
  line-height: 1.5em;
}

.signatur {
  font-style: italic;
  color: rgb(57, 3, 20);
  font-weight: 600;
  padding-left: 40px;
}

.readmore {
  font-weight: 600;
  font-style: italic;
}
  @media screen and (min-width: 600px) {
    .readmore {
      background-color: rgb(250, 234, 182);
      height: 40px;
      padding-top: 6px;
    }
  }
    @media screen and (min-width: 1200px) {
      .readmore {
        text-align: right;
        padding-right: 20px;
      }
    }
      @media screen and (min-width: 1400px) {
        .readmore {
          height: 43px;
        }
      }
        @media screen and (min-width: 1700px) {
          .readmore {
            padding-right: 30px;
            padding-top: 8px;
          }
        }
     
@media screen and (min-width: 1000px) {
  #medieninhaber p {
    padding-left: 40px;
  }
}
     
.skizze p:first-child {
  width: 100%;
  max-width: 500px;
  margin: 0.7em auto;
}
  @media screen and (min-width: 1000px) {
    .skizze p:first-child {
      width: 32%;
      float: left;
      padding-left: 0;
      text-align: center;
    }
    .skizze p:nth-child(2) {
      padding-top: 2em;
    }
  }
  
.teaser p {
  margin: 0.7em 0;
}
  @media screen and (min-width: 600px) {
    .teaser p {
      margin: 0;
    }
  }
  
.teaser--text {
  line-height: 1.5em;
}
  @media screen and (min-width: 600px) {
    .teaser--text {
      text-align: left;
      height: 200px;
      padding: 30px 30px 30px 0;
      background-color: rgb(255, 255, 255);
    }
  }
    @media screen and (min-width: 1000px) {
      .teaser--text {
        height: 154px;
        padding: 20px 10px 20px 0;
        margin: 0;
        font-size: 0.9em;
      }
    }
      @media screen and (min-width: 1400px) {
        .teaser--text {
          height: 200px;
          padding: 20px 10px 20px 0;
          margin: 0;
          font-size: 1em;
        }
      }
        @media screen and (min-width: 1700px) {
          .teaser--text {
            padding: 30px 30px 0 0;
            line-height: 1.6em;
          }
        }
      
p.teaser--text::first-letter {
  font-family: 'Allura', cursive;
  color: rgb(57, 3, 20);
  font-size: 2.0em;
}
  @media screen and (min-width: 1700px) {
    p.teaser--text::first-letter {
      font-size: 2.2em;
      padding-right: 3px;
    }
  }
  

  @media screen and (min-width: 800px) {
    iframe.right {
      float: right;
      margin: 0 0 1em 1em;
      width: 300px;
    }
  }
  
/* Listen  */
main ul {
  list-style: none;
  margin: 0.5em 0px;
}
  @media screen and (min-width: 600px) { 
    main ul {
      padding-left: 60px;
    }
  }
  
#haftungsausschluss ul {
  margin: 0.5em 0;
  line-height: 1.5em;
}
  @media screen and (min-width: 1000px) { 
    #haftungsausschluss ul {
      list-style: disc;
    }
  }
  
@media screen and (min-width: 600px) { 
  .teaser ul {
    margin: 0;
    padding-left: 20px;
  }
}

main li {
  margin: 0.2em 0px;
  line-height: 1em;
}
  @media screen and (min-width: 600px) { 
    .list-style li::before {
      content: "\2022";  
      font-size: 2em;
      color: rgb(119, 41, 66);
      position: relative;
      top: 0.2em;
      right: 0.2em;
    }
  }

#haftungsausschluss li {
  line-height: 1.5em;
}

dl {
  margin: 0.5em 0;
}
  @media screen and (min-width: 1000px) {
    dl {
      margin: 0.5em 80px 1.2em;
    }
  }
    @media screen and (min-width: 1400px) {
      dl {
        margin: 0.5em 120px 1.2em;
      }
    }
    
dl:after {
  clear: both;
  content: "";
  display: block;
}

dl dt {
  color: rgb(66, 49, 42);
  font-weight: 600;
  margin-top: 6px;
}
  @media screen and (min-width: 1000px) { 
    dl dt {
      clear: left;
      float: left;
      padding-right: 6px;
    }
    dl dd {
      padding-top: 6px;
      padding-left: 20px;
    }
    dl + p {
      clear: both;
    }
  }
  
/* Links */
article a {
  text-decoration: underline;
}
  @media screen and (min-width: 600px) {
    .teaser a {
      text-decoration: none;
    }
  }
  
article a:hover {
  color: rgb(57, 3, 20);
}
  @media screen and (min-width: 600px) {
    .teaser a:hover {
      text-decoration: underline;
    }
  }
  
article a.no-deco {
  text-decoration: none;
}

article a.no-deco:hover {
  text-decoration: underline;
}

/* Tabellen */
table {
  margin: 10px auto 20px;
  width: 100%;
  font-size: 0.7em;
  background-color: rgba(250, 234, 182, 0.3);
}
  @media screen and (min-width: 500px) {
    table {
      font-size: 0.9em;
    }
  }
    @media screen and (min-width: 1000px) {
      table {
        width: 60%;
        font-size: 1em;
      }
    }
  
table ~ table {
  margin-top: 50px;
}

table caption {
  display: none;
}

tr {
  vertical-align: middle;
}

tr:first-of-type {
  border: none;
}

th {
  padding: 4px 6px 4px;
  text-align: center;
  font-weight: 600;
}
  @media screen and (min-width: 500px) {
    th {
      white-space: nowrap;
      padding: 6px 10px;
    }
  }
  
th:first-of-type {
  text-align: left;
  font-size: 1.2em;
}

table.preise th {
  background-color: rgb(188, 221, 150);
}

table.preise.winter th {
  background-color: rgb(159, 219, 250);
}

td {
  padding: 4px 6px 4px;
  text-align: center;
  vertical-align: middle;
  color: rgb(119, 41, 66);
  border-top: 1px solid rgb(250, 234, 182);
  font-weight: 600;
  font-size: 1.2em;
}
  @media screen and (min-width: 500px) {
    td {
      font-weight: 600;
      padding: 6px 10px;
    }
  }
    @media screen and (min-width: 900px) {
      td {
        white-space: nowrap;
        padding: 4px 6px 4px;
      }
    }
    
td:first-of-type {
  text-align: left;
  font-weight: 400;
  font-size: 1em;
}

td small {
  display: inline-block;
  padding-left: 5%;
  font-size: 0.8em;
}

/* Bilder  */
article figure {
  position: relative;
}
  @media screen and (min-width: 600px) {
    .teaser figure {
      width: 300px;
      float: left;
      margin-right: 40px;
    }
  }
    @media screen and (min-width: 1000px) {
      .teaser figure {
        width: 231px;
        float: left;
        margin-right: 20px;
      }
    }
      @media screen and (min-width: 1400px) {
        .teaser figure {
          width: 300px;
          margin-right: 20px;
        }
      }
        @media screen and (min-width: 1700px) {
          .teaser figure {
            margin-right: 30px;
          }
        }
      
article figure.popup > a:after {
  content: url('../images/all/loupe.png');
  position: absolute;
  top: 3px;
  left: 3px;
  opacity: 0.3;
}

article figure.popup > a:hover:after {
  opacity: 1;
}

article figure img, .skizze img {
  width: 100%;
  vertical-align: bottom;
}

.skizze img {
  max-width: 250px;
}
  
article figcaption {
  padding: 0.4em 0 0.4em;
  font-size: 1.1em;
  font-weight: 300;
  color: rgb(57, 3, 20);
  background-color: rgb(250, 234, 182);
  text-align: center;
}

.images {
  margin: 0.5em 0;
  padding: 0;
  clear: both;
}

.images li {
  margin: 20px 0;
  padding: 0;
  background-color: rgba(130, 204, 162, 0.2);
  list-style: none;
}
  @media screen and (min-width: 800px) {
    .images {
      display: -webkit-box; 
      display: -ms-flexbox;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 0 0;
    }
    .images li {
      width: auto;
      float: none;
      flex-basis: 24%;
    }
  }
    @media screen and (min-width: 1400px) {
      .images {
        font-size: 0.9em;
      }
    }

/* Footer ========================================================================================================================== */
footer {
  background-color: rgb(250, 234, 182);
  padding: 1.5em 2% 1em;
  text-align: center;
}
  @media screen and (min-width: 1200px) {
    footer {
      padding: 1.5em 5% 1em;
    }
  }
    @media screen and (min-width: 1700px) {
      footer {
        padding: 1.5em 10% 1em;
        font-size: 1.2em;
      }
    }
  
footer p {
  margin: 0.5em 0;
}

footer p:first-child {
  margin-top: 0;
}
  @media screen and (min-width: 1000px) {
    footer p:first-child {
      margin-top: 10px;
    }
  }
  
/* Adresse */
@media screen and (min-width: 1000px) {
  footer address {
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 20px;
    border-top: 1px dashed rgb(119, 41, 66);
    display: -webkit-box; 
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    text-align: left;
  }
  footer address p:last-child {
    text-align: right;
  }
}

/* Logos */
@media screen and (min-width: 1000px) {
  #logos {
    display: -webkit-box; 
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

#logos figure {
  margin: 1.5em auto;
}
  @media screen and (min-width: 1000px) {
    #logos figure {
      margin: 1.5em 0;
    }
  }
  
#logos img {
  max-width: 162px;
}
  @media screen and (min-width: 1000px) {
    #logos img {
      max-width: none;
      max-height: 60px;
    }
  }

