/* nunito-sans-regular - latin-ext_latin_cyrillic */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/nunito-sans-v11-latin-ext_latin_cyrillic-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/nunito-sans-v11-latin-ext_latin_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/nunito-sans-v11-latin-ext_latin_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/nunito-sans-v11-latin-ext_latin_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/nunito-sans-v11-latin-ext_latin_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/nunito-sans-v11-latin-ext_latin_cyrillic-regular.svg#NunitoSans') format('svg'); /* Legacy iOS */
}

body {
  margin: 0;
  padding: 0;
  background-image: url("../images/bodypattern.gif");
  font-family: 'Nunito Sans', sans-serif;
  /* fix for footer below */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  image-rendering: -webkit-optimize-contrast;
}

p, h1, th, td, figcaption {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

ul {
  padding: 0;
}

ul li {
  display: inline-block;
  list-style-type: none;
  margin: 0 10px;
}

header {
  position: sticky;
  top: 0;
  z-index: 99;
}

.main-head {
  background-color: #344472;
  display: flex;
  justify-content: center;
}

.lang-selection, .phone, .reservation-link {
  width: 320px;
}

.main-head .lang-selection {
  margin: 10px 10px 0 0;
}

.main-head .lang-selection img {
  width: 26px;
}

.main-head a:hover {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.8));
}

.phone {
  position: relative;
}

.phone img {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 5px;
}

.phone a {
  display: block;
  margin: 0 auto;
  text-decoration: none;
  color: white;
  width: 34%;
}

.phone span {
  display: block;
  position: absolute;
  top: 10px;
  width: 150px;
  margin-left: 40px;
}

#mobile-hamburger-menu {
  display: none;
}

.reservation-link {
  text-align: right;
}

.reservation-link a {
  color: white;
  text-decoration: none;
  line-height: 40px;
  background-color: white;
  color: #344472;
  font-weight: bold;
  padding: 3px 8px;
  margin-right: 6px;
}

.reservation-link a:hover {
  color: black;
}

.main-nav {
  background-image: linear-gradient(180deg,#33b5e0 0,#0598d1 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-links {
  width: 800px;
  display: flex;
  justify-content: right;

}

.menu-links li {
  margin: 0;
  padding: 1vw 0 1vw 1.5vw;
  letter-spacing: 0.5px;
}

.main-nav .icon {
  width: 30px;
  margin: -7px auto 0;
}

.main-nav .apartments-links {
  width: 300px;
  text-align: center;
  margin: 5px 0;
}

.main-nav .apartments-links li {
  margin: 0.1em 0.3em;
  width: 136px;
}

.main-nav a {
  color: white;
  text-decoration: none;
}

.main-nav a:hover {
  filter: drop-shadow(0 0 2px rgba(0, 0, 140, 0.8));
}

.main-nav .logo {
  margin: 0;
  width: 160px;
}

.logo img {
  width: 160px;
  margin: 12px 0 5px;
}

.viber {
	position:fixed;
	top:50px;
	right:4%;
	filter: drop-shadow(2px 2px 3px rgba(33, 33, 33, 0.6));
  z-index: 100;
}

.viber:hover {
  filter: drop-shadow(2px 2px 3px rgba(33, 33, 33, 1));
}

.raija-summary {
  display: block;
  margin: 1vw auto;
}

.raija-summary img {
  margin: 0 3vw;
}

.raija-summary h1 {
  font-size: 1.2em;
  margin: 0.5em auto;
  text-align: center;
  color: #344472;
}

.raija-summary p {
  width: 960px;
  margin: 0 auto 1vw;
  text-indent: 3em;
  text-align: justify;
}

.container-horizontal-tiles {
  max-width: 1320px;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

.apartments-tiles-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.apartments-tile, .city-highlights figure, .raija-summary img {
  display: block;
  /* outline: 1px solid #cfcac9; */
  border-radius: 10px;
  box-shadow: 0px 0px 0px 1px #cfcac9 inset;
  width: 300px;
  margin: 15px;
  background-color: white;
}

.apartments-tiles-list li.apartments-tile:hover, .city-highlights figure:hover, .raija-summary img:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.apartments-tiles-list li a, .city-highlights a {
  text-decoration: none;
  color: #333;
}

.apartments-tiles-list li img, .city-highlights figure img{
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.apartments-tiles-list li h2 {
  width: 100%;
  line-height: 42px;
  font-size: 1.3em;
  margin: 0;
  text-align: center;
}

.apartment-parameters {
  padding: 0;
}

.apartment-parameters li {
  position: relative;
  display: block;
  margin: 10px;
}

.apartment-parameters table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border: none;
  margin-bottom: 20px;
}

.apartment-parameters table td, th {
  border: 1px solid lightblue;
  padding: 6px 0;
}

.apartment-parameters table th {
  border-top: none;
}

.apartment-parameters tr:last-child td {
  border-bottom: none;
}

.apartment-parameters tr td:first-child, th:first-child {
  border-left: none;
}

.apartment-parameters tr td:last-child, th:last-child {
  border-right: none;
}

.apartment-parameters .icon {
  max-width: 25px;
  height: 25px;
  margin: 0 8px 0 6px;
}

.apartment-parameters span {
  position: absolute;
  bottom: 0.6em;
  font-size: 0.9em;
  margin-left: 0.5em;
}

.mixture {
  top: 5px;
  width: 95%;
}

.mixture > * {
  width: 35px;
  display: inline-block;
}

.mixture span {
  position: relative;
  width: 40px;
  margin: 0 6px 0 12px;
}

.mixture img {
  position: absolute;
  bottom: 1px;
}

.mixture .single {
  bottom: -2px;
}

.mixture .bunk{
  bottom: -1px;
}

.mixture .sofa {
  bottom: -5px;
}

.mixture .recliner {
  bottom: -2px;
  margin: 0 8px 0 4px;
}

.city-highlights {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0.5vw auto 1vw;
  padding: 0;
  justify-content: center;
}

.city-highlights figure {
  width: 300px;
  padding: 0;
}

.city-highlights figure img {
  width: 100%;
}

.city-highlights figure figcaption {
  margin: 0;
  font-weight: bold;
  text-align: center;
  padding: 4px;
}

footer {
  background-color: #344472;
  padding: 2vw 19vw 0.5vw;
  margin-top: auto;
}

footer a {
  text-decoration: none;
  color: inherit;
  display: block;
}

footer p > a {
  display: inline;
}

footer a.logo {
  width: 160px;
  display: inline;
}

footer .title:hover {
  filter: drop-shadow(0 0 1px rgba(200, 200, 255, 1));
}

footer address {
  color: white;
  line-height: 28px;
  width: 200px;
  float: right;
}

address .icon {
  width: 25px;
  margin-right: 5px;
  vertical-align: middle;
}

footer .designedby {
  margin-top: 2vw;
  font-size: 0.6em;
  color: white;
  text-align: center;
}

footer .designedby a {
  color: white;
  font-weight: bold;
  letter-spacing: 0.1em;
}

footer a:hover {
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 1));
}

