@media print {
  .d-print-none {
    display: none !important;
  }
  html {
    display: none !important;
  }
  .pagebreak { page-break-before: always; } /* page-break-after works, as well */
  .accordionAnswers { display: none; }
}

/* Prevent Drag&Drop */
*, *::after, *::before {
	-webkit-user-drag: none;
	-webkit-app-region: no-drag;
}

.badge-primary {
  background-color: #1266f1;
}

.badge-danger {
  background-color: #F00;
}

.badge-success {
  background-color: #20c997;
}

.bg-light-blue {
  background-color: #4f8df5;
}

.bg-dark-blue {
  background-color: #0c51c4;
}

.btn {
  cursor: pointer !important;
}

@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1300px;
  }
}

#context-menu {
  min-width: 7.5rem !important;
}

.stats-title {
  font-size: 12px;
  color: #656565;
}

canvas, img {
  image-rendering: optimizeQuality;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
}

#pageContent {
  -moz-transform-origin: center top;
  -o-transform-origin: center top;
}

#pageComments {
  background: white;
}

.active {
  font-weight: bold;
}

.loading {
  color: #ffd366;
  display: block;
  position: absolute;
  font-size: 32px;
  animation-name: spin;
  animation-duration: 1500ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes spin {
  from {
    transform:rotate(0deg);
  }
  to {
    transform:rotate(360deg);
  }
}

.img-canvas {
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

canvas {
  cursor: url(../img/pencil-cursor.png), default;
}

.marker-remove {
  color: #fff;
  font-size: 10px;
}

.marker-remove i {
  color: #dc3545;
  font-size: 10px;
}

.separator {
  color: #dadada;
  display: flex;
  align-items: center;
  text-align: center;
}
.separator::before, .separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #dadada;
}
.separator::before {
  margin-right: .25em;
}
.separator::after {
  margin-left: .25em;
}

.btn-context {
  color: #565656;
}

.comment {
  border-bottom: 1px solid #dadada;
}

.commentQuote {
  font-size: 12px;
  font-weight: bolder;
}

.commentTextQuote {
  text-shadow:
  -3px 0px 3px #ffd366,
  3px 0px 3px #ffd366,
  6px 0px 6px #ffd366,
  -6px 0px 6px #ffd366;
}

.commentTextQuoteTemp {
  text-shadow:
  -3px 0px 3px #fff2d3,
  3px 0px 3px #fff2d3,
  6px 0px 6px #fff2d3,
  -6px 0px 6px #fff2d3;
}

.commentTextMarker {
  text-shadow:
  -3px 0px 3px yellow,
  3px 0px 3px yellow,
  6px 0px 6px yellow,
  -6px 0px 6px yellow;
}

#quoteInfo {
  font-weight: bolder;
  display: none;
  padding-bottom: 15px;
}

.quoteRef {
  color: #fff;
  font-size:10px;
  font-weight: bold;
}

.quoteRef i {
  color: #2196f3;
}

.comment_marker i {
  opacity: 0.5;
  cursor: pointer;
}

.comment_marker i:hover {
  opacity: 0.95;
}

#commentBtn {
  font-size: 22px;
  cursor: pointer;
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 100;
}

#newCommentPos {
  opacity: 0.75;
  cursor: pointer;
  margin-left: -10px;
  margin-top: -10px;
  display: none;
  position: fixed;
}

#commentBox {
  display: none;
  padding-top: 3px;
  margin-left: -150px;
  width: 300px;
}

#pageComments {
  border-right: 1px solid #AAA;
  display: none;
}

.text-dark {
  color: #555;
}

.text-gray {
  color: #AAA;
}

.small-text {
  font-size: 10px;
}

.comment-remove {
  margin-top: 0px;
  padding-top: 0px;
}

.comment-remove i {
  cursor: pointer;
  color: #F00;
}

.col-lg-4, .col-md-4 {
  transition: all 200ms ease;
}

.col-lg-8, .col-md-8 {
  transition: all 200ms ease;
}

/*.col-lg-12, .col-md-12, .col-sm-12 {
transition: all 200ms ease;
}*/

@media only screen and (max-width: 750px) {
  .page-title {
    font-size: 15px !important;
  }
}

@media only screen and (max-width: 630px) {
  .page-title {
    font-size: 13px !important;
  }
}

@media only screen and (max-width: 530px) {
  .page-title {
    font-size: 12px !important;
  }
}

.sub-navbar {
  border: 1px solid #efefef;
}

.sub-navbar {
  -webkit-box-shadow:none;
  box-shadow: none;
}

.nav-spacer {
  border-right: 1px solid #efefef;
  width: 2px;
  height: 100%;
}

.nav-item .btn {
  -webkit-box-shadow:none;
  box-shadow: none;
}

.login-card {
  border: 0px solid transparent !important;
  -webkit-box-shadow:none;
  box-shadow: none;
}

.login-card .card-header {
  border-bottom: 0px solid transparent !important;
}

.question-card .card-header {
  border-bottom: 0px solid transparent !important;
}

.question-card .card-footer {
  border-top: 0px solid transparent !important;
}

body { padding-bottom: 70px; }

.card {
  border: 1px solid #efefef;
}

.card-link {
  font-size: 0.75rem;
  color: #f00;
}

.card-title {
  font-size: 0.95rem;
  font-weight: bold;
}

.card-link:hover {
  color: #a00;
}

.card-text {
  font-size: 0.75rem;
  color: #999;
}
