/** Login **/

div.tp-modal {
    z-index: 9999999999!important;
}

/** Accessibility **/

#content .post-author-info time,
#content .wp-caption-text,
#content .breadcrumb li:last-child a{
    color:#4F4F4F!important;
}

@media (min-width: 45.5em) {
    #taboola-mid-article {
        width: 70%;
        margin: 0 auto;
    }
}

.review-cons, .review-pros {
    float: left;
}

/** Hide HH+ badges **/
.is-premium-badge {
    display: none !important;
}

/** Archive Images **/

.archive-header .description-primary img {
    width: 100%;
    height: auto;
}

/** CLS Skin Hotfix **/

/* Ensure Trending is visible */
.trending {
    background: #f4f5f8!important;
}

/** Nav Marg Fix **/

@media (min-width: 45.5em) {
    .header.has-double-tier nav {
        margin: 0 -45px;
    }
}

/** Padding for Skins **/
@media (min-width: 45.5em) {
    #content {
        padding-top: 1px;
    }
}

/* Show the skin and ensure clickable */
body.keystone-premium-inskin #wrapper,
body.keystone-premium-sizemek #wrapper,
body.keystone-premium-sizmek #wrapper,
body.keystone-premium-skin #wrapper {
    background-color: transparent!important;
    pointer-events:none;
}

#content {
    background:white;
}

/** Fix the top banner from blocking clicks on skins **/
@media (min-width: 78.25em) {

    body.keystone-premium-inskin .header-advert-wrapper .header-advert,
    body.keystone-premium-sizemek .header-advert-wrapper .header-advert,
    body.keystone-premium-sizmek .header-advert-wrapper .header-advert,
    body.keystone-premium-skin .header-advert-wrapper .header-advert {
        background: 0 0!important;
        max-width: 1200px;
        width: calc(100vw - 260px)!important;
    }

    body.keystone-premium-inskin .header-advert-wrapper,
    body.keystone-premium-sizemek .header-advert-wrapper,
    body.keystone-premium-sizmek .header-advert-wrapper,
    body.keystone-premium-skin .header-advert-wrapper {
        margin-left:auto;
        margin-right:auto;
    }
}

/** Ensure that site furniture in #wrapper is clickable **/
#header,
.trending,
.header-advert-wrapper,
#content,
#footer {
    pointer-events:auto;
}

/** Fix for skin template **/
@media (min-width: 1252px) {
    body.keystone-premium-skin {
        background-position: calc(0vw - 600px + 130px ) 250px, calc(100vw - 130px) 250px !important;
    }
}

@media (min-width: 1460px) {
    body.keystone-premium-skin {
        background-position: calc(50vw - 1200px ) 250px, calc(50vw + 600px) 250px !important;
    }
}

@media (min-width: 45.5em) {

    /* Ensure paywall component renders okay */
    .header.has-double-tier .header-follow.header-slot-right {
        text-align: right;
        flex-basis: 90%!important;
    }
    .header.has-double-tier .header-follow a {
        width:auto;
    }

    .paywall-signed-in .logo picture:after {
        display:none;
    }
}

/* Fix for Adminbar */
#wpadminbar {
    pointer-events: auto;
}


/** Hotfix for Social Icons on Directory on Firefox **/

.directory-details .directory-details__item.social ul li a {
    display:table-cell;
}

/** Hotfix for SC Mobile **/

@media only screen and (max-width: 727px) {

    .articleBody .soundcloud iframe {
        width: 95%;
    }

}

/** Login **/

@media screen and (max-width: 727px) {

    .piano-login-class {
        border-top:1px solid #eaeaea;
        border-bottom:1px solid #eaeaea;
        padding-left:15px!important;
    }

    .trending {
        margin-top:50px;
    }

}

/** Badge Fix **/

.is-premium-badge img {
    width: auto!important;
    height: 35px!important;
}

/** Filmstrip Fixes Jan 2020 **/

@media (min-width: 45.5em) {
    .listing--filmstrip.s-container {
        box-sizing: border-box;
        padding: 0 45px!important;
    }
}

@media only screen and (max-width: 727px) {
    .listing--filmstrip .entry-content {
        padding-top:15px;
    }
    .listing--filmstrip .entry-content h3 {
        margin-top:15px!important;
    }
}

/** Mags Direct iFrame height **/

