.final_price_wrap {
	margin: 20px 0px;
	font-size: 22px;
	font-weight: 600;
	color: #222529;
}
.cushion_radio_display .form-check {
	margin-bottom: 5px;
}
.cushion_radio_display {
	margin-left: 10px;
}
#cushion_type {
	width: 100%;
}
.cushion_radio_display .form-check-label {
	padding: 0px;
	margin-left: 0px;
}
.mwds_foam_product_title {
	text-align: center;
	padding: 30px 0px 15px 0px;
	background: #f6f6f6;
	border: 20px 0px 10px 0px;
}
.mwds_foam_image_section, .mwds_foam_measurement_section {
	margin-top: 20px;
	background: #f6f6f6;
	border: 1px solid rgba(33, 36, 41, .1);
}
.mwds_foam_image_section {
	position: relative;
	padding: 30px;
}
.mwds_product_image {
	height: auto;
	margin: 0 auto;
	width: 400px;
}
.mwds_foam_image_section h5 {
	text-align: center;
}
.mwds_foam_measurement_section {
	padding: 30px;
}
.mwds_foam_measurement_section h4 {
	margin-bottom: 5px;
}
.foam-measurement-wrap {
	margin-bottom: 20px;
}
.mwds-instructions {
	line-height: 1.2;
	margin-top: 5px;
}
.mwds_out_of_stock {
	padding: 10px;
	background-color: #FFF;
	text-align: center;
}
.mwds_out_of_stock p {
	margin: 0;
}
.foam-button-addtocart {
	font-size: 14px !important;
	text-transform: uppercase !important;
	line-height: 48px !important;
	font-weight: bold !important;
	padding: 0 20px !important;
}
.foam-wrong {
	border: 1px solid rgba(33, 36, 41, .1);
	padding: 24px;
	position: relative;
	margin-top: 20px;
	background: #f6f6f6;
}
.foam-wrong h3 {
	font-size: 18px;
	font-weight: bold;
}
.mwds_foam_image_section label {
	font-weight: 600;
	color: black;
}
.mwds_product_conf_inst {
	background: #f6f6f6;
	border: 1px solid rgba(33, 36, 41, .1);
	padding: 18px;
	margin-top: 20px;
}
.mwds_product_conf_inst h4 {
	font-weight: 400;
}
.mwds_product_conf_inst p {
	margin: 0px;
}
.form-group.cushion-type {
	padding-top: 20px;
}
#mwds_foam_product .col-lg-8.col-md-8.col-sm-12 {
	padding-left: 0px;
}
.mwds_foam_image_section label {
	margin: 0;
}
.mwds_foam_image_section input[type="number"] {
	width: 70px;
	border: 1px solid #ccc;
	padding: 5px 10px;
	position: relative;
	margin: 0;
}
.mwds_foam_image_section input[type="number"]:focus {
	outline: none;
}
.mwds_foam_image_section > div:not(.mwds_product_image){position: absolute; line-height: 1; padding:8px; background-color:rgba(255,255,255,0.7); border-radius:3px; border:1px solid rgba(0,0,0,0.05);}
/*rectangle*/
.mwds_foam_image_section .foam-width.rectangle {			bottom: 20px;	left: 50%;	transform: translate(-60%,0);}
.mwds_foam_image_section .foam-thickness.rectangle {		bottom: 120px;	right: 45px;}
.mwds_foam_image_section .foam-length.rectangle {			top: 50%;	transform: translate(0,-50%);	left: 20px;}
/*lcushion90d*/
.mwds_foam_image_section .foam-backtop.lcushion90d {		top: 55px;	left: 280px;}
.mwds_foam_image_section .foam-thickness.lcushion90d {		top: 90px;	left: 60px;}
.mwds_foam_image_section .foam-length.lcushion90d {			top: 250px;	left: 50px;}
.mwds_foam_image_section .foam-ear.lcushion90d {			bottom: 110px;	right: 255px;}
.mwds_foam_image_section .foam-width.lcushion90d {			bottom: 20px;	left: 50%;	transform: translate(-60%,0);}
/*curved cushion*/
.mwds_foam_image_section .foam-front.curvedlcushion {		bottom: 0px;	left: 50%;	transform: translate(-60%,0);}
.mwds_foam_image_section .foam-center.curvedlcushion {		bottom: 170px;	left: 250px;}
.mwds_foam_image_section .foam-length.curvedlcushion {		bottom: 180px;	left: 40px;}
.mwds_foam_image_section .foam-tip.curvedlcushion {			bottom: 140px;	right: 70px;}
.mwds_foam_image_section .foam-thickness.curvedlcushion {	top: 80px;	left: 65px;}
/*t cushion 90 degree*/
.mwds_foam_image_section .foam-front.tcushion90d {			top: 75px;	left: 280px;}
.mwds_foam_image_section .foam-back.tcushion90d {			bottom: 40px;	left: 260px;}
.mwds_foam_image_section .foam-thickness.tcushion90d {		top: 135px;	left: 40px;}
.mwds_foam_image_section .foam-ear.tcushion90d {			top: 200px;	left: 270px;}
.mwds_foam_image_section .foam-length.tcushion90d {			bottom: 151px;	right: 245px;}
/*t curved cushion 90 degree*/
.mwds_foam_image_section .foam-front.tcurvedcushion {		top: 70px;	left: 285px;}
.mwds_foam_image_section .foam-center.tcurvedcushion {		bottom: 130px;	left: 270px;}
.mwds_foam_image_section .foam-length.tcurvedcushion {		bottom: 235px;	left: 295px;}
.mwds_foam_image_section .foam-tip.tcurvedcushion {			bottom: 290px;	left: 90px;}
.mwds_foam_image_section .foam-thickness.tcurvedcushion {	top: 110px;	left: 65px;}
/*window seat*/
.mwds_foam_image_section .foam-backtop.windowseat {			top: 55px;	left: 50%;	transform: translate(-40%,0);}
.mwds_foam_image_section .foam-frontbottom.windowseat {		bottom: 50px;	left: 50%;	transform: translate(-60%,0);}
.mwds_foam_image_section .foam-length.windowseat {			left: 270px;	bottom: 170px;}
.mwds_foam_image_section .foam-thickness.windowseat {		top: 105px;	left: 150px;}
/* clipped window seat*/
.mwds_foam_image_section .foam-backtop.cllipedwindowseat {	top: 65px;	left: 50%;	transform: translate(-40%,0);}
.mwds_foam_image_section .foam-frontbottom.cllipedwindowseat {	bottom: 50px;	left: 50%;	transform: translate(-60%,0);}
.mwds_foam_image_section .foam-length.cllipedwindowseat {	left: 270px;	bottom: 200px;}
.mwds_foam_image_section .foam-side.cllipedwindowseat {		left: 70px;	bottom: 140px;}
.mwds_foam_image_section .foam-thickness.cllipedwindowseat {top: 125px;	left: 120px;}
/*Wedge*/
.mwds_foam_image_section .foam-width.wedge {				top: 100px;	left: 110px;}
.mwds_foam_image_section .foam-depth.wedge {				bottom: 50px;	left: 50%;	transform: translate(-70%,0);}
.mwds_foam_image_section .foam-height.wedge {				bottom: 200px;	left: 60px;}
/*cylinder*/
.mwds_foam_image_section .foam-length.cylinder {			top: 130px;	left: 150px;}
.mwds_foam_image_section .foam-diameter.cylinder {			bottom: 135px;	left: 50%;	transform: translate(-100%,0);}
/* cylinder 2*/
.mwds_foam_image_section .foam-thickness.cylinder2 {		top: 60px;	left: 115px;}
.mwds_foam_image_section .foam-diameter.cylinder2 {			top: 50%;	left: 50%;	transform: translate(-60%,50%);}

