* {
	box-sizing: border-box;
	/* transition: .2s all; */
}

.form-signin {
	max-width: 350px;
	margin: 2em auto;
}

img {
	max-width: 100%;
}

.btn-primary {
	background-color: #294282;
	border-color: #294282;
	text-decoration: none;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
	color: #fff;
	outline: none;
}

.navbar-brand img {
	max-width: 200px;
	margin: -11px;
}

.main-content {
	padding-top: 50px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="fax"],
input[type="date"],
input[type="datetime"],
input[type="month"],
input[type="password"],
input[type="time"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: .5em .7em;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 0; /* be sure to set this, because browsers have their own intentions */
}

select {
  cursor: pointer; /* I like it when the hand shows up on a select element */
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="fax"],
input[type="date"],
input[type="datetime"],
input[type="month"],
input[type="password"],
input[type="time"],
input[type="url"],
select,
.blueButton {
  height: 42px; /* keep the inputs and selects the same height */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="fax"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="month"]:focus,
input[type="password"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  border-color: #294282; /* border color when the field is active */
  outline: none;
}


.c-form__group {
  margin-bottom: 10px;
}

.c-form__group,
.c-form__row {
  display: block;
  float: left;
  width: 100%;
  clear: both;
}

.c-form__row {
  margin-bottom: 10px;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

.c-form__field label {
}

.captcha-img {
  margin-top: 2.3em;
}

.c-form__field {
  display: block;
  float: left;
  width: 100%;
}

@media all and (min-width:768px) {
	.c-form__field { padding: 0 5px; }

	.c-form__field:first-child {
	  padding-left: 0;
	}

	.c-form__field:last-child {
	  padding-right: 0;
	}

  .u-w10 { width: 10%; }
  .u-w15 { width: 15%; }
  .u-w20 { width: 20%; }
  .u-w25 { width: 25%; }
  .u-w30 { width: 30%; }
  .u-w33 { width: 33%; }
  .u-w35 { width: 35%; }
  .u-w40 { width: 40%; }
  .u-w45 { width: 45%; }
  .u-w50 { width: 50%; }
  .u-w55 { width: 55%; }
  .u-w60 { width: 60%; }
  .u-w65 { width: 65%; }
  .u-w67 { width: 67%; }
  .u-w70 { width: 70%; }
  .u-w75 { width: 75%; }
  .u-w80 { width: 80%; }
  .u-w85 { width: 85%; }
  .u-w90 { width: 90%; }
  .u-w95 { width: 95%; }
}

[type="checkbox"] + label {
	display: inline-block;
	position: relative;
	padding-left: 2em;
	cursor: pointer;
	color: #294282;
}

[type="checkbox"] + label::before {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
	margin-right: .3em;
	content: '';
	background: white;
	border: 1px solid #294282;
	border-radius: 3px;
	transition: .2s all;
}

[type="checkbox"]:checked + label::before {
	background: #294282;
}

[type="checkbox"]:checked + label::after {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 1.5em;
	height: 1.5em;
	content: '✓';
	border: 1px solid transparent;
	background: tranparent;
	color: #fff;
	text-align: center;
}

[type="checkbox"] {
	display: none;
}

[type="checkbox"] + label:hover {
	color: #229AC9;
}
[type="checkbox"] + label:hover::before {
	border: 1px solid #229AC9;
}
[type="checkbox"]:checked + label:hover::before {
	background: #229AC9;
}


.error {
	color: #f00;
}

input.error {
	border-color: #f00;
}

.PropDetailIframe {
	display:none;
	background-color:white;
	z-index: 1000;
	width: 50%;
	height: 1500px;
	position:absolute;
	right:0;
	top:160px;
	box-sizing: border-box;
	box-shadow: 5px 5px 5px rgba(0,0,0,.5), -5px 5px 5px rgba(0,0,0,.5), -5px -5px 5px rgba(0,0,0,.5), 5px -5px 5px rgba(0,0,0,.5);
	border:none;
}

@media (max-width:700px){
	.PropDetailIframe {
		width:100%;
		top: 0;
	}
	#map_canvas {

	}
}

.map-link,
.blueButton {
	border-radius: 3px;
  background-color:  #294282;
  padding: 5px 15px;
  text-decoration: none;
  color: #fff;
	display:inline-block;
	width: 100%;
	text-align: center;
}

.map-link:hover,
.blueButton:hover {
  background-color: #229AC9;
	color: #fff;
	text-decoration: none;
}

.blueButton,
.blueButton:hover,
.blueButton:active,
.blueButton:focus {
	line-height: 31px;
	text-decoration: none;
	outline: none;
	color: #fff;
}

.PropertyDetail img { max-width: 75%; }
.PropDetailIframe a { margin-top: 10px; }
.property-title { font-weight: normal; }
.property-section {
	width: 40%;
	float:left;
	margin-right: 5%;
	margin-bottom: 5px;
}

input,
select {
	display:block;
	padding: 5px;
	font-size: 18px;
}

