:root {
  --main-color: rgb(199, 179, 28);
  --slideshow-height: calc(650px);
}
* {
  padding: 0;
  margin: 0;
  font-family: "Roboto", "Liberation Sans", Arimo, Helvetica, Arial, sans-serif;
}
html,
body {
  min-height: 100%;
}
body {
  background: #f7f7f7;
}
.clearfix {
  float: none;
  clear: both;
}
.clearfix2::after {
  content: " ";
  display: inline-block;
  height: 0;
  clear: both;
}
a {
  outline: none;
}
#header {
  background: #fff;
  padding-top: 15px;
  padding-bottom: 20px;
}
#top-row {
  background: #f1f1f1;
  height: 3px;
  border-bottom: solid 1px #e0e0e0;
}
.wrapper {
  width: min(95%, 70rem);
  margin-inline: auto;
  border: none;
}
#top-row .wrapper {
  margin-top: 0;
  position: relative;
}
#logo {
  float: left;
  transition: 0.5s;
}
.menu {
  float: right;
  margin-top: 10px;
}
.menu li {
  float: left;
}
.menu ul {
  list-style: none;
}
.menu li a {
  display: block;
  color: #000;
  padding: 5px;
  margin: 10px 5px 5px;
  text-decoration: none;
  font-weight: normal;
  font-size: 1.05em;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
.menu li.contacts {
  margin-top: 10px;
  margin-right: 30px;
}
.menu li.contacts a {
  padding: 0px;
  margin: 0;
  text-decoration: none;
  font-weight: normal;
  font-size: 1.05em;
  text-shadow: none;
}
#toggle-menu {
  display: none;
}
#home .menu li.home a,
#location .menu li.location a,
#apartments .menu li.apartments a,
#about .menu li.about a,
#contact .menu li.contact a {
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  border-bottom: solid 1px var(--main-color);
}
.menu li a:hover {
  border-bottom-color: #ddd;
}
.menu li div.sub {
  display: none;
}
.menu li:hover div.sub {
  display: block;
}
.menu div.sub {
  z-index: 300;
  margin-top: -8px;
  position: absolute;
  background: #fff;
  border-top: solid 2px #4db848;
  padding-bottom: 4px;
  width: 170px;
  -webkit-box-shadow: 3px 3px 3px 2px rgba(50, 50, 50, 0.7);
  -moz-box-shadow: 3px 3px 3px 2px rgba(50, 50, 50, 0.7);
  box-shadow: 3px 3px 3px 2px rgba(50, 50, 50, 0.7);
}
.menu div.sub li {
  float: left;
}
.menu div.sub a {
  font-size: 0.7em;
  border-bottom-color: transparent !important;
  text-shadow: none;
  font-weight: normal;
  padding-bottom: 0px;
  margin-top: 2px;
  margin-bottom: 2px;
}
.menu div.sub a:hover {
  border-bottom: solid 2px #ddd !important;
}
.hamburger {
  position: relative;
  transform: scale(0);
  opacity: 0;
  transition: 0.2s;
}
.menu nav {
  display: block;
}
@media (max-width: 768px) {
  .content-in {
    flex-direction: column;
  }
  img {
    max-width: 100%;
    display: block;
  }

  .hamburger {
    right: 20px;
    top: 10px;
    transform: scale(1);
    opacity: 1;
    display: block;
    height: 40px;
    cursor: pointer;
  }
  .menu nav {
    display: none;
  }

  .hamburger span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background-color: #000;
    border-radius: 6px;
    z-index: 1;
    transform-origin: 0 0;
    transition: 0.2s;
  }
  .hamburger:hover span:nth-child(2) {
    transform: translateX(3px);
    background-color: var(--main-color);
  }
  .hamburger.is-active span:nth-child(1) {
    transform: translate(0, -2px) rotate(45deg);
  }
  .hamburger.is-active span:nth-child(2) {
    transform: translateX(15px);
    opacity: 0;
  }
  .hamburger.is-active span:nth-child(3) {
    transform: translate(-3px, 3px) rotate(-45deg);
  }
  .hamburger.is-active:hover span {
    background-color: var(--main-color);
  }
  .menu {
    position: relative;
    z-index: 100;
  }
  .menu nav.is-active {
    transition: 0.5s;
    display: block;
    position: absolute;
    right: 20px;
    top: 50px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 1);
  }
  .menu nav.is-active li {
    display: block;
    float: none;
  }
  .menu nav.is-active li a {
    display: block;
    background-color: #fff;
    margin: 0;
    width: 100%;
    padding: 5px 15px;
  }
  #home .menu li.home a,
  #location .menu li.location a,
  #apartments .menu li.apartments a,
  #about .menu li.about a,
  #contact .menu li.contact a {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    border-bottom: none;
    background-color: var(--main-color);
  }
  .slideshow .img {
    background-size: 30%;
  }
}
#content {
  z-index: 100;
  position: relative;
  padding-top: 20px;
}

