html {
    background-color: #12255F;
}

body {
  font-family: Arial
  font-size: 87.5%;
}

pre, code, tt, samp, kbd, var {
    font-family: Consolas, Monaco, 'Courier New', Courier, monospace, sans-serif;
}

.wordwrap {
	/* wrap long text and urls */
	white-space: pre; /* CSS 2.0 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3.0 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */
	white-space: -moz-pre-wrap; /* Mozilla */
	word-wrap: break-word; /* IE 5+ */
}

#page-wrap input {
	height: 21px;/*	shows as 25px */
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	border: 1px solid grey;
	background-color: white;
	padding-left: 5px;
	padding-right: 5px;
}
#page-wrap input[type="file"]{
	border: none;
	padding: 5px 0px 20px 0px;
}

input.form-radio {
	width: auto;
}

select{
	-moz-border-radius: 8px;
	border-radius: 8px;
	border: solid 1px #fff;
	background-color: #0594e0;
	height: auto;
	width: 120px; /*was auto*/
	padding: 3px 0px 5px 8px;
	margin: 15px 5px;
	color: #fff;
}

img.image-style-thumbnail
{
	max-width: inherit;
}

#block-gtranslate-gtranslate
{
	float: left;
	width: auto;
}
#block-gtranslate-gtranslate > div > div.block-content.content > select
{
	text-transform: lowercase;
	width: auto;
}

input[type="text"], input[type="password"], textarea{
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	padding: 5px 0;
        max-width:90%
}

input[type="search"]#edit-search-block-form,
input[type="search"]#edit-search-block-form--2 {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	width: 158px;
	margin: 10px 0px;
}

body.page-transaction .transaction-operations > .undo.first.last a,
#user-register-form input[type="submit"]:first-child:last-child,
.node-page input[type="submit"]:first-child:last-child,
.join-button:first-child:last-child
{
	margin: 15px auto;
	display: table;
}

body.page-transaction .transaction-operations > .undo.first.last a,
#user-register-form input[type="submit"]:first-child:last-child,
.node-page input[type="submit"]:first-child:last-child
{
	text-transform: capitalize;
}

/* Homepage-specific */
body.front.not-logged-in #header,
body.front.not-logged-in div.messages
{
	margin: 0px;
}

body.front #block-system-main,
body.front #block-system-main .node
{
	margin: 0px;
}

.node-type-proposition #block-system-main > div > div.link-wrapper > ul > li.join {
	display: none;
}
.node-type-proposition .node-proposition .link-wrapper {
	text-align: center;
}

textarea {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}

.node-page p,
.node-page h1,
.node-page h2,
.node-page h3,
.node-page h4,
.node-page h5,
.node-page h6,
body.page-user #content,
#block-system-main > .node-proposition
/* any other content elements, etc */ {
	margin-left: 30px;
	margin-right: 30px;
	padding-left: 0px;
	padding-right: 0px;
}
/* switch it around for unpublished because the background looks gross otherwise */
#block-system-main > .node-proposition.node-unpublished
{
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 30px;
	padding-right: 30px;
	border-radius: 20px;

	/*make it more obvious it's unpublished, not an accidental style. Nobody asked me to do this */
	border-style: dotted;
	border-width: 2px;
	border-color: orange;
}

section#block-block-6 {
	display: none;
}

div.view-welcome div.views-field {
	 margin-bottom: 30px;
}

div.view-welcome span.field-content {
	font-size: 1.5em;
	font-weight: bold;
}

div.view-display-id-page_5 div.view-content table.views-view-grid tbody tr td,
div.view-display-id-page_3 div.view-content table.views-view-grid tbody tr td {
	width: 50%;
	vertical-align: top;

}
div.view-display-id-page_5 div.view-content table.views-view-grid tbody tr td,
div.view-display-id-page_3 div.view-content table.views-view-grid tbody tr td {
	width: 50%;
	vertical-align: top;
}

div.view-display-id-page_5 div table.views-view-grid tbody tr td div.views-field-name span a img,
div.view-display-id-page_3 div table.views-view-grid tbody tr td div.views-field-name span a img {
	float: right;
	margin-top: -15px;
	padding-right:	10px;
}

div.view-display-id-page_5 div table.views-view-grid tbody tr td div.views-field-name span a.username,
div.view-display-id-page_3 div table.views-view-grid tbody tr td div.views-field-name span a.username {
	float: right;
	padding-right:	10px;
}

.views-view-grid tbody tr td div.views-field-image a img
{
	margin-bottom: 20px;
	margin-right: auto;
	margin-left: auto;
	display: block;
}

div.view-display-id-page_5 div table.views-view-grid tbody tr td div.views-field-body,
div.view-display-id-page_3 div table.views-view-grid tbody tr td div.views-field-body {
	padding: 0px 10px 0px 10px;
}

div.view-display-id-page_5 div table.views-view-grid tbody tr td div.views-field-profile-address-locality,
div.view-display-id-page_3 div table.views-view-grid tbody tr td div.views-field-profile-address-locality {
	padding-bottom: 10px;
}

