/* main layout */
html {
	height: 100%;
}

* {
	margin: 0;
	padding: 0;
}

img {
	border: 0;
}

body {
	margin: 0;
	padding: 0;
	height: 100%;
	background: fixed center/cover url("/images/background.jpg");
	font-size: 0.75rem;
	line-height: 1.25rem;
}

body,.ui-widget,.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button {
	font-family: Arial, sans-serif;
}

/* font styles */	
h1 {
	margin: 0 0 1.875rem;
	border-bottom: thin solid #f0f0f0;
	padding: 0.625rem 0 0.625rem;
	color: #003d79;
/*	color: #0285ae;*/
	font-weight: normal;
	font-family: Arial, sans-serif;
	font-size: 1.5625rem;
	line-height: 1.25;
}
  
h2 {
	margin: 0 0 0.625rem;
	padding: 0;
	color: #003d79;
/*	color: #08b1cc;*/
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 1.125rem;
	line-height: 1.25;
}

h3 {
	padding: 0;
	color: #003d79;
	font-weight: normal;
	font-size: 1rem;
	line-height: 1.8125;
}

  h4 { font-size:14px; line-height:25px;  margin:0; padding:0;  color:#08b1cc; font-weight:normal;  }
  h5 { font-size:18px; line-height:40px;  margin:0; padding:0;  color:#08b1cc; font-weight:normal;  }
  h6 { font-size:18px; line-height:40px;  margin:0; padding:0;  color:#08b1cc; font-weight:normal;  }
  p  { font-size:13px; color:#777; line-height:22px; margin:0px; padding:0px; padding-top:5px; padding-bottom:10px;}
  ul { padding:0px; margin:0px;  }
  ol { padding-left:25px; margin-left:25px;list-style:lower-roman; }
  li { font-size:12px; color:#777; margin-left:10;  }
	
/* link styles */	
/*a:link		{ color:#0285ae;	text-decoration: none; }*/
a:link		{ color: #003d79;	text-decoration: none; }
a:visited 	{ color: #003d79;	text-decoration: none; }
a:hover 		{ color: #003d79;	text-decoration: underline; }
a:active	{ color: #003d79;	text-decoration: underline; }
  a:focus 		{outline-style: none;}

#wrap {
	margin: 0 auto;
	max-width: 1080px;
}

#header {
	display: block;
	position: relative;
	height: 5.75rem;
	background: #000;
}

#header:hover {
	text-decoration: none;
}

#header img {
	position: absolute;
	top: 50%;
	transform: translate(0,-50%);
}

#header :first-child {
	left: 1rem;
	height: 2.75rem;
}

#header :last-child {
	right: 2rem;
}

#header aside.dev {
	padding-top: 1.875rem;
	color: #f00;
	font-weight: bold;
	font-size: 2rem;
	line-height: 1;
	text-align: center;
}

/* main nav styles  */ 
#nav {
	position: relative;
	box-sizing: border-box;
	border-top: medium solid #fff;
	padding: 0 1rem;
	width: 100%;
	background: #95c83e;
}

#nav #menu {
	margin: 0;
	padding: 0;
	height: 3rem;
}

#nav #menu li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

#nav #menu li a,a.control {
	display: block;
	margin: 0.875rem 0.375rem;
	border-radius: 0.25rem;
	padding: 0 0.375rem;
	height: 1.25rem;
	background: #cacaca;
	color: #003d79;
	line-height: 1.25rem;
}

#nav #menu li a:hover,.control:hover {
	background: #003d79;
	color: #fff;
	text-decoration: none;
}

#nav #menu li.orders a span {
	color: #f00;
	font-weight: bold;
}

#nav #menu li.floater {
	margin: 0.875rem 0;
	padding: 0 0.375rem;
	height: 1.25rem;
	float: right;
	color: #fff;
	line-height: 1.25rem;
}

#nav figure {
	position: absolute;
	top: 3.5rem;
	right: 1rem;
}

#nav figure img {
	max-height: 2.5rem;
}

a.control {
	display: inline-block;
	margin: 0 0.125rem 0.125rem;
}

table a.control:link {
	text-decoration: none;
}

#nav #menu li a.plain {
	background: transparent;
	color: #fff;
	font-size: 0.625rem;
	text-decoration: underline;
}

#nav #menu li a.plain:hover {
	background: transparent;
	text-decoration: none;
}

a.main {
	padding: 0.25rem 0.5rem;
	font-weight: bold;
	font-size: 1rem;
}
 
