/* BEGIN NORMALIZATION SECTION */
{
    box-sizing: border-box;
}
 
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
 
body {
    margin: 0;
    cursor: default;
}
 
h1,
h2,
h3,
h4,
p,
blockquote,
figure,
ol,
ul,
span,
pre {
    margin: 0;
    padding: 0;
}
 
h1,
h2,
h3,
h4 {
    font-size: inherit;
}
 
a {
    text-decoration: none;
    color: inherit;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}

h1,
h2,
h3 {
    font-weight: bold;
}
 
h1 {
    font-size: 2em;
    margin-bottom: 0.17em;
}
 
h2 {
    font-size: 1.5em;
    margin-bottom: 0.33em;
}
 
h3 { 
    font-size: 1.17em;
    margin-bottom: 0.5em;
}
 
p
 {
    margin-bottom: 1em;
}
 
a {
  text-decoration: none;
  color: black;
}
 
ul {
    list-style-position: inside;
    margin-bottom: .25em;
}
 
li {
    list-style-type: square;
}
 
body {
    font-family: 'Graphik Web', sans-serif;
    background-color: white;
    min-height: 100vh;

    /*display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;*/
}
 
img {
    max-width: 100%;
    height: auto;
}

/*.mainImage {
    border: 1px solid black;    
}*/

.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;

    flex: 1;
}
 
.container {
    max-width: 1040px;

    padding: .5em;
    padding-bottom: 0;
 
    /*display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;*/
}
 
footer {
    background-image: url('images/CollagerGrayScale.jpg');
    background-color: black;
 
    font-size: 0.75em;
    padding: .5em;
}
 
