/* image area */
#image-area {border-bottom: 2px solid #993400;}

/* header customisation */
#header a {color: #01669a;}

/* lowerhalf customisation */
#lowerhalf a {color: #cc3403;}

/* block customisations */
.sidebar .block.nobackground {border: 0px; padding: 0px; background: #fff;}
.sidebar .block {background: #dcffdc; border: 1px solid #bcf9bd; padding: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;}
.block h2 {margin-top: 0px;}

/**
 * 0.RESET 
 */

@import "reset.css";

/**
 * 1.GLOBAL
 */

body {
  background: #fff;
  color: #666;
  font-family: "Arial";
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: normal;
  color: #4f8c01;
}

h1, .h1 {
  font-size: 2em;
  line-height: 1.5;
  margin-top: 0px;
}

h2, .h2 {
  font-size: 1.5em;
  line-height: 1;
  margin-top: 0.8em;
}

h3, .h3 {
  font-size: 1.25em;
  line-height: 1.2;
  margin-top: 1.2em;
}

h4, h5, h6, .h4, .h5, .h6 {
  font-size: 1em;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 1.5em;
}

p {
  font-size: 1em;
  line-height: 1.5;
  margin: 0 0 0.8em 0;
}

a { color: #069; text-decoration: none; }

a:visited { color: #309; }

a:hover, a:active, li a.active  { color: #39f; }

a:focus { outline: thin dotted; }

a:hover, a:active { outline: 0; }

/* apply common styling after reset.css */

li ul, li ol {  margin: 0; }
ul, ol {  margin: 0 1.5em 0.8em 0;  padding-left: 1.5em; }
ul {  list-style-type: disc; }
ol {  list-style-type: decimal; }
dl {  margin: 0 0 1.5em 0; }
dl dt {  font-weight: bold; }
dd {  margin-left: 1.5em; }
hr {  background: #666;  border: none;  clear: both;  float: none;  height: 1px;  margin: 0 0 1.4375em;  width: 100%; }
fieldset {  border: 1px solid #ccc;  margin: 0 0 1.4375em;  padding: 1.5em; }
table {  margin-bottom: 1.5em;  width: 100%; }
th, tr, td {  vertical-align: middle; }
th { padding-right: 1em; }
.sticky-header th, .sticky-table th {  border-bottom: 3px solid #ccc;  padding-right: 1em;  text-align: left; }

/**
 * 2.LAYOUT
 */

#lowerhalf {padding: 0px 20px 10px 20px;}



/**
 * 3.MAIN
 */

/* 1 column: global values*/

#main {
  display: inline;
  margin: 0;
}

/* 3 columns */

body.two-sidebars #main {
  float: left;
  margin: 0 0 0 240px;
  padding: 0;
  width: 460px;
}

/* 2 columns: sidebar-first */

body.sidebar-first #main {
  float: right;
  margin: 0;
  padding: 0;
  width: 680px;
}

/* 2 columns: sidebar-second */

body.sidebar-second #main {
  float: left;
  margin: 0;
  padding: 0;
  width: 680px;
}

/**
 * 4.SIDEBARS
 */

/* 3 columns: sidebar-first */

body.two-sidebars #sidebar-first {
  float: left;
  margin: 0 0 0 -700px;
  padding: 0;
  width: 220px;
}

/* 3 columns: sidebar-second */

body.two-sidebars #sidebar-second {
  float: right;
  margin: 0;
  padding: 0;
  width: 220px;
}

/* 2 columns: sidebar-first */

body.sidebar-first #sidebar-first {
  float: left;
  margin: 0;
  padding: 0;
  width: 220px;
}

/* 2 columns: sidebar-second */

body.sidebar-second #sidebar-second {
  float: right;
  margin: 25px 0 0;
  padding: 0;
  width: 220px;
  
}

/**
 * 5.HEADER
 */

#header {
  margin: 0;
  padding: 12px 20px;
  position: relative;
}

#header #logo {
  float: left;
  margin: 0 1em 1.5em 0;
}

#header #site-name-slogan {
  float: left;
  margin: 0 0 1.5em;
}

#header #site-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

#header #site-name a:hover {
  text-decoration: none;
}

#header #site-slogan {
  margin: 0;
}

#header .region-header {
  float: right;
}

a.feed-icon {
  float: right;
  margin: 4px 0 0 20px;
}

/**
 * 6.NAVIGATION
 */

#navigation {
  float: left;
  margin: 0;
  padding: 0;
  font-size: 1.2em;
}

#navigation ul#main-menu {
  clear: both;
  list-style: none;
  margin: 0;
  padding: 0;
}

#navigation ul#main-menu li {
  float: left;
  margin: 0;
  padding: 0;
}

#navigation ul#main-menu li a {
  display: block;
  padding: 0 3em 0 0;
}

#navigation ul#secondary-menu {
  clear: both;
  list-style: none;
  margin: 0;
  padding: 0;
}

