.pdf-img-cont {
  position: relative;
  display: inline-block;
}

.pdf-img-cont.loaded {
  border: 1px solid black;
}

.pdf-img-cont.zoom::after {
  content: "";
  display: block;
  width: 33px;
  height: 33px;
  position: absolute;
  top: 0px;
  right: 0px;
  background: transparent url('../pics/zoom_icon.png') repeat scroll 0% 0%;
}

.pdf-img-cont.zoom:hover::after, .pdf-img-cont.zoom.hovered::after{
  background: none;
}

.pdf-text-block {
  font-size: 14px;
  display: inline-block;
}

.press-hidden {
  display: none;
}

.pdf-text-block:hover, .pdf-text-block.hlt, .art-title-cont.hlt {
  background-color: yellow;
}

.no-hlt .pdf-text-block:hover, .no-hlt .pdf-text-block.hlt {
  background-color: transparent;
}

.page-ctrls {
  padding: 0 10px;
  margin-bottom: 2px;
  white-space: nowrap;
}

.page-gallery-btn-cont {
  text-align: right;
  font-size: 12px;
  white-space: nowrap;
  vertical-align: middle;
  padding-right: 10px;
}

.page-gallery-btn-cont .wa-exclusive-selector {
  display: inline;
}

.page-gallery-btn-cont > span {
  margin-right: 10px;
}

.page-metadata-btn-cont {
	text-align: left;
	font-size: 12px;
	white-space: nowrap;
	vertical-align: middle;
	padding-right: 10px;
}

.page-metadata-btn-cont .wa-exclusive-selector {
	display: inline;
}

.page-metadata-btn-cont > span {
	margin-right: 10px;
}

.page-btn.Wt-disabled {
  opacity: 0.2;
}

.page-btn {
  height: 15px;
  vertical-align: middle;
}

.page-num-label {
  margin: 0 5px;
  font-size: 14px;
  vertical-align: middle;
  display: inline-block;
  line-height: 25px;
}

.minimap {
  max-width: 200.0px;
  max-height: 300.0px;
}

.image-external-wrapper
{
    border: 5px solid #ccc;
    width: 500px;
    height: 700px;
    margin: auto;
}

.image-external-cont
{
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.image-external
{
    cursor: move;
    position: absolute;
    cursor: move;
    position: absolute;
}

.minimap-cont {
  position: absolute;
  box-shadow: 0px 0px 15px 2px rgba(156,183,230,1);
  background-color: white;
}

.minimap-cont.hidden {
  display: none;
}

.minimap-track {
  border: 2px solid yellow;
  position: absolute;
}

.pdf-img-hlt {
  background-color: yellow;
  opacity: 0.2;
  position: absolute;
  z-index: 300;
}

.search-hlt {
  background-color: rgb(0, 255, 0);
}

.search-hlt.current {
  background-color: cyan;
}

.label-cell {
  text-align: center;
  font-size: 12px;
  padding-bottom: 10px;
}

.pdf-gallery {
	overflow-x: auto;
	margin-bottom: 10px;
}

.pdf-slide {
  display: inline-block;
  margin: 5px;
}

.pdf-slide:hover, .pdf-slide.active {
  box-shadow: 0px 0px 5px 2px rgba(156,183,230,1);
}

.pdf-slide-cont {
  display: inline-block;
  height: 200px;
  max-width: 200px;
}

.art-slide-cont {
  width: 200px;
  text-align: center;
}

.art-page-cont {
  padding: 0 10px;
  border-bottom: 1px solid lightgray;
  margin-bottom: 5px;
  padding-top: 5px;
}

.art-title-cont {
  font-size: 14px;
  color: #6682bd;
  border-bottom: 1px dotted #6682bd;
  cursor: pointer;
  vertical-align: middle;
}

.art-title-continue {
  font-size: 12px;
  color: gray;
  margin-left: 5px;
}

.art-title-continue .art-title-change-btn {
  text-decoration: underline;
  cursor: pointer;
}

.article-link {
  margin-left: 3px;
}

.article-link > img {
  height: 12px;
  width: 12px;
}

.no-articles-text {
  font-style: italic;
  font-size: 14px;
  color: gray;
  display: block;
  margin-top: 10px;
  margin-left: 10px;
}

.pdf-slide-img-helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.pdf-slide-img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
  cursor: pointer;
  display: inline-block;
}

.pdf-slide-text-cont {
  text-align: center;
  padding-top: 5px;
  font-size: 12px;
  padding: 2px 0;
}

.page-num-edit {
  width: 35px;
  margin-left: 5px;
  height: 25px;
  box-sizing: border-box;
}

.pdf-gallery-btn {
  line-height: 25px;
  font-size: 12px;
  cursor: pointer;
  color: #6682bd;
  height: 25px;
  text-decoration: underline;
}

.pdf-gallery-btn.disabled {
  color: lightgray;
  cursor: auto;
  text-decoration: none;
}

.page-num-text {
  display: inline-block;
  color: #254da2;
  cursor:pointer;
  min-width: 50px;
  border: 1px dotted white;
}

.page-num-text:hover {
  color: #6682bd;
  text-decoration: underline;
  border: 1px dotted lightgray;
}