@media (min-width: 62em) {
    .subscription .post-main__inner .iframe-container {
        padding-bottom: 500% !important;
    }
}

/** Hotfix for Awards **/

@media (min-width: 45.5em) {
    .review .post-header .post__award {
        right: 325px;
    }
}

/** H&H Plus **/

@media only screen and (max-width: 727px) {

    .piano-login-class {
        background:#f7f7f7;
        margin:0;
        padding:10px 15px;
    }

    .piano-login-class .piano-login {
        font-size:14px!important;
    }

}

.articleBody li.widget_custom_html {
    list-style: none;
}

.articleBody li.widget_custom_html .textwidget {
    padding-top:0;
}

@media (min-width: 45.5em) {
    .listing--single-a, .listing--grid-a {
        text-align: center;
    }
}

.listing--filmstrip .widget-intro-text p {
    color:black;
}

/** Support for subscript **/

.articleBody sup {
    vertical-align: super;
    font-size: smaller;
}

/** Make ads clickable **/

.ad-container {
    pointer-events: unset !important;
}

/** Horses for Sale iFrame **/


.horses-for-sale-container,
.horses-for-sale-widget {
    width:100%;
}

#embed_code-29 {
    margin-bottom:0;
}

/**
@media only screen and (max-width:607px) {
    .horses-for-sale-iframe {
        height:2000px;
}
}

@media only screen and (min-width:608px) and (max-width:1081px) {
    .horses-for-sale-iframe {
        height:991px;
}
}

@media only screen and (min-width:1082px) {
    .horses-for-sale-iframe {
        height:400px;
}
}**/

/**

All the below styles need testing - they should be rolled up already though

**/

@media only screen and (min-width:768px) {
    /* Desktop */
    .header.has-single-tier .logo img {
        height:60px!important;
    }

}

/* Test from Toby */
.header.has-single-tier .logo img {
    height: 40px;
}

/** Nav, Footer & Global **/

.header {
    font-family:Merriweather;
    font-weight:300;
    text-transform:none;
}
.header.has-double-tier .header-subscribe {
    text-transform:none;
}

.header nav .navigation>li a {
    font-family:Merriweather;
    font-weight:300;
    text-transform:none;
}

.trending {
    font-family:Merriweather;
    font-weight:300;
    border-bottom:1px solid #eaeaea;
    background-color: #f4f5f8
}

@media (max-width: 727px) {
    .trending-list__outer {
        padding: 0;
        padding-left: 60px;
    }
}

.footer {
    font-family:Merriweather;
    font-weight:300;
}

.footer-menu--plain .menu-item a:hover,
.footer-menu--icons .menu-item a:hover {
    color:black;
}

/** Breadcrumbs **/

.breadcrumb ul {
    font-family:Merriweather;
    font-weight:300;
    text-transform:none;
}

/** Content Page **/

.post-author-info {
    font-family:Merriweather;
    font-weight:300;
    text-transform:none;
}

#content h1 {
    font-size:2.75em;
    line-height:1.3em;
}

#content h2 {
    font-size:1.4em;
}

.wp-caption-text {
    font-family:Merriweather;
    font-weight:300;
}

hr {
    border-top:.5px solid #00643f;
    margin-top:15px;
    margin-bottom:15px;
}

/** Collections **/

.collection .entry-content p {
    margin-bottom:1em;
}

.collection .wp-caption-text {
    display:none;
}

.collection .featured-image {
    margin-bottom:0px;
}

.collection .featured-image .featured-image {
    float:left;
    max-width:40%!important;
    margin-right:1em;
    margin-bottom:0px
}

.collection .featured-image .featured-image img {
    margin-top:0px;
    margin-bottom:0px;
}

/** Mobile **/

@media only screen and (max-width: 727px) {

    .header .logo a img {
        max-width:60%;
    }

    #content h1 {
        font-size:1.75em;
    }

    .collection .featured-image 	{
        margin-bottom:0px;
    }

    .collection .featured-image .featured-image {
        float:none;
        max-width:100%!important;
        margin-bottom:0px;
        margin-right:0px;
    }


    .post-main .post-main__inner img {
        margin-left:0px;
        margin-right:0px;
        max-width:100%;
    }

    .video-playlist {
    }

    .video-playlist__playlist {
        width:100%;
        right:-45%;
        background:red;
    }

    .listing--filmstrip-b p {
        min-height:140px;
    }

    .listing--filmstrip .entry-content {
        margin-bottom:15px;
    }

}

