body,
html {
  margin: 0px;
  padding: 0px;
  color: black;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 200;
  scroll-behavior: smooth;
  background-color: rgb(224, 218, 218);
}

h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.4rem;
}

/* Style the navbar */

#navbar .nav-item:first-child {
  display: none;
}

#navbar {
  z-index: 1;
  position: sticky;
  top: 0;
  padding: 5px 0px 5px 0px;
  background-color: rgb(40, 60, 66);
  font-size: 1rem;
}

/* Navbar links */

#navbar a {
  display: block;
  color: rgb(240, 240, 240);
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
}

#navbar a:hover {
  color: white;
  border-radius: 10px;
  background-color: #4CAF50;
}

#navbar a.active {
  color: white;
  border-radius: 10px;
  background-color: rgba(76, 175, 80, 0.5);
}

#navbar .nav-item:nth-child(2),
#navbar .nav-item:nth-child(3),
#navbar .nav-item:nth-child(4) {
  height: 60px;
  padding-top: 10px;
  padding-right: 20px;
  border-bottom: white thin;
}

#navbar img {
  width: 100%;
  height: 100%;
}

#navbar img:active:focus {
  width: 100%;
  height: 100%;
}

#phones {
  width: 75px;
}

#navbarNavDropdown {
  border-top-style: groove;
  border-color: white;
  border-width: 1px;
}

.dropdown-menu, .navigation {
  background-color: #303C42;
  text-align: center;
  margin: 0;
  padding: 0;
}

.dropdown-menu {
  border-top-style: groove;
  border-left: 0px;
  border-right: 0px;
  border-bottom-style: groove;
  border-color: black;
}

.dropdown-item,
.navbar-nav .nav-item .nav-link {
  color: #999;
  overflow: hidden;
  border: none;
  border-radius: 10px;
  background-color: transparent;
  background-repeat: no-repeat;
  outline: none;
  font-size: 1.2rem;
  font-weight: 400;
  cursor: pointer;
}

.dropdown-item:hover,
.navbar-nav .nav-item .nav-link:hover {
  color: #fff;
  overflow: hidden;
  border: none;
  background-repeat: no-repeat;
  outline: none;
  cursor: pointer;
}

.dropdown-item:hover {
  text-decoration: underline;
  background: rgba(255,255,255,0.2);
}

#google_translate_element {
  display: none;
}

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

.content2 {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr;
  grid-template-areas:
  "na"
  "ca"
  "wt"
  "ap"
  "fa"
  "ma";
}

.navigation {
  grid-area: na;
  position: relative;
  border-top-style: groove;
  border-bottom-style: groove;
  border-color: white;
  border-width: 1px;
  background-color : rgb(40, 60, 66);
  position: sticky;
  top: 0;
}

.fa-home,
.fa-envelope,
.fa-info-circle,
.fa-building {
  display: none;
}

.welcomeText {
  background-color: rgb(250, 250, 250);
  text-align: justify;
  grid-area: wt;
  padding: 30px 30px 25px 30px;
  margin: 0 0.25em 0.3em 0.25em;
  border-bottom: solid thin;
  border-bottom-style:groove;
}

.welcomeText h2 {
  padding-bottom: 10px;
}

.welcomeText i  {
  font-size: 1.3rem
}

.welcomeText p {
  font-size: 1.2rem;
}

.welcomeText a {
  text-decoration: none;
  color: darkblue;
}

.carousel {
  background-color: rgb(250, 250, 250);
  grid-area: ca;
  margin: 0;
  padding: 0;
  width: 100%;
}

.carousel-caption {
  bottom: 0px;
  color: #f1f1f1;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  font-size: 0.9rem;
}

.carousel-item img {
  width: 100%;
}

.apartments {
  background-color: rgb(250, 250, 250);
  grid-area: ap;
  border-bottom: solid thin;
  border-bottom-style: groove;
  margin: 0 0.25em 0.3em 0.25em;
}

.apartments .house img {
  width: 80%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 30px;
}

.centered {
  font-size: 5rem;
  font-weight: 800;
  color: rgba(81, 140, 136, 0.7);
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#four1, #four2, #nine {
  padding-top: 80px;
}

.apartman {
  padding: 40px 35px 0px 35px;
  margin: 0;
}

.apartman ul {
  padding-top: 20px;
}

.apartman li {
  text-align: left;
  font-size: 1rem;
}

.apartman img, .ribbon {
  max-width: 250px;
}

.apartman h2 {
  padding-bottom: 10px;
  font-size: 1.2rem;
  font-family: 'Roboto', sans-serif;
}

.laptop {
  display: none;
}