label { display:inline-block; }

h2 { color: #030D80; }

iframe { border:none; }

.full-screen-wrapper {
	position: absolute;
	left: 0;
	width: 100vw;
	padding-top: 50px;
	top: 0;
	background: rgb(229, 227, 223);
	background-image: url('assets/loading.gif');
	background-repeat:no-repeat;
	background-position:center;
}

@media all and (min-width:768px) {
	.full-screen-wrapper {
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: column;
		flex-direction: column;
		height: 100vh;
	}
}

#searchForm {
	margin-bottom: 0;
	width: 100%;
	margin: 0;
	background: #fff;
	padding: 1em;
	position: relative;
	z-index: 100;
	padding-top: 10px;
}

#searchForm[aria-expanded="true"] {
	padding-top: 120px;
}

@media all and (min-width: 768px) {
	#searchForm,
	#searchForm.collapse {
		padding-top: 10;
		display: block !important;
	}
}

.map-container {
	background: #eee;
	z-index: -1000;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.map-area-container {
	-webkit-flex-grow: 1;
	flex-grow: 1;
	min-height: 600px;
	box-sizing: border-box;
	position: relative;
	background-image: url('assets/loading.gif');
	background-repeat:no-repeat;
	background-position:center;
	z-index:100;
	background-color: #efefef;
}

#map-loading {
	background-image: url('assets/loading.gif');
	background-repeat:no-repeat;
	background-position:center;
	z-index:10000;
	background-color: rgba(255,255,255,.6);
}


#map_canvas,
#map-loading,
#no-properties {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

#map_canvas {
	background-color: #efefef;
	background-image: url('assets/loading.gif');
	background-repeat:no-repeat;
	background-position:center;
	width: 80%;
	height: 80%;
	margin-left: 10%;
	margin-top: 10%;
}

@media all and (min-width: 768px) {
	#map_canvas {
		width: 100%;
		height: 100%;
		margin: 0;
	}
}

#no-properties {
	width: 100%;
	height: 100%;
	z-index:10000;
	background-color: rgba(255,255,255,.8);
	display:none;
	text-align:center;
}

#results-count {
	display: block;
	position: absolute;
	right: .8em;
	top: .8em;
	padding: .8em;
	background: #fff;
	color: #555;
	box-shadow: 0 0 4px 0 rgba(0,0,0,.3);
	font-size: .85em;
	line-height: 100%;
	border-radius: 2px;
}

.property-detail-overlay {
	position: absolute;
	width: 100vw;
	height: 100vh;
	left: 0;
	top: 0;
	background: rgba(0,0,0,.7);
	z-index: 1000;
}

.property-details-container {
	display: block;
	background: #fff url(img/loading.gif) no-repeat center center;
	margin: 0 auto;
	position: relative;
	z-index: 1000;
	box-shadow: 0 0 250vmax 200vmax rgba(0,0,0,.6);
	width: auto;
	max-width: 90%;
	padding: 2em;
	margin-top: 5em;
	height: 85vh;
}

@media all and (min-width:786px) {
	.property-details-container {
		max-width: 70%;
	}
}

.property-content-wrapper {
	position: absolute;
	left: 0;
	top: 0;
	padding: 2em;
	height: 100%;
	width: 100%;
	overflow-y: scroll;
	background: #fff;
}

.btn-close-property-details {
	position: absolute;
	right: 2em;
	top: 2em;
	z-index: 1000;
}

.property-detail-table {
	border: 2px solid #ddd;
	width: 100%;
	margin-bottom: 2em;
}

.property-detail-table tr:nth-child(2n+1) {
	background: #f5f5f5;
}

.property-table-header {
	text-align: center;
}

.property-table-header h1,
.property-table-header h2,
.property-table-header h3,
.property-table-header h4,
.property-table-header h5,
.property-table-header h6 {
	margin: 0;
}

.property-detail-table th,
.property-detail-table td {
	padding: .5em;
}

.property-detail-table th {
	width: 30%;
}

.property-detail-table th {
	background: rgba(0,0,0,.05);
}


.no-map-message {
	display: -webkit-flex;
	display: flex;
	height: 80vh;
	width: 100%;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
}


.property-image {
	max-width: 100%;
}


@media all and (min-width:768px) {
	.property-image {
		max-width: 500px;
		max-height: 500px;
		object-fit: contain;
	}
}

/* Print Styles */

@media print {
	.main-content {
		display: none;
	}
	.property-detail-overlay {
		position: relative;
	}
	
	.property-details-container {
		height: auto;
	}
	
	.btn-close-property-details {
		display: none;
	}
	
	.property-content-wrapper {
		position: relative;
		padding: 0;
		overflow: hidden;
	}
	
	.property-content-wrapper h1 {
		margin: 0;
	}
	
	.property-detail-table {
		break-inside: avoid;
	}
	
	.property-detail-table:first-of-type {
		break-inside: auto;
	}
	
	a[href]:after {
		display: none;
	}
}
