@font-face {
    font-family: SecuritasPro;
    src: url(/css/public/fonts/SecuritasPro-Regular.woff2);
}
@font-face {
    font-family: SecuritasPro;
    src: url(/css/public/fonts/SecuritasPro-Bold.woff2);
    font-weight: bold;
}
html {
    font-family: 'SecuritasPro';
    font-size: 14px;
}

body {
    font-family: 'SecuritasPro';
}

/* Status icons */
.status-icons-list {
    display: block;
    margin: 0;
    padding: 0;
}

/* More z index class for select2's */
.morez {
    z-index: 999999999;
}

.status-icons-list i {
    background: #CCC;
    border-radius: 25px;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 30px;
    margin: 2px;
    color: white;
}

/* Font sizes */
.card-header > h1 {
    font-size: 2.0rem;
    margin-top: 0.3rem;
}

.card-header > h2 {
    font-size: 1.5rem;
    margin-top: 0.3rem;
}

.card-header > h3 {
    font-size: 1rem;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}



.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

/** Side and top bar **/
.sec-header-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sec-header-container > div {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

.sec-header-container .end {
    display: flex;
    align-items: center;
}

.sec-breadcrumbs {
    background-color: var(--sec-navy-blue-lighter);
    color: whitesmoke;
}

.sec-breadcrumbs a {
    color: whitesmoke;
}

.sec-breadcrumbs .breadcrumb-item {
    color: whitesmoke;
}

.sec-breadcrumbs .breadcrumb-item::before {
    color: whitesmoke;
}

.sec-sidebar-container {
    background-color: var(--sec-navy-blue-lighter);
    color: var(--sec-light);
    width: 280px;
}

.sec-sidebar-container ul {
    overflow-x: hidden;
}

.sec-sidebar a {
    color: var(--sec-light);
    text-decoration: none;
}

.sec-sidebar a{
    margin-left: 2px;
}
.sec-sidebar a > i.fa {
    width: 35px;
}

.sec-sidebar button > i.fa {
    width: 35px;
    text-align: left;
}

.sec-sidebar button {
    color: var(--sec-light);
}

.sec-sidebar {
    background-color: var(--sec-navy-blue-lighter);
    padding-top: 5px;
    margin-top: -5px;
    overflow: hidden;
    width: 100%;
}

.sec-sidebar .btn.btn-toggle {
    margin-left: 0px;
    padding: 0px;
}

.sec-sidebar .btn.btn-toggle {
    margin-left: 0px;
    padding-left: 0px;
}

.sec-sidebar ul {
    min-width: 280px;
}
.sec-sidebar .nav-parent ul li a {
    margin-left: 3rem;
}
.sec-sidebar ul li a {
    width: 100%;
    padding: 1rem;
    display: block;
}
.sec-sidebar ul li.nav-parent button.btn-toggle {
    padding: 1rem;
}
.sec-sidebar .nav-parent {
    position: relative;
}
.sec-sidebar .nav-parent button::after {

  /* Set the font for this icon style */
  font-family: 'Font Awesome 6 Free';
  /* Set the weight for this icon style */
  font-weight: 900;
  /* Make sure icons render pixel-perfect */
  -webkit-font-smoothing: antialiased;
  /* Set the Unicode value for the "fa-ghost" icon */
  content: '\f0d7';
  position: absolute;
  right: 15px;
  top: 15px;
}
.sec-sidebar .nav-parent button.collapsed::after {

  /* Set the font for this icon style */
  font-family: 'Font Awesome 6 Free';
  /* Set the weight for this icon style */
  font-weight: 900;
  /* Make sure icons render pixel-perfect */
  -webkit-font-smoothing: antialiased;
  /* Set the Unicode value for the "fa-ghost" icon */
  content: '\f0d8';
  position: absolute;
  right: 15px;
  top: 15px;
}

.sec-sidebar ul li:hover {
    background-color: var(--sec-navy-blue);
}

.sec-sidebar-top {
    height: 50px;
}

.sec-sidebar-top .menu-toggle{
    color: whitesmoke;
    margin: 0.6rem;
    float: right;
    background-color: var(--sec-navy-blue);
}

#content {
    background-color: var(--sec-navy-blue-lighter);
    width: 100%;
}

#content > .page {
    background-color: whitesmoke;
}

.navbar-nav a.nav-link {
    font-size: 16px;
    margin-left: -2px;
    font-weight: 500;
}

/*Hiding menu on desktop */
@media (min-width: 768px) {
    html.sidebar-left-collapsed {

        .sec-sidebar-container {
            width: 50px;
            position: relative;
        }


        .sec-sidebar {
            width: 100%;
        }

        .contact-info {
            display: none;
        }

        .sec-sidebar:hover {

            width: 280px;
            position: absolute;
            margin-top: 45px;
            padding-top: 10px;
            top: 0;
            bottom: 0;
            z-index: 20;

            /* .sec-sidebar {
                width: 100%;
            } */

            .contact-info {
                display: block;
            }

            .sec-breadcrumbs {
                padding-left: 50px;
            }

            .content-container  {
                margin-left: 50px;
            }
        }
    }
}

