/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	overflow: hidden;
}
#cboxWrapper {max-width:none;}
#cboxOverlay {
	position:fixed;
	width:100%;
	height:100%;
	background: none repeat scroll 0 0 #999999;
}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.20);
	margin: 20px;
	padding: 20px;
}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;
	background: url("gui/controls.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent {
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background: none repeat scroll 0 0 #999; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
    #cboxContent{
		overflow:visible; background:#fff;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{
			box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.20);
			margin: 20px;
			padding: 20px;
		}
        #cboxLoadingGraphic{background:url("gui/loading.gif") no-repeat center center;}
        #cboxLoadingOverlay{background:#FFF;}
        #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
        #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background: url("gui/controls.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxPrevious{background-position:0px 0px; right:44px;}
        #cboxPrevious:hover{background-position:0px -25px;}
        #cboxNext{background-position:-25px 0px; right:22px;}
        #cboxNext:hover{background-position:-25px -25px;}
        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}

#cboxPrint {
	display: block;
	height: 40px;
	position: absolute;
	right: 80px;
	top: 30px;
	z-index: 5000;
	border-radius: 5px 0 0 5px;
	cursor: pointer;
	background-image: url("gui/tile-print-light.png");
	background-position: 14px center;
	background-repeat: no-repeat;
	background-size: 24px, auto;
	/*box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.04);*/
	font-variant: small-caps;
	line-height: 40px;
	padding: 0 20px 0 50px;
	text-transform: uppercase;
	opacity: 0.33;
	transition: all .4s ease-in;
	color: #FFFFFF;
}
#cboxContent:hover #cboxPrint {
	background-color: #237992;
	color: #FFFFFF;
}
#cboxContent #cboxPrint:hover {
	opacity: 1;
}
#cboxPrintOrder {
	display: block;
	height: 40px;
	width: 40px;
	position: absolute;
	right: 200px;
	top: 30px;
	z-index: 5000;
	border-radius: 5px 0 0 5px;
	font-size: 0;
	cursor: pointer;
	background-image: url("gui/tile-print-light.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 24px, auto;
	/*box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.04);*/
	font-variant: small-caps;
	line-height: 40px;
	/*padding: 0 20px 0 50px;*/
	padding: 0;
	text-transform: uppercase;
	opacity: 0.33;
	transition: all .4s ease-in;
	color: #FFFFFF;
}
#cboxContent:hover #cboxPrintOrder {
	background-color: #237992;
	color: #FFFFFF;
}
#cboxContent #cboxPrintOrder:hover {
	opacity: 1;
}
#cboxEditOrder {
	display: block;
	height: 40px;
	width: 40px;
	position: absolute;
	right: 120px;
	top: 30px;
	font-size: 0;
	z-index: 5000;
	border-radius: 0;
	cursor: pointer;
	background-image: url("gui/tile-edit-light.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 24px, auto;
	/*box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.04);*/
	font-variant: small-caps;
	line-height: 40px;
	padding: 0 0;
	text-transform: uppercase;
	opacity: 0.33;
	transition: all .4s ease-in;
	color: #FFFFFF;
}
#cboxContent:hover #cboxEditOrder {
	background-color: #CD9D00;
	color: #FFFFFF;
}
#cboxContent #cboxEditOrder:hover {
	opacity: 1;
}
#cboxConfirmOrder {
	display: block;
	height: 40px;
	width: 40px;
	position: absolute;
	right: 80px;
	top: 30px;
	z-index: 5000;
	font-size: 0;
	border-radius: 0;
	cursor: pointer;
	background-image: url("gui/tile-ok-light.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 24px, auto;
	/*box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.04);*/
	font-variant: small-caps;
	line-height: 40px;
	padding: 0;
	text-transform: uppercase;
	opacity: 0.33;
	transition: all .4s ease-in;
	color: #FFFFFF;
}
#cboxContent:hover #cboxConfirmOrder {
	background-color: #4B9251;
	color: #FFFFFF;
}
#cboxContent #cboxConfirmOrder:hover {
	opacity: 1;
}
#cboxDiscardOrder {
	display: block;
	height: 40px;
	width: 40px;
	position: absolute;
	right: 160px;
	top: 30px;
	z-index: 5000;
	font-size: 0;
	border-radius: 0;
	cursor: pointer;
	background-image: url("gui/tile-trash-light.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 24px, auto;
	/*box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.04);*/
	font-variant: small-caps;
	line-height: 40px;
	padding: 0;
	text-transform: uppercase;
	opacity: 0.33;
	transition: all .4s ease-in;
	color: #FFFFFF;
}
#cboxContent:hover #cboxDiscardOrder {
	background-color: #E14949;
	color: #FFFFFF;
}
#cboxContent #cboxDiscardOrder:hover {
	opacity: 1;
}

