/*
Template name: Simple Magazine
Template URI: http://templates.arcsin.se/simple-magazine-website-template/
Release date: 2009-08-02
Last updated: 2009-08-10
Description: A simple and lightweight magazine styled website template.
Author: Viktor Persson
Author URI: http://arcsin.se/

This template is licensed under a Creative Commons Attribution 2.5 License:
http://templates.arcsin.se/license/

Seriously modified by Adrian Miller 2010-14...
*/
@font-face {
    font-family: 'AllerLightRegular';
    src: url('../fonts/aller_lt-webfont.eot');
    src: url('../fonts/aller_lt-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/aller_lt-webfont.woff') format('woff'),
        url('../fonts/aller_lt-webfont.ttf') format('truetype'),
        url('../fonts/aller_lt-webfont.svg#AllerLightRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
/*
   Reset
------------------------------------------------------------------- */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, textarea, input, select {margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 1em; font-family: inherit; vertical-align: baseline;}
table {border-collapse: collapse; border-spacing: 0;}
caption, th, td {text-align: left; font-weight: normal;}
table, td, th {vertical-align: middle;}
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: none;}
:focus {outline: 0;}


/*
   General
------------------------------------------------------------------- */
html {
	height: 100%;
	padding-bottom: 1px; /* force scrollbars */
}

body {
	background: #EEE;
	color: #334;
	font: normal 75% 'Source Sans', sans-serif;
	line-height: 1.5;
}
body#tinymce { background: #FFF; }

img { max-width:100%; }

#network-header, #site { margin: auto 2%; }


/*
   Menu Header Arrows
------------------------------------------------------------------- */

i {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

i.arrow_right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

i.arrow_left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

i.arrow_up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

i.arrow_down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

/*
   Typography
------------------------------------------------------------------- */

/* Headings */

h1,h2,h3,h4,h5,h6 {
	color: #444;
	font-weight: normal;
	line-height: 1;
	margin-bottom: 0.3em;
}
h4,h5,h6 {font-weight: bold;}

h1 {
	font-size: 2.6em;
}
h2 {font-size: 2em;}
h3 {font-size: 1.5em;}
h4 {font-size: 1.25em;}
h5 {font-size: 1.1em;}
h6 {font-size: 1em;}

h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin: 0;}

div.home_next_title_box { padding-top:10px; }

/* Links */

a:focus,a:hover {color: #357;}
a {
	color: #357;
	text-decoration: underline;
}
a.feed {
	background: url('../img/icon-feed.gif') no-repeat left center;
	padding-left: 18px;
}

/* More links */
a.more, .post-body a.more {
	font-weight: bold;
}


/* Text elements */

p {margin-bottom: 1em;}

abbr, acronym {border-bottom: 1px dotted #666;}
address {margin-bottom: 1.5em;}
blockquote {margin: 1.5em;}
del, blockquote { color:#666; }
em, dfn, blockquote, address {font-style: italic;}
strong, dfn, .strong {font-weight: bold;}
sup, sub {line-height: 0;}

pre {
	margin: 1.5em 0;
	white-space: pre;
}
pre,code,tt {
	font: 1em monospace;
	line-height: 1.5;
}


/* Lists */

li ul, li ol {margin-left: 1.5em;}
ul, ol {margin: 0 0 1.5em 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;}
dl.success-data dt{float:left; margin-top:1em;}
dl.success-data  dd{margin:1em 0 0 15em;}



/* Special lists */

ul.plain-list li, ul.nice-list li, ul.tabbed li {list-style: none;}

ul.tabbed {
	display: table;
	margin: 0 auto;
}
ul.tabbed li {float: left;}

ul.plain-list {margin: 0;}

ul.nice-list {margin-left: 0;}
ul.nice-list li {
	list-style: none;
	border-top: 1px solid #EEE;
	padding: 4px 0;
	position: relative; /* peekaboo bug fix for IE6 */
	min-width: 0; /* peekaboo bug fix for IE7 */
}
ul.nice-list li:first-child {border-top: none;}
ul.nice-list li .right {color: #555;}

.sg_contacts li { margin-bottom: 10px; }



/* Tables */

table {margin-bottom: 1.4em; width: 100%;}
th {font-weight: bold;}
thead th {background: #C3D9FF;}
th,td,caption {padding: 4px 10px 4px 5px;}
tr.even td {background: #F2F6FA;}
tfoot {font-style: italic;}
caption {background: #EEE;}

table.data-table {
	border: 1px solid #CCB;
	margin-bottom: 2em;
	width: 100%;
	font-size: 0.85em;
}
table.data-table th {
	background: #F0F0F0;
	border: 1px solid #DDD;
	color: #555;
	text-align: left;
}
table.data-table th.printable {
	background: #FEFEFE;
}
table.data-table tr {border-bottom: 1px solid #DDD;}
table.data-table td, table th {padding: 10px;}
table.data-table td {
	background: #F6F6F6;
	border: 1px solid #DDD;
}
table.data-table tr.even td {
	background: #FCFCFC;
}

table.data-table th.cell_center, table.data-table tr.even td.cell_center {
	text-align: center;
}

table.data-table td.cell_left {
	padding-right: 423px;
	text-align: right;
}
table.data-table td.cell_right {
	padding-left: 423px;
}

/* Diary table styling simpler */
table#diary-table
{
	border:none;
	margin:0;
	font-size:1em;
}
table#diary-table tr {
	background: #FFF;
	border:none;
}
table#diary-table td, table th {padding: 4px 2px;}
table#diary-table td {
	background: #FFF;
	border:none;
}
table#diary-table tr:nth-child(odd) td { background: #efefef; }
table#diary-table th {
	background: #FFF;
	border:none;
	border-bottom: 1px solid #CCB;
	color: #555;
	text-align: left;
	font-size:1.4em;
}
table#diary-table tr.month th {
	border:none;
}
table#diary-table tr.month h4 {
	margin-top:10px;
}
/* Booking Systems */

table.booking_slots_table {
	width:80px;
	float:left;
	table-layout:fixed;
	border-bottom:1px solid #999;
}
table.booking_slots_table div.booking-border {
	border:1px solid #999;
	width:100%;
	height:100%;
}
table.booking_slots_table th{
	font-size: 0.9em;
	height:30px;
	text-align: center;
	line-height:1.2em;
	overflow:hidden;
	padding:0;
}
table.booking_slots_table th div.booking-header{padding:3px 4px 0 2px;}
table.booking_slots_table td{
	font-size:0.75em;
	text-align:center;
	overflow:hidden;
	padding:0px;
	position:relative;
}
table.booking_slots_table td.clickable{	cursor:pointer; }
table.booking_slots_table td.clickable.front-end{ text-decoration:underline; }
div.cell {
	overflow:hidden;
	line-height:1.1em;
	padding:0px;
}
div.overlay {
	position:absolute;
	width:80px;
	height:100%;
	background:yellow;
	background:hsla(60,100%,50%,0.3);
}
.new_slot_form p {float:none;}
.slot.high0 {
	background:#FEA9A9;
	background:hsl(0,98%,83%);
}
.slot.high100 {
	background:#C5FEA9;
	background:hsl(100,98%,83%);
}
.slot.high200 {
	background:#A9E2FE;
	background:hsl(200,98%,83%);
}
.slot.high300 {
	background:#E2A9FE;
	background:hsl(280,98%,83%); /* -20 */
}
.slot.high40 {
	background:#FEFEA9;
	background:hsl(60,98%,83%); /* +20 */
}
.slot.high140 {
	background:#A9FED4;
	background:hsl(150,98%,83%); /* +10 */
}
.slot.high240 {
	background:#A9A9FE;
	background:hsl(240,98%,83%);
}
.slot.high340 {
	background:#FEA9E2;
	background:hsl(320,98%,83%); /* -20 */
}
.slot.high80 {
	background:#E2FEA9;
	background:hsl(80,98%,83%);
}
.slot.high180 {
	background:#A9FEFE;
	background:hsl(180,98%,83%);
}
.slot.high280 {
	background:#FEA9FE;
	background:hsl(300,98%,83%);
}
.slot.high20 {
	background:#FEC5A9;
	background:hsl(20,98%,83%);
}
.slot.high120 {
	background:#A9FEA9;
	background:hsl(120,98%,83%);
}
.slot.high220 {
	background:#A9C5FE;
	background:hsl(220,98%,83%);
}
.slot.high320 {
	background:#FEA9C5;
	background:hsl(340,98%,83%);
}
.slot.high60 {
	background:#FEE2A9;
	background:hsl(40,98%,83%);
}
.slot.high160 {
	background:#A9FEB0;
	background:hsl(125,98%,83%);
}
.slot.high260 {
	background:#C5A9FE;
	background:hsl(260,98%,83%);
}
.slot.highlighted {
	/*background: #ffff00;
	background:hsl(60,100%,50%);
	*/
	font-weight:bold;
	padding:0px;
	box-shadow:inset 0px 0px 2px 2px #f00;
}
.slot_details {
	background:#F2F2F2;
	background:hsl(0,0%,95%);
	border:#D9D9D9 1px solid;
	border:hsl(0,0%,85%) 1px solid;
	padding:5px;
	border-radius:2px;
}
.slot_details p span.value, #contact_details p span.value {
	font-weight:bold;
	padding:4px;
	display:block;
}
#contact_details p span.value { display:inline-block; }
.slot_details p label, #contact_details p label {
	width:4em;
	font-weight:normal;
}
#contact_form p label { width:16em; }
.slot_details p, #contact_details p { margin-bottom:0; clear:both;}

.slot_details input {
	width:57px;
	border:#D9D9D9 1px solid;
	border:hsl(0,0%,85%) 1px solid;
	border-radius:2px;
}
#contact_form input.text {
	padding:5px;
}
input.button#confirm_booking, input.button#update_contact, input.button#insert_contact, input.button#bookings_reset, input.button#contact_reset {
	display:none;
	margin-bottom:5px;
}
.slot_details input#slot_length_input {
	width:110px;
}
.slot_details select { margin:0; }
.clickable{
	cursor:pointer;
}
#lookup_message {font-weight:normal;}
/* Booking System People Styling */
.person_edit, .person_add {
	margin-bottom:25px;
	background:#F2F2F2;
	background:hsl(0,0%,95%);
	border:#D9D9D9 1px solid;
	border:hsl(0,0%,85%) 1px solid;
	padding:5px 30px 5px 10px;
	border-radius:2px;
}
.person_add {
	background:#F9F6D2;
	background:hsl(55,76%,90%);
	border:#E3D535 1px solid;
	border:hsl(55,76%,55%) 1px solid;
	margin-bottom:35px;
}
.saved, .update, .hidden { display:none; }
/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; }
.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }

/* Misc classes */

.small {font-size: 0.9em;}
.smaller {font-size: 0.8em;}
.smallest {font-size: 0.7em;}

.large {font-size: 1.15em;}
.larger {font-size: 1.25em;}
.largest {font-size: 1.35em;}

.hidden {display: none;}

.quiet {color: #999;}
.loud {color: #000;}
.highlight {background:#ff0;}

.text-left {text-align: left;}
.text-right {text-align: right;}
.text-center {text-align: center;}
.text-separator {padding: 0 5px;}

.error, .notice, .success, .shopwindow , .shopwindow_blue {
	border: 1px solid #DDD;
	margin-bottom: 1em;
	padding: 0.6em 0.8em;
	border-radius: 10px;
}

.error {background: #FBE3E4; color: #8A1F11; border-color: #FBC2C4;}
.error a {color: #8A1F11;}

.notice {background: #FFF6BF; color: #514721; border-color: #FFD324;}
.notice a {color: #514721;}

.success {background: #E6EFC2; color: #264409; border-color: #C6D880;}
.success a {color: #264409;}

.shopwindow {background: #F2F6FA; border-color: #AABBCC;}

.saved {padding:0.2em 0.6em;}

.clone, .edit, .delete_button {
    padding: 0.7em 1em;
	margin: 0 0.2em;
    display: inline-block;
    border-radius: 6px;
	transition: background 0.5s, border 1s, color 0.5s, box-shadow 1s;
}
.clone, .edit {
    background: #FFF6BF;
    border: 1px solid #FFD324;
	color: #6D602C;
}
/*.edit {
    background: #E6EFC2;
    border: 1px solid #C6D880;
	color: #264409;
}
*/
.delete_button {
    background: #FBE3E4;
    border: 1px solid #FBC2C4;
	color: #8A1F11;
}
.clone:hover, .edit:hover, .delete_button:hover {
	text-decoration: none !important;
}
.clone:hover, .edit:hover {
	background: #FFEF8A;
	border-color: #F0C000;
	color: #514721;
	box-shadow: 0 0 1px #FFEF8A;
}
/*
.edit:hover {
	background: #D5E49A;
	border-color: #B4CB57;
	color: #192D06;
	box-shadow: 0 0 1px #D5E49A;
}
*/
.delete_button:hover {
	background: #F8CECF;
	border-color: #F89194;
	color: #5B150B;
	box-shadow: 0 0 1px #F8CECF;
}
div.expand { cursor:pointer; }

/*
   Forms
------------------------------------------------------------------- */
form {width:99%;}

form.quicksearch { padding: 4px; background: #fff; width: 100%;}
form.quicksearch input { margin-left: 5px; width: 30.6122449%; }
form.quicksearch img { vertical-align: middle; margin-left: 5px; }

input { padding: 4px; }

label {
	font-weight: bold;
	width: 20%;
  float: left;
  text-align: right;
  margin-right: 2%;
  display: block;
	padding: 4px 0;
}
label.auto-width {
	width: auto;
}
.booking_day label { margin-top:6px; }
#login_popup label { width: 45%; }
#login_popup input[type=text], #login_popup input[type=password] { width: 49%; }

#email_register_form_footer label {
	width: auto;
	text-align: left;
	margin-right: 0.5em;
	padding: 4px 0;
}

/* form responsive magic ... */
form > p {
  clear: both;
  overflow: hidden;
  padding: 1px;
  margin: 0 0 10px 0;
}
form > fieldset > p, form > fieldset > div > div {
  margin: 0 0 5px 0;
}
form > p,
form > fieldset > p, form > fieldset > div > div {
  width: 100%;
  float: right;
}
form > fieldset > div > div.checklist {
	width:75%;
  padding: 4px 0;
  margin: 0 0 10px 0;
}
form > fieldset > p > select {
  padding: 4px 0;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password]
{
  width:76%;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
input.medium[type=text],
input.medium[type=email],
input.medium[type=url],
input.medium[type=password]
{
  width:50%;
}
input.small[type=text],
input.small[type=email],
input.small[type=url],
input.small[type=password]
{
  width:25%;
  font-size: 1em;
}
input.smallest[type=text],
input.smallest[type=email],
input.smallest[type=url],
input.smallest[type=password]
{
  width:12%;
  font-size: 1em;
}
input.fixedlist { width:1.5em; }

.baptism_checks p { width:100%; text-align:left; }
.baptism_checks p span { display:inline-block; margin-top:4px; }
#dad_set, #mum_set { width:50%; }
textarea {
	width: 100%;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 0;
  border-color: #4697e4;
}
.mceEditor table {
max-width:none; /* Bug in computation of fullscreen */
}

.mceEditor table.mceLayout {
width:100% !important;
height:auto !important;
}

table.mceToolbar { float:left; }
body .mceToolbar div {
white-space:normal;
}

@media (max-width: 600px) {
  form > p {
    margin: 0 0 15px 0;
  }
  form > fieldset > p > label, form > fieldset > div > label {
    float: none;
    margin: 0 0 5px 0;
	text-align: left;
	width:100%;
  }
  form > p,
  form > fieldset > p, form > fieldset > div > div {
    width: 100%;
    float: none;
  }
  input[type=text],
  input[type=email],
  input[type=url],
  input[type=password],
  textarea {
    width: 100%;
  }
  input.fixedlist { width:1.2em; }
  input.fixedlistitem { width:82%; }
}
/*****************************/

fieldset {
	background-color:#DFE9F4;
	background-repeat: repeat-x;
	background-size: 100%;
	padding: 1.4em;
	margin: 0 0 1.5em 0;
	border: 1px solid #ccc;
	border-radius:5px;
}
fieldset p {
	clear:both;
}
legend {
	font-weight: bold;
	font-size: 1.2em;
  color: #999;
  background: #E9F1FA;
  border: 1px solid #999;
  padding: 2px 10px
}
textarea {
	overflow: auto;
	width:100%;
}
.wysiwyg_label {
	float:none;
	padding-top:10px;
}
input.text, textarea, select {
	background: #FCFCFC;
	border: 1px inset #AAA;
	display: block;
	border-radius:5px;
}
input.text:focus, textarea:focus, select:focus {background: #FFFFF5;}

input.button, button{
	background: #DFE9F4;
	border: 1px outset #49699F;
	padding: 4px 10px;
	width: auto;
	overflow: visible;
	cursor: pointer;
	border-radius:5px;
	margin:10px 0;
}
input.button:active {border-style: inset;}

div#slot_buttons { margin:5px; }
input.slot_button {
	width:60px;
	margin:0 10px;
}

p.deletable { position:relative; }
p.deletable a.del { top:0px; left: 10px; }

.form-error {border-color: #F00;}

form img {
    border: 3px solid white;
	cursor: pointer;
	margin: 0 7px;
}

form img.highlighted {
    border: 3px solid yellow;
}
form img.faded {
    opacity: 0.67;
}

input#upload_field {
	padding: 0 0 0 60px;
}
/* Villages Form */
#locations_box input {
	float:left;
	margin-right:2em;
}
#locations_box label {
	width:auto;
	padding:4px 5px;
	margin:0.5em 0
}
#locations_box input[type='checkbox'] {
	margin:1em;
}
#add_directions span {
	padding:10px 0 0 0;
	display:block;
}
#add_directions span.hidden {
	display:none;
}
#pattern_details select { display:inline; }

/*
   Alignment
------------------------------------------------------------------- */

/* General */

.center,.aligncenter {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}


/* Images */

img.bordered,img.alignleft,img.alignright,img.aligncenter {
	background-color: #FFF;
	border: 1px solid #DDD;
	padding: 3px;
}
img.alignleft, img.left {margin: 0 1.5em 1em 0;}
img.alignright, img.right {margin: 0 0 1em 1.5em;}

.postit_inner h3{ padding: 0 0 10px 0; }
li.resource_cats {
	list-style-type: none;
	position:relative;
	height:40px;
	font-weight:bold;
	font-size:1.1em;
	margin-left:30px;
}
li.resource_cats_admin {
	list-style-type: none;
	position:relative;
}
span.resource_cat { cursor:pointer; }
.group_options { display:none; }
.group_options .checklist { margin-bottom:20px; }
.person_edit { position:relative; }
div.deletable div.person_row1 a.del { top:10px; left:initial; right:10px; }
.del {
position: absolute;
top: -4px;
left: -40px;
background: url('../img/postit_close.png') no-repeat left center;
height: 30px;
width: 30px;
}
/* Social Media */
.social_media
{
	height:30px;
	margin-left:30px;
}
.social_media a.del
{
	top:0px;
	left:-30px;
}

/* Floats */

.left,.alignleft {float: left;}
.right,.alignright {float: right;}

.textright {
	float: right;
	text-align: right;
}

.clear,.clearer {clear: both;}
.clearer {
	display: block;
	font-size: 0;
	line-height: 0;
	height: 0;
	overflow:hidden;
}


/*
   Separators
------------------------------------------------------------------- */

.content-separator, .archive-separator {
	background: #D5D5D5;
	clear: both;
	color: #FFE;
	display: block;
	font-size: 0;
	line-height: 0;
	height: 1px;
}
.content-separator {margin: 20px 0;}
.archive-separator {margin: 10px 0;}
.content-separator:last-child, .archive-separator:last-child {
	height: 0;
}

/*
   Posts
------------------------------------------------------------------- */

.post a {text-decoration: none;}
.post a:hover {text-decoration: underline;}

.post img.left, .post img.right {margin-bottom: 10 pt;}

.post-date {
	color: #777;
	margin: 2px 0 10px;
	font-weight: normal;
}
.post-date a {color: #444;}

.post-title h1, .post-title h2, .post-title h3 {margin-bottom: 0;}
.post-title img { margin: 2px 10px 0 0; float:left; }

.post-meta {
	background: #F6F6F6;
	border: 1px solid #DDD;
	color: #777;
	padding: 6px 10px;
}
.post-meta a {color: #345; }
.post-meta a:hover {color: #001;}

.post-body {font-size: 1.1em;}
.post-body a {color: #039;}
.post-body a:hover {color: #039;}

.post-body img.left, .post-body img.right {margin-bottom: 1em;}



/* Archives */
.archive-pagination {margin-bottom: 16px;}
.archive-post-date {
	background: #F5F5F5;
	border-bottom: 1px solid #C5C5C5;
	border-right: 1px solid #CFCFCF;
	float: left;
	margin-right: 12px;
	padding: 2px 0 5px;
	text-align: center;
	width: 4.6938775%;
}
.archive-post-title .post-date {margin: 0;}
.archive-post-title {padding-top: 4px;}
.archive-post-day {font: normal 1.6em 'AdelleBasicBold', Georgia, "Times New Roman", Times, serif;}

.home_next div.post-title h3 {
	font-size:2.5em;
	padding:0;
	text-align: center;
}
.home_next_time {
	font-size:1.4em;
	font-style:italic;
	padding:10px 0;
	text-align: center;
	color: #777777;
}

/* Worship */

.worship_day {
	background: #E8E8E8;
	text-align:center;
	padding:20px 2% 0;
	border-radius: 10px;
}
.worship_day.Purple { background: #cfc3f7; }
.worship_day.Green { background: #C3F7CE; }
.worship_day.Red { background: #FF6666; }
.worship_day.White, .worship_day.Gold { background: #FFFDD9; }

.service-box {
	background:#fff;
	display:inline-block;
	vertical-align:top;
	width:28%;
	margin:10px 1.1%;
	padding:10px 1% 0;
	border-radius:5px;
}
.service-box:nth-child(3n+1) { clear:both; }

.services_container { width:100%; }

table#readings_table td { max-width:200px; }


/* Gallery Albums */

section#albums a {
	float:left;
	margin-right: 7px;
	padding:2px;
	text-decoration:none;
}
section#albums a div.album_wrapper{
	height:100%;
	position:relative;
}
section#albums a span.album_name {
	position:absolute;
	font-size:1.2em;
	bottom:4px;
	left:0;
	color:white;
	background-color: hsla(0, 0%, 0%, 0.7);
	width:100%;
	text-align:center;
	padding:4px 0;
}

/*
   Layout
------------------------------------------------------------------- */

/* General */
.center-wrapper {
	background-color: #FFFFFF;
	border-radius: 10px 10px 0 0;
	box-shadow:0 5px 10px rgba(0,0,0,0.6);
	padding: 0 2% 20px;
	margin: 0 auto;
	max-width:1488px;
}

.center-wrapper-top {
	margin: 0 auto;
	max-width:1488px;
}
.center-wrapper-top ul#network-tabs {
	margin: 0 2% !important;
}

#footer {margin-top:10px;}

/* Network */

#network li.notab a {
	color: #333;
}
#network li a {
	display:block;
	padding: 10px 10px 12px;
}
#network .tabbed li.tab a {
	border-radius: 10px 10px 0 0;
	text-decoration: none;
	color: #666;
}
#network li.tab a:hover {
	background: #F6F6F6;
	color: #000;
}
#network li.notab a:hover {
	color: #000;
}
#network li.current-tab a {
	background: #FFF;
	font-weight: bold;
}
#network .text-separator, #network span {color: #999; }

ul.tabbed li.rmm_left {
	position:absolute;
	right:2%;
}
#global-nav { margin: 0 1%; }

/* Toolbar */
#toolbar {
	padding: 12px 1% 8px;
	font-size: 1.1em;
	color: #999;
	display: inline-block; /* double padding bug fix for IE6 & IE7 */
}
#toolbar img {vertical-align: middle; background:#eee; border:10px solid #eee; border-radius:7px; }
#toolbar input.text { width:95%; }
#toolbar input.button { float:left; }
#text-sizer {
	float:left;
	padding-right:100px;
}

form#search_form {
	margin-bottom:10px;
	float:right;
}
#search_form input { outline: none; }
#search_form input[type=search] {
	-webkit-appearance: textfield;
	appearance: textfield;
	box-sizing: content-box;
	font-family: inherit;
	font-size: 100%;
}
#search_form input::-webkit-search-decoration,
#search_form input::-webkit-search-cancel-button {
	display: none;
}
#search_form input[type=search] {
	background: #ededed url(https://static.tumblr.com/ftv85bp/MIXmud4tx/search-icon.png) no-repeat 9px center;
	border: solid 1px #ccc;
	padding: 9px 10px 9px 32px;
	width: 55px;
	border-radius: 10em;
	transition: all .5s;
}
#search_form input[type=search]:focus {
	width: 130px;
	background-color: #fff;
	border-color: #66CC75;
	box-shadow: 0 0 5px rgba(109,207,246,.5);
}
#search_form input:-moz-placeholder {
	color: #999;
}
#search_form input::-webkit-input-placeholder {
	color: #999;
}