/* Common
CSS
for
all
pages */
.breadcrumb {
  margin: 1vw auto 0.5vw;
  text-align: center;
}

.breadcrumb a {
  color: black;
}

.breadcrumb a:hover {
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 1));
}

.breadcrumb h1 {
  font-weight: bold;
  font-size: 1.5em;
  display: inline-block;
  vertical-align: middle;
}

/* ----------------------------------------------
START of picture slideshow CSS

 */
.container-slideshow {
  margin: 20px auto 10px;
  width: 960px;
  height: 360px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.photo {
  position: absolute;
  width: 960px;
  animation: round 16s infinite;
  opacity: 0;
}

/* Slideshow animation fade effect */
@keyframes round {
  28% {
    opacity: 1;
  }
  37% {
    opacity: 0;
  }
}
-webkit-@keyframes round {
  28% {
    opacity: 1;
    -webkit-opacity: 1;
  }
  37% {
    opacity: 0;
    -webkit-opacity: 0;
  }
}

/* Slideshow transition delay */
picture:nth-child(1) {
  animation-delay: 12s;
}

picture:nth-child(2) {
  animation-delay: 8s;
}

picture:nth-child(3) {
  animation-delay: 4s;
}

picture:nth-child(4) {
  animation-delay: 0s;
}

/* END of slideshow CSS

-------------------------------------------*/

// For smooth scrolling
html {
  scroll-behavior: smooth;
}

#top {
  position: absolute;
  top: 0;
  left: 0;
}

#back2Top {
  overflow: hidden;
  z-index: 999;
  display: none;
  position: fixed;
  bottom: 3%;
  right: 3%;
  text-decoration: none;
  text-align: center;
  width: 4vw;
  height: 4vw;
  line-height: 4vw;
  font-size: 2vw;
  color: white;
  background-color: rgba(5, 152, 209, 0.6);
  border: 1px;
  border-radius: 100%;
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

#back2Top:hover {
    background-color: rgba(5, 152, 209, 0.6);
    color: #000;
}


/* Responsive layout
for
BIGGER tablets */
@media screen and (max-width: 1260px) {
  .main-nav {
    padding: 0 10vw;
  }

}