main {
	box-sizing: border-box;
	padding: 1rem;
	width: 100%;
	background: #fff;
}

#main-content {
	margin-top: 1rem;
}

#learnmore {
	text-align: center;
}

#footer {
	position: relative;
	border-radius: 0 0 0.25rem 0.25rem;
	padding: 0.5rem 0;
	width: 100%;
	background: #000;
}

#footer p {
	padding: 0;
	width: 100%;
	color: #fff;
	font-size: 0.625rem;
	text-align: center;
}

#footer p:first-of-type {
	font-size: 0.75rem;
}

#footer a {
	color: #fff;
	text-decoration: underline;
}

#footer div {
	position: absolute;
	top: 0.375rem;
	right: 2rem;
}

#footer div span {
	display: block;
	box-sizing: border-box;
	top: 0;
	width: 100%;
	color: #fff;
	text-align: center;
}

#footer div img {
	height: 1.5rem;
}

table,table th,table td {
	border: thin solid #e3f1fe;
	border-collapse: collapse;
}

table {
	margin: 0.625rem 0;
}

.data {
	width: 100%;
}

th {
	padding: 0.625rem 0.25rem;
}

tr:nth-child(2n),table.dataTable tbody tr:nth-child(2n) {
	background: #f4f9fe;
}

td {
	padding: .3em .5em;
	vertical-align: top;
	color: #678197;
}

table.dataTable tbody tr:hover,tbody tr:hover {
	background: #fafafa;
}

table a:link {
	text-decoration: underline;
}

table.dataTable {
	border-collapse: collapse;
}

table.dataTable,table.dataTable thead td {
	border: thin solid #e3f1fe;
}

table.dataTable thead th {
	border: none;
	border-bottom: none;
}

table.dataTable thead th,table.dataTable tbody td {
	padding: 0.25rem;
}

table.dataTable thead {
	background: #003d79;
	color: #cacaca;
}

a.attention:link,a.attention:visited {
	color: #f00;
	font-weight: bold;
}

#properties_wrapper #realtor {
	margin-right: 1em;
}

#properties_wrapper #lookup {
	margin-right: 0.5em;
}

.data button {
	padding: 0 0.125rem;
	min-width: 1.25rem;
	font-size: 0.75rem;
	text-align: center;
}

#publication {
	width: 20rem;
}

[readonly] {
	border: thin solid #bcbcbc;
	background: #e5e5e5;
}

#date[readonly] {
	pointer-events: none;
}

#content section {
	position: relative;
	margin: 0.5em 0;
	border: thin solid #ddd;
	background: #f7f7f7;
}

#content section > summary {
	display: block;
	padding: 0.5em;
	background: #eee;
	cursor: pointer;
}

#content section summary > .overview > div,
#content section .details .primary > div
 {
	display: inline-block;
	box-sizing: border-box;
	padding-right: 1em;
	width: 23.5%;
	vertical-align: top;
}

#content section summary > .overview > div:first-child,
#content section .details .primary > div:first-child {
	margin-right: 2%;
	width: 4%;
}

#content section summary .tags {
	margin-top: 0.5em;
	font-size: 0.625rem;
	line-height: 1.6;
}

#content section summary .tags:empty {
	margin-top: 0;
}

#content section summary .tags label {
	display: inline-block;
	margin-left: 6%;
	width: 6%;
}

#content section summary div > span {
	position: absolute;
	top: 0.5em;
	right: 1em;
	transform: rotate(0deg);
	transition: transform 0.5s;
}

#content section summary div > span.open {
	transform: rotate(180deg);
}

#content section .details {
	display: none;
	border-top: thin solid #e6e6e6;
	padding: 0.5em;
}

#content section.fill .details {
	border: none;
}

#content section.fill .details {
	display: block;
}

#content section .details .primary select.inactive {
	display: none;
}

#content section .details .primary,#content section .details .auxiliary {
	margin-bottom: 1em;
}

#content section .details .auxiliary label {
	width: 10%;
}

#content section .details input {
	max-width: 100%;
}

#content section .details input[type="submit"],#content button {
	padding: 0.125rem 0.5rem;
	font-size: 0.75rem;
}

#content section .details form input + input {
	float: right;
}

.select2 {
	min-width: 18em;
}

input#refresh {
	margin-top: 1em;
}

#flags td,#flags input[type="checkbox"] {
	vertical-align: middle;
}

.hidden {
	display: none;
}

#flags .add {
	margin-bottom: 1rem;
}