#navigation ul#secondary-menu li {
  float: left;
  margin: 0;
  padding: 0;
}

#navigation ul#secondary-menu li a {
  display: block;
  padding: 0 2em 0 0;
}

.breadcrumb {
  clear: both;
  padding: 5px 0px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  font-size: 12px;
}

#skip-link {
  position: absolute;
}

/* menus and item lists */

#footer ul.menu {text-align: center;}
#footer ul.menu li {display: inline;}
#footer ul.menu li a {text-decoration: underline; padding: 0px 15px;}

.views-row {margin-bottom: 10px;}
.views-row .views-field-created, .views-row .views-field-name {font-size: 11px; margin-bottom: 10px;}

.item-list ul {
  margin: 0;
  padding: 0 0 0 1.5em;
}

.item-list ul li {
  margin: 0;
  padding: 0;
}

ul.menu li {
  margin: 0;
  padding: 0;
}

ul.inline {
  clear: both;
}

ul.inline li {
  margin: 0;
  padding: 0 1em 0 0;
}

/* admin tabs */

.tabs-wrapper {
  border-bottom: 1px solid #333;
  margin: 0 0 1.4375em;
}

ul.primary {
  border: none;
  margin: 0;
  padding: 0;
}

ul.primary li a {
  background: none;
  border: none;
  display: block;
  float: left;
  line-height: 1.5em;
  margin: 0;
  padding: 0 1em;
}

ul.primary li a:hover, ul.primary li a.active {
  background: #666;
  border: none;
  color: #fff;
}

ul.primary li a:hover {
  background: #888;
  text-decoration: none;
}

ul.secondary {
  background: #666;
  border-bottom: none;
  clear: both;
  margin: 0;
  padding: 0;
}

ul.secondary li {
  border-right: none;
}

ul.secondary li a, ul.secondary li a:link {
  border: none;
  color: #ccc;
  display: block;
  float: left;
  line-height: 1.5em;
  padding: 0 1em;
}

ul.secondary li a:hover, ul.secondary li a.active {
  background: #888;
  color: #fff;
  text-decoration: none;
}

ul.secondary a.active {
  border-bottom: none;
}

/**
 * 7.NODES
 */

.node {
  margin-bottom: 1.5em;
}

/* tags */

.field-label-inline .field-items {
	float: none;
}
.field-name-field-tags, .views-field-field-tags {
  margin: 15px 0 1.5em;
  background: #dcffdc;
  border: 1px solid #bcf9bd ;
  -webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
padding: 5px;
}

.field-name-field-tags .field-label, .views-field-field-tags .field-label { 
	float: left;
	max-width: 145px;}

.field-name-field-tags .field-item {
  margin: 0 1em 0 0;
}

.field-name-field-tags .field-item, .views-field-field-tag .field-item {
  display: inline-block;
}

/* profile */

.profile {
  margin: 1.5em 0;
}

.profile h3 {
  border: none;
}

.profile dt {
  margin-bottom: 0;
}

.profile dd {
  margin-bottom: 1.5em;
}

.password-parent {
  width: 36em;
}

/**
 * 8.COMMENTS
 */

#comments {
  clear: both;
  margin-top: 1.5em;
}

.comment {
  margin-bottom: 1.5em;
}

.comment .new {
  color: red;
  text-transform: capitalize;
  margin-left: 1em;
}

/**
 * 9.BLOCKS
 */

.block {
  margin-bottom: 1.5em;
}

/**
 * 10.FOOTER
 */

#footer {
  clear: both;
  padding: 10px 20px;
  position: relative;
}

#footer .block {margin-bottom: 0px;}

/**
 * 11.CSS SUPPORT
 *
 * Built-in classes:
 * .clearfix                            | contain floats
 * .element-invisible                   | hide element visually
 * .element-invisible.element-focusable | allow element to be focusable when navigated to via keyboard
 * .element-hidden                      | hide visually and from screenreaders
 */
 
/* clear floats */
.clear { clear: both; }

/* display block */
.display-block { display: block; }


/**
 * Revision workflow styles.
 */
.diff-revision .workflow {
  margin-right: 15px;
}
.diff-revision .title {
  float: left;
  width: 310px;
}
.diff-revision .state {
  float: right;
  width: 80px;
}
.diff-revision td {
  padding: 5px;
  line-height: 1.5em;
}
.diff-revision td.revision-current {
  background: #DCFFDC;
}
.diff-prevlink,
.diff-nextlink {
  display: none;
}
.workflow_history_row p,
.messages p {
  margin: 0;
}

/**
 * Webform.
 */
.webform-component label {
  width: 70px;
  float: left;
}
.webform-component .form-textarea {
  resize: none;
}

/**
 * Call sheets.
 */
.view-call-sheets .views-label {
  float: left;
  width: 120px;
  margin-right: 5px;
  font-weight: bold;
}
.view-call-sheets .views-row {
  margin-bottom: 40px;
}

