/*
Theme Name: Point of Inquiry Theme
Author: Marc Kreidler and Alex Nicaise
Author URI: https://centerforinquiry.org
Template: bootstrap-basic4
Text Domain: poi
Domain Path: /languages/
*/

html, .wrapper, #site-footer, .grey {
	background-color: #FAFAFA;
}

#wpadminbar a {
  color: white !important;
}

body a {
  color: #14315a !important;
}

.blue {
	background-color: #14315a;
}

.blue-text{
  color: #14315a;
}

.orange {
	background-color: #BE9E50;
}

.orange-button {
	background-color: #BE9E50;
}

#color-bullets {
	background-color: #BE9E50;
	color: #BE9E50;
}

.page-item.active .page-link {
	background-color: #BE9E50;
	border-color: #BE9E50;
}

.home #main {
	padding: 0 30px 100px 30px !important;	
}

@media screen and (min-width: 768px) {
	.home #main {
		padding: 0 55px 100px 55px !important;	
	}
}

audio {
  width: 100%;
}

/* Header */

header a:hover {
  text-decoration: none !important;
}

.navbar{
  min-width: 100%;
  padding: 0px;
}

.poi-blue-button-white-text{
  background-color: #14315a;
  color: #FAFAFA;
  padding: 10px 30px;
  border: 3px solid #14315a;
  border-radius: 5px !important;
  text-transform: capitalize;
  font-weight: bold;
  box-shadow: 0px 3px 5px rgba(0,0,0,0.25);
}

.poi-blue-button-white-text:hover{
  background-color: #375886;
  border: 3px solid #375886;
  box-shadow: none;
  color: white !important;
}

.poi-yellow-button-blue-text, .tnp-subscription input.tnp-submit{
  background-color: #BE9E50;
  color: #14315a;
  padding: 10px 30px;
  border: 3px solid #BE9E50;
  border-radius: 5px !important;
  text-transform: capitalize;
  font-weight: bold;
  box-shadow: 0px 3px 5px rgba(0,0,0,0.25);
}

.poi-yellow-button-blue-text:hover, .tnp-subscription input.tnp-submit:hover{
  background-color: #D3B160;
  border: 3px solid #D3B160;
  box-shadow: none;
  color: #14315a !important;
}

.poi-yellow-button-white-text, .donate-bottom-button, .podcast-buttons button{
  background-color: #BE9E50;
  color: white;
  padding: 10px 30px;
  border: 3px solid #BE9E50;
  border-radius: 5px;
  text-transform: capitalize;
  font-weight: bold;
  box-shadow: 0px 3px 5px rgba(0,0,0,0.25);
}

.poi-yellow-button-white-text:hover, .donate-bottom-button:hover, .podcast-buttons button:hover{
  background-color: #D3B160;
  border: 3px solid #D3B160;
  box-shadow: none;
  color: white !important;
}

.donate-bottom-button {
  background-color: #14315a;
  border: 3px solid #14315a;
}

.donate-bottom-button:hover {
  background-color: #375886;
  border: 3px solid #375886;
}

a.home-button{
  padding: 25px 0px;
}

.home-button img{
  height: 75px;
}

.header-right{
  display: flex;
  align-items: center;
}

header .fa-search, div#menu-text{
  color: #14315a;
}

header .fa-search:hover{
  color: #375886 !important;
}

#nav-icon3 {
  margin-left: 35px;
  width: 8px;
}

#nav-icon3 span{
  background: #14315a;
  width: 6px;
  height: 6px;
  border-radius: 100px;
}

nav.collapse-nav a{
  text-transform: capitalize;
  font-weight: bold;
}

.listed-menu{
  margin-right: 35px;
}

.listed-menu ul {
  display: flex;
  flex-direction: row;
}

.listed-menu li:nth-child(n+1){
  margin-left: 35px
}

.listed-menu li a{
  font-weight: bold;
  color: #14315a;
}

.listed-menu li a:hover{
  text-decoration: underline !important;
}

.current_page_item a{
  color: #14315a !important;
}

@media screen and (max-width: 1077px){
  #nav-icon3 {
  display: block;
}
}

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

/* Home Page */

.container{
  max-width: 1024px;
  width: 100%;
}

.home #main{
  padding: 0px !important;
}

.header-hr{
  border-top: 4px solid;
  width: 75px;
  margin-top: -3px;
}

#most-recent{
  text-align: center;
  padding: 50px;
}

#most-recent hr{
  border-color: white;
}

#most-recent h3{
  font-weight: bold;
}

#most-recent h5{
  margin-top: 50px;
}

#most-recent a{
  color: white !important;
}

#most-recent h3, #most-recent h5, #most-recent p, #most-recent a{
  color: white;
}

div#most-recent:after{
  content: "";
  background-color: #14315a;
  width: 25px;
  height: 25px;
  z-index: 9999;
  position: absolute;
  transform: rotate(45deg);
  bottom: -12px;
  right: calc(50% - 15px);
  
}