table.views-view-grid span.tb-offer-location{
	float: right;
	padding-right: 10px;
	font-weight: bold;
	font-size: 1.1em;

}

span.tb-offer-location,
.views-field-profile-address-locality{
	text-transform: capitalize;
}

table.views-view-grid div.views-field-name > span > span.tb-byline {
	float: right;
}

div.view-display-id-page_5 div table.views-view-grid tbody tr td div.views-field-name span em.placeholder,
div.view-display-id-page_3 div table.views-view-grid tbody tr td div.views-field-name span em.placeholder {
	padding-left: 10px;
}

div.view-display-id-page_5 div table.views-view-grid,
div.view-display-id-page_3 div table.views-view-grid {
	border: none;
}

div.view-display-id-page_5 div table.views-view-grid tr,
div.view-display-id-page_3 div table.views-view-grid tr {
	border: none;
	border-top: none;
}

body.page-offers #edit-profile-address-postal-code {
	width: 189px;
}

span.tb-offer-title {
	margin-right: 5px;
}

div.view-display-id-page_5 div table tr >td div.views-field-name > span > span.username{
	margin-left: 10px;
}

.views-field-body {
	padding-top: 20px;
}

views-field-view-node {
	margin-top: 20px;
}


input#edit-submit-ow-offers,
input#edit-submit-ow-wants,
input#edit-submit-transactions,
input#edit-submit-member-list,
input#edit-submit-recent-news,
input#edit-submit-events,
input#edit-submit,
input#edit-submit--2,
input#edit-back,
input#print-this-page,
body.page-transaction .transaction-operations > .undo.first.last a,
#user-register-form input[type="submit"]:first-child:last-child
{
	background-color: #7fcce8;
	font-weight: bold;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	border-width: 0px;
	padding: 0.4em 2em;
	text-transform: uppercase !important;
	font-size: 1.15em;
	height: auto;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	display: block;
}
a.join-button:link,
a.join-button:hover,
a.join-button:focus,
a.join-button:active,
a.join-button:link:hover
{
	text-align: center;
	color: #000000 !important;
	font-weight: bold;
	text-decoration: none;
}

fieldset {
	-moz-border-top-left-radius: 8px;
	-webkit-border-top-left-radius: 8px;
	border-top-left-radius: 8px;
}

fieldset#edit-mail {
	-moz-border-bottom-left-radius: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-moz-border-bottom-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	-moz-border-top-right-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border-top-right-radius: 8px;
}

fieldset#edit-broadcast {
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

#edit-end-day,
#edit-end-month,
#edit-end-year {
	width: auto;
}

body.node-type-proposition img.image-style-large {
	 padding: 1em;
	 margin-left: auto;
	 margin-right:auto;
	 display: block;
}
body.node-type-proposition img.image-style-large[src*="generic-offer-or-need"]
{
	width: 61px;
}
body.node-type-proposition img.image-style-large[src*="Time%20banking_icons"]
{
	width: 80px;
}

body.node-type-proposition div.field.field-name-body.view-mode-full{
	margin-top: 20px;
}
body.node-type-proposition div.node-proposition div.proposition-links ul > li > a:visited,
body.node-type-proposition div.node-proposition div.proposition-links ul > li > a:link {
	color: #0594e0;
}


div.node-event > div.content > section
article.node-event > div.node-content {
	margin-bottom: 20px;
}

article > div > div.field.view-mode-full > div > figure > img{
	padding-bottom: 20px;
}

div.views-row > div.news-title-date > div.news-title > a > h4 {
	font-size: 1.4em;
	margin-bottom: 1px;
}

div.views-row > div.news-title-date {
	clear: both;
	display: table;
	width: 97%;
	border-bottom: 1px solid rgba(128, 128, 128, 0.58);
}

div.views-row > div.news-title-date > div.news-title {
	float: left;
}

div.views-row > div.news-title-date > div.news-date {
	float: right;
	padding-top: 33px;
}

.news-image >	a > img {
	float: left;
}

.view-recent-news img {
	padding-bottom: 20px;
	padding-top: 20px;
}

div.views-row div.news-body {
	padding-top: 20px;
}

body.page-user #profile-information {
	overflow: hidden;
}
body.page-user #profile-information > * {
	float: left;
}
body.page-user #profile-picbox {
	float: right;
}

body.page-user #profile-other {
	margin-top: 30px;
}

/* User Profile borrowed from sky_seldulac theme*/
body.page-user #profile-information {
	float: left;
	width: 100%;
	clear: both;
	margin: 5px 0px 10px 0px;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
}

body.page-user #profile-details {
	float:left;
	width:50%;
}

body.page-user #profile-notes {
	float:left;
	margin-left: 1em;
}

body.page-user div.offline-contact {
	border: none;
	box-shadow: 2px 2px 2px 1px rgb(136, 136, 136);
	-moz-box-shadow:2px 2px 2px 1px rgb(136, 136, 136);
	width:100%;
}

body.page-user #profile-stats {
	float:left;
	width:100%;
	clear:both;
	margin:0px 0px 10px 0px;
	padding:0px 0px 5px 0px;
	border-bottom: 1px solid #ccc;
}

