:root {
  --info: #17A2B8;
  --info-hover: #138496;
  --tabs-grey: #DEE2E6;
}

/* Global Styles */
body {
	font-family: Arial, Helvetica, sans-serif;
  padding-top: 3.5rem;
}

table {
	font-size: 1em;
}

thead, .table th {
  border-top-width: 1px !important;
  border-top-style: solid !important;
  border-top-color: #dee2e6 !important;
}

label {
  margin-bottom: .5rem;
}

/* Misc */
div.table-action {
	display: inline-block;
}

td.actions, th.actions{
  text-align: center;
}

.col-header-text {
	text-align: center;
}

.dropdown-row {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
}

.img-cell, .imgcol {
	text-align: center;
}

.ui-draggable, .ui-droppable {
	background-position: top;
}

/* Button Styling */
.createButton {
  margin-bottom: 5px;
	margin-left: 10px;
}

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

.btn-info:hover {
  color: white;
  background-color: var(--info-hover);
  border-color: var(--info-hover);
}

/* DataTable Buttons */
div.dt-buttons {
	float: right;
	margin-right: 10px;
}

div.dt-button-collection {
	padding: 0;

  div.dt-button-collection button.btn-collection {
    background: transparent;
    border: none;
    padding: 0;
  }

  div.dt-button-collection button.btn-collection:hover {
    background: #f7f4f9;
    border: none;
  }
}

/* Modal Styling */
.bootbox .modal-header {
	background: #FFC107;
}

/* Jumbotron Styling */
.jumbotron {
	border-radius: 0 !important;
	padding: 4rem 2rem;
  margin-bottom: 2rem;
}

/* Status Message Styling */
.staging-msg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 25px;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 2000;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 0 15px;
}

/* Form Styling */
.form-group {
	margin-bottom: 1rem;
}

.form-control:disabled, 
.form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

.form-control:disabled:focus, 
.form-control[readonly]:focus {
	background-color: #e9ecef;
	border: 1px solid #ced4da;
	box-shadow: none;
	opacity: 1;
}

.form-control-plaintext {
  padding: .375rem 0 !important;
  color: var(--bs-body-color) !important;
  background-color: transparent !important;
  border: solid transparent !important;
}

.input-group .form-control-plaintext {
  width: unset;
}

.form-floating label {
  left: 1px;
}

input[type=radio] {
	height: 1.2em;
	width: 1.2em;
}

.radio-group {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
}

.radio-headers {
	align-items: center;
}

.radio-inline {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.form-cal-icon {
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-calendar' viewBox='0 0 16 16'><path d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z'/></svg>");
  width: 160px;
}

input[readonly].form-cal-icon {
  background-color: transparent;
}

@media (max-width: 767px) {
	.radio {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

@media (min-width: 768px) {
	.radio {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
}

/* Nav Styling */
.nav-item {
	i {
		font-size: 1.25rem;
	}
}

.nav-link {
	background: 0 0;
	border: 0;
}

.navbar {
	.navlogo {
		max-height:31px;
		max-width:212px;
		height:auto;
		width:auto;
	}
	
	* * .nav-item .dropdown-menu {
		max-height: calc(100vh - 100px);
		overflow-y: auto;
	}
}

#navbarDropdown {
	white-space: normal;
}

/* Tab List Styling */
.nav-tabs{
  .nav-link {
		color: black;
    background-color: var(--tabs-grey);
	  margin-left: .25rem;
  }

  .nav-link.active {
    color: white !important;
    background-color: #007BFF !important;
  }

  .nav-link:hover {
    border-color: transparent;
    color: black;
  }

  .nav-link.active:hover {
		color: black;
		border-left-color: var(--tabs-grey) !important;
		border-top-color: var(--tabs-grey) !important;
		border-right-color: var(--tabs-grey) !important;
  }
}


/* Tab Content Styling */
.tab-content {
  .active {
	  display: block !important;
  }
  
  .tab-pane {
	  display: none;
  }

  .tab-pane.fade {
    transition: all 0.1s;
  }
}

/* Toast  Styling */
.toast-container {
  .toast {
    width: 450px;
  }

  .toast-alert {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
  }

  .toast-secondary {
    background-color: #e2e3e5;
    border-color: #d3d6d8;
    color: #41464b;
  }

  .toast-success {
    background-color: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
  }

  .toast-warning {
    background-color: #fff3cd;
    border-color: #ffecb5;
    color: #664d03;
  }
}

/* Tooltip Styling */
.tooltip2 {
  display: inline-block;
	position: relative;

  .tooltip2text {
    background-color: #444;
    border-radius: 6px;
    color: #fff;
    padding: 5px 0;
    text-align: center;
    visibility: hidden;
    width: 500px;
    /* Position the tooltip */
    position: absolute;
    left: 105%;
    opacity: 1;
    top: 0;
    z-index: 1;
    transition: opacity 1s;
  }

  .tooltip2text::after {
    border-color: transparent #545 transparent transparent;
    border-style: solid;
    border-width: 5px;
    content: " ";
    margin-top: -5px;
    position: absolute;
    right: 100%; /* To the left of the tooltip */
    top: 50%;
  }
}

/*this is the IMPORTANT bit: hover with animation*/
.tooltip2:hover .tooltip2text {
	visibility: visible;
	animation: tooltipkeys 0.2s 1; /*here just change the 1s to you desired delay time!*/
	opacity: 1;
}

@keyframes tooltipkeys {
	0% { opacity: 0; }
	75% { opacity: 0; }
	100% { opacity: 1; }
}

@-moz-keyframes tooltipkeys {
	0% { opacity: 0; }
	75% { opacity: 0; }
	100% { opacity: 1; }
}

@-o-keyframes tooltipkeys {
	0% { opacity: 0; }
	75% { opacity: 0; }
	100% { opacity: 1; }
}

@-webkit-keyframes tooltipkeys {
	0% { opacity: 0; }
	75% { opacity: 0; }
	100% { opacity: 1; }
}