.menu-toggle-mobile {
    display: none;
}

.username-mobile {
    display:none;
}

/* Small round buttons */
.btn-sec-round {
    width: 35px;
    height: 35px;
    padding: 2px;
    background-color: white;
    color: rgb(107, 107, 107);
    border-radius: 25px;
    font-size: 15px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
    margin-left: 0.25em;
    margin-right: 0.25em;
}

.btn-sec-round:hover {
    background-color: var(--sec-light);
}

.btn.btn-purple {
    /* Set button color variables */
    --bd-main-color: var(--sec-purple);
    --bd-main-color-dark: var(--sec-purple);
    --bd-text-color: white;


    --bs-btn-color: var(--bd-text-color);
    --bs-btn-bg: var(--bd-main-color);
    --bs-btn-border-color: var(--bd-main-color);
    --bs-btn-hover-color: var(--bd-text-color);
    --bs-btn-hover-bg: var(--bd-main-color-dark);
    --bs-btn-hover-border-color: var(--bd-main-color-dark);
    --bs-btn-focus-shadow-rgb: 74, 74, 74;
    --bs-btn-active-color: white;
    --bs-btn-active-bg: var(--bd-main-color-dark);
    --bs-btn-active-border-color: var(--bd-main-color-dark);
}

.btn.btn-pink {
    /* Set button color variables */
    --bd-main-color: #FF69B4;
    --bd-main-color-dark: #f53394;
    --bd-text-color: white;


    --bs-btn-color: var(--bd-text-color);
    --bs-btn-bg: var(--bd-main-color);
    --bs-btn-border-color: var(--bd-main-color);
    --bs-btn-hover-color: var(--bd-text-color);
    --bs-btn-hover-bg: var(--bd-main-color-dark);
    --bs-btn-hover-border-color: var(--bd-main-color-dark);
    --bs-btn-focus-shadow-rgb: 74, 74, 74;
    --bs-btn-active-color: white;
    --bs-btn-active-bg: var(--bd-main-color-dark);
    --bs-btn-active-border-color: var(--bd-main-color-dark);
}

ul.dropdown-menu {
    overflow: hidden;
}
ul > .list-title {
    background-color: var(--sec-purple);
    color: whitesmoke;
    padding: 1em;
    margin-top: -10px;
}

/* Scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 0;
    right: 0;
    height: 50px;
    width: 50px;
    border-radius: 25px;
    background-color: var(--sec-navy-blue-lighter);
    margin: 2em;
    margin-bottom: 6em;
    z-index: 999;
    color: whitesmoke;
}
.scroll-to-top i{
    padding: 1.25rem;
}

.events-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
    font-weight: 600;
    font-size: 14px;
}

.content-container {
    min-height: 100vh;
    margin-bottom: 60px;
    padding: 1.5rem;
    padding-bottom: 100px;
}
.text-sec-red {
    color: var(--sec-red);
}

.bg-sec-red {
    background-color: var(--sec-red);
    color: white;
}

.bg-sec-purple {
    background-color: var(--sec-purple);
    color: white;
}

.border-sec-purple {
  --bs-border-opacity: 1;
  border-color: var(--sec-purple) !important;
}

.bg-sec-navy-blue-lighter {
    background-color: var(--sec-navy-blue-lighter);
    color: var(--sec-light);
}

.sec-nav-tabs .nav-link {
    color:var(--sec-purple)
}
.sec-nav-tabs .nav-link.active {
    color:black;
    border-top: 3px solid var(--sec-purple)
}

.card.tabbed-sec-card {
    border-radius: 0px 0px 0.25em 0.25em;
    border-top: 0px;
}

label .required {
    color: var(--sec-red)
}

.fixed-bar {
    background-color: var(--sec-navy-blue-lighter);
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    margin-top: 1em;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 20;
    padding: 1.5em;
}

/* Fix single select2's being shorter than multiples */
.select2-container .select2-selection--single {
    height: 32px;
}

/*
Messaging
*/
.messaging-menu {
    padding-left: 1em;
    padding-right: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    background-color: var(--sec-navy-blue-lighter);
    border-top: 1px solid var(--sec-navy-blue);
    border-left: 1px solid var(--sec-navy-blue);
    position:sticky;
    top:0;
    z-index: 20;
}
.messaging-menu a {
    color:white;
    text-decoration: none;
    padding: 0.5em;
}
.messaging-menu button {
    color:white;
    text-decoration: none;
    padding: 0.5em;
}
.messaging-menu a:hover {
    color:var(--sec-light);
}
.messaging-menu button:hover {
    color:var(--sec-light);
}

