/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
}

a {
	color: #000;
	text-decoration: none;
}

.page {
  margin: auto;
  width: 1000px;
  padding-top: 30px;
}

.header {
  background-image: url(../img/main.jpg);
  background-repeat: no-repeat;
  background-position: 0 100px;
  background-size: contain;
  position: relative;
  height: 730px;
  margin-bottom: 90px;
}

.header::before {
  content: "";
  position: absolute;
  display: block;
  background-image: url(../img/header-accent.svg);
  z-index: 2;
  height: 440px;
  width: 310px;
  right: 120px;
  top: 360px;
}
.header-logo {
  position: relative;
}

/* .header-logo::before {
  background-image: url(../img/logo-dots.svg);
  background-repeat: no-repeat;
  content: "";
  display: block;
  width: 20px;
  height: 60px;
  top: 70px;
  position: absolute;
  left: 33px;
} */

.menu-wrapper {
  position: relative;
  z-index: 10;
}
.menu-wrapper nav {
  display: none !important;
}
.menu-wrapper:hover nav {
  display: block;
}
.menu-wrapper a {
  text-decoration: none;
  color: #000;
}
.menu-wrapper nav {
  position: absolute;
  top: 160px;
  left: 33px;
}
.menu-wrapper nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.menu-wrapper li {
  margin: 0 0 16px;
}
.menu-wrapper nav .dot {
  background-image: url(../img/menu-dot.svg);
  background-repeat: no-repeat;
  background-position: left 7px;
  padding-left: 30px;
  padding-bottom: 16px;
  font-size: 16px;
  position: relative;
  margin: 0;
}
.menu-wrapper nav .dot:hover { 
  background-image: none;
}
.menu-wrapper nav ul li.hand {
  background-image: url(../img/ok-hand.svg);
  background-repeat: no-repeat;
  background-position: left;
  content: "";
  display: block;
  width: 60px;
  height: 70px;
  position: absolute;
  left: -41px;
  top: 0px;
  display: none;
  pointer-events: none;
}
.menu-wrapper nav ul li.hand {
  top: -28px;
  display: block; 
}
.menu-wrapper nav ul li.dot-apartaments:hover ~ li.hand {
  top: -29px;
  display: block;
}
.menu-wrapper nav ul li.dot-location:hover ~ li.hand {
  top: 10px;
  display: block;
}
.menu-wrapper nav ul li.dot-atractions:hover ~ li.hand {
  top: 48px;
  display: block;
}
.menu-wrapper nav ul li.dot-reservations:hover ~ li.hand {
  top: 86px;
  display: block;
}
.menu-wrapper nav ul li.dot-about:hover ~ li.hand {
  top: 124px;
  display: block;
}
.menu-wrapper nav ul li.dot-contact:hover ~ li.hand {
  top: 162px;
  display: block;
}
/* .menu-wrapper nav .menu-localization {
  position: relative;
  padding: 30px 0 30px 30px;
  font-size: 25px;
  font-weight: 500;
  margin: 0;
}
.menu-wrapper nav .menu-localization::before {
  background-image: url(../img/ok-hand.svg);
  background-repeat: no-repeat;
  background-position: left;
  content: "";
  display: block;
  width: 60px;
  height: 70px;
  position: absolute;
  left: -40px;
  top: 5px;
} */
.subpage .header {
  height: auto;
  background: none;
  margin: 0;
}

.subpage .header::before {
  display: none;
}

.header-caption {
  position: absolute;
  margin: 0;
  bottom: 40px;
  font-size: 50px;
  width: 300px;
  left: 300px;
  color: #fff;
  text-align: right;
  font-weight: 400;
  line-height: 50px;
}
.apartament, .localization, .attractions, .reservations {
  margin-bottom: 60px;
}
.apartament:nth-child(odd) .description-header::before {
  background: #ABCEEB; 
  height: 276px;
}
.apartament .description-header {
  padding: 120px 20px 30px;
}
.apartament:nth-child(even) .description-header::before {
  background-color: #f5c5d0;
  height: 300px;
}
.localization {
  position: relative;
  margin-top: 120px;
}

.localization .dots {
  position: absolute;
  top: -50px;
  left: 55px;
}

