body {
	padding-top: 50px;
	padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
	padding-left: 15px;
	padding-right: 15px;
}

/*Match header with content*/
.container {
	padding-left: unset;
	padding-right: unset;
}

.navbar-brand {
	float: left;
	padding: 0 10px 0px 15px;
	line-height: 50px;
}

.card-img-top {
	object-fit: scale-down;
	width: 100%;
	height: 250px;
}

.flex-centered {
	display: flex;
	align-items: center;
	justify-content: center;
}

.card {
	width: 21.3rem;
	margin-left: 17px;
	margin-bottom: 20px;
}

.card-setting {
	width: 22rem;
	margin-left: 17px;
	margin-bottom: 20px;
	transition: transform .2s; /* Animation */
	filter: grayscale(100%);
}

	.card-setting:hover {
		transform: scale(1.05);
		filter: grayscale(0%);
		cursor: pointer;
	}

.card-deck {
	margin-left: 30px;
}

.card-body-setting {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.card-title-setting {
	width: 100%;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.dataFlow {
	width: 100px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

	.dataFlow :hover {
		color: red;
		overflow: visible;
		white-space: normal;
		height: auto;
	}

.hover-item :hover {
	background-color: #f7f7f7;
}

.btn-primary {
	background-color: #C51116;
	border-color: black;
}

	.btn-primary:hover {
		background-color: black;
		border-color: #C51116;
	}

	.btn-primary:focus {
		box-shadow: 0 0 0 0.2rem black;
	}

	.btn-primary:active {
		border-color: white;
		background-color: black;
		border-color: #C51116;
	}

	.btn-primary:not(:disabled):not(.disabled):active {
		background-color: black;
		border-color: #C51116;
	}

		.btn-primary:not(:disabled):not(.disabled):active:focus {
			box-shadow: 0 0 0 0.2rem #C51116;
		}

.btn-outline-primary {
	color: white;
	border-color: black;
	background-color: #C51116;
}

	.btn-outline-primary:hover {
		background-color: black;
		border-color: #C51116;
	}

	.btn-outline-primary:focus {
		box-shadow: 0 0 0 0.2rem black;
	}

	.btn-outline-primary:active {
		border-color: white;
		background-color: black;
		border-color: #C51116;
	}

	.btn-outline-primary:not(:disabled):not(.disabled):active {
		background-color: black;
		border-color: #C51116;
	}

		.btn-outline-primary:not(:disabled):not(.disabled):active:focus {
			box-shadow: 0 0 0 0.2rem #C51116;
		}

.btn-search {
	background-color: #004c6f;
	background-position: right center;
	background-repeat: no-repeat;
	border: 1px solid #004c6f;
	border-radius: 0.25rem;
	color: #fff;
	font-family: "D-Din", Arial, Helvetica, sans-serif !important;
	font-size: 16px !important;
	height: 35px;
	text-decoration: none;
	text-transform: none;
	transition: background-color .2s, color .2s;
	white-space: nowrap;
}

	.btn-search:hover {
		background-color: rgba(0, 76, 111, 0.71);
		background-position: right center;
		background-repeat: no-repeat;
		border: 1px solid #004c6f;
		border-radius: 0.25rem;
		color: #fff;
		font-family: "D-Din", Arial, Helvetica, sans-serif !important;
		font-size: 16px !important;
		height: 35px;
		text-decoration: none;
		text-transform: none;
		transition: background-color .2s, color .2s;
	}

.paginate_button :hover {
	background: none;
	color: white;
	background-color: black;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active {
	background: none;
	color: white;
	background-color: #f7f7f7;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	background: none;
	color: white;
	background-color: #f7f7f7;
}

.prepend-label {
	margin-bottom: 0;
}

.input-group-text {
	min-width: 350px;
}

.row-margin {
	margin-left: 20px;
}

/*fix for IE*/
.form-inline {
	display: inherit;
}

/*this css is nessary*/
.object-fit{
  &__container{   }
  &__cover{      object-fit: cover;      }
  &__fill{       object-fit: fill;       }
  &__contain{    object-fit: contain;    }
  &__none{       object-fit: none;       }
  &__scale-down{ object-fit: scale-down; }
}

img, video, svg{
  height: 100%;
  width:  100%;
  object-fit: contain;
}

/*Small screens*/
@media only screen and (max-width: 991px) {
	.card {
		margin-bottom: 10px;
		width: 20rem;
	}

	.navbar-brand {
		padding: 0;
		margin-left: -2px;
	}

	.pagination {
		display: block;
	}
}

@media only screen and (max-width: 767px) {
	.card {
		margin-bottom: 10px;
		width: 22rem;
	}

	.navbar-brand {
		padding: 0;
		margin-left: -2px;
	}

	.pagination {
		display: block;
	}
}
