/*
Theme Name: Finding Humanity
Text Domain: findinghumanity
Version: 1.0
Description: Theme for the Finding Humanity Podcast website
Author URI: https://findinghumanitypodcast.com/
Theme URI: https://findinghumanitypodcast.com/
*/

@import("bootstrap.min.css");

/* Global */
#wpadminbar { display:none !important;}


/* PAGE */
html{
    margin-top: 0 !important;
}
body{
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.container-{
    max-width: 1920px;
    margin: auto;
}

/* HEADER */
#header{
    width: 100%;
/*     height: 80vh; */
    min-height: 550px;
    max-height: 720px;
    position: relative;
    background-image: url(../images/bg.jpg);
    background-size: 100% auto;
    background-repeat: repeat-x;
    background-color: #F9F9F9;
    /* padding-top: 92px; */
    line-height: 200%;
}
#header.header-page{
    height: 80px;
    min-height: 0;
    padding: 15px 0;
    box-sizing: content-box;
}
#header img.logo{
    max-width:365px
}
@media (max-width:800px){
    #header{
        height: auto;
        max-height: 100%;
    }
}
@media (max-width:680px){
    #header img.logo{
        max-width:280px;
    }   
}

#header .navbar{
    margin-bottom: 48px;
    padding-top: 24px;
    /* padding-right: 64px;  */
    /* padding-left: 64px;  */
    font-size: 14px;
    line-height: 20px;

}
#header .navbar a{
    color: #222;
    font-weight: 600 !important;
}
#header .navbar .btn{
    padding: 0;
    margin-top: -2px;
    color: #FFF;
}
#header .navbar .btn a{
    color: #FFF;
}
#header .navbar-toggler{
    font-size: 14px;
    font-weight: bold;
    padding: .5rem;
}
#header .navbar-toggler span{
    display: inline-block;
    vertical-align: middle;
}
#header .navbar-toggler .navbar-toggler-icon{
    margin-left: 4px;
}

@media (max-width: 992px){
    .navbar-nav{
        background:#FFF;
        position: relative;
        z-index: 999;
        margin-top: 16px;
        padding-bottom: 32px;
        border-bottom: 1px solid #CCC;
    }
}

@media (min-width: 1200px){
    #header .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}
/* @media (max-width: 992px){
    #header .navbar{
        padding: 24px 2rem 8px;
    }
    #header .navbar-nav{
        padding: 16px;
        text-align: right;
    }
} */

/* Podcasts Links */
.podcasts-links > a{
    padding: 0 2px !important;
}

/* Scroll More */
#scrollMore{
    width: 200px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    color: #5C3F43;
    font-size: 12px;
    text-align: center;
    padding-bottom: 32px;
    margin-bottom: 16px;
}

#scrollMore > svg{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    margin: auto;
    animation: pulse 5s infinite both;
    -webkit-animation: pulse 5s infinite both;
    -moz-animation:    pulse 5s infinite both;
    -o-animation:      pulse 5s infinite both;
}
#scrollMore > svg.chevron-small{
    bottom: 19px;
    opacity: .4;
    animation-delay: 2.5s;
}

@media (max-height:650px), (max-width:680px){
    #scrollMore{
        display: none;
    }
}

/* Video / Cover */
#cover-album{
    max-width: 414px;
    position: relative;
    margin: 48px auto 0;
    top:0;
    bottom: 0;
    border-radius: 12px;
    opacity: .5;
    transition: all .4s ease-in-out;
}
    #cover-album.no_autoplay video{
        opacity: 0;
    }
    #cover-album.visible{
        opacity: 1;
    }
    /* Poster */
    #cover-album img{
        width: 100%;
        max-width: 414px;
        position: relative;
        z-index: 2;
        border-radius: 12px;
    }

    /* Play icon */
    .play-button{
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background: rgba(0,0,0, .1);
        z-index: 999;
        border-radius: 12px;
        cursor: pointer;
        transition: opacity .4s ease-in-out;
        display: none;
    }
    .play-button > span,
    .episode-cover-video-caption{
        width: 64px;
        height: 64px;
        display: block;
        margin: auto;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 4px solid #FFF;
        border-radius: 100%;
        padding: 8px;
        box-sizing: content-box;
        box-shadow: 2px 2px 12px rgba(0,0,0, .2);
        transition: all .4s ease-in-out;
    }
    .play-button > span > svg{
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
    }
    .play-button > span.play > svg{
        left: 4px;
        filter: drop-shadow( 2px 2px 12px rgba(0,0,0, .2));
    }

    /* Video states */
    .play-button.playing{
        opacity: 0;
        background: rgba(0,0,0, .2);
    }
    #cover-album:hover .play-button.playing,
    .episode-cover-img:hover .play-button.playing{
        opacity: 1;
    }
    .play-button > span.pause,
    .play-button.playing > span.play{
        display: none;
    }
    .play-button.playing > span.pause{
        display: block;
    }

    /* VIDEO Player */
    #player{
        width:100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 3;
        border-radius: 12px;
    }

    /* Shadow and effects */
    #cover-album::after{
        content:'';
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 1;
        border-radius: 12px;;
        background: #E5E2E2;
        transition: all .4s ease-in-out;
    }
    #cover-album:hover{
        transform: translateY(-4px) translateX(-8px);
    }
    #cover-album:hover::after{
        background-color: #DED9D9;
        transform: translateY(6px) translateX(12px);
    }
    #cover-album:hover .play-button > span{
        box-shadow: 2px 2px 12px rgba(0,0,0, .4);
    }
    #cover-album:hover > span > svg{
        filter: drop-shadow( 2px 2px 12px rgba(0,0,0, .4));
    }

