/* Color theme
-------------------------------------------------- */
:root {
  --main-bg-color: #000;
  --main-text-color: #f0f0f0;
  --muted-grey: #c2c2c2;
  
  --blue: #5F8FB4; /*#58B8FE*/
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #5F8FB4;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
}

@media print {
  :root {
  --main-bg-color: #fff;
  --main-text-color: #000;
  --blue: #58B8FE;
  --muted-grey: #c2c2c2;
  }}

body {
  background-color: var(--main-bg-color);
  color: var(--main-text-color);
}

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

a:hover {
  color: var(--grey);
}

.a-like {
  color: var(--blue);
}

.a-like:hover {
  color: var(--grey);
  text-decoration: underline;
  cursor: pointer;
}

.navbar-dark .navbar-nav .nav-link {
	color: #fff;
}

.popover-header {
	color: var(--gray-dark);
}

.btn-link {
	color: var(--blue);
}

.btn-link:hover {
	color: var(--grey);
}

.table th {
    color: var(--blue);
}

.table {
    color: var(--main-text-color);
}

.table-hover {
    background-color: var(--main-bg-color);
}

.table-hover > tbody > tr:hover {
  background-color: var(--gray-dark);
}

.form-control {
    background-color: var(--muted-grey);
	color: black;
}

.text-muted {
    color: var(--muted-grey)!important;
}

.btn {
  margin-top: 5px;
  margin-bottom: 5px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}



/* Homepage layout
-------------------------------------------------- */
.home-page a {
	color: var(--main-text-color);
}



/* Message layout
-------------------------------------------------- */
.messages {
    overflow: auto;
    height: 80vh;

}

/* Timeline
-------------------------------------------------- */

/* Timeline holder */
ul.timeline {
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
}

 /* Timeline vertical line */
ul.timeline:before {
    content: ' ';
    background: #fff;
    display: inline-block;
    position: absolute;
    left: 16px;
    width: 4px;
    height: 100%;
    z-index: 400;
    border-radius: 1rem;
}

li.timeline-item {
    margin: 20px 0;
}

/* Timeline item arrow */
.timeline-arrow {
    border-top: 0.5rem solid transparent;
    border-right: 0.5rem solid #fff;
    border-bottom: 0.5rem solid transparent;
    display: block;
    position: absolute;
    left: 2rem;
}

/* Timeline item circle marker */
li.timeline-item::before {
    content: ' ';
    background: #ddd;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #fff;
    left: 11px;
    width: 14px;
    height: 14px;
    z-index: 400;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Timeline html formatting */
.timeline br {
    display: none;
}

.timeline p {
    margin: 0;
}


/* Filepond
--------------------------------------------------*/

.filepond--drop-label {
    color: black;
    background-color: var(--muted-grey);
}

.filepond--panel {
    background-color: var(--muted-grey);
}


/* Comms
---------------------------------------------------*/
.instruction_type {
    display: None;
}

.message-table td {
    padding: 4px 40px 4px 0px;
}

/* Fixed nav bar
-------------------------------------------------- */

.navbar-dark .navbar-toggler-icon {
  background-image: url(../images/toggle.svg);
}

@media screen and (max-width: 1250px) {
.navsearch {
	display: none;
}
}

.navbrand {
    max-width:160px;
}

@media screen and (max-width: 990px) {
.navbrand {
    display: none;
}
}

.navbar-brand {
  padding-bottom: 0px;
}


/* SIDEBAR
-------------------------------------------------- */
/* responsive sidebar */

/* The side navigation menu */
.sidebar {
  margin-top: 82px;
  margin: 0;
  width: 150px;
  background-color: var(--dark);
  position: fixed;
  height: 100%;
  overflow: auto;
}

/* On screens that are less than 700px wide, make the sidebar into a topbar */
@media screen and (max-width: 700px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
	margin-top: 76.97px;
  }
  .sidebar a {float: left;}
  }

/* On screens that are less than 400px, display the bar vertically, instead of horizontally */
@media screen and (max-width: 400px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
}


/* Sidebar links */
.sidebar a {
  display: block;
  color: var(--main-text-color);
  padding: 16px;
  text-decoration: none;
}

/* Active/current link */
.sidebar a.active {
  background-color: #5F8FB4;
  color: var(--main-text-color);
}

/* Links on mouse-over */
.sidebar a:hover:not(.active) {
  background-color: #555;
  color: var(--main-text-color);
}

/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
div.sidebar_content {
  margin-top: 82px;
  margin-left: 150px;
  padding: 1px 16px 16px 16px;
  min-height: 550px;
  overflow: auto;
}

@media screen and (max-width: 700px) {
	div.sidebar_content {
	margin-top: 0px;
	margin-left: 0px;
	padding: 1px 1px;
	min-height: 450px;
	margin-left: 0;
	}
}


.sidebar_container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  overflow: auto;
}

@media (min-width: 768px) {
  .sidebar_container {
    width: 500px;
  }
}

@media (min-width: 992px) {
  .sidebar_container {
    width: 720px;
  }
}

@media (min-width: 1200px) {
  .sidebar_container {
    width: 920px;
  }
}

.login {
	min-height:250px;
}

.left-title h1 
   {
    color: #5F8FB4;
    margin: 0;
	font-size: 20px;
}

/* QUILL
-------------------------------------------------- */
.ql-editor {
	height: 700px;
    font-size: 16px;
    font-family: Roboto, monospace;
}

.ql-editor p {
	padding-top: 15px;
}

@media (max-width: 991px){
	#quill_div {	
		padding-top: 25px;
}
}

/* Tooltips ------------------------------------- */
.tooltip-inner {
    text-align: left;
}

/* Register ------------------------------------- */
.notruncate {
	display: none;
}


/* MULTI-SELECT
-------------------------------------------------- */
.custom-header {
  background-color: #5F8FB4;
  color: #fff;
  text-align: center;
}

/* Spinning loader --------------------------------*/
.spinner-modal-lg .modal-dialog{
  display: table;
  position: relative;
  margin: 0 auto;
  top: 100px;
  color: #888;
}

.spinner-modal-lg .modal-dialog .modal-content{
  background-color: transparent;
  border: none;
}

/* IMAGE MAGNIFIER -------------------------------- */
.img-magnifier-container {
  position: relative;
  box-sizing: border-box;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid #000;
  border-radius: 50%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 100px;
  height: 100px;
  box-sizing: border-box;
}
