.highlighted {
	cursor: pointer;
}

.highlighterMenu {
    display: none;
    position:absolute;
	z-index:300;
	width:auto;
	min-width: 280px;
	font-size: 16px;
}

.highlighterMenuContent {
}
.textareaContainer.empty {
	display:none;
}

.color-picker-container {
	width:100%;
	border-bottom: 1px solid #ddd;
}

.color-picker {
	height: 20px;
	width: 20px;
	display: inline-block;
	cursor:pointer;
	padding:1px;
	margin:2px;
	border: 1px solid;
	border-radius: 13px;
	margin-right:10px;
	border-color: rgb(177, 177, 177);
}

.removeContainer {
	padding:10px 0;
	border-bottom: 1px solid #ddd;
}

.highlightContainer, .notesContainer {
	margin:10px;
}

.textareaContainer textarea {
	height: 100%;
	min-height:100px;
	padding: 5px;
	font-family: Sans-serif;
	font-size: 1.2em;
	width: 95%;
}

.scribbled-list-container {
	display:none;
    top: 26px;
    right: 30px;
    position: absolute;
    background-color: #ffffff;
    border: 1px solid rgb(189, 189, 189);
    min-width: 275px;
    margin: 0px;
    max-height: 685px;
    z-index: 301;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, .1);
}
.scribbled-list-container  .allNotesLink {
	margin: 10px 10px;
	display: inline-block;
}

.scribbled-list-container .scribbledItem {
	cursor: pointer;	
}

.scribbled-list-container ul {
    width: 600px;
    margin: 11px 0px 0px 0px;
    padding: 0px 20px 0px 10px;
}

.scribbled-list-container ul li {
	list-style: none;
	color: #777;
	margin: 0;
	padding: 0px 0px 5px 0px;
	font-size: 1.1em;
	line-height: 1.4em;
	width: auto;
	margin-bottom: 10px;
	padding-left: 5px;
}

.scribbled-list-container ul li .highlightedText {
	font-style: italic;
}

#scribbledDoc.disabled {
	display: block;
	color: #aaa;
}
#scribbledList .userNotes{
	margin-top:10px;	
}

.highlighted.transparent {
	background-color: rgba(0, 0, 0, 0);
    color: rgba(0, 0, 0, 0.3);
}

#selectionTools {
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
}
#selectionTools ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
#selectionTools ul.menu{
	white-space: nowrap;
}

#selectionTools .hasMessage{
	border: 1px solid #B50000;
}


#selectionTools ul.menu .delete {
  padding-left: 5px;
}

#tempGroupId #selectionTools ul.menu .delete {
	-moz-opacity: 0.30;
	opacity:.30;
	filter: alpha(opacity=30);
	cursor:pointer;
}

#tempGroupId #selectionTools ul.menu .delete a:hover{
	color:rgb(104, 104, 104);
}
#selectionTools ul.menu .delete a {
	padding-left: 5px;
}
#selectionTools ul.menu a span:first-child {
  display: none;
}
#tempGroupId #selectionTools ul.menu a span.color {
  display: none;
}
#selectionTools ul.menu a span.color{
  display: inline-block;
}
#selectionTools ul.menu a span.yellow {
  background-color: #faf100;
  display: inline-block;
}
#selectionTools ul.menu a span.green {
  background-color: #88d302;
  display: inline-block;
}
#selectionTools ul.menu a span.blue {
  background-color: #6ecef3;
  display: inline-block;
}
#selectionTools ul.menu a span.purple {
  background-color: #d0a9fe;
  display: inline-block;
}
#selectionTools ul.menu a span.red {
  background-color: #ffa6b3;
  display: inline-block;
}
#selectionTools ul.menu a span.orange {
  background-color: #febc51;
  display: inline-block;
}
#selectionTools {
  background-color: #efefef;
  min-width: 200px;
  display: inline-block;
  border-radius: 3px;
}

#selectionTools a:hover{
	text-decoration:none;
	color:#000;
}
#selectionTools .highlight-message{
	padding: 14px;
	color: #000;
	font-weight: bold;
}
	
#selectionTools ul.tools  li,
#selectionTools ul.menu  li{
	margin-left: 0px;
}
	
#selectionTools ul.menu .highlight-menu {
  display: inline-block;
}

#selectionTools ul.menu .highlight-menu.hide {
  display: none;
}