/* Make category go on new line, even for responsive */
.views-table span.cat,
body.page-allneeds #block-system-main .views-table tbody .views-field-title > span.cat,
body.page-needs #block-system-main .views-table tbody .views-field-title > span.cat,
body.page-alloffers #block-system-main .views-table tbody .views-field-title > span.cat,
body.page-offers #block-system-main .views-table tbody .views-field-title > span.cat
{
	display: block;
}

img.image-style-thumbnail[width="75"] {
	padding-left: 12.5px;
	padding-right: 12.5px;
}
img.image-style-thumbnail[width="65"] {
	padding-left: 17.5px;
	padding-right: 17.5px;
}
img.image-style-thumbnail[width="55"] {
	padding-left: 22.5px;
	padding-right: 22.5px;
}
img.image-style-thumbnail[src*="generic-offer-or-need"]{
	width: 48px;
	padding-left: 26px;
	padding-right: 26px;
}
img.image-style-thumbnail[src*="Time%20banking_icons"]{
	width: 60px;
	padding-left: 20px;
	padding-right: 20px;
}

.positive-balance,
.views-table tbody .views-field-income
{
	color: green;
}
.negative-balance,
.views-table tbody .views-field-expenditure
{
	color: red;
}
@media only screen and (max-width: 1000px)
{
	body.page-allneeds #block-system-main .views-table tbody,
	body.page-allneeds #block-system-main .views-table tbody *,
	body.page-needs #block-system-main .views-table tbody,
	body.page-needs #block-system-main .views-table tbody *,
	body.page-alloffers #block-system-main .views-table tbody,
	body.page-alloffers #block-system-main .views-table tbody *,
	body.page-offers #block-system-main .views-table tbody,
	body.page-offers #block-system-main .views-table tbody * {
		display: block;
		padding: 0;
	}
	body.page-allneeds #block-system-main .views-table tbody > tr,
	body.page-needs #block-system-main .views-table tbody > tr,
	body.page-alloffers #block-system-main .views-table tbody > tr,
	body.page-offers #block-system-main .views-table tbody > tr
	{
		float: left;
		padding: 3%;
		border: 0;
		width: 94%;
	}
	body.page-allneeds #block-system-main .views-field-picture,
	body.page-needs #block-system-main .views-field-picture,
	body.page-alloffers #block-system-main .views-field-picture,
	body.page-offers #block-system-main  .views-field-picture
	{
		display: none;
	}
	body.page-allneeds #block-system-main .views-field-image,
	body.page-needs #block-system-main .views-field-image,
	body.page-alloffers #block-system-main .views-field-image,
	body.page-offers #block-system-main .views-field-image
	{
		float: right;
	}
	body.page-allneeds #block-system-main .views-table tbody .views-field-title > *,
	body.page-allneeds #block-system-main .views-table tbody .views-field-profile-address-dependent-locality > *,
	body.page-allneeds #block-system-main .views-table tbody .views-field-changed > *,
	body.page-needs #block-system-main .views-table tbody .views-field-title > *,
	body.page-needs #block-system-main .views-table tbody .views-field-profile-address-locality > *,
	body.page-needs #block-system-main .views-table tbody .views-field-changed > *,
	body.page-alloffers #block-system-main .views-table tbody .views-field-title > *,
	body.page-alloffers #block-system-main .views-table tbody .views-field-profile-address-dependent-locality > *,
	body.page-alloffers #block-system-main .views-table tbody .views-field-changed > *,
	body.page-offers #block-system-main .views-table tbody .views-field-title > *,
	body.page-offers #block-system-main .views-table tbody .views-field-profile-address-locality > *,
	body.page-offers #block-system-main .views-table tbody .views-field-changed > *
	{
		display: inline;
	}
	body.page-offers #block-system-main .views-table tbody .views-field-changed > br
	{
		display: none;
	}
	body.page-allneeds #block-system-main .views-table tbody .views-field-changed:before,
	body.page-needs #block-system-main .views-table tbody .views-field-changed:before,
	body.page-alloffers #block-system-main .views-table tbody .views-field-changed:before,
	body.page-offers #block-system-main .views-table tbody .views-field-changed:before
	{
		content: "Last updated: ";
		font-weight: bold;
	}
	body.page-allneeds #block-system-main .views-table tbody .views-field-profile-address-dependent-locality:before,
	body.page-needs #block-system-main .views-table tbody .views-field-profile-address-locality:before,
	body.page-alloffers #block-system-main .views-table tbody .views-field-profile-address-dependent-locality:before,
	body.page-offers #block-system-main .views-table tbody .views-field-profile-address-locality:before
	{
		content: "Location: ";
		font-weight: bold;
	}

	.view-transactions .views-table tbody,
	.view-transactions .views-table tbody *,
	.view-statement .views-table tbody,
	.view-statement .views-table tbody *
	{
		display: block;
		padding: 0;
	}
	.view-transactions .views-table tbody > tr,
	.view-statement .views-table tbody > tr
	{
		float: left;
		padding: 2%;
		border: 0;
		width: 96%;
	}
	/* Because the layout breaks in IE9 without these float rules.
	 * I don't want to apply them by default because they're not as pretty */
	html.ie9 .view-transactions .views-table tbody .views-field-income,
	html.ie9 .view-transactions .views-table tbody .views-field-expenditure,
	html.ie9 .view-transactions .views-table tbody .views-field-worth,
	html.ie9 .view-transactions .views-table tbody .views-field-profile-address-name-line,
	html.ie9 .view-transactions .views-table tbody .views-field-profile-address-name-line-1,
	html.ie9 .view-transactions .views-table tbody .views-field-income,
	html.ie9 .view-transactions .views-table tbody .views-field-expenditure,
	html.ie9 .view-transactions .views-table tbody .views-field-operations,
	html.ie9 .view-transactions .views-table tbody .views-field-name,
	html.ie9 .view-statement .views-table tbody .views-field-income,
	html.ie9 .view-statement .views-table tbody .views-field-expenditure,
	html.ie9 .view-statement .views-table tbody .views-field-balance,
	html.ie9 .view-statement .views-table tbody .views-field-income,
	html.ie9 .view-statement .views-table tbody .views-field-expenditure,
	html.ie9 .view-statement .views-table tbody .views-field-operations,
	html.ie9 .view-statement .views-table tbody .views-field-name
	{
		float: left;
		width: 100%;
	}
	.views-table tbody .views-field-income > *,
	.views-table tbody .views-field-expenditure > *,
	.views-table tbody .views-field-worth > *,
	.views-table tbody .views-field-profile-address-name-line,
	.views-table tbody .views-field-profile-address-name-line-1,
	.views-table tbody .views-field-profile-address-name-line > *,
	.views-table tbody .views-field-profile-address-name-line-1 > *,
	.views-table tbody .views-field-balance > *
	{
		display: inline;
	}
	.views-table tbody .views-field-created
	{
		float: right;
		font-size: 0.8em;
	}
	.views-table tbody .views-field-name
	{
		font-weight: bold;
		font-size: 1.1em;
	}
	.views-table tbody .views-field-name a:link
	{
		font-weight: bold;
	}
	/* "given", but the CSS class name is actually right */
	.views-table tbody .views-field-income > *:first-child:before
	{
		content: "Given: ";
		font-weight: bold;
	}
	/* "received", but the CSS class name is actually right */
	.views-table tbody .views-field-expenditure > *:first-child:before
	{
		content: "Received: ";
		font-weight: bold;
	}
	/* "balance" */
	.views-table tbody .views-field-balance:before
	{
		content: "Balance: ";
		font-weight: bold;
	}
	/* "giver" */
	.views-table tbody .views-field-profile-address-name-line:after
	{
		content: " gave time to ";
		font-style: italic;
	}
