body {
	background-color: #18191a;
	color: #fff;
	margin-top: 20px;
	margin-bottom: 20px;
}
* {
    word-wrap: break-word;
}
.col {
	margin-bottom: 1rem;
}
.form-check-label {
	margin-bottom: 0.5rem !important;
}
.nowrap {
	white-space: nowrap;
}
.disabled {
	background-color: #9c9c9c !important;
}
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  background-color: #e0e0e0 !important;
}
.clickable-row {
    cursor: pointer;
}
.table {
	margin: 0 !important;
}
body .modal-content {
	color: #000 !important;
}
.strikeout {
	text-decoration: line-through !important;
}
.table-hover, .table-hover a {
  color: #fff !important;
}
#pt-table .table-hover, #pt-table .table-hover a {
  color: #000 !important;
}
.table-hover tbody tr:hover td, .table-hover tbody tr:hover td a {
  color: #000 !important;
}
.table-hover .table-warning a {
	color: #343a40 !important;
}
form {
	margin: 0 !important;
}

.custom_box {
    border: 1px solid #a2a3a3;
	background-color: #3e444a;
	margin-bottom: 1rem;
	padding: 1rem;
	border-radius: 0.25rem;
}
.cursor { 
	cursor: pointer;
}
.modal-body .w-100 {
	margin-bottom: 1rem;
}

input:disabled, input:disabled:hover, .disabled, .disabled:hover  {
	border-color: #a2a3a3 !important;
	color: #a2a3a3 !important;
	background-color: #3e444a !important;
	opacity: 1 !important;
}
.modal input:disabled, .modal input:disabled:hover, .modal .disabled, .modal .disabled:hover  {
	border-color: #ced4da !important;
	color: #ced4da !important;
	background-color: #fafafa !important;
}
.alert {
	padding: 1rem;
}
.close {
	margin-top: -4px;
}
.header-text {
	font-size: 40px;
	line-height: 48px;
	font-weight: bold;
}

.pagination_bottom {
	float: right;
	margin-top: 1rem;
}


/*animations*/
@keyframes toggleUp {
  100% {
    transform: rotate(180deg);
  }
}
@keyframes toggleDown {
  100% {
    transform: rotate(180deg);
  }
}


.toggle-up {
	animation-name: toggleUp;
	animation-duration: 0.5s;
	animation-direction: reverse;
	animation-fill-mode: forwards;
}
.toggle-down {
	animation-name: toggleDown;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
}

#arrow_1, #arrow_2, #arrow_3, #arrow_4, #arrow_5 {
	display: inline-block;
}


.fade-in {
  animation: fadeIn 2s;
  -webkit-animation: fadeIn 2s;
  -moz-animation: fadeIn 2s;
  -o-animation: fadeIn 2s;
  -ms-animation: fadeIn 2s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-moz-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-o-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-ms-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.fade-out {
  animation: fadeOut 2s;
  -webkit-animation: fadeOut 2s;
  -moz-animation: fadeOut 2s;
  -o-animation: fadeOut 2s;
  -ms-animation: fadeOut 2s;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@-moz-keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@-webkit-keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@-o-keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@-ms-keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

h1 {
	font-size: 32px;
	line-height: 36px;
}
h2 {
	font-size: 26px;
	line-height: 30px;
}
h3 {
	font-size: 20px;
	line-height: 24px;
}
h4 {
	font-size: 16px;
	line-height: 18px;
}

h1, h2, h3, h4, p {
	margin-bottom: 1rem;
}


.BigChart, .MediumChart, .SmallChart {
	padding: 10px !important;
	margin: 0 auto !important;
}
#chartWrapper {
  width: 100%;
  max-width: 600px;       /* valfri maxbredd */
  aspect-ratio: 1 / 1;    /* alltid kvadratisk */
}

#chartWrapper canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Desktop */
@media (min-width: 1199px) {
	.BigChart {
		height: 500px !important;
	}
	.MediumChart {
		height: 400px !important;
	}
	.SmallChart {
		height: 300px !important;
	}
}

/* Desktop & Tablet */
@media (min-width: 768px) {
	.w-md-auto {
		width: auto !important;
	}
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
	.BigChart {
		height: 400px !important;
	}
	.MediumChart {
		height: 300px !important;
	}
	.SmallChart {
		height: 300px !important;
	}
}

/* Mobile */
@media (max-width: 768px) {
	h1 {
		font-size: 26px;
		line-height: 30px;
	}
	h2 {
		font-size: 20px;
		line-height: 24px;
	}
	h3 {
		font-size: 16px;
		line-height: 18px;
	}
	h4 {
		font-size: 14px;
		line-height: 16px;
	}
	.header-text {
		font-size: 30px;
		line-height: 36px;
		font-weight: bold;
	}
	.mobile-w100 {
		min-width: 100% !important;
	}
	.pagination_bottom {
		float: none;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.pagination_bottom ul {
		margin-bottom: 0;
	}
	.float-right-mobile {
		order: 100;
	}
	.BigChart, .MediumChart {
		padding: 5px !important;
	}
	.BigChart {
		height: 400px !important;
	}
	.MediumChart {
		height: 400px !important;
	}
	.SmallChart {
		height: 300px !important;
	}
}