@media screen and (max-width:480px){
	/*rectangle*/
	.mwds_foam_image_section .foam-width.rectangle {			bottom: 20px;	left: 50%;	transform: translate(-60%,0);}
	.mwds_foam_image_section .foam-thickness.rectangle {		bottom: 120px;	right: 45px;}
	.mwds_foam_image_section .foam-length.rectangle {			top: 50%;	transform: translate(0,-50%);	left: 20px;}
	/*lcushion90d*/
	.mwds_foam_image_section .foam-backtop.lcushion90d {		top: 55px;	left: 100px;}
	.mwds_foam_image_section .foam-thickness.lcushion90d {		top: 90px;	left: 0;}
	.mwds_foam_image_section .foam-length.lcushion90d {			top: 250px;	left: 50px;}
	.mwds_foam_image_section .foam-ear.lcushion90d {			bottom: 110px;	right: 0px;}
	.mwds_foam_image_section .foam-width.lcushion90d {			bottom: 0px;	left: 50%;	transform: translate(-60%,0);}
	/*curved cushion*/
	.mwds_foam_image_section .foam-front.curvedlcushion {		bottom: 0px;	left: 50%;	transform: translate(-70%,0);}
	.mwds_foam_image_section .foam-center.curvedlcushion {		bottom: 120px;	left: 100px;}
	.mwds_foam_image_section .foam-length.curvedlcushion {		bottom: 190px;	left: 0px;}
	.mwds_foam_image_section .foam-tip.curvedlcushion {			bottom: 115px;	right: 0px;}
	.mwds_foam_image_section .foam-thickness.curvedlcushion {	top: 80px;	left: 65px;}
	/*t cushion 90 degree*/
	.mwds_foam_image_section .foam-front.tcushion90d {			top: 60px;	left: 50%;	transform: translate(-50%,0);}
	.mwds_foam_image_section .foam-back.tcushion90d {			bottom: 20px;	left: 50%;	transform: translate(-70%,0);}
	.mwds_foam_image_section .foam-thickness.tcushion90d {		top: 80px;	left: 20px;}
	.mwds_foam_image_section .foam-ear.tcushion90d {			top:160px;	left: 0px;}
	.mwds_foam_image_section .foam-length.tcushion90d {			top: 160px;	left:50%; transform: translate(-65%,0); bottom: auto; right: auto;}
	/*t curved cushion 90 degree*/
	.mwds_foam_image_section .foam-front.tcurvedcushion {		top: 60px;	left: 50%;	transform: translate(-50%,0);}
	.mwds_foam_image_section .foam-center.tcurvedcushion {		bottom: 90px;	left: 50%;	transform: translate(-65%,0);}
	.mwds_foam_image_section .foam-length.tcurvedcushion {		top: 160px;	left:50%; transform: translate(-80%,0); bottom: auto;}
	.mwds_foam_image_section .foam-tip.tcurvedcushion {			top:160px;	left: 0px; bottom:auto;}
	.mwds_foam_image_section .foam-thickness.tcurvedcushion {	top: 70px;	left: 20px;}
	/*window seat*/
	.mwds_foam_image_section .foam-backtop.windowseat {			top: 55px;	left: 50%;	transform: translate(-40%,0);}
	.mwds_foam_image_section .foam-frontbottom.windowseat {		bottom: 20px;	left: 50%;	transform: translate(-60%,0);}
	.mwds_foam_image_section .foam-length.windowseat {			left: 120px;	bottom: 170px;}
	.mwds_foam_image_section .foam-thickness.windowseat {		top: 80px;	left: 30px;}
	/* clipped window seat*/
	.mwds_foam_image_section .foam-backtop.cllipedwindowseat {	top: 60px;	left: 50%;	transform: translate(-40%,0);}
	.mwds_foam_image_section .foam-frontbottom.cllipedwindowseat {	bottom: 20px;	left: 50%;	transform: translate(-60%,0);}
	.mwds_foam_image_section .foam-length.cllipedwindowseat {	left: 150px;	bottom: 180px;}
	.mwds_foam_image_section .foam-side.cllipedwindowseat {		left: 50px;	bottom: 110px;}
	.mwds_foam_image_section .foam-thickness.cllipedwindowseat {top: 75px;	left: 40px;}
	/*Wedge*/
	.mwds_foam_image_section .foam-width.wedge {				top: 110px;	left: 80px;}
	.mwds_foam_image_section .foam-depth.wedge {				bottom: 30px;	left: 50%;	transform: translate(-70%,0);}
	.mwds_foam_image_section .foam-height.wedge {				bottom: 130px;	left: 50px;}
	/*cylinder*/
	.mwds_foam_image_section .foam-length.cylinder {			top: 90px;	left: 35px;}
	.mwds_foam_image_section .foam-diameter.cylinder {			bottom: 135px;	left: 180px;}
	/* cylinder 2*/
	.mwds_foam_image_section .foam-thickness.cylinder2 {		top: 90px;	left: 135px;}
	.mwds_foam_image_section .foam-diameter.cylinder2 {			bottom:140px;	left: 140px; transform: translate(0,0); top: auto;}
}



