:root {
	/*//traveller*/
	--background-color: #fafaf3;
	--menu-background-color: #fad31e;
	--btn-primary-bg-color: #fad31e;
	--btn-primary-fg-color: black;
	/*//bergkvara*/
	--background-color: #fafaf4;
	--menu-background-color: #24255e;
	--btn-primary-bg-color: #e84249;
	--btn-primary-fg-color: white;
}

.navbar-brand img {
	/*height: 35px;
	margin-top: -6px;
	margin-right: 20px;*/
}


/*//bergkvara*/

.nav-link, .navbar-brand, .nav-item {
	color: white !important;
}
	.navbar-brand img {
		width: 280px !important;
		margin-top: -6px;
		margin-left: 0px !important;
		margin-right:20px
	}
	a.text-dark:hover, a.text-dark:focus, .nav-link:hover {
		color: #e84249 !important;
	}
/*//end bergkvara*/



	body {
	background-color: var(--background-color);
}

main {
	margin-top: 3rem;
}

h3 {
	margin-top: 3rem;
}

.navbar {
	background-color: var(--menu-background-color);
}


.navbar .active {
	font-weight: bold;
}

.navbar select {
	margin-top: 0.6em;
}

table small {
	font-weight: bold;
	color: #999;
}

.nowrap {
	white-space: nowrap;
}

table tr.inactive {
	color: #aaa;
}

table td {
	background-color: white;
}

.fas, .far {
	color: #aaa;
}

#more-alternatives {
	/* display: none; */
}

/* Meddelanden */
.speech-bubble-left {
	position: relative;
	background: #e9e9e9;
	border-radius: .4em;
	padding: 0.5em 1em;
	margin: 1em 10% 1em 0;
}

	.speech-bubble-left a {
		color: #212529;
	}

	.speech-bubble-left:after {
		content: '';
		position: absolute;
		left: 0;
		top: 50%;
		width: 0;
		height: 0;
		border: 10px solid transparent;
		border-right-color: #e9e9e9;
		border-left: 0;
		margin-top: -10px;
		margin-left: -10px;
	}

.speech-bubble-right {
	text-align: right;
	position: relative;
	background: #fade5c;
	border-radius: .4em;
	padding: 0.5em 1em;
	margin: 1em 0 1em 10%;
}

	.speech-bubble-right a {
		color: #212529;
	}

	.speech-bubble-right .fas {
		color: #212529;
	}

	.speech-bubble-right:after {
		content: '';
		position: absolute;
		right: 0;
		top: 50%;
		width: 0;
		height: 0;
		border: 10px solid transparent;
		border-left-color: #fade5c;
		border-right: 0;
		margin-top: -10px;
		margin-right: -10px;
	}

.message-thread {
	padding-left: 20%;
	display: none;
}

.message-posted, .close-message {
	text-align: right;
	font-size: 0.8em;
}

/* Knappar */
.btn-primary {
	border-color: var(--btn-primary-bg-color) !important;
	background-color: var(--btn-primary-bg-color) !important;
	color: var(--btn-primary-fg-color);
}

.btn-link {
	padding: 0;
}

/* Spinner */
#global-spinner {
	position: fixed;
	top: 50%;
	left: 50%;
	display: none;
}

/* http://listjs.com/examples/table/ */
.sort:after {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid transparent;
	content: "";
	position: relative;
	top: -10px;
	right: -5px;
}

.sort.asc:after {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #212529;
	content: "";
	position: relative;
	top: 4px;
	right: -5px;
}

.sort.desc:after {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #212529;
	content: "";
	position: relative;
	top: -4px;
	right: -5px;
}

/* Upphämtningar */
.pickup-check {
	width: 1.5em;
	height: 1.5em;
}

.pickup-check-col, .route-icon-col {
	width: 3em;
}

.pickup-check-route-col td {
	background-color: #eee;
}

/* Boka upphämtningar */
#route-pickups {
	background-color: white;
	border: 1px solid #ddd;
	height: 400px;
	overflow: auto;
	padding: 10px;
}

	#route-pickups .routestop-droppable {
		padding-left: 2em;
	}

	#route-pickups .route {
		margin-bottom: 2em;
	}

		#route-pickups .route .header {
			background-color: #eee;
			font-weight: bold;
			padding: 0 0.5em;
		}

#route-students {
	background-color: white;
	border: 1px solid #ddd;
	height: 400px;
	overflow: auto;
	padding: 10px;
}

	#route-students .student-draggable {
		background-color: white;
		cursor: pointer;
	}

		#route-students .student-draggable:hover {
			background-color: black;
			color: white;
		}

#students-drag {
	white-space: nowrap;
	background-color: black;
	color: white;
	padding: 0.5em;
}

.highlight {
	border: 1px solid #ddd;
	background-color: grey;
	color: white;
}

.pickup-draggable .fa-times {
	cursor: pointer;
}

.selected {
	background-color: #555 !important;
	color: #fff;
}