.ribbon {
  width: 100%;
  height: 10%;
  filter: contrast(90%);
}

.facilities {
  grid-area: fa;
  margin: 0 0.25em 0.3em 0.25em;
  border-bottom: solid thin;
  border-bottom-style:groove;
}

.distances {
  grid-area: lo;
  display: none;
}

.distances,
.facilities {
  padding: 20px 15px 0px 15px;
  overflow: auto;
  font-size: 1rem;
}

#kids img {
  /*max-width: 170px;*/
  width: 70%;
  height: auto;
  max-width: 450px;
}

#family img {
  width: 65%;
  padding-top: 10px;
}

#wifi img, #parking img {
  width: 70%;
  height: auto;
  padding-top: 10px;
}

table {
  table-layout: fixed;
  vertical-align: middle;
  overflow: auto;
}

table th {
  border-bottom: 1px solid #ddd;
  background-color: #cfd2db;
  box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.20);
}

/*.responsiveLoc {
  background-color: rgba(118, 165, 209, 0);
  grid-area: rl;
  width: 98.5%;
  height: 520px;
  margin: 0 0.25em 0 0.25em;
}

.responsiveLoc iframe {
  width: 100%;
  height: 100%;
  border: 0;
}*/

.map {
  grid-area        : ma;
  background-color: rgba(118, 165, 209, 0);
  margin: 0 0.25em 0 0.25em;
  display: none;
}

.map img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.apartman,
.facilities,
.distances {
  background-color: rgb(250, 250, 250);
  text-align: center;
}

.facilities td, .distances td {
  vertical-align: middle;
}

.img-thumbnail img {
  box-shadow: 0 5px 5px 0px rgba(0,0,0,0.20);
}

.img-thumbnail:hover {
  margin: 0;
  opacity: 0.8;
  box-shadow: 0 0 2px 1px rgba(186, 0, 0, 1);
  transform: scale(0.9);
  cursor: pointer;
}

.apartman .btn-light {
  color: white;
  border: none;
  background-color: rgba(76, 116, 116, 0.9);
  outline: 0;
  font-weight: 500;
}

.apartman .btn-light:hover {
  border: none;
  background-color: rgba(25, 111, 111, 0.9);
  outline: 0;
  font-weight: 500;
}

.apartman .btn-light:active:focus {
  color: white;
  background-color: rgba(12, 92, 92, 0.9);
  font-weight: 500;
}

@media (max-width: 1199px) and (min-width: 768px) {

body,
html {
  font-size: 1rem;
  padding: 0;
  margin: 0;
}

#navbar {
  display: none;
}

.navigation {
  border-top: solid;
  border-bottom: solid;
  border-color: #283C42;
  background-image: linear-gradient(to bottom right, #283C42, rgb(66, 40, 64));
  border-width: 2.5px;
  top: 0;
}

#navbarNavDropdown {
  border-top: solid;
  border-bottom: solid;
  border-color: white;
  border-width: 1px;
  padding-left: 6%;
}

.navbar-nav {
  padding: 0 0 5px 0;
}

.navbar-nav .nav-item img {
  display: none;
}

.nav-item:first-child {
  padding-right: 10px;
}

.dropdown-menu .dropdown-item {
  font-size: 1rem;
}

.dropdown:hover .dropdown-menu {
  display: block;
  background-color: #303C42;
}

.navbar-nav .nav-item .nav-link {
  font-size: 1rem;
}

.fa-home, .fa-building, .fa-envelope, .fa-info-circle {
  display: inline-block;
}

.fa-home {
  color: #4285F4;
  padding: 10px 10px 0 0;
}

.fa-building, .fa-envelope, .fa-info-circle {
  color: rgb(181, 186, 186);
  padding: 10px 10px 0 0;
}

.fa-building:hover {
  color: #EA4335;
}

.fa-envelope:hover {
  color: #FBBC05;
  text-shadow: 1px 1px 1px #ccc;
}

.fa-info-circle:hover {
  color: #34A853;
}

.content2 {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
  "ca ca ca ca ca ca"
  "wt wt wt wt wt wt"
  "ap ap ap ap ap ap"
  "fa fa fa ma ma ma"
}

.welcomeText {
  margin: 0;
  grid-area: wt;
  border-bottom: solid thin;
  border-bottom-style: groove;
}

.welcomeText i  {
  font-size: 1.4rem;
}

.welcomeText p {
  font-size: 1.3rem;
}

.welcomeText a {
  text-decoration: none;
  color: darkblue;
}

.carousel-replacement {
  padding: 30px 20px 0px 10px;
  display: none;
}

