.top-block {
	background-color: #f4f4f4;
	line-height: 30px;
	font-size: 14px;
	z-index: 120;
}

.top-block .nav-link{cursor: pointer;}


.badge {
	padding: 0;
	font-size: 12px;
    color: #FFF;
    background-color: #D72326;
    display: inline-block;
    line-height: 20px;
    border-radius: 10px;
    height: 20px;
    margin-left: 4px;
    min-width: 20px;
    text-align: center;
}
.badge:empty {
	margin-left: 0;
	min-width: 0;
}

#shopping-basket{
	display: none;
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 40px;
    height: 40px;
    line-height: 32px;
    text-align: center;
    font-size: 25px;
    background: rgba(0,0,0,.36);
    color: #FAFCFD;
    cursor: pointer;
    z-index: 80;
}
#shopping-basket.show{
	display: block;
}

#shopping-basket .badge{
	position: absolute;
	left: auto;
	right: -8px;
	top:-8px;
}

.sexchk-btn{
	height: 100%;
	box-shadow: none !important;
	border-color: #ced4da;
	border-left-width: 0;
}
.sexchk-btn.active .fa-check {
    visibility: visible;
}

.sexchk-btn .fa-check {
    visibility: hidden;
}

#nav-affr .nav-item {
	border: 0;
}
#nav-affr .nav-item:hover {
	border: 0;
}
#nav-affr .nav-link {
	padding: 0 8px;
}
#nav-affr .nav-item::before {
	content: "|";
	position: absolute;
	right: -4px;
	line-height: 28px;
	color: #CCC;
}
#nav-affr .nav-item:last-child::before {
	content: "";
	right: auto;
}
#nav-user-t {
	min-width: 0;
}
#nav-user-t .nav-item {
	border: 0;
}
#nav-user-t .nav-item:hover {
	border: 0;
}
#nav-user-t .nav-link {
	padding: 0 8px;
}
#nav-user-t .nav-item::before {
	content: "";
	position: absolute;
	width: 1px;
	height: 16px;
	top: 8px;
	right: -4px;
	background-color: #CCC;
}
#nav-user-t .nav-item:last-child::before {
	width: 0;
	right: 0;
}
.list-head {
	display: block;
	border: 1px solid #efefef;
	margin: 5px auto;
	width: 100%;
	padding-left: 40px;
	padding-right: 16px;
	background-color: #efefef;
}
.chk-content .square-box {
	position: absolute;
	left: 10px;
	top: 14px;
	z-index: 10;
	color: #CCC;
	opacity: 1;
}
.chk-content label.btn-default.active {
	background-color: rgb(17,58,114);
	color: #FFF
}
.chk-content label.btn-default {
	display: block;
	border: 1px solid #efefef;
	margin: 5px auto;
	width: 100%;
	padding-left: 40px;
}
.chk-content .btn-group {
	width: 100%
}
.chk-content .btn span.glyphicon {
	position: absolute;
	left: 10px;
	top: 14px;
	z-index: 10;
	opacity: 0;
}
.chk-content .btn.active .square-box {
	opacity: 0;
}
.chk-content .btn.active span.glyphicon {
	opacity: 1;
}
.chk-content .chk-title {
	position: relative;
	word-break: normal;
	white-space: normal;
	margin-bottom: 0;
	line-height: 28px;
	text-align: left;
}


.quo-wrap .minus, .quo-wrap .plus {
	display: inline-block;
	height: 30px;
	width: 30px;
	vertical-align: middle;
	line-height: 28px;
	text-align: center;
	cursor: pointer;
	border: 1px solid #ccc;
	background-color: rgb(238,238,238);
	transition-duration: .3s;
}
.quo-wrap .minus:hover, .quo-wrap .plus:hover {
	background-color: rgb(255,255,255);
	transition-duration: .3s;
}
.quo-wrap input:disabled {
	background-color: rgb(245,245,245);
	color: #CCC;
}
#buyCount {
	display: inline-block;
	-webkit-appearance: none;
	border-radius: 0;
	line-height: 28px;
	width: 50px;
	height: 30px;
	border-left: none;
	border-right: none;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	vertical-align: middle;
	text-align: center;
	background-color: #fff;
}
#addShopcart {
	line-height: 30px;
	height: 30;
	padding-top: 0;
	padding-bottom: 0;
}
.btn_addcart {
	/*width: calc(100% - 170px);*/
}
/*************cat*************/

