.dropdown-menu {
	/* override wordpress' style */
	padding: 5px 0 !important;
}

.loading-icon {
	position: absolute;
	z-index: 1031;
	bottom: 0;
	left: 0;
	width: 100%;
}
	.loading-icon.active {
		opacity: 1;
	}
	.loading-icon-inner {
		position: absolute;
		left: 50%;
		top: 0;
	}
	.loading-icon-content {
		position: absolute;
		left: 0;
		bottom: 15px;
		width: 130px;
		text-align: center;
		padding: 2px 6px;
		color: black;
	}
	

.main-container > .sidebar {
	position: relative;
	display: flex;	
	flex-direction: column;
}

.main-container > .sidebar .header {
	padding: 0 15px;
	padding-bottom: 15px;
	flex: 0 1 content;
}
	.main-container > .sidebar .btn-collapse {
		position: absolute;
		z-index: 10;
		bottom: 0;
		right: 0;
		padding: 0;
		height: 100%;
		width: 3rem;
		font-size: 1.5rem;
		border: none;
		border-left: 1px solid #ddd;
	} 

	.main-container > .sidebar .sidebar-content {
		position: relative;
		flex: 1;
	}
  
.main-container > .sidebar .sidebar-footer {
	position: relative;
	padding-left: 6px;
	padding-right: 6px;
	padding-top: 4px;
	height: 45px;
	flex: 0 0 45px;
	border-top: 1px solid #ddd;
}
	.main-container > .sidebar .sidebar-footer .results {
		padding-left: 1em;
	}
	.main-container > .sidebar .sidebar-footer p {
		margin: 0;
		line-height: 1em;
	}
	.main-container > .sidebar .dropdown-menu {
		min-width:220px;
	}
	.main-container > .sidebar .dropdown-menu > li > a {
		padding-top: 8px;
		padding-bottom: 8px;
	}
	.main-container > .sidebar .controls {
		position: relative;
		text-align: center;
	}

	.main-container > .sidebar .feed-filters .btn {
		text-align: left;
	}
	.main-container > .sidebar .feed-filters .btn i.fa-angle-down {
		margin-top: 2px;
	}

.scroller {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	overflow-y: scroll;
	height: 100%;
	opacity: 1;
}
	.table .scroller {
		display: none;
	}


	.scroller {
		scrollbar-width: auto;
	}
	
	.scroller::-webkit-scrollbar {
		width: .5rem;
	}
	
	.scroller::-webkit-scrollbar-track {
		background: #222;
	}
	
	.scroller::-webkit-scrollbar-thumb {
		background: #ccc;
	}
	
	.scroller::-webkit-scrollbar-thumb:hover {
		background: #ccc;
	}
	  

.item-list {
	opacity: 1;
}
	.item {
		display: block;
		width: 100%;
		padding-top: 10px;
		padding-bottom: 10px;
		padding-left: 15px;
		padding-right: 15px;
		font-size: .9em;
		border: none;
	}
	.item .mag-and-dep {
		display: flex;
		align-items: center;
	}
	.item .mag,
	.item .dep {
		flex: 1;
	}
	.item .mag {
		font-weight: bold;
		font-size: 1.25em;
	}
	.item .date {
		opacity: .66;
	}
	a.item:hover,
	a.item:focus {
		text-decoration: none;
	}
	.item p {
		margin: 0 !important;
	}
	.item .row {
		margin: 0;
	}
	.item .col-xs-1,
	.item .col-xs-2,
	.item .col-xs-3,
	.item .col-xs-4,
	.item .col-xs-5,
	.item .col-xs-6 {
		padding: 0;
	}

.sidebar .clock {
	padding-top: .5rem;
	padding-bottom: 1rem;
}

.clock-and-other-controls {
	display: flex;
	flex-direction: column;
}
.table .clock-and-other-controls {
	flex-direction: row;
	justify-content: space-between;
}

@media(max-width: 500px) {
	.table .clock-and-other-controls {
		display: block
	}
}
@media (max-height: 800px) {
	.map .clock-and-other-controls .clock {
		display: none !important;
	}
}

.table .clock-and-other-controls .clock {
	flex: 0 0 170px;
}
.table .clock-and-other-controls .filler {
		flex: 0 100 170px;
}
.table .clock-and-other-controls .other-controls {
	flex: 0 1 650px;
	padding-left: 1rem;
}

.filters-dropdown .dropdown-menu {
	width: 100%;
}

/* COLORS AND STYLING ------------------------------------------ */

.sidebar {
	background-color: #eee;
}
	.sidebar .header {
		border-bottom: 1px solid #ddd;
	}

.sidebar .btn-collapse {
	background-color: #eee;
}
	.sidebar .btn-collapse:hover {
			background-color: #ccc;
	}

.view-controls .btn {
	color: #999;
	background: transparent;
	box-shadow: none;
}
	.view-controls .btn:focus {
		outline: none;
	}
	.view-controls .btn:hover {
		color: #666;
		text-decoration: underline;
	}
	.view-controls .btn.active {
		color: black;
	}

.feed-sources .form-control {
	border: 1px solid #ddd;
	box-shadow: none;
}
	.feed-sources .dropdown-menu .fa {
		color: darkorange;
	}
	.feed-sources .dropdown-menu > li.active > a {
		color: black;
		background-color: #ddd;
	}


.feed-filters .btn {
	color: black;
	background-color: white;
	border: 1px solid #ddd;
	border-right: none;
}
	.feed-filters .btn .fa {
		color: #666;
	}
	.feed-filters .btn:last-child {
		border-right: 1px solid #ddd;
	}
	.filters-dropdown .dropdown-menu > li.active > a {
		color: black;
		background-color: #ddd;
	}

.item-list > .item {
	text-align: left;
	color: #333;
	border-bottom: 1px solid #ddd;
}
	.item-list > .item .fa {
		color: #999;
	}
	.item-list > .item:hover {
		background-color: #e3e3e3;
	}
	.item-list > .item:active {
		background-color: #ccc;
	}
		.item-list > .item.item-danger {
			font-weight: bold;
			color: #600;
			border-left: 4px solid darkred;
		}
		.item-list > .item.item-danger .fa {
			color: darkred;
			opacity: .5;
		}
		
.sidebar-footer .btn {
	padding: 3px 10px;
	color: #666;
	background-color: transparent;
}
	.sidebar-footer .btn:hover {
		background-color: #eaeaea;
		border: 1px solid #ccc;
	}

.leaflet-popup-content-wrapper {
	font-family: Changa, sans-serif;
	border-radius: 4px !important;
}