/*matslats attempt to remove the above from the digest email.*/
div.view-offers-wants-digest tbody tr td.views-field-profile-address-name-line:after{content:""}
	/* "worth" */
	.views-table tbody .views-field-worth:before
	{
		content: "Time: ";
		font-weight: bold;
	}
	.views-table tbody .views-field-operations .feedback
	{
		width: 100%;
		display: inline-block;
	}
	.views-table tbody .views-field-operations .undo,
	.views-table tbody .views-field-operations .view
	{
		width: 50%;
		display: inline-block;
	}
	.views-table tbody .views-field-operations .feedback a:link
	{
		margin: 5px;
	}
}
.views-table tbody .views-field-operations
{
	text-align: center;
}
@media only screen and (min-width: 670px) and (max-width: 1000px)
{
	.view-transactions .views-table tbody > tr,
	.view-statement .views-table tbody > tr
	{
		width: 46%;
	}
	.view-transactions .view-statement .views-table tbody > tr.odd,
	.view-statement .views-table tbody > tr.odd
	{
		clear: left;
	}
}
.views-table tbody .views-field-operations .feedback a:link
{
	display: inline-block;
	padding: 0 20px;
	border-radius: 8px;
	background-color: #7fcce8;
	color: #000000;
	margin-bottom: 5px;
}
@media only screen and (min-width: 1001px)
{
	.views-table tbody .views-field-operations .undo,
	.views-table tbody .views-field-operations .view
	{
		margin: 1em;
	}
}

body.page-user #profile-picbox
{
	text-align: center;
}
body.page-user #profile-other .more-link
{
	padding: 0px 33px;
}
body.page-user #profile-other .balance-history
{
	float: right;
	height: auto !important;
}
body.page-user #my-account-balance
{
	padding-top: 1em;
	padding-bottom: 1em;
	width: 100%;
}
body.page-user #my-account-balance > h5,
body.page-user #my-account-balance > h6
{
	display: inline;
	font-size: 1.3em;
}
body.page-user #my-account-balance > h6
{
	font-weight: inherit;
}

body.page-user #stats-col, /* shouldn't be id, remove this soon */
body.page-user .stats-col {
	float: left;
}

body.page-user #stats-col:first-child, /* shouldn't be id, remove this soon */
body.page-user .stats-col:first-child {
	float: right;
	text-align: right;
}

body.page-user #stats-col:first-child *, /* shouldn't be id, remove this soon */
body.page-user .stats-col:first-child * {
	margin-left: auto;
}

