.wrapper{
    display : flex;
    flex-wrap : wrap;
    justify-content : space-evenly;
    margin-bottom: 0;
    max-width : 600px;
    margin-left : auto;
    margin-right : auto;
}

.item{
    margin : 8px;
    /* border : 1px solid #e0e6ea; */
    display : -ms-flexbox;
    display : flex;
    -ms-flex-wrap : wrap;
    flex-wrap: wrap;
    flex : 44%;
    max-width : 45%;
    position : relative;
    border-radius : 10px;
    font-size : 10pt;
    background-color : #ffffff;
    color : #696969;
    box-shadow: 3px 3px 7px #69696970;
    padding : 0px;
}

.item_basket{
    margin : 8px;
    /* border : 1px solid #e0e6ea; */
    display : -ms-flexbox;
    display : flex;
    -ms-flex-wrap : wrap;
    flex-wrap: wrap;
    flex : 90%;
    max-width : 90%;
    position : relative;
    border-radius : 10px;
    font-size : 10pt;
    background-color : #ffffff;
    color : #696969;
    box-shadow: 3px 3px 7px #69696970;
    padding : 0px;
    max-height: 120px;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
}

.main_image_basket{
    position : absolute;
    height: 120px;
}

.main_image_basket img{
    max-width : 120px;
    border-radius : 10px 0 0 10px;
    padding-bottom : 0px;
}

.description_basket{
    left: 0px;
    right: 0px;
    text-align: left;
    margin-left: 123px;
    position: absolute;
    height: 100%;
}

.title-basket {
    font-weight: 900;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 10px;
}

.sell_price_basket {
    color: #03ac0e;
    font-weight: 900;
    font-size: 18pt;
    position: absolute;
    bottom: 7px;
    padding: 10px;
}

.qty-atc-basket {
    text-align: right;
    z-index: 10;
    position: absolute;
    right: 10px;
    bottom: 18px;
    font-size: 26pt;
    color: #114873;
    font-weight: 900;
    text-shadow: 5px 2px 5px #a0a0a0;
    padding: 10px;
}

.stock-basket {
    margin-top: 7px;
    position: absolute;
    bottom: 7px;
    right: 10px;
    padding: 10px;
}

.basket-total{
    color: #03ac0e;
    font-weight: 900;
    font-size: 24pt;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: fit-content;
}

.basket-store-name{
    font-size: 12pt;
    font-weight: 900;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 10px;
}

.basket-shipping-address{
    margin-top: 7px;
    position: absolute;
    bottom: 7px;
    padding: 10px;
}

.description{
    padding : 25px;
    max-width : 80%;
    width : 100%;
    margin-top : 0;
    text-align: left;
}

.title{
    font-weight : 900;
    flex-wrap : wrap;
    max-width : 100%;
}

.main_image img{
    max-width : 100%;
    border-radius : 10px 10px 0 0;
    padding-bottom : 0px;
}

.product_text{
    max-height : 60px;
    flex-wrap : wrap;
    overflow-y : hidden;
}

.sell_price{
    color : #03ac0e;
    font-weight : 900;
    font-size : 14pt;
    margin-top : 10px;
}

.stock{
    margin-top : 7px;
}

.ui-page-theme-b {
    /* background-color: #ffffff; */
}

.ui-widget.ui-widget-content {
    background : #ffffff !important;
    border-radius : 12px;
    padding: 0px;
    box-shadow: 18px 18px 28px #00000090;
}

.ui-draggable .ui-dialog-titlebar {
    border-radius: 12px 12px 0px 0px;
}

.ui-dialog .ui-dialog-buttonpane {
    border-radius : 0px 0px 12px 12px;
}

.qty-atc{
    text-align: right;
    z-index: 10;
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 36pt;
    color: #114873;
    font-weight: 900;
    text-shadow: 5px 2px 5px #a0a0a0;
}

.ui-widget-overlay {
    background: #0000ff;
    opacity: .17;
}

.selected-address {
    background: #ffff88;
}

#sa_list .item_basket{
    margin-left:auto;
    margin-right:auto;
}

.checkout{
    background: #03ac0e;
    color : #ffffff;
    text-shadow: none;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    font-size: 3rem;
    text-align: center;
    padding-top: 33px;
}

.red{
    color: #ff5c5c;
}

#live_stock{
    font-size: 18pt;
    font-wegiht: 900;
}
#dialog-form #qty{
    font-size: 18pt;
    font-wegiht: 900;
}

    #scroll-button {
		display: inline-block;
		background-color: #FF9800;
		width: 50px;
		height: 50px;
		text-align: center;
		border-radius: 8px;
		position: fixed;
		bottom: 30px;
		right: 30px;
		transition: background-color .3s, 
		opacity .5s, visibility .5s;
		opacity: 0;
		visibility: hidden;
		z-index: 1000;
	}
	
	#scroll-button::after {
		content: "\f077";
		font-family: FontAwesome;
		font-weight: normal;
		font-style: normal;
		font-size: 2em;
		line-height: 50px;
		color: #fff;
	}
	
	#scroll-button:hover {
		cursor: pointer;
		background-color: #333;
	}
	
	#scroll-button:active {
		background-color: #555;
	}
	
	#scroll-button.showMe {
		opacity: 0.85;
		visibility: visible;
	}

	
table{
	border-collapse: collapse;
}

th{
	background-color: #114873;
	padding: 12px 10px;
    font-size: 0.9rem;
}

td{
	padding: 6px 10px;
    font-size: 0.9rem;
}

table th:first-child {
	/* border-top: none; */
	border-top-left-radius:12px;
}
	
table th:last-child {
	/* border-top: none; */
	border-top-right-radius:12px;
}
	
tr:last-child > td:first-child {
	border-bottom-left-radius: 12px;
}
	
tr:last-child > td:last-child {
	border-bottom-right-radius: 12px;
}

.ui-content {
    max-width: 100% !important;
}

.row_a{
	background-color: #999999;
}

.row_b{
	background-color: #868686;
}	
	
td .ui-btn{
    margin-left: 6px;
    margin-right: 6px;
}

    label, input { display:block; }
    input.text { margin-bottom:12px; width:95%; padding: .4em; }
    fieldset { padding:0; border:0; margin-top:25px; }
    h1 { font-size: 1.2em; margin: .6em 0; }
    div#users-contain { width: 350px; margin: 20px 0; }
    div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
    div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
    .ui-dialog .ui-state-error { padding: .3em; }
    .validateTips { border: 1px solid transparent; padding: 0.3em; }

	
	@media (max-width: 480px) {
    .description{
        padding: 12px;
    }
    .qty-atc {
        right: 20px;
        bottom: 10px;
        font-size: 24pt;
    }
    .qty-atc-basket{
        font-size: 18pt;
        text-shadow: 3px 1px 3px #c0c0c0;
    }
    .sell_price_basket{
        font-size: 14pt;
        bottom: 3px;
    }
    .stock-basket{
        font-size: 10pt;
        bottom: 3px;
    }
    .checkout{
        font-size: 2rem;
        padding-top: 42px;
    }
    
    /* ============================================== */
    .item_basket.final img{
        width: 70px!important;
        height: 70px;
        left: 12px!important;
        top: 25px!important;
    }
    .final .description_basket{
        margin-left: 90px;
        
    }
    .basket-total{
        font-size: 16pt;
        text-align: center;
        padding: 10px;
    }
    .basket-shipping-address {
        bottom: -1px;
        font-size: 10pt;
    }
}