/* ABOUT */


/* FOOTER */
footer{ font-size: 14px; line-height: 20px;}


/* DONATE */
#donate-banner{
    width: 100%;
    height: 64px;
    background: #311f26;
    display: none;
    /* position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto; */

}


/* Titles */
h1,h2,h3,h4,h5,h6{
    font-family: "Century Gothic", CenturyGothic, AppleGothic, 'Apple SD Gothic Neo', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: bold;
	color: #5C3F43;
	padding-bottom: 1em;
}
h1{	
    font-size: 32px;
    line-height: 40px;
}
h2{	
    font-size: 24px;
    line-height: 32px;
}

h1.full-details-title{
    text-transform: none;
    font-weight: bold;
    letter-spacing: normal;
}
h2.full-details-subtitle{
    font-size: 20px;
    line-height: 28px;
    color: #6B6B6B;
    font-weight: bold;
}


/* Changing bootstrap */
.btn{
    padding: 12px 24px;
    border-radius: 44px;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
}
.btn-primary{
    background-color: #5C3F43;
    border-color: #5C3F43;
}
.btn-primary:hover, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:focus{
    background-color: #311f26;
    border-color: #311f26;
}
.btn-secondary{
    color: #5C3F43;
    background-color: #FFF;
    border-color: #5C3F43;
}
.btn-secondary:hover, .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:focus{
    background-color: #311f26;
    border-color: #311f26;
}
a{
    color: #5C3F43;
    font-weight: bold;
}
a:hover, a:hover > svg{
    color: #311f26;
    fill: #311f26;
    text-decoration: none;
}

/* Nav pills */
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #5C3F43;
}



/* Mailchimp */
@media only screen and (max-width: 768px){
    .mc-banner{
        top: auto !important;
        bottom: 0;
    }
}

