.product_detail input[type=text] {
	width: 240px;
}

.product_detail .admin_tools {
	left: 6px;
	top: -15px;
	color: white;
	font-weight: bold;
	background-color: #e5abab;
	border-color: #be8e8e;
	margin: 4px 0;
	padding: 6px 10px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
}

.product_detail .admin_only td, .product_detail .admin_only th {
	background-color: #099;
}

.product_detail .item_desc .validation-advice {
	background: #ffff00 url(../gfx/admin/caution.gif) no-repeat 4px 8px;
	border-color: #ff0000;
	font-weight: bold;
	padding-left: 24px;
}

.product_detail .rec_desc .validation-advice {
	background: #ffff00;
	border-color: #ff0000;
	font-weight: bold;
}

.admin_tools a {
	background: #ccc;
	border: 1px solid #bbb;
	border-radius: 7px;
	margin: 0;
	padding: 3px 10px 3px 8px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.25);
}

.admin_tools a:hover {
	background: #bbb;
}

.admin_tools a.selected {
	background: #aaa;
}

.admin_tools a span {
	display: inline-block;
	/*float: left;*/
	/*position: relative;*/
	width: 8px;
	height: 8px;
	margin: 0 6px 1px 0px;
	border-radius: 8px;
	background-color: #bbb;

	background-image: -webkit-radial-gradient(50%, #999 10%, #ccc 100%);
}

.admin_tools a.selected span {
	background-color: #00ff00;

	background-image: radial-gradient(50% 50%, circle cover, #0f0, #0c0 100%);
	background-image: -webkit-radial-gradient(50%, #0f0 10%, #0c0 100%);
	box-shadow: 0px 0px 10px 5px #88FF88;
}

.admin_tools a img {
	position: relative;
	top: 3px;
}

.admin_tools button.btn_del {
	float: right;
}

.admin .pagesnav {
	text-align: left;
	margin-left: 42px;
}

.admin .pagesnav a, .admin .pagesnav span {
	padding: 2px 4px;
	font-size: 10px;
	background-color: #ccc;
	color: #333;
	border: 1px solid #999;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.25);
}

.admin .pagesnav a:hover {
	background-color: #bbb;
	background-image: none;
	text-decoration: none;
}

.admin .pagesnav .selected {
	background-color: #999;
}

/* @group admin_orders */

.admin_orders {
	font-size: 10px;
	background: #eeeeee;
	border-spacing: 1px;
}

.admin_orders tr:hover td {
	outline: 1px solid pink;
	/*background: #ddd;*/
}

.admin_orders td {
	background: white;
	padding: 1px 4px;
}

.admin_orders th, .admin_orders th a {
	font-size: 11px;
}

.admin_orders .id {
	width: 35px;
	text-align: center;
}

.admin_orders .date {
	width: 85px;
}

.admin_orders .name {
	width: 200px;
}

.admin_orders .details {
	width: 100px;
}

.admin_orders .shipping {
	width: 25px;
	text-align: center;
}

.admin_orders .price {
	width: 60px;
	text-align: right;
}

.admin_orders .invoice {
	width: 25px;
	text-align: center;
}

.admin_orders .invoice img:hover {
	cursor: pointer;
}

.admin_orders .paiement {
	width: 50px;
	text-align: center;
}

.admin_orders .paiement_brand {
	text-align: center;
}

.admin_orders .status {
	width: 20px;
	text-align: center;
}

.item_detail:hover {
	cursor: pointer;
}

.disabled {
	opacity: 0.1;
}
.flash {
	outline: solid 2px #ff333300;
}
@keyframes glowing {
	0% {
		outline: solid 1px #ff333300;
	}
	50% {
		outline: solid 3px #ff3333cc;
	}
	100% {
		outline: solid 1px #ff333300;
	}
}
.flash {
	animation: glowing 2500ms 1;
}

/* @end */

/* @group order_detail */

.infobox {
	display: none;
	position: relative;
	background: #fff6bf;
	border: 2px solid #ffd324;
	padding: 1px;
}

td.order_ref {
	position: relative;
}

#order_detail {
	display: none;
	position: absolute;
	width: 450px;
	max-height: 90vh;
	overflow: auto;
	left: 120px;
	top: 5%;
	background: #eeeeee;
	text-align: left;
	font-size: 11px;
	border: 2px solid #cccccc;
	box-shadow: 5px 5px 20px rgba(0,0,0,0.5);
}

#order_detail .title_bar {
	background: #dddddd;
	padding: 2px 6px;
}

#order_detail .title_bar a {
	float: left;
	font-size: 10px;
	font-weight: bold;
	color: red;
	margin-right: 1em;
}

