body {
	font-family: "Lato", "Helvetica Neue", Helvetica, sans-serif;
	font-weight: 400;
}

a {
	color: #80C22E;
}

a:visited {
	color: #61753F;
}

a:hover {
	color: #A5E44B;
}

.story > a,
.story .entry-title a {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;

    -webkit-touch-callout: none;
    -ms-touch-action: none;
    touch-action: none;

    -webkit-tap-highlight-color: transparent;
}

p {
	font-size: 1em;
	line-height: 1.5em;
}

ol,
ul,
li {
	list-style: none;
}

abbr[title] {
	border-bottom: 1px dotted;
}

/* Page Header styles */
#page-header {
	position: relative;
}

#page-header.container {
    padding: 18pt 18pt 18pt 18pt;
}

#page-header h1 {
	background: url("../img/logo-wabe-horizontal-small.png") no-repeat 0 0;
	float: left;
	height: 37px;
	text-indent: -10000px;
	width: 154px;
}

#page-header h1:after { /* consistently clear after the logo */
    content:'';
    display: block;
    clear: both;
}


@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
	#page-header h1 {
		background-image: url("../img/logo-wabe-horizontal-small@2x.png");
		background-size: 154px 37px;
	}
}

/* Reset button styles */
.btn {
	border: none;
	cursor: pointer;
	font-size: 1em;
	border-radius: 3px;
	padding: .6em 1.25em .6em 4.25em;
	display: inline-block;
	outline: none;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

	z-index: 100;
}

.btn::selection{ background-color: transparent;}
.btn::moz-selection{ background-color: transparent;}
.btn::webkit-selection{ background-color: transparent;}

.btn.subscribe,
.btn.donate,
.btn.listen,
.btn.menu {
	width: 7.61rem;
	float: right;
    color: white;
	font-weight: 500;
	font-size: 11pt;
	padding: 0.3rem 0;
	margin: 0;
	text-align: center;
	text-decoration: none;
}

.btn.menu {
	width: 5rem;
	background-color: #777777;
    margin-left: 0.5rem;

    display: none;
}

.btn.menu:hover,
.btn.menu:active {
	background-color: #AAA;
}

.btn.donate {
    background-color: #5DA05A;
    width: 5rem;
    margin-left: 0.5rem;
}

.btn.donate:hover,
.btn.donate:active {
	background-color: #6ebd6a;
}

.btn.listen {
	background-color: #1176BB;
}

.btn.listen:hover,
.btn.listen:active {
	background-color: #1384D2;
}

.btn.subscribe {
	color: #5DA05A;
	width: 13rem;
	text-align:right;
	padding: 0.2rem 0 0.3rem  0;
}

.btn.subscribe:hover,
.btn.subscribe:active {
	color: #6ebd6a;
}

/*.donate:before {
	border-right: 2px solid rgba( 255, 255, 255, 0.7 );
	content: "\f105";
	position: absolute;
	height: 100%;
	left: 0;
	top: 0;
	line-height: 2;
	font-size: 150%;
	width: 1.9em;
}*/

.header-social {
	font-size: .8rem;
	/*position: absolute;
	right: 5.5555555%;*/
	float: right;
	clear: right;

	margin: 0.6rem 0rem 0 0;
	line-height: 1.1;
    text-align: right;
}

.header-social a {
	text-decoration: none;
}

.header-social .fa {
    float: right;
    margin: 2px 0 2px 6px;
}

.fa-facebook-square{
    color: #3b5998; /* official brand color */
}

.fa-twitter-square{
    color: #00B0ED; /* official brand color */

}

.fa-tumblr-square{
    color: #36465d; /* official brand color */
}

.fa-envelope-square{
    color: #581D78; /* color from WABE logo */
}

.clear-right{
    clear: right;
}

.header-social .icon.subscribe {
    visibility: hidden; /* will show on narrow screens only */
}

.header-google-search {
	font-size: .8em;
	margin: 0.2em 0 0.5em 0;
	float: right;
	clear: right;
	max-width: 21em;
	line-height: 1;
}