.sections th {
	padding: 0.375rem 0.25rem;
}

.sections th:nth-child(2),.sections td:nth-child(2) {
	width: 4rem;
}

.grid > div {
	display: inline-block;
	box-sizing: border-box;
	padding: 0.25rem;
	border-top: thin solid #000;
	text-align: center;
	box-shadow: 0.0625rem 0 0 0 #000,
		0 0.0625rem 0 0 #000,
		0.0625rem 0.0625rem 0 0 #000,
		0.0625rem 0 0 0 #000 inset;
}

.grid.four > div {
	width: 25%;
}

.grid.five > div {
	width: 20%;
}

.products.grid div,.templates.grid div {
	background: #fff;
}

.products.grid > a,.templates.grid > a {
	display: block;
}

.products.grid img,.templates.grid img {
	display: block;
	width: 100%;
}

#attributes label {
	width: 12rem;
}

.crm,#agent,#step-1 #office,#process #price,#inspection,#heading,#process #description,#soldprice {
	border: thin #6b8 solid;
}

.key {
	margin-top: 1em;
	font-size: 0.75em;
}

.key div {
	display: inline-block;
	box-sizing: border-box;
	border: thin #6d8 solid;
	width: 0.5rem;
	height: 0.5rem;
}

#attributes select {
	width: 15rem;
}

#main-content td.property-search-action a { color: #999; background: #f4f9fe; }

.middle {
	display: block;
	margin: 2rem auto;
	width: 20rem;
}

#please {
	margin: 0 auto;
	border: 0;
	width: 300px;
	font-family: Arial, sans-serif;
	font-weight: bold;
	text-align: center;
	letter-spacing: -1px;
}

p#logmessage {
	margin-top: 0.3125rem;
	font-family: Arial, sans-serif;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.0625rem;
}

#logform {
	border: none;
	padding: 0.625rem;
}

#logform tr:nth-child(2n) {
	background: inherit;
}

table#logform td {
	border: none;
	padding: 0.625rem;
}

form #logform tr:last-child td:first-of-type {
	text-align: center;
}

#logform tr:last-child input {
	vertical-align: sub;
}

#logform input[type="text"] {
	width: 12.5rem;
}

#logform tr:last-child label {
	margin-left: 0.5rem;
	font-weight: normal;
}

#f + p {
	text-align: center;
}

.labels { text-align: right; font-weight: bold; font-size: 14px; color: #666; }
.inputs input { padding: 7px 10px; width: 200px; }
p input { padding: 5px 20px; margin: 10px 0; }

.centre {
	text-align: center;
}

.right {
	text-align: right;
}

input[type="text"] {
	width: 18em;
}

#properties,#magazines,#fillers,.full {
	width: 100%;
}

#magazines button {
	padding: 0 0.125rem;
	font-size: 0.75rem;
	line-height: 1.2;
}

#supplementary {
	line-height: 1.8;
}

#supplementary > div > :first-child {
	display: inline-block;
	width: 12em;
}

#supplementary div + div {
	margin-top: 0.5em;
}

#supplementary div > * + * {
	margin-left: 0.5em;
}

#supplementary input {
	height: 1.8em;
	width: 8em;
}

#supplementary button {
	padding: 0 0.5em;
}

.darken {
	display: table;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
}

.window {
	display: table-cell;
	vertical-align: middle;
}

.message {
	margin: 0 auto;
	padding: 1rem;
	border: thin solid #000;
	width: 30rem;
	background: #fff;
}

.message > label,.link > label {
	display: inline-block;
	margin-right: 1rem;
	width: 3rem;
	vertical-align: top;
}

.message input[type="email"],.message input[type="text"],.link > div {
	display: inline-block;
	margin: 0 10rem 1rem 0;
	width: 15rem;
	vertical-align: top;
}

.message a {
	display: inline-block;
	margin-bottom: 1rem;
	vertical-align: top;
}

.link {
	display: none;
}

.link input[type="radio"] {
	vertical-align: text-top;
}

.link label + input {
	margin-left: 0.5rem;
}

.message textarea {
	box-sizing: border-box;
	margin-bottom: 1rem;
	padding: 0.475em;
	width: 100%;
	height: 8.375rem;
	font-family: Arial;
}

.message .ebook {
	display: none;
}

.message input[type="button"] {
	padding: 0 0.5em;
}

.message input.send {
	float: right;
}

.notice {
	color: #f00;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
}

