.icon > img {
  width: 48px;
  height: 48px;
}
.additiona-resources{
    margin-top: 55px;
    margin-bottom: 25px;
}
.impersonating > button{
    font-size: 10px;
    padding: 0;
    background: #ff000070;
    color : white;
}
.impersonating{
    padding: 5px;
    z-index: 150;
    position: fixed;
    top: 0;
    width: 100%;
}

.page-content--course-module {
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.page-content--course-module.scrollable {
  overflow: auto !important;
  -webkit-overflow-scrolling: touch;
}

.course-video {
  left: 0;
}
.page-content__tray{
    z-index: 1;
}
.modal.fade.ng-scope.ng-isolate-scope.in {
  top: 0;
  background: url("_assets/styles/images/bg-pattern.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.course-quiz__answers > li > a{
    display: flex;
    align-items: center;
}

.showLogout{
  display: inline-block ;
}

.header{
  z-index: 111;
}
.expiry-date-2{
  float:right;
}
.expiry-date1{
  float: left;
}

.survey-done{
    margin-right: 10px;
}
.expiry-date{

  font-size: 9px;
  text-align: center;
  margin-top: 11px;

}
.expired{
  color:grey;
  text-decoration: line-through;
}

span.ng-confirm-title {
  color: black;
}

.ng-confirm-content {
  color: #6f6f6f;
  font-size: 0.9em;
}

button.btn.btn-default.btn-delete {
  background-color: #f70202ab !important;
  opacity: 1;
  color: white !important;
}

#pdf-canvas{
    left: 0;
    top: 0;
    margin-left: -77px;
    margin-top: 0;
}
main.page-content.page-content--course-module.scrollable > div > div > div > img {
    max-width: 100%;
}
@media (min-width: 768px) and (max-width: 991px) {
    main.page-content.page-content--course-module.scrollable > div > div > div > img {
        width: auto !important;
        max-width: calc(140vw) !important;
        overflow: scroll !important;
        left: 0;
        top: 0;
        margin-top: 0;
    }
}
@media (max-width: 767px) {
    .container, .container-outer {
         max-width: none !important;
    }
    main.page-content.page-content--course-module.scrollable > div > div > div > img {
        width: auto !important;
        max-width: calc(140vw) !important;
        overflow: scroll !important;
        left: 0;
        top: 0;
        margin-top: 0;
    }
}


.tile__status > label {
    float: right;
    position: absolute;
    right: 13px;
    top: 77px;
}

.tile--course .tile__notify.green {
    background: #14c086;
}

.tile--course .tile__notify.orange {
    background: #FC8232;
}
#pdf-canvas{
    width: 100%;
    margin: 0 auto;
}


/* --- Feedback / quiz textarea scrollbars ------------------------------- */
/* Default browser scrollbars are near-invisible against the white input on
   the navy background, so drivers miss that the box scrolls. */
textarea.course-quiz__input {
    scrollbar-width: thin;                    /* Firefox */
    scrollbar-color: #1578be #e0e2e4;
}

textarea.course-quiz__input::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

textarea.course-quiz__input::-webkit-scrollbar-track {
    background: #e0e2e4;
    border-radius: 6px;
}

textarea.course-quiz__input::-webkit-scrollbar-thumb {
    background: #1578be;
    border-radius: 6px;
    border: 2px solid #e0e2e4;               /* inset so the thumb reads as a pill */
}

textarea.course-quiz__input::-webkit-scrollbar-thumb:hover,
textarea.course-quiz__input::-webkit-scrollbar-thumb:active {
    background: #003F72;
}

@media (max-width: 767px) {
    /* Chunkier and always-on for touch. -webkit-overflow-scrolling: auto swaps
       iOS's fading overlay scrollbar for a classic one that honours the styling
       below; it costs momentum scrolling inside the textarea. */
    textarea.course-quiz__input {
        -webkit-overflow-scrolling: auto;
        scrollbar-width: auto;
    }

    textarea.course-quiz__input::-webkit-scrollbar {
        width: 16px;
        height: 16px;
        -webkit-appearance: none;
    }

    textarea.course-quiz__input::-webkit-scrollbar-thumb {
        background: #1578be;
        border: 3px solid #e0e2e4;
        border-radius: 8px;
        min-height: 40px;
    }
}