.listTable .table-sum{
	background-color: #EFEFEF;
}

.listTable th, .listTable td{
	border-bottom: 1px solid #CCC;
	padding: 0.6rem 0; 
}

.cart-popover-modal{
	position: absolute;
	width: 260px;
	left: auto;
	right: -60px;
	background-color: #FFF;
	border: 1px solid #000;
	padding: 10px;
}

.categories-block .cat-item {
	font-size: 16px;
}
.cart-step {
	border-bottom: 1px solid #323437;
	text-align: center;
	margin: 30px 0 35px;
	font-size: 16px;
	color: #888888;
	letter-spacing: 1px;
}
.cart-step li {
	display: inline-block;
	margin: 0 0 20px;
	padding: 0 50px;
	position: relative;
}
.cart-step li .icon {
	display: block;
	width: 60px;
	height: 60px;
	margin: 0 auto 5px;
	border-radius: 50%;
	border: 1px solid #999;
	font-size: 32px;
	line-height: 60px;
}
.cart-step .current {
	color: rgba(0,112,172,1);
}
.cart-step .current .icon {
	color: #FFF;
	background-color: rgba(0,112,172,1);
	border: 1px solid #FFF;
	box-shadow: 2px 2px 8px rgba(0,112,172,1);
}
.cart-step .step1::after {
	content: "\e092";
	font-family: 'Glyphicons Halflings';
	position: absolute;
	right: -10px;
	font-size: 30px;
	color: #999;
}
.cart-step .step3::after {
	content: "\e092";
	font-family: 'Glyphicons Halflings';
	position: absolute;
	left: -10px;
	font-size: 30px;
	color: #999;
}
.payment-list {
	border-top: 1px solid #DDD;
	margin-bottom: 30px;
	list-style: none;
	padding: 0;
}
.payment-list > .item > .form-group {
	display: table;
	height: 50px;
	border-bottom: 1px solid #DDD;
	width: 100%;
	margin: 0;
	padding: 2px 0;
}
.payment-topic {
	display: table-cell;
	vertical-align: middle;
	width: 140px;
	color: #999;
	background: #EFEFEF;
	font-size: 15px;
	font-weight: bold;
	padding: 0 20px;
	position: relative;
}
.payment-radio {
	display: table-cell;
	vertical-align: middle;
	width: 60px;
	background: #DDD;
	text-align: center;
}
.payment-txt {
	font-size: 14px;
	display: table-cell;
	vertical-align: middle;
	padding: 0 15px;
}

fieldset.order-field{
	border: 1px solid #CCC;
	padding: 1rem;
}

fieldset.order-field legend {
    width: auto; 
    max-width: 100%;
    padding: 0 1rem;
    margin-bottom: .5rem;
    font-size: 1.2rem;
}

fieldset.order-field legend::before, fieldset.order-field legend::after {
    content: " / ";
}

.item-table-wrap {
	border: 1px solid #CCC;
	border-radius: 10px;
	padding: 10px;
}
.cart-item-table {
	border-spacing: 0;
	
}
.cart-item-table th {
	border-top: 0;
	padding: 10px 0;
}
.cart-item-table td {
	vertical-align: middle;
	padding: 10px 0;
}
.cart-item-table label {
	margin: 0;
}
.cart-detail-row td {
	border-bottom: 1px dashed #CCC;
}
.cart-detail-row:last-child td {
	border-bottom: 0;
}
.cart-detail-row .name {
	width: 100px;
}
.cart-detail-row .del {
	width: 40px;
}
.cart-prodimg {
	display: block;
	width: 60px;
	height: 60px;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}
