.modal {
	text-align: center;
	padding: 0!important;
}

.modal:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -4px; /* Adjusts for spacing */
}

.modal-dialog {
	display: inline-block;
	text-align: left;
	vertical-align: middle;
}

.modal-header {
    cursor: move;
}

.dropdown-menu {
	height: auto !important;
}

.select2-container {
	width: 100% !important;
	padding: 0;
}

.btn.disabled {
	pointer-events: auto;
}

.modal-md-lg {
	width: 720px;
}

.tab-content {
    padding: 10px 0px 10px 0px;
}
/* bootstrap hack: fix content width inside hidden tabs */
.tab-content > .tab-pane,
.pill-content > .pill-pane {
	display: block;     /* undo display:none          */
	height: 0;          /* height:0 is also invisible */
	overflow-y: hidden; /* no-overflow                */
}
.tab-content > .active,
.pill-content > .active {
	height: auto;       /* let the content decide it  */
} /* bootstrap hack end */

.navbar-default {
	margin-bottom: 0px;
}

.navbar .brand {
	max-height: 40px;
	overflow: visible;
	padding-top: 0;
	padding-bottom: 0;
}

.navbar a.navbar-brand {
	padding: 9px 15px 8px;
}

.panel {
	overflow: hidden;
}

.panel-heading {
	padding: 4px 10px;
	height: 30px;
}

.panel-body {
	height: 100%;
	overflow-y: auto;
	padding: 10px;
}

.panel-body::-webkit-scrollbar {
	width: 10px;
}
.panel-body::-webkit-scrollbar-track {
	background-color: #eaeaea;
	border-left: 1px solid #ccc;
}
.panel-body::-webkit-scrollbar-thumb {
	background-color: #ccc;
}
.panel-body::-webkit-scrollbar-thumb:hover {
	background-color: #aaa;
}

.nav-tabs a {
	height: 25px;
}

.nav-tabs a {
	height: 25px;
}

.nav-tabs>li>a {
	padding: 2px 10px;
}

.nav-pills a {
	height: 30px;
}

.nav-pills a {
	height: 30px;
}

.nav-pills>li>a {
	padding-top: 4px;
}

.nav-div:hover {
	text-decoration: none;
	background-color: #eeeeee;
}

.nav-div {
	overflow: hidden;
}

.nav .nav-divider {
	margin: 7px 0;
}

.btn-group-vertical>.btn, .btn-group-vertical>.btn-group, .btn-group-vertical>.btn-group>.btn {
	float: left;
}

.input-xs {
	height: 22px;
	padding: 5px 5px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 3px;
}

.table-bordered thead tr {
	background-color: #fafafa;
	background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
	background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
	background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
	background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
}

/* Breadcrumbs from http://bootsnipp.com/snippets/featured/triangle-breadcrumbs-arrows */
.btn-breadcrumb .btn:not(:last-child):after {
	content: " ";
	display: block;
	width: 0;
	height: 0;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-left: 9px solid white;
	position: absolute;
	top: 50%;
	margin-top: -9px;
	left: 100%;
	z-index: 3;
}
.btn-breadcrumb .btn:not(:last-child):before {
	content: " ";
	display: block;
	width: 0;
	height: 0;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-left: 9px solid rgb(173, 173, 173);
	position: absolute;
	top: 50%;
	margin-top: -9px;
	margin-left: 1px;
	left: 100%;
	z-index: 3;
}

.btn-breadcrumb .btn {
	padding: 0px 12px 0px 24px;
}
.btn-breadcrumb .btn:first-child {
	padding: 0px 6px 0px 10px;
}
.btn-breadcrumb .btn:last-child {
	padding: 0px 18px 0px 24px;
}

/** Default button **/
.btn-breadcrumb .btn.btn-default:not(:last-child):after {
	border-left: 9px solid #fff;
}
.btn-breadcrumb .btn.btn-default:not(:last-child):before {
	border-left: 9px solid #ccc;
}
.btn-breadcrumb .btn.btn-default:hover:not(:last-child):after {
	border-left: 9px solid #ebebeb;
}
.btn-breadcrumb .btn.btn-default:hover:not(:last-child):before {
	border-left: 9px solid #adadad;
}

/* The responsive part */

.btn-breadcrumb > * > div {
	/* With less: .text-overflow(); */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.btn-breadcrumb > *:nth-child(n+2) {
	display:none;
}

/* === For phones =================================== */
@media (max-width: 767px) {
	.btn-breadcrumb > *:nth-last-child(-n+2) {
		display:block;
	}
	.btn-breadcrumb > * div {
		max-width: 60px;
	}
}

/* === For tablets ================================== */
@media (min-width: 768px) and (max-width:991px) {
	.btn-breadcrumb > *:nth-last-child(-n+4) {
		display:block;
	}
	.btn-breadcrumb > * div {
		max-width: 100px;
	}
}

/* === For desktops ================================== */
@media (min-width: 992px) {
	.btn-breadcrumb > *:nth-last-child(-n+6) {
		display:block;
	}
	.btn-breadcrumb > * div {
		max-width: 170px;
	}
}
