.icon-signagreement:before {
	content: "\e625";
	font-weight: normal;
	font-size: 24px;
	color: #ff9800;
}

.have-agency-show {
	display: none;
}

.position {
	float: none;
	margin-bottom: 10px;
}


/**new style**/

.shipping-content-item {
	width: 48%;
	margin-right: 4%;
}

.shipping-content-payment {
	width: 100%;
	margin: 0 auto;
}

.shipping-content-item:nth-child(2) {
	margin-right: 0;
}

.shipping-content-item-title {
	font-size: 20px;
	line-height: 22px;
	padding: 10px 15px;
	background: #f0f0f0;
	margin-bottom: 15px;
}

.item-content {
	position: relative;
	padding-right: 20px;
	margin-bottom: 30px;
}

.item-content-title {
	font-size: 16px;
	position: relative;
	line-height: 20px;
	margin-bottom: 10px;
	color: #333;
	font-weight: 700;
}

.item-content-detail {
	padding-left: 15px;
}

.shipping-content-item:nth-child(2) .item-content-detail {
	padding-left: 0;
}

.text-999 {
	color: #999;
}

.align-r {
	text-align: right;
}

.gridtable-no-border {
	border: 0;
}

.gridtable.gridtable-no-border th {
	text-align: center;
	background: #f5f5f5 !important;
	color: #58585b !important;
	border: 1px solid #f5f5f5 !important;
}

.gridtable-no-border td {
	border: none !important;
}


/**add address box start**/

.add-billing-address-box {
	border: 1px solid #999;
	background: #f0f0f0;
	padding: 10px;
	width: 200px;
	border-radius: 2px;
	cursor: pointer;
        min-height: 140px;
        position: relative;
}

.add-billing-address-box span {
	display: block;
	text-align: center;
}

.add-billing-address-box span:nth-child(1) {
	color: #999;
	font-size: 80px;
	line-height: 0.8em;
}

.add-billing-address-box span:nth-child(2) {
	font-size: 18px;
	line-height: 1.2em;
	color: #999;
}


/**add address box end**/


/***summary**/

.shipping-summary-new {
	position: relative;
	background: #f9f9f9;
	padding: 20px;
	width: 100%;
	margin-bottom: 10px;
}

.shipping-summary-detail {
	position: relative;
	text-align: right;
	line-height: 1.4em;
	font-size: 16px;
}

.shipping-summary-detail table {
	width: 100%;
	position: relative;
}

.shipping-summary-detail table tr td {
	padding: 5px;
}

.shipping-summary-detail table tr td:nth-child(2) {
	width: 30px;
	max-width: 50%;
}


/***summary*/


/**edit shipping address start**/

.edit-shipping-address {
	position: absolute;
	background: #fff;
	width: 100%;
	max-width: 850px;
	padding: 15px;
	top: 10%;
	left: 25%;
	z-index: 1001;
	display: none;
}

.add-billing-address {
	position: fixed;
	background: #fff;
	width: 100%;
	max-width: 440px;
	padding: 15px;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	z-index: 1001;
	display: none;
	height: 450px;
}

.edit-shipping-address.active {
	display: block;
}

.add-billing-address.active {
	display: block;
}

.ui-dialog-shipping-address {
	display: none;
	font-family: Arial;
	max-width: 750px;
}

.ui-dialog-add-bililing {
	display: none;
	font-family: Arial;
	max-width: 750px;
}

.ui-dialog-billing-address {
	display: none;
	font-family: Arial;
	max-width: 750px;
}

.edit-address-title {
	position: relative;
	font-size: 20px;
	line-height: 22px;
	margin: 10px 0;
}

.ui-dialog-content {
	margin: 10px 0;
}

.edit-address-content {
	position: relative;
}

.address-list {
	position: relative;
	display: flex;
	flex-flow: wrap;
}

