/*
Theme Name: daily2016
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: daily2016
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

daily2016 is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Containers
# Grid
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Colours
# Daily Header
# Daily Slideout Menu
# Daily Sidebar
# Daily Front Page Blocks
    ## Inside
# Daily Archives
# Daily Masthead
# 404
# Separators
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
	width: 100%;
	height: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

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

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
    margin-top: 1.5em;
    margin-bottom:1.5em;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Containers
--------------------------------------------------------------*/
/*
#tmd-page {
    width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

#tmd-content {
    min-height: 50vh;
    width: calc(100% - 300px - 1em);
}*/



#tmd-sidebar {
    margin-left: 0.5em;
    padding-left: 0.5em;
    border-left: solid 1px #e9e9e9;
    min-height: 50vh;
    max-width: 300px;
}

#adtop,#admid {
    width: 720px;
    height: 90px;
    margin-left: auto;
    margin-right: auto;
}

.full {
    width: 100%;
}

.adside { width: 100%; }

@media (max-width: 480px) {
    #tmd-content {
        padding-top: 1em;
        width: 100%;
    }
}


@media (max-width: 768px) {
    #tmd-content {
        padding-left: 0.5em;
        padding-right: 0.5em;

    }
}

/*--------------------------------------------------------------
# Grid
--------------------------------------------------------------*/

.grid-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 0.25rem;
}

@media (min-width: 1024px) {
    .grid-container {
        max-width: 1100px;
    }
}




hr { clear: both; }

.column {
    position: relative;
	float: left;
	min-height: 1px;
}

