﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-family: 'OpenSansLight';
    src: url("fonts/OpenSansLight.ttf") format('truetype');
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.loading {
    text-align: center;
    margin-top: 100px;
    color: #ccc;
}

.loading-ring {
    display: inline-block;
    width: 64px;
    height: 64px;
}

    .loading-ring:after {
        content: " ";
        display: block;
        width: 46px;
        height: 46px;
        margin: 1px;
        border-radius: 50%;
        border: 5px solid #ccc;
        border-color: #ccc transparent #ccc transparent;
        animation: loading-ring 1.2s linear infinite;
    }

@keyframes loading-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.topRightCorner {
    position: absolute;
    right: 1rem;
    top: 0rem;
    color: white;
    cursor: pointer;
    z-index: 11;
}

.topRightCorner .btn {
    padding: 0.3rem;
    line-height: 1;
    font-size: 0.8rem;
}

.cookieConsent {
    position: relative;
}

.highlightCookiePolicy {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding-top: 10rem;
    padding-bottom: 10rem;
    background-color: #fff;
    z-index: 9;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.05);
}

.rowOptions div {
    display: inline-block;
    text-align: center;
}

.dotSize {
    font-size: 0.3rem;
}

.tempDisabledOption {
    color: #bbb !important;
    cursor: not-allowed !important;
}

.areaRow:hover .dotSize, .showOnFocus {
    display: none;
}

.grouped-certificate-history {
    background-color: #ECECFF;
}

#groupedCertificates .card {
    background-color: #ECECFF !important;
    border: 1px solid #aaa;
}



#groupedCertificates .btn {
    color: #000 !important;
}

.defaultCursor {
    cursor: default !important;
}

.areaRow:hover .showOnFocus, .dotSize {
    display: inline-block;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.inlineColVertAlTop {
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 99%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    letter-spacing: 1px;
    background-color: #f8f9fa;
    font-family: 'OpenSansLight' !important;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}


.buttonStyle {
    background-repeat: no-repeat;
    opacity: 1;
    display: inline-block;
    height: 90px;
    width: 90px;
    background-size: contain;
    background-position-x: center;
    background-position-y: center
}

.iShadow {
    box-shadow: 0px 0.25rem 0.75rem rgba(0,0,0,0.05);
}

.iShadow-2 {
    -webkit-box-shadow: 0 .25rem .125rem 0 rgba(0,0,0,0.05);
    box-shadow: 0px 0.25rem 0.12rem 0px rgba(0,0,0,0.05);
}

.iShadow-3 {
    box-shadow: 0px 0.2rem 0.4rem rgba(0,0,0,0.12), 0px 0.2rem 0.4rem rgba(0,0,0,0.16);
}

.b--white {
    border-color: white;
}

.ba {
    border-style: solid;
    border-width: 1px;
}

.nav-item svg {
    color: #ea1b0a !important;
}

.br25 {
    border-radius: .25rem;
}

.pointer {
    cursor: pointer;
}

.hidden {
    display: none;
}

.brandedForeground {
    color: #ea1b0a;
    background-color: white;
}

.brandedColor {
    color: #ea1b0a;
}

input[type='checkbox'] {
    
    background-color: initial;
}

/* --- Site Specific --- */

.list-group .fa-times {
    position: absolute;
    right: 0.3rem;
    top: 0.3rem;
    color: white;
    cursor: pointer;
}

#NavSaveExit {
    width: 5rem;
    position: absolute;
    left: 0px;
    right: 0px;
    z-index: 1;
}

#NavNext, #NavPrev {
    z-index: 9;
}

.trainingModuleNavItem {
    cursor: pointer;
    font-size: 1.5rem;
}

.disableNavOption {
    cursor: default;
    opacity: 0;
}

.card-body {
    padding: 0.4rem 0.4rem 0.1rem 0.4rem !important;
}

#SiteSelection .card-body {
    padding: 0.5rem !important;
}

/*- Populate List from dropdown ts componenet -*/
.areaRow {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    background-color: #f8f9fa;
    padding-top: 1.5rem !important;
}

