/****** CI branding ******/
/* Colour scheme */
:root {
  /*p for primary, s for secondary, t for tertiary*/
  --p-orange: #e84610;
  --p-blue: #009fe3;
  --p-grey: #4a4a4f;
  --p-navy: #445261;
  --p-red: #d63649;
  --s-grey: #e6ecf0;
  --s-yellow: #efb920;
  --s-pink: #ff5a60;
  --s-teal: #23bbbb;
  --t-grey: #e0e7FF;
  --bg-grey: #f5f5f5;
  --table-grey: #8798AD;
  --table-darkgrey: #e9e7e7;
}

body {
  font-family: Montserrat, sans-serif;
  background-color: var(--p-navy);
  color: var(--p-grey);
}

/* Skinny sidenav */
#skinny-nav {
  background-color: #fff;
  width: 50px;
  height: 100%;
  position: fixed;
  left: 0;
  top: 60px;
  z-index: 1040;
  box-shadow: 5px 3px 0 0 rgba(0,0,0,0.16), 0 2px 0 0 rgba(0,0,0,0.12);
  transition: 0.5s;
}

#skinny-nav-list {
  position: absolute;
  top: 100px;
  left: 0;
  list-style-type: none;
  padding: 0;
  width: 100%;
  height: -webkit-fill-available;
  overflow-y: scroll;
}

#skinny-nav-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

#skinny-nav-list::-webkit-scrollbar-thumb {
  background: transparent;
}

#skinny-nav-list::-webkit-scrollbar-track {
  background: transparent;
}

#skinny-nav-list > li > a {
  padding: 10px 15px;
  color: var(--p-grey);
  font-size: 1.3rem;
  display: block;
}

#skinny-nav-list > li > a:hover {
    padding-left: 12px;
}

#skinny-nav-list > li > a > p {
  position: relative;
  bottom: 6px;
  display: inline;
  padding-left: 20px;
  margin: 0;
}

#skinny-nav-list > li:nth-last-child(2) > a > p {
  padding-left: 26px; /* Needs a little extra to keep it in line, due to the icon next to it being smaller than the rest */
}

#skinny-nav-list > li > a:hover {
  background-color: rgba(0,0,0,0.08);
  border-left: 3px solid var(--p-orange);
}

.skinny-nav-profile {
  height: 100px;
  padding-left: 5px;
  padding-top: 15px;
}

.skinny-nav-profile > p {
  display: inline;
  padding-left: 10px;
  font-weight: bold;
  text-transform: uppercase;
}

#skinny-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 120vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 997;
}

#dashboard-menu, #mentoring-menu, #useradmin-menu {
  list-style-type: none;
  background-color: rgba(0,0,0,0.08);
}

#dashboard-menu > li, #mentoring-menu > li, #useradmin-menu > li {
  padding: 5px 16px;
  font-size: 0.9rem;
  color: var(--p-grey);
}

#dashboard-menu > li > a, #mentoring-menu > li > a, #useradmin-menu > li > a {
  font-size: 0.9rem;
  color: var(--p-grey);
}

#dashboard-menu > li > a:hover, #mentoring-menu > li > a:hover, #useradmin-menu > li > a:hover {
  color: var(--p-orange);
}

.burger-menu {
  background-color: #fff;
  position: fixed;
  left: 0;
  top: 0;
  height: 60px;
  width: 50px;
  font-size: 1.3rem;
  z-index: 1040;
  display: block;
}

.burger-menu a {
  position: relative;
  top: 30%;
}

/* End of skinny */

.navbar {
  height: 60px;
  padding: 10px;
  width: calc(100% - 50px);
  margin-left: auto;
}

/* Fonts */
p,
#dashboard-menu > li > a, #mentoring-menu > li > a, #useradmin-menu > li > a {
  color: #445261;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.12px;
  line-height: 14px;
}

.subtitle,
table th {
  color: #2E384D;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 18px;

}

.title-uppercase {
  text-transform: uppercase;
  font-size: 24px;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 32px;
}

.title-lowercase {
  font-size: 24px;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 32px;
  margin-bottom: 10px;
}

.title-caption {
  color: #8798AD;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 22px;
}

.subtitle-uppercase,
select.challenges-filter {
  text-transform: uppercase;
  color: #8798AD;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.21px;
  line-height: 16px;
}

select.challenges-filter {
  max-width: 120px;
}

.subtitle-lowercase {
  color: #8798AD;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.21px;
  line-height: 16px;
}