#popular{
  padding: 50px;
}

#popular hr{
  border-color: #14315a;
  margin-bottom: 50px;
}

#popular h3{
  font-weight: bold;
  width: 90px;
  display: block;
  margin: 0px auto 8px auto;
}

#popular h3, #popular h5, #popular p, #popular a{
  color: #14315a;
}

#popular a:nth-child(9){
  text-decoration: none;
}

#popular button{
  display: block;
  margin: auto;
}

#podcast-apps{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 50px;
}

#podcast-apps h3, #podcast-apps p{
  color: white;
  max-width: 600px;
}

.app-logos img {
  height: 65px;
  transition: transform 0.25s;
}

.app-logos img:hover{
  transform: translateY(-5px);
}

#subscribe{
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#subscribe hr{
  border-color: white;
  margin-bottom: 25px;
}

#subscribe h3 {
  color: white;
  font-weight: bold;
  text-align: center;
}

.single #subscribe {
  padding: 0;
}   

.tnp-subscription{
  width: 100%;
  text-align: center;
}

input.tnp-email{
  text-align: center;
  border-radius: 3px;
  box-shadow: 0px 5px 10px rgba(0,0,0,0.25);
  border: none;
  padding: 10px;
  width: 100%
}

.tnp-field-button{
  text-align: center;
}

.tnp-subscription input.tnp-submit{
  margin: 20px auto auto;
}

#promo-product{
  height: 400px;
  padding: 0px;
}

#promo-text{
  background-color: white;
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
}

#promo-text hr{
  border-color: #14315a !important;
  margin-bottom: 50px;
}

#promo-text h3, #promo-text a{
  color: #14315a !important;
}

a.home-tags {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #BE9E50;
  color: white;
  width: 25%;
  height: 200px;
  border: 1px solid #b0944f;
}

a.home-tags:hover{
  background-color: white;
  text-decoration: none;
  box-shadow: 0px 5px 35px rgba(0,0,0,0.25);
  border: 0px solid transparent !important;
  z-index: 9999;
}

a.home-tags:hover i, a.home-tags:hover h5, .home-tags .fa-search:hover{
  color: #999 !important;
}

.home-tags i {
  color: white;
  font-size: 3em;
  margin: 10px auto;
  display: flex;
  justify-content: center;
}

.home-tags h5 {
  color: white;
  text-align: center;
}

/* End Home Page */

/* Posts */

.article-featured-image {
  height: 400px;
}

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

.single #content-wrapper{
  width: 100% !important;
}

.entry-meta-category-tag{
  padding-top: 50px;
  border-top: 1px solid #ccc;
  margin-top: 50px;
}

.author-bio{
  background-color: #eee;
  border-radius: 5px;
  -webkit-box-shadow: 0px 10px 20px rgba(0,0,0,0.25);
          box-shadow: 0px 10px 20px rgba(0,0,0,0.25);
  padding: 50px 25px;
  margin-top: 25px
}

.author-bio a.see-more:hover {
  color: white;
  text-decoration: none !important;
}

.author-bio .speaker-event-image, .archive .speaker-event-image {
  float: left;  
  height: 200px;
  width: 200px;
  border-radius: 1000px;
}

.author-bio p {
  margin-bottom: 40px;
}

blockquote{
  background-color: #eee;
  padding: 30px 20px 10px 20px !important;
  border-left: 5px solid #084d83 !important;
  margin-bottom: 15px !important;
}

.entry-meta{
  font-size: 1em !important;
}

.tags-icon{
  display: none;
}

.categories-icon{
  display: none;
}

.cat-links a {
  background-color: #084d93;
  color: white !important;
  padding: 5px 20px;
  border-radius: 100px;
  border: 3px solid transparent;
  -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
          box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
  text-decoration: none;
}

.cat-links a:hover{
  background-color: white;
  color: #084d93 !important;
  border: 3px solid #084d93;
  cursor: pointer;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.cat-links p:first-child{
  margin-top: 15px;
  margin-bottom: 25px;
}

.tags-links a {
  background-color: #14315a;
  color: white !important;
  display: inline-block;
  padding: 5px 15px;
  margin: 2px 0px;
  border-radius: 100px;
  border: 3px solid transparent;
  -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
          box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
  text-decoration: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.tags-links a:hover{
  background-color: white;
  color: #14315a !important;
  border: 3px solid #14315a;
  cursor: pointer;
}

.tags-links p:first-child{
  margin-top: 15px;
}

footer.entry-meta .cat-links {
  line-height: 75px;
}

.podcast-buttons{
  margin: 25px auto;
  display: flex;
  justify-content: center;
}

.podcast-buttons button{
  margin: 0px 5px;
}

#prev-next{
  margin-top: 100px;
  margin-left: -55px;
  margin-right: -55px;
  margin-bottom: -100px;
}

#prev-next a{
  width: 50%;
}