.col-12 {
  width: 100%;
}
.col-11 {
  width: 91.66666667%;
}
.col-10 {
  width: 83.33333333%;
}
.col-9 {
  width: 75%;
}
.col-8 {
  width: 66.66666667%;
}
.col-8-mod {
    width: calc(66.66666667% - 1em);
}
.col-7 {
  width: 58.33333333%;
}
.col-6 {
  width: 50%;
}
.col-5 {
  width: 41.66666667%;
}
.col-4 {
  width: 33.33333333%;
}
.col-3 {
  width: 25%;
}
.col-2 {
  width: 16.66666667%;
}
.col-1 {
  width: 8.33333333%;
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

.tmd-timestamp { text-transform: uppercase; color: #696969; }

.oswald { font-family: 'Oswald', sans-serif; }
.merriweather { font-family: 'MerriWeather', sans-serif; }

.tmd-title {
    font-family: 'Open Sans', sans-serif;
}

body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
    font-family: 'Oswald';
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

blockquote p {
    margin-bottom: 0;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

body, html {
    margin: 0;
    /*width: 100%;
    height: 100%;*/
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

blockquote {
    border-left: 5px #000 solid;
    padding-left: 0.5em;
    font-size: 1.5em;
}

/*blockquote > p::first-letter {
    font-weight: bold;
    font-size: 3em;
    font-family: Merriweather;
    float: left;
    padding-right: 0.1em;
    padding-bottom: 0em;
    line-height: 1;
}*/

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
	color: #009bff;
	text-decoration: none;
}

a:visited {
	color: #006bb3;
}


a:hover,
a:focus,
a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

.header-buttons > a,
.header-nav a,
.tmd-section-front a,
.tmd-title a,
.tmd-pagination-nav a,
.tmd-section-badge a,
.tmd-masthead-content a:first-of-type {
	color: inherit;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}


/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.tmd-post-head {
    border-bottom: 1px solid #ccc;
    padding-top: 1em;
}

.tmd-post-head > h1 {
    font-family: 'Oswald', sans-serif;
}

.tmd-post-head h1, .tmd-post-head h3 {
    margin: 0;
}

.tmd-post-head > ul.tmd-post-meta {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tmd-post-hero {
    background-color: #5B5B5C;
}

.tmd-post-hero .tmd-hero-caption {
    text-align: left;
    padding-left: 0.5em;
    font-size: 0.8em;
    padding-bottom: 0.5em;
    color: #fff;
}

.tmd-post-meta > li {
    display: inline;
    margin: 0;
}

.tmd-socialboxes {
    margin: 0.5em 0;
}

.tmd-socialboxes > iframe:first-of-type {
    float: left;
    margin-right: 0.5em;
}

.tmd-post-content .podcast_player {
    padding-top: 1em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
## Colours
--------------------------------------------------------------*/

/*TODO: Validate */
.secondary { color: #696969; }
.primary { color: #333333; }

.news-bg-color { background-color: #4460AC; }
.commentary-bg-color, .editorials-bg-color {background-color:#57B947;}
.culture-bg-color {background-color:#FFCD2A;}
.features-bg-color {background-color:#5DCAE9;}
.scitech-bg-color {background-color:#98499C;}
.compendium-bg-color {background-color: #f49ac1;}
.sports-bg-color {background-color: #ec2426;}
.radio-bg-color {background-color: #5A357C; }
.video-bg-color {background-color:#EE203E;}
.photos-bg-color {background-color:#2BB673;}
.art-essays-bg-color {background-color:#7E82AD;}
.illustrations-bg-color {background-color:#7E82AD;}
.other-bg-color {background-color:#81807F;}
.special-bg-color {background-color: #98bf21;}

.news-color { color: #4460AC; }
.commentary-color, .editorials-color {color:#57B947;}
.culture-color {color:#FFCD2A;}
.features-color {color:#5DCAE9;}
.scitech-color {color:#98499C;}
.compendium-color {color: #f49ac1;}
.sports-color {color: #ec2426;}
.radio-color {color:#5A357C;}
.video-color {color:#EE203E;}
.photos-color { color:#2BB673; }
.art-essays-color {color:#7E82AD;}
.other-color {color:#81807F;}
.special-color {color: #98bf21;}

a.bg:hover { color: #fff; }
a.bg-news:hover { background-color: #4460ac; }
a.bg-commentary:hover, a.bg-editorials:hover { background-color:#57b947; }
a.bg-culture:hover { background-color:#ffcd2a; }
a.bg-features:hover { background-color:#5dcae9; }
a.bg-scitech:hover { background-color:#98499c; }
a.bg-sports:hover { background-color: #ec2426; }
a.bg-compendium:hover { background-color: #f49ac1; }
a.bg-special:hover { background-color: #98bf21; }
a.bg-radio:hover {background-color:#5A357C;}
a.bg-video:hover {background-color:#EE203E;}
a.bg-photo:hover {background-color:#2BB673;}
a.bg-art-essays:hover {background-color:#7E82AD;}
a.bg-other:hover { background-color:#81807f; }
a.bg-special:hover{background-color: #98bf21;}

a.border-news { border-left-color: #4460ac; }
a.border-commentary { border-left-color:#57b947; }
a.border-culture { border-left-color:#ffcd2a; }
a.border-features { border-left-color:#5dcae9; }
a.border-scitech { border-left-color:#98499c; }
a.border-sports { border-left-color: #ec2426; }
a.border-compendium { border-left-color: #f49ac1; }
a.border-special { border-left-color: #98bf21; }
a.border-radio { border-left-color: #5A357C; }
a.border-video { border-left-color:#EE203E;}
a.border-photo {border-left-color:#2BB673;}
a.border-art-essays {border-left-color:#7E82AD;}
a.border-other { border-left-color:#81807f; }
a.border-special {border-left-color: #98bf21;}

/*--------------------------------------------------------------
## Daily Header
--------------------------------------------------------------*/

.header {
    font-family: 'montserrat', sans-serif;
    font-size: 0.8rem;
}

.header-ad {
    display: none; /* hidden on mobile */
	}
	
.mobile-ad {
	display: none;
}

.header-nav {
	background-color: #f9f9f9;
    border-bottom: solid 1px #d9d9d9;
}

.nav-top {
	display: none; /* hidden on mobile */
}

.land-ack {
	display: none; /* hidden on tiny screens */
}

.header-main {
    border-bottom: solid 1px #d9d9d9;
}

.header-menu-icon {
    float: left;
    padding: 0.5rem 0;
    text-transform: uppercase;
    font-size: 1.3em;
}

.header-logo {
    width: 320px;
    height: 90px;
}

.header-logo, .header-logo-square {
	margin: 0 auto;
}

.header-logo-square {
    display: none;	/* hidden on mobile */
}

.header-ad img,
.header-logo img,
.header-logo-square img {
    display: block; /* to avoid excess bottom padding */
    margin: 0 auto;
}

.nav-main,
.ticker,
.header-sections {
    display: none; /* hidden on mobile */
}

.since-line {
	float: left;
	padding: 0.5rem 0.5rem 0.4rem;
	font-size: 0.8rem;
}

.since-line-light {
    color: #777;
}

.header-right {
	display: none; /* hidden on mobile */
}

#tmd-sidebar {
    display: none;
}

@media (min-width: 480px) {

	.land-ack {
		display: block;
		float: right;
		font-size: 0.7rem;
		font-family: 'open sans', sans-serif;
		padding: 0.3rem 0;
	}
}

@media (min-width: 480px) {
    .header-ad-container {
        border-bottom: solid 1px #c9c9c9;
    }

    .header-ad {
    	display: block;
    	text-align: center;
	    margin: 0 auto;
	    padding: 0.5rem 0;
        width: 728px;
	}

    .header {
        margin-bottom: 1em;
    }

	.nav-top {
		display: block;
		float: left;
	    padding: 0.25rem 0;
	}

    .header-logo, .header-logo-square {
        float: left;
        /*TODO: Consider dropping square logo since menu tab for mobile is above the logo anyway */
        /*display: block;*/
    }

    .header-logo {
    	/*display: none; /* square logo on tablet */
    }

    .header-right {
		float: right;
		display: block;
		width: calc(100% - 90px);
	}

    .header-menu-icon {
        display: none;
    }

    .header-buttons {
        float: left;
        margin: 0.6rem 0;
    }

    .header-buttons {
        float: right;
        font-size: 0.8rem;
    }

    .header-buttons span {
        display: inline-block;
        border: solid 1px #999;
        border-radius: 5px;
        padding: 0.3rem 0.6rem;
        vertical-align: top;
    }

    .ticker {
        display: block;
        clear: both;
        padding: 0.5rem;
        /*font-family: 'domine', serif;*/
        font-family: Oswald;
        text-transform: uppercase;
        font-size: 0.9rem;
        border-top: solid 1px #d9d9d9;
    }

    .header-sections {
        display: block;
        border-bottom: solid 1px #d9d9d9;
        background-color: #f9f9f9;
    }

    footer .header-sections {
        border-top: solid 1px #d9d9d9;
        margin-bottom: 1em;
    }

    footer .header-sections .nav-sections > ul {
        margin-left: auto;
        margin-right: auto;
    }

    .nav-sections {
        text-transform: uppercase;
        text-align: center;
        font-family: 'oswald', sans-serif;
        font-size: 0.85rem;
        width: 100%;
    }

    .nav-sections ul {
        display: table;
        margin: 0 auto;
        list-style: none;
        margin: 0;
        padding-left: 0;
    }

    .nav-sections li {
        float: left;
        position: relative;
    }

    .nav-sections li a {
        display: block;
        padding: 0.5em 1.5em;
        color: #333;
    }

		.tmd-dropdown-src > ul {
		  list-style: none;
		  display: none;

		  position: absolute;
		  z-index: 1;

		  background-color: #f9f9f9;

		  width: 100%;
		}

		.tmd-dropdown-src ul li {
		  display: block;
		  float: none;
		  text-align: center;
		}

		.tmd-dropdown-src:hover ul { display: block; }

}

@media (min-width: 1024px) {

    #tmd-page {
        width: 1100px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1em;
    }

    #tmd-content:not(.full) {
        min-height: 50vh;
        width: calc(100% - 300px - 1em);
    }

    #tmd-sidebar {
        display: block;
    }

    #

    .header-logo {
    	display: block !important;
    }

    .header-logo-square {
    	display: none;
    }

    .header-right {
		width: calc(100% - 320px);
	}

    .nav-sections {
        font-size: 1rem;
    }
}

/*--------------------------------------------------------------
## Daily Slideout Menu
--------------------------------------------------------------*/

.slideout-menu {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 0;
	width: 256px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	display: none;
	background-image: linear-gradient(145deg, #f9f9f9, #ffffff);
}

.slideout-panel {
	position: relative;
	background-color: #fff;
	z-index: 1;
	height: 100%;
}

.slideout-open .slideout-panel {
	border-left: solid 1px #c9c9c9;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
	overflow: hidden;
}

.slideout-open .slideout-menu {
	display: block;
}

.slideout-search {
  	padding: 0.5em;
}

.slideout-search input[type="text"] {
	line-height: 1;
	width: 194px;
}

.slideout-sections {
    text-transform: uppercase;
    text-align: center;
    font-family: 'oswald', sans-serif;
    font-size: 0.85rem;
    width: 100%;
	border-top: solid 1px #d9d9d9;
}

.slideout-sections a {
    display: block;
    padding: 0;
    line-height: 2.5rem;	/* same height regardless of font size */
    color: #333;
    border-left-width: 4px;
    border-left-style: solid;
	border-bottom: solid 1px #d9d9d9;
}

.slideout-sections a.subsection {
	border-left: none;
	font-size: 0.9em;
}

.slideout-links {
	text-align: center;
	font-family: 'montserrat', sans-serif;
	font-weight: bold;
	font-size: 0.9rem;
	padding: 0.25rem 0;
	border-bottom: solid 1px #d9d9d9;
}

.slideout-links a {
	display: block;
	line-height: 2rem;
}

/*--------------------------------------------------------------
## Daily Sidebar
--------------------------------------------------------------*/

.tmd-sidebar-box {
	padding-top: 0.5em;
	margin-top: 0.5em;
	border-top: solid 1px #e9e9e9;
}

.tmd-sidebar-search input[type="search"] {
	width: calc(100% - 60px);
}

.tmd-sidebar-search button {
	font-size: 1rem;
	line-height: 1.5;
	padding: 3px;
	width: 55px;
}

.tmd-sidebar-box h3 {
    margin:0;
    padding-left: 0.5em;
    text-transform: uppercase;
    padding-bottom: 0.25em;
}

.tmd-sidebar-box p {
    margin-left: 0.5em;
}

.tmd-sidebar-box h3 span {
    text-transform: none;
}


/*--------------------------------------------------------------
## Daily Front Page Blocks
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Inside
--------------------------------------------------------------*/

/* TODO: Merge with more general link styling */
#tmd-inside a {
    text-decoration: none;
}

#tmd-inside a:hover {
    text-decoration: underline;
    color: inherit;
}
/*End of previous note.*/

.tmd-inside-big .tmd-titlebox {
    min-height: 5em;
}

.tmd-inside-big .tmd-title {
    font-size: 1.5em;
}

.tmd-inside-small {
    padding-right: 1em;
}

.tmd-inside-small.mobile {
    display: none;
    border-top: 1px solid #ccc;
    padding-right: 0;
    padding-top: 1em;
    margin-top: 1em;
}

.tmd-inside-small-item {
    margin-bottom: 1em;
}

.tmd-inside-small-item:not(:last-child) {
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5em;
}

.tmd-inside-small-item {
    min-height: 4em;
}

.tmd-section-front.mobile {
    display: none;
}

#tmd-inside .tmd-timestamp {
    font-family: 'Oswald', sans-serif;
}

@media (max-width: 480px) {
    #tmd-inside .tmd-inside-small {
        display: none;
    }

    #tmd-inside .tmd-inside-big {
        width: 100%;
    }

    #tmd-inside .tmd-inside-small.mobile, .tmd-section-front.mobile {
        display: block;
    }

    .tmd-section-front.mobile {
        margin-top: 1em;
    }
}

/*--------------------------------------------------------------
## Section rows
--------------------------------------------------------------*/

.tmd-section-front {
    margin-bottom: 1em;
    font-family: 'Oswald', sans-serif;
}

/*TODO: Merge with link styles */
.tmd-section-front a {
    link-decoration: none;
}

.tmd-section-front a:hover {
    text-decoration: underline;
    color: inherit;
}

.tmd-cell .tmd-titlebox {
    min-height: 5em;
}

.tmd-section-front > .tmd-title,
.tmd-masthead-container .tmd-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.3em;
    width: 100%;
    margin-bottom: 1em;
    padding-left: 0.5em;
    color: #fff;
}

.tmd-section-badge {
    font-family: 'Oswald';
    text-transform: uppercase;
}

.tmd-section-side {
    margin-left:0;
    padding-left:0.5em;
    border-left: 1px solid #ccc;
    list-style: none;
}

.tmd-section-side > li {
    padding-bottom: 0.5em;
}

.tmd-section-front .tmd-timestamp {
    font-size: 0.8em;
}

.tmd-section-front:not(.tmd-half-row) .tmd-cell {
    padding-left:0.25em;
    padding-right:0.25em;
}

.tmd-half-row .tmd-cell:first-of-type {
    padding-right: 0.25em;
}

.tmd-half-row .tmd-cell:last-of-type {
    padding-left: 0.25em;
}


/* Specific to half-rows */

.columns > .tmd-half-row:first-of-type {
    padding-right: 0.5em;
}

.columns > .tmd-half-row:last-of-type {
    padding-left: 10px;
}

/* Specific to radio row */

.tmd-front-podcast .tmd-cell {
    padding-top: 0.5em;
    border-bottom: 1px solid #c3c3c3;
    padding-bottom: 0.5em;
}

.tmd-front-podcast .tmd-cell:last-child {
    border-bottom: none;
    padding-bottom: none;
}

.tmd-front-podcast .tmd-cell:first-child {
    padding-top: 0;
}

.tmd-front-podcast .tmd-author {
    font-family: 'Open Sans', sans-serif;
    color: #696969;
}

.tmd-front-podcast .tmd-timestamp {
    font-size: 1em;
}

@media (max-width: 480px) {
    .tmd-section-front .tmd-cell,
    .tmd-half-row,
    .tmd-section-front .tmd-cell img {
        width: 100% !important;
        padding: 0 !important;
    }
}

/*--------------------------------------------------------------
## Daily Archives
--------------------------------------------------------------*/

.tmd-column-listing {
    padding-bottom: 1em;
}

.tmd-column-listing button {
    margin: 0.5em;
    padding: 1em 1em;
}

.tmd-column-listing a:first-child > button {
    margin-left: 0;
}

.tmd-column-listing a:last-child > button {
    margin-right: 0;
}

.tmd-archive-thumb {
    width: 310px;
    float: left;
}

.tmd-archive-thumb > img {
    width: 310px;
    height: 200px;
}

.tmd-archive-content {
    float: left;
    padding-left: 0.5em;
    width: calc(100% - 320px);
}

.tmd-archive-content h2, .tmd-archive-content h3, .tmd-archive-content h4 {
    margin: 0;
}

.tmd-pagination-nav {
    margin-top: 1em;
}

.tmd-pagination-nav ul.page-numbers {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.tmd-pagination-nav li {
    display: inline;
}

.tmd-pagination-nav a.page-numbers, .tmd-pagination-nav span.current {
    background-color: #c2c2c2;
    border-radius: 16px;
    padding: 0.5em;
}

.tmd-pagination-nav span.current, .tmd-pagination-nav a.page-numbers:hover {
    background-color: #3a3a3a;
    color: #fff;
}

@media (max-width: 480px) {
    .tmd-archive-thumb {
        display: none;
    }

    .tmd-archive-content {
        margin-top: 0.5em;
        border-top: 1px #ccc solid;

        margin-bottom: 0.5em;
        border-bottom: 1px #ccc solid;

        width:100%;
    }
}

/*--------------------------------------------------------------
## Daily Masthead
--------------------------------------------------------------*/

.tmd-masthead-container .tmd-title {
    margin-bottom: 0.5em;
}

.tmd-masthead-cell {
    margin: 0 0 0.5em 0;
}

.tmd-masthead-cell > img {
    float: left;
    margin-right: 0.5em;
}

.tmd-masthead-cell > .tmd-masthead-content {
    float: left;
}

.tmd-masthead-container > section {
    float: left;
    width: calc(33.3333333% - 1em);
    position: relative;
    min-height: 1px;
    margin: 0 0.5em;
}

.tmd-masthead-cell h3,
.tmd-masthead-cell h4 {
    margin-bottom: 0.5rem;
    margin-top: 0;
    text-transform: uppercase;
}

.tmd-masthead-cell h4 {
    color: #696969;
}

.tmd-masthead-cell .vacancy {
    text-align: center;
}

.tmd-contact-email {
    font-size: 0.8rem;
}

@media (max-width: 480px) {
    .tmd-masthead-container > section {
        width: calc(100% - 1em);
    }
}

/*--------------------------------------------------------------
## 404
--------------------------------------------------------------*/

.tmd-404-search {
    text-align:center;
}

.tmd-404-search form {
    display: inline;
}

.tmd-404-search input:first-of-type {
    width: 50%;
}

/*--------------------------------------------------------------
## Search
--------------------------------------------------------------*/

.tmd-search {
    padding-bottom:
}

/*
*   TEMPORARY
*/

.box-placeholder { background-color: grey; }
#admid.ad-placeholder { margin-top: 1em; }

@media (max-width: 480px) {
		#admid { display: none; }
		.mobile-ad { display: block; }
		.desktop-ad { display: none;}
}

/* TODO: Review and Classify */

/* SLIDER ELEMENTS ////////////////////////// */

#content-slideshow {position: relative;width: 100%;height: 475px;padding:0px !important;overflow:hidden;}
#content-slideshow ul {position: relative;margin: 0 !important;padding: 0 !important;border: none !important;list-style-type: none !important;background:transparent !important;}
#content-slideshow .content_slideshow ul {position: relative;float:left;overflow: hidden;width: 64.20%;height: 475px;margin: 0px !important;padding: 0px !important;}
#content-slideshow .content_slideshow ul li {display:none;position:relative;float: left;display:block;width: 100% !important;height: 475px !important;top: 0px !important;left: 0px !important;margin: 0px !important;padding: 0px !important;z-index:1;overflow: hidden;}
#content-slideshow .content_slideshow ul li img {cursor:pointer;margin: 0px !important;padding: 0px !important;border: none !important;float: left;width: 100%;position: absolute;top: 0px;height: 475px;}
#content-slideshow  ul.slideshow-nav {width:35.80%;height:475px;margin:0;padding: 0;float:right;overflow:hidden;}
#content-slideshow .slideshow-nav li {float: left;display:block;width: 100%;height:95px;margin:0px !important;padding: 0px !important;background-color:#f3f3f3;list-style-type:none;overflow:hidden;}
#content-slideshow .slideshow-nav .slider_sp {float:left;width:1.72%;height:95px;}
#content-slideshow .slideshow-nav .clearfix .slider_sp {width:0%;}
#content-slideshow .slideshow-nav .on .slider_sp {width:1.72%;}
#content-slideshow .slideshow-nav li.on {background-color:#fff;}
#content-slideshow .slideshow-nav li:hover,
#content-slideshow .slideshow-nav li:active {background-color:#fff;}
#content-slideshow .slideshow-nav li a {cursor:default;}

#wrapper { position: relative; margin-left:auto; margin-right:auto; max-width: 540px; height: auto; padding-bottom:0px; }
#carousel,
#thumbs { overflow: hidden; }
#carousel span,
#carousel img,
#thumbs a,
#thumbs img { display: block; float: left; }
#carousel span,
#carousel a,
#thumbs span,
#thumbs a { position: relative; }
#carousel img,
#thumbs img { border: none; width: auto; height: auto; }
#carousel span { width: 100%; height: auto; }
#thumbs-wrapper { padding: 0px 40px; position: relative; }
#thumbs a { border: 2px solid #fff; }
#thumbs a:hover,
#thumbs a.selected { border-color: #A09F9F; }
#prev { background: transparent url('/wp-content/themes/daily2016/static_assets/al.png') no-repeat 0 0; display: block; width: 40px; height: 130px; position: absolute; left:0%; top: 0%; }
#next { background: transparent url('/wp-content/themes/daily2016/static_assets/ar.png') no-repeat 0 0; display: block; width: 40px; height: 130px; position: absolute; right:0%; top: 0%; }
#prev:hover {  }
#next:hover {  }
#prev.disabled,
#next.disabled { display: none !important; }

.slider_main {max-width:680px !important;}
.slider_main #thumbs a { border: 2px solid #A09F9F; }
.slider_main #thumbs a:hover,
.slider_main #thumbs a.selected { border-color: #fff; }

.sidebar_header.haps {
	border-bottom: solid 1px #e9e9e9;
	font-size: 1.6em;
}

.haps_box h1 {
	font-size: 1.1em;
	font-weight: normal;
	margin-bottom: 0.25em;
}

.haps_box .haps_deets {
	font-style: italic;
	font-size: 0.9em;
	border-bottom: solid 1px #e9e9e9;
	margin-bottom: 0.25rem;
	padding-bottom: 0.25rem;
}

.haps_box p {
	margin: 0 0;
}

.haps_box p.haps_description {
	font-size: 0.8em; 	
}
.haps_box h1 .haps_badge {
	color: #fff;
	padding: 0 0.2em;
	margin-right: 0.25em;
	margin-left: 0.25em;
}

.haps_box .haps_badge.haps-culture { background-color: #FFCD2A; }
.haps_box .haps_badge.haps-campuspoli { background-color: #4460AC; }
.haps_box .haps_badge.haps-demos { background-color: #ec2426; }
.haps_box .haps_badge.haps-talks { background-color: #57B947; }

.haps_box .haps_badge_container {
	display: flex;
}

.haps_badge_container img {
	max-height: 1.5em;
}