.header-google-search .gsc-search-box-tools .gsc-search-box .gsc-input {
	padding-right: 4px;
}

/* Remove this piece once NPR's Persistant Player is in place */
#persistant-player {
	background: #4A565F url("../img/persistant-player-small.png") no-repeat 50% 50%;
	height: 49px;
	padding-bottom: 0;
	padding-top: 0;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
	#persistant-player {
		background-image: url("../img/persistant-player-small@2x.png");
		background-size: 320px 49px;
	}
}

/* Primary navigation */

.container.nav-primary {
	padding-bottom: 0;
	padding-top: 0;
	/*position: relative;*/
	box-shadow: none;
    /*box-shadow: 0 0 0.5em rgba(0,0,0,0.2);*/
	border-top: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
}

.nav-primary nav {
/*	left: -9999em;
	position: absolute;*/
    /*border-bottom: 1px solid #eee;*/
	z-index: 10;
}

.nav-primary .sub-menu {
	display: none;
    z-index: 11;
	left: 0;
	position: absolute;
	top: 3em;
	width: 15em;
    box-shadow: 0 0 0.5em rgba(0,0,0,0.2);
    border-top: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
}

.nav-primary .sub-menu li {
	background: #fff;
	display: block;
	text-align: left;
}

.nav-primary .sub-menu li a {
	border-bottom: 1px solid #ccc;
}

.nav-primary .sub-menu li:last-child a {
	border: 0;
}

.nav-primary ul.nav > li.menu-item-has-children > a {
    background: transparent url("../img/icon-down-arrow.png") no-repeat 83% 52%;
    padding-right: 2rem;
}

.nav-primary ul.sub-menu > li.menu-item-has-children > a {
    background: transparent url("../img/icon-right-arrow.png") no-repeat 88% 52%;
    padding-right: 1.75rem;
}

.nav-primary li.menu-item-has-children:hover .sub-menu {
	display: block;
}

.nav-primary li:hover {
	background: rgb( 238, 238, 238 );
}

.nav-primary li {
	display: inline-block;
	/* margin-right: 2em; */
	position: relative;
}

.nav-primary li a {
	color: rgb( 119, 119, 119 );
	display: block;
	font-size: 1em;
	font-weight: 400;
	line-height: 1.35em;
	padding: .85em 1em;
	text-decoration: none;
}

.nav-primary li:hover a {
	color: #222;
}

.nav-primary li:hover li a {
	color: rgb( 119, 119, 119 );
}

.nav-primary li li:hover a {
	color: #222;
}

.nav-primary ul {
	text-align: left;
}

.nav-primary ul:last-child {
	margin-right: 0;
}

/* Breaking news banner */
#breaking-news {
	background: #D8232A;
	padding-bottom: .5em;
	padding-top: .5em;
	text-align: center;
}

#breaking-news h3 {
	color: #fff;
	font-size: .75em;
	line-height: 1.3em;
	margin: 0;
	padding: 0;
}

#breaking-news em {
	font-style: normal;
	font-weight: 700;
	text-transform: uppercase;
}

