html{
	font-family:Arial, sans-serif;
	font-size:16px;
}

html,body{
	margin:0;
	padding:0;
}

main{
	max-width:600px;
	margin:0 auto;
	padding:20px;
}
footer{
    border-top:1px solid #dddddd;
    text-align:center;
    padding-top:20px;
    margin-top:40px;
}
footer a{
    text-decoration:none;
    color:#555555;
}

h1.title, h2.other{
	font-family: 'Slabo 27px', serif;
}

h1.title{
    margin:0px;
}

h1.front-title{
    margin:0;
    color: #6f5146;
    text-shadow: 1px 1px 0 #0f0706;
}

h2.other{
    text-align:center;
	font-style:italic;
}

.poem-meta{
    text-align:center;
    border-bottom:1px solid #dddddd;
    padding:10px 0;
    font-family: 'Slabo 27px', serif;
    font-weight: 700;
}

.poem-meta a{
    color:#5a5a5a;
}

.main_presentation{
    overflow:hidden;
    border-bottom:1px solid #dddddd;
    padding-bottom: 20px;
}

.main_presentation>p{
    font-family: 'PT Serif', serif;
    font-size: 24px;
    margin:0;
}

img.book_image{
    float:left;
    width:100px;
    margin-right:20px;
}
@media screen and (max-width: 767px) {
    img.book_image{
        display:none;
    }
}

section.poem{
	font-family: 'PT Serif', serif;
	font-size:24px;
}

section.poem img{
    float:left;
}

section.refresh{
	text-align:center;
	margin:20px 0;
}

section.book_list{
    margin:20px 0 20px 0;
    overflow:hidden;
    border-radius:4px;

}

section.book_list .book_cover a{
    display:block;
    padding:8px 15px;
    text-decoration:none;
    border:1px solid #dddddd;
    margin-bottom: -1px;
}
section.book_list .book_cover a:last-child{
    margin-bottom:0;
}
section.book_list .book_cover a:hover{
    background-color:#f5f5f5;
}
section.book_list .book_cover a:hover .book_title{
    color:#555555;
}
section.book_list .book_cover a:hover .book_author{
    color:#777777;
}
section.book_list .book_cover img{
    display:block;
    width:100%;
}
section.book_list .book_cover .book_title{
    color:#5a5a5a;
    font-weight: 700;
}
section.book_list .book_cover .book_author{
    color:#7a7a7a;
    font-size:14px;
    display:block;
    padding-top:2px;
}

#refreshButton{
	display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    font-size: 24px;
    line-height: 1.3333333;
    border-radius: 6px;
    padding:6px 20px;
    font-family: 'Slabo 27px', serif;
    text-decoration:none;
}

#refreshButton:hover{
	color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

section.haiku .line{
	line-height:1.4;
	margin-bottom:15px;
}

select{
	display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

#page_not_found {
    text-align: center;
	font-family: 'Slabo 27px', serif;
}
#page_not_found h2.title.other {
	font-style: italic;
}