html {
	height: 100%;
	font-size: clamp(14px, 1.5vw, 16px);
}
body {
	min-height: 100%;
	font-family: 'Source Sans Pro', sans-serif;
	display: flex;
	flex-direction: column;
}
p{
	text-align: justify;
	text-justify: inter-word;
}
a {
	color:black;
  	cursor: pointer;
}
a:hover{
	color: rgb(255,0,0);
}
h2 a:hover, h3 a:hover, h4 a:hover {
	color: black;
}
li {
  display: inline;
  float: center;
}
li a {
  float: center;
  display: block;
  padding: 8px;
  text-decoration: none;
}
input{
	border-radius: 4px;
	border-style: solid;
}
textarea {
	border-radius: 4px;
	resize: vertical;
}
input.form-control:focus, 
textarea.form-control:focus, 
textarea:focus,
select.form-control:focus, 
.dataTables_wrapper .dataTables_length select:focus, 
.dataTables_wrapper .dataTables_length input:focus {
	border-color: red;
	outline: none;
	box-shadow: 0 0 3px 1px red;
}
ul.form-group {
	vertical-align: middle;
}
/*h6, p, td, label, a, a.nav-link, a.btn, li, footer a, input, input.form-control, .input-group-text {
	font-size: clamp(14px, 1.5vw, 16px);
}
h5, h5 a {
	font-size:clamp(1rem, 1.9vw, 1.25rem);
}
h4, h4 a {
	font-size:clamp(1.125rem, 2.25vw, 1.5rem);
	margin-bottom: 0;
}
h3, h3 a {
	font-size:clamp(1.25rem, 2.5vw, 1.75rem);
}
h2, h2 a {
	font-size:clamp(1.5rem, 3vw, 2rem);
}
h1, h1 a {
	font-size:clamp(1.75rem, 4vw, 2.5rem);
}*/
.wrapper {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	/*min-height: calc(100vh);*/
	align-items: stretch;
	/*padding-top: clamp(3.75rem, 6vw, 5rem);*/
	padding-left: 0px;
	padding-right: 0px;
	/*padding-bottom: 45px;*/
	transition: all 0.5s;
}
#content {
	z-index: 1;
	margin-left: 0px;
	transition: all 0.5s;
	margin-right: 0px;
	width: 100%;
	/*margin-top: 20px;*/
	margin-bottom: 20px;
	min-width: 320px;
	flex: 1
}
#content.active {
	margin-left: 0px;
}
.containerBox {
	background-color: white;
	border-radius: 8px;
	border-style: solid;
	border-color: rgb(255,0,0);
	margin: clamp(1.25rem, 3vw, 2rem) auto;
	min-width: 200px;
	width: 100%;
	padding: 1rem clamp(0.75rem, 2vw, 2rem);
}
.tooltip {
	z-index: 99999;
}
@media (min-width: 576px) {
	.flex-fill-sm {
		flex: 1 1 auto !important;
	}
}

/* Modals */
.modal {
	background-color: rgba(0,0,0,0.4);
}
div.modal-content {
	background-color: #fefefe;
	margin: 10vh auto; /* 15% from the top and centered */
	padding: 20px;
	border: 1px solid #888;
	width: 60%; /* Could be more or less, depending on screen size */
}

/* Buttons */
button.btn, a.btn {
	background: linear-gradient(to bottom, rgba(255,0,0,1) 0%, rgba(255,0,0,.7) 100%);
	color: white;
}
button.btn:focus, a.btn:focus{
	background-color: rgb(255,0,0);
	color: white;
	box-shadow: none;
	border-color: black;
}
button.btn:active {
	border-color: black;
	color: white;
	box-shadow: 3px 3px 8px red;
	border-color: black;
}
button.btn:hover, a.btn:hover {
	background-color: rgb(255, 0, 0);
	border-color: black;
	color: white;
}

/* Toggles */
.customToggle {
	background: white !important;
	border-color: black !important;
	color: black !important;
}
.customToggle.active {
	background: linear-gradient(to bottom, rgba(255,0,0,1) 0%, rgba(255,0,0,.7) 100%) !important;
	color: white !important;
}
.customToggle.active:active, .customToggle:active {
	border-color: black !important;
	color: white !important;
	box-shadow: 3px 3px 8px red !important;
	border-color: black !important;
}
.customToggle.active:hover, .customToggle:hover {
	background-color: rgb(255, 0, 0) !important;
	border-color: black !important;
	color: white !important;
}

/* Edit Inline Inputs */
input.editInline, select.editInlineDropdown {
	border: none;
	outline: none;
	max-width: 55%;
}
input.editInline:hover, input.editInline:focus, select.editInlineDropdown:hover, select.editInlineDropdown:focus {
	border: 1px solid red;
	border-radius: 4px;
}
input.editInline:hover, select.editInlineDropdown:hover {
	background-color: lightgray;
} 