.address-list-item {
	width: 32%;
	margin-right: 2%;
	border: 2px solid #dfdfdf;
	padding: 15px 10px 5px;
	margin-bottom: 15px;
	position: relative;
	border-radius: 2px;
	cursor: pointer;
	min-height: 140px;
}

.address-list-item.active {
	border: 2px dashed #0066cc;
}

.address-list-item:nth-child(3n) {
	margin-right: 0;
}

.address-list-item p {
	font-size: 12px;
	word-break: break-all;
}

.address-list-item-default {
	background: #f0f0f0;
	border: 2px dashed #999;
}

.address-list-item-add {
	background: #f1f1f1;
	text-align: center;
        cursor:pointer;
}
.address-list-item-add:hover {
	background: #e9e9e9;
}

.address-list-item-add span {
	display: block;
	text-align: center;
}

.address-list-item-add span:nth-child(1) {
	color: #999;
	font-size: 80px;
	line-height: 1em;
}

.address-list-item-add span:nth-child(2) {
	line-height: 1.2em;
}

.edit-btn {
	color: #0066cc;
	position: absolute;
	right: 5px;
	bottom: 2px;
	cursor: pointer;
	font-size: 12px;
}

.default-address-label {
	position: absolute;
	right: 4px;
	top: 4px;
	background: #dfdfdf;
	padding: 2px;
	font-size: 12px;
}

.default-address-label:hover,
.default-address-label.active {
	background: #0066cc;
	color: #fff;
}

.control_group {
	line-height: 25px;
	margin-bottom: 5px;
}

.control_group .control_label {
	margin-bottom: 0;
	margin-right: 5px;
}

.controls {
	display: inline-block;
	width: calc(100% - 120px);
	max-width: 285px;
}

.controls_sub {
	display: inline-block;
}

.controls input,
.controls select {
	width: 100%;
}

#shipping_first_name,
#shipping_last_name {
	width: 100px;
}

#shipping_bus_phone {
	width: 100%;
}

.edit-address-detail {
	max-width: 550px;
	display: none;
}

.edit-address-detail.active {
	display: block;
}

.icon-close {
	width: 30px;
	height: 30px;
	position: absolute;
	right: 10px;
	top: 28px;
	cursor: pointer;
	z-index: 2;
}

.icon-roundclosefill {
	font-size: 26px;
}


/**edit shipping address end**/

.ui-widget-overlay {
	display: none;
}

.ui-widget-overlay.active {
	display: block;
	z-index: 1000;
}


/**new style**/


/**riqi**/

#ui-datepicker-div {
	font-size: 14px;
}

.ui-datepicker .ui-datepicker-header {
	background: #6994cb;
}

.ui-datepicker .ui-datepicker-title {
	color: #222222;
}

br {
	line-height: 0.6em;
}

.cl-down {
	background: rgba(0, 0, 0, 0) url("/images/ui_icons.png") no-repeat scroll 0 0;
	cursor: pointer;
	display: block;
	float: left;
	height: 15px;
	margin: 0 0 0 5px;
	width: 10px;
}

.cl-down-r {
	background: rgba(0, 0, 0, 0) url("/images/ui_icons.png") no-repeat scroll -16px 0;
}

.cl-down-i {
	background: rgba(0, 0, 0, 0) url("/images/ui_icons.png") no-repeat scroll -32px 0;
}

.jpbg {
	background-color: #eaf4fd;
}

table.ui-jqge tr td {
	text-align: left;
	padding: 5px 5px 5px 20px;
}

.review_link:link,
.review_link:visited {
	padding: 4px 4px;
	background-color: #4f95ce;
	font-size: 12px;
	color: #ffffff;
	display: table;
	line-height: 16px;
}

.icon {
	line-height: 20px;
	margin: 0;
	color: #58585b;
	margin-right: 5px;
	vertical-align: middle;
}

.icon:hover {
	color: #0066cc;
	cursor: pointer;
}

.icon-xiazai:before {
	content: "\e619";
}

.ui-datepicker td span,
.ui-datepicker td a {
	display: block;
	padding: .2em;
	text-align: right;
	text-decoration: none;
}