/* EPISODES */
.episode{
    /* margin-bottom: 32px; */
}
.episode-info{
    font-size: 14px;
    line-height: 20px;
}
.episode-info-summary-title{
    font-size: 16px;
    line-height: 24px;
    color: #333;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}
.episode-info-summary-subtitle{
    margin-bottom: 16px;
}


.episode-cover-img > a > img, 
.episode-info-summary-experts a > img,
.episode-cover-img > video
{
    border-radius: 8px;
}

.episode-cover-img{
    position: relative;
    width: 216px;
    height: 216px;
    float: right;
    transition: all .4s ease-in-out;
}
.episode-cover-img > a > img,
.episode-cover-img > video{
    display: block;
    position: relative;
    z-index: 2;
    width: 100% !important;
}

.episode-cover-img::before{
    content: '';
    width: 216px;
    height: 216px;
    position: absolute;
    right: -12px;
    bottom: -12px;
    z-index: 1;
    border-radius: 8px;
    background-color: #EFECEC;
    transition: all .4s ease-in-out;
}
    .episode-cover-img:hover{
        transform: translateY(-2px) translateX(-4px);
    }
    .episode-cover-img:hover::before{
        transform: translateY(4px) translateX(6px);
    }

.episode-cover-play-button{
    display: block;
}
.episode-cover-play-button > span{
    width: 32px;
    height: 32px;
}
.episode-cover-play-button > span.play > svg{
    position:relative;
    left: -2px;
    top: -4px;
    filter: drop-shadow( 2px 2px 12px rgba(0,0,0, .2));
}
.playing .episode-cover-video-caption{
    display: none;
}


.episode-cover-video-caption{
    width: 100%;
    height: 100%;
    padding: 0;
    text-align: center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.episode-cover-video-caption > span{
    height: 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    color: #FFF;
    border: 0;
    border-radius: 0;
    font-size: 10px;
    transform: translateY( 40px );
}

.episode-cover-img.fullscreen{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 9999;

    max-height: 576px;
    max-width: 576px;
    
    transform: scale(2);
}
.episode-cover-img.fullscreen .episode-cover-play-button{
    max-height: 576px;
    max-width: 576px;
}

.episode-cover-img.fullscreen::before{
    display: none;
}
.episode-cover-img.fullscreen .episode-cover-video-caption > span{
    display: none;
}

#cache{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(0,0,0, .7);
    display: none;
}


.episode-cover-img .close-button{
    position: absolute;
    top: -24px;
    right: -4px;
    display: none;
}
.episode-cover-img.fullscreen .close-button{
    display: block;
}


@media (max-width:768px){
    .episode-cover-img{
        width: 180px;
        height: 180px;
    }
    .episode-cover-img video{
        width: 180px !important;
        height: 180px !important;
    }
    .episode-cover-img::before{
        width: 180px;
        height: 180px;
    }
}


.episode-info-summary-experts a{
    display: inline-block;
    vertical-align: middle;
}
.episode-info-summary-experts a > img{
    display: block;
}
.episode-info-summary-experts span{
    /* line-height: 32px; */
    margin-left: 4px;
    display: inline-block;
    vertical-align: middle;
    color: #6B6B6B;
    font-weight: bold;
}
@media (max-width:768px){
    .episode-info-summary-experts span{
        display: block;
        clear: left;
    }
}

.episode-middot{
    display: inline-block;
    margin: 0 12px;
    font-weight: bold;
    color: #CCC;
}

.episode-info-actions a > svg{
    display: inline-block;
    margin-left: 4px;
    margin-top: -1px;
}

.episode-info-actions-close,
.episode-info.details-visible .episode-info-actions-default,
.episode-info.details-visible .episode-info-summary-experts{
    display: none;
}
.episode-info.details-visible .episode-info-actions-close{
    display: block;
}


.episode-info-details > p{
    margin-bottom: 24px;
}
.episode-info-details-title{
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}
ul.episode-info-details-experts,
ul.episode-info-details-links{
    margin: 8px 0 24px;
    padding: 0;
    list-style: none;
}
ul.episode-info-details-experts > li{
    margin-bottom: 8px;
}
ul.episode-info-details-experts > li > img,
ul.episode-info-details-experts .episode-info-details-experts-info{
    display: inline-block;
    vertical-align: top;
}
ul.episode-info-details-speaker > li > img,
ul.episode-info-details-speaker .episode-info-details-experts-info,
ul.episode-info-details-links > li{
    display: inline-block;
    vertical-align: middle;
}
ul.episode-info-details-experts > li > img{
    border-radius: 8px;
    margin-right: 8px;
}
ul.episode-info-details-experts .episode-info-details-experts-info{
    width: calc(100% - 48px);
    margin-top: -3px;
    margin-bottom: 3px;
}
ul.episode-info-details-speaker .episode-info-details-experts-info{
    margin: 0;
}
ul.episode-info-details-experts .episode-info-details-experts-info strong{
    display: block;
}

@media (max-width:768px){
    ul.episode-info-details-experts > li > img,
    ul.episode-info-details-experts .episode-info-details-experts-info{
        vertical-align: top;
    }
    ul.episode-info-details-experts .episode-info-details-experts-info{
        margin-top: -3px;
    }
}


.episode iframe{
    width: 100% !important;
	height: auto;
	max-width: 750px;
}

ul.episode-info-details-links{
    margin-top: 0;
}
ul.episode-info-details-links > li{
    margin-right: 8px;
}

/* BLANK EPISODE */
.episode-blank{
    opacity: .5;
    -webkit-user-select: none;  
    -moz-user-select: none;    
    -ms-user-select: none;      
    user-select: none;
}
.episode-blank .episode-info-summary-title{
    background: #C4C4C4;
    color: #C4C4C4;
    display: inline-block;
    margin-bottom: 8px;
}
.episode-blank .episode-info-summary-subtitle,
.episode-blank .episode-info-summary-experts span{
    background: #E5E5E5;
    color: #E5E5E5;
    margin-bottom: 4px;
}
.episode-blank .episode-info-summary-experts{
    margin-top: 16px;
}
.episode-blank .blank-img{
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    background-color: #E5E5E5;
    border-radius: 8px;
    margin-right: 4px;
}
.episode-blank .episode-info-summary-experts span{
    margin-left: 4px;
}
.episode-blank .episode-cover-img{
    width: 216px;
    height: 216px;
    background-color: #E5E5E5;
    border-radius: 8px;
}
@media (max-width:768px){
    .episode-blank .episode-cover-img{
        width: 180px;
        height: 180px;
    }
}

.episode-blank .episode-cover-img::before{
    display: none;
}
.episode-blank .episode-cover-img:hover{
    transform: none;
}

/* ANIMATIONS */
@keyframes pulse {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100%{
      opacity: 0.4;
  }
}
@-o-keyframes pulse {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100%{
      opacity: 0.4;
  }
}
@-moz-keyframes pulse {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100%{
      opacity: 0.4;
  }
}
@-webkit-keyframes pulse {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100%{
      opacity: 0.4;
  }
}

/* WP POST */
.post p{
	padding: 8px 0;
}

/* NEWSLETTER */
#newsletter{
    width: 100%;
    height: 340px;
    overflow: hidden;
    position:relative;
    /* background: url(images/bg-faces.png) no-repeat;
    background-size: auto 200%;
    background-position: calc(67% + 100px) 50%; */
}
#newsletter .row{
    height: 100%;
    border-top: 1px solid rgba(0,0,0, .1);
    border-bottom: 1px solid rgba(0,0,0, .1);
}
#newsletter h4{
    /* text-transform: none; */
    letter-spacing: .1em;
    font-weight: bold;
    padding-bottom: 8px;
}
#newsletter a{
    position: relative;
    z-index: 2;
}
#newsletter-faces{
    height: 600px;
    width: auto;
    position: relative;
    top: -120px;
    z-index: 1;
}
