/*
 * mcms_sermons_6.css
 *
 * Styles for Sermons 6 Layout
 *
 */


/* IMPLEMENTER: These responsive styles are for #shell on Layouts site; remove them! */

@media (max-width:320px) {
    #shell {
        width: 100vw;
    }
    #shell-wrap {
        width: 100% !important;
    }
}

@media (max-width:999px) {
    #shell {
        width: 100vw;
    }
    #shell-wrap {
        width: 95% !important;
    }
}



/* IMPLEMENTER: Remove above styles for #shell element */

.header-image {
    width: 100%;
    padding-top: 55%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}

@media (min-width:56em) {
    .header-image {
        width: 100%;
        padding-top: 40%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        text-align: center;
        position: relative;
    }
}

.header-image .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-45%) translateX(-50%);
    width: 90%;
}

@media (min-width: 48em) {
    .header-image .container {
        width: 80%;
        transform: translateY(-25%) translateX(-50%);
    }
}

.header-image .page-title {
    font-size: 2em;
    font-weight: 500;
    margin-top: 0;
    padding-top: 0;
    line-height: 1.3;
}

@media (min-width: 48em) {
    .header-image .page-title {
        font-size: 3em;
    }
}

.header-image .view-btns {
    background-color: #eee;
    width: 200px;
    padding: .75em 1em;
    text-align: center;
    margin: .75em auto;
    display: block;
    font-weight: 600;
    border: 2px solid #eee;
    border-radius: 2px;
    box-sizing: border-box;
    font-size: .9em;
}

@media (min-width: 56em) {
    .header-image .view-btns {
        background-color: #eee;
        padding: 1em 5em;
        margin: 1.5em;
        width: auto;
        display: inline-block;
        font-weight: 600;
        border: 2px solid #eee;
        border-radius: 2px;
        font-size: 1em;
    }
}

#sermons6 {
    /* IMPLEMENTER: Probably won't need this padding on normal site implementation! */
    padding: 2em 2em;
}

@media (min-width: 56em) {
    #sermons6 {
        /* IMPLEMENTER: Probably won't need this padding on normal site implementation! */
        padding: 2em 0 0;
    }
}

/* LANDING PAGE STYLES */

#sermons6 .latest-sermon .fullwidth-vid,
#sermons6 .latest-sermon #sermon-video-embedded-on-landing-page {
    width: 100%;
    height: auto;
    margin-bottom: 2em;
}

#sermons6 .latest-sermon {
    width: 100%;
    margin-bottom: 3em;
}

@media (min-width:56em) {
    #sermons6 .latest-sermon {
        margin-bottom: 2em;
    }
}

#sermons6 .latest-sermon .title {
    text-transform: uppercase;
    color: #5d7b9d;
}

#sermons6 .latest-sermon .details {
    width: 100%;
    float: none;
    margin-right: 0;
    margin-bottom: 2em;
    outline: none;
}

@media (min-width:56em) {
    #sermons6 .latest-sermon .details {
        width: 55%;
        float: left;
        margin-right: 5%;
        margin-bottom: 2em;
        outline: none;
    }
}

#sermons6 .latest-sermon .details .speaker-no-headshot {
    display: none;
}

#sermons6 .latest-sermon.no-headshot .details {
    width: 100%;
    float: none;
    margin-bottom: 2em;
}

#sermons6 .latest-sermon.no-headshot .details .speaker-no-headshot {
    display: block;
}

#sermons6 .latest-sermon .details .date,
#sermons6 .latest-sermon .details-full .date {
    margin-bottom: .25em;
}


#sermons6 .latest-sermon .speaker {
    float: none;
    width: 100%;
}

@media (min-width:56em) {
    #sermons6 .latest-sermon .speaker {
        float: right;
        width: 40%;
    }
}

#sermons6 .latest-sermon.no-headshot .speaker {
    display: none;
}

#sermons6 .latest-sermon .speaker .headshot {
    width: 100%;
    float: none;
    margin-right: 0;
    margin-top: 1em;
    height: auto;
}

@media (min-width:56em) {
    #sermons6 .latest-sermon .speaker .headshot {
        width: 45%;
        float: left;
        margin-right: 8%;
        margin-top: .25em;
        height: auto;
    }
}

#sermons6 .latest-sermon .speaker .name {
    display: block;
    font-size: 1.35em;
    line-height: 1.35em;
    margin: 0;
}

/* Media Icons */

#sermons6 .media {
    display: block;
    margin: 0 0 2em;
    float: left;
}

#sermons6 .media li {
    display: inline-block;
    margin-right: 1.5em;
    vertical-align: top;
}

