/*
Theme Name: Azula Codes Custom Theme V2
Description: Sub-theme of the Castilo theme
Author: Liviu Cerchez
Author URI: http://themeforest.net/user/liviu_cerchez
Template: castilo
Version: 2.0
*/

/* fixes bug which hides mobile hamburger */
@media (max-width: 991px) {
    .site-menu-toggle, .no-js .site-menu-toggle  {
        display: block;
    }
}

/* adds support for svg logo */
.custom-logo{
    width:120px;
}

/* make font in header bigger */
#top {
    font-size: 1.3em;
}

/* style the share links on the home page */
.share-container {
    float: right;
}
.share-container .share-title {
    display: inline-block;
    margin: 0px;
    font-family: "Oswald", serif;
    font-size: 1.2rem;
    font-weight: 300;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0;
}

.share-container .share-links {
    display: inline-block;
    margin: 0px;
}
.social-navigation a[href*="/feed"],
.social-navigation .icon-feed a{
    display:none;
}
.social-navigation a[href*="/feed"]:before,
.social-navigation .icon-feed a:before{
    content: "\F46B";
}

.entry-title{
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}


.order_filter .episode_order_filter{
    display:inline-block;
}
.order_filter span{
    display:inline-block;
}

.order_filter.asc .episode_order_filter.asc,
.order_filter.desc .episode_order_filter.desc,
.order_filter.popular .episode_order_filter.popular{
    pointer-events: none;
    cursor:default;
    color: #262626;
}


/*Social Links Menu*/
#social-links-menu {
    text-align: center;
    padding-top: 4px;
}
#social-links-menu span{
    vertical-align: middle;
}
#social-links-menu .mdi{
    padding: 0px 5px;
}
#social-links-menu a{
    color: black;
}
#social-links-menu a:hover{
    color: #9d0a39;
}








/*Landing Page Styles */

#landing-page-sticky-header{
    text-align:center;
    position:fixed;
    top:0;
    left:0;
    right:0;
    background-color:white;
    padding-bottom:8px;
    z-index: 99;
}
#landing-page-sticky-header h4{
    margin-bottom:0px;
}

#landing-page-sticky-header .social-navigation{

}

.episodes-listing .entry-content{
	max-height: 10vw;
	overflow:hidden;
}

.page-template-template-landing-page  header.navbar#top{
    max-height:0px;
    overflow:hidden;
    padding:0px;
}

.page-template-template-landing-page  .container .episodes-listing .episode-single .episode-info-wrapper{
    z-index: 99999;
}


.page-template-template-landing-page main#content{
    padding-top:0;
}

@media (min-width: 768px) {
    body.page-template-template-landing-page .episode-single{
        max-width:1000px;
        margin: auto;
    }
    body.page-template-template-landing-page  .container .episodes-listing .episode-single .date-title-block.desktop  {
        display:block;
    }
    body.page-template-template-landing-page  .container .episodes-listing .episode-single .date-title-block.mobile  {
        display:none;
    }
    body.page-template-template-landing-page  .container .episodes-listing .episode-single .image-label{
        display:block;
        float:left;
        width:25%;
    }
    body.page-template-template-landing-page  .container .episodes-listing .episode-single .episode-info-wrapper{
        display:block;
        float:right;
        width:70%;
    }
    body.page-template-template-landing-page .episode-single .date-title-block .episode-title{
        text-align: left;
    }
}
.page-template-template-landing-page  .container .episodes-listing .episode-single .date-title-block.desktop  {
    display:none;
}

@media (min-width: 481px) {
    body main .mejs-button.mejs-download-button{
        background-color: #262626;
        width: 132px;
        height: 40px;
        padding: 7px 3px;
        border-radius: 3px;
    }
    body main .mejs-button.mejs-download-button a:before{
        content: 'DOWNLOAD';
        font-size: 16px;
        color: #fff;
        float:left;
        font-family:Karla, sans-serif;
        line-height:27px;
        text-transform: uppercase;
        letter-spacing: .1em;
        font-weight: 600;
    }
    body main .mejs-button.mejs-download-button a:after{
        content: '\F1DA';
        position: relative;
        color:#fff;
        top: 3px;
        font-size: 24px;
        line-height: 40px;

        font: normal normal normal 24px/1 'Material Design Icons';
    }

    body main .castilo-mejs-container .mejs-playpause-button {
        width: 95px;
    }

    body main .castilo-mejs-container .mejs-playpause-button > button {
        background: #262626;
        margin: 0;
        width: 95px;
        height: 40px;
        border-radius: 3px;
        padding: 0 4px;
    }

    body main .castilo-mejs-container .mejs-playpause-button > button:after {
        content: 'LISTEN';
        font-size: 16px;
        color: #fff;
        float:left;
        font-family:Karla, sans-serif;
        line-height:27px;
        text-transform: uppercase;
        letter-spacing: .1em;
    }

    body main .castilo-mejs-container .mejs-playpause-button > button:before {
        content: '\F40A';
        font-size: 24px;
        color: #fff;
        margin-top: 1px;
        float:right;
    }
}

