.flex-column {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	-ms-align-items: stretch;
	align-items: stretch;
	justify-content: flex-start;
}
.flex	{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	-o-flex-direction: row;
	flex-direction: row;
	-ms-align-items: flex-start;
	align-items: flex-start;
	justify-content: space-between;
}
.calc-form button[type="submit"] {
	  display: inline-block;
    font-size: 15px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    line-height: 46px;
    border-radius: 27px;
    padding: 0 40px;
    background: linear-gradient(-45deg,#328d50,#38c12d,#328d50);
    background-size: 200% 100%;
    background-position: left center;
    transition: 0.5s;
    box-shadow: 2px 2px 4px #ccc;
    margin-top: 40px;
    margin-bottom: 40px;
    -ms-align-self: center;
    align-self: center;
    border: none;
    outline: none;
    cursor: pointer;
}
.calc-form button[type="submit"]:hover {
	background-position: right center;
	box-shadow: 2px 2px 2px #ccc;
}
.form-container {
	width: 100%;
	max-width: 800px;
	margin: 40px auto;
	border: 12px solid #328d50;
	background-color: #f3f7f1;
	border-radius: 20px;
	padding-bottom: 30px;
}
.form-container h2 {
	color: #fff;
	padding: 30px 20px 20px;
	background-color: #328d50;
	text-align: center;
	font-weight: 500;
	font-size: 30px;
	font-family: 'Oswald', sans-serif;
  	margin: 0;
}
.form-container p {
  	margin-block-start: 0;
    margin-block-end: 0;
}
.form-container h4 {
	color: #fff;
	padding: 0px 80px 30px;
	background-color: #328d50;
	text-align: center;
  	margin: 0;
}
.calc-form input, .calc-form textarea, .calc-form select {
    display: block;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 0;
    color: #333;
    padding-left: 12px;
    font-size: 14px;
    line-height: 32px;
    font-family: 'PT Sans', 'Arial', sans-serif;
    margin-right: 10px;
    margin-top: 5px;
}
.calc-form label {
	cursor: pointer;
}
.calc-form select {
	min-width: 80px;
	height: 32px;
}
.form-fields {
	padding: 30px 20px;
	-ms-align-items: center;
	align-items: center;
	border-bottom: 12px solid #328d50;
}
.form-fields p {
	margin-bottom: 15px;
}
.input-container {
	margin-bottom: 15px;
	justify-content: flex-start;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-align-items: center;
	align-items: center;
}
#floor-calc input[type="number"] {
	width: 80px;
}
#floor-calc #square-inputs label, #floor-calc #height-inputs label {
	margin-right: 10px;
}
.form-container ul.input-wrapper {
	list-style: none;
	margin-bottom: 15px;
}
ul.input-wrapper li {
	cursor: pointer;
	width: 130px;
	height: 200px;
	margin: 0 10px!important;
	background-color: #fff;
	background-repeat: no-repeat;
}
ul.input-wrapper li input {
	display: none;
}
ul.input-wrapper li label {
	font-size: 14px;
	flex-grow: 2;
	-ms-align-self: stretch;
	align-self: stretch;
	text-align: center;
	-ms-align-items: center;
	align-items: center;
	justify-content: flex-end;
	padding: 10px;
	border: 2px solid #fff;
}
ul.input-wrapper li label.checked {
	border: 2px solid #328d50;
	-webkit-box-shadow: 0px 0px 1px 2px #01933B;
	box-shadow: 0px 0px 1px 2px #01933B;
}
#material-inputs ul.input-wrapper li {
	background-image: url(../images/self.png);
}
#material-inputs ul.input-wrapper li:first-child {
	background-position: 10px 10px;
	-webkit-background-size: 170%;
	background-size: 170%;
}
#material-inputs ul.input-wrapper li:last-child {
	background-position: -123px 10px;
	-webkit-background-size: 180%;
	background-size: 180%;
}
.material-window {
	position: relative;
	-ms-align-self: stretch;
	align-self: stretch;
}
.material-window label {
	margin-right: 10px;
}
#ready-tab, #handmade-tab {
	position: absolute;
	top: 0;
	list-style-position: outside;
	right: 0;
	bottom: 0;
	overflow: hidden;
	z-index: -1;
	opacity: 0;
	visibility: hidden;
	border: none;
	-ms-align-items: center;
	align-items: center;
	padding: 30px 20px 15px;
}
#ready-tab.active-tab, #handmade-tab.active-tab {
	opacity: 1;
	visibility: visible;
	position: relative;
	z-index: 1;
	border: 1px dashed red;
	width: 100%;
}
#force-inputs label {
	background-image: url(../images/streng.png);
	background-repeat: no-repeat;
}
#force-inputs li:nth-of-type(1) label {
	background-position: 3px 31px;
	-webkit-background-size: 263%;
	background-size: 263%;
}
#force-inputs li:nth-of-type(2) label {
	background-position: -132px 31px;
	-webkit-background-size: 293%;
	background-size: 293%;
}
#force-inputs li:nth-of-type(3) label {
	background-position: -253px 31px;
	-webkit-background-size: 293%;
	background-size: 293%;
}
#force-inputs li:nth-of-type(4) label {
	background: none;
}
.form-message {
	color: #a22;
	text-align: center;
	font-size: 18px;
	padding: 0 20px;
}
.form-message p {
	margin-bottom: 30px;
}
.form-result {
	background-color: #fff;
	font-size: 18px;
	padding: 20px 30px;
	width: calc(100% - 40px);
	-ms-align-self: center;
	align-self: center;
	border-radius: 20px;
}
.form-result p:not(:last-child) {
	margin-bottom: 10px;
}
.form-result p.no-result {
	text-align: center;
	margin-bottom: 0;
}
.empty-input {
	background-color: #fdd!important;
	border: 1px solid #a22!important;
}