#sermons6 .media li a {
    display: block;
    font-family: Sermon-Icons;
    font-size: 24px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    speak: none;
    text-transform: none;
    color: #a8abb1;
}

#sermons6 .media li a:hover {
    opacity: 0.98;
    color: #5d7b9d;
}

#sermons6 .media li.video a {
    /* this icon needs a tiny boost, to match up better */
    font-size: 26px;
}

#sermons6 .media li.video a::before {
    content: "\e906";
}

#sermons6 .media li.notes a::before {
    content: "\e903";
}

#sermons6 .media li.listen a::before {
    content: "\e905";
}

#sermons6 .media li.download a::before {
    content: "\e907";
}

#sermons6 .latest-sermon:after {
    content: '';
    display: block;
    clear: both;
}

#sermons6 .latest-sermon .addthis_button_compact {
    display: block;
    float: left;
    padding: .65em 1.25em;
    background-color: #5d7b9d;
    color: #fafafa;
    border-radius: 2px;
    font-size: 1em;
}

#sermons6 .latest-sermon .addthis_button_compact:hover {
    background-color: #5995d8;
    cursor: pointer;
}

/* Featured Sermons Carousel */
#sermons6 .featured-sermons-carousel-wrapper > h2 {
    margin-bottom: .5em;
}

#sermons6 .featured-sermons-carousel {
    width: 100%;
    margin: 6em 0 4em;
    position: relative;
}

@media (min-width:56em) {
    #sermons6 .featured-sermons-carousel {
        width: 100%;
        margin: 0;
        position: relative;
    }
}

#sermons6 .featured-sermons-carousel a[class^="sermonicon-"] {
    display: block;
    font-family: Sermon-Icons;
    font-size: 3em;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    speak: none;
    text-transform: none;
    color: #333;
    top: 30%;
    opacity: 1.0;
}



/* Desktop Carousel */

#sermons6 .featured-sermons-carousel #prev-slide-desktop,
#sermons6 .featured-sermons-carousel #next-slide-desktop {
    display: none;
}

@media (min-width:56em) {
    #sermons6 .featured-sermons-carousel #prev-slide-desktop,
    #sermons6 .featured-sermons-carousel #next-slide-desktop {
        display: block;
    }
}

#sermons6 .featured-sermons-carousel #prev-slide-desktop {
    position: absolute;
    left: 0;
    content: "\e915";
}

#sermons6 .featured-sermons-carousel #next-slide-desktop {
    position: absolute;
    right: 0;
    content: "\e914";
}

#sermons6 .featured-sermons-carousel #prev-slide-desktop:not(.disabled):hover,
#sermons6 .featured-sermons-carousel #next-slide-desktop:not(.disabled):hover {
    color: #5d7b9d;
}

#sermons6 .featured-sermons-carousel #prev-slide-desktop.disabled,
#sermons6 .featured-sermons-carousel #next-slide-desktop.disabled {
    opacity: 0.0;
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-desktop {
    width: 90%;
    margin: auto;
    position: relative;
    overflow: hidden;
    display: none;
}



/* Desktop carousel will display at 56em/896px or higher */

@media (min-width:56em) {
    #sermons6 .featured-sermons-carousel .cycle-slideshow-desktop {
        display: block;
    }
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-desktop .cycle-slide {
    margin: 0;
    height: auto;
    width: auto;
    padding: 1em 1em 0;
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-desktop .cycle-slide>a {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 1.0;
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-desktop .cycle-slide img {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    -webkit-backface-visibility: hidden;
    transition: transform .25s ease-in-out;
    -moz-transition: transform .25s ease-in-out;
    -webkit-transition: transform .25s ease-in-out;
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-desktop .cycle-slide>a:hover>img {
    transform: scale(1.15);
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-desktop .cycle-slide h6 {
    text-transform: uppercase;
    text-align: center;
    margin: 10px 0 0 0;
    line-height: 1.3;
    color: #5d7b9d;
    font-size: 1.25em;
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-desktop .cycle-slide>a:hover h6 {
    color: #5995d8;
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-desktop .cycle-slide p {
    text-align: center;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1em;
}



/* Mobile Carousel */

#sermons6 .featured-sermons-carousel #prev-slide-mobile,
#sermons6 .featured-sermons-carousel #next-slide-mobile {
    display: block;
}

@media (min-width:56em) {
    #sermons6 .featured-sermons-carousel #prev-slide-mobile,
    #sermons6 .featured-sermons-carousel #next-slide-mobile {
        display: none;
    }
}

#sermons6 .featured-sermons-carousel #prev-slide-mobile {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -1.5em;
}

#sermons6 .featured-sermons-carousel #next-slide-mobile {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 5px);
}

#sermons6 .featured-sermons-carousel #prev-slide-mobile:not(.disabled):hover,
#sermons6 .featured-sermons-carousel #next-slide-mobile:not(.disabled):hover {
    color: #5d7b9d;
}

#sermons6 .featured-sermons-carousel #prev-slide-mobile.disabled,
#sermons6 .featured-sermons-carousel #next-slide-mobile.disabled {
    opacity: 0.15;
}