/* Header */

#header {margin-bottom: 24px;}

/* Site title */
#site-title h1 {font-family: 'Lustria', Arial, Helvetica, sans-serif;}

#site-title {
	clear:right;
	font-weight: normal;
	font-size:1.6em;
	padding-top: 12px;
	text-align:center;
	margin: 0 6%;
	padding-right: 12%;
}
#site-title span {color: #999;}
#site-title a {
	color: #000;
	text-decoration: none;
}
#title-logo {
	float: left;
	margin: 10px 2% 0 0;
	width:16%;
	min-width:100px;
}
/*
.title-separator {
	clear: both;
	display: block;
	padding-bottom: 6px;
}
*/

/* Navigation */

#navigation {margin-bottom: 24px; clear:both; }
#navigation a {
	font-family: 'AllerLightRegular', Arial, Helvetica, sans-serif;
	display: block;
	text-decoration: none;
}

/* Main navigation */

#main-nav a {
	color: #888;
	font-size: 1.5em;
	padding: 9px 14px;
}
#main-nav li {background: url('../img/navigation-separator.gif') no-repeat left center;}
#main-nav li:first-child {background: none;}
#main-nav li.current-tab a, #main-nav a:hover {color: #002;}


/* Subnav */

#sub-nav {
	background: #DDEDF7;
	border-radius: 10px 10px 0 0;
}
#sub-nav a {
	color: #678;
	font-weight: bold;
	font-size: 1.2em;
	padding: 10px;
}