body.page-user .limits-gauge tbody {
	border: 0px none;
}

body.page-user #profile-other {
	float:left;
	width:100%;
	clear:both;
	margin:0px 0px 10px 0px;
	padding:0px 0px 5px 0px;
}
body.page-user .profile .picture {
	float: right;
}
body.page-user .profile h3{
	clear:both;
	border-bottom:none;
}

body.page-user div.addressfield-container-inline br {
	display: none;
}

body.page-user section.history {
	margin-top: 30px;
}

body.page-user section.history dd {
	margin: 0px;
}

body.page-user div.view-mc-directory-user > div > table.views-table > caption {
	font-size: 1.5em;
	font-weight: bold;
}

#edit-image-und #edit-image-und-0-upload-button
body.page-user-statement .view .date-nav-wrapper .date-prev,
body.page-user-statement .view .date-nav-wrapper .date-next
{
	border-radius: 8px;
	background-color: #7fcce8;
	color: #000000;
	border: none;
}
body.page-user-statement .view .date-nav-wrapper .date-prev a
{
	margin-right: 8px;
}
body.page-user-statement .view .date-nav-wrapper .date-next a
{
	margin-left: 8px;
}

body.page-user-recommendations div.view-comments-recent div.views-field-name > span > a:visited,
body.page-user-recommendations div.view-comments-recent div.views-field-name > span > a:link {
	color: #0594e0;
}

body.page-user-recommendations div.view-comments-recent div.view-header {
	font-size: 1.5em;
	font-weight: bold;
	margin-bottom: 10px;
}


form#user-register-form fieldset{
	border-radius: 10px;
	border: thin solid black;
	margin:20px 0;
	padding: 20px;
}

form#user-register-form fieldset legend{

}

body.page-transaction .transaction-operations > .undo.first.last a,
#user-register-form input[type="submit"]:first-child:last-child
{
	display: block;
	background-color: #fcb70f;
}
body.page-transaction .transaction-operations > .undo.first.last a
{
	color: #000000;
	display: inline;
}
body.page-transaction div.transaction.certificate ul.transaction-operations li
{
	border: none;
	padding: 0;
	background-color: #FFFFFF;
	background: none;
}

form.node-form fieldset {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}

#block-system-main > div > div.view-content > table > tbody > tr > td.views-field.views-field-created{
	background-color: #fff;
}

#block-system-main > div > div.view-content > table > tbody > tr > td.views-field-operations > ul > li.view {
	padding-right: 10px;
}

#transaction-operation-form > div {
	text-align: center;
}


div.node-event > div.content > section.field-name-event-date {
	margin-bottom: 1em;
}

/* matslats hack is easier than reformatting the addressfield */
div.addressfield-container-inline span.organisation-name:before{
	content:'Community: '; font-weight:800;

}
div.addressfield-container-inline span.organisation-name {
	display: block;	/*	to put 'Community: ' on a new line */
	margin-top: 1em;
	margin-bottom: 1em;
}

div.node-event > div.content > div.field.field-name-image > div > figure > img{
	margin-bottom: 1em;
}

div.node-event > div.submitted > div.user-picture {
	margin-top: 2em;
	margin-bottom: 1em;
}

div.node-event > div.submitted > time {
	margin-bottom: 1em;
}

div.node-event > ul.links {
	margin-top: 2em;
}

.page-contact
.form-item, .form-actions {
	margin-left: 0;
}

.page-contact
.form-item-message {
	margin-right: 1em;
}

#content {
	margin-left: 1em;
	margin-right: 1em;
}


#page {
	background-color: white;
	-webkit-box-shadow: 2px 2px 15px 2px #D3D3D3;
	-moz-box-shadow: 2px 2px 15px 2px #D3D3D3;
	box-shadow: 2px 2px 15px 2px #D3D3D3; /* a.k.a. lightgrey; */
}
#page .container {}

#header {
	margin: 0.85em 0px;
}

div#content-inner {
	padding: 3%;
	margin: 0 5%;
	border: 0;
	width: 90%;
	border-bottom: 6px solid #f5f5f5;
	overflow:hidden;
}
div#content-inner > div {
	background-color: #fff;
	padding: 1em;
}
form#user-register-form div.grippie {
	display:none;
}

#content {
	color: #333;
}

footer {
  background-color: #133D8D;
  text-align: center;
  font-size: 0.9em;
  color: #fff;
  line-height: 21px;
}
div.w3-center footer a{
  color: #fff;
}

.social-share{
  text-align:center;
  width: 200px;
  margin-top:25px;
}

#logo img {
  vertical-align: bottom;
  float: left;
}

#site-name{
	font-size: 2.25em;
	color: #00AAF4;
}
#site-name,
body.page-notfound.no-sidebars #block-system-main,
body.page-denied.no-sidebars #block-system-main
{
	padding: 0.5em 0px 0px 285px; /* 285px is logo width */
}
#site-name{
	padding-right: 56px; /* To get the title aligning with centred content */
}
#site-name,
body.page-notfound #block-system-main,
body.page-denied #block-system-main
{
	margin: 0;
	text-align: center;
}
#site-name a {
	color: #00aaf4;
}