/* Advertisements */
.advert {
    padding-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.advert-block {
    padding-bottom: 30px;
}

/* Slick Carousel */
.carousel img {
    display: block;
    width: 100%;
}

.slide-type-external,
.slide-type-story,
.slide-type-link,
.slide-type-embed {
    display: none;
}

/* Seasonal alert box */
.seasonal-alert article {
    background-color: transparent;
    padding: 1em 0;
    text-align: center;
}

.seasonal-alert p {
    margin-bottom: 1em;
}

.seasonal-alert header img {
    display: block;
    width: 100%;
}

.seasonal-alert .btn-donate {
    text-align: center;
    padding: 0.75rem 3rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

/* Section headers */
main .section-title,
aside .section-title {
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1;
}

main .section-title {
	font-size: 18pt;
	margin-bottom: .5rem;
}

aside .section-title {
	font-size: 18pt;
	margin-bottom: 1rem;
}

aside .latest-npr .section-title {
    margin-top: 1.5rem;
}

main section {
	margin-bottom: 2em;
}

main .story {
    margin-top: 0.5em;
}

main .story > hr {
    color: #ddd;
    width: 30%;
    display: inline-block;
    margin: 0.3rem 0 0 0;
    vertical-align: top;
}

main img {
    display: block;
    width: 100%;
	height: auto;
}

main .entry-cats {
    font-size: .75em;
    margin-bottom: 0;
    margin-top: 0.4em;
}

main .entry-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.18rem;
}


/* General definitions for the entry cards both in <main> section and in the <aside> */

.entry-cats {
    text-transform: uppercase;
    font-weight: 400;
    width: 100%;
}


.entry-header {
	margin-bottom: 0.2em;
}

.entry-title {
	line-height: 1.15;
}

.entry-header a {
    color: #666;
    text-decoration: none;
    display: inline-block;
}

.entry-header a:hover,
.entry-header a:active {
    color: #111;
}

.entry-title a {
    display: inline;
}

aside li article {
	margin-bottom: 1rem;
}

aside li article.trend {
    margin-bottom: 0.5rem;
}

aside li header {
	padding-top: 0.3rem;
}

/* Aside (sidebar) */

aside img {
	float: left;
	height: 80px;
	width: 80px;
	margin-right: 0.5rem;
}

aside .entry-cats {
	font-size: 0.65rem;
	font-weight: 400;
	line-height: 1.5;
}

aside .entry-title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.18rem;
}

/* Page footer */
#page-footer {
	background: #363D44;
	color: #868b8f;
}

#page-footer a {
	color: #fff;
}

#page-footer ul,
#page-footer footer {
	text-align: center;
}

.footer-partners {
	background-color: #44474F;
}

.footer-partners ul:last-child {
	margin-right: 0;
}

.footer-partners li {
	display: inline-block;
	margin-right: 2em;
	min-height: 49px;
}

.footer-partners li a {
	display: table-cell;
	height: 49px;
	vertical-align: middle;
}

.footer-links ul {
	margin-bottom: 1em;
}

.footer-links li {
	display: inline-block;
	font-size: .875em;
	margin-right: 1em;
}

.footer-links ul:last-child {
	margin-right: 0;
}

.footer-links li a {
	padding: .5em 0;
	text-decoration: none;
}

.footer-links footer {
	font-size: .875em;
	font-weight: 300;
}

@font-face {
	font-family: 'FontAwesome';
	src: url('../fonts/fontawesome-webfont.eot?v=4.0.3');
	src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.0.3') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.0.3') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.0.3#fontawesomeregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Accessible hidden text */