/* Subsubnav */

#sub-sub-nav {background: #F6E7DD; padding: 0 4px;}
#sub-sub-nav a, #mid-nav a, #sub-mid-nav a {
	color: #678;
	font-weight: bold;
	font-size: 1.1em;
	padding: 8px 8px 8px 12px;
}
#sub-nav li.current-tab a, #sub-nav a:hover, #sub-sub-nav li.current-tab a, #sub-sub-nav a:hover, #mid-nav li.current-tab a, #sub-mid-nav li.current-tab a, #sub-nav a:hover {color: #223;}

/* Mid nav! */
#mid-nav {
	background: #FFF8E2;
}
/* Sub-mid nav! */
#sub-mid-nav {
	background: #DDEDF7;
}

h1.outline, .outline {
  display: none;
}

/* Main */

.main {margin-bottom: 18px;}

.sidebar a {text-decoration: none;}
.sidebar a:hover {text-decoration: underline;}

#sidebar-1 {margin-left: 3.7755102%;}
.main#main-two-columns #main-left {
	width:70%;
	float:left;
	border-left:none;
	padding-left:0;
}
.main#main-two-columns #sidebar {
	width:26%;
	float:right;
}


/* Columns *
.col3 {width: 32%;}
.col3-mid {margin-left: 2%;}

/* Sidebar */