.cart-item-del {
	display: block;
	text-align: center;
	width: 32px;
	height: 32px;
	line-height: 28px;
	border: 1px solid #999;
	border-radius: 50%;
	font-size: 18px;
}
.cart-btn-box {
	display: block;
	text-align: center;
	margin: 30px 0 40px 0;
}
.cart-btn-box .btn {
	margin-right: 20px;
	margin-top: 20px;
}
.cart-btn-box .btn:last-child {
	margin-left: 0;
}

.cart-item-table .row{ margin-right: -0.25rem; margin-left: -0.25rem;}
.cart-item-table .t-body > .t-row{border: 1px solid #CCC;
    border-radius: 4px;
    margin-top: 8px;}
.cart-item-table .t-cell{padding: 0.25rem; align-self: center;}

@media (max-width: 768px){
	.cart-item-table .sname, .cart-item-table .del{
		background-color: #EFEFEF;
	}
	.cart-item-del {
		width: 28px;
		height: 28px;
		line-height: 26px;
		font-size: 16px;
	}
	.cart-item-table .sname, .cart-item-table .del{align-self: auto;}
}

@media (min-width:465px){
	.col-buycount{
		-ms-flex: 0 0 120px;
		flex: 0 0 120px;
		max-width: 120px;
	}
}

/*******order**********/

.paymethod-sort .nav-link{
	padding: 0.25rem;
	margin-left: 0;
	
	font-size: 0.875rem;
	line-height: 1.5;
	border-radius: 0.2rem;
	border:1px solid #CCC;
	cursor: pointer;
}
.paymethod-sort .nav-link.active{
	background-color: #ffc107;
}

.paymethod-sort .nav-link.active::before{
	content: "\f058";
	margin-right: 0.2rem;
	font: normal normal normal 14px/1 FontAwesome;
	
}

.paymethod-sort .nav-item{
	margin-bottom: 1rem;	
}

.paymethod-sort .nav-item:not(:last-child){
	margin-right: 1rem;	
}

.order-title {
	padding: 10px 0;
	line-height: 20px;
	border-radius: 26px;
	border: 1px solid #999;
	background-color: #FFF;
	color: #000;
}
.order-title.trigger {
	background-color: rgb(17,58,114);
}
.order-title::after {
	font-family: FontAwesome;
	content: "\f107";
	position: absolute;
	right: 16px;
	top: 50%;
	margin-top: -12px;
	font-size: 24px;
	line-height: 1;
	transition: .2s;
	transition-duration: .3s;
	transform: rotate(0deg);
}
.order-title.trigger::after {
	content: "\f107";
	color: #FFF;
	transition: .2s;
	transition-duration: .3s;
	transform: rotate(-180deg);
}
.order-title h5 {
	max-width: calc(100% - 35px);
	padding-left: 16px;
	margin: 0;
	color: #000;
}
.order-title.trigger h5 {
	color: #FFF;
}

@media (max-width: 992px) {
#nav-affr {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	float: none;
	border-top: 1px solid #CCC;
}
#nav-affr .nav-item {
	display: inline-block;
	border: 0;
}
#nav-affr .nav-item:hover {
	border: 0;
}
#nav-affr .nav-link {
	border: 0;
	line-height: 32px;
}
#nav-affr .nav-link:hover {
	border: 0;
}
}


@media (max-width: 768px) {
.cart-step li {
	display: block;
	padding: 0 0 40px 0;
	margin: 0;
}

.cart-step li .icon{
	display: inline-block;
	margin-right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
}
	
	.cart-step li .step-txt{
		display: inline-block;
		width: 180px;
	}
	
	
	
.cart-step .step1::after {
	font-size: 24px;
	right: auto;
	left: 50%;
	margin-left: -16px;
	bottom: 6px;
	transform: rotate(90deg);
}
.cart-step .step3::after {
	font-size: 24px;
	left: 50%;
	margin-left: -16px;
	top: -35px;
	transform: rotate(90deg);
}
	
	
	
.payment-topic {
	display: inline-block;
	vertical-align: middle;
	width: calc(100% - 60px);
	color: #999;
	background: #EEE;
	line-height: 50px;
}
.payment-radio {
	display: inline-block;
	line-height: 50px;
}
.payment-txt {
	display: block;
	width: 100%;
	padding: 0 0 20px 0;
}
}