.page-template-template-landing-page .container {
    max-width: 100%;
    padding: 0px;
    margin-top:50px;
}
.page-template-template-landing-page header#featured {
    display: none;
}

.page-template-template-landing-page .hero{
    background-size: cover;
    background-position: top center;
}
.page-template-template-landing-page .hero .hero-overlay{
    width: 95%;
    margin: auto;
    padding: 30px 0;
    text-align: center;
    color:white;
}
@media (min-width: 481px) {
    .page-template-template-landing-page .hero .hero-overlay .hero-center-row{
        margin-bottom:20px;
    }
    .page-template-template-landing-page .hero .hero-overlay .hero-center-row > *{
        display:inline-block;
        vertical-align: middle;
    }
    .page-template-template-landing-page .hero .hero-overlay .hero-center-row img{
        width: 25%;
    }
    .page-template-template-landing-page .hero .hero-overlay .hero-center-row img.nick-headshot{
        margin-top:20px;
    }
    body.page-template-template-landing-page .hero .hero-overlay .hero-center-row h5{
        width: 48%;
        margin:0px;
    }
}
.page-template-template-landing-page .hero .hero-overlay .hero-center-row a{
    color:white;
}
.page-template-template-landing-page .hero .hero-overlay .hero-center-row img{
    color:white;
    max-width:200px;
}
.page-template-template-landing-page .hero .hero-overlay .hero-center-row h5{
    margin: 20px 0;
}
.page-template-template-landing-page .episode-single{
    margin: 30px 0px;
    padding: 0px 20px;
    overflow: visible;
    position: relative;
}
.page-template-template-landing-page .clear-it-all{
    width: 80%;
    clear: both;
    overflow: auto;
    position: relative;
    height: 0px;
    border-bottom: 1px solid #262626;
    padding-top: 35px;
    margin: 0 10% 35px;
    pointer-events: none;
}
.page-template-template-landing-page .episode-single .date-title-block{
    text-align: center;
    padding-bottom: 10px;
}
.page-template-template-landing-page .episode-single .date-title-block .episode-title{
    display: block;
    font-size: 20px;
    margin-top:10px;
}
.page-template-template-landing-page .episode-single .date-title-block .episode-title .title-date{
    color:#262626;
    text-decoration: underline #fff;
}
.page-template-template-landing-page .episode-single .image-label{
    text-align: center;
}

.page-template-template-landing-page .episode-single .image-label img{
}
.page-template-template-landing-page .episode-single .image-label a{
    display: block;
    padding-top: 10px;
    font-size: 17px;
}

.page-template-template-landing-page .episode-single .excerpt{
    margin: 10px 0px 20px;
}

body.page-template-template-landing-page .episode-single .share-social{
    position: relative;
}

body.page-template-template-landing-page .episode-single .share-social:after{
    width:100%;
    content:"";
    clear:both;
}

@media (min-width: 470px) {
    body.page-template-template-landing-page .episode-single .share-social:after{
        content: "";
        width: 100%;
        height: 50px;
        display: block;
    }
    body.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown{
        left:0px;
    }
    body.page-template-template-landing-page .episode-single .share-social .share-container{
        right:0px;
    }
    body.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown, 
    body.page-template-template-landing-page .episode-single .share-social .share-container {
        display:block;
        position:absolute;
        margin:auto;
    }
    body.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown button,
    body.page-template-template-landing-page .episode-single .share-social .share-container button {
        display:block;
        margin:auto;
        width:200px;
    }
    body.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown .subscribe-options,
    body.page-template-template-landing-page .episode-single .share-social .share-container .share-links{
        display:block;
        margin:auto;
        position: absolute;
        width:200px;
    }

}
/* button */

.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown,
.page-template-template-landing-page .episode-single .share-social .share-container {
    float: none;
    display: block;
    position: relative;
    text-align: center;
    margin: 10px auto;
}

