@media screen {
	/**
	Header
	**/
	#PBFPageHeader {
		height: 40px;
		background-image: url(/i/SDL.png);
		background-position: 60px 0;
		background-repeat: no-repeat;
		background-color: #333333;
		color: #FFFFFF;
		align: right;
		font-size: 11px;
	}

	/**
	Menu
	**/
	* html #PBFMenu {
		width: 222px;
		background-color: #FFFFFF;
		height: 100%;
		border-color: #666666;
		border-style: solid;
		border-width: 0 1px 0 0;
		overflow-x: hidden;
		overflow-y: auto;
		font-size: 12px;
	}
	html>body #PBFMenu {
		width: 222px;
		background-color: #FFFFFF;
		position: absolute;
		top: 41px;
		bottom: 65px;
		overflow: auto;
		border-color: #666666;
		border-style: solid;
		border-width: 0 1px 0 0;
		overflow-x: hidden;
		overflow-y: auto;
		font-size: 12px;
	}
	.PBFMenuHeader {
		-webkit-border-radius: 2px 2px 2px 2px;
		-moz-border-radius: 2px 2px 2px 2px;
		border-radius: 2px 2px 2px 2px;
		margin: 10pt 10pt 2pt 10pt;
		padding: 2px 5px;
		border: 0 solid #bbbbbb;
		border-bottom-width: 1px;
		text-align: right;
		font-size: 14px;
	}
	#PBFMenu a {
		border: solid 1px #ffffff;
		border-right-width: 3px;
		display: block;
		background-color: #ffffff;
		margin: 1px 25px;
		padding: 2pt 3pt;
		text-decoration: none;
		overflow: hidden;
	}
	#PBFMenu a:hover {
		border: solid 1px #666666;
		border-right-width: 3px;
		background-color: #eeeeee;
	}
	.PBFMenuLink {
		text-align: right;
	}

	/**
	Footer
	**/
	* html #PBFFooter {
		-webkit-border-radius: 4px 4px 0px 0px;
		-moz-border-radius: 4px 4px 0px 0px;
		border-radius: 4px 4px 0px 0px;
		border: 1px solid #777777;
		background-color: #ffffff;
		line-height: 15pt;
		height: 100%;
		overflow-x: hidden;
		overflow-y: auto;
		padding: 4px;
		border-bottom-width: 0px;
	}
	html>body #PBFFooter {
		-webkit-border-radius: 4px 4px 0px 0px;
		-moz-border-radius: 4px 4px 0px 0px;
		border-radius: 4px 4px 0px 0px;
		border: 1px solid #777777;
		background-color: #ffffff;
		position: absolute;
		line-height: 15pt;
		left: 50px;
		right: 50px;
		bottom: 0px;
		overflow: auto;
		overflow-x: hidden;
		overflow-y: auto;
		float: left;
		padding: 8px 20px;
		border-bottom-width: 0px;
	}
	#PBFPageFooterLogo {
		position: relative;
		right: 10pt;
		float: right;
	}
	#PBFPageFooterContent {
		padding-top: 4pt;
		float: left;
	}

	/**
	Content
	**/
	* html #PBFPageContent #PBFContent {
		background-color: #ffffff;
		height: 100%;
		width: 100%;
		border-color: #666666;
		padding-bottom: 80px;
	}
	html>body #PBFPageContent #PBFContent {
		background-color: #ffffff;
		padding-bottom: 80px;
	}
	* html #PBFPageContent {
		top: 41px;
		bottom: 0px;
		left: 223px;
		right: 70px;
		float: right;
		overflow-x: auto;
		overflow-y: auto;
	}
	html>body #PBFPageContent {
		top: 41px;
		bottom: 0px;
		left: 223px;
		right: 0px;
		position: fixed;
		padding-bottom: 60px;
		overflow-x: auto;
		overflow-y: auto;
	}
	#PBFContent {
		padding: 15px;
	}
	#PBFLoginBox {
		padding: 15px;
	}
}

@media screen , print {
	.PBFBox {
		border-radius: 4px 4px 4px 4px;
		border: solid 1px #999999;
		/*background-color: #EEEEEE;*/
		border-shaddow: 0 1px 1px rgba(0, 0, 0, 0, .05) inset;
		display: table;
		width: 100%;
	}
	.PBFHoverBox {
		margin: 2px;
		border: solid 1px #999999;
		background-color: #EEEEEE;
	}
	.PBFRBoxTitle {
		border-radius: 4px 4px 0px 0px;
		border-bottom: 1px solid #777777;
		background-color: #dddddd;
		color: #777777;
		padding: 3px;
		font-weight: normal;
		margin: 1px;
		padding-left: 7px;
		font-size: 20px;
	}
	.PBFSBoxTitle {
		border-radius: 4px 4px 0px 0px;
		border-bottom: 1px solid #777777;
		background-color: #333333;
		color: #ffffff;
		padding: 3px;
		font-weight: normal;
		margin: 1px;
		padding-left: 7px;
		font-size: 14px;
	}
	.PBFBoxTitle {
		background-color: #003366;
		color: #ffffff;
		padding: 3px;
		font-weight: 100;
		margin: 1px;
		padding-left: 7px;
	}
	.PBFBoxErrorTitle {
		border-radius: 4px 4px 0px 0px;
		border-bottom: 1px solid #777777;
		background-color: #990000;
		color: #ffffff;
		padding: 3px;
		font-weight: bold;
		margin: 1px;
		padding-left: 7px;
	}
	.PBFBoxContent {
		margin: 5px;
	}
	.PBFHoverBoxContent {
		margin: 0px;
	}
	.PBFBoxContentError {
		margin: 5px;
		padding: 5px;
		border: solid 1px #999999;
		background-color: #DDDDDD;
		color: #FF0000;
	}
	#PBFHoverInfo {
		position: absolute;
		top: -1px;
		left: -1px;
		z-index: 100;
		border: solid 1px #999999;
		background-color: #DDDDDD;
	}
}