.carousel-replacement img {
  width: 100%;
  max-width: 100%;
  height: auto;
  box-shadow: 0 5px 5px -5px rgba(0,0,0,0.20);
}

.carousel {
  grid-area: ca;
  box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.30);
  border-bottom: solid thin;
  border-bottom-style: groove;
  height: 100%;
}

.carousel,.item,.active {
  height:100%;
}

.carousel-inner {
  padding: 0 50px 0 50px;
  height: 90%;
}

.caraousel-item {
  max-width: 768px;
}

.carousel-caption {
  bottom: 0px;
  color: #f1f1f1;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  font-size: 0.9rem;
}

.apartments {
  grid-area: ap;
  padding: 0;
  margin: 0;
}

.apartman h2 {
  font-weight: bold;
}

#ap2 {
  padding-top: 30px;
}

#ap3 .laptop {
  padding: 0 150px 0 150px;
}

.group1 {
  display: flex;
  width: 50%;
}

.apartman img, .ribbon {
  max-width: 250px;
}

.mob {
  display: none;
}

.laptop {
  display: block;
}

.ribbon {
  width: 100%;
  height: 10%;
  filter: contrast(90%);
}

.distances {
  grid-area: lo;
  display: none;
  margin: 0;
  padding: 0;
}

.facilities {
  display: block;
  grid-area: fa;
  margin: 0;
  padding: 0;
}

figure img {
  margin-left: auto;
  margin-right: auto;
}

#kids img {
  max-width: 500px;
}

#family img {
  width: 60%;
}

#parking {
  padding-top: 20px;
}

table {
  vertical-align: middle;
}

table th {
  border-bottom: 1px solid #ddd;
  background-color: #cfd2db;
  text-align: center;
  box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.20);
}

/*.responsiveLoc {
  grid-area: rl;
  background-color: rgba(118, 165, 209, 0);
  width: 100%;
  height: auto;
  display: block;
}

.responsiveLoc iframe {
  width: 100%;
  height: 100%;
  border: 0;
}*/

.map {
  grid-area        : ma;
  width: 100%;
  height: auto;
  margin: 25px 0 25px 0;
  padding: 0;
  box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.30);
  border-bottom: solid thin;
  border-bottom-style: groove;
}

.map img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.apartman,
.facilities,
.distances {
  background-color: rgb(250, 250, 250);
  text-align: center;
}

.img-thumbnail img {
  box-shadow: 0 5px 5px 0px rgba(0,0,0,0.20);
}

.img-thumbnail:hover {
  margin: 0;
  opacity: 0.8;
  box-shadow: 0 0 2px 1px rgba(186, 0, 0, 1);
  transform: scale(0.9);
  cursor: pointer;
}

.apartman .btn-light {
  color: white;
  border: none;
  background-color: rgba(76, 116, 116, 0.9);
  outline: 0;
  font-weight: 500;
}

.apartman .btn-light:hover {
  border: none;
  background-color: rgba(25, 111, 111, 0.9);
  outline: 0;
  font-weight: 500;
}

.apartman .btn-light:active:focus {
  color: white;
  background-color: rgba(12, 92, 92, 0.9);
  font-weight: 500;
}

}

@media (max-width: 4000px) and (min-width : 1200px) {

body,
html {
  font-size: 1rem;
  max-width: 4000px;
  margin: auto;
  background-image: linear-gradient(rgba(118, 165, 209, 0.6), rgba(111, 63, 143, 0.2), rgba(118, 165, 209, 0.6));
}

header,
footer {
  max-width: 1600px;
  margin: auto;
}

.flex-container {
  max-width: 1600px;
  margin: auto;
}

#navbar {
  display: none;
}

#google_translate_element {
  float: right;
  position: absolute;
  z-index: 1;
  top: 190px;
  right: 88px;
  border-top: solid;
  border-bottom: solid;
  border-color: black;
  border-width: 1px;
}

.content2 {
  display: grid;
  padding: 0 5% 0 5%;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
  "wt wt wt wt wt wt ca ca ca ca ca ca"
  "ap ap ap ap ap ap ap ma ma ma ma ma"
  "fa fa fa fa fa fa lo lo lo lo lo lo"
}

.navigation {
  border-top: solid;
  border-bottom: solid;
  border-color: #283C42;
  background-image: linear-gradient(to bottom right, #283C42, rgb(66, 40, 64));
  border-width: 2.5px;
  top: 0;
}

#navbarNavDropdown {
  border-top: solid;
  border-bottom: solid;
  border-color: white;
  border-width: 1px;
  padding-left: 6%;
}

.navbar-nav {
  padding: 0 0 5px 0;
}