#sermons6 .featured-sermons-carousel .disabled:hover {
    cursor: default;
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-mobile {
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    display: block;
}



/* Mobile carousel will display up to 56em/896px, then be hidden */

@media (min-width:56em) {
    #sermons6 .featured-sermons-carousel .cycle-slideshow-mobile {
        display: none;
    }
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-mobile .cycle-carousel-wrap {
    width: 100% !important;
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-mobile .cycle-slide {
    margin: 0;
    height: auto;
    width: 100% !important;
    padding: 0;
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-mobile .cycle-slide>a {
    display: block;
    width: 100%;
    height: 100%;
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-mobile .cycle-slide img {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-mobile .cycle-slide h6 {
    text-transform: uppercase;
    text-align: center;
    margin: 10px 0 0 0;
    line-height: 1.3;
    color: #5d7b9d;
    font-size: 1.25em;
}

#sermons6 .featured-sermons-carousel .cycle-slideshow-mobile .cycle-slide p {
    text-align: center;
    font-weight: 600;
    margin-bottom: 2em;
    font-size: 1em;
}

/* STYLES FOR SERMON-LIST VIEW */

#sermons6 .back-to-landing {
    background-color: #eee;
    padding: 1em 2em;
    line-height: 1;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

@media (min-width:56em) {
    #sermons6 .back-to-landing {
        background-color: #eee;
        padding: 1em 2em;
        line-height: 1;
        font-size: 1em;
        font-weight: 600;
        margin-bottom: 2em;
        width: auto;
        display: inline-block;
    }
}

#sermons6 .back-to-landing>span {
    font-size: 1.5em;
    vertical-align: -.195em;
}

#sermons6_control_bar {
    width: 100%;
    background-color: #5d7b9d;
    padding: 0;
    height: auto;
    margin: 2em 0 4em;
    box-sizing: border-box;
    text-align: center;
}

@media (min-width:960px) {
    /* IMPLEMENTER: This BP is a little arbitrary (for the Layouts Site); adjust as needed for your filters */
    #sermons6_control_bar {
        width: 100%;
        position: relative;
        padding: 0 1em 0 0;
        height: 42px;
        margin: 2em 0 4em;
    }
}



/* SelectMenu Styles */

.ui-selectmenu-button {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: block;
    float: none;
    height: 100%;
    line-height: 1;
    margin: 0;
    outline: none !important;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-decoration: none;
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.0);
    transition: background-color .25s ease-in-out;
    -moz-transition: background-color .25s ease-in-out;
    -webkit-transition: background-color .25s ease-in-out;
}

@media (min-width:960px) {
    .ui-selectmenu-button {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        cursor: pointer;
        display: block;
        float: left;
        height: 100%;
        line-height: 1;
        margin: 0;
        outline: none !important;
        overflow: hidden;
        padding: 0;
        position: relative;
        text-decoration: none;
        width: 155px !important;
        background-color: rgba(255, 255, 255, 0.0);
        transition: background-color .25s ease-in-out;
        -moz-transition: background-color .25s ease-in-out;
        -webkit-transition: background-color .25s ease-in-out;
    }
}

.ui-selectmenu-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.ui-selectmenu-button span.ui-icon {
    display: none !important;
}

.ui-selectmenu-button span.ui-selectmenu-text {
    display: block;
    font-size: 1.15em;
    font-weight: 400;
    line-height: 47px;
    overflow: hidden;
    padding: 0 1.5em 0 1.5em;
    position: relative;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
    color: #fafafa;
    text-transform: uppercase;
    letter-spacing: .025em;
}

.ui-selectmenu-button span.ui-selectmenu-text:after {
    content: "\e908";
    color: white;
    font-family: 'Sermon-Icons' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: rotate(90deg);
    display: inline-block;
    margin-left: 15px;
}

.ui-selectmenu-button span.sermonicon-play {
    display: none;
}

@media (min-width: 960px) {
    .ui-selectmenu-button span.ui-selectmenu-text {
        font-size: 1em;
        line-height: 42px;
    }
}