.localization.column-to-right .description-header {
  padding: 120px 85px 30px;
}
.localization .description-header::before {
  background-color: #CEE0CB;
  width: 500px;

}
.localization .gallery {
  margin: 125px 0;
}
.localization .gallery .gallery-main-image {
  max-width: 100%;
}
.attractions .description-header::before {
  background-color: #FCECA8;
  width: 500px;
}
.attractions.column-to-right .description {
  margin: 0;
}
.attractions.column-to-right .description-header {
  padding: 120px 165px 30px;
}
.attractions .gallery .attraction-desc {
	width: 62%;
	float: right;
    text-align: right;
    display: none;
    min-height: 158px;
    padding-right: 10px;
}
.attractions .gallery .attraction-desc:nth-child(1) {
	display: block;
}
.attractions .gallery .attraction-desc a {
	text-transform: uppercase;
	color: #000;
	text-decoration: none;
	font-size: 15px;
}
.attractions .gallery .attraction-desc a span {
	margin-left: 10px;
}
.reservations {
  position: relative;
  padding-top: 230px;
}
.reservations .header-text {
  font-weight: 300;
  font-size: 40px;
  line-height: 50px;
  position: absolute;
  width: 240px;
  right: 210px;
  margin: 0;
  top: 110px;
}
.reservations .description-column {
  width: 370px;
}
.reservations-column {
  margin-left: 75px;
  margin-top: 20px;
  float: left;
}
.reservations-column .reservations-header {
  font-weight: 500;
}
.reservations-column p {
  font-weight: 300;
  font-size: 15px;
}
.reservations .description {
  text-align: right;
  font-size: 16px;
  padding: 90px 0;
  color: #898989;
}
.reservations .description-header::before {
  background-color: #E4E4E4;
  height: 380px;
  top: -30px;
}
.about-us {
  margin-bottom: 400px;
}
.about-us .description-header {
  padding: 120px 210px 30px;
}
.about-us .description-header::before {
  background-color: #ED6B4E;
  opacity: 0.2;
  left: 240px;
  width: 480px;
  height: 670px;
  top: 70px;
}

.about-us .description-header span::before {
  content: "";
  display: block;
  background-image: url(../img/aboutus.svg);
  background-repeat: no-repeat;
  height: 40px;
  width: 150px;
  position: absolute;
  top: 30px;
  left: -310px;
}
.google-link {
  font-size: 15px;
  color: #000000;
  text-decoration: none;
}
.google-link svg {
  padding-right: 10px;
}
.about-us .description-header::after {
  background-image: url(../img/about-us.png);
  content: "";
  display: block;
  width: 340px;
  height: 370px;
  position: absolute;
  z-index: 2;
  top: 500px;
  left: 560px;
  background-repeat: no-repeat;
}

.about-us .description-column {
  margin: 0 0 0 110px;
  width: 585px;
}

.about-us .description {
  font-size: 18px;
  font-weight: 400;
}

.gallery {
  float: left;
  width: 650px;
}
.gallery > img {
	max-width: 100%;
}
.gallery-thumbs {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}
.gallery-thumb {
  float: right;
  margin-left: 40px;
}

.equipment li {
  padding: 15px 0;
  font-size: 15px;
  line-height: 54px;
}
.equipment li img {
  margin-right: 20px;
}
.equipment li span {
  display: none;
  background-image: url(../img/menu-dots.svg);
  background-repeat: no-repeat;
  background-position: center left;
  padding-left: 70px;
  background-size: 50px;
}
.equipment li:hover span {
	font-style: italic;
}
.main .equipment li span {
	display: inline-block;
}
.equipment img {
  width: 40px;
}
.equipment li a {
  text-decoration: none;
  color: #000;
}
.equipment li a:hover span {
  display: inline-block;
}
.column-to-right .gallery-thumb {
  float: left;
  margin-right: 40px;
  margin-left: 0;
}

.description-column {
  position: relative;
  float: left;
  width: 290px;
  margin: 0 0 0 20px;
}
.description-header::before{
  content: "";
  display: block;
  height: 340px;

  width: 390px;
  position: absolute;
  top: 30px;
  left: 0;
}

.description-header {
  margin: 0;
  font-size: 70px;
  position: relative;
  padding: 120px 70px 30px;
  font-weight: 300;
}

.description-header span {
  position: relative;
  z-index: 1;
}
.description-title {
  height: 100px;
  font-size: 22px;
  padding-right: 40px;
}


.description {
  font-size: 18px;
  margin: 0 0 0 20px;
}
.description h3 {
  font-weight: 600;
  font-size: 22px;
}
.apartament .description h3,
.apartament .description p {
  margin: 0;
}
.description ul {
  padding: 0;
  margin: 50px 0 0;
  list-style: none;
  font-size: 18px;
}
.description ul li {
	margin-bottom: 5px;
}
.column-to-right .description-header {
  text-align: right;
  padding: 120px 50px 30px;
  
}
.column-to-right .description-header::before {
  right: 0;
  left: auto;
  z-index: -1;
}

.column-to-right .description,
.column-to-right .description-column {
  float: right;
  margin: 0 20px 0 0;
}

.circle {
  margin: 0 25px 0 0;
  position: relative;
  z-index: 1;
}

.equipment {
  position: relative;
}

.subpage .apartament {
  position: relative;
  min-height: 710px;
}
.subpage .equiped .description-header::before {
  min-height: 910px;
  left: 80px;
  width: 360px;
}

.subpage .prices .description-header::before {
  min-height: 730px;
  left: 80px;
  width: 360px;
}
.subpage .photos .description-header::before {
  min-height: 620px;
  left: 80px;
  width: 360px;
}
.subpage .booking .description-header::before {
  min-height: 710px;
  left: 80px;
  width: 360px;
}