.page-template-template-landing-page .episode-single .share-social .share-container button,
.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown button {
    background-color: lightblue;
    border: none;
    width: 100%;
    margin: 0px auto;
    display: block;
}
.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown button .arrow,
.page-template-template-landing-page .episode-single .share-social .share-container button .arrow {
    width:20px;
    height:20px;
}
.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown button .arrow,
.page-template-template-landing-page .episode-single .share-social .share-container button .arrow {
    width:20px;
    height:20px;
    transition:transform 1s;
}
.button:hover .arrow, button:hover .arrow, 
input[type="button"]:hover .arrow, input[type="reset"]:hover .arrow, 
input[type="submit"]:hover .arrow, 
.button.button-filled .arrow, 
input.button-filled .arrow, 
input.button:focus .arrow, 
.pagination .page-numbers:hover .arrow, 
.pagination a.page-numbers:focus .arrow, 
.woocommerce-pagination .page-numbers:hover .arrow, 
.woocommerce-pagination a.page-numbers:focus .arrow {
    fill:#fff;
    transition: fill .03s linear;
}

.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown button.show .arrow,
.page-template-template-landing-page .episode-single .share-social .share-container button.show .arrow {
    -webkit-transform: scaleY(-1) translateY(2px);
    transform: scaleY(-1) translateY(2px);
}

.page-template-template-landing-page .episode-single .share-social .share-container .share-title{
    display: none;
}

.page-template-template-landing-page .episode-single .share-social .share-container .share-links,
.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown .subscribe-options{
    max-height: 0px;
    background-color:#666;
    opacity: 0;
    transition: all 1s;
    padding:0;
    text-align:center;
    width:100%;
    margin:auto;
    z-index:999;
    overflow:hidden;
}

.page-template-template-landing-page .episode-single .share-social .share-container .share-links a,
.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown .subscribe-options a{
    display: block;
    color: white;
    transition: color .7s;
    cursor:pointer;
    margin:auto;
    text-decoration:none;
    font-size: 1rem;
    padding: 10px 8px;
}

.page-template-template-landing-page .episode-single .share-social .share-container .share-links a:hover,
.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown .subscribe-options a:hover {
    color:#9d0a39;
}

.page-template-template-landing-page .episode-single .share-social .share-container .share-links a .mdi{
    font: normal normal normal 24px/30px "Material Design Icons" !important;
}

.page-template-template-landing-page .episode-single .share-social .share-container .share-links .screen-reader-text{
    position: relative;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0px;
    overflow: auto;
    clip: none;
    border: 0 none;
}

.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown .subscribe-options span,
.page-template-template-landing-page .episode-single .share-social .share-container .share-links span{
    line-height: 24px;
    vertical-align: text-bottom;
}

.page-template-template-landing-page .episode-single .share-social .share-container .share-links.show,
.page-template-template-landing-page .episode-single .share-social .subscribe-dropdown .subscribe-options.show{
    max-height: 250px;
    opacity: 1;
    margin-top:0px;
    padding:5px 0;
}


.page-template-template-landing-page  a{
    cursor:pointer;
}



/* MODAL*/
.modal-window {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.25);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  pointer-events: none;
}
.modal-window.show {
    width: 300px;
    height:270px;
    position: fixed;
    top:90px;
    left:calc(50% - 150px);
    padding: 2em;
    background: #ffffff;
    opacity: 1;
    pointer-events:auto;
    box-shadow: 0px 0px 5px #333;
}
.modal-window.show header {
    font-weight: bold;
}
.modal-window.show h1 {
    font-size: 150%;
    margin: 0 0 15px;
}

.modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
  cursor:pointer;
}
.modal-close:hover{
    color: black;
}

.scroll_to_anchor{
    position:absolute;
    top:-100px;
    visibility:hidden;
    width:100%;
    height:0px;
    padding:0;
    margin:0;
}

.modal-text{
    font-size: 1em;
    font-family: 'Karla', sans-serif;
}

/* Search result page*/
.search .search-title-container {
    text-align: center;
}

.search .search-title-container .entry-title {
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0;
    font-size: 34px;
    color: rgb(157, 19, 58);
    line-height: 1.765;
}

.search .search-title-container p {
    color: rgb(38, 38, 38);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 3.333;
}

.search .featured-content, .search .featured-content:after {
    background-color: #fff;
    background-image: none !important;
}

#search-form-container {
    background-color: #e9e9e9;
}

#search-form-container form {
    margin-bottom: 20px;
    margin-top: 20px;
}

#search-form-container form .search-field {
    width: 70%;
    margin-right: 20px;
    border-radius: 25px;
    outline: none;
    color: #bcbcbc;
    background: white url(assets/images/icon_search.png) right 20px center no-repeat;
    font-size: 17px;
    text-align: left;
}

#search-form-container form .search-submit {
    width: 27%;
    border-radius: 25px;
    background-color: #450016;
    border-color: #450016;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.search-field:after {
    content: "\f002";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

@media screen and (max-width: 1200px) {
    #search-form-container form .search-field {
        width: 60%;
    }
}