/* Cardbox Study Styles
--------------------------------------------------------------------------------
   Copyright 2010 Unbound Medicine, Inc.
-------------------------------------------------------------------------------- */

div.ui-dialog.flashcard-dialog {
  padding: 0;
  z-index: 6000;
}
div.ui-dialog.flashcard-dialog.ui-corner-all {
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border: 1px solid #5D695D;
}
/* title bar */
div.ui-dialog.flashcard-dialog div.ui-dialog-titlebar.ui-widget-header {
  padding: 0;
  color: #000000;
  background-color: #999999;
  height: 25px;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}

div.ui-dialog.flashcard-dialog .ui-dialog-title {
  margin: 4px 0 0 4px;
  text-indent: 5px;
  font-family: verdana;
  font-size: 11px;
}

div.ui-dialog.flashcard-dialog .ui-dialog-content {
  padding: 0;
}

/* ORANGE edit */
div.ui-dialog.flashcard-dialog-edit {
  padding: 0;
  border: 1px solid #DB5312;
}
div.ui-dialog.flashcard-dialog-edit.ui-corner-all {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
/* orange edit title bar */
div.ui-dialog.flashcard-dialog-edit div.ui-dialog-titlebar.ui-widget-header {
  border-radius-top-right: 8px;
  border-radius-top-left: 8px;
  -webkit-border-radius-top-left: 8px;
  -webkit-border-radius-top-right: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  padding: 0;
  color: #ffffff;
  background-color: #DB5312;
  height: 25px;
}

/* blue edit title bar */
div.ui-dialog.flashcard-dialog-edit-blue div.ui-dialog-titlebar.ui-widget-header {
  border-radius-top-right: 8px;
  border-radius-top-left: 8px;
  -webkit-border-radius-top-left: 8px;
  -webkit-border-radius-top-right: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  padding: 0;
  color: #ffffff;
  background-color: #003465;
  height: 25px;
}




div.ui-dialog.flashcard-dialog-edit .ui-dialog-titlebar .ui-dialog-titlebar-close,
div.ui-dialog.flashcard-dialog-edit .ui-dialog-titlebar .ui-dialog-titlebar-close
{
  display: none;
}

div.ui-dialog.flashcard-dialog-edit .ui-dialog-title,
div.ui-dialog.flashcard-dialog-edit-blue .ui-dialog-title 
{
  margin: 0 0 0 4px;
  text-indent: 5px;
  font-family: verdana;
  font-size: 11px;
  line-height: 25px;
}

div.ui-dialog.flashcard-dialog-edit .ui-dialog-content,
div.ui-dialog.flashcard-dialog-edit-blue .ui-dialog-content 
{
  padding: 0;
}

.flashcard-dialog-edit .ui-dialog-titlebar-close 
{
    display: none;
}
div#flashcard {
	position: relative;
	height: 459px;
	/*width: 348px;*/
	width:100%;
	margin: 0 auto;
	padding: 0;
	background-color: #fff;
}

div#flashcard div#flashcard-control {
  position: relative;
  height: 83px;
  width: 100%;
  border-top: 1px solid #666666;
}
div#flashcard-progress {
  position: absolute;
  left: 0px;
/*  was left:-1px; but caused the bottom of the card to be misaglined*/
  width: 100%;
  bottom: 0;
  height: 28px;
  background-color: #003465;
  text-align: right;
  font-size: 10px;
  line-height: 28px;
  color: #FFFFFF;
  font-family: verdana;
}

div#flashcard-progress.edit-mode {
  background-color: #fff;
}
div#flashcard-progress.edit-mode-blue {
  background-color: #003465;
}

span#progress-number {
  float:left;
  margin-left: 8px;
}

div#flashcard div#question, div#flashcard div#answer {
	font-size: 14px;
	height: 376px;
	width: 100%;
	overflow-y: auto;
	text-align: left;
	padding: 0;
}

div#flashcard div#answer {
	display: none;
}

div#flashcard div#question {
  font-size: 22px;
  font-family: arial;
  text-align: center;
  line-height: 25px;
  padding: 0;
/*  display: table-cell;
  vertical-align: middle;*/
}

div#flashcard div#question table {
  height: 376px;
  width: 100%;
  border-collapse: collapse;
  -webkit-border-horizontal-spacing: 0px;
  -webkit-border-vertical-spacing: 0px;
}
div#flashcard div#question table td {
  vertical-align: middle;
  font-size: 22px;
  font-family: arial;
  text-align: center;
  line-height: 25px;
  padding: 0 20px;
}

div#answerHeader {
  font-family: helvetica;
  font-size: 12px;
  height: 30px;
  width: 315px;
  margin: 10px;  
}
div#answerHeader img#catImage {
  float: left;
}
div#answerHeader p {
  float: left;
  margin: 0 0 0 5px;
}

div#answerText {
  margin: 0 0 0 10px;
  width: 315px;
  font-family: arial;
  font-size: 15px;
  line-height: 17px;
}