.booking-info {
  font-weight: 500;
}
.booking-info svg {
  margin-right: 10px;
  display: inline-block;
}

.subpage .description-header a {
  color: #ccc;
  text-decoration: none;
}
.subpage .description-column {
  z-index: 1;
  width: 390px;
}
.subpage .description-header {
  padding: 30px 0px 30px 296px;
  z-index: 1;
}
.subpage .description {
  padding-left: 100px;
  z-index: 1;
}
.subpage .description p {
  font-size: 13px;
  margin-bottom: 15px;
}
.subpage .description ul {
  margin: 0;
}
.main-description .description p {
  font-size: 20px;
}
.subpage .equipment {
  position: absolute;
  top: 0;
  left: 0;
}
.subpage .equipment li {
  font-weight: 500;
  font-size: 20px;
}
.subpage .equipment li span {
  margin-left: -15px;
}

.subpage .equipment li:not(.active) a:hover span {
  display: none;
}
.subpage .equiped .description {
  margin-top: 100px;
}
.subpage .prices .description {
  margin-top: 250px;
}
.subpage .prices .description h3 {
  margin-bottom: 20px;
}

.subpage .prices .description p {
  font-size: 18px;
}
.subpage .booking .description {
  margin-top: 175px;
}
.subpage .active span {
  display: inline;
}
.subpage .booking .description h3 {
  font-size: 20;
  font-weight: 300;
  margin-bottom: 20px;
}
.equiped .description h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.equiped .description p {
  font-weight: 500;
}

.subpage .gallery {
  position: absolute;
  width: 820px;
  z-index: 0;
  left: 180px;
  z-index: 0;
}
.subpage .apartament-b .description-header::before {
  background: #ABCEEB;
}
.go-back {
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  color: #000;
  padding-left: 70px;
  background-image: url(../img/small-circle.svg);
  background-repeat: no-repeat;
  background-position: 40px center;
}
.go-back:hover {
  text-decoration: underline;
}
.zicher-headline {
	margin: 0 auto;
    display: block;
    padding-top: 120px;
    padding-bottom: 50px;
}
footer {
  margin-bottom: 40px;
}

.photo-column {
  float: left;
  width: 50%;
}

.photo-column img {
  max-width: 500px;
}
.photo-column-left {
  text-align: right
}

.photo-column-left img {
  margin: 100px 0 0 0;
}

.photo-column-right {
  text-align: left;
}
.photo-column-right img:first-child {
  margin: 200px 0 0 70px;
}
.photo-column-right img {
  margin: 100px 0 0 70px;
}
.photos-wrapper {
  margin-bottom: 60px;
}

.attractions-menu a {
  text-decoration: none;
  color: #000;
}
.attractions-menu a:hover {
  text-decoration: underline;
}

.attractions-menu .active {
  font-weight: 400;
}
.subpage footer img {
  margin-top: 100px;
  max-width: 1000px;
}
.page .footer-bg {
  height: 900px;
  background: url(../img/footer-bg.svg) no-repeat;
  background-position: -4px 154px;
  position: absolute;
  width: 100%;
  background-size: 102.5%;
}
.page:not(.subpage) footer {
  position: relative;
}
.page:not(.subpage) footer .footer-dots {
  background: url(../img/footer-dots.svg) no-repeat;
  background-size: contain;
  height: 900px;
  content: "";
  display: block; 
  z-index: 2;
  position: relative;
}
.subpage .main-description .description-header::before {
  min-height: 580px;
  left: 80px;
  width: 360px;
}

.subpage .photo-column img {
  opacity: 0;
  transition: opacity 0.3s;
}

.subpage .photo-column .show {
  opacity: 1;
}
.page.main section {
  transform: skew(-5deg, 0deg);
  transition: transform 0.3s;
} 
.page.main section.skew0 {
  transform: skew(0, 0deg);
}
.footer-bg { 
  transform: translate(0,100%);
  transition: transform 0.7s, opacity 0.7s;
  top: 0;
  z-index: 1;
  opacity: 0;
}
.animate .footer-bg {
  transform: translate(0,0);
  opacity: 1;
}
.footer-dots svg {
  position: absolute;
  top: 244px;
  left: 486px;
}
.footer-dots svg path {
  transition: fill 0.3s;
}
.animate .footer-dots svg path {
  fill: #c05a37;
}

.footer-address {
  position: absolute;
  top: 550px;
  font-size: 14px;
  left: 636px;
  font-weight: 600;
}
.footer-address p {
  margin: 0;
}
.footer-address img {
	margin-top: 15px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}
.subpage .menu-wrapper {
  height: auto;
  position: relative;
}
.menu-wrapper {
  /* position: absolute; */
  position: fixed;
  /* height: 400px; */
  padding-left: 15px;
}
@media screen and (min-width: 1440px) {
  .menu-wrapper {
    margin-left: -210px;
  }
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

.pull-right {
	float: right;
}