/*
#sidebar-wrapper {}
#sidebar {}
*/

/* Sidebar sections */
.section {margin-bottom: 16px; text-align:center; }
.section-title {
	background-color: #F2F6FA;
	border-top: 2px solid #ABC;
	font-weight: bold;
	font-size: 1.1em;
	margin-bottom: 5px;
	min-height: 0;
	padding: 5px 8px 6px;
}

.network-section .section-title {
	background-color: #F6F6F6;
	border-color: #D6D6D6;
}
#group_contacts { text-align:left; }

/* Dashboard */

#dashboard {
	background-color: #fafafa;
	border: 1px solid #ccc;
	margin: 30px auto 20px;
	text-align: center;
	padding: 0 2%;
	max-width:1488px;
	box-shadow:0 5px 10px rgba(0,0,0,0.6);
}

#dashboard .column {
	width: auto;
	display: table-cell;
}
#dashboard #column-1 {width: 72%; border-right: 1px solid #E7E7E7;}

#dashboard .column-content {
	padding: 14px 3%;
}
#dashboard .column-title h3 {
	color: #222;
	font: 1.8em bold 'AllerBold', Arial, Helvetica, sans-serif;
	padding-bottom: 5px;
}


/* Footer */

footer { margin: auto 1%; }
#footer {padding-bottom:30px; }
#footer a {
	color: #579;
	text-decoration: none;
}
#footer .right, #footer .right a {
	color: #999;
	text-decoration: none;
}
#footer .text-separator {
	padding: 0 0.22%;
	color: #BBB;
}
#footer a:hover {color: #000;}

