body {
    margin: 0;
    padding: 0;
    color: #555;
    font-size: 16px;
    margin: 0;
    background: url(/img/redpaper2.jpg);
}

body, 
input, 
textarea{
    font-family: 'Roboto', sans-serif;
}

a{
    color: #900;
}

h1, h2{
    font-weight: 300;
    margin-bottom: 0.3em;
}

p{
    margin-top: 0;
    margin-bottom: 1.5em;
}

table th, table td {
    vertical-align: top;
}

table td ul {
    margin-top: 0;
}

#pagetop {
    max-width:100%; 
    width:950px; 
    margin: 5px auto 0 auto; 
    height:10px; 
    background: url(/img/tornpage.png) repeat-x scroll 0 0 transparent;
}

#hdr{
    float: left;
    width: 100%; 
    background: #FFF;
}

a#logo{
    float: left; 
    width: 200px; 
    height: 92px;
    margin: 0 20px;
    background-image: url(/img/poetrypinlogo.png);
    background-size: 200px 92px;
}

#nav{ 
    padding: 0 0 0 240px; 
}

.alertBox{
    border: 2px solid #333;
    padding: 1em;
    font-weight: bold;
}

.hdrbtn{
    text-decoration: none;
    float: right;
    margin: 20px 10px 0 0;
    border: 1px solid #600;
    border-radius: 3px;
    height: 40px;
    line-height: 37px;
    text-align: center;
    padding: 0 14px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), inset 0 -1px 1px rgba(0,0,0,0.5);
    color: #DDD;
    cursor: pointer;

    background-color: #990000;
    background-repeat: repeat-x;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#CC0000), to(#990000));
    background: -webkit-linear-gradient(top, #CC0000, #990000);
    background: -moz-linear-gradient(top, #CC0000, #990000);
    background: -ms-linear-gradient(top, #CC0000, #990000);
    background: -o-linear-gradient(top, #CC0000, #990000);

    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.hdrbtn:hover {
    color: #FFF;
    background-color: #BB0000;
    background-repeat: repeat-x;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#DD0000), to(#BB0000));
    background: -webkit-linear-gradient(top, #DD0000, #BB0000);
    background: -moz-linear-gradient(top, #DD0000, #BB0000);
    background: -ms-linear-gradient(top, #DD0000, #BB0000);
    background: -o-linear-gradient(top, #DD0000, #BB0000);
}


.hdrbtn.btnDisabled,
.hdrbtn.btnDisabled:hover{
    color: #BBB;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#CC0000), to(#990000));
    background: -webkit-linear-gradient(top, #CC0000, #990000);
    background: -moz-linear-gradient(top, #CC0000, #990000);
    background: -ms-linear-gradient(top, #CC0000, #990000);
    background: -o-linear-gradient(top, #CC0000, #990000);
    opacity: 0.4;
    cursor: default;
}

.redbtn {
    border: 1px solid #660000;
    border-radius: 10px;
    height: 50px;
    width: 100px;
    text-align: center;
    font-size: 100%;
    padding: 15px 0 0 0;
    box-shadow: 0 0 0 rgba(0,0,0,0), 0 0 0 rgba(0,0,0,0), 0 5px 5px rgba(0,0,0,1), 0 0 0 rgba(0,0,0,0);
    vertical-align: middle;
    line-height: 100%;
    color: #dddddd;
    /* fallback */
    background-color: #990000;
    background-repeat: repeat-x;
    /* Safari 4-5, Chrome 1-9 */
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#CC0000), to(#990000));
    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #CC0000, #990000);
    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #CC0000, #990000);
    /* IE 10 */
    background: -ms-linear-gradient(top, #CC0000, #990000);
    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #CC0000, #990000);
}

.redbtn:hover {
    color: #ffffff;
    /* fallback */
    background-color: #BB0000;
    background-repeat: repeat-x;
    /* Safari 4-5, Chrome 1-9 */
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#DD0000), to(#BB0000));
    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #DD0000, #BB0000);
    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #DD0000, #BB0000);
    /* IE 10 */
    background: -ms-linear-gradient(top, #DD0000, #BB0000);
    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #DD0000, #BB0000);
}

/* --------- Home page ------------ */

figure{
    padding: 0;
    margin: 0 0 1.6em 0;
}

.homeWrap img.bookImage,
.homeWrap figcaption{
    width: 65%;
    margin: 0 auto;
    display: block;
}

@media all and (min-width: 750px){
    .homeWrap{
        padding: 0 5em;
    }

}

@media all and (max-width: 450px){

    .homeWrap img.bookImage,
    .homeWrap figcaption{
        width: 90%;
    }
}


/* --------- Focus Walks Page --------- */
/* ------------------------------------ */

.youTubeWrap{
    width: 80%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    margin: 0 10%;
    overflow: hidden;
}

.youTubeWrap embed, 
.youTubeWrap iframe, 
.youTubeWrap object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.reveal{
    max-width:100%; 
    width:950px; 
    margin: 0 auto; 
    background: #fff; 
    border-top: 1px solid #999; 
    cursor: pointer;
}

.reveal > div{
    padding: 5px 20px;
}

#content {
    max-width: 100%; 
    width: 950px; 
    margin: 0 auto; 
    background: #fff; 
    padding-bottom: 30px;
}
    
.content{
    float: left;
    width: 100%; 
    line-height: 1.8em;
    margin: 0 auto; 
    background: #FFF;
    padding: 0 30px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.list{
    width: 100%;
}

.list td{
    border-bottom: 1px solid #CCC;
}

.greyout{
    width: 100px; 
    height: 100px; 
    position: absolute; 
    left: 0px;
    top: 0px; 
    background-color: #000; 
    z-index: 3000; 
    opacity: 0.5; 
    filter: alpha(opacity=50); 
    display:none;
}

.dialog{
    background: #DDD; 
    width: 300px; 
    color: #000; 
    display: none; 
    z-index: 4000; 
    border-radius: 10px; 
    padding: 10px; 
    box-shadow: 0px 0px 10px #000;
}

.dlgButton{
    background: #555; 
    color: #DDD; 
    padding: 5px; 
    margin: 5px 0px; 
    text-align: center; 
    border-radius: 5px;
}

#page{
    width: 100%; 
    max-width: 950px; 
    margin: 0 auto; 
    background: #FFF; 
}

#dist{
    padding: 0; 
    margin: 0; 
}


/* ------------------------------- Sign In ------------------------- */
/* ----------------------------------------------------------------- */

.detForm{
    float: left;
    width: 100%;
    margin-bottom: 1em;
}

.detForm .formRow{
    clear: both;
    float: left; 
    padding: 5px 20px; 
}

.formRow label{
    float: left;
    width: 160px;
}

input[type=text], 
input[type=email], 
input[type=password],
textarea{
    width: 250px;
    border: 1px solid #900; 
    border-radius: 5px; 
    padding: 5px;
    margin-bottom: 5px;
    box-shadow: inset 0 3px 4px rgba(0,0,0,0.2);
    background-color: #EEE;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}


/* -------------------------------- Footer ------------------------------- */
/* ----------------------------------------------------------------------- */

.dockSpaceReserver{
    display: block;
    width: 100%;
    float: left;
    height: 60px; 
}

#ftr-dock{
    background: #600; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    height: 60px; 
    z-index: 20000;
}

.ftr{
    width: 940px; 
    margin: 0 auto; 
    height: 50px; 
    padding: 5px; 
    max-width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.adminButtons{
    float: left; 
    padding-top: 3px;
    margin-bottom: 10px;
}

.adminButtons .welcomeUserMessage{
    display: block;
    float: left;
    height: 30px;
    line-height: 30px;
    padding: 0 1em 0 0;
    color: #FFF;
}

.adminButtons a{
    text-decoration: none;
    border: 1px solid #000;
    border-radius: 3px;
    height: 30px;
    float: left;
    text-align: center;
    padding: 6px 6px 0 6px;
    background-color: #333;
    color: #999;
    margin-right: 5px;

    background-color: #333;
    background-repeat: repeat-x;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#444), to(#333));
    background: -webkit-linear-gradient(top, #444, #333);
    background: -moz-linear-gradient(top, #444, #333);
    background: -ms-linear-gradient(top, #444, #333);
    background: -o-linear-gradient(top, #444, #333);
}

.adminButtons a:hover{
    color: #ffffff;
    background-color: #444;
    background-repeat: repeat-x;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#555), to(#444));
    background: -webkit-linear-gradient(top, #555, #444);
    background: -moz-linear-gradient(top, #555, #444);
    background: -ms-linear-gradient(top, #555, #444);
    background: -o-linear-gradient(top, #555, #444);
}

.partnerLinks{
    float: right;
    background: white;
}

.partnerLinks a{
    display: block;
    float: left;
    margin: 2px 4px;
}

.externalPoetryPin{
    float: right;
    margin: 5px 3em 0 0;
}

.externalPoetryPin a{
    text-decoration: none;
}


@media all and (max-width: 1020px){

    #map_canvas{ 
        width: 90%;
    }

}

@media all and (max-width: 780px){

    #nav{ 
        padding: 0;
        width: 100%;
        clear: left;
    }

    .dockSpaceReserver{
        height: 0;
    }

    #ftr-dock{
        position: relative;
        float: left;
        width: 100%;
        height: auto;
        padding-bottom: 2em;
    }

    .ftr{
        height: auto;
    }

    .externalPoetryPin,
    .partnerLinks{
        float: left;
    }

}

@media all and (max-width: 550px){

    .content{
        padding: 15px;
    }


    #nav{ 
        font-size: 0.85em;
    }

    #nav a{
        width: 18%;
        padding: 4px;
        margin: 0 1%;
        height: auto;
        line-height: 1.2em;
        min-height: 48px;
    }

}