#site-name a:link,
#site-name a:visited {
	text-decoration: none;
}

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

#site-slogan {
	margin: 0;
}

.feed-details dt,
.feed-details dd {
	display: inline;
	margin: 0;
}

ul.links {
	margin: 0;
	padding: 0;
}

ul.links.inline {
	display: block;
}

ul.links li {
	display: inline;
	list-style: none;
	padding: 0 10px 0 0;
}
a:link, a:active, a.active, a:focus, a:visited, a:link:hover   {
	color: #0594e0;
	text-decoration: none;
}

.nav {
	clear: both;
	margin: 10px 0;
}

.nav ul, .nav ul.menu {
	margin: 0;
	padding: 0;
}

.nav li, .nav ul.menu li {
	display: inline;
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav li a, .v ul.menu li a {
	text-transform: lowercase;
}
nav ul.menu li a {
	display: block;
	white-space: nowrap;
	padding: 0 10px;
	text-transform: lowercase;
}

ul.sf-menu {
	margin-bottom: 0;
}

ul.sf-menu a {
	border-left: 0;
	border-top: 0;
	padding: 0 10px;
	text-decoration: none;
	height: 2.5em;
	line-height: 2.5em;
}

ul.sf-menu li:hover,
ul.sf-menu li.sfHover {
	outline: 0;
}

ul.sf-menu a:focus,
ul.sf-menu a:hover,
ul.sf-menu a:active {
	outline: 0;
}


.block-superfish ul {
	margin: 0 !important;
	padding: 0 !important;
}

.block-superfish li {
	margin: 0 !important;
	padding: 0 !important;
}

.sf-vertical {
	width: 100%;
}

.sf-vertical li {
	width: 100%;
}

.sf-vertical li:hover ul,
.sf-vertical li.sfHover ul {
	left: 100%;
	top: 0;
	margin: 0;
	padding: 0;
}

.sf-vertical li a {
	padding: 0 10px;
}

.sf-navbar {
	padding-bottom: 0 !important;
}

.sf-menu.sf-style-default a {
	padding: 0 10px;
}

.at-mt .at-menu-toggle,
.at-mt .at-menu-toggle ul,
.at-mt .at-menu-toggle ul.menu {
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

.at-mt .at-menu-toggle-button {
	margin: 0;
}

.at-mt .at-menu-toggle ul a {
	padding: 0 10px;
	white-space: nowrap;
}

div.menu-item-1050 a, div.menu-item-1952 a, div.menu-item-1917 a, div.menu-item-2036 a{
	background-image: url('../images/icons/home.png');
}

ul.menu li{
	list-style-image: none;
	list-style-type: none;
	text-align: center;
}
div.icon-nav-wrapper ul.menu{
	text-align: center;
}
div.icon-nav-wrapper ul.menu li a:before{
	margin-left: 15px;
	margin-bottom: 3px;
	display: block;
	background-size: 50px 50px;
	width: 50px;
	height: 50px;
	content:"";
}
/**
 * Main menu icons
 */
li.menu-mlid-1240 a::before {
	background-image: url('../images/icons/edit.png');
}

li.menu-mlid-452 a::before, li.menu-mlid-764 a::before,
li.menu-mlid-452 a::before, li.menu-mlid-3415 a::before {
	background-image: url('../images/icons/offers.png');
}

li.menu-mlid-654 a::before, li.menu-mlid-765 a::before,
li.menu-mlid-654 a::before, li.menu-mlid-3416 a::before {
	background-image: url('../images/icons/needs.png');
}

li.menu-mlid-712 a::before {
	background-image: url('../images/icons/community.png');
}

li.menu-mlid-769 a::before {
	background-image: url('../images/icons/news.png');
}

li.menu-mlid-774 a::before {
	background-image: url('../images/icons/events.png');
}
li.menu-mlid-2185 a::before {
	background-image: url('../images/icons/faq.png');
}

/*
 * primary task icons
 */
section#main-content ul.tabs {
    margin:0;
    float:right;
}
section#main-content ul.tabs li a:before{
	margin-left: 15px;
	display: block;
	background-size: 50px 50px;
	width: 50px;
	height: 50px;
	content:"";
}
section#main-content ul.tabs li a[href="/communities"]:before,
section#main-content ul.tabs li a[href="/news/map"]:before{
	background-image: url('../images/icons/map.png');
}
section#main-content ul.tabs li a[href="/communities/list"]:before,
section#main-content ul.tabs li a[href="/news"]:before {
	background-image: url('../images/icons/list.png');
}
section#main-content ul.tabs li a[href="/communities/activity_record"]:before{
	background-image: url('../images/icons/activity.png');
}
section#main-content ul.tabs li a[href="/events"],
section#main-content ul.tabs li a[href="/events/list"]{
	display:none;
}

section#main-content ul.tabs li a[title="View"]:before {
	background-image: url('../images/icons/info.png');
}
section#main-content ul.tabs li a[title="Activity"]:before {
	background-image: url('../images/icons/activity.png');
}

ul.pager {
	clear: both;
	margin: 0;
	text-align: center;
}

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

