/*
 Base CSS for hireThisGuy Listicle Microsite
 Copyright 2016 by Mike Cumberworth, all rights reserved
 v0.1 Feb 2016 
*/


@import url('http://fonts.googleapis.com/css?family=Open+Sans:300,400');
@import url('http://fonts.googleapis.com/css?family=Bitter');

*, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    background-color: #eee;
    /*background-color: rgba(200, 200, 200, 0.7);*/
    font-family: Georgia, "Bitter", "Open Sans", Helvetica, Arial, sans-serif;
    font-weight: 300;
    margin: 0 auto;
    padding: 0;
    min-width: 300px;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #336699;
    background-image: url(../img/header_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;

}

body{

    margin: 20px auto;
    width: 90%;
    padding: 2em;
    height: 95vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    max-width: 700px;
    min-width: 320px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.2);

}

section{
}

a {
   text-decoration: none;
   color: #336699;
}

a:hover, a:focus, a:active{
    text-decoration: underline;
    color: #dd9900;
}

header {

    width: 100%;
    margin: 0 auto;
}

h1{
    color: #dd9900;
    font-size: 3em;
    font-weight: bold; 
    font-family: "Bitter", Helvetica, Arial;
    text-shadow: 0 2px 1px #444;
    border-bottom: 2px solid #dd9900;
    margin-bottom: 1em;
    text-align: left;


}

h2{

    color: #444;
    font-style: italic;
    font-weight: 100; 
    font-size: 1.5em; 
    margin: 0em 0 0.5em 0em;
}

.byline {
    font-size: 1em;
    margin: 0.5em 0 0.2em 0.5em;   

}

.dateline {
    font-size: 1em;
    font-weight: lighter;   
}

p {
    font-family: Georgia, "Bitter", "Open Sans", Helvetica, Arial;
    line-height: 22px;
    margin: 0 0 1em 0.5em;
}

.mainList{
    width: 95%;
}

ol {

   counter-reset: li;
   margin-left: 0;
   padding-left: 0;
   list-style-position: inside;
}

ol > li {
    position: relative;
    list-style-type: none;
    margin: 3em auto;

}

ol > li:before {

   content: counter(li, decimal-leading-zero);
   counter-increment: li;
   position: absolute;
   font-size: 2em;
   line-height: 1.8em;
   color: #fff;
   left: -15px;
   box-sizing: border-box;
   width: 60px;
   height: 60px;
   border-radius: 50%;
   background-color: #dd9900;
   text-align: center;
   box-shadow: #444 0px 2px 2px;

}

ol > li:last-child{
    counter-reset: li;
    margin-bottom: 20px;
}

ol > li:last-child:before{
    content: "7.5";
}



ol > li {

    border-bottom: 1px solid #aaa;
}



.itemImg {
    margin: 1em 0.5em;
    width: 100%;
    height: auto;
    min-width: 320px;
    /*border: 1px solid #888;*/
    border-radius: 3px;
    box-shadow: 0px 2px 2px #444;

}

footer {
    text-align: center;
    font-size: 0.8em;
    color: #888;
}
.30{
    
    margin: 0px auto;
    text-align: center;
    font-style: italic;
}

@media (max-width: 480px) {

    body{
        padding: 0.5em;
        box-shadow: none;
    }

    h1{
        font-size: 2.2em;
    }
    ol > li:before {
        font-size: 1.5em;
        width: 45px;
        height: 45px;
        left: -8px;
        top: 0;
        border-radius: 0;
    }

    .itemImg{
        margin: 0 0 1em -0.5em;
        border-radius: 0;
    }


}