.hidden {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

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

    /* Navigation */
    #page-header.container {
        padding-bottom: 0;
    }

    .nav-primary.mobile {
        width: 100%;
        display: block;
        position: absolute;
        top: 88pt;
        padding: 0;
        z-index: 7;

        box-shadow: 0 0 0.5em rgba(0,0,0,0.2);
        border-top: 1px solid #dfdfdf;
        border-bottom: 1px solid #dfdfdf;
    }

    .nav-primary.mobile nav {
        /*width: 100%;*/
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        margin-bottom: 0;
        *zoom: 1;
        max-width: 65rem;
    }

    .nav-primary.mobile nav.wrapper{
        padding: 0;
    }

    .nav-primary.mobile nav:before,
    .nav-primary.mobile nav:after {
        content: " ";
        display: table;
    }

    .nav-primary.mobile nav:after {
        clear: both;
    }

    .nav-primary.mobile ul.sub-menu {
        border: none;
        box-shadow: none;
    }

    .nav-primary.mobile ul.current {
        margin: 0;
        padding: 0;
        color: #3d3d3d;
        list-style-type: none;
        position: static;
        /* width: 100%;*/
        height: auto;
        display: block;
        background: white;
        font-size: 16px;
        text-align: left;
        border: none;
        line-height: 1.6;
        box-sizing: border-box;
        letter-spacing: 0.005em;
        word-spacing: .025em;
        font-weight: normal;
        font-style: normal;
        left: 100%;
        top: 0;
        z-index: 99;
        width: 100%;
    }
    /*
        .nav-primary.mobile ul:not(.current) > li {
            display: none;
        }
    */
    .nav-primary.mobile ul > li {
        display: block;
    }

    .nav-primary.mobile ul.current > li {
        margin: 0;
        padding: 0;
        list-style-type: none;
        position: relative;
        color: #333;
        line-height: 1.5;
        font-family: "Lato","Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
        font-weight: 400;
        width: auto;
        display: block;
        height: auto;
    }

    .nav-primary.mobile li > a {
        display: none;
    }

    .nav-primary.mobile ul.current > li > a {
        font-size: 1rem;
        display: block;
        /*width: 100%;*/
        color: #333333;
        padding: 12px 1.6rem 12px 1.6rem;
        font-family: "Lato","Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
        border-bottom: 1px solid #eee;
        text-decoration: none;
    }

    .nav-primary.mobile ul.current > li.link-back > a {
        font-weight: 700;
        background: transparent url("../img/icon-left-arrow.gif") no-repeat 18pt 52%;
        padding-left: 32pt !important;
    }

    .nav-primary.mobile ul.current > li.menu-item-has-children > a {
        background: transparent url("../img/icon-right-arrow.gif") no-repeat 94% 52%;
    }

    @media
    only screen and (-webkit-min-device-pixel-ratio: 1.5),
    only screen and (-moz-min-device-pixel-ratio: 1.5),
    only screen and (-o-min-device-pixel-ratio: 3/2),
    only screen and (min-device-pixel-ratio: 1.5) {
        .nav-primary.mobile {
            position: absolute;
            top: 53pt;
        }

        .nav-primary.mobile li a {
            padding-left: 16pt !important;
        }

        .nav-primary.mobile li.link-back > a {
            background: transparent url("../img/icon-left-arrow.gif") no-repeat 15pt 52%;
            padding-left: 28pt !important;
        }

        .nav-primary.mobile ul.current > li.menu-item-has-children > a {
            background: transparent url("../img/icon-right-arrow.gif") no-repeat 93% 52%;
        }
    }


 	/* Page Header styles */
	#page-header {
		position: static;
		margin: 0 auto;
		text-align: center;
	}

	#page-header h1 {
		background: url("../img/logo-wabe-horizontal-small.png") no-repeat 0 0;
		float: none;
        width: 154px;
		height: 37px;
		text-indent: -10000px;
		margin: 0 auto;
	}

    .header-social {
        text-align: center;
        width: 7.15rem;
        top: -2rem;
        margin: 0 auto 0 auto;
        padding-left: 0.1rem;
        position: relative;
        float: none;
        height: 0;
        /*clear:none;*/
    }

    .btn.menu {
        display: inline-block;
        position: relative;
        float: right;
        top: 0;
        right: 0;
    }

    .header-social .fa {
        /*float: none;*/
    }

    .header-social .btn.subscribe {
        display: none;
    }

    .header-social .icon.subscribe {
        visibility: visible;
        display: inline-block;
    }

	.header-google-search {
		/*float: right;*/
		position: relative;
		top: 0;
		right: 0;
		max-width: none;
	}

    #page-header .controls {
        display: block;
        clear: both;
        margin-top: 1.5rem;
    }

    #page-header .listen{
		margin-right: 0;
		float:left;
        clear:left;
		width: 5.5rem;
	}

	#page-header .donate {
        clear: right;
        width: 5rem;
	}

    .nav-primary {
        display: none;
    }
}

@media only screen and ( min-width: 650px ) and (max-width: 1025px) {

    .nav-primary.mobile {
        width: 20em;
        right: 18pt;
    }

    .nav-primary.mobile ul.current > li > a {
        padding: 12px 0.8rem 12px 0.8rem;
    }

    .nav-primary.mobile ul.current > li.link-back > a {
        background: transparent url("../img/icon-left-arrow.gif") no-repeat 9pt 52%;
        padding-left: 22pt !important;
    }
}

.nav-primary .sub-menu li.link-back {
    display: none;
}