.ui-selectmenu-button span.sermonicon-play {
    font-size: 11px;
    font-weight: normal !important;
    margin-top: -6px;
    position: absolute;
    right: 2em;
    color: #fafafa;
    top: 50%;
    transform: rotate(90deg);
}

@media (min-width:960px) {
    .ui-selectmenu-button span.sermonicon-play {
        right: 1.25em;
    }
}

.ui-selectmenu-button span.sermonicon-play:before {
    color: #fafafa;
}

.ui-selectmenu-button.ui-state-disabled {
    cursor: default;
    opacity: 0.5;
}

.ui-selectmenu-button.ui-state-disabled span.icon-menu4 {
    display: none;
}

.ui-selectmenu-menu {
    display: none;
    left: 0;
    margin: 10px 0 0;
    position: absolute;
    top: 0;
    z-index: 999;
}

.ui-selectmenu-menu .ui-menu {
    border: none;
    list-style: none;
    margin: 0;
    max-height: 300px !important;
    max-width: none !important;
    overflow: auto;
    overflow-x: hidden;
    padding: 0;
    position: relative;
    background-color: #5d7b9d;
}

@media (min-width:960px) {
    .ui-selectmenu-menu .ui-menu {
        max-width: 155px;
    }
}

.ui-selectmenu-menu .ui-menu li {
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 400;
    list-style: none;
    margin: 0;
    outline: none;
    padding: 1em 1.5em;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-transform: none;
    color: #fafafa;
    background-color: rgba(30, 30, 30, 0.0);
    text-align: center;
}

@media (min-width:960px) {
    .ui-selectmenu-menu .ui-menu li {
        text-align: left;
        font-size: 1em;
    }
}

.ui-selectmenu-menu .ui-menu li:hover {
    background-color: rgba(30, 30, 30, 0.2);
}

.ui-selectmenu-open {
    display: block;
}



/* Search Box */

#sermons6_search {
    float: none;
    display: block;
    margin-top: 0;
    position: relative;
    height: 100%;
    width: 100%;
    padding: 1em;
    box-sizing: border-box;
}

@media (min-width:960px) {
    #sermons6_search {
        position: absolute;
        display: block;
        margin-top: 0;
        right: 1.5em;
        height: 100%;
    }
}

#sermons6_search #sermon-search #sermon-search-term {
    padding: .5em;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    font-size: 1.15em;
    font-family: -proximanova-1, proxima-nova-2, sans-serif;
}

@media (min-width:960px) {
    #sermons6_search #sermon-search #sermon-search-term {
        position: absolute;
        padding: .25em .5em;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 130px;
        outline: none;
        font-size: 1em;
    }
}

#sermons6_search #sermon-search #sermon-search-submit {
    border: none;
    background-color: transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    right: 1em;
    font-size: 14px;
    color: #999999;
    cursor: pointer;
}

@media (min-width: 960px) {
    #sermons6_search #sermon-search #sermon-search-submit {
        right: 0;
    }
}

#sermons6_search #sermon-search #sermon-search-term::placeholder,
#sermons6_search #sermon-search #sermon-search-term:-ms-input-placeholder {
    color: #999999;
}



/* Sermons 6 List */

#sermons6_list {
    display: block;
    margin: 0;
    width: 100%;
    position: relative;
    min-height: 160px;
}

#sermons6_list .fail {
    display: block;
    text-align: center;
    margin-top: 2em;
}

#sermons6_list .filtered {
    display: block;
    margin-top: 2em;
    margin-bottom: 1em;
}

#sermons6_list .loader,
#sermons6_series_container .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    margin-left: -30px;
    margin-top: -30px;
}


#sermons6_list .sermon-list-item {
    display: block;
    margin: 3em 0;
}

@media (min-width:56em) {
    #sermons6_list .sermon-list-item {
        display: flex;
        flex-wrap: nowrap;
        margin: 4em 0;
    }
}

#sermons6_list .sermon-list-item:first-of-type {
    margin-top: 2em;
}

#sermons6_list .sermon-list-item .image-link {
    width: 100%;
    margin-right: 0;
    height: 56.25%;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

@media (min-width:56em) {
    #sermons6_list .sermon-list-item .image-link {
        width: 30%;
        margin-right: 3%;
        height: 16.875%;
        transition: opacity .25s ease-in-out;
        -moz-transition: opacity .25s ease-in-out;
        -webkit-transition: opacity .25s ease-in-out;
    }
}

#sermons6_list .sermon-list-item .image-link:hover {
    opacity: 0.9;
}