/* Tabs */
.nav-tabs .nav-link.active{
	color: rgb(255,0,0);
}

/* Accordions */
.accordion {
  background-color: rgba(0,0,0,.1);
  color: black;
  cursor: pointer;
  padding: .5rem 1rem;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}
.accordion:focus{
	outline: none;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.accordion:hover, .activeFAQ {
  background-color: rgb(255,0,0);
  color: white;
}
/* Style the accordion panel. Note: hidden by default */
.panel {
  background-color: rgb(255, 255, 255);
  height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.accordion:after {
  content: '\002B'; /* Unicode character for "plus" sign (+) */
  font-size: 1.5rem;
  font-weight: bold;
  color: red;
  float: right;
  margin: -.25rem 0;
  margin-left: 5px;
}
.accordion:hover::after{
	color: white;
}
.activeReduceRate:after {
  content: "\2212"; /* Unicode character for "minus" sign (-) */
}
.activeFAQ:after {
  content: "\2212"; /* Unicode character for "minus" sign (-) */
  color: white;
}

/* Dropdowns */
.customDropdown {
	display: block;
	border-style: none;
	height: 0px;
	overflow: auto;
	position: absolute;
	/* This width is to compensate for col class having left/right padding of 15px */
	width: calc(100% - 30px);
	z-index: 10000;
	background-color: white
}
.customDropdown.show {
	height: 150px;
	border-style: solid;
	border-color: rgba(0,0,0,.4);
}
div.dropdown-menu {
	color: black;
	background-color: rgb(255,255,255);
}
a.dropdown-item:hover {
	background-color: rgb(255,0,0);
	color: white;
	cursor: pointer;
}
div.dropdown-menu ul {
	padding-left: 0px;
}
.dropdown-content {
	display: none;
	height: 100%;
}
.dropdown-content a {
	color: black;
	padding: .5rem 1rem;
	text-decoration: none;
	display: block;
	border-bottom: 1px solid rgba(0, 0, 0, .2);
}
.dropdown-content.show {
	display: block;
}

/* Trash/Close Buttons */
span.trash {
	margin-right: 8px;
}
span.trash:hover, .close:hover, .hoverSelector:hover {
	cursor: pointer;
}
/*span.fa:hover{
	background-color: red !important;
}*/


/* Tables */
table {
	width: 100%;
}
table tr {
	background-color: white;
}
table th {
	background-color: rgba(0,0,0,.15);
}
table.main tr td, table.main th {
	padding: 5px 10px;
}
table.main, table.main th, table.main td {
  border: 1px solid black;
  border-collapse: collapse;
}
.dataTables_wrapper {
	width: 100%;
	margin: 10px 0px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
	color: white !important;
	border: solid 1px white;
	border-radius: 4px;
	background: linear-gradient(to bottom, rgba(255,0,0,1) 0%, rgba(255,0,0,.5) 100%);
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
	color: white !important;
	border: solid 1px white;
	border-radius: 4px;
	background: linear-gradient(to bottom, rgba(255,0,0,1) 0%, rgba(255,0,0,.5) 100%);
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
	color: white !important;
	border: solid 1px black;
	border-radius: 4px;
	background: linear-gradient(to bottom, rgba(255,0,0,1) 0%, rgba(255,0,0,.7) 100%);
}
.dataTables_wrapper .dataTables_filter input{
	border-radius: 4px;
}
table.dataTable thead .sorting_desc {
	background-image: url("../icons/desc.png");
}
table.dataTable thead .sorting_asc {
	background-image: url("../icons/asc.png");
}
.dataTables_processing {
	padding-top: 0 !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: none !important;
	margin-left: 0 !important;
	margin-top: 0 !important;
}
@media (max-width: 1199.98px) {
	.fullDataTable {
		display: none;
	}
}

@media (min-width: 1200px) {
	.smallDataTable {
		display: none;
	}
}

.btn-primary:not(:disabled):not(.disabled):active {
	background-color: rgb(255,0,0);
	border-color: black;
}
.fa-arrow-up, .fa-arrow-down {
	padding-top: .3rem;
	padding-bottom: .3rem;
}
span.fa-arrow-down:hover, span.fa-arrow-up:hover {
	background: red !important;
}

/* Loading Modal */
#loadingModal {
	position: fixed; /* Stay in place */
	z-index: 99998; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	background: url(../LoadingGIF.gif) center no-repeat rgba(255,255,255,0.8);
}

@media (max-width: 575.98px) {
	#wrap {
		overflow: scroll;
	}
}