/* Responsive layout
for
tablets */
@media screen and (max-width: 1024px) {
  ul li {
    margin: 0 5px;
  }

  .lang-selection, .phone, .reservation-link {
    width: 31%;
  }

  .main-head .phone a {
    width: 68%;
  }

  .main-nav {
    padding: 1vw;
    justify-content: space-around;
  }

  .main-nav a {
    margin: 0;
  }

  .menu-links {
    width: 70%;
    text-align: center;
  }

  .main-nav .apartments-links {
    width: 354px;
  }

  .apartments-tiles-list {
    width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .viber {
    top: 50%;
    right: 1.5%;
  }

  .container-slideshow {
    margin: 3vw auto 0;
    width: 94vw;
    height: 34vw;
  }

  .photo {
    position: absolute;
    animation: round 16s infinite;
    opacity: 0;
  }

  .photo img {
    width: 94vw;
  }

  .apartments-tiles-list {
    width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .apartments-tiles-list li.apartments-tile {
    width: 46vw;
    margin: 1vw;
  }

  .apartments-tile span {
    font-size: 1em;
    bottom: 0.3em;
  }

  .city-highlights {
    width: 100%;
    margin-bottom: 3vw;
  }

  .raija-summary {
    margin: 2vw auto 3vw;
  }

  .raija-summary img {
    width: 24%;
    height: 16%;
    margin: 0 2vw;
  }

  .raija-summary p {
    width: 94vw;
    text-align: justify;
    margin: 0 auto;
  }

  footer {
    padding: 3vw 12vw 2vw;
  }

  footer .designedby {
    margin-top: 4vw;
  }

  #back2Top {
    width: 8vw;
    height: 8vw;
    line-height: 8vw;
    font-size: 4vw;
  }

}

/* Responsive layout
for
phones */
@media screen and (max-width: 480px) {
  ul {
    padding: 0;
  }

  .main-head {
    width: 100%;
    display: inline-block;
    flex-wrap: wrap;
  }

  .main-head .lang-selection {
    display: inline-block;
    width: 30%;
    padding-top: 2vw;
    margin: 0.5vw 0 0 3vw;
  }

  .main-head .lang-selection li {
  margin: 0 3px;
}

  .main-head .phone {
    width: 50%;
    float: right;
  }

  .main-head .phone a {
    width: auto;
  }

  .phone img {
    width: 25px;
    height: 25px;
    top: 7px;
  }

  .phone span {
    display: block;
    position: absolute;
    top: 8px;
    width: auto;
    margin-left: 36px;
  }

  .reservation-link {
    width: 100%;
    text-align: center;
    margin-top: 3px;
  }

  .main-nav {
    height: 20vw;
    justify-content: space-evenly;
  }

  .main-nav .logo {
    width: 39%;
  }

  .main-nav .logo img {
    width: 90%;
    margin-left: 1vw;
  }

  .menu-links li {
    margin: 0;
    padding: 3vw 2vw;
    letter-spacing: normal;
  }

  .apartments-links {
    display: none;
  }

  .viber {
    top: 60%;
    right: 2%;
  }

  .container-slideshow {
    margin: 1vw 0;
    width: 100vw;
    height: 40vw;
    outline: none;
    border-radius: 0;
  }

  .photo {
    position: absolute;
    max-width: 100vw;
    width: 100vw;
    animation: round 16s infinite;
    opacity: 0;
  }

  .photo img {
    width: 100vw;
  }

  .apartments-tiles-list {
    width: 100%;
    padding: 0;
    margin: 0 auto 2vw;
  }

  .apartments-tiles-list li.apartments-tile {
    width: 50vw;
    margin: 0;
    border-radius: 0;
    box-shadow: 0px 0px 0px 1px #cfcac9;
  }

  .apartments-tiles-list li img {
    border-radius: 0;
  }

  .apartments-tiles-list li h2 {
    font-size: 1em;
    line-height: 24px;
    margin: 0 0 1em;
  }

  .apartment-parameters li {
    margin: 5px 2px;
  }

  .apartment-parameters .mixture {
    text-align: center;
    width: 90%;
    margin: 5px 0;
  }

  .apartment-parameters span > .icon {
    margin: 0 8px 0 4px;
    height: 22px;
    width: 22px;
  }

  .apartment-parameters .icon {
    max-width: 25px;
    height: 25px;
    margin: 0 5px;
  }

  .apartment-parameters span {
    bottom: 0.5em;
    font-size: 0.9em;
    margin: 0 1px;
  }

  .mixture span {
    width: 42px;
  }

  .city-highlights figure {
    margin: 3vw auto;
  }

  .raija-summary {
    width: 100vw;
    margin-top: 0;
  }

  .raija-summary img {
    width: 50vw;
    margin: 0 0 3vw;
    border-radius: 0;
  }

  .raija-summary h1 {
    margin-bottom: 2vw;
  }

  footer {
    padding: 4vw;
  }

  footer a.logo {
  }

  footer .logo img {
    width: 120px;
    display: inline;
  }

  footer address {
    font-size: 0.8em;
  }

  footer .designedby {
    margin-top: 10vw;
  }

  #back2Top {
    width: 12vw;
    height: 12vw;
    line-height: 12vw;
    font-size: 6vw;
  }
}

/* Responsive layout
for
SMALL phones */
@media screen and (max-width: 320px) {

  .main-head .lang-selection {
    width: 30%;
  }

  .main-head .phone {
    width: 60%;
  }

  .city-highlights figure {
    width: 94vw;
  }

  footer a.logo {
    width: 90px;
  }

  footer .logo img {
    width: 90px;
  }

  footer address {
    width: 150px;
    font-size: 0.6em;
  }

  footer .designedby {
    font-size: 0.4em;
  }

}