#home #content {
  margin-top: -45px;
}
#home #content h1 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

#content div.header {
  font-size: 3em;
  text-shadow: 2px 2px 3px #000;
  padding-left: 10px;
  margin-bottom: 5px;
  margin-top: 20px;
  color: #fff;
  font-weight: bold;
}
#home #content div.header {
  margin-top: 0;
}
.content-in {
  padding: 35px 25px 50px;
  background: #fff;
  border-top: solid 3px var(--main-color);
  display: flex;
  flex-direction: row;
  flex-basis: auto;
  justify-content: sace-between;
  gap: 2rem;
}
.content-in > * {
  order: 2;
}
#footer {
  background: #4b463f;
  border-bottom: solid 1px #3b362e;
  position: relative;
  bottom: 0;
  width: 100%;
}
#foot {
  color: #8f8c83;
  font: normal 0.85em/1.3em Verdana, Arial, Sans-serif;
  height: auto;
  margin-bottom: 10px;
  padding-top: 30px;
  padding-bottom: 20px;
}
#foot a {
  color: #fff;
}
#foot .logo {
  width: 226px;
  height: 56px;
  margin-bottom: 15px;
}
#foot .menu,
#foot .contactbox {
  width: 215px;
  float: left;
  margin-left: 30px;
  font-size: 0.8em;
}
#foot .menu ul {
  list-style: none;
}
#foot .menu li,
#foot .contactbox address {
  padding-bottom: 7px;
  padding-left: 5px;
  font-style: normal;
  font-size: 1.2em;
  line-height: 1.45em;
}
#foot .contactbox address strong {
  color: #fff;
  font-weight: normal;
}
#foot .menu li a {
  color: #8f8c83;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}
#foot .menu li a:hover {
  color: #fff;
}
.side h3 {
  margin-top: 25px;
  margin-bottom: 10px;
}
#foot h3.styled {
  background-image: url(../images/line.png);
  background-repeat: repeat-x;
  background-position: center;
  display: block;
  text-align: center;
  font-size: 1.1em;
}
#foot h3.styled span {
  padding: 0 10px;
  background: #4b463f;
  color: #fff;
}
#foot .side {
  float: right;
}
#bottom-row {
  position: relative;
  bottom: 0;
  background: #7a7a7a; //#413c35;

  padding: 5px;
  font: normal 0.7em/20px Verdana, Arial, Sans-serif;
  color: #fff;
}
#bottom-row .wrapper {
  padding: 5px 0;
}
#bottom-row .side1 {
  float: left;
}
#bottom-row .side2 {
  float: right;
}
#content {
  padding: 40px 0 0;
}
#slideshow,
#slideshow > div,
#imgbackground {
  height: var(--slideshow-height);
}
#slideshow > div.d1 {
  position: absolute;
  width: 100%;
}
#slideshow div.img,
#imgbackground div.img {
  height: 100%;
  position: relative;
  margin: 0 auto;
}
#imgbackground div.img,
#slideshow div.img {
  -webkit-box-shadow: 0px 5px 6px 0px rgba(99, 99, 99, 0.5);
  -moz-box-shadow: 0px 5px 6px 0px rgba(99, 99, 99, 0.5);
  box-shadow: 0px 5px 6px 0px rgba(99, 99, 99, 0.5);
  background-size: contain;
}
#slideshow {
  z-index: -1;
  position: relative;
}
#slideshow div.wrapper,
#slideshow div.wrapper p,
#imgbackground div.wrapper p {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.7);
  padding: 25px;
  width: 250px;
  bottom: 0;
  right: 25px;
  font-weight: bold;
  text-shadow: 2px 2px 1px #fff;
  -webkit-border-radius: 5px;
  border-radius: 2px 2px 0 0;
}
#slideshow .img {
  margin-top: -400px;
}
#slideshow .img.active {
  display: block;
}
form {
  width: 650px;
  margin-left: 20px;
}
form ul {
  list-style: none;
}
form li {
  margin-top: 15px;
  font-size: 12pt;
}
form li input[type="text"],
form li select {
  font-size: 12pt;
  width: 250px;
  padding: 3px;
}
form li select {
  width: 258px;
}
form li label {
  display: block;
  width: 160px;
  text-align: left;
  margin-right: 5px;
  float: left;
  font-size: 11pt;
}