@media print {
	#PBFPageHeaderTR {
		background-color: #ff0066;
		height: 90pt;
		display: none;
	}
	#PBFPageHeader {
		display: block;
		width: 100%;
		height: 100%;
		background-color: #ff0066;
	}
	#PBFPrintPageHeaderTR {
		background-color: #ff0066;
		height: 90pt;
		display: block;
	}
	#PBFPrintPageHeader {
		display: block;
		width: 100%;
		height: 100%;
		background-color: #ff0066;
	}
	#PBFPageHeaderUserData {
		display: none;
	}
}



/* Shiiping */

#PrintLabelForm .btn-group-justified {
	display: initial;
}

#PrintLabelPanel .form-group {
	margin: 5px 0;
}

#PrintLabelPanel .form-group .input-group-addon {
	padding: 5px 5px;
}
#PrintLabelPanel label {
	margin: 0;
}
/* header buttons */
/*#toolbar .panel-heading button {
#ClosePrintModal, #CollapsePanel, #ExpandToModal {
	margin-left: 5px;
	font-size: 20px;
}*/
.panel-heading > button, .modal-header > button { /*#ClosePrintModal,.CollapsePanel, #ExpandToModal {*/
	margin-left: 5px;
	font-size: 15px;
}
.rotate {
	transform: rotate(180deg);
}

/* footer buttons */
#PrintLabelFooter button {
	width: 50%;
}

/* better hr style */
#PrintLabelPanel hr {
	margin: 5px 15px;
	border: 0;
	height: 1px;
	background: #333;
	background-image: linear-gradient(to right, #333, #f5f5f5);
}

/* address encoding failure warning */
#PrintWarning {
	margin: 10px 30px 10px 50px;
	white-space: normal;
	display: none;
}
#PrintWarningFooter {
	display: none;
	border-color: transparent;
	background-repeat: repeat;
	margin: 0px 13px 5px 13px;
}
#PrintWarningFooter > .glyphicon:first-of-type {
	float:left;
	top: 16px;
	left: 10px;
	font-size:200%;
	display:none;
}

#PrintWarningFooter > button:first-of-type {
	margin-top: 5px;
	margin-right: 5px;
	font-size:125%;
	color: #a94442;
	display:none;
}
.PrintLabelPanelAsModal {
	width: auto !important;
	height: auto !important;
	left: calc(100%/3);
}
.PrintLabelPanelAsModal > * {
	/*width: auto;*/
	margin: 20px auto auto auto;
}
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input[type=number] {
	-moz-appearance:textfield;
}


/*** */

#SearchBody .btn, #ReceiptNumber {
	border-radius: 0;
}
#SearchReceipt {
	border-radius: 0;
}
#DirectPrint {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
/* receipt warnings */
#ReceiptWarning, #ReceiptError {
	display: inline-block;
	margin: 15px 70px 15px 10px;
	vertical-align: middle;
	white-space: normal;
}
#SearchFooterWarning.alert-warning, #SearchFooterError.alert-danger {
	display:none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-color: transparent;
	background-repeat: repeat;
	margin-bottom: 0;
	padding: 0;
}
#SearchFooterWarning.alert-warning > .glyphicon:first-of-type, #SearchFooterError.alert-danger > .glyphicon:first-of-type {
	vertical-align: middle;
	display: inline-block;
	margin: 15px 0 15px 10px;
	font-size:200%;
}
#SearchFooterWarning.alert-warning > button:first-of-type, #SearchFooterError.alert-danger > button:first-of-type {
	display: inline-block;
	margin-right: 5px;
	margin-top: 5px;
	font-size:125%;
	color: #a94442;
}
/* override error */
#SearchFooterOverride {
	display: none;
}
#SearchFooterOverride button {
	display: inline-block;
	width: 50%;
}


label.btn-default.active:hover {
	background-color: rgb(58, 174, 208);
	border-color: rgb(27, 109, 133);
	color: rgb(255, 255, 255);
	text-shadow: none;
}

label.btn-default.active {
	background-color: rgb(38, 154, 188);
	border-color: rgb(27, 109, 133);
	color: rgb(255, 255, 255);
	text-shadow: none;
}
/* end Shipping */
