/* K Ministries theme — offline port of the Presence-based kayslippy.com look.
   No external references: system font stack, local images only. */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, input,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

ol, ul { list-style: none; }

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }

article, aside, figure, footer, header, hgroup, nav, section { display: block; }

/* ---------- Typography ---------- */

a {
  color: #7c4c4c;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover { color: #4a3232; }

footer a { color: #967070; }
footer a:hover { color: #4a3232; }

p { margin: 20px 0 0; }

h1 {
  color: #555;
  font-size: 34px;
  font-weight: 400;
  margin: 40px 0 0;
}
h2 { color: #555; font-size: 28px; font-weight: 400; margin: 40px 0 0; }
h3 { color: #555; font-size: 16px; font-weight: 700; margin: 40px 0 0; }
h4 { color: #7c4c4c; font-size: 14px; font-weight: 400; margin: 40px 0 0; }
h4 a { color: #7c4c4c; }
h4 a:hover { color: #4a3232; }
h5 { color: #555; font-size: 14px; font-weight: 400; margin: 40px 0 0; }
h6 { color: #555; font-size: 12px; font-weight: 700; margin: 40px 0 0; }

small { font-size: 10px; }

/* ---------- Structure ---------- */

html { height: 100%; }

body {
  background: #7c4c4c;
  color: #888;
  font-family: "PT Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 13px;
  height: 100%;
  line-height: 1.6em;
}

#wrapper {
  height: auto !important;
  height: 100%;
  margin: 0 auto;
  min-height: 100%;
  padding: 0 0 20px;
}

#content-wrapper {
  background-color: #eee;
  margin: 0 auto;
  width: 940px;
  border-radius: 0 0 5px 5px;
}

/* ---------- Header ---------- */

header {
  background: #4a3232;
  height: 134px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  width: 900px;
  z-index: 2;
}

#logo { display: block; float: left; }
#logo img { display: block; }

#header-content {
  float: right;
  height: 100%;
  position: relative;
  width: 525px;
}

#header-content .search { float: right; margin: 20px 0 0 20px; }

.searchform input[type="text"] {
  background-color: #fff;
  border: none;
  color: #888;
  float: left;
  height: 18px;
  line-height: 1.5em;
  padding: 6px 0 6px 5px;
  width: 100px;
  border-radius: 7px 0 0 7px;
}

.searchform input[type="submit"] {
  background: #7c4c4c;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  color: #fff;
  cursor: pointer;
  display: inline-block;
  float: left;
  font-family: "PT Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  height: 30px;
  margin: 0;
  padding: 6px 15px;
  position: relative;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
  border-radius: 0 7px 7px 0;
}
.searchform input[type="submit"]:hover { background: #967070; }

header .social-button-holder { float: right; margin: 24px 0 0; }

#main-navigation {
  bottom: 0;
  position: absolute;
  width: 100%;
}
#navigation {
  float: right;
  font-size: 12px;
  position: relative;
}
#navigation li { float: left; margin: 0 0 0 1px; }
#navigation a {
  background-color: #7c4c4c;
  color: #fff;
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 50px;
  padding: 0 23px;
}
#navigation a:hover { background-color: #967070; color: #eee; }
#navigation .current-menu-item > a {
  background-color: #fff;
  color: #7c4c4c;
}

/* ---------- Page content ---------- */

#content {
  background-color: #fff;
  border: 1px solid #e2e2e2;
  border-top: none;
  margin: 0 auto;
  padding: 0 40px 60px 60px;
  position: relative;
  width: 798px;
  z-index: 1;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#introduction { padding: 1px 20px 0 0; }
#introduction h1 { line-height: 28px; margin: 40px 0 10px 0; }

.col-780 { margin: 20px 20px 0 0; padding: 1px 0 0; width: 780px; }
.col-800 { overflow: hidden; width: 800px; }
.col-780 > *:first-child { margin-top: 20px; }

.page-content img { max-width: 100%; height: auto; }
.alignright { float: right; margin: 20px 0 10px 20px; }
.alignleft { float: left; margin: 20px 20px 10px 0; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.page-content hr {
  border: none;
  border-top: 1px dotted #ddd;
  margin: 20px 0 0;
}

/* ---------- Home extras ---------- */

.pdf-promo {
  margin: 75px auto 0;
  overflow: hidden;
  text-align: left;
  width: 300px;
}
.pdf-promo .left { float: left; width: 75px; }
.pdf-promo .right { float: left; width: 225px; line-height: 75px; }
.pdf-promo .right span { vertical-align: middle; display: inline-block; line-height: 1.4em; }
.pdf-promo img { display: block; }

/* ---------- Testimonials ---------- */

.testimonials hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 20px 0 0;
}

.testimonial-holder { margin: 20px 0 0; }
.testimonial-holder:first-child { margin: 0; }

.testimonial-content {
  clear: both;
  padding: 1px 26px 22px;
  position: relative;
}
.testimonial-content:before {
  content: "\201C";
  color: #7c4c4c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  left: 0;
  line-height: 1;
  position: absolute;
  top: 14px;
}
.testimonial-content:after {
  content: "\201D";
  color: #7c4c4c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  bottom: 0;
  line-height: 1;
  position: absolute;
  right: 0;
}
.testimonial-content p:first-child { margin-top: 20px; }

.testimonial-author,
.testimonial-title {
  background-color: #7c4c4c;
  clear: none;
  color: #fff;
  display: block;
  float: left;
}
.testimonial-author { font-size: 14px; padding: 3px 6px; }
.testimonial-title {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.75;
  padding: 3px 5px;
}

.testimonial-spacer { margin-bottom: 75px; }
.clearboth { clear: both; }

/* ---------- Search ---------- */

.search-page-form { margin: 20px 0 0; overflow: hidden; }
.search-page-form input[type="text"] {
  border: 1px solid #ddd;
  width: 300px;
  border-radius: 7px 0 0 7px;
}
.search-results { margin-top: 20px; }
.search-results .page { border-bottom: 1px solid #eee; padding: 20px 0; }
.search-results h3 { margin: 0; }
.search-results h3 a { color: #7c4c4c; }
.search-results h3 a:hover { color: #4a3232; }
.search-results .result-url { color: #bbb; font-size: 11px; }
.search-results mark { background: #f3e6e6; color: #4a3232; padding: 0 2px; }

/* ---------- Footer ---------- */

footer {
  color: #888;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  margin-top: 5px;
  overflow: hidden;
  padding: 0 20px;
}
#copyright { float: left; margin: 16px 0; }
footer nav { float: right; }
footer nav li { float: left; line-height: 50px; margin: 0 0 0 20px; }

/* ---------- Narrow screens ---------- */

@media screen and (max-width: 960px) {
  #content-wrapper { width: auto; margin: 0 10px; }
  header { width: auto; height: auto; overflow: hidden; padding: 15px; }
  #logo { float: none; }
  #logo img { max-width: 100%; height: auto; }
  #header-content { float: none; width: auto; }
  #header-content .search { float: none; margin: 15px 0 0; overflow: hidden; }
  #main-navigation { position: static; margin-top: 15px; }
  #navigation { float: none; }
  #navigation li { float: none; margin: 1px 0 0; }
  #navigation a { line-height: 40px; }
  #navigation .current-menu-item > a { background-color: #fff; }
  #content { width: auto; padding: 0 20px 40px; }
  .col-800, .col-780 { width: auto; margin-right: 0; }
  .alignright { float: none; display: block; margin: 20px auto 0; }
  footer nav { float: none; clear: both; }
  footer nav li { line-height: 30px; margin: 0 20px 0 0; }
  #copyright { float: none; }
}