/* Download Buttons */

.download-tiles {
	clear:both;
	position:relative;
	overflow:auto;
	word-wrap: break-word;
}

.download-tiles a {
	color: #fff;
	background-color: #1ba1e2;
	float:left;
	width:28%;
	padding:10px 1% 10px 2%;
	box-shadow: 1px 1px 5px #3c3c3c;
	border-radius:6px;
	display:block;
	margin:20px 0 20px 3%;
	min-height:72px;
	text-decoration: none !important;
	transition: background-color .5s ease;
}
.download-tiles a:nth-child(3n+1) {
	margin-left:0.8%;
	clear:both;
}
.download-tiles a:hover {
	background-color: rgb(240,150,9) !important;
}
.download-tiles a div.resource_tile-details {
	font-size:1em;
	padding-top:4px;
	display:block;
}
.download-tiles a div.resource_tile-title {
	font-size:1.2em;
	padding-top:4px;
	display:block;
}
.download-tiles a div.resource_tile-icon {
	float:left;
	display:block;
	padding-right:6px;
}
.download-tiles a div.resource_tile-time {
	font-size:1.5em;
	display:block;
	clear:both;
}
.download-tiles a div.resource_tile-date {
	font-size:0.9em;
	font-style:italic;
	display:block;
}
.download-tiles a div.resource_tile-ago {
	width:100%;
}