/** Advanced RSS **/

.advanced-rss-widget-class {
    background-color:#f4f5f8;
    padding-top:30px;
    padding-bottom:30px;
    text-align:center;
    margin-top:0px;
    margin-bottom:0px;
}

.advanced-rss-widget-class h2 {
    margin-bottom:20px
}

.advanced-rss-widget-class ul li {
    border:1px solid #2c4a2f;
    border-radius:4px;
    padding:10px;
    margin:10px auto;
    width:70%;
}

.advanced-rss-widget-class ul li .rss-date {
    display:none;
}

.advanced-rss-widget-class ul li a {
    font-size:1em;
}

/** Reviews **/

.review-overview {
    background:#f4f5f8;
    padding:20px;
    margin-bottom:30px;
}

.review-rating--score .score-title {
    width:20%;
    min-width:75px;
}

/** Widget Styles: Taxonomy, Date, Author and Read More **/

.btn {
    font-family:Merriweather!important;
    text-transform:none;
}

.listing--grid-inc-sidebar .taxonomy-signpost,
.listing--filmstrip .taxonomy-signpost,
.listing--filmstrip-b .taxonomy-signpost,
.listing--single-inc-sidebar .taxonomy-signpost {
    font-family:Merriweather;
    font-weight:400;
    font-size: 0.7em;
}

.listing--grid-inc-sidebar .author,
.listing--filmstrip .author,
.listing--filmstrip-b .author,
.listing--single-inc-sidebar .author {
    font-family:Merriweather;
    font-weight:400;
    font-size:0.7em;
}

.listing--grid-inc-sidebar .date,
.listing--filmstrip .date,
.listing--filmstrip-b .date,
.listing--single-inc-sidebar .date {
    font-family:Merriweather;
    font-weight:400;
    font-size:0.7em;
    position:static;
}

.listing--grid-inc-sidebar .btn,
.listing--filmstrip .btn,
.listing--filmstrip-b .btn,
.listing--single-inc-sidebar .btn {
    font-family:Merriweather;
}

/** Filmstrips A **/

.listing--filmstrip {
    background-color:white;
    margin-top:30px;
    margin-bottom:30px;
    padding-top:30px;
    padding-bottom:0px;
}

.listing--filmstrip .querywidget-more {
    margin-bottom:0px;
}

.listing--filmstrip h2 {
    color:#2c4a2f;
    font-size:1em;
    margin-bottom:30px!important;
    text-align:center;
}

.listing--filmstrip h2 a {
    color:#2c4a2f;
    font-size:1em;
}

.listing--filmstrip .entry-content {
    background:#00643f;
    padding-bottom:30px;
    padding-left:20px;
    padding-right:20px;
    text-align:center;
}

.listing--filmstrip .entry-content h3 {
    color:white;
    font-size:1.3em;
    margin-top:30px;
}

.listing--filmstrip .taxonomy-signpost,
.listing--filmstrip .author,
.listing--filmstrip .date,
.listing--filmstrip p {
    color:white;
}

.listing--filmstrip .widget-intro-text {
    max-width:none;
}

/** Filmstrip B **/

.listing--filmstrip-b .entry-content {
    background-color:#f4f5f8;
}

.listing--filmstrip-b .entry-content h3 {
    color:#2c4a2f;
}

.listing--filmstrip-b .taxonomy-signpost,
.listing--filmstrip-b .author,
.listing--filmstrip-b .date,
.listing--filmstrip-b p {
    color:#00643f;
}

.listing--filmstrip-b p {
    text-align:center;
}


/** Grid inc Sidebar **/

.listing--grid-inc-sidebar {
    margin-top:30px;
    margin-bottom:30px;
    padding-top:30px;
    padding-bottom:30px;
}

.listing--grid-inc-sidebar .querywidget-more {
    margin-bottom:0px;
    margin-top:30px;
}

.listing--grid-inc-sidebar h2 {
    border-bottom:0px;
    padding-bottom:0px
}

.listing--grid-inc-sidebar h2 a {
    color:#00643f;
}

.listing--grid-inc-sidebar .entry-content {
    padding-bottom:30px
}

.listing--grid-inc-sidebar .entry-content p {
    padding-bottom:10px
}