ul.pager li {
	background-image: none;
	display: inline;
	padding: .5em;
}

ul.pager li.pager-current {
	font-weight: 700;
}

.block ul.pager li {
	margin: 0;
}

#skip-link {
	left: 50%;
	margin-left: -6.5em;
	margin-top: 0;
	padding: 0 0.5em;
	position: absolute;
	width: 12em;
	z-index: 50;
}

#skip-link a {
	background: #444;
	background: rgba(0,0,0,0.6);
	color: #fff;
	display: block;
	line-height: 2;
	padding: 0;
	text-align: center;
	text-decoration: none;
}

#skip-link a:link,
#skip-link a:visited {
	background: #444;
	background: rgba(0,0,0,0.6);
	color: #fff;
	display: block;
	line-height: 2;
	padding: 0;
	text-align: center;
	text-decoration: none;
}

#skip-link a:hover,
#skip-link a:focus,
#skip-link a:active {
	outline: 0;
}

ul.primary {
	border-bottom-color: #ccc;
	margin: 20px 0;
	padding: 0 0 0 5px;
}

ul.primary li {
	display: block;
	float: left;
	margin: 0 1px -1px;
}

ul.primary li a {
	background-color: #f5f5f5;
	border-color: #ccc;
	margin-right: 1px;
	padding: 0 10px;
	display: block;
	float: left;
	height: 1.5em;
	line-height: 1.5em;
}

ul.primary li a:hover,
ul.primary li a:focus {
	background-color: #eee;
	border-color: #ccc;
}

ul.primary li.active a,
ul.primary li.active a:hover,
ul.primary li.active a:focus {
	background-color: #fff;
	border-bottom-color: #fff;
}

ul.secondary {
	border-bottom: 1px solid #ccc;
	margin: 1em 0 0;
	padding: 0 .3em 1em;
}

ul.secondary li {
	border-right: 0;
	list-style: none;
	padding: 0 10px 0 0;
}

ul.secondary li a {}

ul.secondary li a:hover,
ul.secondary li a.active {
	border-bottom: none;
	text-decoration: underline;
}

ul.action-links {
	margin: 20px 0 0;
	list-style: none;
}

.field-label-inline .field-label {
	margin: 0;
}

/*
 * Labels are h2 in Adaptivetheme. Use a strong selector to mitigate unwanted
 * ineritance issues
 */
.field-label {
	font-size: 1em;
	font-weight: 700;
	font-family: inherit;
	line-height: inherit;
	margin-bottom: 0;
}




/*
 * Taxonomy
 */
.field-type-taxonomy-term-reference {
	margin-bottom: 1.5em;
}

.field-type-taxonomy-term-reference.field-label-inline .field-items {
	margin: 0;
	padding: 0;
}

.field-type-taxonomy-term-reference.field-label-inline .field-item {
	display: inline;
	list-style: none;
	padding: 0 10px 0 0;
}

/*
 * Float left setting
 */
.ia-l .field-type-image figure,
.iat-l .field-type-image figure {
	margin: 5px 20px 15px 0;
}

/*
 * Centered setting
 */
.ia-c .field-type-image figure,
.iat-c .field-type-image figure {
	margin: 5px auto 15px;
}

/*
 * Float right setting
 */
.ia-r .field-type-image figure,
.iat-r .field-type-image figure {
	margin: 5px 0 15px 20px;
}


/* =============================================================================
 *	 Block Styling
 * ========================================================================== */

/*
 * Main wrapper for most blocks, block_system_main does not have it
 */
.block {
	margin-bottom: 20px;
}

/*
 * Inner wrapper for most blocks, good for margin, padding and borders,
 * block_system_main does not have it
 */
.block-inner {
	margin: 0px;
}

/*
 * Block title
 */
.block-title {
	margin: 0;
}

.block-content ul,
.block-content ol {
	padding: 0 0 0 15px;
}

.block-content li {
	margin: 0;
	padding: 0;
}

/*
 * "Search form" block
 */
#block-search-form {
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}
#block-search-form input[type="submit"]{
	background-color: transparent;
	background-image: url(images/search-icon-2.png);
	background-repeat: no-repeat;
	background-position: 0% 50%;
	padding: 0px 0px;
	color: transparent;
	overflow: hidden;
	border: none;
	width: 20px /* 32px; */
}


#login_link {
	padding: 3px 15px 5px 15px;
	margin: 15px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	top: 10px;
	float: right;
	position: relative;
	background-color: #037ec0;
	border-style: inset;
	border-width: thin;
	border-radius: 6px;
	line-height: 1;
	height: auto;
	border-color: transparent;
	text-transform: none;
	font-size: 0.9em;
	color: white;
}

form#user-login{
	text-align: center
}

form#user-login div.description{
	display:none;
}

.node {
	margin-bottom: 20px;
}

.node .node-title {
	margin: 0;
}

/*
 * Wrapper for the list of comments and its titles
 */
#comments {
	margin: 1.5em 0;
}

#comments h2.comment-title {
	margin: 0;
}

#comments h2.comment-form {
	margin: 0;
}

/*
 * Wrapper for a single comment
 */
.comment {
	margin-bottom: 20px;
}