.art-page-ctrls-cont {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 30px;
}

.art-img-cont-wrapper {
  position: absolute;
  top: 30px;
  left: 0;
  bottom: 0;
  width: 60%;
}

.art-img-cont {
  position: absolute;
  top: 0;
  left: 5px;
  right: 5px;
  bottom: 5px;
  /*text-align: center;*/
  background-color: lightgray;
  overflow: auto;
}

/*
.art-img-cont > div:first-child {
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
}*/

.art-text-cont-wrapper {
  position: absolute;
  top: 30px;
  right: 0;
  bottom: 0;
  width: 40%;
  overflow: auto;
  overflow-x: hidden;
}

.art-text-cont-wrapper > div > input,
.art-text-cont-wrapper textarea {
  width: 95%
}

.art-text-cont-wrapper textarea {
  resize: vertical;
}

.art-text-cont-wrapper > div {
  margin-top: 5px;
}

.art-text-cont-wrapper > div:first-child {
  margin-top: 0;
}

.art-text-cont-wrapper button {
  height: 2em;
}

.art-text-cont-wrapper > div > span, .art-text-page-label {
  font-size: 12px;
  color: gray;
}

.art-text-page-label {
  line-height: 18px;
}

.art-text-edit-btn {
  cursor: pointer;
  margin-left: 20px;
  height: 1em;
  vertical-align: middle;
}

.art-text-cancel-btn {
  cursor: pointer;
  text-decoration: underline;
  font-size: 12px;
  float: right;
  margin-right: 20px;
  line-height: 18px;
}

.art-text-cont > span {
  font-size: 14px;
}

.art-edit-mode-btn {
  background-color: white !important;
}

.press-edit-btn-cont > span {
	margin-left: 10px;
}

.press-edit-btn-cont > span:first-child {
	margin-left: 0;
}

.art-edit-mode-btn.user-btn-cont:hover {
  border: 1px solid white;
}