#order_detail_content {
	padding: 1px;
}

#order_detail_content td {
	font-size: 11px;
}

#order_detail_content th {
	padding: 1px 8px;
	font-size: 11px;
	text-align: right;
}

#order_detail_content td.price {
	padding: 0 8px;
	text-align: right;
}

#order_detail_content td textarea {
	width: 100%;
}

#order_detail .status button {
	margin: 8px 7px;
	padding: 2px 4px 1px 4px;
	background: #ccc;
	border: 1px solid #aaa;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px; /* future proofing */
}

#order_detail .status button:hover {
	-webkit-box-shadow:
	0 0 1px #9cf, 
	0 0 4px #9cf, 
	0 0 8px #9cf;	
	-moz-box-shadow:
	0 0 1px #9cf, 
	0 0 4px #9cf, 
	0 0 8px #9cf;	
}

#order_detail .status button.selected {
	border-color: #06c;
	-webkit-box-shadow:
	0 0 1px #06c, 
	0 0 4px #06c, 
	0 0 8px #06c;	
	-moz-box-shadow:
	0 0 1px #06c, 
	0 0 4px #06c, 
	0 0 8px #06c;	
}

#order_detail_content tr.shipping td {
	background-color: white;
	color: black;
}

.search_result tr.qty0 .price {
	color: #666666;
}

.historybox {
	position: absolute;
	width: 550px;
	max-width: 100%;
	background: #eeeeee;
	font-size: 11px;
	border: 2px solid #cccccc;
	box-shadow: 5px 5px 20px rgba(0,0,0,0.25);
	z-index: 1011;
}

.historybox p {
	font-size: 11px;
}

.historybox .admin {
	margin: 1em;
}

.historybox h1 {
	font-size: 12px;
	color: #000;
}

/* @end */

/* @group button style */

/* Start custom button CSS here
---------------------------------------- */

.btn {
	display: inline-block;
	background: none;
	margin: 0;
	padding: 3px 0;
	border-width: 0;
	overflow: visible;
	font-size: 10px;
	font-weight: normal;
	text-decoration: none;
	color: #333;
}

* html button.btn {
	padding-bottom: 1px;
}

/* Immediately below is a temporary hack to serve the 
   following margin values only to Gecko browsers
   Gecko browsers add an extra 3px of left/right 
   padding to button elements which can't be overriden.
   Thus, we use -3px of left/right margin to overcome this. */

html:not([lang*=""]) button.btn {
	margin: 0 -3px;
}

.btn span {
	background: #ddd url(../gfx/bg-button.gif) repeat-x 0 0;
	margin: 0;
	padding: 3px 0;
	border-left: 1px solid #bbb;
	border-right: 1px solid #aaa;
}

* html .btn span {
	padding-top: 0;
}

.btn span span {
	position: relative;
	padding: 3px .4em;
	border-width: 0;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #aaa;
}

/* pill classes only needed if using pill style buttons ( LEFT | CENTER | RIGHT ) */

#maintext button.pill-l span {
	border-right-width: 0;
}

#maintext button.pill-l span span {
	border-right: 1px solid #bbb;
}

#maintext button.pill-c span {
	border-right-style: none;
	border-left-color: #fff;
}

#maintext button.pill-c span span {
	border-right: 1px solid #bbb;
}

#maintext button.pill-r span {
	border-left-color: #fff;
}

/* only needed if implementing separate hover/focus/active state for buttons */

.btn:hover span, .btn:hover span span, .btn:focus span, .btn:focus span span {
	cursor: pointer;


/* important for any clickable/pressable element */
  border-color: #9cf !important;
	color: #000;
}

.btn:active span {
	background-position: 0 -400px;
	outline: none;
}

.btn:focus, .btn:active {
	outline: none;


/* doesn't seem to be respected for <button>, only <a> */
}

/* use if one button should be the 'primary' button */

.primary {
	font-weight: bold;
	color: #000;
}

/* @end */

