/*
Theme Name: RDF Main Theme
Author: Marc Kreidler and Alex Nicaise
Author URI: https://www.richarddawkins.net
Template: bootstrap-basic4
Text Domain: rdf-main
Domain Path: /languages/
*/

html, body {
  background-color: #1f2b59;  
}

a {
  color: #EA5213;
}

a:hover{
  color: #c64417;
}

.blue {
  background-color: #1f2b59;
}

#site-footer {
  background-color: #1f2b59;
}

#site-footer hr{
  color: #EA5213;
  border-bottom: 0px;
}

#site-footer img.header-icon{
  border: 0px;
}

.greyhr hr {
  border-color: #eee;
  border-width: 1px;
}

.grid th, .grid td, .grid tr {
  border: 1px solid black;
}

table {
  font-size: 12px;
}

td {
  text-align: center;
}

td.label {
  text-align: left;
}

th, td {
  text-align: center;
  padding: 5px;
}

#cfi-mission.widget img {
  max-width: 250px;
}

.row.main-navigation{
  overflow-x: visible;
  max-width: 1140px;
  margin: auto !important;
}

.row.main-navigation .col-md-12, .navbar{
  padding: 0px;
}

.navbar-nav{
  margin-left: auto !important;
  margin: 0px;
}

#lg-nav{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 125px;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

#lg-nav-menu li a{
  color: white;
}

.dropdown-menu.show a{
  color: #1f2b59 !important;
}

.dropdown-toggle::after{
  position: relative;
  top: 2px;
}

@media screen and (min-width: 991px){
  .dropdown-menu.show{
  position: absolute !important;
  -webkit-box-shadow: 0px 10px 20px rgba(0,0,0,0.25);
          box-shadow: 0px 10px 20px rgba(0,0,0,0.25);
  background-color: #EEE !important;
}
}

@media screen and (max-width: 1200px){
  .navbar{
    padding: 0px 35px;
  }
}

@media screen and (min-width: 768px) {
  #lg-nav {
    position: relative;
    top: 20px;
  }
}

@media screen and (min-width: 992px) {
  .home-button {
    position: relative;
    top: 10px;
  }
}

/* User Bar */

.user-admin a{
  color: #333 !important;
}

@media screen and (max-width: 1077px){
.fa-search:before {
    content: "\f002" !important;
}
}

@media screen and (max-width: 767px){
  .user-admin{
    width: 100%;
    text-align: center;
    border-radius: 0px;
  }

  a.home-button{
    padding-top: 30px;
    padding-bottom: 0px;
  }

  .home-button img{
    max-height: 80px;
    padding-top: 15px;
  }

  .header-right{
    padding-top: 7px;
  }
}

@media screen and (max-width: 576px){
  .user-admin img{
    display: inline !important;
  }

  .user-admin ul{
    margin: 0px;
    padding-left: 0px;
  }
}

/* End User Bar */

/* Start Slider Styles */

.home .featured-image {
  width: 100vw;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
          background-size: cover;
  overflow-y: hidden;
  overflow-x: hidden;
}

@media screen and (max-width: 566px){

.home .featured-image{
height: 100vw !important;
  width: 200vw !important;
}
}

.slider-container{
  width: 100vw;
  height: calc(56vw - 350px);
  min-height: 450px;
  overflow-y: hidden;
  overflow-x: hidden
}

.slider-container img{
  height: 56vw !important;  
  width: 100vw !important;
  margin-top: -100px !important;
}

.flexslider{
  margin-bottom: 0px !important;
}

.flexslider .caption {
  color: white;
  padding: 0px !important;
  background: transparent;
  font-size: 2em;
  font-weight: bold;
  text-align: left !important;
  line-height: 125%;
}

.flex-control-nav{
  display: none;
}

.metaslider .flexslider .caption-wrap{
  background: -webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0.6)), to(transparent)) !important;
  background: -webkit-linear-gradient(left, rgba(0,0,0,0.6), transparent) !important;
  background: -o-linear-gradient(left, rgba(0,0,0,0.6), transparent) !important;
  background: linear-gradient(to right, rgba(0,0,0,0.6), transparent) !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: -webkit-flex !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          -webkit-flex-direction: column !important;
          flex-direction: column !important;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          -webkit-justify-content: center;
          justify-content: center;
  padding: 50px;
  opacity: 1.0 !important;
  width: 100%;
  height: calc(56vw - 350px) !important;
  min-height: 450px;
  position: relative;
  top: 0 !important;  
}

.metaslider .caption{
  max-width: 400px;
  font-size: 2.25em;
}

a.flex-next{
  left: 50px !important;
  top: calc(56vw - 400px) !important;
  width: 50px !important;
  height: 50px !important;
}

a.flex-prev{
  left: 0 !important;
  top: calc(56vw - 400px) !important;
  width: 50px !important;
  height: 50px !important;
}

@media screen and (max-width: 1426px){
a.flex-next{
  top: 400px !important;
}

a.flex-prev{
  top: 400px !important;
}
}

@media screen and (max-width: 981px){
.slider-container img{
  height: 650px !important;  
  width: 1155px !important;
  margin-left: -100px !important;
}
}

