/*
    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;
}