/* =============================================================================
   Base
   ========================================================================== */
@import url("https://fonts.googleapis.com/css?family=Ubuntu:500,700");

body { }



/* =============================================================================
   Header
   ========================================================================== */

#banner {
}


/* Fixed Topbar Navigation */
body { padding-top: 80px; }
body.admin-bar .navbar-fixed-top { top: 28px; }

.navbar .brand {
  font-family: 'Ubuntu',sans-serif;
  color: #FFFFFF;
  display: block;
  float: left;
  font-size: 20px;
  font-weight: 200;
  line-height: 1;
  margin-left: -20px;
  padding: 2px 20px;
}

.navbar-inner{
    background-color: #2E435E;
    background-image: -moz-linear-gradient(center top , #2E435E, #172E50);
    background-repeat: repeat-x;
    border-bottom: 1px solid #275392;
    border-top: 1px solid #1E242D;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 -1px 0 rgba(0, 0, 0, 0.1) inset;
}

.navbar .nav > li > a {
    padding: 15px 10px 20px;
}

/* =============================================================================
   Content
   ========================================================================== */

#content { }


/* =============================================================================
   Primary Content
   ========================================================================== */

/* Put the sidebar on the left */
#main {
  float: right !important;
}

/* Except when in single column mode */
@media (max-width: 767px) {
  #main {
    float: none !important;
    margin-left: 0;
  }
}



/* =============================================================================
   Sidebar
   ========================================================================== */

/* Don't scroll the sidebar if it's all visible.
 * The order of these is important
 */
@media (min-height: 905px) and ( min-width: 768px) and ( max-width: 979px) {
  #sidebar {
    float: right;
    position: fixed;
  }
}

@media (min-height: 1005px) and ( min-width: 980px) and (max-width: 1199px) {
  #sidebar {
    float: right;
    position: fixed;
  }
}

@media (min-height: 1085px) and ( min-width: 1200px) {
  #sidebar {
    float: left;
    position: fixed;
  }
}

/* So the fly-out menus don't disappear behind the WOWSlider images. */
#sidebar {
  z-index: 999;
}


/* .well { background: #fff; } */

.widget time {
    display: block;
    font-size: 0.7em;
}

/* =============================================================================
   Posts
   ========================================================================== */

.hentry header { margin: 0 0 10px 0; }
.hentry h2 a { text-decoration: none; }
.hentry time { display: block; font-size: 0.7em;}
.hentry p.byline { }
.hentry footer { clear: both; }

h1 {
  font-family: 'Ubuntu',sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 36px;
  text-shadow: 0 0 2px #CCCCCC;
}

h2 {
  font-family: 'Ubuntu',sans-serif;
}

/* =============================================================================
   Post Comments
   ========================================================================== */

#comments, #respond, #submit { clear: both; display: block; }
ol.commentlist img.avatar { float: left; margin-right: 10px; }



/* =============================================================================
   Footer
   ========================================================================== */

#content-info {
  margin-top: 45px;
  padding: 35px 0 36px;
  border-top: 1px solid #e5e5e5;
}

#content-info p small { font-size: 13px; }



/* =============================================================================
   WordPress Generated Classes
   See: http://codex.wordpress.org/CSS#WordPress_Generated_Classes
   ========================================================================== */

.aligncenter { display: block; margin: 0 auto; }
.alignleft { margin: 0 20px 20px 0; float: left; }
.alignright { margin: 0 0 20px 20px; float: right; }



/* =============================================================================
   Media Queries
   ========================================================================== */

@media (max-width: 980px) {
  /* Fix top padding when using the responsive grid with the fixed topbar */
  body {
    padding-top: 0;
  }
}


/* =============================================================================
   Podcast Pages
   ========================================================================== */

.podcast time { display: block; font-size: 0.7em;}


/* =============================================================================
   Quote Pages
   ========================================================================== */

.image-clear {
   clear: both;
}

.quote-image img {
  border-style: solid;
  border-width: 1px;
  border-color: #CCC;
  border-radius: 5px;
  padding: 5px 5px 5px 5px;
  width: 100px;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  height: auto;
}