form li textarea {
  width: 350px;
  padding: 3px;
  height: 150px;
  font-size: 12pt;
}
.btns {
  padding: 10px 0 20px;
  margin-left: 165px;
}
#submitbtn,
#resetbtn {
  background: url(../images/btn_submit.png) no-repeat 0 0;
  border: none;
  width: 145px;
  height: 50px;
  text-indent: -3000px;
  cursor: pointer;
}
#resetbtn {
  background: url(../images/btn_clear.png) no-repeat 0 0;
}

.fb {
  position: absolute;
  right: 0;
  top: 1px;
}
.fb img {
  border: none;
  background: #fff;
  padding: 0;
}
/*
#lang-selector li span {
	background-image: url(../images/flag-icons-border.png);
	background-position: -20px -90px;
	background-repeat: no-repeat;
}
#lang-selector li span.bg {	background-position: -120px -15px; }
#lang-selector li span.de {	background-position: -80px -45px; }
#lang-selector li span.ru {	background-position: -400px -255px; }
#lang-selector li span.fr {	background-position: -100px -90px; }
#lang-selector li span.jp {	background-position: -300px -135px; }
#lang-selector li span.sr {	background-position: -160px -270px; }
#lang-selector li span.gr {	background-position: -340px -90px; }
#lang-selector li span.cn {	background-position: -260px -30px; }
*/
#lang-selector li {
  display: none;
}
#lang-selector.open li {
  display: block;
}
#lang-selector.open li.active a {
  font-weight: bold;
  color: #000;
}
#lang-selector li.active {
  display: block;
}
#lang-selector li a {
  text-decoration: none;
  display: block;
  color: #000;
  outline: none;
  padding-bottom: 5px;
}
.item h1 {
  color: #4cb848;
  margin-bottom: 20px;
}
input.button {
  padding: 5px 15px;
  background: #4cb848;
  border: solid 1px #3a8f38;
  cursor: pointer;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  font-size: 1em;
  color: #fff;
  font-weight: bold;
  width: 180px;
}
input.button.disabled {
  background: #ccc !important;
  border-color: #999;
}

.corner-ribbon {
  width: 120px;
  background: #e43;
  position: absolute;
  top: 12px;
  text-align: center;
  line-height: 25px;
  letter-spacing: 1px;
  color: #f0f0f0;
  right: -40px;
  left: auto;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  font-size: 13px;
  font-weight: bold;
}

.message {
  padding: 20px;
  background: #c6ffcf;
  border: solid 1px #00b51c;
  margin-bottom: 15px;
}
.errormsg {
  padding: 10px 15px;
  background: #ffcac6;
  border: solid 1px #b50000;
  margin-bottom: 15px;
}
.error {
  color: #d00;
  font-size: 0.8em;
}

table.styled {
  width: 100%;
  border-collapse: collapse;
}
table.styled th,
table.styled td {
  padding: 7px 3px;
  text-align: center;
}
table.styled thead th {
  background: #bdbab2;
}
table.styled tbody tr.odd td {
  background: #e4e1da;
}
.property-data {
  display: flex;
  flex: 2;
}
.property-data ul {
  list-style: none;
}
body {
  position: relative;
}
.ssholder {
  position: relative;
}
.textover {
  position: absolute;
  z-index: 10;
  display: block;
  width: calc(100%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  bottom: 0;
  font-size: 1.5rem;
  text-align: center;
}
.textover div {
  padding: 15px;
}
.color {
  color: var(--main-color);
  font-weight: bold;
}
.content-in1 {
  padding: 20px 20px 60px;
  text-align: center;
}
.content-in1 form {
  width: 100%;
  text-align: center;
}
.content-in1 input {
  padding: 2px;
}
input.btn {
  background-color: #413c35;
  color: #fff;
  padding-inline: 5px;
  border: solid 2px #413c35;
}
#bottom-row a {
  color: #fff;
}
#logo {
  float: left;
}
address {
  text-align: left;
  right: 0;
  margin-top: 3px;
  float: right;
  font-size: 0.8rem;
  position: realtive;
  font-style: normal;
  color: #8f8c83;
}
address a {
  color: #6d6b65;
  text-decoration: none;
}
address span {
  display: block;
  height: 3px;
}
.frm {
  position: relative;
}
.frm input {
  margin: 0;
  padding: 15px;
  font-size: 1.1rem;
}
.frm input[type="text"] {
  width: 40%;
}
@media (max-width: 470px) {
  #logo {
    transform-origin: 0 0;
    margin-right: 0;
    width: 180px;
  }
  #header {
    padding-top: 10px;
    padding-bottom: 0;
  }
  .menu {
    margin-top: 0;
  }
  .hamburger {
    transform: scale(0.7);
  }
  address {
    font-size: 80%;
    display: block;
    margin-bottom: 10px;
  }
}
@media (max-width: 400px) {
  #logo {
    width: 130px;
  }
}