.navbar-nav .nav-item img {
  display: none;
}

.nav-item:first-child {
  padding-right: 10px;
}

.dropdown-menu .dropdown-item {
  font-size: 1rem;
}

.dropdown:hover .dropdown-menu {
  display: block;
  background-color: #303C42;
}

.navbar-nav .nav-item .nav-link {
  font-size: 1rem;
}

.fa-home, .fa-building, .fa-envelope, .fa-info-circle {
  display: inline-block;
}

.fa-home {
  color: #4285F4;
  padding: 10px 10px 0 0;
}

.fa-building, .fa-envelope, .fa-info-circle {
  color: rgb(181, 186, 186);
  padding: 10px 10px 0 0;
}

.fa-building:hover {
  color: #EA4335;
}

.fa-envelope:hover {
  color: #FBBC05;
  text-shadow: 1px 1px 1px #ccc;
}

.fa-info-circle:hover {
  color: #34A853;
}

.red {
  animation: color-change 5s infinite;
  -webkit-animation: color-change 5s infinite;
  -moz-animation: color-change 5s infinite;
  -o-animation: color-change 5s infinite;
  -ms-transition: color-change 5s infinite;
}

@keyframes color-change {
  0% { color: black; }
  50% { color: red; }
  100% { color: black; }
}

.welcomeText {
  margin: 0;
  padding: 30px 40px 0px 40px;
  grid-area: wt;
  border-bottom: solid thin;
  border-bottom-style: groove;
  box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.30);
}

.welcomeText i  {
  font-size: 1.4rem;
}

.welcomeText p {
  font-size: 1.3rem;
}

.welcomeText a {
  text-decoration: none;
  color: darkblue;
}

.carousel-replacement {
  padding: 30px 20px 0px 10px;
  grid-area: cr;
  display: none;
}

.carousel-replacement img {
  width: 100%;
  max-width: 100%;
  height: auto;
  box-shadow: 0 5px 5px -5px rgba(0,0,0,0.20);
}

.carousel {
  padding: 20px 20px 20px 10px;
  grid-area: ca;
  box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.30);
  border-bottom: solid thin;
  border-bottom-style: groove;
  height: 100%;
}

.carousel,.item,.active {
  height:100%;
 }
.carousel-inner {
  height:100%;
}

.caraousel-item {
  max-width: 768px;
}

.carousel-caption {
  bottom: 0px;
  color: #f1f1f1;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  font-size: 0.9rem;
}

.apartments {
  display: flex;
  margin: 25px 30px 25px 0px;
  padding: 0px 0px 0px 0px;
  grid-area: ap;
  height: 430px;
  box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.30);
}

.apartments .house img {
  display: none;
}

.group1 {
  display: flex;
}

.centered {
  font-size: 5rem;
  font-weight: 800;
  color: rgba(81, 140, 136, 0.7);
  position: absolute;
  top: 34%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.apartman:first-child h2
.apartman:last-child h2 {
  padding-bottom: 24px;
}

.apartman:nth-child(2) {
  padding-top: 30px;
}

.mob {
  display: none;
}

.laptop {
  display: inline-block;
}

.laptop li {
  text-align: justify;
  line-height: 25px;
  padding-right: 15px;
}

.apartman {
  padding: 30px 0px 0px 0px;
  overflow: hidden;
}

.apartman img {
  max-width: 190px;
}

#four1, #four2, #nine {
  padding-top: 0px;
}

.ribbon {
  width: 100%;
  height: 10%;
  filter: contrast(90%);
}

.map {
  display: block;
  grid-area: ma;
  width: 100%;
  height: auto;
  margin: 25px 0 25px 0;
  padding: 0;
  box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.30);
  border-bottom: solid thin;
  border-bottom-style: groove;
}

.map img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/*.responsiveLoc {
  grid-area: rl;
  width: 100%;
  height: auto;
  margin: 25px 0 25px 0;
  padding: 0;
  box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.30);
  border-bottom: solid thin;
  border-bottom-style: groove;
}*/

.distances {
  grid-area: lo;
  display: block;
}

.facilities {
  grid-area: fa;
  border-bottom: none;
}

#parking img, #wifi img {
  max-width: 35%;
}

#kids img {
  width: 75%;
}

.facilities,
.distances {
  margin: 0;
  padding: 10px 20px 0px 10px;
  background-color: rgb(250, 250, 250);
}

table th {
  box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.30);
  overflow: auto;
  vertical-align: middle;
}

.facilities td {
  vertical-align: middle;
}

.distances td {
  text-align: center;
  vertical-align: middle;
  height: 6em;
}

}
