/* Dragula CSS */
.gu-mirror {
  position: fixed !important;
  margin: 0 !important;
  z-index: 9999 !important;
  opacity: 0.8;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
}
.gu-hide {
  display: none !important;
}
.gu-unselectable {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}
.gu-transit {
  opacity: 0.2;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
  filter: alpha(opacity=20);
}


/* Example CSS */
html, body {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

/* dragula-specific example page styles */
/*
 * note that styling gu-mirror directly is a bad practice because it's too generic.
 * you're better off giving the draggable elements a unique class and styling that directly!
 */
.container .item,
.gu-mirror {
  transition: opacity 0.4s ease-in-out;
}
.container > details {
  cursor: move;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
.gu-mirror {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}
.container .ex-moved {
  background-color: #e74c3c;
}
.container.ex-over {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Layout */
.parent {
    margin: 0.5rem 0;
    padding: 1rem;
    width: fit-content;
}

.wrapper {
	display: flex;
}

#item-read {
    margin: 0.4rem;
	min-height: 30rem;
	min-width: 50rem;
	padding: 0.4rem;
	resize: both;
	overflow: auto;
	width: 50rem;
}

#item-list {
	height: 50rem;
  margin: 0.2rem;
	min-height: 30rem;
	min-width: 20rem;
	max-width: 86rem;
	overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
	padding: 0.4rem;
}

#item-list .item { margin: 0.2rem 0; }

#item-read .item { position: relative; }

/* Colors (KGLT logo red: #a21d20) */
.parent {
    background-color: #970407;
    color: #fff;
}

.container {
	background-color: rgba(255, 255, 255, 0.2);
}
#item-list {
	background-color: rgba(0, 0, 0, 0.2);
}

#item-read .item {
    background-color: #fff;
    color: #212121;
}

#item-read .item-head,
#item-read .item-data {
	background-color: #e9e9e9;
	color: #4b4a4a;
}

#item-list .item-data,
.item-nums {
    background-color: #524249;
    color: #efefef;
}

#item-read a {
    background-color: #f5f5dc;
}

#item-list a {
    background-color: ##a52a2a;
}

/* Fonts */
#item-list .item {
	cursor: grab;
 }

 #item-list .item-head {
	font-size: 1.2rem;
 }

.item-org {
 	font-style: italic;
 	font-weight: 300;
}

.item-title {
 	font-weight: 600;
}
.item-length {
    font-size: 0.9rem;
}

.item-data {
	font-size: 0.85rem;
	margin: 0.2rem 0;
}

.item-nums {
	font-size: 1.3rem;
	font-weight: 200;
	padding: 0 0.2rem;
	white-space: nowrap;
}

#item-list .item-msg {
    font-size: 1rem;
    margin: 0.25rem 0;
    height: 2rem;
    max-width: 50rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#item-list .item-orig {
	color: #999;
	cursor: no-drop;
}

#item-read .item {
	cursor: move;
	font-size: 2rem;
	margin-bottom: 1rem;
}

#item-read .item-head {
	font-size: 1.8rem;
  min-height: 4rem;
}

#item-read .item-msg {
	font-size: 2rem;
	line-height: 1.5;
	margin: 1rem 0;
}

#item-howto.item {
  cursor: help;
}

/* Inputs and buttons */
.txt-range {
	max-width: 40rem;
	margin: 1rem 0 }

#txt-slider {
	margin-top: 1rem;
	width: 30rem;
}

.item-log {
  cursor: pointer;
  margin-left: 0.5rem;
  padding: 0.2rem 0.5rem;
  position: absolute;
  right: 0;
  bottom: 0;
}

.item-log,
.item-log-howto {
  background-color: #232323;
  color: #fff;
  font-size: 1.2rem;
  text-transform: uppercase;
}

input.item-check {
	background-color: #efefef;
	margin: 0 0.5rem;
  padding-left: 0.3rem;
	transform: scale(1.6);
}

.item-check:checked {
	border: none;
	outline: 2px solid #ccc;
	padding: 0;
	transform: scale(0.9);
}

#item-read .item-logged .item-head,
#item-read .item-logged .item-msg,
#item-read .item-logged .item-data {
	color: #666;
	font-size: 0.9rem !important;
}

#item-read .item-remove {
  cursor: pointer;
	float: right;
	margin-left: 0.2rem;
	padding: 0.05rem 0.5rem;
}

.sort-button {
  font-size: 1.4rem;
  margin-left: 1rem;
  padding: 0.5rem;
  width: 10rem;
}

.sort-button[aria-sort="descending"] span::after {
  content: "▼";
  /*color: currentcolor;*/
  color: #970407;
  font-size: 100%;
  top: 0;
}

.sort-button[aria-sort="ascending"] span::after {
  content: "▲";
  color: #970407;
  font-size: 100%;
  top: 0;
}

 #item-list .read-today {
  color: #999;
}

/* A11y */
.sr-only {
  position: absolute;
  top: -30em;
}

input.psa-check {
  background-color: #efefef;
  margin: 0 1rem 0 0.25rem;
  transform: scale(1.5);
}

.psa-check:checked {
  border: none;
  outline: 2px solid #ccc;
  padding: 0;
}

.psa-sel {
    font-size: 1.2rem;
    margin-left: 1rem;
    padding: 0.4rem;
}

#psa-sel-place { margin-right: 1rem; }

.psa-hide { display: none; }

/*
.sort-button:focus,
.sort-button:hover {
  padding: 2px;
  border: 2px solid currentcolor;
  background-color: #e5f4ff;
}

.sort-button:focus span,
.sort-button:hover span {
  right: 2px;
}

.item-sorts:not([aria-sort]) .sort-button:focus span::after,
.item-sorts:not([aria-sort]) .sort-button:hover span::after {
  content: "▼";
  color: currentcolor;
  font-size: 100%;
  top: 0;
}
 */