@media (max-width: 544px) {
.btn_addcart {
	width: calc(100% - 125px);
}
}


input[type=radio], input[type=checkbox]{
	width: 16px;
    height: 16px;
    vertical-align: middle;
}
.sexchk-btn .fa-check {
	visibility: hidden;
}

.sexchk-btn.active .fa-check {
	visibility: visible;
}

.tips {
	color: #EC0D75;
	font-size: 14px;
}

.list-unstyled> li {
	display: inline-block;
}

.status-sort {
    display: block;
    float: none !important;
}

.status-sort .nav-item>.nav-link {
    border-top: 5px solid transparent;
    padding: 0.2rem;
    margin-left: 0.5rem;
    cursor: pointer;
}

.status-sort .nav-item>.nav-link.active {
    border-top: 5px solid #ffc107;
}

/***********CART***************/


/*************************/

.updating-block{
	position:fixed;
	left: 0; right:0; top:90px; bottom: auto;
	height: 30px;
	opacity: 0;
	line-height: 30px;	
	transition-duration: 1s;
	background-color: rgba(255,255,255,0.7);
	text-align: center;
	pointer-events: none;
	z-index: 5000;
}

.updating-block.in{
	opacity: 1;
	transition-duration: 1s;
}

.updating-block.in.out{
	opacity: 0;
	transition-duration: 1s;
}

.updating-block.in .msg-inner > *{
	font-size: 14px;
	color: #333;
	display: inline-block;
	vertical-align: middle;
}

.updating-block .msg-inner{
	font-weight: bold;
	text-shadow: 0 0 3px 6px #FFF;
	display: inline-block;
	transform: translateX(-100px);		
	transition-duration: .6s;
}

.updating-block.in .msg-inner {
	transform: translateX(0);	
	transition-duration: 1s;
}

.updating-block.in.out .msg-inner{
	transform: translateX(100px);	
	transition-duration: 1s;
}

 

.sk-wave {
 display: inline-block;
  margin: auto;
  width: 30px;
  height: 24px;
  text-align: center;
 }

  .sk-wave .sk-rect {
    background-color: #333;
    height: 100%;
    width: 2px;
	margin: 0 1px;
    display: inline-block;
    animation: sk-waveStretchDelay 1.2s infinite ease-in-out; }
  .sk-wave .sk-rect1 {animation-delay: -1.2s; }
  .sk-wave .sk-rect2 {animation-delay: -1.1s; }
  .sk-wave .sk-rect3 {animation-delay: -1s; }
  .sk-wave .sk-rect4 {animation-delay: -0.9s; }
  .sk-wave .sk-rect5 {animation-delay: -0.8s; }

@keyframes sk-waveStretchDelay {
  0%, 40%, 100% {transform: scaleY(0.4); }
  20% {transform: scaleY(1); } }


/*******remit infor check animation*******/
.remit-info-tick{
	width: 24px;
    height: 24px;
    vertical-align: bottom;	
}

.remit-info-tick .circ{
	fill:none;stroke:rgb(142,195,28);stroke-width:3;stroke-linejoin:round;stroke-miterlimit:10;
    opacity: 0;
    stroke-dasharray: 130;
    stroke-dashoffset: 130;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}
.remit-info-tick .tick{
	fill:none;stroke:rgb(142,195,28);stroke-width:3;stroke-linejoin:round;stroke-miterlimit:10;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    -webkit-transition: stroke-dashoffset 1s 0.5s ease-out;
    -moz-transition: stroke-dashoffset 1s 0.5s ease-out;
    -ms-transition: stroke-dashoffset 1s 0.5s ease-out;
    -o-transition: stroke-dashoffset 1s 0.5s ease-out;
    transition: stroke-dashoffset 1s 0.5s ease-out;
}
.remit-info-tick.drawn > svg .path{
    opacity: 1;
    stroke-dashoffset: 0;
}