/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 8 version
*/

/*
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: -ms-flexbox;
  display: flex;
  height: 125px;
  -webkit-box-align: 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;
  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: -o-linear-gradient(
    left,
    rgba(0, 0, 0, 0.6),
    transparent
  ) !important;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(0, 0, 0, 0.6)),
    to(transparent)
  ) !important;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6),
    transparent
  ) !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 50px;
  opacity: 1 !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 */

.hero-image {
  margin-bottom: 50px;
}

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,
.nf-form-content select {
  padding: 12px;
  border: 1px solid #c4c4c4;
}

.nf-form-content input[type="button"] {
  background-color: #333;
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.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;
}

.zeno-comments-report-link {
  display: block;
  margin-top: 10px !important;
  font-size: 14px;
}

.zeno-comments-report-link a {
  color: grey;
}

.zeno-comments-report-link a:hover {
  color: #ea5312;
}

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 0.5em 0.5em 0;
  clear: right;
}

/* Scroll Comments */

#back-to-top {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
  border-bottom-right-radius: 0px;
  z-index: 9999 !important;
}

.show-block {
  display: block !important;
}

#comment-scroll-button {
  background-color: #084d93;
  color: white;
  border: transparent;
  border-radius: 5px;
  margin: 5px;
  padding: 10px 30px;
  font-weight: bold;
  text-transform: capitalize;
  -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.25);
}

/* Tour Page */
.tour-stops {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.tour-img {
  height: calc(54vw - 30px);
}

@media screen and (min-width: 768px) {
  .tour-img {
    height: calc(27vw - 30px);
    max-height: 272px;
  }
}

.search-filter-results .blog-latest {
  display: block !important;
}

@media screen and (min-width: 576x) {
  .search-filter-results .blog-latest {
    width: calc(100vw - 90px) !important;
  }
}

@media screen and (min-width: 768px) {
  .search-filter-results .blog-latest {
    width: calc(100vw - 140px) !important;
  }
}

@media screen and (min-width: 992px) {
  .search-filter-results .blog-latest {
    width: 820px !important;
  }
}

@media screen and (min-width: 1200px) {
  .search-filter-results .blog-latest {
    width: 1000px !important;
  }
}

.comment-content .sce-comment p br {
  display: block;
  /*margin-bottom: 16px;*/
  content: "A";
}

.nf-form-content .list-select-wrap .nf-field-element > div,
.nf-form-content input:not([type="button"]),
.nf-form-content textarea {
  color: #333 !important;
}

.wp-block-separator.is-style-wide {
  border-color: #ea5213;
  border-bottom-width: 2px;
  opacity: 100;
}

.comment-content br {
  display: block; /* makes it have a width */
  content: ""; /* clears default height */
  /*margin-bottom: 16px; /* change this to whatever height you want it */
}

#wp-comment-wrap:after {
  content: "Use the enter key for a new paragraph break and shift + enter for a line break.";
  font-style: italic;
  font-size: 0.9em;
}

#comments:after {
  content: "After submitting your comment, please wait until this page completely reloads before leaving this page or our website.";
  display: block;
  font-size: 0.9em;
  font-style: italic;
  margin-bottom: 15px;
}
