body {
	padding-top: 70px;
	padding-bottom: 30px;
	overscroll-behavior-y: none;
}

.alertify-notifier { z-index:999999 !important; }

.theme-dropdown .dropdown-menu {
	display: block;
	position: static;
	margin-bottom: 20px;
}

.theme-showcase > p > .btn {
	margin: 5px 0;
}

a.badge.red:hover {
	background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c));
	background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c9302c, 100%);
	background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%);
	background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
	background-repeat: repeat-x;
	border-color: #c12e2a;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
}

.modal-footer {
	margin-top: 0px;
}

.dropdown-menu.long {
	max-height: 400px;
	overflow: hidden;
	overflow-y: auto;
}

a.dropdown-toggle {
	position: relative;
}

a.dropdown-toggle::before {
	content: "";
	display: inline-block;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-bottom: 7px solid #ccc;
	border-bottom-color: rgba(0, 0, 0, 0.2);
	position: absolute;
	bottom: -2px;
	right: 7px;
	display: none;
}
a.dropdown-toggle::after {
	content: "";
	display: inline-block;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid white;
	position: absolute;
	bottom: -2px;
	right: 8px;
	z-index: 1001;
	display: none;
}

.open > a.dropdown-toggle::before,
.open > a.dropdown-toggle::after {
	display: block;
}

.dropdown-menu > li {
	position: relative;
	-webkit-user-select: none; /* Chrome/Safari */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+ */
	/* Rules below not implemented in browsers yet */
	-o-user-select: none;
	user-select: none;
	cursor: pointer;
}
.dropdown-menu .sub-menu {
	left: 100%;
	position: absolute;
	top: 0;
	display: none;
	margin-top: -1px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.right-caret:after,
.left-caret:after {
	content: "";
	border-bottom: 5px solid transparent;
	border-top: 5px solid transparent;
	display: inline-block;
	height: 0;
	vertical-align: middle;
	width: 0;
	margin-left: 5px;
}
.right-caret:after {
	border-left: 5px solid #ffaf46;
}
.left-caret:after {
	border-right: 5px solid #ffaf46;
}

#data {
	position: relative;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	height: 400px;
}

.navbar-form input,
.form-inline input {
	width: auto;
}

.dropdown-menu {
	min-width: 250px;
}

.logout {
	min-width: 100px;
}

.navbar-toggle:hover {
	background-color: #fff;
}

.first-header {
	margin-top: 0px;
}

@font-face {
	font-family: "StateFaceRegular";
	src: url("../fonts/stateface-regular-webfont.eot");
	src: url("../fonts/stateface-regular-webfont.eot?#iefix") format("embedded-opentype"),
		url("../fonts/stateface-regular-webfont.woff") format("woff"),
		url("../fonts/stateface-regular-webfont.ttf") format("truetype"),
		url("../fonts/stateface-regular-webfont.svg#StateFaceRegular") format("svg");
	font-weight: normal;
	font-style: normal;
}

tr.badgerows td {
	vertical-align: middle !important;
}

.icon-sm {
	font-size: 14px;
}

.button-smtext {
	font-size: 10px;
}

.thumbnail {
	margin: 10px 10px 10px 10px;
}

.spinner {
	width: 100px;
}
.spinner input {
	text-align: right;
}
.input-group-btn-vertical {
	position: relative;
	white-space: nowrap;
	width: 1%;
	vertical-align: middle;
	display: table-cell;
}
.input-group-btn-vertical > .btn {
	display: block;
	float: none;
	width: 100%;
	max-width: 100%;
	padding: 8px;
	margin-left: -1px;
	position: relative;
	border-radius: 0;
}
.input-group-btn-vertical > .btn:first-child {
	border-top-right-radius: 4px;
}
.input-group-btn-vertical > .btn:last-child {
	margin-top: -2px;
	border-bottom-right-radius: 4px;
}
.input-group-btn-vertical i {
	position: absolute;
	top: 0;
	left: 4px;
}

@media (min-width: 1092px) {
	.modal-lg {
		width: 1060px;
	}
}

.needs_updated td {
	background-color: #f2a921 !important;
}

.flex_color1 td {
	background-color: #e2e2e2 !important;
	border-bottom: 1px solid #e2e2e2 !important;
	border-top: 1px solid #e2e2e2 !important;
}
.flex_color2 td {
	background-color: #f2a921 !important;
	border-bottom: 1px solid #f2a921 !important;
	border-top: 1px solid #f2a921 !important;
}

.subrows td {
	background-color: #e2e2e2;
	border-bottom: 1px solid #dddddd;
	border-top: 1px solid #eeeeee;
}

/*.subrows
{
	background-color: #000000;
	border-left: 1px solid #dddddd;
	border-right: 1px solid #dddddd;
}*/

.subrows td:first-child {
	background-color: #ffffff;
	border-top: 1px solid #ffffff;
	border-left: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	border-right: 1px solid #ffffff;
}

.subrows td:nth-child(2) {
	background-color: #ffffff;
	border-top: 1px solid #ffffff;
	border-left: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	border-right: 1px solid #dddddd;
}

.ReRoll {
	padding-left: 10px;
}


@media print {
	/* All your print styles go here */
	#header,
	#footer,
	#nav,
	.navbar
	{
		display: none !important;
	}

	@page
	{
		size: auto;   /* auto is the initial value */
		margin: 0;  /* this affects the margin in the printer settings */
		padding-top: 0px;
        padding-bottom: 20px;
	}

	@page:first
	{
		margin: -50px 0px 0px 0px;
    	padding-top: 0px !important;
        padding-bottom: 20px !important;
	}

	body {
           
       }

	a[href]:after
	{
		content: none !important;
	}

	.btn{
		display: none !important;
	}
}

#skills_p1
{
	display: none;
}

.inline_input
{
	max-width: 60px;
	text-align: center;
}

.dropdown-header
{
	font-size: 20px;
}

/* Remove background from all dropdown headers */
.dropdown-header {
    background-color: transparent !important;
    background-image: none !important;

}

/* Ensure dropdown-header does not change background on hover */
.dropdown-header:hover,
.dropdown-header:focus {
	background-image: none !important;
}

/* Ensure dropdown-header links inside do not get a background */
.dropdown-header a {
    background-color: transparent !important;
    background-image: none !important;
    border: 2px solid transparent;
 
    padding: 0px 15px !important; /* Maintain padding */
}

/* Keep icon color white */
.dropdown-header a i {
	background-image: none !important;
}

/* Ensure no background change for the a tag inside header */
.dropdown-header a:hover,
.dropdown-header a:focus {
    background-color: transparent !important;
    background-image: none !important;
    border: 2px solid #999999;

}

/* Override Bootstrap .dropdown-menu li:hover */
.dropdown-menu li.dropdown-header:hover {
    background-color: transparent !important;
    background-image: none !important;
}