html {
  font-size: 14px;
}
body {
	background: #343a40;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.container {
  max-width: 960px;
}

.pricing-header {
  max-width: 700px;
  position: relative;
}

.card-deck .card {
  min-width: 220px;
}

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

.starting_number,.clickpdf {
	margin-left: 10px;
}

.comp_logo {
	width: 15em;
	height: 2.4em;
	float: left;
	margin-right: 2em;
	margin-top: 0.3em;
}
.container .table-striped tbody tr:nth-of-type(2n+1) {
background: #707375;
}

.snumber {
    display: block;
    float: left;
    width: 60px;
}

.driver-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
}

.driver-chip-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	height: 30px;
	padding: 0 10px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 0.95em;
	line-height: 1;
	color: #fff;
	background: linear-gradient(135deg, #2047ff 0%, #0f23a6 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.driver-chip-name {
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 700;
}
/**
.turn-change {
    position: absolute;
    left: 0;
    color: #fff;
    background: #000;
    width: 100%;
    height: 100%;
    top: 0;
    text-align: center;
    padding-top: 10px;
}
**/

.turn-change {
    position: absolute;
    left: 0;
    color: #fff;
    background: #000;
    width: 100%;
    height: 33px;
    text-align: center;
    padding-top: 4px;
    margin-top: -16px !important;
}
.mytime-table tbody tr {
	position: relative;
}
@media(max-width: 800px) {
	.my-buttons {
		width: 30%;
	}
	.my-buttons .starting_number {

    margin-left: 0;
    margin-bottom: 5px;
    width: 100%;

}
/**
.turn-change {
 
    height: 70px;
 
    margin-top: -46px !important;
}
**/
.comp_logo {
	width: 7em;
	margin-top: 6px;
}

.form-control.mr-sm-2 {
   
    margin-right: 5px;
}
.navbar .container {
    padding: 0;
}
}
@media(min-width: 768px) {
	.display-4 {

    margin-left: 50%;

}


}
.form-control.mr-sm-2 {
    width: 90px;
}
.logo_wrapper {
    overflow: hidden;
    float: left;
}
/**
@media(max-width: 380px) {
	.my-buttons {
		width: 100%;
	}
	.my-buttons .starting_number {
		float: left;
		width: 40%;
		margin-right:10px;
	}
}
**/
@media(max-width: 800px) {
.btn.btn-primary {
  margin-top: 12px;
}
	.my-buttons {
		width: 100%;
		margin-top: 10px;
	}
	.my-buttons .starting_number {
		float: left;
		width: 49%;
		margin-right:3px;
	}
	.to-the-left {
    width: 100%;
}
.logo_wrapper {
    background: #fff;
    overflow: hidden;
    display: inline-block;
    text-align: center;
	float: left;
margin-right: 3px;
margin-top: 5px;
width: 35%;
}
.logo_wrapper .comp_logo {
    margin: 0 auto !important;
	height: 2.4em;
	display: block;
	float: none;

}
.btn.btn-outline-success.my-2.my-sm-0 {
    width: 47%;
}
.form-control.mr-sm-2 {
    width: 49%;
}

.fixed-table-toolbar {
	margin: 0 !important;
}
.columns.columns-right.btn-group.float-right {
	display: none;
}
}
@media(max-width: 575px) {
	.logo_wrapper {
		margin-top: 12px;
	}
	.my-buttons .starting_number.my-time-number {
		margin-right: 0;
	}
	.container.d-flex .my-buttons .btn-outline-danger {
		margin-top: 0 !important;
	}
}
.form-inline.mt-2.mt-md-0 {
    margin-top: 5px !important;
}
.table td, .table th {
    padding: .25rem .75rem;
}
thead {
	line-height: 1;
}
tr.top-time {
    background-color: #4DCD0D !important;
}
.fixed-table-toolbar {
    margin-top: 20px;
    margin-bottom: 15px;
}
.mytime-view .float-right.search.btn-group {
	display: none;
}

.search.btn-group {
	display: none;
}
.all-table th:nth-child(1) {
	min-width: 40px;
}

.all-table th:nth-child(2) {
	min-width: 200px;
}
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 1000;
	text-align: center;
}
.overlay .message {
    display: block;
    padding: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    border: 1px solid;
    color: red;
    font-size: 18px;
    background: #fff;
    font-weight: bold;
}

.btn-group.float-right {
	visibility: hidden;
}
.container.d-flex .my-buttons .btn-outline-danger {
    margin-left: 20px;
}
@media(max-width: 810px) {
	.btn.btn-primary.starting_number,.btn.btn-primary.my-sm-0.clickpdf {
  width: 15%;
}
	.btn.btn-primary.starting_number.my-time-number {
		width: 22%;
	}
	.container.d-flex .my-buttons .btn-outline-danger {
		margin-left: 5px;
		width: 23.5%;
	}
	
}
@media(max-width: 350px) {
	.container.d-flex .my-buttons .btn-outline-danger {
		width: 22%;
	}
}

