:root {
--main-color: brown;
--sec-color: #9ec928;
--hover-col: #c7f549;
}



select {
background: #e8e8e8;
border-radius: 7px;
	            padding: 11px 10px 11px 30px;
    display: block;
        color: rgb(47, 63, 14);;
       font-weight: bold;
    text-align: center;
    margin-left: 4px;
	
}



form[name="CalcForm"]{
	       border: 10px solid #68584e;
    max-width: 1000px;
    background: rgba(239, 239, 239, 0.3);
    margin: 0 auto;
    border-radius: 7px;
    
}

.itogo{
    text-align: left;
    font-weight: bold;
}

.price_itogo{
    font-weight: bold;
    float: right; 
 }

form[name="CalcForm"] button{
	border-radius: 7px;
    display: block;
    width: 133px;
    margin: 0 auto 20px;		
    padding: 7px;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

form[name="CalcForm"] button:hover{
	-webkit-box-shadow: 0 0 6px black;
	box-shadow: 0 0 6px black;
}

.send-div{
	width: 30%;
}

.send-div input{
	width: 100%;
	padding: 10px;
	border: 1px solid #bbb;
}

.send-div textarea{
	width: 100%;
	border: 1px solid #bbb;
	padding: 10px 10px 0 10px;
}

.group-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.group-wrapper .group-header{
	border-bottom: none;
	width: 30%;
	    margin: 19px;
		font-size: 20px;
}


.group-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.group-select input[type="radio"]{
	display: none;	
}

.group-select input[type="checkbox"]{
	display: none;
}

.price-line{
	height: 70px;
    margin: 20px 0;
    width: 100%;
    text-align: center;
    background: #68584e;
    color: #fff;
    font-size: 141%;
    line-height: 64px;
	text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.75);
}

.price-line span{
	color: #ffcc00;
    font-size: 125%;
    font-weight: bold;
}


/*label[for^="height_srub"], label[for^="windows_srub"], label[for^="doors_srub"]   {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
    width: 50px;
    height: 50px;
        background: url(button-gradient-bg.png) repeat-x;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 17px;
    margin: 0 4px;
	color: white;
	font-weight: bold;
}

input[type="radio"]:checked+label[for^="height_srub"], input[type="radio"]:checked+label[for^="windows_srub"], input[type="radio"]:checked+label[for^="doors_srub"] , input[type="radio"]:checked+label[for^="roof_srub"] ,
input[type="radio"]:checked+label[for^="top_srub"],input[type="radio"]:checked+label[for^="fundament"],input[type="radio"]:checked+label[for^="tip_srub"], input[type="radio"]:checked+label[for^="format_srub"] , input[type="radio"]:checked+label[for^="tip_krishi"] 
{
	background: var(--sec-color);
	   color: rgb(47, 63, 14);
	
}*/
input[type="radio"]:checked+label
{
	background: var(--sec-color);
	   color: rgb(47, 63, 14);
	
}
label{
display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
        min-width: 100px;
	padding: 0 4px;
    height: 42px;
	border: 1px solid rgb(169, 169, 169);
     background:#e8e8e8;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 7px;
    margin: 0 4px;
	    color: rgb(117,63,0);
	font-weight: bold;
	cursor: pointer;
    font-size: 17px;
}


/*label[for^="tip_srub"], label[for^="format_srub"], label[for^="tip_krishi"],label[for^="roof_srub"], label[for^="top_srub"] , label[for^="fundament"] ,label[for^="height_srub"], label[for^="windows_srub"], label[for^="doors_srub"]{
	  display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
        min-width: 100px;
	padding: 0 4px;
    height: 42px;
	border: 1px solid rgb(169, 169, 169);
     background:#e8e8e8;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 7px;
    margin: 0 4px;
	    color: rgb(117,63,0);
	font-weight: bold;
	cursor: pointer;
    font-size: 17px;
}*/