#selectionTools ul.menu li.highlight .color {
  border-radius: 20px;
  padding: 6px;
  vertical-align: -1px;
  margin-right: 5px;
}
#selectionTools ul.menu li:last-child a:after {
  border: none;
}
#selectionTools ul.menu li a {
  padding: 10px 15px;
  display: block;
  cursor: pointer;
  color: rgb(104, 104, 104);
  position: relative;
  text-decoration:none;
}
#selectionTools ul.menu li a:after {
  border-right: 1px dotted #777;
  position: absolute;
  right: 0px;
  top: 8px;
  height: 20px;
  display: block;
  content: "";
}
#selectionTools ul.menu li a:hover {
  color: #000;
}
#selectionTools .tools .highlightTool {
  display: none;
}
#selectionTools .tools .highlightTool.active {
  display: block;
}
#selectionTools .tools .highlightTool .colors {
  background-color: #fff;
  text-align: center;
  padding: 5px 0px;
}
#selectionTools .tools .highlightTool .colors li {
  display: inline-block;
  margin-right: 9px;
}

#selectionTools .tools .highlightTool .colors li:last-child {
	  margin-right: 0px;
}

#selectionTools .tools .notepad {
	display: none;
}
#selectionTools .tools .notepad.active {
	display: block;
}

.highlighted[data-type='annotation'],
.highlighted[data-type='clip']{
	pointer-events: none;
	cursor: not-allowed;
}

.text-tool-button {
	cursor: pointer;
	pointer-events: auto;
	outline: none;
	border: 0;
}

.text-tool-button:disabled {
	cursor: not-allowed;
	opacity: 0.8;
}

#selectionTools .tools .highlightTool .colors a {
  display: block;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 10px;
}

#selectionTools .tools .noteTool .notepad,
#selectionTools .tools .citeTool .citeText {
  display: none;
  text-align: center;
  margin-bottom: 15px;
}

#selectionTools .tools .noteTool .notepad.active,
#selectionTools .tools .citeTool .citeText.active {
  display: block;
}

#selectionTools .tools .noteTool .notepad li,
#selectionTools .tools .citeTool .citeText li {
  display: inline-block;
}

#selectionTools .tools .noteTool .notepad li.textarea,
#selectionTools .tools .citeTool .citeText li.citedHighlightContainer,
#selectionTools .tools .noteTool .notepad li.button-done {
  display: block;
}

#selectionTools .tools .citeTool .citeText li.citedHighlightContainer {
	max-width: 270px;
	text-align: left;
	padding: 5px 15px;
	word-wrap: break-word;
}

#selectionTools .tools .noteTool .notepad .textarea,
#selectionTools .tools .citeTool .citeText .citedHighlightContainer {
  margin: 0px 0px 10px 0px;
}

#selectionTools .tools .noteTool .notepad .textarea textarea {
  width: 91%;
  border: none;
  padding: 10px 10px 5px;
  color:#333;
  font-family: "Open Sans", sans-serif;
}

#selectionTools .tools .citeTool .citeText .citedHighlightContainer span {
  width: 91%;
  border: none;
  font-family: "Open Sans", sans-serif;
}

#selectionTools .tools .noteTool .notepad .button-done a {
  display: inline-block;
  border: 1px solid #ccc;
  padding: 5px 40px;
  border-radius: 3px;
  cursor: pointer;
  color:#333;
}

#selectionTools .tools .noteTool .notepad .button-done a:hover {
  background-color: #fff;
}

#selectionTools .tools .noteTool .notepadMessage {
  display: none;
  text-align: center;
  margin-bottom: 15px;
}

#selectionTools .tools .noteTool .notepadMessage.active {
  display: block;
}

#selectionTools .tools .noteTool .notepadMessage li {
  display: inline-block;
}

#selectionTools .tools .noteTool .notepadMessage li.message,
#selectionTools .tools .noteTool .notepadMessage li.message span {
  display: block;
}

#selectionTools .tools .noteTool .notepadMessage .message {
  background-color: #fff;
  padding: 30px 10px;
  margin-bottom: 15px;
  margin-left: 0;
  font-size:12px;
}

#selectionTools .tools .noteTool .notepadMessage .message span:first-child {
  font-size: 18px;
  margin-bottom: 5px;
}

#selectionTools .tools .noteTool .notepadMessage .button-cancel a,
#selectionTools .tools .noteTool .notepadMessage .button-delete a {
  display: inline-block;
  border: 1px solid #ccc;
  padding: 5px 30px;
  border-radius: 3px;
  cursor: pointer;
  	color:#333;
}