#sermons6_list .sermon-list-item .image-link .thumb {
    width: 100%;
    height: auto;
    margin-bottom: 1em;
    -webkit-backface-visibility: hidden;
}

@media (min-width:56em) {
    #sermons6_list .sermon-list-item .image-link .thumb {
        width: 100%;
        height: auto;
        margin-bottom: 0;
        -webkit-backface-visibility: hidden;
    }
}

#sermons6_list .sermon-list-item .main-sermon-image + .placeholder-sermon-image { display: none; }

#sermons6_list .sermon-list-item .details {
    margin: 0;
}

#sermons6_list .sermon-list-item .details .title {
    text-transform: uppercase;
}

#sermons6_list .sermon-list-item .details .date {
    margin-bottom: 0;
    font-size: 16px;
}

#sermons6_list .sermon-list-item .details .passage {
    margin-bottom: 0;
}

#sermons6_list .sermon-list-item .details .media {
    margin-top: 1em;
    margin-bottom: 1.2em;
    float: none;
}

@media (min-width:56em) {
    #sermons6_list .sermon-list-item .details .media {
        float: left;
    }
}

#sermons6_list .sermon-list-item .details .addthis_button_compact {
    display: inline-block;
    float: none;
    padding: .65em 1.25em;
    background-color: #5d7b9d;
    color: #fafafa;
    border-radius: 2px;
    font-size: 1em;
    margin-top: 0;
}

@media (min-width:56em) {
    #sermons6_list .sermon-list-item .details .addthis_button_compact {
        float: left;
        margin-top: .75em;
    }
}

#sermons6_list .sermon-list-item .details .addthis_button_compact:hover {
    background-color: #5995d8;
    cursor: pointer;
}

#sermons6_list .sermon-list-item .details .media li a {
    font-size: 22px;
}

#sermons6_list .sermon-list-item .details .media li.video a {
    font-size: 23px;
}

#sermons6 .load-more {
    display: block;
    text-align: center;
    color: #777;
    font-weight: 600;
    font-size: 1.5em;
    position: relative;
    width: 100px;
    margin: auto;
    height: 2em;
    transition: color .25s ease-in-out;
    -moz-transition: color .25s ease-in-out;
    -webkit-transition: color .25s ease-in-out;
    cursor: pointer;
}

#sermons6 .load-more:hover {
    color: #5d7b9d;
}

#sermons6 .load-more.loading {
    color: transparent;
    background-image: url("../_img/preloader.svg");
    background-repeat: no-repeat;
    background-position: center center;
    width: 40px;
    height: 40px;
    background-size: cover;
}

#sermons6 .load-more:after {
    display: block;
    font-family: Sermon-Icons;
    font-size: 15px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    speak: none;
    text-transform: none;
    content: "\e902";
    color: #5d7b9d;
    top: 2em;
    margin-left: -7.5px;
    left: 50%;
    position: absolute;
}

#sermons6 .load-more.disable,
#sermons6 .load-more.disable:after {
    cursor: default;
    color: #ccc;
}

#sermons6 .load-more.loading:after {
    display: none;
}

/* SERIES LIST VIEW */

#sermons6_series_container {
    min-height: 235px;
    text-align: center;
    position: relative;
}

#sermons6_series {
    display: block;
    margin: 0;
    width: 100%;
    position: relative;
    min-height: 160px;
}

@media (min-width:56em) {
    #sermons6_series {
        display: flex;
        min-height: 160px;
        flex-wrap: wrap;
    }
}

#sermons6_series .series-list-item {
    width: 100%;
    margin-right: 0;
    margin-bottom: 3em;
}

@media (min-width:56em) {
    #sermons6_series .series-list-item {
        width: 31.333333333%;
        margin-right: 3%;
        margin-bottom: 2em;
    }
}

#sermons6_series .series-list-item:nth-child(3n+3) {
    margin-right: 0;
}

#sermons6_series .series-list-item .image-link {
    display: block;
    transition: transform .25s ease-in-out;
    -moz-transition: transform .25s ease-in-out;
    -webkit-transition: transform .25s ease-in-out;
    padding-top: 56.25%;
    background-size: cover;
    background-repeat: no-repeat background-position: center;
    position: relative;
    -webkit-backface-visibility: hidden;
}

#sermons6_series .series-list-item .image-link .overlay {
    position: absolute;
    display: block;
    opacity: 0.0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1em;
    background-color: rgba(0, 0, 0, 0.65);
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

