 /* 28 December 2015 */

body {
	margin: 0;
	background-color: black;
	font-size: 10pt;
}

#container {
/*	width: 320px;*/
	height: 458px;
	background-color: #dcebf4;
	margin:0;
	padding: 0;
	-webkit-perspective: 600;
	-webkit-border-radius: 8px;
}

.reserve {display: none;}

#calendar {
	position: absolute;
	top: 33px;
	height: 382px;
	width: 100%;
	background-color: white;
	overflow-y: hidden;
	}

#pages {
	-webkit-transition-property: -webkit-transform-3d ;
	-webkit-transition-duration: 1s;
	/* anything faster causes blanking on the old ipod */
}

.reading {display: none;}

.month {
	display: table;
	border-collapse:separate;
	empty-cells:show;
	width: 100%;
	height: 354px;
	}

.month-name {
	width: 100%;
	height: 24px;
	font-weight: bold;
	font-size: 18px;
	text-align: center;
	padding: 0;
	margin: 0;
}

.day-names {
	font-weight: bold;
	}

.month > div {display: table-row;}

.month > div > * {
	display: table-cell;
	vertical-align:middle;
	border: 1px inset #B7C3D3;
	background-color: #dcebf4;
	}

.month > div > .empty {
	color: rgb(183, 195, 211);
	}

.day-number {
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	display: block;
}


.month > div.day-names > span {
	background-color:#c5ccd3;
	text-align:center;
	height: 1.5em;
	width: 2em;
	border: none;
	}

#readingdetails {
	-webkit-transition-property: opacity ;
	-webkit-transition-duration: 1s;
	background-color: #dcebf4;
	color: #4c566c;
	position: absolute;
	width: 320px;
	top: 120px;
	left: 20px;
	border: 1px solid black;
	-webkit-border-radius: 8px;
	-webkit-box-shadow: black 6px 6px 6px;
}

.morning {
	border-bottom: 1px gray dashed;	padding-bottom: 8px
}

.fadeout {
	opacity: 0;
	}

#readingdetails > div > .day-number {
	width: 100%;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#b7c3d3), to(#5f7592));
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

/*#
readingdetails > nav {
	text-align: center;
	font-weight: bold;
	padding: 8px 0 0 0;
	margin: 8px 0 0 0;
	background-image: -webkit-gradient(linear, left bottom, left top, from(#b7c3d3), to(#5f7592));
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}
*/

#readingdetails > nav {
	padding: 0;
	margin: 10px 0 0 0;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border-top: 1px inset #B7C3D3;
}

#readingdetails > nav > span {
	text-align: center;
	font-weight: bold;
	display: inline-block;
	width: 100px;
	margin: 10px;
	padding: 6px 3px;
	height: 28px;
	line-height: 28px;
	color: #4c566c;
	font-weight: bold;
	background-color: rgb(203, 222, 233);
	-webkit-border-radius: 6px;
	-webkit-box-shadow: black 0px 2px 2px;
}

#settings > h4 {
	margin: 0.4em 0 0.5em 0;
}

#settings > span {
	display: block;
	background-color: white;
	padding: 0.25em;
	margin: 0.5em;
	-webkit-border-radius: 8px;	
}

#settings > span > dl {
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
	padding: 4px;
}

#settings > a {
	margin: 0.25em 6em;
	}

#settings > nav > span {
	text-align: center;
	font-weight: bold;
/*	display: inline-block;*/
	margin: 0px 10px;
	padding: 12px;
/*	height: 28px;*/
	line-height: 38px;
	color: #4c566c;
	background-color: rgb(203, 222, 233);
	-webkit-border-radius: 6px;
	-webkit-box-shadow: black 0px 2px 2px;
}


.done {
	background-image: url("check.png");
	background-repeat: no-repeat;
	background-position: bottom right;
}

.book {
	padding: 4px 0;
	margin-left: 8px;
	font-size: 18px;
	display: inline-block;
	width: 122px;
}