#ui-datepicker-div .ui-state-default,
.ui-widget-content .ui-state-default {
	padding: .2em;
	border: 1px solid #cccccc;
	background: #f6f6f6 url(/gsimages/newhome/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x;
	font-weight: bold;
	color: #1c94c4;
}

.controls input,
.controls select {
	width: 100%;
	font-family: Arial !important;
}

.Paytable2 tr th,
.Paytable2 tr td {
	background-color: #fff;
}

.ui-dialog-shipping-address,
.ui-dialog-billing-address {
	position: fixed !important;
}

.add-address-middle {
	position: absolute;
	width: 100%;
	top: 50%;
	margin-top: -60px;
	left: 0;
	text-align: center;
}

.pay-flex {
	position: relative;
	display: flex;
	flex-flow: wrap;
}

.pay-flex-item {
	flex: 1;
	text-align: center;
}

.pay-flex-item.date {
	width: 120px !important;
	flex: none;
}

.pay-flex-item div:nth-child(1) {
	background: #f5f5f5;
	padding: 8px 5px;
	height: 50px;
	text-align: center;
	line-height: 17px;
}

.pay-flex-item-span1,
.pay-flex-item-span2 {
	display: inline-block;
	*display: inline;
	*zoom: 1;
	vertical-align: middle;
}

.pay-flex-item-span1 {
	height: 100%;
}

.pay-flex-item div:nth-child(2) {
	padding: 8px 5px;
}

.pay-flex-item div:nth-child(2) select,
.pay-flex-item div:nth-child(2) input {
	height: 28px;
}
.main-content select {
    padding: 4px 2px !important;
}
	.download-box{
		float: right;
		width: 200px;
		
	}
	.download-box table{
		border: none;
		width: 100%;
	}
	.download-box td{
		border: none;
	}


/**shipping options**/
.ui-dialog-shipping-options{
    position: fixed !important;
    font-family: Arial;
    max-width: 750px;
    display:none;
}
.shipped {
    display: none;
    padding-left: 18px;
    margin-top: 5px;
    margin-bottom: 15px;
}

/**order confirm**/
.ui-dialog-order-confirm{
    position: fixed !important;
    font-family: Arial;
    max-width: 750px;
    display:none;
}
	.gridtable {
		margin-top: 10px;
	}
	
	.add-address-box {
		position: relative;
		display: inline-block;
		width: 200px;
		padding: 20px;
		text-align: center;
		margin: 10px;
		border: 1px solid #cccccc;
		background: #f1f1f1;
		cursor: pointer;
	}
	
	.add-address-box:hover {
		background: #e9e9e9;
	}
	
	.add-address-box span {
		position: reative;
		display: block;
		width: 100%;
	}
	
	.add-address-box span:nth-child(1) {
		color: #999;
		font-size: 80px;
		line-height: 1em;
	}
	
	.payment-method-title {
		position: relative;
		padding: 10px;
		background: #eaeef3;
	}
	
	.payment-method-list {
		padding: 10px;
		height: 50px;
		overflow: hidden;
	}
	
	.payment-method-list.active {
		height: auto;
	}
	
	.payment-method-list p {
		font-size: 14px;
	}
	
	i.caret2 {
		position: absolute;
		right: 20px;
		top: 18px;
		display: inline-block;
		width: 0;
		height: 0;
		vertical-align: middle;
		border-top: 5px dashed;
		border-top: 5px solid\9;
		border-right: 5px solid transparent;
		border-left: 5px solid transparent;
		transition: all 0.5s;
		-mox-transtion: all 0.5s;
		-webkit-transition: all 0.5s;
		cursor: pointer;
	}
	
	i.caret2.active {
		transform: rotate( 180deg);
		-webkit-transform: rotate( 180deg);
		-moz-transform: rotate(180deg);
	}
	
	.add-new-card {
		position: relative;
		max-width: 500px;
		margin: 0 auto;
		border: 1px solid #cccccc;
		padding: 30px;
		display: none;
	}
	
	.add-new-card>div {
		position: relative;
		display: flex;
		font-size: 12px;
		margin-bottom: 10px;
	}
	
	.add-new-card>div:last-child {
		margin-bottom: 0;
	}
	
	.add-new-card>div div:nth-child(1) {
		position: relative;
		width: 140px;
		position: relative;
	}
	
	.add-new-card>div div:nth-child(2) {
		flex: 1;
		position: relative;
	}
	
	.add-new-card>div div:nth-child(2) input,
	.add-new-card>div div:nth-child(2)select {
		position: relative;
		width: 100%;
	}

