/* general styles for onlinequiettime.net */
body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	width: 100%;	/* width and height 100 should make it fill the viewport, and no more */
	height: 100%;
	margin: 0;
	padding: 0;
	overflow:hidden;
}

/* curved divs to fit inside each other */
.passage-div-inner {
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

.passage-info, .passage-footer{
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.passage-info-header {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

/* divs */
/* header */
#header {
	height: 82px;
	background: #ffffbf;
	margin: 5px;	
}
#header img {
	height: 100%;
	margin: 0 10px;
}
/* menu stuff */
#headerMenu {
	position: absolute;
	top: 5px;
	right: 10px;
	height: 82px;
}
#headerMenu img {
	cursor: pointer;
	height: 100%;
}
#headerMenuArrow {
	position: absolute;
	z-index: 1000;
	top: -20px;
	right: 0px;
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #99cbff;
}
#menu {
	position: absolute;
	z-index: 1000;
	top: 82px;
	right: 9px;
	margin: 9px 0;
	padding: 0;
	
}
#menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	background: #d7ebff;
	border: 1px solid #99cbff;
}
.menu-item {
	font-weight: bold;
	white-space: nowrap;
	font-family: Arial, Helvetica, sans-serif;
	/*font-size: 130%;*/
	padding: 0px 20px;
	border-top: 1px solid white;
}
.menu-item.mouse-over {
	background: #ffffbf;
	cursor: pointer;
}
.menu-item.deactivated {
	color:#c0c0c0;
}
.menu-item.deactivated.mouse-over {
	
}
/* info panel */
#info {
	overflow: auto;
	/*padding: 10px;*/
	z-index: 100;
	position: absolute;
	top: 83px;
	bottom: 0;
	left: 0;
	overflow: auto;
	background: white;
	height: 100%;
	width: 100%;
}
#info-inner {
	/* have to have an inner, because width of outer at 100% messes up padding */
	padding: 10px;
}
#front-make-account, #front-show-bible {
	font-size:120%;
	font-weight: bold;
	color: blue;
	cursor: pointer;
}
/* bible passage holders */
#p-holder {
	/* has to fill the remaining space below the header */
	position: absolute;
	top: 83px;	/* header initially 82px */
	bottom: 0;
	width: 100%;
	overflow-x: auto;	
	overflow-y: hidden;
	background-color: white;
	z-index: 0;
}
.passages {
	width: 2000px;	/* wider than the screen, maybe - this will be changed by javascript */
	height: 100%;
	overflow: hidden;
}
.passage-div {
	/* these float as relative positioned 100% height, but have an inner div that is absolutely positioned... */
	width: 280px;
	position: relative;
	float: left;
	height: 100%;
	margin: 0px 5px;
	overflow: hidden;
	
}
.passage-div-inner {
    position: absolute;
    top: 0;
    bottom: 5px;
    left: 0;
    width: 274px;
    border: 3px solid #c0c0c0;
}
.passage-holder {
	position: absolute;
	top: 20px; /* this height needs to match the info panel */
	bottom: 20px; 
	left: 0;
	overflow: auto;
	font-size: 100%;
	width: 100%;
}
/* make passage-holder h2 headings invisible */
.passage-holder h2 {
	display:none;
}

.passage-holder p {
	margin: 0;
	padding: 10px 5px 0 5px;
	text-align: justify;
}
.passage-holder p.br-replace {
	padding: 0px 5px;
}
.passage-holder h3 {
	margin: 0;
	padding: 10px 5px 0 5px;
}
.passage-holder h4 {
	margin: 0;
	padding: 10px 5px 0 5px;
}
.passage-holder p.line-group {
	padding: 2px 0 0 0;
}

.passage-holder p.same-paragraph {
	padding: 2px 0 0 0;
}
.passage-holder .not-in-section {
	background-color: #d7d7d7;
}
.passage-holder span.line {
	display: inline-block;
	width: 100%;
}

.passage-holder .block-indent p{
	padding-left: 20px;
	padding-right: 20px;	
}