.comment-title {
	margin: 0;
}

.new {
	color: #c00;
}


.indented {
	margin-left: 40px;
}

.form-item input.error,
.form-item textarea.error,
.form-item select.error {
	border: 1px solid #c00;
}

.form-item label {
	font-weight: normal;
}

/*
 * Highlight marks and form required mark
 */
.marker,
.form-required {
	font-size: 14px!important;
	color: #c00;
}

.form-item .description {
	font-size: 0.85em;
	font-style:italic;
}

/*
 * The submit button
 */

.container-inline div,
.container-inline label {
	display: inline;
}

/*
 * Define consistent borders
 */
fieldset {
	border: 1px solid #ccc;
	margin-bottom: 20px;
}

/*
 * Buttons used by contrib modules like Media
 */
a.button {
	-webkit-appearance: button;
	-moz-appearance: button;
	appearance: button;
}

/*
 * Password confirmation
 */
.password-parent,
.confirm-parent {
	margin: 0;
}

table {
	margin: 10px 0;
	padding: 0;
	width: 100%;
}

table.sticky-header {
	z-index: 10;
}

table,thead,tbody,tr,th,td {
	border-color: #ccc;
}

table,td,th {
	vertical-align: middle;
}

table {

	border: none;

} /* nsw_timebanking theme, tjs 2015Jan02	 */


caption,th,td {
	text-align: left;
}

thead tr {
	font-weight: 700;
	/*background-image: -webkit-linear-gradient(top,#EDEDED 20%,#DFDFDF 80%);*/
	background-color: #2c2c2c;
	background-image: none;
	color:#fff;
}

td,th {
	border-bottom: 0;
	margin: 0;
	padding: 5px 7px;
}

tbody {}

tbody tr {
	border: none;
}

tr.odd{
	background: #fff;
}

tr.even{
	background: #fff;
}

tr.info {
	border-bottom: 0;
	background-color: #f5f5f5;
}

tr.even,tr.odd,tr:nth-child(2n+2) {
	border: none;
}

tr.drag {}

tr.drag-previous {}

tr.odd td.active {
	background-color: #eee;
}

tr.even td.active {
	background-color: #ebebeb;
}

tr {
	border: none;
}


/* =============================================================================
 *	 Messages
 * ========================================================================== */

/* Left and right margin are set by the global gutter width */

div.messages {
	margin-bottom: 10px;
	margin-top: 10px;
	margin-left: 0px;
	margin-right: 0px;
}

div.messages ul {
	margin-top: 0;
	margin-bottom: 0;
}

/*
 * Otherwise these elements will appear below the "Unpublished" text
 */

.lt-ie8 .node-unpublished > *,
.lt-ie8 .comment-unpublished > * {
	position: relative;
}


/* =============================================================================
 *	Maintenance pages
 * ========================================================================== */

.maintenance-page {}
.maintenance-page .container {
	padding: 40px 0;
}

.maintenance-page #site-name,
.maintenance-page #page-title {
	margin: 0;
}

.db-offline {}

.db-offline .container {
	margin: 0 auto;
	padding: 40px 0;
	width: 100%;
	max-width: 960px;
}

.db-offline div.messages {
	margin: 20px 0 0;
}

.db-offline #content {
	padding: 20px 0;
}


/*
 * NSW Themebanking custom CSS classes
* Timebanking theme specific pages
*/

/*matslats hack fix of the leaflet map module which has problems with the initial size of the bubbles*/
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
	min-width: 135px;
}

/* apparently this is needed because margins of floated stuff works differently */
#block-views-transactions-who-gave-what .view-content > .views-row
{
	margin-bottom: 0px;
}


#block-views-transactions-who-gave-what a:link:hover,
#latest-wrapper a:link:hover
{
	text-decoration: underline;
}
#block-views-transactions-who-gave-what .view-content > .views-row:nth-child(odd)
{
	width: 47%;
	float: left;
	clear: left;
	padding-right: 3%;
}
#block-views-transactions-who-gave-what .view-content > .views-row:nth-child(even)
{
	width: 47%;
	float: right;
	padding-left: 3%;
}
#block-views-transactions-who-gave-what .view > div > div > div
{
	margin-left: 0px;
}

/* BELOW IS ONLY FOR LARGE DESKTOP SCREENS - PUT IN APPROPRIATE RESPONSIVE CSS FILE */
#latest-wrapper .view-ow-wants,
#latest-wrapper .view-id-ow_wants,
#latest-wrapper .view-ow-offers,
#latest-wrapper .view-id-ow_offers {
	padding: 3%;
	width: 44%;
	float: right;
}
.node-page p.content-banner img {
	float: right;
	/* half size */
	width: 50%;
	margin: 0px 0px 10px 20px;
}

form#mcapi-forms-form div#edit-created select{
	width: 4em;
}



.community-homepage-specific-links li{
	display: list-item;
	list-style: disc;
	padding: 0px 10px 0px 10px;
}

div.node-homepage ul.links li {
	display: inherit;
	text-align: center;
}
form div.addressfield-container-inline > div.form-item {
    margin-right:0;
    float:none;
}