.quote-citation {
  font-style: italic;
}



/* =============================================================================
   Article Pages
   ========================================================================== */

.article-image img {
  border-style: solid;
  border-width: 1px;
  border-color: #CCC;
  border-radius: 5px;
  padding: 5px 5px 5px 5px;
  height: auto;
}



/* =============================================================================
   Humour Pages
   ========================================================================== */

.humour-image img {
  border-style: solid;
  border-width: 1px;
  border-color: #CCC;
  padding: 5px 5px 5px 5px;
  border-radius: 5px;
  height: auto;
} 



/* =============================================================================
   Award Pages
   ========================================================================== */

.award-image img {
  border-style: solid;
  border-width: 1px;
  border-color: #CCC;
  border-radius: 5px;
  padding: 5px 5px 5px 5px;
  height: auto;
} 



/* =============================================================================
   Image Captions
   ========================================================================== */

.wp-caption-text {
  text-align: center;
  font-style: italic;
}



/* =============================================================================
   Blockquote overrides
   ========================================================================== */

blockquote p {font-size: 100%; line-height: normal; color: #888;}



/* =============================================================================
   Search Query overrides
   ========================================================================== */

.search-query {width: 98%; padding-left: 1%; padding-right: 1%;}



/* =============================================================================
   Facebook "Like Box" styling

   The media queries are a hack to fix a problem I recently noticed on the 
   iPhone and iPad, in that "width: 100%" that used to have the desired effect,
   is no longer being honoured, and the IFRAME now extends beyond the column
   containing it.
   JJ 13/06/2012
   ========================================================================== */
#fb-like-box
{
  width: 100%;
}

@media  (max-device-width: 480px) 
{
  #fb-like-box
  { 
    width: 280px;
  } 
}

@media  (min-width: 768px) and (max-width: 979px)
{
  #fb-like-box
  { 
    width: 166px;
  }
}

@media  (min-width: 980px) and (max-width: 1199px)
{
  #fb-like-box
  { 
    width: 220px;
  } 
}

@media  (min-width: 1200px)
{
  #fb-like-box
  { 
    width: 270px;
  } 
}

/* =============================================================================
   Heading font size over-rides
   ========================================================================== */
h1
{
  font-size: 24px;
  line-height: 26px;
  font-weight: 500;
}

h2
{
  font-size: 18px;
  line-height: 20px;
  font-weight: 500;
}

h3
{
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
}

/* =============================================================================
   Link colour over-rides
   ========================================================================== */
a:hover
{
  /*color: rgb(0, 136, 204);*/
  color: rgb(20, 126, 179);
  text-decoration: underline;
}

a
{
  color: rgb(0, 95, 148);
}


/* =============================================================================
   Flexslider
   ========================================================================== */
.flexslider {
  margin: 0px 0px 10px 0px !important;
}

@media (max-width: 767px) {
  .flexslider .slides img {
    width: 230px !important;
    margin-left: auto;
    margin-right: auto;
  }
}


/* =============================================================================
   RSS Widget
   ========================================================================== */
.widget_rss img {
  height: 0px;
  width: 0px;
}

.widget_rss h2 {
  margin-left: -5px;
}

.widget_rss ul {
margin-left: 0px;
border-left: 1px solid rgb(245,245,245);
border-right: 1px solid rgb(245,245,245);
}

.widget_rss ul:before {
   content: "";
   display: block;
   position: relative;
   padding-top: 15px;
   height: 35px;
   width: 100%;
   background: url(http://atheistfoundation.org.au/assets/Forum-Latest.png);
   background-repeat: no-repeat;
   background-color: rgb(245,245,245);
}

/*
.widget_rss ul:after {
   content: "";
   display: block;
   position: relative;
   width: 100%;
   height: 5px;
   background-color: rgb(245,245,245);
}
*/


.widget_rss li {
list-style-type: none;
border-bottom: 1px dotted rgb(223,223,223);
padding-top: 3px;
padding-bottom: 3px;
padding-left: 10px;
padding-right: 10px;
font-size: 11.5px;
}

.widget_rss li cite:before {
  content: "(";
}

.widget_rss li cite:after {
  content: ")";
}



/* =============================================================================
   Gravity Forms
   ========================================================================== */
.gform_wrapper .ginput_complex label
{
    margin-top: -12px !important;
}



/* =============================================================================
   For responsive embedded videos.
   ========================================================================== */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* =============================================================================
   So that I can place "(NEW)" tag on the same line (over-rides :display: block)
   ========================================================================== */
#media_release_list li a, #submission_list li a {
    display: inline !important;
}



/* =============================================================================
   Make the Facebook Like Box responsive.
   ========================================================================== */
#likebox-wrapper * {
   width: 100% !important;
}

