/**
 * Basket popup.
 */
#basket-popup {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

#basket-popup .shader {
	position: fixed;
	z-index: 1;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(40, 40, 40, 0.8);
}

#basket-popup.open {
	display: block;
}

#basket-popup .loader {
	display: none;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 60px;
	height: 60px;
	margin-left: -30px;
	margin-top: -30px;
}

#basket-popup.loading .loader {
	display: block;
}

#basket-popup .message-window {
	position: absolute;
	z-index: 2;
	padding: 20px;
	background-color: #737373;
	color: white;
	width: 700px;
	height: 150px;
	left: 50%;
	top: 50%;
	margin-left: -350px;
	margin-top: -150px;
	font-size: 22px;
	text-align: center;
}

#basket-popup.loading .message-window {
	display: none;
}

#basket-popup .message-panel {
}
#basket-popup .message-controls {
	margin-top: 17px;
}

#basket-popup .fa {
	color: #f7941d;
	font-size: 46px;
}

/**
 * Box
 */
.box.box-basket .item {
}
.box.box-basket .sum {
	font-weight: 400;
}


.box.box-basket .item > .cell,
.box.box-basket .sum > .cell {
	float: left;
}

.box.box-basket .item > .cell.name {
	width: 50%;
}
.box.box-basket .item > .cell.price {
	width: 19%;
	text-align: right;
}
.box.box-basket .item > .cell.cnt {
	width: 9%;
	text-align: center;
}
.box.box-basket .item > .cell.price_full {
	width: 19%;
	text-align: right;
}
.box.box-basket .item > .cell.control {
	width: 3%;
	text-align: center;
}

.box.box-basket .sum > .cell.name {
	width: 78%;
}
.box.box-basket .sum > .cell.price {
	width: 21%;
	text-align: right;
}

/**
 * Icon counter
 */
#basket-counter {
	display: block;
	position: absolute;
	right: -7px;
	top: -5px;
}

#basket-counter > b {
	display: block;
	font-weight: 300;
	font-size: 10px;
	color: white;
	background-color: #5ca62b;
	border-radius: 9px;
	min-width: 18px;
	height: 18px;
	line-height: 17px;
	text-align: center;
}

/**
 * Basket panel
 */
#basket-panel {
	display: none;
	position: absolute;
	background-color: #323232;
	padding: 20px;
	right: 20px;
	color: #f7941d;
	min-width: 390px;
	min-height: 100px;
	font-size: 14px;
}

#basket-panel.open {
	display: block;
}

#basket-panel.loading:after {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(200, 200, 200, 0.5);
	content: "Betöltés...";
	text-align: center;
	line-height: 100px;
}

#basket-panel h1 {
	font-size: 24px;
	font-weight: 200;
	border-bottom: 1px solid #828282;
	margin-bottom: 0;
	padding-bottom: 5px;
	text-transform: uppercase;
}

#basket-panel a {
	color: inherit;
	text-decoration: underline;
	text-transform: uppercase;
}

#basket-panel .item {
	border-bottom: 1px solid #828282;
	padding: 10px 0;
}

#basket-panel .item > .cell {
	display: block;
	float: left;
}


#basket-panel .item > .cell.img {
	width: 80px;
	min-height: 1px;
}

#basket-panel .item > .cell.img > img {
	display: block;
	max-width: 80px;
	max-height: 80px;
}

#basket-panel .item > .cell.name {
	width: calc(60% - 40px);
	padding: 0 0 0 10px;
	font-size: 18px;
	text-transform: uppercase;
}

#basket-panel .item > .cell.price,
#basket-panel .item > .cell.sum {
	text-align: right;
	color: white;
}
#basket-panel .item > .cell.price {
	width: calc(40% - 40px);
}
#basket-panel .item > .cell.sum {
	width: 30%;
}

#basket-panel .item > .cell.price > b {
	font-weight: 400;
	display: block;
}

#basket-panel .item > .cell.control {
	width: 40%;
}
#basket-panel .item > .cell.info {
	width: 30%;
	color: white;
}

#basket-panel .controls {
	padding-top: 10px;
}

#basket-panel .checkout {
	float: right;
	text-decoration: none;
	color: white;
}

/**
 * Ikonok
 */
.basket .icon {
	display: inline-block;
	width: 22px;
	height: 22px;
	vertical-align: middle;
	background-image: url(icons.png);
	background-repeat: no-repeat;
}

.basket .icon.delete {
	background-position: -52px -75px;
}
.basket .icon.empty {
	background-position: -80px -75px;
}

/**
 * Kosár oldal
 */
section.basket {
	border: 18px solid #d3d3d3;
	padding: 20px 25px;
}

table.basket {
	border-collapse: collapse;
	width: 100%;
	color: #7a7a7a;
}

table.basket th {
	font-weight: 400;
	text-align: center;
}
table.basket th.name {
	color: #f7941d;
	font-size: 20px;
	text-align: left;
}

table.basket td {
	vertical-align: top;
	border-bottom: 3px solid #FFDCB2;
	padding: 8px 0;
}

table.basket > tbody > tr:last-child > td {
	border-bottom: none;
}

table.basket td.img {
	width: 80px;
}

table.basket td.img > img {
	max-width: 80px;
	max-height: 80px;
}

table.basket td.info {
	font-weight: 400;
	text-align: right;
}

table.basket td.name {
	padding-left: 10px;
	color: #f7941d;
	font-size: 18px;
	text-transform: uppercase;
}

table.basket td.control {
	text-align: right;
	width: 30px;
}

.basket .wizard {
	font-weight: 400;
	font-size: 18px;
	color: #8B8B8B;
	margin: 1em 0;
	text-transform: uppercase;
}

.basket .wizard > .current {
	display: inline-block;
	color: #f7941d;
}

.basket .wizard > .next {
	display: inline-block;
}

.basket .wizard > .prev {
	opacity: 0.7;
}

#site-content .basket h2 {
	color: #f7941d;
	font-weight: 400;
	font-size: 26px;
	margin-bottom: 0.5em;
	text-transform: uppercase;
}