#est-content {
	font-size: 25px;
	text-align: center;
	color: black;
	padding-top: 5px;
	border-top: 0.5px solid lightgray;
}

.total_price_tbl input[type=text] {
	border: none;
	display: inline;
	font-family: inherit;
	font-size: inherit;
	padding: none;
	width: auto;
	text-align: right;
}

.total_price_tbl input[type=text]:focus {
	border: unset;
	outline: unset;
}

.tb-w12 td:first-child{
	width: 20%;
}

.tbl-price {
	width: 100%;
	text-align: center;
}

.tbl-price td {
	padding: 8px!important;
}

.tbl-price tbody td:not(:first-child):hover{
	background: #ff8000!important;
	color: white;
	transition-duration: 0.1s;
	font-weight: bold;
}

tr.price-row.added td:not(:first-child) {
	background: #fff5d5;
}

.tb-w12 tbody td:not(:first-child) {
	background: white;
}

@-webkit-keyframes blinker {
	from {opacity: 1.0;}
	to {opacity: 0.0;}
}

.new-qty-container {
	margin-top: 10px;
	display: flex;
}

.new-qty-container input[type="number"] {
	width: 100px;
	text-align: right;
}

.new-qty-container input[type="button"] {
	padding: 2px 5px;
	background: #f7b516;
	border: 1px solid #ff8000;
	color: white;
	font-weight: bold;
	cursor: pointer;
}

.blink {
	text-decoration: blink;
	-webkit-animation-name: blinker;
	-webkit-animation-duration: 0.1s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-direction: alternate;
}

.tbl-price tbody tr:hover:hover{
	background: #ffc163;
	transition-duration: 0.1s;
}

.step-container {
	display: flex;
	justify-content: space-between;
	padding-bottom: 10px;
}

.step-box:not(.step-list) span {
	width: 100%;
	line-height: 1.5;
}

.step-box {
	width:33%;
}

.step-list {
	width: 100%;
}

.step-box img {
	width: 100%;
	height: auto;
	max-width: 135px;
}

.step-box .table_rubber td:nth-child(odd){
	width: 45%;
}

.step-list ul {
	display: flex;
	padding: 0;
	margin: auto!important;
	justify-content: space-around;
	align-items: start;
}

.step-list li {
	display: inline-grid;
	width: 30%;
	text-align: center;
	position: relative;
}

.step-list li:after {
	content: "";
	position: absolute;
	width: 110%;
	height: 4px;
	background-color: #ddd;
	top: 12px;
	left: -62%;
	z-index: -1;
}
.step-list li:first-child:after {
	content: none;
}

.step-list li.active {
	color: dodgerblue;
	background: unset;
}

.step-list li.active:before {
	border-color: dodgerblue;
	background-color: dodgerblue
}

.step-list .active:after {
	background-color: dodgerblue;
}

.active .step-number {
	background: dodgerblue;
	color: white;
}

.step-number {
	text-align: center;
	width: 25px;
	height: 25px;
	background: white;
	align-items: center;
	margin: auto;
	border: 2px solid lightblue;
	border-radius: 15px;
	line-height: 1.8;
}

.step-details {
	margin-top: 10px;
	vertical-align: top;
	font-size: 12px;
}

.step-total {
	display: grid;
	text-align: right;
}

.total-price {
	font-size: 26px;
	font-weight: bold;
	color: #d90000;
}

.estimate-content h3 {
	font-size: 16px;
}

.part-container {
	display: grid;
	width: 100%;
	padding: 0;
	text-align: left;
}

.part-content {
	display: grid;
	width: 100%;
	border: #f0f0f0 2px solid;
	margin: 5px 0;
	border-radius: 5px;
}

label.part-name {
	padding: 10px;
	display: flex;
	font-size: 16px;
	vertical-align: middle;
	align-items: center;
	position: relative;
	padding-left: 45px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: pointer;
}
label.part-name.chk-box{
	padding-left: 65px;
}

.part-name input[type=radio] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.part-name input[name="acy_part"], .part-name input[name="acy_paper"], .part-name input[name="part"]{
	height: 100%;
	width: 100%;
}


.acrylic .part-container .checkmark {
	position: absolute;
	top: 5px;
	left: 5px;
	height: 25px;
	width: 25px;
	background-color: #fff!important;
	border: 1px solid lightgray;
	border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.part-name:hover input[type=radio] ~ .checkmark {
	background-color: #eeeeee;
}

/* When the radio button is checked, add a blue background */
.part-name input[type=radio]:checked ~ .checkmark {
	background-color: #ffffff;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the indicator (dot/circle) when checked */
.part-name input[type=radio]:checked ~ .checkmark:after {
	display: block;
}

/* Style the indicator (dot/circle) */
.part-name .checkmark:after {
	top: 2px;
	left: 2px;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: #f7b516;
	border: unset;
}

#acrylic-btn.btn-container {
	display: flex;
	justify-content: space-around;
	text-align: center;
	margin: auto;
	margin-top: 10px;
}

.btn-back, .btn-next {
	width: 35%;
	background: #1e6077;
	color: white!important;
	border-radius: 5px;
	padding: 12px 0px;
}

.btn-back{
	background: linear-gradient(to bottom,#f7f8fa,#e7e9ec);
	color: black!important;
	border: 1px solid;
}


#back {
	display: none;
}

.btn-next:hover, .btn-back:hover{
	background: white;
	color: #1e6077!important;
	border: 1px solid #1e6077;
	font-weight: bold;
	opacity: 1;
}

.btn-back:hover {
	color: black!important;
	border: 1px solid black;
}

.total_price_tbl td:nth-child(odd){
	text-align: left;
}

#label-qty{
	padding-left: 10px; 
}
#step2, #step3{
	display: none;
}
#step2 .flex-container {
	width: 100%;
}