.title,
.card p.title {
  color: #445261;
  font-size: 24px;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 32px;
}

a {
  color: var(--s-teal);
}

a:hover {
  color: var(--p-blue);
}

table.table a {
  color: var(--s-teal);
  margin-top: 3px !important;
  font-family: Rubik, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 18px;
}

table.table th a {
  font-size: 18px;
}

table.table a:hover {
  color: var(--p-blue);
}

a.button-collapse {
  color: var(--p-grey);
}

.logo {
  padding: 0rem 1rem;
  height: 60%;
}

.logo-png {
  height: 35px;
  width: auto;
}

#hnavlogo {
  height: 100%;
  width: auto;
}

.hnavitem {
  display: none;
}

img.img-fluid.rounded-circle {
  height: 50px;
  width: auto;
  border: 0.5px solid var(--s-grey);
}

.search {
  height: 50px;
}

.margin-top {
  margin-top: 20px;
}

/****** Main container ******/
main {
  width: calc(100% - 50px);
  margin-left: auto;
  margin-top: 120px;
}

.dashboard {
  padding: 3% 5%;
}

/******* Searchbar ********/
li.nav-item.searchbar {
  min-width: 350px;
  margin-right: 30px;
}


/******* Table styling - card and student details *******/
.table th,
.table td {
  border-top: none;
  font-weight: normal;
}

th,
td {
  text-align: left;
}

/****** Modals ******/
.modal-lg {
  max-width: 890px;
}

#exampleModalPreviewLabel>button {
  padding: 0px 5px 0px 0px;
}

#exampleModalPreviewHeader {
  padding-bottom: 0px;
}

.modal-content {
  color: var(--p-grey)
}

/****** Buttons ******/
.btn {
  box-shadow: none;
  background: var(--s-teal) !important;
  color: white;
}

i.btn.btn-outline-success {
  padding: 7.5px;
}


/****** General card and chart styles *********/
.scroll {
  overflow: scroll;
}

.card.card-cascade.cascading-admin-card {
  box-shadow: none !important;
}


/****** Alerts ******/

.showmearound {
  background-color: var(--s-teal);
  color: white;
}

.demodata {
  background-color: var(--bg-grey);
}

.alert {
  font-size: 12px;
  letter-spacing: 1.12px;
}

.alert-dismissible .close {
  padding: .55rem 1.25rem;
}

/***** introjs tour *****/

/* 
*  A lack of a background colour causes the IntroJS tour to shade the element dark rather than light when focusing on it.
*  Apply this class to any default white element that doesn't otherwise have its colour explicitly specified. 
*/
.whitebg-for-introjs {
  background-color: rgb(255, 255, 255);
}

.introjs-tooltiptext {
  font-size: 14px;
}

.introjs-helperLayer {
  background-color: rgba(255, 255, 255, .4) !important;
}

.customDefault .introjs-bullets ul li a.active {
  background-color: var(--s-teal);
}

span.introjs-helperNumberLayer {
  background: var(--p-navy);
}

.showmearound span {
  cursor: pointer;
}

.btn-no-styling {
    background: transparent;
    border: 0;
    outline: 0;
}

@media (min-width: 992px) {
  main {
    width: calc(100% - 80px);
  }

  .hnavitem {
    display: inline;
  }

  .navbar {
    height: 100px;
    width: calc(100% - 70px);
  }

  .logo {
    height: 80%;
  }

  .mobile-view {
    display: none;
  }

  #skinny-nav {
    width: 70px;
    top: 100px;
  }

  #skinny-nav-list {
    top: 100px;
  }

  #skinny-nav-list > li > a {
    padding: 10px 22px;
    font-size: 1.6rem;
  }

  .skinny-nav-profile {
    padding-left: 15px;
  }

  #dashboard-menu > li, #mentoring-menu > li, #useradmin-menu > li {
    padding: 7px 33px;
  }

  .burger-menu {
    width: 80px;
    height: 100px;
    font-size: 1.5rem;
  }
}
/* ------------------------------- bootstrap toasts */

.message-container {
  position: fixed;
  top: 105px;
  right: 0;
  left: 72px;
  z-index: 99999999999;
}

.custom-toast {
  overflow: visible;
}

.toast-capper {
  height: 2px;
}
.toast{
  min-width: 600px;
}
.makewhite > p{
  color: white!important;
  line-height: normal;
  font-size: 13px;
}

.dropdown-menu {
  margin-left: -78px !important;
}

.dropdown-menu a:hover {
  background-color: var(--s-teal) !important;
}