#selectionTools .tools .noteTool .notepadMessage .button-cancel a:hover,
#selectionTools .tools .noteTool .notepadMessage .button-delete a:hover {
  background-color: #fff;
}

#selectionTools .tools  .noteTool {
	margin : 0;
}

#selectionTools .button-cancel {
	margin-right: 5px;
}
.bold{
	font-weight:bold;
	margin-right: 3px;
}

span.tempSelection {
	background-color: gray;
}

.scribbledItems .notes{
	display: block;
}

.scribbledItems .notesEdit{
	display: none;
}

.scribbledItems .notesEditSave,.notesEditCancel{
	font-size: .75em;
	cursor: pointer;
	border: 1px solid black;
	border-radius: 3px;
	background-color: #eee;
	padding: 2px !important;
	float: right !important;
}

.scribbledItems .notesEditText{
	width: 100%;
	height: 75%;
	resize: none;
}

.scribbledItems .notesAddEdit{
	color: #aaa;
	font-style: italic;
	font-size: 1em;
	cursor: pointer;
}

.citedHighlightContainer .divider{
	clear: both;
	padding-bottom: 10px;
}
.citedHighlightContainer .cited-header{
	display:block;
	font-size:16px;
	border-radius: 2px;
	box-sizing: border-box;
	padding: 1px 5px 1px 0px;
}
.citedHighlightContainer .toggleSnipetLink{
	text-align:right;
}
.citedHighlightContainer  .shortCitation {
	padding-bottom: 10px;
	display:none;
}
.citedHighlightContainer .cited-toggle{
	display:none;
	width:100% !important;
}
.citedHighlightContainer .cited-header,
.citedHighlightContainer .toggleSnipetLink{
	float:left;
	width:49.99% !important;
}

.citedHighlightContainer input[type=checkbox]{
	position:absolute;
	left:-9999px;
}
.citedHighlightContainer .toggleSnipetLink{
		display:block;
		cursor:pointer;
}
.citedHighlightContainer label.toggleSnipetLink:hover{
	color:#333;
}
.citedHighlightContainer label.toggleSnipetLink span.hide{
	display:inline-block;
}
.citedHighlightContainer label.toggleSnipetLink span.show{
	display:none;
}
.citedHighlightContainer label.toggleSnipetLink span.show,
.citedHighlightContainer label.toggleSnipetLink span.hide{
	width:auto !important;
	background: #fff;
	border-radius: 2px;
	box-sizing: border-box;
	padding: 1px 5px;

}
	
.citedHighlightContainer input[type=checkbox]:checked ~ span.cited-toggle,
.citedHighlightContainer input[type=checkbox]:checked ~  .shortCitation{
	display:inline-block;
}

.citedHighlightContainer input[type=checkbox]:checked + label.toggleSnipetLink span.hide{
	display:none;
}
.citedHighlightContainer input[type=checkbox]:checked + label.toggleSnipetLink span.show{
	display:inline-block; 
}

.delete-highlight {
    height: 20px;
    width: 20px;
    display: inline-block;
    vertical-align: top;
    margin: 2px 0;
}

.delete-highlight-button {
    outline: none;
    border: none;
    font-size: 16px;
	background: transparent;
	cursor:pointer;
}

.defineTool {
	display: none;
}
.defineTool.active {
	display: block;
}
.dictionary-container {
	background: #eee;
	border: 1px solid #ddd;
	padding: 10px 0 0 10px;
	border-radius: 2px;
	width: 400px;
}
.dictionary-container__input {
	font-size: 20px;
	width: 320px;
	margin-right: -15px;
	margin-bottom: 5px;
	padding-right: 30px;
}
.dictionary-container__submit {
	position: relative;
	left: -22px;
	border: none;
	font-size: 20px;
	height: 24px;
	width: 30px;
	border-radius: 3px;
	background: transparent;
}
.dictionary-container__submit::before {
	content: "\f002";
	font-family: "Font Awesome 5 Pro", sans-serif;
}
.dictionary-container__definition {
	max-height: 300px;
	overflow-y: scroll;
	font-size: 14px;
}
.dictionary-container__definition .iterator, .dictionary-container__definition #message {
	display: none;
}
.dictionary-container__definition .message {
	font-size: 13px;
}
@supports (-webkit-overflow-scrolling: touch) {
	.dictionary-container__submit {
		float: right;
		top: 9px;
		left: -32px;
		position: relative;
	}
}