.chapters {
	list-style-type: none;
	-webkit-padding-start: 0;
	margin: 0 8px 0 0;
	-webkit-border-radius: 8px;
	border: 1px inset rgb(217,217,217);	
	background-color: white;
	}

.highlight {
	border: 3px inset rgb(217,217,217);	
	background-color: rgb(203,207,217);
	margin: -2px 8px -2px -2px;
}

.book > ul {
	-webkit-transition: all 0.5s;
}

.book > ul > li {
	display: inline;
	margin: 0 0 0 0.5em;
	font-size: 18px;
}

/*
header, footer {
	width: 320px;
	display: block;
	}
*/

header {
	height: 32px;
	border-top-left-radius: 8px 8px;
	border-top-right-radius: 8px 8px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#b7c3d3), to(#5f7592));
	}

footer {
	height: 40px;
	border-bottom-left-radius: 8px 8px;
	border-bottom-right-radius: 8px 8px;
	}

header > h3 {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding-top: 4px;
	text-align: center;
	color: white;
}

h4 {
	color: #4C566C;
	text-align: center;
	width: 100%;
	display: block;
	margin: .8em 0;
}

h5 {
	color: #4C566C;
	display: block;
	font-size: 1em;
	font-weight: bold;
	margin: .8em 0 .2em 1em;
}

#main_nav_bar {
  width: 100%;
	position: absolute;
	top: 416px;
}

#main_nav_bar > ol {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#main_nav_bar > ol > li {
	display: inline-block;
	width: 18%;
	text-align: center;
	margin: 6px 5px 0 5px;
	padding: 0 3px;
	height: 32px;
	line-height: 32px;
	color: #4c566c;
	font-weight: bold;
	background-color: rgb(203, 222, 233);
	-webkit-border-radius: 6px;
	-webkit-box-shadow: black 0px 2px 2px;
}

#main_nav_bar > ol > li.pressed {
	background-color: white;
}

/*.welcome {display: none;}*/

.welcome > p, .welcome > dl, .welcome > ul {
	margin: 8px 6px;
	padding: 4px;
	background-color: white;
	-webkit-border-radius: 8px;
}

dt {font-weight: bold;}

#welcome dd,dt {display: inline;}

#welcome dd {-webkit-margin-start: 4px;}

#settings dd,dt {display: inline-block;}

#settings dt {width: 45%;}

#settings dd {
	-webkit-margin-start: 28px;
	-webkit-padding-start: 0;
	width: 45%;
}

.message {
	font-style: italic;
}

#books > h4 {
	margin: 4px 0 0 0;
	border-bottom: 1px solid blue;
	}
	
.books {
	list-style-type: none;
	margin: 0 0 0 5px;
	padding: 0;
	-webkit-column-count: 2;
	-webkit-column-gap: 5px;
	-webkit-column-rule: 1px solid #b7c3d3;
	border-bottom: 1px inset #b7c3d3;
}

.chapter_count {
	display: inline-block;
	float: right;
	margin-right: 4px;
	}

/* real device & emulator do not match at all */
#bible {
	height: 418px;
	overflow: hidden;
}

.books > li {
	font-size: 13.5px;
	margin-left: 4px;
	}
	
.books li:nth-of-type(even) {
	background-color: #DCEBF4;
}

#bible > ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	background-color: white;
}

#bible_navigation {margin-top: 4px;}

#bible_navigation > li {
	display: inline-block;
	width: 46%;
	text-align: center;
	padding: 6px;
	margin: 0;
	height: 18px;
	line-height: 18px;
	color: #4c566c;
	font-weight: bold;
	-webkit-border-top-right-radius: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-box-shadow: #5F7592 0px -4px 4px;
}

#nt {display: none;}

#bible_navigation > li.inactive {
	font-weight: normal;
	background-color: #DCEBF4;
}

.book_checkbox {margin: 0 0.5ex 3px;}
