/*
Theme Name: The Courier
Theme URI: http://www.dcthomson.co.uk
Author: Robert Paul
Author URI: http://www.dcthomson.co.uk
Description: Styles for <noscript> tags

-----------------
TABLE OF CONTENTS
-----------------

- Navigation
- Content
- Blocks > Carousel
- Custom Layouts > Collection
- Posts
- Comments
- Shared CSS > Box Sizing
- Shared CSS > Hide
- Media Queries

*************/

/* Navigation */
.full-navigation {
    position: relative;
    top: 0;
    display: block;
    margin: 0 auto;
    width: 960px;
    background-color: #fff;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    text-align: right;
}

.full-navigation .wrap {
    display: none;
    padding: 0;
    width: 960px;
    text-align: left;
}

.full-navigation a {
    color: #000;
}

.full-navigation label.fallback {
    display: block;
    padding: 10px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    color: #000;
}

.full-navigation label.fallback:hover {
    cursor: pointer;
}

.full-navigation label span {
    margin-right: 4px;
}

.full-navigation .nav-checker {
    display: none;
}

.full-navigation .nav-checker:checked + .fallback {
    color: #0066b3;
}

.full-navigation .nav-checker:checked + .fallback + .wrap {
    display: block;
}

.full-navigation .search-form {
    background-color: #f0f0f0;
}

.full-navigation .services {
    padding-bottom: 20px;
}

.site-navigation > li > a {
    border-color: #eee;
    color: #0066b3;
}

.nav-label {
    color: #000;
}

/* Content */
.content {
    max-width: 980px;
}

/* Blocks > Carousel */
.carousel .section-title {
    padding: 5px 0 20px 0;
}

.carousel .slideshow {
    overflow: scroll !important;
}

.carousel .slideshow.off {
    background: transparent !important;
}
 
.carousel .slideshow.off .feature {
    display: block !important;
    float: left;
    padding: 10px;
    opacity: 1 !important;
}

/* Custom Layouts > Collection */
.collection .article {
    margin-bottom: 20px;
}

.collection .article:last-child,
.collection .cycle-slideshow {
    margin-bottom: 0;
}

/* Posts */
.cms .gallery {
    padding-bottom: 60%;
    height: 0;
}

.cms .gallery .cycle-slideshow {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: scroll;
}

.cms .gallery .cycle-slideshow .slide {
    padding: 20px;
}

.cms .gallery .prev,
.cms .gallery .next {
    display: none;
}

/* Shared CSS > Box Sizing */
.cms .gallery .cycle-slideshow .slide {
    box-sizing: border-box;
}

/* Shared CSS > Hide */
.advertising,
.ad-wrap,
.all-sections-btn,
.carousel .prev,
.carousel .next,
.collection nav,
.flexible.advert,
.flexible.event-calendar,
.flexible.poll,
.full-navigation .nav-foot,
.mpu,
.widget .PDS_Poll,
.widget.tribe_mini_calendar_widget,
.widget.widget_dfp_widget {
    display: none !important;
}

/* Media Queries */
@media only screen and (max-width: 767px) {
 
    /* Blocks > Carousel */
    .carousel .slideshow.off {
        height: auto;
        overflow: visible !important;
    }
    
    .carousel .slideshow.off .feature {
        margin-bottom: 10px;
        padding: 0;
        width: 100%;
    }
    
    /* Custom Layouts > Collection */
    .collection .article .thumbnail {
        top: 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
 
    /* Blocks > Carousel */
    .carousel .slideshow.off {
        height: 250px;
    }
    
    .carousel .slideshow.off .feature {
        width: 47%;
    }
}

@media only screen and (min-width: 1025px) {
    
    /* Blocks > Carousel */
    .carousel .slideshow.off {
        height: 220px !important;
    }
    
    .carousel .slideshow.off .feature {
        width: 30%;
    }
    
}