.mailbox-email-header {
    background-color: white;
    border-bottom: 1px solid var(--sec-light)
}

.help-inline {
    color: red !important;
}

/* Overwrite excessive z-index from confirm */
.jconfirm {
    z-index:30;
}

.required {
    color: red !important;
}

/* Risk assessment */
.risk-assessment-very-high {
background-color:red !important;
 font-weight:550 !important;
}

.risk-assessment-significant {
background-color:orange !important;
 font-weight:550 !important;
}

.risk-assessment-moderate {
  background-color:yellow !important;
  height:60px;
  font-weight:550 !important;
}

.risk-assessment-minor {
  background-color:lightgreen !important;
   font-weight:550 !important;
}

.risk-assessment-negligible {
  background-color:green !important;
   font-weight:550 !important;
}

#riskMatrix>tbody>tr>td, #riskMatrix>tbody>tr>th, #riskMatrix>tfoot>tr>td, #riskMatrix>tfoot>tr>th, #riskMatrix>thead>tr>td, #riskMatrix>thead>tr>th {
  vertical-align:middle;
  text-align:center;
  font-weight:550;
}

.work_areas_alert {
    border-color: var(--sec-purple);
}
.work_areas_alert .btn-primary {
    border-color: var(--sec-purple);
    background-color: var(--sec-purple);
}
.work_areas_alert .btn-warning {
    border-color: var(--sec-mid-red);
    background-color: var(--sec-mid-red);
}
.work_areas_alert .btn-warning:hover {
    border-color: var(--sec-dark-red);
    background-color: var(--sec-dark-red);
}

.sec-navbar-dark {
    background-color: var(--sec-navy-blue-lighter);

    .navbar-brand {
        color: white;
    }
}
.btn-default {
    --bd-grey-dark: #4a4a4a;
    --bs-btn-color: var(--bd-grey-dark);
    --bs-btn-bg: white;
    --bs-btn-border-color: var(--bd-grey-dark);
    --bs-btn-hover-color: white;
    --bs-btn-hover-bg: var(--bd-grey-dark);
    --bs-btn-hover-border-color: var(--bd-grey-dark);
    --bs-btn-focus-shadow-rgb: 74, 74, 74;
    --bs-btn-active-color: white;
    --bs-btn-active-bg: #3d3d3d;
    --bs-btn-active-border-color: #3d3d3d;
}

.profile-name {
    display: flex;
    align-items: center;
}
.profile-name:hover {
    cursor: pointer;
}

.btn-sec-round > .badge {
    position: absolute;
    top:0;
    right: 0;
    border-radius: 25px;
    margin-top: -0.5em;
}
.user-mobile-button {
    display:none;
}


/** Form controls **/
.form-control:focus {
    border: 1px solid var(--sec-purple);
    box-shadow: 0 0 0 0;
}

/** For overriding select2 with BS theme **/
.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
	border-color: var(--sec-purple);
	box-shadow: 0 0 0 0;
}

.select2-container--bootstrap-5 .select2-dropdown {
	border-color: var(--sec-purple);
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
	border-color: var(--sec-purple);
	box-shadow: 0 0 0 0;
}

.navbar-mobile {
    display:none;
}

/** Mobile stuff **/
@media (max-width: 768px) {
    .navbar-mobile {
        display:block;
    }

    .navbar-desktop {
        display:none;
    }

    .menu-toggle {
        display: none;
    }

    .user-mobile-button {
        display:block;
    }

    /* Hide search field and username on mobile */
    .search-field {
        display: none;
    }
    .username {
        display: none;
    }
    .username-mobile {
        display:block;
        margin: 1em;
    }

    .sec-sidebar-container {
        display: none;
        width: 100%;
        position: absolute;
        z-index: 20;
    }

    .sec-header-container .start{
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .menu-toggle-mobile {
        display: block;
    }
    html.sidebar-left-mobile-show {
        .sec-sidebar-container {
            display: block;
        }
    }
}

/* Training card banners */
.card-banner-container{
    background-color: var(--sec-purple);
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;
    width: 100%;
    height: 200px;
}

.training-card {
    border-color: var(--sec-purple);
    border-width: 2px;
    margin-bottom: 1em;
}

.description-container {
    height: 230px;
    border-color: var(--sec-purple);
    /* border-width: 2px; */
    margin-bottom: 0em;
    overflow-y: hidden;
}

.progress-container {
    height: 75px;
}

.training-content-container img {
    max-width: 100%;
}

.time-periods-container {
    margin-left: 33.333333%;
    margin-top: 10px;
}

.time-period-row {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 8px;
}

.time-period-row .form-label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.time-select {
    width: 80px;
}

.btn-remove-period {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

#price_list_selector {
    font-size: 1.1rem;
    font-weight: 500;
}

#selectedPriceListInfo {
    border-left: 4px solid #28a745;
}