/*label[for^="tip_srub"]:hover, label[for^="format_srub"]:hover, label[for^="tip_krishi"]:hover,label[for^="roof_srub"]:hover, label[for^="top_srub"]:hover, label[for^="fundament"]:hover ,label[for^="height_srub"]:hover, label[for^="windows_srub"]:hover, label[for^="doors_srub"]:hover{
	background: var(--hover-col);
}
input[type="radio"]:checked+label[for^="tip_srub"], input[type="radio"]:checked+label[for^="format_srub"] , input[type="radio"]:checked+label[for^="tip_krishi"] {
	background: var(--sec-color);
	    box-shadow: 0 0 6px black;
}*/

label[for^="wall_srub"]{
    height: auto;	
    margin-left: 4px;
	display: block;
    position: relative;
    padding: 10px 30px 10px 42px;
    border-radius: 7px;
    color: rgb(117,63,0);
    background:#e8e8e8;
    white-space: nowrap;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	font-weight: bold;
	margin-right: 8px;
	border: 1px solid rgb(169, 169, 169);
}

label[for^="wall_srub"]::before{
	content:'';
	width: 20px;
	height: 20px;
	border: 2px solid rgb(117,63,0);
	border-radius: 50%; 
	display: block;
	position: absolute;
	top: 9px;
	left: 10px;
	text-align: center;
}

input[type="checkbox"]:checked+label[for^="wall_srub"]{
	background: var(--sec-color);
	color: rgb(47, 63, 14);
}
input[type="checkbox"]:checked+label[for^="wall_srub"]::before{
	background: var(--main-color);
	content: "\2714";
	color: white;
}

.order-button .form-link{
	margin: 0 auto 20px;
	/* display: none; */
}
/* .order-button {
	display: none;
} */
.fixedPrice {
    text-align: left;
    font-weight: bold;
    width: 370px;
    background: #65554b;
    color: white;
    padding: 7px;
    position: fixed;
    bottom: 41px;
	opacity: 0.7;
}

.form-link__info{
  
    position: fixed;
    top: 5%;
    background: #fbfbfb;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 9999;
    display: none;
	padding: 20px 0;
    overflow: auto;
    height: 600px;
}

.form-mini-text{
	font-size: 11px;
    padding: 20px;
    text-align: justify;
}

.calc-send {
	background: #ffcc00;
	border: 1px solid #ffcc00;
	font-weight: bold;
}



div#CalcSmeta {

    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 33px;
	flex-direction: column;
}
#CalcSmeta table{
width: 80%;
  height: 400px;
}

.send-div {
    padding: 0 4px;
margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.send-div  div{
display: flex;
	width: 100%;
	margin-bottom: 6px;
}
.send-div  div span{
	width: 40%;
}

form#calcForm {
    display: flex;
    flex-direction: column;
  
}

.table_job, .table_mater{
	min-width: 60%;
}

.table_mater th{
	padding: 10px;
	border-bottom: 3px solid black;
	text-align: left;
}


.table_mater th:nth-child(2) {
	text-align: right;
}


.table_mater td{
	padding: 10px;
	border-bottom: 1px solid black;
}

h3{
	padding: 10px;
	border-bottom: 1px solid black;
}
.info_table_th th{
	border-top: 1px solid black;
}
.price_td{
	text-align: right;
}

@media (max-width: 800px) {
	
	.form-link__info {
		width: 100%;
		height: 90%;
	}
	

#CalcSmeta table{
	display: block;
	overflow: auto;
	height: 650px;
}

	 .group-wrapper{
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		flex-direction: column;
		text-align: center;
	}
	.group-item{
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		width: 90%;
		margin: 0 auto;
		    -webkit-box-pack: center;
		    -ms-flex-pack: center;
		    justify-content: center;
	}
	.group-item .group-select{
		margin-bottom: 4px;
	}
	
	.group-wrapper .group-header{
		width: 90%;
	}
	
	.send-div{
		width: 70%;
	}
}
