/*#productFormAffix.affix{
	display: none !important;
}*/

#reshetka {margin-top:20px;padding: 10px 10px 0;border: 1px solid #c2cfd6;}
#width_block, #height_block, #color_block, #count_block, #result{margin-bottom: 15px;}
#result {display: flex;align-items: baseline;}
#result span{flex: 1;padding: 0 !important;}
#result textarea{flex: 1;padding: 0 !important;text-align: center;resize:none;}
#result2 {margin-top:10px;}
#ed1  {font-size: 12px;}
#podpis_label {font-size: 11px;}
#itogo {font-weight: bold;font-size: 18px;}
#price_finish {color: #007dc6;font-size: 20px;font-style: italic;font-weight: bold;}
.rez4{color: #007dc6;}

span#discount {
    font-size: 20px;
    font-style: italic;
    color: 
    #d30006;
}

textarea#price_without_discount, textarea#price_discount, textarea#price_finish {
	height: 30px !important;
	font-size: 20px;
	font-style: italic;
	font-weight: bold;
	background: #fff !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
}
.form input[type="number"]{
    height: 22px !important;
	width: 100px !important;
	margin: 0 5px;
}
.form input[type="text"], .form input[type="password"], .form input[type="email"], .form select {
    height: 30px !important;
}
.form input[type="text"], .form input[type="password"], .form input[type="email"], .form select, .form textarea {
    display: block;
    width: 100% !important;
    padding: 6px !important;
    font-size: 16px;
    line-height: 1.25;
    color: #555;
	background:#fff none;
	border: 1px solid #ccc;
	border-radius: 3px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
	margin: 10px 0;
	font-size: 14px;
}




#calcul_button {display:none;}

.popup {
width:100%;
height:100%;
background-color: rgba(0,0,0,0.5);
overflow:hidden;
position:fixed;
top:0px;
left:0;
z-index: 1000;
}
.popup .popup-content {
margin:80px auto 50px auto;
width:70%;
padding:8px;
height:85%;
background-color: #FFFFFF;
box-shadow: 0px 0px 10px #000;
overflow:scroll;
}
.popup .popup-content a.close{float:right;color: red;}

.calc_popup{
	position: fixed;
	width: 100%;
	height: 100%;
	display: none;
	left: 0;
	top: 0;
	z-index: 10000;
}
.calc_popup.open{
	display: block;
}
.calc_popup .popup {
	position: absolute;
	top: 20%;
	left: calc(50% - 160px);
	margin: 0;
	padding: 0;
	border: 0;
	z-index: 99995;
	background: transparent;
	cursor: default;
	overflow: visible;
	-webkit-transform-origin: top left;
	-ms-transform-origin: top left;
	transform-origin: top left;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background: #FFF;
	width: 320px;
	height: 480px;
	padding: 40px 20px;
	box-sizing: border-box;
	
}
.calc_popup.open .fancybox-bg{
	opacity: 0.87 !important;
}
.calc_popup button.modal__close{
	top: 7px;
	right: 7px;
	color: red;
}
.calc_popup button:hover{
	background: #FFF !important;
}
.form__policy {font-size: 12px;}


@media only screen and (max-width: 767px){
#reshetka {}
.productForm {border-width: 0;margin: 0;}
}

@media only screen and (max-width: 450px){
.popup .popup-content {
margin:80px auto 50px auto;
width:300px;
padding:8px;
height:85%;
background-color: #FFFFFF;
overflow:scroll;
display: block;
}

.calc_popup .popup {
    position: absolute;
    top: 6%;
	left: calc(50% - 150px);
	overflow: auto;
	width: 300px;
	max-height: 88%;
}

}