/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html,
button,
input,
select,
textarea {
  color: #222;
}
body {
  font-size: 1em;
  line-height: 1.4;
}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */
img {
  vertical-align: middle;
}
/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}
/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */
.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.nav {
  width: 100%;
  padding: 40px 28px 25px 0;
  text-align: right;
}
ul.nav {
  padding: 0;
  margin: 0;
  list-style: none;
}
ul.nav li {
  padding-right: 10px;
}
ul.nav li a {
  color: #000;
  display: block;
  text-decoration: none;
  padding: 5px 10px;
}
ul.nav li a:hover {
  color: #F6C739;
}
ul.nav ul {
  margin: 0;
  display: none;
  padding: 0;
  margin-right: -1px;
}
ul.nav ul li {
  margin: 0;
  padding: 0;
  clear: both;
}
ul.nav ul li a {
  outline: 0;
  color: #777;
}
ul.nav span {
  float: right;
  display: inline-block;
  margin-right: -15px;
}
.col {
  margin-left: 1.04%;
  margin-right: 1.04%;
  /* 10px / 960px = 1.04% */

  display: inline;
  overflow: hidden;
  float: left;
  position: relative;
}
.row {
  max-width: 60.00em;
  /* 960px / 16px = 60.00em */

  margin: 0 auto;
  overflow: hidden;
}
.row .row {
  margin: 0 -10px;
  width: auto;
  display: inline-block;
}
/* Column widths, and element width based on grid */
.col_1,
.width_1 {
  width: 40px;
}
.col_2,
.width_2 {
  width: 100px;
}
.col_2,
.width_2 {
  width: 10.416%;
}
/* 100px / 960px = 10.41666% */
.col_3,
.width_3 {
  width: 180px;
}
.col_3,
.width_3 {
  width: 18.75%;
  float: left;
}
/* 180px / 960px = 18.75% */
.col_4,
.width_4 {
  width: 220px;
}
.col_5,
.width_5 {
  width: 280px;
}
.col_6,
.width_6 {
  width: 340px;
}
.col_6,
.width_6 {
  width: 35.416%;
}
/* 340px / 960px = 35.41666% */
.col_7,
.width_7 {
  width: 400px;
}
.col_8,
.width_8 {
  width: 460px;
}
.col_9,
.width_9 {
  width: 520px;
}
.col_10,
.width_10 {
  width: 580px;
}
.col_11,
.width_11 {
  width: 640px;
}
.col_12,
.width_12 {
  width: 700px;
}
.col_13,
.width_13 {
  width: 740px;
}
.col_13,
.width_13 {
  width: 77.083%;
  float: right;
}
/* 740px / 960px = 77.083% */
.col_14,
.width_14 {
  width: 820px;
}
.col_15,
.width_15 {
  width: 880px;
}
.col_16,
.width_16 {
  width: 940px;
}
html.lt-ie8 .col_3 {
  width: 180px;
}
html.lt-ie8 .col_13 {
  width: 680px;
}
/* responsive images */
img {
  width: 100%;
}
a img {
  width: auto;
}
html {
  background: transparent url(../img/wheat_bg.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
body {
  background: none;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  margin-bottom: 25px;
}
.banner {
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.7);
  margin-top: 25px;
  margin-bottom: 25px;
  text-align: center;
}
.banner h1 {
  max-width: 60em;
  display: inline-block;
  padding: 0;
  margin: 0;
}
#col2 {
  background: rgba(255, 255, 255, 0.9);
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 10px 30px 20px;
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */

  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */

  box-sizing: border-box;
  /* Opera/IE 8+ */

  min-height: 500px;
}
footer {
  height: 49px;
}
nav {
  font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Lucida, Geneva, Helvetica, Arial, sans-serif;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-weight: bold;
  padding: 20px 0;
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */

  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */

  box-sizing: border-box;
  /* Opera/IE 8+ */

}
/* IE Hack for background opacity */
.lt-ie9 header.banner,
.lt-ie9 #col2,
.lt-ie9 nav {
  background: transparent url(../img/transparent.png);
}
.address p {
  margin: 0;
}
a {
  color: #525252;
}
a:hover,
a:focus {
  text-decoration: underline;
}
a {
  color: #963;
  text-decoration: none;
  border: none;
  border-width: 0;
}
a:hover {
  color: #630;
  text-decoration: underline;
}
a:active {
  color: #C96;
  text-decoration: none;
}
table {
  margin: 0 auto;
  width: 80%;
  /* reset font weight for embedded table */

  font-weight: normal;
  margin-bottom: 1.5em;
}
table.mp3 {
  width: 95%;
}
table table {
  width: 95%;
  margin: 0 auto;
}
tr.master + tr {
  /* hide until clicked */

  display: none;
}
table table tr:last-child td {
  border-bottom: none;
}
/* the following are for IE 7-9 compatibility */
table table tr:last-child td {
  border-bottom: none;
}
table table tr.last-child {
  border-bottom: none;
}
table table tr.last-child td {
  border-bottom: none;
}
th {
  background-color: #630;
  color: #fff;
  padding: 5px;
  text-align: left;
}
td {
  padding: 5px;
  border-bottom: 1px solid #630;
}
tbody tr {
  border-bottom: 1px solid #630;
}
tr td:last-child {
  width: 37px;
}
tbody tr:after {
  border-bottom: 1px solid #630;
}
td a {
  display: block;
  height: 32px;
  width: 32px;
}
td.date {
  width: 100px;
}
table.img a {
  background: transparent url(../img/img_icon.png) no-repeat center center;
}
table.mp3 a {
  background: transparent url(../img/mp3_icon.png) no-repeat center center;
}
table.pdf a {
  background: transparent url(../img/pdf_icon.png) no-repeat center center;
}
table a.no_bg {
  background: none;
  display: inline;
}
tr.master td {
  cursor: pointer;
  font-weight: bold;
  height: 32px;
}
tr.master td.last-child {
  background: url("../img/arrows.gif") no-repeat 12px 12px;
}
tr.master td:last-child {
  background: url("../img/arrows.gif") no-repeat 12px 12px;
}
tr.master.close td.last-child {
  background-position: 12px -32px;
}
tr.master.close td:last-child {
  background-position: 12px -32px;
}
tr.master.close {
  border-bottom: none;
  padding-bottom: 0;
}
.table,
.table ul {
  margin-right: auto;
  margin-left: auto;
  width: 95%;
  list-style: none;
  padding: 0;
}
.table ul {
  /* hide until clicked */

  display: none;
  margin-bottom: 0;
}
.table ul li:last-child {
  border-bottom: none;
}
.table ul li.last-child {
  border-bottom: none;
}
.table .th {
  background-color: #630;
  color: #fff;
  font-weight: bold;
  padding: 5px;
  border-bottom: none;
}
.table li {
  border-bottom: 1px solid #630;
  padding: 10px 5px;
}
.table li a {
  width: 32px;
  height: 32px;
  display: block;
  float: right;
  margin-right: 5px;
  margin-top: -5px;
}
.table.img li a {
  background: transparent url(../img/img_icon.png);
}
.table.mp3 li a,
.table.mp3 ul li a,
.table.mp3 ul ul li a {
  background: transparent url(../img/mp3_icon.png);
}
.table.pdf li a,
.table.pdf ul li a {
  background: transparent url(../img/pdf_icon.png);
}
.table li.master a,
.table ul li.master a {
  background: url(../img/arrows.gif) no-repeat 12px 12px;
}
.table li.master.close > span > a {
  background-position: 12px -32px;
}
.table .master > span {
  cursor: pointer;
  font-weight: bold;
  display: block;
  /* makes entire li clickable */

}
.table .date {
  display: inline-block;
  float: left;
  /* ie7 hack */

  width: 7.0em;
}
.lyrics {
  list-style: none;
}
/* worship schedule */
.worship section ul {
  list-style: none;
  width: 70%;
  padding: 0;
  margin: 0 auto;
}
.worship section li span {
  float: right;
  font-variant: small-caps;
}
/* ministries table */
.ministry {
  width: 100%;
}
.ministry .col1 {
  width: 25%;
}
.ministry .col2 {
  width: 22%;
}
.ministry .col3 {
  width: 50%;
}
.ministry span {
  display: block;
}
.ministry td {
  vertical-align: top;
}
/* online biblegateway form */
form.biblegateway {
  border: 1px solid #630;
  text-align: center;
}
form.biblegateway h4 {
  color: #fff;
  background-color: #630;
  padding: 0.5em;
  margin-top: 0;
}
form.biblegateway input {
  margin: 1.0em auto;
}
form.biblegateway div {
  padding: 1.0em;
  font-size: small;
}
form.biblegateway div img {
  width: auto;
}
/* required for responsive images in script */
.errmsg {
  margin: 5px;
  color: #C03;
  font-size: 0.8em;
  font-weight: bold;
}
.img.float_right {
  margin-left: 2em;
}
.img.float_left {
  margin-right: 2em;
}
.center_div {
  margin-right: auto;
  margin-left: auto;
}
#slider {
  margin: 0 auto;
}
#slider img {
  border: none;
}
#slider ul,
#slider li {
  margin: 0;
  padding: 0;
  list-style: none;
}
#slider li {
  overflow: hidden;
}
#slider ul {
  position: relative;
}
#slider {
  overflow: hidden;
}
.email {
  font-size: 0.9em;
  background: url(../img/email.png) no-repeat left center;
  padding-left: 25px;
}
div.img {
  border: none;
  text-align: center;
  font-weight: bold;
  margin-bottom: 1em;
}
.img img {
  display: block;
  margin-bottom: 1em;
}
.shadow {
  -moz-box-shadow: 3px 3px 4px #000;
  -webkit-box-shadow: 3px 3px 4px #000;
  box-shadow: 3px 3px 4px #000;
  /* For IE 8 */

  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
  /* For IE 5.5 - 7 */

  filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
}
/* ** ** Common Addative Classes ** ** */
.left,
.float_left {
  float: left;
}
.right,
.float_right {
  float: right;
}
.clear-left,
.clear_left {
  clear: left;
}
.clear-right,
.clear_right {
  clear: right;
}
.hide {
  display: none;
}
.block {
  display: block !important;
}
.inline {
  display: inline !important;
}
.align_right {
  text-align: right;
}
.align_left {
  text-align: left;
}
.align_center {
  text-align: center;
}
.align_justify {
  text-align: justify;
}
.bold {
  font-weight: 600;
}
.italic {
  font-style: italic;
}
.small {
  font-size: x-small;
}
#lockarea table {
  width: 600px;
}
#lockarea th {
  text-align: center;
}
#lockarea td {
  padding: 2px;
  text-align: left;
}
#lockarea {
  font-size: 1em;
}
#lockarea .label {
  float: left;
  width: 12em;
  margin-right: 0.5em;
  text-align: right;
  font-weight: bold;
  clear: left;
}
#lockarea p {
  font-size: 1.2em;
  padding: 0;
  margin: 0 0 0.5em;
  text-align: left;
}
#lockarea .sectionHead {
  display: block;
  padding: 0.2em 0.4em;
  text-align: left;
  color: white;
  font-size: 1.2em;
  background-color: #630;
  font-weight: bold;
}
#lockarea .required {
  color: red;
}
#lockarea input.subscribe {
  margin-left: 13.5em;
}
#lockarea .trade {
  display: block;
  text-align: right;
  font-size: 0.8em;
  padding: 1em 0.3em 0.5em;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Image replacement
 */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */

  *text-indent: -9999px;
}
.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 100%;
}
/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden {
  display: none !important;
  visibility: hidden;
}
/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
/*
 * Hide visually and from screenreaders, but maintain layout
 */
.invisible {
  visibility: hidden;
}
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */

  display: table;
  /* 2 */

}
.clearfix:after {
  clear: both;
}
/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
  *zoom: 1;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
  /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster: h5bp.com/s */
  
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
       * Don't show links for images, or javascript/internal links
       */
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
    /* h5bp.com/t */
  
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page  {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