/*
   Misc overriding classes
------------------------------------------------------------------- */

/* Border */

.noborder {border: 0;}
.notborder {border-top: 0;}
.norborder {border-right: 0;}
.nobborder {border-bottom: 0;}
.nolborder {border-left: 0;}

/* Margin */

.nomargin {margin: 0;}
.notmargin {margin-top: 0;}
.normargin {margin-right: 0;}
.nobmargin {margin-bottom: 0;}
.nolmargin {margin-left: 0;}

/* Padding */

.nopadding {padding: 0;}
.notpadding {padding-top: 0;}
.norpadding {padding-right: 0;}
.nobpadding {padding-bottom: 0;}
.nolpadding {padding-left: 0;}

/* Search Results */

#search_results .section p {margin-bottom: 0.2em; text-align:left; }
#search_results a { display:inline; }

/* Adding images */
a.image_link {
	width:20px;
	height:20px;
	display:inline-block;
	border: 0;
	border-radius:4px;
	background: #ddd url('../img/icon-plus.gif') no-repeat;
	vertical-align:top;
	border: 2px solid #bbb
}
a.image_link:hover {
	text-decoration:none;
	cursor:pointer;
	border: 2px solid #5bb75b
}
/* Contact form protect */
p#contact { display:none; }

/* Site Basics Image Form */
.selected {
	border: 3px solid green;
}
a.image_remove {
	margin:0 0 0 -6px;
}
a.image_remove:hover {
	text-decoration:none;
	color:red;
}
img.worship_image { width:30%; }
.busy {
	 width: 24px;
	 height: 12px;
     position: relative;
	 display:inline-block;
     bottom: 0;
     left: 0;
     background: url('../img/ajax-loader.gif') scroll no-repeat 5px 50% transparent;
}


/* Single line IE fix */

* html #sub-nav, * html .section-title, * html .main {height: 0.01%; min-height: 0.01%;}

#slider1 {
    /*width: 670px; /* important to be same as image width */
    height: 250px; /* important to be same as image height */
    position: relative; /* important */
	overflow: hidden; /* important */
}

#slider1Content {
    /*width: 670px; /* important to be same as image width or wider */
    position: absolute;
	top: 0;
	margin-left: 0;
}
.slider1Image {
    float: left;
    position: relative;
	display: none;
}
.slider1Image span {
    position: absolute;
	font: 1.1em 'AllerLightRegular', Arial, Helvetica, sans-serif;
    padding: 10px 13px;
    background-color: #000;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
	-khtml-opacity: 0.7;
    opacity: 0.7;
    color: #fff;
    display: none;
}
.clear {
	clear: both;
}
.slider1Image span strong {
    font-size: 1.333em;
}
.sliderleft {
	top: 0;
    left: 0;
	width: 130px !important;
	height: 85%;
	max-height: 230px;
}
.sliderright {
	bottom: 0;
	right: 0;
	width: 130px !important;
	height: 85%;
	max-height: 240px;
}
ul.slider { list-style-type: none;}
/**
 * PgwSlider - Version 1.1
 *
 * Copyright 2014, Jonathan M. Piat
 * http://pgwjs.com - http://pagawa.com
 *
 * Released under the MIT license - http://opensource.org/licenses/MIT
 */
.pgwSlider {
    width: 100%;
}

.pgwSlider .ps-current {
    float: left;
    width: 100%;
    overflow: hidden;
    height: inherit;
    position: relative;
	margin-bottom: 6px;
}

.pgwSlider .ps-current span {
    position: absolute;
    width: 100%;
    padding: 8px 10px 10px;
    background: rgba(0, 0, 0, 0.7);
    left: 0;
    bottom: 0;
    color: #fff;
    font-size: 1rem;
}

.pgwSlider .ps-current img {
    max-width: 100%;
    min-width: 100%;
    height: auto;
    display: block;
	width: 100%;
	min-height: inherit;
}

ul.pgwSlider,
.pgwSlider > ul {
    float: right;
    width: 100%;
    padding: 0;
    list-style: none;
    margin: 0;
}

ul.pgwSlider > li,
.pgwSlider > ul > li {
    height: 50px;
    margin-bottom: 4px;
    overflow: hidden;
    position: relative;
    opacity: 0.6;
    filter: alpha(opacity=60);
	float:left;
	min-height: 50px;
	max-height: 70px;
	min-width: 20%;
}

ul.pgwSlider > li:last-child,
.pgwSlider > ul > li:last-child {
    margin-bottom: 0;
}

ul.pgwSlider > li span,
.pgwSlider > ul > li span {
    display: block;
    width: 100%;
    position: absolute;
    top: -5px;
    padding: 3px 0 0 5px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    text-overflow: ellipsis;
}

ul.pgwSlider > li:hover,
.pgwSlider > ul > li:hover {
    opacity: 1 !important;
}

