#MB_overlay {
	position: absolute;
	margin: auto;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	border: 0;
	background-color: #000 !important;
}

#MB_overlay[id] {
	position: fixed;
}

#MB_window {
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	border: 0 solid;
	text-align: left;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	z-index: 50001;
}

#MB_window[id] {
	position: fixed !important;
}

#MB_frame {
	position: relative;
	background-color: #FFF;
	height: 100%;
}

#MB_header {
	margin: 0;
	padding: 0;
}

#MB_content {
	position: relative;
	padding: 6px .75em;	/* overflow: auto; */
}

#MB_caption {
	font: bold 100% "Lucida Grande", Arial, sans-serif;
	text-shadow: #FFF 0 1px 0;
	padding: .5em 2em .5em .75em;
	margin: 0;
	text-align: left;
	display: none;
}

#MB_content .buttons {
	padding: 10px;
}

.buttons button.button {
	margin: 0 15px 0 0;
}

.buttons button.button:last-child {
	float: right;
	margin: 0;
}

#MB_close {
	display: block;
	font-size: 22px;
	font-weight: bold;
	padding: 2px 13px;
	right: 5px;
	text-align: right;
	text-decoration: none;
	top: 4px;
	z-index: 99999;
}

#MB_close:hover {
	background: transparent;
}

#MB_loading {
	padding: 1.5em;
	text-indent: -10000px;
	background: transparent url(spinner.gif) 50% 0 no-repeat;
}

/* Color scheme */
#MB_window {
	background-color: #FFF;
	color: #000;
	-webkit-box-shadow: 0 0 64px #000;
	-moz-box-shadow: #000 0 0 64px;
	box-shadow: 0 0 64px #000;
}

#MB_frame {
	padding-bottom: 4px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

#MB_content {
	border-top: 1px solid #F9F9F9;
}

#MB_header {
}

#MB_caption {
	color: #000
}

#MB_close {
	color: #777
}

#MB_close:hover {
	color: #000
}

/* Alert message */
.MB_alert {
	margin: 10px 0;
	text-align: center;
}

#MB_window {
	height: auto !important;
	max-height: calc(100% - 30px);
	overflow-y: scroll;
}

#MB_content {
	height: auto !important;
}

#MB_window .sharing-links,
#MB_window .add-to-links {
	display: none;
}

#MB_window .product-options-bottom .price-box {
	display: block;
	margin: -65px 0 0;
}

#MB_window .product-view .product-options p.required {
	position: absolute !important;
}

#MB_window .product-options {

	/* width: 50%; */
}