.flex-2-item{
    flex:1 !important;
    padding:0 10px;
}
.payment-method{
    border:1px solid #dfdfdf;
    margin-bottom:10px;
}
	.payment-method-list>p {
		position: relative;
		line-height: 30px;
	}
	
	.card-detail,
	.po-detail {
		position: relative;
		display: flex;
		flex-flow: wrap;
	}
        .card-detail span,
	.po-detail span {
		position: relative;
		text-align: left;
		padding-left: 22px;
	}
        .card-detail span:nth-child(1),
	.po-detail span:nth-child(1),
	.card-detail span:nth-child(3),
	.po-detail span:nth-child(3) {
		width: 28%;
	} 
	.card-detail span:nth-child(2),
	.po-detail span:nth-child(2) {
		width: 25%;
	}
	.payment-method-list input[name='credit_card_radio'],
	.payment-method-list input[name='po'],
        .payment-method-list input[name='po_id_radio'] ,
        input[name='credit-card']{
		position: absolute;
		top: 5px;
		left: 0;
		z-index: 10;
	}
	
	.icon-roundclosefill {
		position: absolute;
		right: 5px;
		top: 10px;
	}
@media only screen and (max-width:1024px) {
	.shipping-content-item {
		width: 100%;
		margin-right: 0;
		margin-bottom: 30px;
	}
}

.ui-dialog .ui-dialog-content.ui-widget-content {
	max-height: 550px;
	overflow: auto;
}

@media only screen and (max-width:767px) {
	.ui-dialog-shipping-address,
	.ui-dialog-billing-address {
		max-width: 300px;
	}
	.address-list-item {
		width: 100%;
		margin-right: 0%;
		padding: 25px 10px 10px;
	}
	.control_label {
		width: 116px !important;
	}
	.controls,
	.controls_sub {
		width: calc(100% - 121px) !important;
	}
	#billing_phone,
	#shipping_phone {
		width: 100%;
		margin-bottom: 5px;
	}
	#billing_firstname,
	#shipping_firstname {
		margin-bottom: 5px;
	}
	.pay-flex-item {
		flex: none;
		width: 100%;
		text-align: left;
	}
	.pay-flex-item.date {
		width: 100% !important;
	}
	.pay-flex-item div:nth-child(1) {
		background: #fff;
		padding: 5px 5px;
		height: 38px;
		text-align: left;
		width: 140px;
		display: inline-block;
		vertical-align: top;
	}
	.pay-flex-item div:nth-child(2) {
		padding: 5px 5px;
		width: calc(100% - 150px);
		display: inline-block;
	}
	.pay-flex-item div:nth-child(2) select,
	.pay-flex-item div:nth-child(2) input {
		height: 28px;
	}
	.item-content {
		padding-right: 0;
	}
.flex-2-item{
    flex:none !important;
    width:100%;
}
}

@media only screen and (max-width: 520px) {
	.auto-module {
		width: 100% !important;
		overflow: auto;
		margin: 0 auto;
		padding:0px;
	}
	.Paytable2 {
		font-size: 12px;
		margin-left: -20px !important;
	}
	#po_num {
		width: calc(100% - 145px) !important;
		margin-right: 5px !important;
	}
	.item-content-detail {
	    padding-left: 0px;
	}
}