/** Review Awards Badges **/

/**.listing--single-inc-sidebar .post__award {
}

.listing--single-inc-sidebar .post__award img {
    min-height:0!important;
    height:auto!important;
    min-width:0!important;
    max-width:80px;
    display:block;
}

.listing--single-inc-sidebar .post__award img:last-of-type {
    margin-left:70px;
}

@media (max-width: 45.5em){
.post-header .post__award-image {
    width: 90px;
}
}**/

/** Single B **/

.listing--single-b .entry-content {
    margin-left:0px;
}

/** Listings and Filters **/

.select2,
.select2-results,
.form-compare__delimiter
{
    font-family:Merriweather;
    font-weight:300;
}

.select2-selection[type=search], input[type=email][type=search], input[type=number][type=search], input[type=password][type=search], input[type=search][type=search], input[type=tel][type=search], input[type=text][type=search], input[type=url][type=search], select[type=search], textarea[type=search] {
    font-family:Merriweather;
}

.form-group {
    font-family:Merriweather;
    font-weight:300;
}

.form-group .btn {
    font-family:Merriweather!important;
    font-weight:300;
}

/** Newsletter Widget **/

.keystone-newsletter-class {
    background-color:#f4f5f8;
    margin-top:0px;
    margin-bottom:0px;
}

/** Video Posts **/

.video-playlist {
}

.video-playlist__playlist {
    width:45%;
    right:-45%;
    background:#131212;
}

.video-playlist__playlist a {
    color:white;
}

.video-playlist__playlist span:last-of-type {
    display:none;
}

.video-playlist__playlist a .featured-media .featured-image {
    margin-bottom:0px;
}

.video-playlist__playlist a span:first-of-type {
    display:block;
    padding-bottom:5px;
    font-size:.9em;
    border-bottom:none;
}

.video-playlist__playlist a span:last-of-type {
    display:block;
    font-size:.75em;
    border-bottom:1px solid white;
    padding-bottom:10px;
    margin-bottom:10px;
}

/** Text Widgets **/

.widget_text h2 {
    margin-top:30px;
}

/** Menu Widgets **/

.widget_horizontal_nav_menu h2 {
    margin-bottom:15px;
}

.widget_horizontal_nav_menu ul li {
    display:inline;
}

.widget_horizontal_nav_menu ul li .menu-divider {
    padding:0 5px;
}

/** Blogs **/

.horse_search_container {
    width:100%;
}

.marketing-wrapper .widget_text {
    max-width:1440px;
}

/** Custom Table Mobile Styling **/

/** .widget_custom_html td {
        text-align:center;
        width:100%;
        border-style:solid;
        border-color:#ffffff;
        margin-left:auto;
        margin-right:auto;
}

@media only screen and (max-width: 727px) {

    .widget_custom_html td {
        display: block;
        width:100%;
    }

    .widget_custom_html th {
        display:block;
    }

    .widget_custom_html thead th:not(:first-child) {
        display: none;
    }

        .widget_custom_html td[data-th]:before {
        content: attr(data-th);
    }

}
**/

/** Custom Table Styling **/

.table-three-column {
    background:#ffffff;
}

.table-three-column td {
    width:32%;
    padding:20px;
    text-align:center;
}

.table-three-column .td-gutter {
    width:2%;
}

@media (max-width: 1023px) {

    .table-three-column td {
        width:100%;
        display:block;
        padding:20px;
    }

    .table-three-column .td-gutter {
        display:none;
    }

    .table-three-column td {
        margin-bottom:10px;
    }

    .table-three-column td:last-of-type {
        margin-bottom:0px;
    }

}

.listing--filmstrip {
    margin: 0px auto;
}



/* JOHN HUDSON - TEMP FIX FOR PORTRAIT ADS */
/* REMOVE AFTER MAY 5TH 2019 */
@media (min-width: 728px) {
    .single-sidebar--archive .ad-container,
    .single-sidebar--article .ad-container {
        min-height: 1200px;
    }
}

/**Font styles**/

.widget_text p em {
    font-style: italic;
}

.widget_text p strong {
    font-weight: 700;
}

/** BULLET POINTS ON UL - TAG PAGES**/

.description-primary ul li {
    list-style: initial !important;
}

/**Fix for sidebar**/
.single-sidebar--article {
    z-index:999;
}