#cboxContent button:first-of-type {
}
#cboxContent button:last-of-type {
}
#cboxClose {
	background-position: center; right: 40px;
	border-radius: 0 5px 5px 0;
	background-image: url("/styles/gui/tile-close-light.png");
	background-repeat: no-repeat;
	background-size: 20px;
	height: 40px;
	position: absolute;
	top: 30px;
	width: 40px;
	opacity: 0.33;
	transition: all .4s ease-in;
}
#cboxContent:hover #cboxClose {
	background-color: darkred;
	color: #FFFFFF;
}
#cboxContent #cboxClose:hover {
	opacity: 1;
}

#cboxContent .toolbar-orders {
	display: inline-block;
	position: absolute;
	top: 30px;
	width: 100%;
	height: 40px;
}
#cboxContent .toolbar-orders > * {
	top: 0;
	cursor: pointer;
}
#cboxContent .toolbar-orders #cboxClose {
	right: 40px;
}
#cboxContent .toolbar-orders #cboxConfirmOrder {
	right: 80px;
}
#cboxContent .toolbar-orders #cboxEditOrder {
	right: 120px;
}
#cboxContent .toolbar-orders #cboxDiscardOrder {
	right: 160px;
}
#cboxContent .toolbar-orders #cboxPrintOrder {
	right: 200px;
}



.sidekick #cboxContent {
	padding: 0;
	margin: 0;
	box-shadow: -15px 0 7px 0 rgba(0, 0, 0, 0.55);
	height: 100% !important;
}
.sidekick #cboxLoadedContent {
	padding: 0;
	margin: 0;
	box-shadow: none;
	overflow-y: scroll;
}
.sidekick .board {
	top: 5px;
	bottom: 5px;
	left: 5px;
	right: 5px;
}
.sidekick table {
	margin: 15px;
	width: 600px;
}
.sidekick thead th {
	text-align: left !important;
	font-variant: all-small-caps;
}
.sidekick td,
.sidekick th {
	padding: 5px 5px;
}
.sidekick th:nth-child(2),
.sidekick td:nth-child(2) {
	text-align: right;
	max-width: 4em;
}
.sidekick tr {
	border-bottom: 1px solid #d7d7d7;
}
.sidekick input,
.sidekick select
{
	border: 0 solid #d7d7d7;
}

.sidekick #cboxClose {
	background-image: none;
	border-radius: 0 0 0 50%;
	height: 100px;
	margin: 0;
	padding: 0;
	right: -50px;
	top: -50px;
	width: 100px;
}
.sidekick #cboxClose:before {

}
.sidekick #cboxClose::after {
	position: absolute;
	display: block;
	width: 20px;
	height: 20px;
	bottom: 22px;
	left: 22px;
	color: #F4F4F4;
	content: "x";
	background-image: url("/styles/gui/tile-close-light.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 20px auto;
	font-weight: bold;
	text-indent: 0;

}
.sidekick .select2-container .select2-choice {
	-moz-user-select: none;
	background-clip: padding-box;
	background-color: transparent;
	background-image: none;
	border: none;
	border-radius: 0;
	color: #615347;
	display: block;
	font: 12px/20px "Open Sans",Helvetica,sans-serif;
	height: 20px;
	overflow: hidden;
	padding: 0 0 0 8px;
	position: relative;
	text-decoration: none;
	white-space: nowrap;
}
.sidekick .select2-container .select2-choice:hover {
	border-bottom: 1px solid;
}
.sidekick .select2-container .select2-choice .select2-arrow b {
	background-position: 0 0px;
}
.sidekick .select2-dropdown-open .select2-choice .select2-arrow b {
	background-position: -18px 0;
}
.sidekick .controls-bottom .submit {
	margin: 0 0 0 15px;
}
.sidekick .code {
	width: 20px;
}