#sermons6_series .series-list-item .image-link .overlay h3 {
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    font-size: 1.5em;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-smoothing: antialiased !important;
    font-weight: 600;
    text-shadow: 1px 1px 0px #333;
}

#sermons6_series .series-list-item .image-link:hover {
    transform: scale(1.15);
}

#sermons6_series .series-list-item .image-link:hover .overlay {
    opacity: 1.0;
}

#sermons6_series .series-list-item .title-link {
    text-align: center;
    font-size: 1.25em;
    text-transform: uppercase;
    margin: .75em auto .25em;
}

#sermons6_series .series-list-item .date-range {
    font-weight: 600;
    margin-top: 0;
    text-align: center;
    font-size: 1em;
}



/* SERMON DETAIL VIEW */
#sermons6 .sermon-detail {
    width: 100%;
    position: relative;
}

#sermons6 #sermon-video-embedded,
#sermons6 .sermon-detail .fullwidth-vid {
    width: 100%;
    height: auto;
    margin-bottom: 2em;
    position: relative;
    z-index: 1;
}

#sermons6 #sermon-video-embedded.sticky,
#sermons6 .sermon-detail .fullwidth-vid.sticky {
    z-index: 100;
    box-shadow: 0 0px 10px 5px rgba(0,0,0,0.18);
}

#sermons6 .sermon-detail .summary {
    width: 100%;
    display: block;
    margin-bottom: 2em;
}

#sermons6 .sermon-detail .title {
    text-transform: uppercase;
    color: #5d7b9d;
}

#sermons6 .sermon-detail .details {
    width: 100%;
    float: none;
    margin-right: 0;
    margin-bottom: 2em;
}

#sermons6 .sermon-detail .details:focus {
    outline: 0;
    border: 0;
}

@media (min-width:56em) {
    #sermons6 .sermon-detail .details {
        width: 45%;
        float: left;
        margin-right: 5%;
        margin-bottom: 2em;
    }
}

#sermons6 .sermon-detail .details .media {
    float: left;
    margin-top: 10px;
}

#sermons6 .sermon-detail .details .passage {
    margin-bottom: 10px;
}

#sermons6 .sermon-detail .details .addthis_button_compact {
    display: block;
    float: left;
    padding: .65em 1.25em;
    background-color: #5d7b9d;
    color: #fafafa;
    border-radius: 2px;
    font-size: 1em;
    margin-top: 10px;
}

#sermons6 .sermon-detail .details .addthis_button_compact:hover {
    background-color: #5995d8;
    cursor: pointer;
}

#sermons6 .sermon-detail .details .speaker-no-member-data {
    display: block;
}

#sermons6 .sermon-detail.has-member-data .details .speaker-no-member-data {
    display: none;
}

#sermons6 .sermon-detail .details .date {
    margin-bottom: .25em;
}

#sermons6 .sermon-detail .speaker {
    width: 100%;
    float: none;
    margin-bottom: 2em;
    display: block;
    clear: both;
    padding-top: 2em;
}

@media (min-width:56em) {
    #sermons6 .sermon-detail .speaker {
        width: 50%;
        padding-top: 0;
        float: left;
        margin-bottom: 2em;
        clear: none;
    }
}

#sermons6 .sermon-detail .speaker .headshot {
    float: none;
    margin-right: 0;
    width: 100%;
    margin-bottom: 1em;
}

@media (min-width:56em) {
    #sermons6 .sermon-detail .speaker .headshot {
        float: left;
        margin-right: 2em;
        width: 50%;
        margin-bottom: 0;
    }
}

#sermons6 .latest-sermon .speaker .position,
#sermons6 .sermon-detail .speaker .position {
    margin-bottom: .25em;
}

#sermons6 .sermon-detail .speaker .name {
    font-size: 1.35em;
    line-height: 1.35;
    margin-bottom: 0;
    display: block;
}

#sermons6 .sermon-detail .speaker .social,
#sermons6 .latest-sermon .speaker .social {
    display: block;
    margin: 1em 0 2em;
}

#sermons6 .sermon-detail .speaker .social li,
#sermons6 .latest-sermon .speaker .social li {
    display: inline-block;
    margin-right: 1em;
    vertical-align: top;
    padding-top: 1px;
}

#sermons6 .sermon-detail .speaker .social li.website,
#sermons6 .latest-sermon .speaker .social li.website {
    padding-top: 0;
}

@media (min-width:56em) {
    #sermons6 .sermon-detail .speaker .social li,
    #sermons6 .latest-sermon .speaker .social li {
        display: inline-block;
        margin-right: .75em;
        vertical-align: top;
    }
}

