/*
Theme Name: Uniting Church

*/

/* Artfully masterminded by ZURB  */

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------
:: Images
:: Posts
:: Typography
:: Header
:: Shared Styles
:: Page Name 1
:: Page Name 2
*/



@font-face {
    font-family: 'Din';
    src: url('css/din_bold-webfont.eot');
    src: url('css/din_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/din_bold-webfont.woff') format('woff'),
         url('css/din_bold-webfont.ttf') format('truetype'),
         url('css/din_bold-webfont.svg#din-boldregular') format('svg');
    font-weight: 700;
    font-style: normal;

}




@font-face {
    font-family: 'Din';
    src: url('css/din_regular-webfont.eot');
    src: url('css/din_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/din_regular-webfont.woff') format('woff'),
         url('css/din_regular-webfont.ttf') format('truetype'),
         url('css/din_regular-webfont.svg#din-regularregular') format('svg');
    font-weight: normal;
    font-style: normal;

}



/* -----------------------------------------
   Images
----------------------------------------- */

.widget img {
    max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"] {
    height: auto; /* Make sure images with WordPress-added height and width >attributes are scaled correctly */
}
img.size-full {
    max-width: 97.5%;
    width: auto; /* Prevent stretching of full-size images with height and >>width attributes in IE8 */
}

.wp-caption { max-width: 100%; }

/* -----------------------------------------
   Posts
----------------------------------------- */

.author-box h5 {margin-top:0px;}
.author-box .author_gravatar {margin-right:10px;}
.author-box p {font-size:14px; font-size:1.4em;}

article .th {margin-bottom:10px; margin-bottom:1em;}

.alignleft {float:left;}
.alignright {float:right;}
.aligncenter {margin:0 auto;text-align:center;}

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

h1,h2,h3{font-family: 'Din';}
h4,h5,h6,p {font-family: 'Open Sans', sans-serif;}

h1,h2,h3,h4,h5,h6,a:link {font-weight:700;}

.site-title .subheader {margin-bottom:0;}
ul {
  margin-left:30px;
}
ul ul {
  margin-bottom:0;
}
/* -----------------------------------------
   Header
----------------------------------------- */

.site-header {border-bottom:1px solid #ddd;padding:1.5rem 0 1rem 0;margin:-1.875em 0 1.875em 0;}
.sidebar ul li {list-style:none;}
.top-bar-section ul li>a {border-left:1px solid #333;border-right:none;}


.open-menu {
  margin-bottom: 10px;
  margin-top: -10px;
  background: url('images/menu.png') right 50% no-repeat;
  padding-right:30px;
  display:inline-block;
  color:#fff;
  float:right;
}
.open-menu:hover, .open-menu:focus {
  color:#fff;
}

@media only screen and (max-width: 600px) {
  .open-menu {
    float:left;
    margin-top:20px;
  }
}
.mobile-menu {
  margin-top:20px;
}
#menu-mobile-menu {
  margin-bottom:0;
}
/* -----------------------------------------
   Shared Styles
----------------------------------------- */
.wp-caption-text {text-align: center;}
.sticky { }
.gallery-caption { }
.bypostauthor{ }
.site-content .gallery {
  margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-content .gallery a img {
  border: none;
  height: auto;
  max-width: 90%;
}
.site-content .gallery dd {
  margin: 0;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}

embed,
iframe,
object {
  max-width: 100%;
}
/* -----------------------------------------
   General
----------------------------------------- */

body {
  background:#F2F2F2;
}

/* header */
#header {
  background:#333;
  border-bottom:10px solid #CA030A;
}
#logo {
  font-size:28px;
  color:#fff;
  background:url(images/logo.png) no-repeat left 50%;
  min-height:83px;
  margin-top:20px;
  padding-left:100px;
  padding-top:12px;
  font-family:'Din'
}
#logo a {
  color:#fff;
}
#logo em {
  font-size:20px;
  font-style:normal;
  font-weight:300;
}

#searchform {
  margin-top:45px;
  height:35px;
  
  overflow:hidden;
}
#s {
  width:70%;
  float:left;
  margin-top:1px;
}
#search-button {
  width:25%;
  float:right;
  height:34px;
  line-height:23px;
   padding: 6px 10px 11px;
   display:block;
   text-align: center;
}
@media only screen and (max-width: 768px) {
  #searchform{
    margin-top: 20px;
  }
  #logo {
    margin-bottom:0;
  }
  #logo {
    font-size:1.4em;
  }
  #logo em {
    font-size:0.8em;
  }
}
/* main */

#main {
  padding:30px 0 50px;
}
/* footer */

#footer {
  background:#222;
  padding:50px 0;
  color:#ccc;
  text-align:center;
}
#footer, #footer p {
    font-size:12px;
}
#footer p {
  margin:7px 0;
}
#footer a {
  color:#fff;
}


/* -----------------------------------------
   Side nav
----------------------------------------- */

.sidebar-inner {
  padding-left:30px;
  border-left:1px solid #ccc;
}
ul.side-nav {
    background: none repeat scroll 0 0 #CCD3D8;
    border: 3px solid #FFFFFF;
    border-radius: 4px 4px 4px 4px;
    display: block;
    list-style: none outside none;
    margin: 0 0 20px;
    padding:8px 17px;
}

.side-nav li {
  list-style:none;
  font-size: 16px;
  margin:0;
}
ul.side-nav li {
    margin: 0;
    line-height:1;
}
.side-nav a {
  padding:8px 0;

    border-bottom: 1px dotted #EEEEEE;
}
ul.side-nav > li:last-child a {
  border:0;
}
.side-nav .current_page_item .active {
  color:#000;
}
.side-nav ul {
  margin:0;
}
.side-nav ul a {
  font-size:13px;
  font-weight:normal;
  padding-left:20px;
}
@media only screen and (max-width: 768px) {
  .sidebar-inner {
    padding-left:0;
    border:0;
  }
}

/* -----------------------------------------
   Homepage
----------------------------------------- */

 .home .post h2 {
  font-size:18px;
  margin-bottom:5px;
 }
.post-time {
  font-size:12px;
  padding-bottom:10px;
  display:block;
}

/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme

*********************************/
.flex-container {
  margin-bottom: 40px;
}
.flexslider {margin: 0 0 20px; background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(../images/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
.flex-direction-nav .flex-prev {left: -36px;}
.flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 90%; position: absolute;  text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}
/* -----------------------------------------
   Internal pages
----------------------------------------- */

/* news */


hr {
  color:#fff;
}