/* semi circle */
.mwds_foam_image_section .foam-length.semicircle {			bottom: 90px;	left: 240px;}
.mwds_foam_image_section .foam-diameter.semicircle {		bottom: 120px;	right: 45px;}
/*equilatral*/
.mwds_foam_image_section .foam-side.equilateral {			bottom: 45px;	right: 320px;}
.mwds_foam_image_section .foam-depth.equilateral {			bottom: 290px;	left: 170px;}
/*6 sided polygon*/
.mwds_foam_image_section .foam-top.yachtmattress {			top: 100px;	right: 255px;}
.mwds_foam_image_section .foam-flength.yachtmattress {		top: 230px;	left: 30px;}
.mwds_foam_image_section .foam-fullbase.yachtmattress {		bottom: 65px;	right: 140px;}
.mwds_foam_image_section .foam-innerbase.yachtmattress {	bottom: 55px;	right: 340px;}
.mwds_foam_image_section .foam-thickness.yachtmattress {	top: 130px;		left: 130px;}
.mwds_foam_image_section .foam-innerlength.yachtmattress {	bottom: 120px;	left: 233px;}
.mwds_foam_image_section .foam-innertop.yachtmattress {		bottom: 180px;	left: 245px;}
/*trifold fution*/
.mwds_foam_image_section .foam-thickness.trifold {			bottom: 220px;	right: 30px;}
.mwds_foam_image_section .foam-width.trifold {				right: 85px;	bottom: 170px;}
.mwds_foam_image_section .foam-length.trifold {				bottom: 115px;	left: 240px;}
/*two piece chair*/
.mwds_foam_image_section .foam-thickness.twopiecechair {	bottom: 140px;	right: 25px;}
.mwds_foam_image_section .foam-width.twopiecechair {		bottom: 85px;	right: 135px;}
.mwds_foam_image_section .foam-length.twopiecechair {		bottom: 100px;	left: 75px;}
.mwds_foam_image_section .foam-height.twopiecechair {		right: 155px;	bottom: 250px;}
/*two piece lounge*/
.mwds_foam_image_section .foam-thickness.twopiecelounge {	bottom: 140px;	right: 25px;}
.mwds_foam_image_section .foam-width.twopiecelounge {		bottom: 85px;	right: 135px;}
.mwds_foam_image_section .foam-length.twopiecelounge {		bottom: 100px;	left: 75px;}
.mwds_foam_image_section .foam-height.twopiecelounge {		right: 200px;	bottom: 250px;}
/*four piece lounge*/
.mwds_foam_image_section .foam-thickness.twopiecelounge {	bottom: 140px;	right: 25px;}
.mwds_foam_image_section .foam-width.twopiecelounge {		bottom: 95px;	right: 115px;}
.mwds_foam_image_section .foam-length.twopiecelounge {		bottom: 100px;	left: 75px;}
.mwds_foam_image_section .foam-height.twopiecelounge {		right: 185px;	bottom: 210px;}
.mwds_foam_image_section .foam-headheight.twopiecelounge {	right: 200px;	bottom: 270px;}
.mwds_foam_image_section .foam-flength.twopiecelounge {		bottom: 90px;	left: 160px;}
.mwds_foam_image_section .foam-slength.twopiecelounge {		bottom: 125px;	left: 75px;}
/* blester v */
.mwds_foam_image_section .foam-backtop.bolstervberth {		top: 90px;	right: 290px;}
.mwds_foam_image_section .foam-length.bolstervberth {		left: 70px;	top: 125px;}
.mwds_foam_image_section .foam-frontbottom.bolstervberth {	bottom: 45px;	left: 230px;}
.mwds_foam_image_section .foam-height.bolstervberth {		bottom: 170px;	left: 40px;}
/* vlipped bolester v */
.mwds_foam_image_section .foam-backtop.clippedbolstervberth {top: 100px;	right: 320px;}
.mwds_foam_image_section .foam-frontbottom.clippedbolstervberth {	bottom: 45px;	left: 230px;}
.mwds_foam_image_section .foam-height.clippedbolstervberth {bottom: 170px;	left: 5px;}
.mwds_foam_image_section .foam-side.clippedbolstervberth {	bottom: 160px;	right: 70px;}
.mwds_foam_image_section .foam-length.clippedbolstervberth {left: 20px;	top: 140px;}
/* trapeziod */
.mwds_foam_image_section .foam-backtop.trapeziod {			top: 100px;	right: 320px;}
.mwds_foam_image_section .foam-frontbottom.trapeziod {		bottom: 60px;	left: 230px;}
.mwds_foam_image_section .foam-lside.trapeziod {			top: 235px;	left: 50px;}
.mwds_foam_image_section .foam-rside.trapeziod {			top: 235px;	right: 50px;}
.mwds_foam_image_section .foam-length.trapeziod {			left: 240px;	top: 290px;}
.mwds_foam_image_section .foam-thickness.trapeziod {		top: 140px;	left: 90px;}
/* Slanted trapeziod */
.mwds_foam_image_section .foam-backtop.slantedtrapeziod {	top: 100px;	right: 320px;}
.mwds_foam_image_section .foam-frontbottom.slantedtrapeziod {	bottom: 60px;	left: 230px;}
.mwds_foam_image_section .foam-lside.slantedtrapeziod {		top: 235px;	left: 50px;}
.mwds_foam_image_section .foam-rside.slantedtrapeziod {		top: 235px;	right: 65px;}
.mwds_foam_image_section .foam-length.slantedtrapeziod {	left: 240px;	top: 290px;}
.mwds_foam_image_section .foam-thickness.slantedtrapeziod {	top: 140px;	left: 55px;}
/* parallelogram */
.mwds_foam_image_section .foam-width.parallelogram {		top: 110px;	right: 295px;}
.mwds_foam_image_section .foam-height.parallelogram {		bottom: 175px;	left: 260px;}
.mwds_foam_image_section .foam-diagonal.parallelogram {		top: 270px;	left: 65px;}
.mwds_foam_image_section .foam-thickness.parallelogram {	top: 150px;	left: 50px;}
/*5 sided polygon*/
.mwds_foam_image_section .foam-top.fsidedpolygon {			top: 95px;	right: 295px;}
.mwds_foam_image_section .foam-ebase.fsidedpolygon {		bottom: 65px;	left: 300px;}
.mwds_foam_image_section .foam-pbase.fsidedpolygon {		bottom: 55px;	left: 100px;}
.mwds_foam_image_section .foam-length.fsidedpolygon {		bottom: 145px;	left: 250px;}
.mwds_foam_image_section .foam-side.fsidedpolygon {			bottom: 145px;	left: 65px;}
.mwds_foam_image_section .foam-thickness.fsidedpolygon {	top: 130px;	left: 100px;}
/*6 sided polygon*/
.mwds_foam_image_section .foam-top.ssidedpolygon {			top: 95px;	right: 295px;}
.mwds_foam_image_section .foam-ebase.ssidedpolygon {		bottom: 65px;	left: 300px;}
.mwds_foam_image_section .foam-pbase.ssidedpolygon {		bottom: 55px;	left: 100px;}
.mwds_foam_image_section .foam-length.ssidedpolygon {		bottom: 145px;	left: 250px;}
.mwds_foam_image_section .foam-lside.ssidedpolygon {		bottom: 145px;	left: 40px;}
.mwds_foam_image_section .foam-rside.ssidedpolygon {		bottom: 155px;	right: 30px;}
.mwds_foam_image_section .foam-thickness.ssidedpolygon {	top: 130px;	left: 100px;}

@media screen and (max-width:520px){
	.mwds_product_image{width: 100%;}
	.product-type-mwds .row div:first-child{order: 2;}
}

@media screen and (max-width:768px){
	.mwds_foam_image_section input, .mwds_foam_image_section label{margin-bottom: 3px; display:block; text-align:center;}
	.mwds_foam_image_section > div:not(.mwds_product_image){padding: 5px;}
	.mwds_foam_image_section input{padding: 5px;}
}