div#answerTextShort {
  margin: 0 0 0 10px;
  width: 335px;
  height: 199px;
  font-family: arial;
  font-size: 15px;
  line-height: 17px;
  overflow-y: auto;
}

#answerTextShort ul, #answerTextShort ol, #answerText ul, #answerText ol {
  display: block;
  margin-left: 20px;
  padding: 0;
  text-indent: 0;
}

#answerText ol, #answerTextShort ol {
  list-style-type: decimal;
}

#answerText ol.lower-alpha, #answerTextShort ol.lower-alpha {
  list-style-type:lower-alpha;
}

#answerText ul ul, #answerTextShort ul ul {
  display: block;
  margin: 0;
  padding: 0;
  text-indent: 0;
}

#answerText ul ul ul, #answerTextShort ul ul ul {
  display: block;
  margin: 0;
  padding: 0;
  text-indent: 0;
}

#answerText ul li, #answerTextShort ul li {
  list-style-type: disc;
  padding: 2px;
  font-size: 12px;
  line-height: 1.3em;
}

#answerText ol li, #answerTextShort ol li {
  padding: 2px;
  font-size: 100%;
}

#answerText table, #answerTextShort table  {
  border-collapse: collapse;
  margin: 8px 0 8px 0;
  max-width: 100%;
}

#answerText td, #answerTextShort td  {
  border: 1px solid #666;
  padding: 4px;
  vertical-align: top;
}


div.pageHeading {
  border-bottom: 1px solid #4682B4;
  color:#4682B4;
  font-weight: bold;
  font-size: 16px;
  line-height: 22px;
  margin: 15px 0 10px 0;
  padding: 0;
}

div#answerNotes {
  border-top: 1px solid #eaeaea;
  background-image: url(../images/note.png);
  background-repeat: no-repeat;
  background-position: 6px 4px;
  margin: 5px 0 0 0;
  height: 121px;
  width: 100%;
  color: #000;
  font-family: arial;
  font-size: 14px;
  line-height: 16px;
}
h3#notes-header {
  font-family: arial;
  margin: 0;
  padding: 0 0 0 5px;
  font-size: 14px;
  line-height: 14px;
  color: #000;
  margin-top: -17px;
  height: 20px;
  width: 100px;
}
p#answerNotesWrapper {
  margin: 12px 0 5px 15px;
  width: 312px;
  overflow-y: auto;
}

div#answerNotes textarea {
  background: transparent;
  border: none;
  height: 94px;
  margin: 12px 0 5px 15px;
  width: 312px;
  color: #000;
  font-family: arial;
  font-size: 14px;
  line-height: 16px;
}

a#save {
  position: absolute;
  width: 100px;
  top: 3px;
  right: 3px;
}

a#cancel {
  position: absolute;
  width: 100px;
  top: 3px;
  left: 3px;
}

a#reset { 
  margin-top: 50px;
  position: absolute;
  width: 125px;
  right: 42px;
}

a#reset-cancel { 
  margin-top: 50px;
  position: absolute;
  width: 125px;
  left: 42px;
}

a#edit {
  position: absolute;
  width: 100px;
  top: 3px;
  right: 3px;
}

a.answerLink {
  position: absolute;
  display: block;
  height: 44px;
  width: 50px;
  background-repeat: no-repeat;
  background-position: center center;
}

a.answerLink#knew {
	top: 6px;
	right: 8px;
	background-image: url(../images/YES.png);
}

a.answerLink#flip {
	top: 6px;
	left: 150px;
	background-image: url(../images/FLIP.png);
}

a.answerLink#didntknow {
  top: 6px;
	left: 8px;
	background-image: url(../images/NO.png);
	display: none;
}

a.answerLink#reset {
	bottom: 10px;
	left: 20px;
	cursor: pointer;
}

a.edit-mode-link {
  background-repeat: no-repeat;
  color: #666;
  cursor: pointer;
  display: block;
  font-size: 10px;
  height: 24px;
  width: 24px;
  margin: 0;
  position: absolute;
  right: 0;
  top: 0;
}
a.edit-mode-link.study-mode {
  background-image: url(../images/edit-inactive.png);
}
a.edit-mode-link.edit-mode {
  background-image: url(../images/edit-active.png);
}
textarea.edit-question {
  border: none;
  font-size: 22px;
  font-family: arial;
  line-height: 25px;
  height: 130px;
  width: 299px;
  text-align: center;
}

div#flashcard-grayout {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 99;
	display: none;
	background-color: black;
	filter: alpha(opacity=40);
	opacity: 0.8;
}
div#flashcard-grayout-level2 {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 99;
	display: none;
	background-color: black;
	filter: alpha(opacity =     40);
	opacity: 0.8;
}

div#aTitle h3,div#qTitle h3 {
	top: 0px;
	color: #003465;
	text-align: center;
}