#sermons6 .sermon-detail .speaker .social li a,
#sermons6 .latest-sermon .speaker .social li a {
    font-size: 20px;
    color: #a8abb1;
    display: block;
    font-family: Sermon-Icons;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    speak: none;
    text-transform: none;
}

@media (min-width:56em) {
    #sermons6 .sermon-detail .speaker .social li a,
    #sermons6 .latest-sermon .speaker .social li a {
        font-size: 18px;
    }
}

#sermons6 .sermon-detail .speaker .social li a:hover,
#sermons6 .latest-sermon .speaker .social li a:hover {
    opacity: 0.98;
    color: #5d7b9d;
}

.sermon-loading {
  text-align: center;
  padding: 4em 0;
  padding-top: 0;
}
.sermon-loading img {
  width: 60px;
}


/* This website/world icon needs a boost in size, to match up better */

#sermons6 .latest-sermon .speaker .social li a>.sermonicon-world,
#sermons6 .sermon-detail .speaker .social li a>.sermonicon-world {
    font-size: 1.1em;
}

#sermons6 .sermon-detail:after {
    display: block;
    width: 100%;
    clear: both;
    content: " ";
}

@media (max-width:56em) {
    #sermons6 .latest-sermon .speaker .headshot {
        margin-bottom: 1em;
    }
    #sermons6 .latest-sermon .speaker .name {
        font-size: 24px;
        line-height: 1.6;
        margin-bottom: .25em;
        margin-top: 0px;
    }
    #sermons6 .latest-sermon .speaker .position {
        margin-bottom: 5px;
    }
}



/* Sermon Notes Section */

#sermons6 .sermon-notes {
    width: 100%;
    display: block;
    padding: 0;
    margin: 4em 0;
    box-sizing: border-box;
    border: 2px solid #5d7b9d;
    border-radius: 4px;
}

#sermons6 .sermon-notes .header {
    background-color: #5d7b9d;
    padding: 3em 2em;
    color: #fafafa;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width:56em) {
    #sermons6 .sermon-notes .header {
        padding: 4em;
    }
}

#sermons6 .sermon-notes .header h3 {
    color: #fafafa;
    text-transform: uppercase;
    margin-bottom: 1em;
}

#sermons6 .sermon-notes .header p {
    color: #fafafa;
    font-weight: 400;
    margin-bottom: 0;
}

#sermons6 .sermon-notes .form-area {
    min-height: 200px;
    padding: 3em 2em;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width:56em) {
    #sermons6 .sermon-notes .form-area {
        min-height: 400px;
        padding: 4em;
    }
}

#sermons6 .sermon-notes #sermon-notes-form>fieldset {
    max-width: 100%;
}

#sermons6 .sermon-notes #sermon-notes-form h6 {
    color: #5d7b9d;
    font-weight: 400;
    margin-bottom: 1em;
}

#sermons6 .sermon-notes #sermon-notes-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #808080;
    border-radius: 2px;
    margin-bottom: 2em;
    padding: .75em 1em;
    font-size: 14px;
    font-family: -proximanova-1, proxima-nova-2, sans-serif;
}

#sermons6 .sermon-notes #sermon-notes-form #notes-email {
    display: block;
    width: 287px;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #808080;
    border-radius: 2px;
    margin-bottom: 2em;
    padding: .75em 1em;
    font-size: 14px;
    font-family: -proximanova-1, proxima-nova-2, sans-serif;
}

#sermons6 .sermon-notes #sermon-notes-form #loader-box {
/* This element will replace buttons for the standard sermon notes, once the buttons are clicked.
   It would be ideal if the height/width and alignment of this loader-box element were identical to the buttons,
   for a clean look and feel.  */
    display: none;
    width: 130px;
    height: 30px;
    margin: 1em 2em 1em 0;
    background-image: url("../_img/preloader.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    vertical-align: top;
    box-sizing: border-box;
}

#sermons6 .sermon-notes #sermon-notes-form #loader-box.active {
    display: inline-block;
}

#sermons6 .sermon-notes #sermon-notes-form .form-button {
    display: inline-block;
    margin: 1em 2em 1em 0;
    background-color: #5d7b9d;
    color: #fafafa;
    outline: none;
    border: 1px solid #5d7b9d;
    border-radius: 2px;
    padding: .65em 1.25em;
    font-size: 1em;
    font-weight: 400;
    line-height: 1;
    width: 130px;
    height: 30px;
    text-align: center;
    font-family: -proximanova-1, proxima-nova-2, sans-serif;
    box-sizing: border-box;
    vertical-align: top;
}