#prev-next a:hover{
  text-decoration: none;
}

.next{
  background-color: #14315a;
  text-align: center;
  padding: 10px 0px;
}

.next a, .next, .prev a, .prev{
  color: white !important;
}

.prev{
  background: #375886;
  text-align: center;
  padding: 10px 0px;
}

.prev i, .next i{
  transition: margin 0.25s ease-out;
}

.prev:hover i{
  margin-right: 5px;
}

.next:hover i{
  margin-left: 5px;
}

@media screen and (max-width: 576px){
  #prev-next a{
    width: 100%;
  }
}


@media screen and (max-width: 991px) and (min-width: 768px){
  .author-bio .speaker-event-image, .archive .speaker-event-image {
    float: none;  
    margin: 0px auto 20px !important;  
    height: 200px;
    width: 200px;
    border-radius: 1000px;
  }
}

@media screen and (max-width: 576px){
  .author-bio .speaker-event-image, .archive .speaker-event-image {
    float: none;  
    margin: 0px auto 20px !important;  
    height: 200px;
    width: 200px;
    border-radius: 1000px;
  }
  .author-bio button{
    width: 100%;
  }
}

@media screen and (max-width: 767px){
  .article-featured-image{
    height: 300px;
  }
}

@media screen and (max-width: 567px){
  .entry-header{
    margin-top: 50px;
  }
}

.single h5 {
  margin-top: 50px;
}

/* End Posts */

/* Sidebar */
.subscribe-row img {
  height: 50px;
}

.subscribe-row img:hover {
  position: relative;
  bottom: 5px;
}

.blog-latest p, .blog-latest blockquote {
    display: block;
}


@media screen and (max-width: 992px){
  #sidebar-button{
    display: none !important;
  }
}

/* End Sidebar */

/* Archive */

.article-thumbs {
  height: calc((100vw - 60px) * 9 / 16);
}

.page-link.next, .page-link.prev{
  padding: 8px 10px
}

@media screen and (min-width:768px) {
  .article-thumbs {
    height: calc((100vw - 110px) * 9 / 16);
  }
}

@media screen and (min-width:992px) {
  .article-thumbs {
    height: calc((50vw - 54px) * 9 / 16);
  }
}

@media screen and (min-width:1200px) {
  .article-thumbs {
    height: calc((33vw - 54px) * 9 / 16);
    max-height: 230px;
  }
}

/* End Archive */

/* Footer */

.footer-left h3, .footer-left h5, .footer-left li, #site-footer h6, .footer-right p, .footer-right a, #site-footer a{
  color: #14315a !important;
}

.footer-left h3, .footer-left h5{
  text-transform: capitalize !important;
  font-weight: bold;
}

.footer-left hr{
  border-color: #14315a;
}

img.header-icon{
  border: 1px solid #14315a;
}

#site-footer img.header-icon{
  padding: 10px;
}

#site-footer .current-menu-item a, #site-footer li.menu-item, #site-footer li.menu-item a {
  color: #14315a !important;
  font-weight: bold;
  text-transform: capitalize !important;
}

#site-footer li.menu-item a:hover{
  text-decoration: underline;
}

.footer-logo{
  max-width: 190px !important;
}


/* 404 page */

.four-header{
  font-size: 10em;
  font-weight: 900;
}

#fourohfour-row {
  margin-top: 50px;
  margin-bottom: 100px;
}

#fourohfour-row img{
  max-width: 450px;
  max-height: 450px;
}

#fourohfour-row h2{
  margin-top: -15px
}

#fourohfour-row .col-12.col-md-8.col-lg-6, #fourohfour-row .col-12.col-md-8.col-lg-5{ 
  padding: 0px;
}

.fourohfour-search-container{
  margin-top: 2rem !important;
}

#fourohfour-row .grey-button:hover .fa-search{
  color: white !important
}

@media screen and (max-width: 992px){
    #fourohfour-row {
      padding-top: 0px;
  }

  #fourohfour-row .col-12.col-md-8.col-lg-6, #fourohfour-row .col-12.col-md-8.col-lg-5{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media screen and (max-width: 567px){
  .four-header{
    font-size: 5em;
  }
}

.cfi-plug {
  background-color: #fafafa;
  padding: 50px;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
}

.cfi-plug img {
  max-width: 100px;
  display: block;
  margin: 0px auto 35px;
}

@media screen and (min-width: 768px) {
  .cfi-plug img {
    max-width: 100px;
    display: block;
    margin-left: auto;
  }

  .cfi-plug {
    text-align: left;
  }
}

.accordion h2 {
  text-align: center;
  font-size: 1em !important;
  color: #194e90 !important;
  padding-bottom: 0px;
}

.accordion .collapse {
  border-bottom: 1px solid grey;
}

.accordion button {
  background-color: transparent;
  border: none;
}

.accordion button:hover {
  text-decoration: underline;
}

.accordion button:focus {
  outline: none;
}