.passage-holder p.mouse-over,
.passage-holder span.mouse-over,
.passage-holder h3.mouse-over {
	background-color: #ffffbf;
}

.passage-holder p.not-in-section.mouse-over, .passage-holder p.br-replace.not-in-section.mouse-over{
	background-color: #dcdda2 !important;
}
.passage-holder p.mark-as-next, .passage-holder span.mark-as-next {
	/* a highlight class for when marking a passage */
	background-color: #ffff00 !important;
}
.passage-footer-holder {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%
}
.passage-footer {
	text-align: center;
	border: 1px solid blue;
	padding: 2px;
	font-size: 80%;
	background: white;
}
/* styling for the ESV text */
.chapter-num, .verse-num, .passage-start {
	font-size: 80%;
	color: green;
}
.chapter-num, .passage-start {
	font-size: 130%;
	font-weight: bold;
}
.footnote a{
	font-size: 70%;
	color: red;
	text-decoration:none;
}

/* passage info styling */
.passage-info {
	border: 1px solid blue;
	padding: 5px;
	font-size: 80%;
}
.passage-info h1 {
	margin: 0;
	font-size: 130%;
	color: #b9b8c9;
}
.passage-info-header {
	/* the heading and draggable bar */
	width: 100%;
	background-color: #b9b8c9;
	color: #534594;
	font-weight: bold;
	text-align: center;
	font-size: 150%;
	cursor:move;
}
.passage-info-body {
	position: relative;
	z-index: 200;
	background: white;
}
.edit-button, .delete-button {
	font-size: 10px;
	float:right;
}
.mark-passage {
	margin-top: 3px;
	color: blue;
	cursor: pointer;
}
.mark-passage.mouse-over {
	background-color: #ffffbf;
}
.small-button {
	font-size: 80%;
	border: 1px solid;
	padding: 0px 2px;
	border-color: #c0c0c0 #808080 #808080 #c0c0c0;
	background-color: #ffc;
}
/* utility dialog elements */
#util-dialog {
	position: absolute;
	top: 0;
	left: 0;
	z-index:1001;
	background: white;
	border: 2px solid black;
	padding: 10px;
}
#util-dialog-mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index:1000;
	background: white;
}
#util-dialog h1 {
	margin: -4px -4px 5px -4px;
	font-size: 120%;
	background: #534594;
	color: white;
	padding: 2px 7px;
}
#dialog-h1 {
	cursor: move;
}
.small-info {
	font-size: 80%;
}
.small-info.mouse-over {
	background-color: #ffffbf;
}
/* panel properties */
.panel-div {
	position: absolute;
	top: 0px;
	left: 0px;
	background: white;
	border: 2px solid black;
	/*padding: 10px;*/	
	overflow: hidden;
}
.panel-header {
	margin: 0 0 4px 0;
	font-size: 120%;
	font-weight: bold;
	background: #534594;
	color: white;
	padding: 2px 7px;
	cursor: move;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
}
.panel-body {
	margin: 5px;
	/*overflow-x: hidden;
	overflow-y: scroll;*/
}
.panel-buttons {
	text-align: right;
	padding: 0 4px 4px 4px;
}
.panel-button-x {
	float: right;
	cursor: pointer;
}
/* loading div */
#loading_div {
	position:absolute;
	top: -1000px;
	left: -1000px;
	display: none;
}

/* size buttons */
input[type=button], input[type=submit] {
	font-size: 80% !important;
	margin-left: 3px;
	margin-right: 3px;
}

/* history panel */
#history-text {
	overflow: auto;
	font-size: 90%;
}
.history legend {
	font-size: 70%;
	font-weight: bold;
}
.history select {
	font-size: 100%;    
 }
#history-text h1 {
	font-size: 100%;
}
.history-date-block {
	display: block;
	margin-bottom: 5px;
}
.history-passage {
	display: block;
	margin-left: 10px;
}
@media print {
	.noPrint {
		display: none;
	}
}
