html {
	font-size: 62.5%;
}

* {
  margin: 0;
  padding: 0;
}

/* Navigation bar settings */
nav {
  background-color: #D5D8DC;
  min-height: 45px;
  width: 100%;
}

nav ul {
  margin-left: 2%;
}

nav ul li {
  float: left;
  line-height: 45px;
  list-style: none;
  position: relative;
}

nav ul li a {
  color: black;
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  padding: 0 20px;
  text-decoration: none;
}

nav ul li ul {
  display: none;
  background-color: #D5D8DC;
  border-radius: 0px 0px 8px 8px;
  position: absolute;
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li {
  border-radius: 8px;
  min-width: 200px;
}

nav ul li ul li a {
  font-size: 1.2rem;
  padding: 0px 14px;
}

nav ul li ul li a:hover {
  background-color: #f3f3f3;
}

nav ul li a:hover {
  color: blue;
}

.navlogo {
  float: right;
  padding: 4px 40px 0px 0px;
}
/* End navigation bar settings */

/* Main logo on Home page */
.logo {
	display: block;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* Properties pages */
hr {
  background-color: blue;
  border-width: 0;
  color: blue;
  height: 2px;
  text-align: center;
  width: 100%;
}

/* Primary text settings (except size)*/
.text_cb {
  color: rgb(0, 0, 0);
	font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding-left: 10%;
  padding-right: 10%;
  text-align: center;
}

.text_lb {
  color: rgb(0, 0, 0);
	font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding-left: 10%;
  padding-right: 10%;
  text-align: left;
}

.text_cn {
  color: rgb(0, 0, 0);
	font-family: 'Poppins', sans-serif;
  font-weight: 400;
  padding-left: 10%;
  padding-right: 10%;
  text-align: center;
}

.text_jn {
  color: rgb(0, 0, 0);
	font-family: 'Poppins', sans-serif;
  font-weight: 400;
  padding-left: 10%;
  padding-right: 10%;
  text-align: justify;
}

.text_ln {
  color: rgb(0, 0, 0);
	font-family: 'Poppins', sans-serif;
  font-weight: 400;
  padding-left: 10%;
  padding-right: 10%;
  text-align: left;
  text-decoration: none;
}

/* Text size (Home page) */
.t5r {
  font-size: 5vw;
}

.t4r {
  font-size: 4vw;
}

/* Text size (all other pages) */
.t48 {
  font-size: 4.8rem;
}

.t36 {
  font-size: 3.6rem;
}

.t28 {
  font-size: 2.8rem;
}

.t24 {
  font-size: 2.4rem;
}

.t20 {
  font-size: 2rem;
}

.t18 {
  font-size: 1.8rem;
}

.t16 {
  font-size: 1.6rem;
}

.t14 {
  font-size: 1.4rem;
}

.t12 {
  font-size: 1.2rem;
}

figure {
  display: inline;
}

figcaption {
	font-family: 'Poppins', sans-serif;
	font-size: 1.6rem;
  font-weight: 300;
  padding-left: 10px;
}

.gallery {
	margin-left: 20%;
}
 
.gallery img {
	height: auto;
  padding: 5px;
	transition: 1s;
  width: 300px;
}
     
.gallery img:hover {
	filter: drop-shadow(4px 4px 6px gray);
	transform: scale(2.5);
}

/* Main body */
body {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  margin-left: 0px;
  margin-right: 0px;
}

body ul li a {
  color: black;
	text-decoration: none;
}

body ul li a:hover {
  color: blue;
	font-weight: 500;
}

/* Home-page background */

/* About-page background */

/* Contact-page background */

/* Properties-page background */

/* Error404-page background */

/* ToS/Privacy-page background */

/* List settings */
.ul1 {
  color: rgb(0, 0, 0);
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  padding-left: 14%;
  padding-right: 10%;
  text-align: justify;
}

.ul2 {
  color: rgb(0, 0, 0);
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  padding-left: 6%;
}

.ul3 {
  color: rgb(0, 0, 0);
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  padding-left: 6%;
}

.ul4 {
  color: rgb(0, 0, 0);
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  padding-left: 140px;
  padding-right: 100px;
}

/* Helps set footer at the bottom */
.page-container {
  min-height: 100vh;
	position: relative;
}

/* Helps set footer at the bottom */
.content-wrap {
  padding-bottom: 1.2rem;    /* Footer height */
}

/* Footer settings */
footer {
  background-color: #D5D8DC;
  bottom: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  position: absolute;
  width: 100%;
}

footer a {
  color: black;
  text-decoration: none;
}

footer a:hover {   
  background-color: #f3f3f3;
  color: blue;
}

/* Form settings */
input[type=text], [type=email], [type=tel], textarea{
  border: 1px solid #ccc;
	border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  padding: 4px;
  resize: vertical;
	width: 100%;
}

.button {
  border: 2px solid blue;
  border-radius: 20px;
  font-size: 1.6rem;
  padding: 5px 10px;
  text-align: center;
}

.button:hover {
  background-color: white;
  color: blue;
}
/* End of form settings */

/* Responsive settings (changes to 'column' in @media section) */
.footer-flex-container {
	display: flex;
	flex-direction: row;
  margin-left: 2%;
  width: min(500px, 80%);
}

.footer-flex-item-left {
  align-items: left;
  padding: 5px;
  width: 50%;
}

.footer-flex-item-right {
  align-items: left;
  padding: 5px;
  width: 50%;
}

.flex-container {
	display: flex;
	flex-direction: row;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-left: 10%;
  width: min(800px, 80%);
}

.flex-item-left {
  align-items: left;
  padding: 10px;
  width: 30%;
}

.flex-item-right {
  align-items: left;
  padding: 10px;
  width: 70%;
}

.contact-flex-container {
	display: flex;
  flex-direction: row;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-left: 10%;
  width: min(600px, 80%);
}

.contact-flex-item-left {
  align-items: left;
  padding: 10px;
  width: 20%;
}

.contact-flex-item-left-nodisplay {
  align-items: left;
  padding: 10px;
  width: 20%;
}

.contact-flex-item-right {
  align-items: left;
  padding: 10px;
  width: 80%;
}

.about-flex-container {
  display: flex;
  flex-direction: row;
  margin: 5% 10%;
}

.about-flex-item-left {
  flex: 10%;
  padding: 10px;
  max-width: 100px;
}

.about-flex-item-right {
  flex: 10%;
  padding: 10px;
}
/* End of responsive settings */


/* Responsive settings (changes from row to column flex, navlogo disappears, scales down sizes by 75%) */
@media (max-width: 600px) {
  .g-recaptcha {
	  transform:scale(0.77);
	  transform-origin:0 0;
  }
  
  .navlogo {
    display: none;
  }
  
  .flex-container {
    flex-direction: column;
    font-size: 1.2rem;
  }
  
  .contact-flex-container {
    flex-direction: column;
    font-size: 1.2rem;
  }
  
  .contact-flex-item-left-nodisplay {
  	display: none;
  }
  
  .about-flex-container {
    flex-direction: column;
    font-size: 1.2rem;
  }
  
  .content-wrap {
    padding-bottom: 2.5rem;    /* Footer height */
  }

  nav ul li a {
    font-size: 1.4rem;
    font-weight: 300;
    padding: 0 15px;
  }
  
  .text_jn, .text_jb, .ul1 {
    text-align: left;
  }
  
  .t36 {
  	font-size: 2.8rem
  }
  
  .t28 {
  	font-size: 2rem
  }
  
  .t20, .ul1 {
  	font-size: 1.6rem
  }
  
  .t18, .ul2 {
  	font-size: 1.4rem
  }
  
  .t16, .ul3 {
  	font-size: 1.2rem
  }
  
  .t14, .ul4 {
  	font-size: 1.1rem
  }
  
  .t12 {
  	font-size: 1rem
  }
}