#sermons6 .sermon-notes #sermon-notes-form .form-button:hover {
    cursor: pointer;
    background-color: #5995d8;
    border-color: #5995d8;
}

#sermons6 .sermon-notes #sermon-notes-form #notes-submit.disable,
#sermons6 .sermon-notes #sermon-notes-form #notes-download.disable {
    display: none;
}

#sermons6 #sermons6-modal-msg {
    visibility: hidden;
    width: 85vw;
    max-width: 300px;
    transform: translateY(-50%) translateX(-50%);
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 1.5em 2em;
    background-color: rgba(93, 123, 157, 0.98);
    /* Link color, translated to RGB, with a bit of transparency */
    z-index: 9999;
    box-sizing: border-box;
    border-radius: 2px;
    transition: all .35s ease-in-out;
    -moz-transition: all .35s ease-in-out;
    -webkit-transition: all .35s ease-in-out;
    opacity: 0.0;
    box-shadow: 0 0 6px 3px rgba(0,0,0,0.15);
}

#sermons6 #sermons6-modal-msg.active {
    visibility: visible;
    opacity: 1.0;
}

#sermons6 #sermons6-modal-msg p {
    color: #fff;
    margin: 0 auto;
    text-align: center;
    display: block;
    padding: 0;
    line-height: 1.6;
    font-weight: 400;
    font-size: 16px;
}

#sermons6 .sermon-notes #notes .pnoteText {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 2em;
  padding: 1em;
  font-size: 14px;
  border: none;
  outline: none;
  background-color: #f7f7f7;
  color: #252525;
}

#sermons6 .sermon-notes #notes p {
  line-height: 35px;
}

#sermons6 .sermon-notes #notes .blank {
  line-height: 19px;
  color: #252525;
}

/* Nice, warm red... not too jarring */
#sermons6 .sermon-notes #notes .blank.wrong-answer {
  color: #710a0a;
}

/* Use appropriate color from theme */
#sermons6 .sermon-notes #notes .blank.correct-answer {
  color: #5d7b9d;
}

#sermons6 .sermon-notes #notes .pnoteText {
  height: 100px !important;
}

#sermons6 .sermon-notes #notes .blank {
  border-bottom: 1px solid #252525;
}

/* Form buttons for Interactive Notes */
#sermons6 .form-area .button-small {
    display: block;
    width: 100%;
    padding: .65em 1.25em;
    background-color: #5d7b9d;
    color: #fafafa;
    border: 0;
    border-radius: 2px;
    font-size: 1em;
    margin: .5em 0;
    box-sizing: border-box;
}

#sermons6 .form-area .button-small:hover {
    background-color: #5995d8;
    cursor: pointer;
}

@media (min-width:768px) {
    #sermons6 .form-area .button-small {
        display: inline-block;
        width: auto;
        margin: 0 .5em 0 0;
        box-sizing: border-box;
    }
}

/* Pagination */

#sermons6 #pagination {
    text-align: center;
}

#sermons6 #pagination>a {
    margin: 0 10px;
}

#sermons6 #pagination>a#previous,
#sermons6 #pagination>a#next {
    width: 25px;
    overflow: hidden;
    display: inline-block;
    font-size: 18px;
    height: 23px;
    vertical-align: bottom;
}

#sermons6 #pagination>a#off {
    display: none;
}

#sermons6 #pagination>a#previous:before,
#sermons6 #pagination>a#next:before {
    display: block;
    font-family: Sermon-Icons;
    font-size: 25px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    speak: none;
    text-transform: none;
    content: "\e914";
    color: #5d7b9d;
}

#sermons6 #pagination>a#previous:before {
    content: "\e915";
}

#sermons6 #pagination>a#current{
    /*update text color here*/
    color: #555555;
}


/* Animation */

@keyframes shimmy {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(.7deg);
    }
    75% {
        transform: rotate(-.65deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes bobble {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(0.93);
    }
    70% {
        transform: scale(1.07);
    }
    100% {
        transform: scale(1);
    }
}



/* STYLES FOR COLOR PICKER / OVERRIDE.CSS */


/* White Text Color */

.header-image .page-title {
    color: #fafafa;
}



/* Link Color */


/*{
    color: #5d7b9d;
}*/


/* Link Color - Background */


/*{
    background-color: #5d7b9d;
}
*/


/* Link Color - Border */


/* {
    border-color: #5d7b9d;
*/


}



/* "Brighter" Link Color - Background */

/*{
    background-color: #5995d8;
*/

}


/* Body Font */
#sermons6 {
    font-family: -proximanova-1,
    proxima-nova-2,
    sans-serif;
}
