/* 
    Created on : Aug 16, 2018, 2:56:16 PM
    Author     : dmitry
*/
#content::after {
	content: '';
	display: table;
	clear: both;
}
.Display_Search.table {
	display: block;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 20px 0;
}
.Display_Search p {
	display: inline-block;
	min-width: 0;
}
h1 {
	margin: 10px auto 20px;
}
.half {
	display: block;
	float: left;
	width: 50%;
	box-sizing: border-box;
	padding: 0 25px;
	margin: 25px 0;
}

.half h2 {
	font-size: 18px;
	text-align: left;
	padding: 0;
	margin: 0 0 15px 0;
}
.half > p {
	margin: 0 0 25px 0;
}
#viewSingleOrder {
	border-right: 2px dashed #eee;
}
#viewSingleOrder form > p {
	margin: 5px 0 10px 0;
}
#viewSingleOrder label {
	display: block;
	color: #555;
	font-size: 14px;
	margin: 0 0 3px 0;
}
#viewSingleOrder input[type=text],
#viewSingleOrder input[type=email]{
	width: 100%;
	height: 30px;
	box-sizing: border-box;
}
#viewSingleOrder .buttons {
	padding: 20px 0 0 0;
}

#viewSingleOrder input[type=submit] {
	width: 100%;
}

.OrderHistory_Form {
	margin: 0 25px;
	background-color: #fff;
	border-color: #cecece;
}
.OrderHistory_Form.sorter {
	float: left;
	margin-right: 10px;
}
.sorter-limit {
	margin-top: 15px;
}
.payment-status-filter {
	margin-bottom: 10px;
	margin-left: 10px;
}
.OrderHistory_Form h3 {
	text-align: left;
}
.OrderHistory_Form h3 input[type=text] {
	margin-left: 10px;
}
.OrderHistory_Form input[type=radio] {
	margin-left: 5px;
}
.search-normal-order-row {
	padding: 10px;
	width: 100%;
	border-top: 1px solid #ddd;
	position: relative;
}
.search-normal-order-row::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	border-bottom: 1px solid rgba(255,255,255,.5);
}
.search-normal-order-row:first-child {
	border-top: none;
} 
.search-normal-order-row > * {
	display: inline-block;
}
.order-row-header {
	display: block;
	text-align: left;
	padding: 10px;
	margin-bottom: 10px;
	background-color: rgba(255,255,255,1);
	border: 1px solid #fff;
	outline: 1px solid #eee;
}
.order-row-header::after {
	content: '';
	display: table;
	clear: both;
}
.order-row-header > p {
	margin: 0 10px 0 0;
}
.order-row-header > * {
	display: inline-block;
	vertical-align: top;
	margin-right: 10px;
}

.order-row-header h2 {
	text-align: left;
	max-width: 320px;
	margin: 0;
	display: inline-block;
	vertical-align: middle;
	padding: 0;
}
.order-row-header h2 > .canceled {
	color: #555;
	font-size: 14px;
	line-height: 12px;
	white-space: nowrap;
	margin: 5px 0;
	display: inline-block;
}
.order-row-header .header-right {
	float: right;
	margin: 0;
}
.order-row-header .header-right > * {
	display: inline-block;
	vertical-align: middle;
}
.order-row-header .mimicButton {
	width: 100px;
	height: 30px !important;
	margin: 0 0 0 5px;
}
.order-row-header .mimicButton a {
	width: 100%;
	height: 30px !important;
	line-height: 30px;
}
.order-row-header p.reference {
	margin: 0;
}
.Display_Search .order-date {
	display: inline-block;
	vertical-align: middle;
	font-weight: normal;
	font-style: italic;
	color: #777;
	font-size: 16px;
}
.Display_Search .order-date::before {
	content: '/';
	display: inline-block;
	padding-right: 3px;
}
.Display_Search p > label {
	display: block;
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 3px;
}
.Display_Search p.reference > label {
	display: inline-block;
	width: auto;
	vertical-align: middle;
}
.Display_Search p.reference > input[type=text] {
	width: 120px;
	display: inline-block;
	vertical-align: middle;
	height: 30px;
	padding: 2px;
}
.search-normal-order-row {
	text-align: left;
}
.Display_Search .search-normal-order-row > p {
	min-width: 120px;
}
.Display_Search .search-normal-order-row > p > label {
	width: 100%;
}
.UnpaidOverdue .order-row-header {
	background-color: rgb(255,153,153);
}
.Canceled, .CanceledUnpaid, .CanceledRefund {
	color: rgb(68,68,68);
}




@media screen and (max-width: 374px) {
	.order-row-header .header-right {
		width: 100%;
	}
	.order-row-header p.reference {
		width: 100%;
		margin-bottom: 10px;
	}
	.order-row-header p.reference label {
		width: 25%;
		margin: 0;
	}
	.order-row-header p.reference input[type=text] {
		width: 75%;
		margin-left: -4px;
	}
	.order-row-header .mimicButton {
		margin: 0;
		width: 100%;
	}
}

@media screen and (max-width: 550px) {
	.half {
		float: none;
		width: 100%;
	}
	#viewSingleOrder {
		border: 0;
	}
	.OrderHistory_Form.sorter p {
		display: block;
		margin-bottom: 0;
	}
	.sorter-limit {
		margin: 5px 0 0 0;
	}
	.OrderHistory_Form input[type=radio] {
		margin: 4px 0;
	}
}

@media screen and (max-width: 600px) {
	.payment-status-filter {
		margin:0 10px 10px 10px;
	}
	.OrderHistory_Form.sorter {
		margin: 0 0 10px 10px;
	}
	.order-row-header .header-right {
		margin-top: 10px;
	}
}