ul.pgwSlider > li img,
.pgwSlider > ul > li img {
    width: 100%;
    min-height: 100%;
    display: block;
}
ul.pgwSlider > li span,
.pgwSlider > ul > li span {
	white-space: nowrap;
}
/* Typewrite effect for notices */
.writer {display:none;}

img.whatwedo { max-width: 40%; }

/***********************************************************************************************/
/* Media Queries */
/***********************************************************************************************/

@media (max-width: 820px) {
	.center-wrapper {
		border-radius: 0;
		-webkit-box-shadow:none;
		-moz-box-shadow:none;
		box-shadow:none;
		margin: 0 auto;
		border-bottom: 1px solid #ccc;
	}
	#dashboard {
		-webkit-box-shadow:none;
		-moz-box-shadow:none;
		box-shadow:none;
		margin:30px 0 20px;
		border:none;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
	}
}

@media screen and (min-width: 1109px) {

	.main .sidebar {
		width: 20.2%;
	}
	.main #sidebar-right {
		padding-left: 1.8%;
		float:right;
	}
	.main #sidebar-left {
		padding-right: 1.8%;
		float:left;
	}
	.main #main-left {
		width: 52%;
		float: left;
		padding: 0 1.8%;
		border-left: 1px solid #ddd;
		border-right: 1px solid #ddd;
	}
}

@media screen and (min-width: 712px) and (max-width: 1108px) {

	.main .sidebar {
		width: 25.9%;
	}
	.main #sidebar-right {
		padding-left: 2%;
		padding-right:0;
		float:right;
	}
	.main #sidebar-left {
		padding-left: 2%;
		padding-right:0;
		float:right;
	}
	.main #main-left {
		width: 69.9%;
		float:left;
		padding-right:2%;
		border-left: 0;
		border-right: 1px solid #ddd;
	}
	#site-title h1 { font-size: 2.3em; }
}


@media screen and (min-width: 989px) {

	.service-box { width:28%; }
	.service-box:nth-child(3n+1) { clear:none; }
	.service-box:nth-child(4n+1) { clear:both; }
}


@media screen and (max-width: 711px) {

	#dashboard .column { width: 96%; margin: 0 2%; float:left; }
	#dashboard #column-2, #dashboard #column-1 { border-right: 0; }
	#dashboard #column-1 { border-bottom: 1px solid #ccc; width: 96%; }

	.service-box { width:44%; }
	.service-box:nth-child(odd) { clear:both; }
	.service-box:nth-child(3n+1) { clear:none; }

	.main #main-left {
		width: 96%;
		float:left;
		padding:0 2%;
		border-left: 0;
		border-right: 0;
	}
	.main#main-two-columns #main-left {	width:100%;	}
	.main#main-two-columns #sidebar {
		width:100%;
		float:left;
		border-bottom: 1px solid #ddd;
		margin-bottom: 20px;
		padding-left:0;
	}
	.center-wrapper {
		width:auto;
		border-radius: 0;
	}
	.home_next img#next_event {
		clear: both;
		margin-left: auto;
		margin-right: auto;
		float: none;
		display: block;
	}
	#dad_set, #mum_set { width:100%; }
	input.medium[type=text],
	input.medium[type=email],
	input.medium[type=url],
	input.medium[type=password]
	{
	  width:70%;
	  margin-left: 5em;
	}
	input.small[type=text],
	input.small[type=email],
	input.small[type=url],
	input.small[type=password]
	{
	  width:50%;
	  margin-left: 5em;
	}
	input.smallest[type=text],
	input.smallest[type=email],
	input.smallest[type=url],
	input.smallest[type=password]
	{
	  width:25%;
	  margin-left: 5em;
	}
	.content-separator:last-child, .archive-separator:last-child {
		height: 1px;
	}
}
@media screen and (max-width: 711px) and (min-width: 590px) {
	p, .nice-list li a { font-size: 1.05em; }
}

@media screen and (max-width: 711px) {

	.main .sidebar {
		width: 96%;
		float:left;
		padding:0 2%;
	}
	#site-title h1 { font-size: 1.7em; }
}
@media screen and (max-width: 672px) {
	#text-sizer { padding-right:30px; }
}

@media screen and (max-width: 590px) {

	#search_div {
		margin-top:15px;
		clear:left;
		float:left;
	}
	#site-title { clear:both; margin-right:0; }
	#toolbar { float:left; }
	p, .nice-list li a { font-size: 1.1em; }
}

@media screen and (max-width: 500px) {

	.section-content#welcome img {
		clear: both;
		margin-left: auto;
		margin-right: auto;
		float: none;
		display: block;
		min-width: 55%;
	}
	input.medium[type=text],
	input.medium[type=email],
	input.medium[type=url],
	input.medium[type=password],
	input.small[type=text],
	input.small[type=email],
	input.small[type=url],
	input.small[type=password]
	{
	  width:76%;
	}

}
@media screen and (min-width: 1359px) {

	.section-content img.resp {
		clear: both;
		margin-left: auto;
		margin-right: auto;
		float: none;
		display: block;
		min-width: 55%;
	}
}

@media screen and (max-width: 420px) {

	.service-box { width:96%; }
	.service-box:nth-child(3n+1) { clear:none; }
	#title-logo { min-width:40px; }
}
/**/
