@media only screen and (max-width : 978px) {
table#table{
	    display: block;
}
table#table > tbody{
	    display: block;
}
table#table > tbody > tr{
	    display: block;
}
table#table > tbody > tr > td{
	    display: block;
}
.table {
    width: 100%;
}
#tops {
    height: auto;
    display: block;
}
#shap1 {
    display: none;
}
#top_phone {
    float: right;
    margin: 0;
}
#site_bot {
    background: #18c139;
    text-align: center;
    float: none;
    width: 100%;
    height: auto;
    margin: 0;
    position: fixed;
    bottom: 0;
    left: 0;
}
#site_bot img{
	display: none;
}
#site_bot a:before {
    content: "Вернуться на сайт";
    color: #fff;
    line-height: 34px;
    text-shadow: 1px 1px 1px rgb(8 8 8 / 60%);
    font-size: 18px;
}
#brown {
    height: 70px;
    background: url(/files/logo1.jpg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
}
#top_phone {
    width: auto;
    height: auto;
    font-size: 16px;
}
#top {
    height: auto;
}
#top_img {
    height: auto;
}
.table:after {
    content: "";
    display: table;
    clear: both;
}
.table {
    width: 100%;
    padding: 0 13px;
    box-sizing: border-box;
}
#name2 {
    height: auto;
    width: 100%;
    margin: 15px 0 15px;
}
#name1 {
    float: none;
    width: 100%;
    font-size: 26px;
    margin: 15px 0 15px;
    text-align: center;
}
#top_menu {
    float: left;
    width: 100%;
    height: auto;
}
#left {
    width: 100%;
}
#zvonok {
    position: static;
    margin: 0;
}
#zakaz{
    position: static;
    margin: 0;
}
#top_menu {
    background: #32291d;
}
.menu {
    width: 33.333%!important;
    text-align: center;
}
.menu_txt {
    width: 100%;
    text-align: center;
    margin: 0;
}
.card {
    width: 100%;
    height: auto;
    margin: 10px 0px;
}
.card h3, .card p {
    text-align: left;
    padding: 0 10px;
}
img {
    max-width: 100%;
    height: auto;
}
.card_img {
    width: 120px;
    float: left;
    margin: 10px 0 6px 10px;
}
#top_img {
    background-size: cover;
}
.card {
    background: rgb(154 114 62 / 80%);
}
#sel1 {
    background: rgb(24 193 57 / 80%);
}
#center {
    padding: 20px 0 30px 0;
}
#name3, #name4, #name5 {
    width: 100%;
    height: auto;
    text-align: center;
}
#calc {
    width: 98%;
}
#right {
    width: 100%;
}
#bottom {
    padding-bottom: 55px;
}
#left {
    margin-bottom: 25px;
}
#zvonok {
    clear: both;
    display: inline-block;
    vertical-align: top;
    position: static;
    margin: 0 0 0 0;
    width: 49%;
}
#zakaz {
    display: inline-block;
    vertical-align: top;
    position: static;
    margin: 0 0px 0 0;
    width: 49%;
}
#right_img {
    width: auto;
    height: auto;
}
#brown {
    height: 60px;
    margin: 10px 0 10px 5px;
}
#top1 {
    height: 70px;
}
#top_phone {
    margin: 4px 0 0 0;
}
form#calculator > .table{
	 display: flex;
    flex-flow: column wrap;
}
#right {
    order: 2;
}
#zakaz {
	    width: 100%;
    order: 4;
}
#zvonok {
	    width: 100%;
    order: 3;
}
#left {
    order: 1;
}
#top1 {
    height: 80px;
}
#right_img {
    margin: 0 auto 15px;
    float: none;
    text-align: center;
}
#copy1 {
    float: left;
    width: 100%;
    text-align: center;
    margin: 0 0 7px;
}
#copy2 {
    float: none;
    width: 100%;
    text-align: center;
}
#counter {
    display: none;
}
#bot_mail {
    float: none;
    display: inline-block;
    vertical-align: top;
    width: 100px;
    padding: 0px 0 0 35px;
    margin: 7px 0 0 0;
}
#bot_phone {
    float: none;
    display: inline-block;
    vertical-align: top;
    width: 214px;
    padding: 5px 0 0 35px;
    margin: 0;
    box-sizing: border-box;
    height: auto;
    text-align: left;
}
#bottom {
    text-align: center;
}
}


@media only screen and (max-width : 767px) {
#brown {
    height: 50px;
    margin: 15px 0 15px 5px;
}
#top_phone {
    margin: 0px 0 0 0;
    font-size: 15px;
}
#end{
	display: block;
}
#end > tbody{
display: block;	
}
#end > tbody > tr:nth-child(1){
	display: block;
}
#end > tbody > tr:nth-child(1) > td{
	display: block;
}
#end > tbody > tr:nth-child(1) > td {	
    padding: 5px 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
}
#montage {
    padding: 0;
    margin-top: 15px;
}
#delivery {
    border-right: none;
}
.select-css1 {
    width: 100%;
    box-sizing: border-box;
}
#brown {
    height: 50px;
    margin: 10px 0 10px 5px;
}
#top1 {
    height: 70px;
}
.param {
    float: left;
    margin: 7px 0;
    width: 100%;
}
.param br{
	display: none;
}
.numer_block {
    width: 100%;
}
#param ~ table[width="100%"] > tbody > tr > td:nth-child(4){
    display: inline-block;
    width: calc(100% - 130px);
	    vertical-align: middle;
}
#param ~ table[width="100%"] > tbody > tr > td:nth-child(7){
    display: inline-block;
    width: calc(100% - 130px);
	    vertical-align: middle;
}
#param ~ table[width="100%"] > tbody > tr > td[width="20"]{
	 display: inline-block;
      vertical-align: middle;
}
#param ~ table[width="100%"] > tbody > tr > td[width="65"]{
	display: inline-block;
       vertical-align: middle;
}
#param ~ table[width="100%"] > tbody > tr > td[width="43"]{
	display: inline-block;
       vertical-align: middle;
}
#param ~ table[width="100%"] > tbody > tr > td{
	    display: block;
}
#param ~ table[width="100%"] > tbody > tr{
	    display: block;
}
#param ~ table[width="100%"] > tbody{
	    display: block;
}
#param ~ table[width="100%"]{
	    display: block;
		clear: both;
}
#end td {
    padding: 5px 0;
}
.form_input_full {
    width: auto;
}
.name {
    background-position: 5px 100%;
}
.menu {
    height: 70px;
    font-size: 18px;
}
#sel {
    background-position: -5px 100%;
}
#brown {
    background-position: 0 5px;
}
.card_img {
    width: 100px;
}
.card_txt {
    float: left;
    margin: 9px 0 0 10px;
    width: calc(100% - 130px);
}
#name2 {
    font-size: 32px
}
#right {
    margin-bottom: 20px;
}
}

@media only screen and (max-width : 359px) {
#brown {
    height: 43px;
    margin: 10px 0 0px 5px;
    background-position: 0px 10px;
}
}	