@import 'https://an.evaluationkit.com/canvas/css';

iframe.tool_launch {
  min-height: auto;
}

/* Widen the global navigation (default is 84px but causes text wrapping if a scroll bar is present) */
body.primary-nav-expanded .ic-app-header {
  width: 100px;
}

/*********************************************************************************/
/* Canvas Styling Override */

.item-group-container {
  background-color: #ffffff !important;
}

.replies {
  padding-left: 7px;
  border-left: solid #ebb318 16px;
}

.discussion-read-state-btn {
  top: 32px;
}

div.entry-content {
  padding-left: 0px !important;
}

iframe.tool_launch {
  min-height: auto;
}

/* ==========================================================================
   Sticky Announcement Banner
   ========================================================================== */

#canvas-sticky-banner {
  position: fixed;
  top: 0;
  left: 84px;               /* Matches collapsed Canvas global nav */
  right: 0;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 60px 0 20px;

  background: #005A9C;
  color: #ffffff;

  font-size: 15px;
  font-weight: 600;
  text-align: center;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 999999;

  transition: left 0.2s ease;
}

/* Account for your expanded 100px navigation */
body.primary-nav-expanded #canvas-sticky-banner {
  left: 100px;
}

#canvas-sticky-banner a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

#canvas-sticky-banner button {
  position: absolute;
  right: 16px;

  background: transparent;
  border: none;

  color: #ffffff;
  font-size: 22px;
  line-height: 1;

  cursor: pointer;
}

#canvas-sticky-banner button:hover {
  opacity: 0.8;
}

/* Push the page below the banner */
body.canvas-banner-visible #application {
  padding-top: 50px;
}

/* Mobile */
@media (max-width: 768px) {

  #canvas-sticky-banner {
    left: 0;
    right: 0;
    height: auto;
    min-height: 50px;

    padding: 12px 45px 12px 12px;

    font-size: 14px;
    line-height: 1.4;
  }

  body.canvas-banner-visible #application {
    padding-top: 70px;
  }

}