#step2 .preview-top img {
	width: 40%;
}

#step2 .preview-top {
	text-align: center;
}

#step2 .flex-item {
	max-width: 100%;
	width: 100%;
}

#step3.flex-item{
	width: 100%;
	max-width: 100%;
}

#step2 .preview-sub .flex-item {
	max-width: 20%;
	text-align: center;
}

#step2 .preview-container {
	background: none;
	display: block;
	width: 100%;
}

#step2 .preview-sub .flex-item img {
	width: auto;
	margin-bottom: 5px;
	max-width: 100%;
	outline: 0.5px solid #f8f8f8;
	outline-offset: -1px;
}

#step2 .paper-container .flex-item {
	max-width: 33%;
}

#step2 .flex-item .part-name{
	display: block;
	width: 100%;
}

#step2 .preview-sub{
	justify-content: flex-start;
}

.part-name input[type=checkbox] { 
	opacity: 0;
	width: 100%;
	height: 100%;
}

#step3 .table_rubber{
	display: table;
	margin-right: 10px;
	min-width: 375px;
}

#step3 .ord-btn{
	width: 30%;
}
#step3 .est-btn{
	width: 20%;
}
#step3 .btn-back, #step3 .btn-next{
	width: 15%;
	padding: 10px 0px;
}
#step3 h3{
	text-align: center;
	margin: 10px;
}

.flex-container{margin-bottom: 0px;}
.videoWrapper{position:relative;padding-bottom:56.25%;height:0;}
.videoWrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%}
#wrapper{overflow:unset}
.item{margin-bottom: 10px;width: 100%;}
.item_btn{width: 100%; bottom: 0;}
.step-list .active,.step-list .dot:hover{background-color: rgba(0, 0, 0, 0);}	
#wrapper #content_wrapper ul {list-style-image: none;list-style-type: none;}

/* Button 13 */
.switch_off_button
{
	position: relative;
	width: 70px;
	height: 30px;
	overflow: hidden;
	margin: 5px;
	border: 1px solid lightgray;
}

.switch_off_button .checkbox:checked .switch_off_button:before{
	border: 1px solid red;
}

.switch_off_button.b2
{
	border-radius: 2px;
}


.layer
{
	width: 100%;
	background-color: #ebf7fc;
	transition: 0.3s ease all;
}

.checkbox
{
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 3;
}

.switch_off .knobs:before, .switch_off .knobs:after, .switch_off .knobs span
{
	position: absolute;
	top: -1px;
	width: 29px;
	height: 15px;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	line-height: 1.3;
	padding: 8px 4px;
	border-radius: 2px;
	transition: 0.3s ease all;
}

.switch_off .knobs:before, .switch_off .knobs:after
{
	color: #ffffff;
}

.switch_off .knobs:before
{
	content: 'มี';
	left: 0px;
	background-color: #1e6077;
}

.switch_off .knobs:after
{
	content: 'ไม่มี';
	right: -3px;
	background-color: #ccc;
}

.switch_off .knobs span
{
	width: 27px;
	left: -1px;
	background-color: #ffffff;
	z-index: 1;
	border: 1px solid lightgray;
}

.switch_off .checkbox:checked + .knobs span
{
	left: 36px;
	background-color: white;
}

.switch_off .checkbox:checked ~ .layer
{
	background-color: #fcebeb;
}

#step2 label.part-name{
	padding: 0px!important;
}

#step2 .flex-item .part-name input:checked ~ img{
	outline: 2px solid dodgerblue;
	outline-offset: -2px;
}

#step2 .paper-container {
	height: 380px;
	overflow: auto;
	scroll-behavior: smooth;
}

#step2 .paper-container .preview-sub.flex-container{
	justify-content: space-between;
}

.error {
	color: red;
	padding: 0px 10px 5px;
}

.prd_total {
	font-size: 34px;
}

#wrapper #content_wrapper #step3 .total_price_tbl td:nth-child(odd){
	background: #1e90ff;
	color: white;
	border: 1px solid #2a3e51;
	text-align: center;
}
#wrapper #content_wrapper #step3 .total_price_tbl td:nth-child(even){
	text-align: right;
	border: 1px solid #1e6077; 
}

.fixed-contrainer {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	background: white;
	z-index: 2;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	-webkit-box-align: center;
}

#footerbox{
	overflow: hidden;
}

input[type=number]{
	padding:5px;
	font-size:16px;
	margin-left: 5px;
}

@media (max-width: 576px){
	.total_price_tbl .btn-back,.total_price_tbl .btn-next{
		width: 48%!important;
		padding: 15px 0px;
		font-size: 10px;
	}
	.btn-back, .btn-next{
		width: 45%!important;
		padding: 10px 0px;
	}
	.step-box{
		width:100%;
	}
	.total-price {
		font-size: 4vw;
	}
	.prd_total {
		font-size: 5vw;
	}
	#step3 .ord-btn{
		width: 100%;
	}
	#step3 .est-btn{
		width: 100%;
	}

	.step-container.line1{
		display: inline-table;
		min-width: 96%;
	}
	.step-box:not(.step-list) {
		width: 100%;
		display: inherit;
	}
	.step-box.line2 {
		width: 50%;
		display: inline-block;
	}

	#step2 .flex-container {
		height: 280px;
		overflow: auto;
		scroll-behavior: smooth;
	}

	#step2 .preview-sub .flex-item {
		max-width: 33.33%;
	}

	#step2 .preview-sub .flex-item .picpro {
		margin: 0;
	}

	.fixed-contrainer{
		top: 45px;
	}
	#step3 .table_rubber{
		min-width: unset;
	}

	#step3 .table_rubber td:nth-child(odd){
		width: 30%;
	}
}