/* Style changes for Bootstrap 4 */

label {
	text-align: right;	/* Enable right-align on form field labels */
}

.list-table {
	font-size: 12px;
}

/* Drag-and-drop styles */

#dropzone {
	width: 100%; 
	height: 200px; 
	background: #cccccc;
	border: 1px solid black;
}
#dropzone.highlight {
	background: #999999;
}

#upform {
	display: none;
}

/* Normal Styles */

.listing-button {
	margin-top: 2px;
	margin-bottom: 2px;
	margin-left: 2px;
	float: right;
}
.listing-heading-left {
	text-align: left;
	font-weight: bold;
}
.form-heading-right {
	text-align: right;
	font-weight: bold;
	padding-right: 0px;
	font-size: 14px;
}
.type-size-12 {
	font-size: 12px;
}
.type-size-13 {
	font-size: 13px;
}
.type-size-14 {
	font-size: 14px;
}
.button-size-12 {
	margin-top: 2px;
	margin-bottom: 2px;
	margin-left: 2px;
	float: right;
	font-size: 12px;
}
.biz-listing {
	line-height: 14px;
	padding: 4px 0 4px 40px;
}
.biz-button-margin {
	padding-right: 20px;
}

.doc_table {
	padding: 2px;
	border: #111111;
}

.doc_table tr:nth-child(even) {
	background: #fff;
}

.doc_table tr:nth-child(odd) {
	background: #ddd;
}

/* Create an extra small button */

.btn-group-xs > .btn, .btn-xs {
	padding: .25rem .4rem;
	font-size: .875rem;
	line-height: .75;
	border-radius: .2rem;
}

/* Toggle Styles */

#wrapper {
	padding-left: 0;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

#wrapper.toggled {
	padding-left: 200px;
}

#sidebar-wrapper {
	z-index: 1000;
	position: fixed;
	left: 200px;
	width: 0;
	height: 100%;
	margin-left: -200px;
	overflow-y: auto;
	background: #000;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
	width: 200px;
}

#page-content-wrapper {
	width: 100%;
	position: absolute;
	padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
	position: absolute;
	margin-right: -200px;
}

/* Sidebar Styles */

.sidebar-nav {
	position: absolute;
	top: 0;
	width: 200px;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	background-image: url(images/mesh-1280x720.jpg);
	background-repeat: repeat-y;
	background-size: cover;
	background-position: center center;
}

.sidebar-nav li {
	text-indent: 20px;
	line-height: 40px;
}

.sidebar-nav li a {
	display: block;
	text-decoration: none;
	color: #ffffff;
}

.sidebar-nav li a:hover {
	text-decoration: none;
	color: #fff;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
	text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
	height: 65px;
	font-size: 18px;
	line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
	color: #ffffff;
}

.sidebar-nav > .sidebar-brand a:hover {
	color: #fff;
	background: none;
}

#wrapper #content-visibility {
	display: none;
}

#wrapper.toggled #content-visibility {
	display: block;
}

@media(min-width:768px) {
	#wrapper {
		padding-left: 200px;
	}

	#wrapper.toggled {
		padding-left: 0;
	}

	#sidebar-wrapper {
		width: 200px;
	}

	#wrapper.toggled #sidebar-wrapper {
		width: 0;
	}

	#page-content-wrapper {
		padding: 20px;
		position: relative;
	}

	#wrapper.toggled #page-content-wrapper {
		position: relative;
		margin-right: 0;
	}
}

@media(max-width:768px) {
	label {
		text-align: left;
	}
	#wrapper #content-visibility {
		display: block;
	}
	
	#wrapper.toggled #content-visibility {
		display: none;
	}
	
	.form-heading-right {
		text-align: left;
	}
}

/* Autocomplete Styles */

.autocomplete {
	position: relative;
	display: inline-block;
}

.autocomplete-items {
	position: absolute;
	border: 1px solid #d4d4d4;
	border-bottom: none;
	border-top: none;
	z-index: 99;
	/*position the autocomplete items to be the same width as the container:*/
	top: 100%;
	left: 0;
	right: 0;
}

.autocomplete-items div {
	padding: 10px;
	cursor: pointer;
	background-color: #fff; 
	border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
	background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
	background-color: DodgerBlue !important; 
	color: #ffffff; 
}
