/* General Demo Style */
@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville|Roboto');

html{scroll-padding-top: 100px;}

body,h1,h2,h3,h4,h5,h6 {font-family: "Montserrat", sans-serif;}

body {background: #fff; font-size: 16px; margin:0 auto; color:#111;}

a{text-decoration:none;}

a[href^=tel] {
    color: inherit;
    text-decoration: none;
}

hr {height:2px; border:0; border-top:1px solid #40347e; margin:10px 0; padding:0; }



	.topnav {
  overflow: hidden;
  background: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9;
  box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.19);
}

.topnav a {
  float: left;
  display: block;
  color: #000;
  text-align: center;
  padding: 32px 18px;
  border: 2px #fff solid;
   text-decoration: none;
  font-size: 15px;
  text-transform: uppercase;
}


.topnav a:hover {
  
}

.topnav a.active {
  padding-bottom:16px;
  border-bottom: 2px #40347e solid; 
 
}

.topnav .logo {padding: 20px 2% 0 2%;}
.topnav .social {float: right; padding-right: 2%; font-size: 15px;}
.topnav .button {background:#40347e; color:#fff; padding: 12px 14px; margin: 16px 0;}
.topnav .icon {display: none; }


.link-space {
  padding-top: 60px;
}



.bg-img {
 width: 100%;
  min-height: 600px;
  position: relative;
  text-align: center;
  color: white;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  
  /* Needed to position the navbar */
  position: relative;
}


.centered {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
   background-color: #40347e;
   padding: 10px 18px;
   letter-spacing: 5px;
   
}
.centered h1 {font-size:22px;}

.mobile-centered {display:none;}


.top-icons {font-weight: normal; padding: 32px 16px; font-size: 16px;}

.img-container {
  position: relative;
  margin: 10px;
  
}

.text-block {
  width:25%;
  background-color: #f0f0f0;
  color: #000;
  padding: 40px;

 
}

.show {
  display: block;
}



/* Style the buttons */
.filterbtn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: #f1f1f1;
  cursor: pointer;
}

.filterbtn:hover {
  background-color: #666;
}

.filterbtn.active {
  background-color: #000;
  color: white;
}



.ribbon {
  width: 120px;
  font-size: 14px;
  padding: 4px;
  position: absolute;
  right: -12px;
  top: -12px;
  text-align: center;
  border-radius: 25px;
  transform: rotate(20deg);
  background-color: #ff9800;
  color: white;
  z-index:8;
}



div.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 32%;
  position: relative
}