/* =============================================================================
   Make required '*' in Gravity Forms red.
   ========================================================================== */
body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label .gfield_required {
   color: red
}

/* =============================================================================
   Increase Gravity Forms field heights.
   ========================================================================== */
body .gform_wrapper .gform_body .gform_fields .gfield input[type=text],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=email],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=tel],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=url],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=number],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=password],
body .gform_wrapper .gform_body .gform_fields .gfield select {
    height:25px
}



/* =============================================================================
   Download membership form button.
   ========================================================================== */
.button{text-decoration:none; text-align:center; 
 padding:5px 10px; 
 border:none; 
 -webkit-border-radius:5px;
 -moz-border-radius:5px; 
 border-radius: 5px; 
 font:16px Arial, Helvetica, sans-serif; 
 font-weight:bold; 
 color:#ffffff; 
 background-color:#006094; 
 background-image: -moz-linear-gradient(top, #006094 0%, #459dc6 100%); 
 background-image: -webkit-linear-gradient(top, #006094 0%, #459dc6 100%); 
 background-image: -o-linear-gradient(top, #006094 0%, #459dc6 100%); 
 background-image: -ms-linear-gradient(top, #006094 0% ,#459dc6 100%); 
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#459dc6', endColorstr='#459dc6',GradientType=0 ); 
 background-image: linear-gradient(top, #006094 0% ,#459dc6 100%);   
  
  
}

.button:hover{
 padding:5px 10px; 
 border:none; 
 text-decoration: none;
 -webkit-border-radius:5px;
 -moz-border-radius:5px; 
 border-radius: 5px; 
 font:16px Arial, Helvetica, sans-serif; 
 font-weight:bold; 
 color:#ffffff; 
 background-color:#459dc6; 
 background-image: -moz-linear-gradient(top, #459dc6 0%, #006094 100%); 
 background-image: -webkit-linear-gradient(top, #459dc6 0%, #006094 100%); 
 background-image: -o-linear-gradient(top, #459dc6 0%, #006094 100%); 
 background-image: -ms-linear-gradient(top, #459dc6 0% ,#006094 100%); 
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#006094', endColorstr='#006094',GradientType=0 ); 
 background-image: linear-gradient(top, #459dc6 0% ,#006094 100%);   
 -webkit-box-shadow:0px 0px 2px #bababa;  -moz-box-shadow: 0px 0px 2px #bababa;  box-shadow:0px 0px 2px #bababa;  
  
}

.button:active{
 padding:5px 10px; 
 border:none; 
 -webkit-border-radius:5px;
 -moz-border-radius:5px; 
 border-radius: 5px; 
 font:16px Arial, Helvetica, sans-serif; 
 font-weight:bold; 
 color:#ffffff; 
 background-color:#006094; 
 background-image: -moz-linear-gradient(top, #006094 0%, #459dc6 100%); 
 background-image: -webkit-linear-gradient(top, #006094 0%, #459dc6 100%); 
 background-image: -o-linear-gradient(top, #006094 0%, #459dc6 100%); 
 background-image: -ms-linear-gradient(top, #006094 0% ,#459dc6 100%); 
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#459dc6', endColorstr='#459dc6',GradientType=0 ); 
 background-image: linear-gradient(top, #006094 0% ,#459dc6 100%);   
}