form table:not(#pricing) td:first-of-type {
	color: #000;
	font-weight: bold;
	text-align: right;
}

#pricing input {
	width: 5em;
	text-align: right;
}

form td input {
	color: #000;
}

textarea {
	width: 20em;
	height: 6em;
}

.ui-tabs .ui-tabs-panel {
	padding: 1rem 0.625rem;
}

.entry form > div {
	display: inline-block;
	box-sizing: border-box;
	position: relative;
	margin: 0.25%;
	padding: 0.375rem 0.5rem;
	width: 32.75%;
	height: 2rem;
	vertical-align: top;
	background: #f6f6f6;
}

.entry form {
	color: #000;
}

label {
	display: inline-block;
	font-weight: bold;
}

.entry label {
	padding-right: 0.5rem;
	width: 7rem;
	line-height: 1;
}

.entry label.annotation {
	display: inline;
	width: auto;
	text-align: left;
}

.entry input {
	padding: 0.0625rem;
}

.entry input[type="text"] {
	width: 8.875rem;
}

.entry input[type="number"] {
	width: 8.875rem;
}

.entry input[type="radio"] {
	vertical-align: text-top;
}

.entry p {
	padding: 0;
}

.entry p input {
	margin-bottom: 0;
}

.entry select {
	max-width: 8.875rem;
}

form input + span {
	display: inline-block;
	margin-left: 2rem;
}

form input[type="submit"] {
	padding: 0.3125rem 1.25rem;
	font-size: 1.125rem;
}

.ui-widget form {
	font-size: 0.75rem;
}

.gallery {
	margin-bottom: 0.5rem;
}

.gallery > div {
	display: inline-block;
	margin: 0.5rem 0.5%;
	width: 19%;
	vertical-align: top;
}

.gallery figure {
	margin: 0 auto 0.5rem;
	width: 10rem;
	height: 10rem;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.gallery figure + div label {
	display: inline-block;
}

.gallery label {
	width: 4rem;
}

.gallery figure + div > div {
	display: inline-block;
	margin-bottom: 0.5rem;
	font-size: 0.625rem;
	line-height: 1;
	word-break: break-all;
}

.gallery input {
	width: 2em;
	text-align: right;
}

.gallery + label,.copy label,#step-4 label {
	margin-right: 0.5rem;
}

#images,#copy  {
	margin-top: 1rem;
}

.description + div {
	margin-left: 7.5rem;
}

.description + div div {
	display: inline-block;
	margin-right: 2rem;
}

.description + div button {
	padding: 0.125rem;
}

#order {
	margin-top: 0.5rem;
}

#process form + h3 {
	margin-top: 2rem;
}

.copy label,#step-4 label {
	display: inline-block;
	width: 7rem;
	vertical-align: top;
	font-weight: bold;
	text-align: right;
}

.copy label span {
	display: block;
	font-weight: normal;
	font-size: 0.5rem;
	line-height: 1.2;
}

.copy .heading {
	width: 25em;
}

.copy .description {
	width: 60em;
	height: 18.25em;
}

.copy .description.alt {
	height: 8.5em;
}

.featurecopy {
	width: 60em;
	height: 7.2em;
}

.copy .point {
	width: 20em;
	height: 2.4em;
	overflow: auto;
}

.toggle.new {
	display: none;
}

.item label {
	width: 9rem;
	vertical-align: top;
}

.item input[type="text"],.item input[type="number"],.item textarea {
	width: 20em;
}

.item textarea {
	height: 3.4em;
}

.item #quantity + span {
	margin-left: 1em;
	font-size: 0.5rem;
}

#orders_wrapper {
	margin-top: 0.5rem;
}

#orders button {
	padding: 0 0.5rem;
	line-height: 1rem;
}

.status span {
	display: inline-block;
}

.status > *,#orders td:last-child button {
	margin: 0 0.25em;
}

#orders .email {
	font-size: 1.25rem;
	vertical-align: bottom;
}

#product {
	display: block;
	margin-top: 1rem;
	border: thin solid #000;
	max-width: 50%;
	max-height: 50%;
}

#item #name {
	width: 25em;
}

#item #notes {
	width: 25em;
	height: 3.5em;
}

.list {
	display: table;
	border-collapse: collapse;
}

.list div {
	display: table-row;
}

.list div:hover {
	background: #fafafa;
}

.list :nth-child(2n) {
	background: #f4f9fe;
}

.list div div {
	display: table-cell;
	border: thin solid #e3f1fe;
	padding: 0 0.25rem;
}