@media screen and (max-width: 540px) {
	#page-header h1 {
		float:left;
		margin: 0;
	}
    #page-header .controls {
        display: block;
        clear: both;
        margin-top: 5.5rem;
    }
}

@media only screen
and (max-width: 530px)
and (-webkit-min-device-pixel-ratio: 2) {
    #page-header .controls {
        display: block;
        clear: both;
        margin-top: 4rem;
    }
}


.stories-collection {
	width: 100%;
}

/* Slider */
.carousel .overlay {
    /*position: relative;*/
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;/**/
	background-color: rgba(0, 0, 0, 0.2);
	color: white;
	/*padding: 2rem;
	font-size: 2rem;*/
	padding: 7pt;
	font-size: 1.5rem;
}

@media screen and ( max-width:768px ){
    .carousel .overlay {
        position: relative;
        font-size: 1.0rem;
        background-color: rgba(0, 0, 0, 0.8);
    }
}

/* ----------- iPhone 5 and 5S ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2) {
    .carousel .overlay {
        position: relative;
        font-size: 1.0rem;
        background-color: rgba(0, 0, 0, 0.8);
    }
}

/* ----------- iPhone 6 ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2) {
    .carousel .overlay {
        position: relative;
        font-size: 1.0rem;
        background-color: rgba(0, 0, 0, 0.8);
    }
}
/* ----------- iPhone 6+ ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3) {
    .carousel .overlay {
        position: relative;
        font-size: 1.0rem;
        background-color: rgba(0, 0, 0, 0.8);
    }
}

.carousel .slide-type-embed .overlay {
	top:0;
	bottom: inherit;
}

.carousel .overlay a {
	color: white;
	text-decoration: none;
}

.slick-slide {
	position: relative;
}

.slick-prev,
.slick-next {
    display: block;
    position: absolute;
    top: 50%;
    width: 53px;
    height: 64px;
    z-index: 1;
    background: transparent;
    border: none;
    color: transparent;
    margin: 0;
    padding: 0;
    margin-top: -32px;
    line-height: 1em;
    text-indent: -10000px;
}

.slick-prev {
	left: 0;
	margin-left: 12px;
}

.slick-next {
	right: 0;
	margin-right: 12px
}

.slick-prev:before,
.slick-next:before {
    font-family: "FontAwesome";
    display: block;
    position: absolute;
    top: 0;
    font-size: 2rem;
    line-height: 1em;
    padding: 1rem;
    text-indent: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 2;
}

.slick-prev:before {
	content: '\f053';
}

.slick-next:before {
	content: '\f054';
	right: 0;
}

.load-more {
	text-align: center;
}

.load-more a.btn {
    font-size: 1rem;
    font-weight: normal;
    text-decoration: none;
    padding: 1em 0;
    width: 300px;
    display: block;
    background-color: #1176bb;
    color: white;
    margin: 0 auto;
}

.load-more a:hover,
.load-more a:active {
    background-color: #1384d2;
    /*border-radius: 3px;
    box-shadow: 0 0 2px rgba(0,0,0,0.2);
    border-top: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;*/
}

.spinner img {
    display: inline-block;
    height: auto;
    margin-right: 5px;
    margin-top: -2px;
    vertical-align: middle;
    width: auto;
}

.story.advert-block {
	height: 280px;
}

aside .advert-block.with-no-ad{
    display: none;
}

.advert-block.no-more-ads{
    display: none;
}

.advert[data-is-empty="1"]{
    display: none;
    padding-bottom: 0 !important;
}

.story.advert-block img {
	max-width: 100%;
	width: auto;
}

.stories-ad-tempholder {
	display: none;
}

.advert.lead-ad {
	padding-top: 2em;
}

.advert.mobile-ad {
    padding-bottom: 0.75em;
}

#gausssvg {
    display: none;
}

@media only screen and (min-width: 640px) {
    .story.advert-block {
        display: none;
    }
}

@media only screen and (max-width: 640px) {
    .load-more a {
        margin-bottom: -1em;
    }
}
