/*!
Theme Name: codastory 1.0.1
Theme URI: http://wednesdaystudio.co
Author: Codastory
Author URI: http://wednesdaystudio.co
Description: Description
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: codastory
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

.category {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    background: #fff;
}

article figure[x-cp-image],
article figure {
    text-align: center;
}

body .edition--outer { z-index: auto }
.article p { letter-spacing: 0; }

.article article .article.related,
.end-share,
svg.cp-icon.facebook,
svg.cp-icon.email,
svg.cp-icon.twitter{
    display: none;
}


figcaption,
figure p {
    font-family: NeueHaasUnica,Helvetica Neue,Helvetica,Arial,sans-serif;
    padding-top: 0px;
    text-align: center;
    font-size: 15px;
    line-height: 24px;
    color: #939393;
    font-weight: 400;
    width: 100%;
    margin: 20px auto;
}

article > aside.pullquote {
    margin: 56px auto;
    font-size: 46px;
    line-height: 48px;
    max-width: 1040px;
    letter-spacing: -1px;
    color: #979797;
}

figure {
    text-align: center;
}

figure img,
figure video {
    width: 100%!important;

}

.about-content .readmore {
    font-family: NeueHaasUnica,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-weight: 600;
    font-size: 1.2em;
}

@media only screen and (min-width: 1600px) {
    .about-editions>.block-label {
        margin-left: 115px;
    }
}

.VideoPlaylist-control {
    overflow: hidden;
}

.Video-section.Video-section--main {
    max-width: none;
}

.search-field .form-field--input:focus {
    border-color: #d2d2d2;
}

.Video-section--main .VideoCard--series:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.material-body .wp-block-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.material-body .alignright,
.wp-block-image .aligncenter,
.material-body .alignleft {
    float: none;
    margin: 0;
    width: 100%;
}

.about-person__photo {
    flex-shrink: 0;
}

@media only screen and (min-width: 1200px) {
    .Video-section {
        max-width: 1600px;
        padding-left: 148px;
        padding-right: 148px;
    }
}

@media only screen and (min-width: 1000px) {
    .VideoPlaylist-control {
        max-height: 170px;
    }
    .subscribe__inner:before {
        left: -30px;
        top: 190px;
        width: 331px;
        height: 620px;
    }
}

.copyright a {
    color: inherit;
    box-shadow: inset 0 -1px #555;
}

.footer {
    padding-bottom: 0;
}

@media only screen and (max-width: 650px) {
    body .featured:not(.isInViewpot) .featured__inner .featured-item {
        opacity: 1;
        transform: none;
    }
    
}

@media only screen and (max-width: 650px) {
    [data-search-result] {
        padding: 0 25px;
    }

    [data-search-result] > .flex-column {
        padding-top: 74px;
    }

    [data-search-result] > .flex-column > .flex-column__item:first-child {
        padding-left: 0;
    }
    .subscribe-form__field input {
     font-size: 16px;   
    }
}

.story-meta {
    align-items: center;
}
.story-meta__item + .story-meta__item .story-time {
    padding-top: 1px;
}

@media only screen and (min-width: 650px) {
    .story-meta__item + .story-meta__item .story-time {
        padding-top: 0;
    }
}

.section {
    background-color: #fff;
    position: relative;
    z-index: 10;
}

.section::before,
.section::after {
    clear: both;
    content: '';
    display: table;
}

.popover {
    z-index: 300;
}

.static {
    width: 100%;
}