.rowOptions {
    position: absolute;
    top: 0rem;
    right: 0.5rem;
    text-align: right;
}

.selectedRow {
    border-color: #17a2b8 !important;
}

/* Populate Question Choices */

.questionChoiceRow {
    padding-left: 4rem !important;
    cursor: pointer;
}

    .questionChoiceRow:hover {
        background-color: #66d9e8;
        color: white;
        border-color: #5cc4d1;
    }

.questionChoiceRow:hover svg, .selectedChoice svg {
    color: #fff !important;
}

.selectedChoice {
    background-color: #22b8cf;
    color: #fff;
    border-color: #0e899c;
}

.correctAnswer svg {
    color: #5e9955;
}

.incorrectAnswer svg {
    color: #bd231e;
}

.questionChoiceRow svg {
    width: 1rem;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0.75rem;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 2.5rem !important;
    color: #aaa;
}

.list-group-item {
    background-color: #e7eaed;
    cursor: default;
}

.reqStatusIndicatorRow {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    color: #000;
    padding-left: 3rem !important;
    text-align: left;
    display: inline-block;
}

#PersonnelDashboard .reqStatusIndicatorRow, #TrainingModuleResults .reqStatusIndicatorRow {
    margin-bottom: 0.5rem;
    border: 1px solid #aaa;
    background-color: #fff;
    cursor: pointer;
}

#CertificateStatusArea .reqStatusIndicatorRow {
    padding-right: 3rem!important;
}

#ViewInvitePage .list-group, #EditInvitePage .list-group {
    padding-bottom: 0.4rem;
    list-style-type: none;
}

.reqStatusIndicator {
    width: 2.5rem;
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
}

.currentStatusIndicator {
    width: 2.5rem;
    position: absolute;
    right: 0px;
    top: 0px;
    bottom: 0px;
}

.furtherInfoRow {
    font-size: 0.9rem;
    margin-top: 0.3rem;
    color: #aaa;
}

.reqStatusIndicator svg, .currentStatusIndicator svg {
    width: 1rem;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
    font-size: 1.5rem !important;
}

.playVideoBlock {
    font-size: 2rem;
    color: white;
    background-color: #000;
    text-align: center;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    cursor: pointer;
    z-index: 9;
}

.playVideoText {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 2rem;
}

.videoOuter {
    position: relative;
}

/* -- Site Selection -- */

#SiteSelection a {
    text-decoration: none !important;
}

.siteRow {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    color: #000 !important;
    padding-left: 6rem !important;
    text-align: left;
    display: inline-block;
    margin-bottom: 0.5rem;
    border: 1px solid #9ab7bb;
    background-color: #fff;
    cursor: pointer;
    font-size: 1.7rem;
}

    .siteRow:hover {
        font-weight: bolder;
        box-shadow: 0px 0.3rem 0.5rem rgba(0,0,0,0.14), 0px 0.3rem 0.5rem rgba(0,0,0,0.18);
        border-color: #36bfd2;
        text-decoration: none !important;
    }


.sitesIcon {
    width: 5rem;
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    
}

    .sitesIcon svg {
        width: 2rem;
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        margin: auto;
        font-size: 2rem !important;
    }

/* --- Bootstrap overrides --- */
.card-body {
    background-color: #f5f5f5;
}

.navbar-nav .dropdown-menu {
    min-width: 15rem;
}

.control-label {
    font-weight: 700;
}

.checkboxRight {
    float: right;
    width: 2rem;
    margin-left: 1rem;
    margin-top: 0.2rem;
}

.bg-primary {
    background-color: #00b7ec !important;
}

.bg-dark-danger {
    background-color: #771b15;
}
/*#region OverwritingOnMobileStyles*/
/*Extra small devices (portrait phones, less than 576px)
        No media query for `xs` since this is the default in Bootstrap*/
.card-header h3 {
    font-size: 1.4rem;
}

    /* Small devices (landscape phones, 576px and up)*/
    @media (min-width: 576px) {
        .card-header h3 {
            font-size: 1.75rem;
        }
    }
/*#endregion OverwritingOnMobileStyles*/