.art-edit-mode-btn.user-btn-cont.toggled:hover {
  border: 1px solid lightgray;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.art-widget-edit-cont {
  font-size: 12px;
  padding-left: 10px;
}

.art-widget-edit-cont > span, .art-widget-edit-cont > span:hover {
  background-color: transparent;
  border: 0;
}

.art-widget-edit-cont img {
  width: 8px;
  height: 8px;
}

.article-static-hlt {
  display: none;
  border: 1px solid;
}

.article-static-hlt.current {
  background-color: yellow !important;
}

.page-art-mode .article-static-hlt {
  display: block;
}

.text-block-mode.page-art-mode .article-static-hlt.text-block {
	display: block;
}

.article-static-hlt.text-block {
	border: 1px solid black;
	display: none;
}

.article-static-hlt.text-block > div {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.article-static-hlt.text-block > span {
	font-size: 10px;
	background-color: white;
	padding: 3px;
}

.page-preview-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.page-preview-cont {
	background-image: url(/static/pics/loading_spinner_blue.gif);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 20px;
}

.sortable-preview-item {
	float: left;
	width: 200px;
	height: 240px;
	background-color: white;
	position: relative;
}

.sortable-preview-item .preview-item-text-cont {
	text-align: center;
	font-size: 12px;
	height: 20px;
}

.sortable-preview-item .preview-item-text-cont > span {
	line-height: 20px;
}

.sortable-preview-item > .remove-btn {
	position: absolute;
	width: 15px;
	height: 15px;
	top: 5px;
	right: 5px;
	display: none;
	cursor: pointer;
	opacity: 0.8;
}

.sortable-preview-item:hover > .remove-btn {
	display: block;
}

.sortable-preview-item .img-background {
	display: none;
}

.pdf-preview-error {
	font-size: 12px;
	color: #a94442;
}

.zoomHltCont {
	z-index: 10;
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.img-hlt-rect {
	border: 2px solid lightgreen;
}

.img-hlt-rect.current {
	border: 2px solid cyan;
}


.press-in-proc {
	font-size: 14px;
	margin-top: 8px;
}

.press-in-proc > img {
	margin-right: 5px;
	vertical-align: middle;
	height: 14px;
	opacity: 0.8
}

.press-in-proc > span {
	vertical-align: middle;
}

.press-search-res-ctrls {
	background-color: white;
	position: fixed;
        top: 70px;
	right: 5px;
	padding: 8px;
	padding-right: 0;
	border: 1px solid lightgray;
	z-index: 1000;
	font-size: 14px;
}

.press-search-res-ctrls .page-btn {
	height: 30px;
	cursor: pointer;
}

.press-search-res-ctrls .page-btn:hover {
	background-color: whitesmoke;
}

.press-search-res-ctrls .page-num-label {
	margin: 2px;
}

.dont-show-cb {
	font-size: 12.0px;
	float: left !important;
	line-height: 30px;
}

.art-block-editor {
	position: relative;
	background-color: white;
	border: 1px solid white;
}

.art-block-editor:hover {
	border: 1px solid lightgray;
}

.art-block-editor.current {
	background-color: yellow;
}

.art-block-editor.edit-mode {
	border: 1px solid lightgray;
	margin: 8px 0;
	margin-right: 2px;
	min-height: 22px;
}

.art-block-editor .btn-cont {
	height: 19px;
	display: none;
	float: right;
	border-left: 1px solid lightgray;
	border-bottom: 1px solid lightgray;
	opacity: 0.2;
	overflow: hidden;
}

.art-block-editor.edit-mode .btn-cont {
	display: block;
}

.art-block-editor.edit-mode:first-child .btn-cont > .up-btn,
.art-block-editor.edit-mode:last-child .btn-cont > .down-btn {
	cursor: auto;
	opacity: 0.2;
}

.art-block-editor.edit-mode > .merge-btn {
	display: block;
	position: absolute;
	z-index: 1;
	width: 20px;
	height: 20px;
	left: 50%;
	margin-left: -8px;
	bottom: 0;
	margin-bottom: -15px;
	background-color: white;
	cursor: pointer;
	opacity: 0.2;
}

.art-block-editor > .merge-btn,
.art-block-editor.edit-mode:last-child > .merge-btn {
	display: none;
}

.art-block-editor.edit-mode:hover .btn-cont,
.art-block-editor.edit-mode:hover > .merge-btn {
	opacity: 1;
}

.art-block-editor .btn-cont > img {
	width: 15px;
	height: 15px;
	margin: 2px 5px;
	cursor: pointer;
}

.art-block-editor.edit-mode textarea {
	border: none;
	outline: none;
	width: 100%;
	box-sizing: border-box;
}

.art-block-editor .num-label {
	display: inline-block;
	margin: 2px 5px;
	vertical-align: top;
	font-size: 14px;
	font-weight: bold;
	cursor: text;
}

.text-block-hlt {
	border: 1px solid gray;
	/*background-color: rgba(255,255,0,0.2);*/
	z-index: 500;
	/*pointer-events: none;*/
	text-align: center;
	white-space: nowrap;
}

.text-block-hlt:hover,
.text-block-hlt.current {
	border: 1px solid red;
	background-color: rgba(255,255,0,0.5);
}

.text-block-hlt:hover {
	z-index: 501;
}

.text-block-hlt > div:first-child {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.text-block-hlt > input {
	vertical-align: middle;
	padding: 2px 1px;
	background-color: white;
	border: 1px solid lightgray;
	font-size: 10px;
	width: 2em;
	text-align: center;
}

.art-img-cont .select-areas-resize-handler {
	z-index: 600 !important;
}

.text-block-hlt:hover .arrow-cont,
.text-block-hlt:hover .edit-btn,
.text-block-hlt:hover .remove-btn {
	display: inline-block;
}

.text-block-hlt .arrow-cont,
.text-block-hlt .edit-btn,
.text-block-hlt .remove-btn {
	display: none;
	vertical-align: middle;
	margin-left: 4px;
	background-color: white;
}

.text-block-hlt .arrow-cont .up,
.text-block-hlt .arrow-cont .down,
.text-block-hlt .edit-btn,
.text-block-hlt .remove-btn {
	width: 12px;
	height: 12px;
	background-size: 12px 12px;
	cursor: pointer;
}

.text-block-hlt .arrow-cont .up {
	background-image: url(../pics/arrow_up.png);
}

.text-block-hlt .arrow-cont .down {
	background-image: url(../pics/arrow_down.png);
}

.text-block-hlt.first-block .arrow-cont .up,
.text-block-hlt.last-block .arrow-cont .down {
	opacity: 0.5;
	cursor: default;
}

.text-block-hlt .remove-btn {
	background-image: url(../pics/remove-icon-red.png);
}

.text-block-hlt .edit-btn {
	background-image: url(../pics/edit_icon.png);
}

.art-block-editor .num-label .input-append input {
	width: 2em;
	text-align: center;
	border: none;
}

.block-text-edit {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

.possible-articles-label
{
    cursor : pointer;
    font-size: 12px;
    color: gray;
}

.possible-article-record
{

}

.possible-article-record-toggled
{

}

.possible-article-record .possible-articles-label:after {
    content: " \f106";
    font-family: FontAwesome;
}

.possible-article-record-advanced .possible-articles-label:after {
    content: " \f107";
    font-family: FontAwesome;
}

.possible-articles-link
{
    cursor : pointer;
}

.possible-articles-page-label
{
    font-size : 12px;
}

.possible-articles-checkbox
{
content: "\f096";
color: #454ca9;
position: relative;
top: 2px;
font-family: FontAwesome;
margin-right: 2px;
display: inline-block;
font-size: 1.2em;
width: 1em;
vertical-align: middle;
}

.possible-articles-checkbox-opaque
{
    opacity : 1;
}

.external-article-cont
{
    height : 730px;
    overflow-y : auto;
}

.article-page-edit-record
{

}

.article-page-edit-record-toggled
{

}

.art-text-page-label {
        cursor: pointer;
}

.article-page-edit-record .art-text-page-label:after {
    content: " \f106";
    font-family: FontAwesome;
  }

.article-page-edit-record-toggled .art-text-page-label:after {
    content: " \f107";
    font-family: FontAwesome;
  }