div.gallery:hover {
  border: 1px solid #40347e;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}

div.gallery .label {position: absolute; top: 0; left: 0; padding: 10px; font-size:14px;}
div.gallery .label.red {background: #40347e; color: #fff;}
div.gallery .label.black {background: #000; color: #fff;}
	
	


.filter-container {
 display: flex;
 align-items:left;
 overflow-x: scroll;
 margin-top: 20px;
 
}

.filterDiv {
  background-color: #f0f0f0;
  color: #000;
  padding: 30px;
  margin: 20px 20px 20px 0;
   position: relative;
   flex: none;
  
}

 .video-container {
	position:relative;
	width:100%;
	border:0;
	padding-bottom:36.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

/* Clear floats (clearfix hack) */
.btn-group:after {
  content: "";
  clear: both;
  display: table;
}

.btn-group a:not(:last-child) {
  border-right: none; /* Prevent double borders */
}

.btn-group a:hover {
  background-color: #40347e;
}

.mobile-show {display:none;}



.main-heading {font-size:45px; font-weight:400;}
.enquire {font-size:100px; font-weight:400; color: #40347e;}

.secondary-heading {color:#40347e; margin: 0; padding:0; text-align:right;}

.main-content {padding-right: 30px;}



.contact-button {display: none;}

.purple-button { background: #fff; border: 1px #40347e solid; color: #40347e; padding:10px 20px; margin:5px 0; text-align:center;}
.red-button {display:block; background: #c30b1a; border: 2px #c30b1a solid; padding: 10px; text-align: center; margin: 5px 0; color:#fff; }




.info-list {list-style-type: none;  padding-left: 1.5em; text-indent: -0.8em;}
    .info-list li {list-style-position: inside; text-align:left; padding: 5px 0;}
	


.contact-form {width:85%}

#propertyprice {width:85%;}

.footer {font-size: 14px;}

#blog-landing {
position: relative;
max-width: 100%;
width: 100%;
}
#blog-landing img {
width: 100%;
max-width: 100%;
height: auto;
}
.white-panel {
position: absolute;
background: white;
padding: 10px;
}


/* Full-width input fields */
input[type=text], input[type=password], input[type=email], input[type=tel], select {
    width: 33%;
    padding: 18px 12px;
    margin: 12px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}


textarea{
    width: 100%;
    padding: 12px 10px;
    margin: 4px 0;
    display: block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}


/* Set a style for all buttons */
input[type=submit], input[type=button] {
    width: 25%;
	display: block;
	background-color: #40347e;
    color: #fff;
	font-size:18px;
    padding: 20px;
    margin: 8px 2px;
    border: 0;
	border-radius:2px;
    cursor: pointer;
   }

 input[type=submit]:hover, input[type=button]:hover {
     color: #fff;
 }
 
   
    .bond-container {width:60%; margin: 0 auto;}
 
 .mobile-menu, .sort-btn, #myNav {display: none;}

.overlay {
  position: fixed;
   height: 0%;
  width: 100%;
  z-index: 9999;
  bottom: 0;
  left: 0;
  background-color: #40347e;
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 0;
  bottom: 0;
  width: 100%;
  text-align: right;
  margin-bottom: 20px;
}

.overlay a {
  padding:8px 30px;
  text-decoration: none;
  font-size: 20px;
  color: #fff;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #3CB371;
}

.overlay .closebtn {
   font-size: 40px;
}


  .radio-button {
  float: left;
  margin:5px ;
  width: 80px;
  height: 0;
  position: relative;
  border: 1px solid #ccc;
  border-radius: 3px;
  text-align:center;
  padding:15px 20px;
 
}

.radio-button label,
.radio-button input {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.radio-button input[type="radio"] {
  opacity: 0.011;
  z-index: 1;
}



.radio-button input[type="radio"]:checked + label {
  background: #40347e;
border: 2px solid #40347e;
border-radius: 3px;
color:#fff;
}

.radio-button label {
  cursor: pointer;
  z-index: 1;
  line-height: 1.8em;
}

	
	.clearfix:after {
    content: "";
    display: table;
    clear: both;
}



	

	@media only screen and (max-width: 768px) {

	

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	
	td { 
		/* Behave  like a "row" */
		width:100%;
		border: none;
		position: relative;
		text-align: center;
		 
	}
	

html{scroll-padding-top: 0;}
	
			.topnav {display:none;}
			
			#myNav {display: block;}
			
			.mobilenav {
 
  }
  
  
  .mobilenav {
  overflow: hidden;
  background-color: #40347e;
  height:30px;
   display: block;
   z-index: 9999;
  padding: 24px;
  margin: 0 auto;
}



.mobilenav a:not(:first-child) {display: none;}
 .mobilenav a.logo {
     position: absolute;
    left: 10px;
    top: 10px;
    text-align: left;
	border: 0;
	padding: 15px 16px;
	 color: #fff;
    text-decoration: none;
   font-size: 20px;
 font-weight:bold;
  }

  .mobilenav a.icon {
    display:block;
	 position: absolute;
    right: 20px;
    top: 28px;
  }
  
  
  

  .mobilenav.responsive {position: relative; height:auto;}
   .mobilenav.responsive a.icon {display:none;}
  .mobilenav.responsive a.xicon {
     display:block;position: absolute;
     right: 20px;
    top: 28px;
	
  }
  
 
  .mobilenav.responsive a.text {
     display: block;
    text-align: left;
	border: 0;
	padding: 15px 0;
	 color: #fff;
    text-decoration: none;
  font-size: 20px;
  
  }
  
  .mobilenav.responsive a.active {
  padding-bottom:10px;
  border-bottom: 0; 
  font-weight:bold;
 
}
  
 
  
	
	.mobilenav.responsive a.social {float: left; padding-right: 0;}
  
  
	
	.sort-btn {display: block; cursor:pointer; position: fixed; bottom: 50px; right:20px; z-index:1;}
	.overlay {overflow-y: auto; z-index: 2;}
  .overlay a {font-size: 18px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
	
.bg-img {min-height: 350px;}

.centered {display:none;}

.mobile-centered { display: block; position: absolute; bottom:10px;
   background-color: #40347e;
   opacity: 0.8;
   padding: 10px 18px;
letter-spacing: 5px;}
	
	

.mobile-centered h1 {font-size: 14px; color:#fff; text-align:center; opacity: 1;}

.main-heading {font-size:30px; text-align:center;}
.enquire {font-size:45px;}
	
	
	.video-container {
	padding-bottom:46.25%;
}


.bond-container {width:100%;}

	div.gallery {float: none;  width: 100%; margin: 20px 0;}


	.top-icons {display:block; padding: 16px;}
	
  .contact-button {display:block; background: #40347e; color: #fff; padding: 10px 0; margin: 5px 0 15px 0; text-align:center;}
	.btn-group a {width:90%;}
		.purple-button {margin: 15px 0 5px 0;}
	
	.red-button {margin: 15px 0 5px 0;}



	
.gallery-image {width:100%; height:auto;}
	


.contact-form {width:100%}


.secondary-heading {text-align:center;}
.main-content {padding: 0;}


#propertyprice {width:100%;}


/* Full-width input fields */
input[type=text], input[type=password], input[type=email], input[type=tel], select, input[type=submit], input[type=button] {
    width: 100%;
	display: block;
   }
   
   input[type=button] {margin: 0;}


	
	}

	@media only screen and (max-width:414px) {
		.mobile-hidden {display:none;}
		.mobile-show {display:block;}
		
		.hero-text h1 {font-size:22px; padding:0; margin:0;}
		.hero-text .hero-button {padding: 10px 18px; font-size:14px;}
		
		.main-heading {font-size:22px;}
}
	
		
	}

@media (min-width:481px){
	.filter-container {
		overflow:visible;
		flex-wrap: wrap;
	justify-content: center;}
	
.filterDiv {
	flex-grow: 1;
	z-index:1;
	 max-width:fit-content;
}
}