footer div {
 
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

footer a {
    color: white;
}

.footerLinksMenu > li {
    display: inline;

    padding-left: .25em;
    padding-right: .25em;
}

nav {
    margin-bottom: 0em;
    padding: 0em;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index:12;
    position:fixed;
    overflow: hidden;
    background-color: white;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
}

nav2 {
    margin-bottom: 0em;
    padding: 0em;
    top: 1.5em;
    left: 0px;
    width: 100%;
    z-index:12;
    position:fixed;
    overflow: hidden;
    background-color: white;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
}

footer ul {
    /*display: flex;*/
    margin: 0;
    padding: 0;

    justify-content: center;
    align-items: center;
}

footer ul li {
    color: white;
    list-style: none;
}

.columnsWrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

/* Things I've added'*/
/* viewMenu-related stuff is from http://jsfiddle.net/NHKZL/ */
href {
        cursor:pointer;
}
img.puck-icon {
    max-width: 2.5em;
}

.viewMenu {
    padding: 0;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
    
.viewMenu > li {
    font-weight:bold;
    padding-left: .4em;
    padding-right: .4em;
    font-size: .95em;
    cursor:pointer;
    color: black;
    list-style: none;
}

.viewMenu > li:last-child {
    display:none;
}
 

.dateViewMenu {
    padding: 0;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
    
.dateViewMenu > li {
    font-weight:bold;
    padding-left: .4em;
    padding-right: .4em;
    font-size: .95em;
    cursor:pointer;
    color: black;
    list-style: none;
}
.seeYouInOctober {
    font-size: 1.5em;
    background-color: darkred;
    padding-left: 1.0em;
    margin-bottom: 1em;
    width: 100%;
}

.qodAside, .elsewhereAside, .viewLinksAside {
    font-size: .85em;
    margin-bottom: 1em;
    padding: 1em;
    background-image: url('images/CollagerGrayScale.jpg'); 
    background-color: black;
    color:white;
    display: block;
    /*flex-flow: column wrap;
    justify-content: flex-start;
    align-items: flex-start;*/
}

.qodTitle, .elsewhereTitle, .viewLinksTitle {
    background-color: darkred;
    padding-left: 1.0em;
    margin-bottom: 1em;
    width: 100%;
}

a.qod {
    color:white;
    font-family: 'Publico Text Web';
    -webkit-font-smoothing: antialiased;
    cursor:pointer;
    text-align: left;
}

a.elsewhere, a.viewLink {
    color:white;
    -webkit-font-smoothing: antialiased;
    cursor:pointer;
    text-align: left;
}

img.topImage, img.archiveImage {

    /*width: 100%;    this likley needs work to get going properly in IE and Chome & top and archive*/
    /*max-width: 1040px;
    max-height: 80%;*/
}

.topText, .archiveText {
     /*color: white;*/
    text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
             0px 8px 13px rgba(0,0,0,0.1),
             0px 18px 23px rgba(0,0,0,0.1);    
}

p.topTitle {
     padding-top: .5em;
     font-size: 1.5em;
     margin-bottom: 0em;
}

p.archiveTitle {
     padding-top: .5em;
     font-size: 2.5em;
     margin-bottom: 0em;
}

p.topTitle a, p.archiveTitle a {
    color: white;
}

 p.topSubTitle{
    font-family: 'Publico Text Web';
     font-size: 1.1em;
}

p.archiveSubTitle {
    font-family: 'Publico Text Web';
     font-size: 1.5em;
}

div.top, div.archiveYear {
    color: white;
    background-image: url('images/CollagerGrayScale.jpg');
    background-color: black;
    margin-bottom: 1em;
    margin-top: 1em;
    padding: 2em;

    /*display: flex;
    align-items: stretch;
    justify-content: center;
    flex-flow: column wrap;*/
}
    
div.top p, div.archiveYear p {
    background: transparent;
}

.previewContentSubTitle {
    font-family: 'Publico Text Web';
    -webkit-font-smoothing: antialiased;
}

p.previewContentSubTitle::first-letter {
  font-weight: bold;
  color: darkred;
}

.publisherHost {
    font-family: 'Graphik Web', sans-serif;
    font-size: .75em;
    color: GrayText; 
}

article.curatedArticle {
    margin-bottom: 1.5em;    
}

.largeView {
    display: none;
}

.columnContentDate {
  color: darkred;
}

.viewsContainer {
 margin-top: 2em;   
}

.viewsContainer > div, .asideCenterContent > aside {
    display:none;
}

.viewsContainer > div:first-child, .asideCenterContent > aside:first-child {
    display:block;
}

a.linkopacity img {
    filter:alpha(opacity=95);
    -moz-opacity: 0.95;
    opacity: 0.95;
    -khtml-opacity: 0.95;
    background: url(images/loading.gif) 50% no-repeat;
}

a.linkopacity:hover img {
    filter:alpha(opacity=100);
    -moz-opacity: 1.0;
    opacity: 1.0;
    -khtml-opacity: 1.0;
    /*border: 1px solid black;*/    
}

.verticalBetweenDays
{
    padding: 1.25em;
    border-bottom: solid darkred;
}

@media screen and (min-width: 360px) {
    
    nav, nav2 {
        font-size: 1em;
    }
    
    .viewMenu > li {
        padding-left: .65em;
        padding-right: .65em;
        margin-top: .5em;
        margin-bottom: .25em;
    }
    
    .dateViewMenu > li {
        padding-left: 1em;
        padding-right: 1em;
        margin-top: .5em;
        margin-bottom: .25em;
    }
}

@media screen and (min-width: 410px) {
    
    .viewMenu > li {
        padding-left: 1em;
        padding-right: 1em;
        margin-top: .5em;
        margin-bottom: .25em;
    }
    
    .dateViewMenu > li {
        padding-left: 1em;
        padding-right: 1em;
        margin-top: .5em;
        margin-bottom: .25em;
    }

    .container {
        padding: .75em;
    }    


    .footerLinksMenu > li {
        display: inline;

        padding-left: 1em;
        padding-right: 1em;
    }
}

@media screen and (min-width: 600px) {

    .curatedArticle {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: stretch;
    }

    .seeYouInOctober {
        font-size: 1.75em;
    }

    .curatedArticle .image {
        flex: 1;
        margin-right: 1.5em;
    }

    .curatedArticle .curatedSection {
        flex: 3;
    }
    
    nav, nav2 {
        font-size: 1.5em;
    }
    
    .viewMenu > li {
        padding-left: .75em;
        padding-right: .75em;
        margin-top: .5em;
        margin-bottom: .25em;
    }
    
    /*div.top {
        flex-direction: row;
    }*/
}

@media screen and (min-width: 800px) {

    .viewMenu > li:last-child {
        display:flex;
    }
    
    .verticalBetweenDays
    {
        display: none;
    }

    .dateViewMenu {
        display: none;   
    }

    .wrapper {
        background-image: url('images/CollagerGrayScale.jpg');         
    }
    
    .container {
        background-color: white;
        box-shadow: 4px 0px 3px rgba(0,0,0,0.4),
                8px 0px 13px rgba(0,0,0,0.1),
                18px 0px 23px rgba(0,0,0,0.1);    
        padding: .5em;
    }
    
    .columnsWrapper {
        flex-direction: row;
    }

    .columnsWrapper .columnContent, .asideContent {
        flex: 4;
        margin-right: .5em;
    }

    .columnsWrapper aside {
        flex: 1;
    }

    nav, nav2 {
        font-size: 1.75em;
    }
    
    .largeView {
        display: block;
    }
    
    .smallView {
        display: none;
    }
    
    .viewMenu > li {
        padding-left: 2em;
        padding-right: 2em;
    }
    
     p.topSubTitle{
        padding-left: 1em;
    } 
    
    p.topTitle {
        padding-left: 1em;
    }

    img {
        max-height: 480px;
        width: auto;
    }
}

@media screen and (min-width: 1040px) {

    div.top, div.archiveYear, .qodAside, .elsewhereAside, .viewLinksAside, footer {
        background-image: none;
    }
    
}