.bootstrap-table .fixed-table-container .table thead th .th-inner {
	background: none !important;
	padding-right: 0.15rem !important;
}


td {
	text-overflow: ellipsis;
	overflow: hidden; 
	white-space: nowrap;
}

.filter-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 10px 0;
	padding: 10px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn.filterClass.btn-secondary, .btn.filterClass.btn-primary {
	margin: 0;
	border-radius: 999px;
	white-space: nowrap;
	padding: 0.38rem 0.85rem;
	line-height: 1.2;
}

#toolbar .btn.filterClass,
#toolbar .day-filter-inline {
	flex: 0 0 auto;
	max-width: 100%;
}

#toolbar .day-filter-inline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: 6px;
	padding-right: 6px;
	border-right: 1px solid rgba(255, 255, 255, 0.16);
}

#toolbar .day-filter-label {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 700;
	color: #e5e7ea;
}

#toolbar .day-filter-select {
	min-width: 118px;
	height: 34px;
	padding: 0.22rem 0.45rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
}

#toolbar .day-filter-select option {
	color: #111;
}

#toolbar .btn.filterClass span {
	display: inline;
	margin-left: 4px;
	font-size: 0.8em;
	opacity: 0.75;
}

#toolbar .fixed-table-toolbar,
#toolbar .btn-group,
#toolbar .search {
	margin: 0 !important;
}

.filterClass span {
	display: none;
}



@keyframes positionUpFlash {
	0% { background-color: rgba(55, 200, 125, 0.45); }
	100% { background-color: transparent; }
}

@keyframes positionDownFlash {
	0% { background-color: rgba(232, 88, 88, 0.45); }
	100% { background-color: transparent; }
}

.position-up {
	background-color: rgba(55, 200, 125, 0.26) !important;
}

.position-down {
	background-color: rgba(232, 88, 88, 0.26) !important;
}

.pos-change-badge {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.1;
	vertical-align: middle;
}

.pos-change-up {
	background: rgba(55, 200, 125, 0.24);
	color: #9dffcc;
	border: 1px solid rgba(55, 200, 125, 0.6);
}

.pos-change-down {
	background: rgba(232, 88, 88, 0.24);
	color: #ffb4b4;
	border: 1px solid rgba(232, 88, 88, 0.6);
}

.lap-chart-wrap {
	margin: 16px 0 22px;
	padding: 16px;
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.lap-chart-title {
	margin: 0 0 10px;
	font-size: 1rem;
	font-weight: 700;
	color: #f5f5f5;
}

.lap-chart-canvas {
	position: relative;
	height: 220px;
}

.lap-chart-empty {
	display: none;
	font-size: 0.95rem;
	font-weight: 600;
	color: #e1e1e1;
}

.fixed-table-body {
	overflow-x: auto !important;
}

@media (max-width: 768px) {
	.driver-chip {
		gap: 7px;
	}

	.driver-chip-num {
		min-width: 46px;
		height: 26px;
		padding: 0 8px;
		font-size: 0.85em;
	}

	.lap-chart-wrap {
		padding: 12px;
		margin: 12px 0 16px;
	}

	.lap-chart-canvas {
		height: 180px;
	}
}

@media (max-width: 480px) {
	.lap-chart-canvas {
		height: 160px;
	}

	.lap-chart-title {
		font-size: 0.92rem;
	}
}

@media(min-width: 991px) {
tr td {
font-size: 22px;
}
.container {
	width: 100%;
	max-width: 100% !important;
}
}

@media (max-width: 800px) {
	#toolbar {
		padding: 8px;
		gap: 6px;
	}

	#toolbar .btn.filterClass,
	#toolbar .day-filter-select {
		margin-top: 0 !important;
		width: auto !important;
		font-size: 0.84rem;
		padding: 0.34rem 0.72rem;
	}

	#toolbar .day-filter-inline {
		margin-right: 0;
		padding-right: 0;
		border-right: 0;
	}
}

@media (max-width: 480px) {
	#toolbar {
		overflow-x: hidden;
		flex-wrap: wrap;
	}

	#toolbar .day-filter-label {
		display: none;
	}

	#toolbar .btn.filterClass {
		white-space: normal;
	}

	#toolbar .day-filter-select {
		min-width: 96px;
		max-width: 120px;
	}
}

.navbar.bg-dark {
	background-color: #DBDEE1 !important;
}
thead {
    color: #fff !important;
}
