@import url(reset.css);

html{
    height: 100%;
}

body{
    height:100%;
    display: flex;
    flex-direction: column;

    background: #f5f5f5;
    font-family: Tahoma,Arial, serif; 
    font-size: 13px; 
    color: #444; 
    line-height: 1.6em;
}

header{
    width: 40%;
    margin: 0px auto 30px;
    padding: 10px;
    background: #222;
    border-radius: 0px 0px 8px 8px;
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1);

}



a{
    font-weight: bold;
    color: #0088cc;
    text-decoration: none;
}
a:hover {
    color: #333; 
}

header img{
    margin-left:10px;
}

main{
    flex: 1;
    width: 40%;
    margin-left: auto;
    margin-right: auto; 
}

article{
    display: grid;
    padding-bottom:2em;

    grid-template-columns: 108px auto
}

.player{
    grid-column: 2;
    width:98%;
    margin-top: 0.5em;
    margin-bottom: 1em;
    display: grid;
}

.player audio{
    width:90%;
    height:30px;
    grid-row: 1;
}

.player span{
    grid-row: 2;
    margin-top: 0.3em;
}

article summary{
    grid-column: 2;
    margin-bottom: 0.75em;
}


article h2{
    grid-column: 2;
    font-size: 1.5em;
    line-height: 2.5em;
}

.glyph {
    grid-column: 1;
    font-size: 9pt;
    font-weight: bold;
}

.microphoneIcon {
    visibility: visible;
}

.pagination {
    display: table;
    margin-top: 2em;
    margin-bottom: 2em;
    margin-left: auto;
    margin-right: auto;
    font-size: 2em;
}

.pagination__item{
 display: table-cell;
 font-size: 16pt; 
 color: #0088cc; 
}



.pagination__item a {
    margin-left: 0.25em;
}



.pagination__item--current a {
    text-decoration: underline;
    color: #444;
}

footer{

    margin-left: auto;
    margin-right: auto;
    color: white; 
    padding: 0px; 
    font-size: 12px;

    width: 40%;

    flex-shrink: 0;

    background: #222;
    padding: 10px;
    border-radius: 8px 8px 0px 0px;
}

.dateCircle{
    fill: #454545;
    fill-opacity: 0.8;
}


@media only screen and (max-width: 820px) {
    
    header{
        width: 92%;
    }

    main{
        flex: 1;
        width:92%;
    }

    footer{
        width:92%
    }

    .microphoneIcon {
        visibility: hidden;
    }

    article {
        grid-template-columns: 60px auto;
    }

    .dateCircle{
        fill: #0088cc;
        fill-opacity: 1;
    }
}