/**
 * Listing page.
 */
#main section {
  margin: 3em 0;
}
.node-type-listing .content .field-type-addressfield {
  overflow: hidden;
}
.node-type-listing .content .field {
  margin-top: 20px;
}
.node-type-listing .content .field-type-addressfield .field-item {
  margin: 20px 0 0 20px;
}
.field-type-addressfield .field-items .field-label {
  float: left;
  width: 150px;
}
.node-type-listing .field-type-addressfield .field-item {
	margin-top: 0.625em;
	margin-left: 0 !important;
}
.node-type-listing .field-type-addressfield, .node-type-listing .field-name-body {
	margin-bottom: 0.625em;
}
.node-type-listing .field-label {
	width: 150px;
}
.node-type-listing .field-item.odd, .node-type-listing .dependent-locality {
	margin-left: 150px;
}
.node-type-listing .field-name-field-tags .field-item.odd {
	margin: 0 1em 0 0;
}
.node-type-listing .thoroughfare {
font-style: oblique;
}

/**
 * Views.
 */
.view-tags .views-row,
.view-articles .views-row,
.view-listings .views-row,
.page-search .view-search-results .views-row {
  margin-bottom: 2.5em;
}
.view-tags  .views-field,
.view-articles  .views-field,
.view-listings  .views-field,
.page-search .view-search-results .views-field {
  margin: 10px 0;
}
.view-tags .views-field-body,
.view-articles .views-field-body,
.view-listings .views-field-body,
.page-search .view-search-results .views-field-body-value {
  line-height: 1.5em;
}
.view-tags .views-field-created,
.view-articles .views-field-created,
.view-listings .views-field-created,
.page-search .view-search-results .views-field-created {
  color: #999;
}
.view-articles  .views-row-last,
.view-listings  .views-row-last {
  margin-bottom: 1.5em;
}

/**
 * Search.
 */
.page-search .ajax-progress {
  position: relative;
  left: 5px;
  top: 1px;
}
.page-search .ajax-progress .throbber {
  margin: 0;
}
.page-search .facetapi-facetapi-links {
  padding-left: 1em;
}
#sidebar-second #views-exposed-form-search-results-page .views-exposed-widgets label,
#sidebar-second #views-exposed-form-search-results-page .views-exposed-widget.views-reset-button {
  display: none;
}
#sidebar-second #block-views-exp-search-results-page .block-title {
  margin-bottom: 10px;
}
#sidebar-second #views-exposed-form-search-results-page .views-exposed-widgets,
#sidebar-second #views-exposed-form-search-results-page .views-exposed-widget .form-submit {
  margin: 0;
}
#sidebar-second #views-exposed-form-search-results-page .views-exposed-form .views-exposed-widget {
  padding-right: 0;
}
#sidebar-second #views-exposed-form-search-results-page .views-exposed-widgets #edit-text {
  width: 110px;
  /* TWL: 10-Nov-13: Commented following line out as it's height is too small. */
  /* height: 13px; */
  margin-right: 7px;
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid #9BB999;
  font-size: 11px;
  line-height: 1.3em;
  box-shadow: inset 1px 1px 1px #EEE;
}
#search-api-page-search-form-search .form-type-textfield {
  display: inline;
}

/**
 * Form.
 */
#block-tweaks-region-selection,
#region-selection-form .form-item {
  margin: 0 0 1.5em;
  border: 0 none;
  padding: 0;
  background: transparent;
}
#region-selection-form .form-submit {
  display: none;
}
#views-exposed-form-articles-page,
#views-exposed-form-listings-page {
  margin-bottom: 2.5em;
}
#views-exposed-form-articles-page #edit-submit-articles,
#views-exposed-form-listings-page #edit-submit-listings {
  margin-top: 25px;
}

.views-exposed-form .views-exposed-widget .form-submit {margin-top: 0;}


/**
 * Comments.
 */
#comments .comment .submitted {
  margin: 10px 0;
  font-size: 16px;
  color: #000;
}
#comments .comment .submitted .date {
  font-size: 11px;
  color: #999;
}
#comments .comment .content {
  margin: 10px 0;
  font-size: 14px;
}
#comments .comment .links a {
  font-size: 14px;
}
#comments form .wysiwyg-toggle-wrapper,
#comments form #edit-preview,
#comments form .filter-wrapper {
  display: none;
}
.comment-unpublished {
  padding: 5px 10px;
}
.comment-count {
  margin-left: 10px;
  padding: 4px 0 0 20px;
  background: url("./images/comments_bg.png") top left no-repeat transparent;
}

/**
 * Fivestar rating.
 */
.field-type-fivestar {
  margin: 1.5em 0;
}
.field-name-field-rating .ajax-progress-throbber {
  display: none !important;
}

/**
 * Classes.
 */
.align-right {
  text-align: right;
}