/* --- Icon-only links in the main nav (Inbox, Feedback) ------------------ */
/* No text to set the line box, so these need explicit sizing to sit on the
   same baseline as the Courses/Badges/Score text links. */
.course-nav ul li a.nav-icon-link {
    padding: 12px 10px;
    display: inline-flex;
    align-items: center;
}

.course-nav ul li a.nav-icon-link .icon {
    width: 24px;
    height: 24px;
    color: #fff;
    vertical-align: middle;
}

/* Unread count, overlaid on the icon corner. The nav's own `a` is already
   position:relative, so this anchors to the link. */
.course-nav ul li a.nav-icon-link .nav-icon-count {
    position: absolute;
    top: 6px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #ffaa0f;
    color: #003F72;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .course-nav ul li a.nav-icon-link {
        padding: 10px 10px;
    }
    .course-nav ul li a.nav-icon-link .icon {
        width: 26px;
        height: 26px;
    }
}

/* --- Inbox (auto messages) --------------------------------------------- */
/* Built on .module-bar so it inherits the app's card treatment (white, 10px
   radius, the 4px white lip shadow, left-aligned flex row). Only the bits
   specific to a message row live here. */
.inbox-empty {
    color: #fff;
    line-height: 1.6;
}

.inbox-empty span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.module-bar--message {
    margin-top: 10px;
    margin-bottom: 10px;
}

.module-bar--message > a {
    align-items: center;
}

/* .module-bar__text goes display:flex at sm, which would sit the date beside
   the subject. Wrap it the way --achievement does so the date drops below. */
.module-bar--message .module-bar__text {
    flex-wrap: wrap;
}

.module-bar--message .module-bar__title {
    flex-basis: 100%;
}

/* The .orange notify modifier only exists for tiles, not module-bars. */
.module-bar--message .module-bar__notify.orange {
    background: #ffaa0f;
}

.module-bar--message .module-bar__icon .icon {
    color: #1578be;
}

.module-bar--message .module-bar__title {
    font-family: "Arial Black", "Arial", sans-serif;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    font-size: 14px;
    color: #003F72;
}

.module-bar--message .module-bar__time {
    color: #6c6d6d;
}

/* Chevron rotates to point up once the message is open. */
.module-bar--message .module-bar__chevron {
    width: 25px;
    height: 25px;
    color: #1578be;
    transition: transform .25s ease;
}

.module-bar--message.is-open .module-bar__chevron {
    transform: rotate(180deg);
}

/* Read messages sit back a little so unread ones carry the eye. */
.module-bar--message:not(.is-unread) .module-bar__title {
    color: #4d4d4f;
}

.module-bar--message:not(.is-unread) .module-bar__icon .icon {
    color: #bec0c2;
}

/* --- expanded body --- */
.module-bar--message .module-bar__body {
    flex: none;
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e2e4;
    color: #353535;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    word-wrap: break-word;
}

/* Bodies are stored HTML e-mails - neutralise their own alignment and sizing. */
.module-bar--message .module-bar__body [ng-bind-html],
.module-bar--message .module-bar__body [ng-bind-html] * {
    text-align: left !important;
    max-width: 100%;
}

.module-bar--message .module-bar__body p {
    margin: 0 0 12px;
}

.module-bar--message .module-bar__body a {
    color: #1578be;
    text-decoration: underline;
}

.module-bar--message .module-bar__delete {
    margin-top: 5px;
}

/* --- pager --- */
.inbox-pager {
    margin: 25px auto 0;
    text-align: center;
}

.inbox-pager__label {
    display: inline-block;
    min-width: 70px;
    margin: 0 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    vertical-align: middle;
}

@media (min-width: 768px) {
    .module-bar--message .module-bar__title {
        font-size: 20px;
    }

    .module-bar--message .module-bar__chevron {
        width: 30px;
        height: 30px;
    }

    /* .container-outer runs to 1020px / 1340px on desktop, which is far wider
       than messages want to read at. Follow the app's own text-content width
       (.row--article: 640 at sm, 820 at md). */
    .module-bar--message,
    .inbox-pager,
    .inbox-empty {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1024px) {
    .module-bar--message,
    .inbox-pager,
    .inbox-empty {
        max-width: 820px;
    }
}