@media screen and (max-width: 477px){
.slider-container{
  min-height: 300px;
}
.slider-container img{
  margin-left: -250px !important;
}  
.metaslider .flexslider .caption-wrap{
  background: rgba(0,0,0,0.45) !important;
  padding: 50px 25px !important;
  min-height: 300px;
}
.metaslider .caption{
  max-width: 100% !important;
  font-size: 1.5em;
  text-align: center !important;
}
a.flex-next, a.flex-prev{
  display: none;
}
}

/* End Slider Styles */

/* Recent Comments Widget */

.recentcomments a {
  font-weight: bold;
} 

#recentcomments {
  list-style-type: none;
  padding-left: 5px;
  margin-bottom: 50px;
}

li.recentcomments {
  margin: 10px 0px;
}

h2.widgettitle {
  font-size: 1.75em;
  border-bottom: 2px solid #ea5213;
  padding-bottom: 1rem;
  margin-bottom: 20px;
}

/* End Recent Comments */

/* Start Home Page */

hr {
  border-color: #ea5213;
  border-width: 2px;
}

.container.page-container.white{
  margin-top: 25px;
  margin-bottom: 50px;
}

.home .container.page-container.white{
  padding: 50px;
}

@media screen and (max-width: 991px){
.container.page-container.white{
  min-width: 100vw !important;
  margin-bottom: 0px;
  margin-top: 0px;
}
}

@media screen and (max-width: 576px){
.home .container.page-container.white{
  padding: 25px;
}
}

.blog-latest h5 {
  margin-top: 10px;
}

/* End Home Page */

/* Start Forms */

.nf-form-content {
  margin-top: 20px;
}

.nf-form-content input, .nf-form-content textarea {
  background-color: #eee;
  padding: 6px;
  border: 0px
}  

.nf-form-content input[type="button"] {
  background-color: #084d93;
  color: white;
  padding: .375rem .75rem;
  border-radius: .25rem;
}

.nf-form-content input[type="button"]:hover {
  background-color: #1f2b59;
  cursor: pointer;
}

/* End Forms */

/* Start Ties Page */

button.ties {
  background-color: #1f2b59;
  color: white;
  border: transparent;
  border-radius: 5px;
  margin: 5px;
  padding: 10px 30px;
  font-weight: bold;
  text-transform: uppercase;
  -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.25);
          box-shadow: 0px 3px 5px rgba(0,0,0,0.25); 
}

button.ties:hover {
  background-color: #ea5213;
  cursor: pointer;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* End Ties Page */

/* Start Single Post */

.single .container.page-container.white{
  padding: 0px;
}

#content-wrapper{
  width: 67%;
}

#sidebar-wrapper{
  width: 33%;
  background-color: white;
}

#sidebar-right{
  background-color: white;
  color: #333;
  padding: 50px 25px;
  height: auto;
  width: 100%;
}

#sidebar-right a, #sidebar-right h4, #recent-news-list p, #sidebar-right li, h1.widget-title {
  color: #333 !important;
}

#sidebar-left .widget, #sidebar-right .widget{
  border: 2px solid #EA5213;
}

#sidebar-right a, #sidebar-right li {
  text-transform: inherit;
}

#email-subscribe input{
  background-color: #eee;
}

#email-subscribe .btn{
  background-color: #ea5213;
}

#support a h4.orange-button{
  color: white !important;
}

.entry-meta{
  margin-top: 10px;
  margin-bottom: 10px
}

.category{
background-color: #1f2b59;
padding: 5px 10px;
margin-right: 3px;
margin-bottom: 10px;
}

a.category{
  color: white !important;
}

.category.atheism{
background-color: #d32f2f;
padding: 5px 10px;
margin-right: 3px;
}

.category.education{
background-color: #616161;
padding: 5px 10px;
margin-right: 3px;
}

.category.politics{
background-color: #7b1fa2;
padding: 5px 10px;
margin-right: 3px;
}

.category.religion{
background-color: #ea5213;
padding: 5px 10px;
margin-right: 3px;
}

.category.science{
background-color: #1976d2;
padding: 5px 10px;
margin-right: 3px;
}

.category.skepticism{
background-color: #388e3c;
padding: 5px 10px;
margin-right: 3px;
}

.category.technology{
background-color: #ee6630;
padding: 5px 10px;
margin-right: 3px;
}


.source{
  font-size: 1.75em;
  text-transform: uppercase;
  font-weight: bold;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

h2.comments-title {
  display: none;
}
#comments {
  margin-top: 0px;
}

#comments .comment-content.media-body{
  border-top: 0px !important;
  border-left: 0px !important;
  border-right: 0px !important;
}

#comments ul li{
  word-break: break-word;
}

#comments .avatar.avatar-64.photo{
  margin-right: 15px;
}

#comments .comment-metadata a{
  color: #ea5213;
}

#comments cite.fn a, #comments span.says{
  font-size: 1.5em;
  font-weight: 500;
}

#comments .comment-author{
  margin-bottom: 25px !important;
}

#comments .form-submit{
  margin-top: 15px;
}

blockquote{
  background-color: #eee;
  padding: 15px 30px;
  border-left: 3px solid #ea5213;
}

@media screen and (max-width: 991px){
  #sidebar-wrapper, #sidebar-right{
    display: none;
  }

  #content-wrapper{
  width: 100%;
}
}

h2.comments-title {
  display: none;
}

#comments {
  margin-top: 0px;
}
 
.commentnumber {
  font-size: 1.3em;
  float:right;
  color:#999999;
  margin:0;
  padding:0 .5em .5em 0;
  clear:right;
}

