#mainnav-box {
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
}

#mainnav {
    width: 960px;
    margin: 0 auto;
    padding: 0;
    height: 35px;
    border-radius: 4px;
    border-left: solid 1px #dedede;
    border-right: solid 1px #dedede;
}


#mainnav > div.overflow > ul {
    padding: 0;
    margin: 0;
    height: 35px;
    background: url(images/bg1.png) repeat-x;
    
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
}

#mainnav > div.overflow > ul > li {
    float: left;
    list-style: none;
    margin: 0;
    border-right: solid 1px #d1d1d1;
    min-width: 130px;
    text-align: center;
    flex: 1 0 auto;
}

#mainnav > div.overflow > ul > li:last-child {
    border-right: none;
}

#mainnav > div.overflow > ul > li > a {
    display: block;
    padding: 2px 10px 0;
    font-size: 10pt;
    text-transform: uppercase;
    line-height: 33px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #222222;
}

#mainnav > div.overflow > ul > li.hover > a {
    text-decoration: none;
    background-color: #3e3e3e;
    color: white;
}

#mainnav > div.overflow > ul > li > a:hover {
    text-decoration: none;
}

#mainnav > div.overflow > ul > li > .galka {
    display: none;
}

#mainnav > div.overflow > ul > li.hover > .galka {
    display: block;
    position: absolute;
    width: 12px;
    height: 5px;
    background: url(images/galka3.png) center bottom no-repeat;
    z-index: 10200;
    transform: translate(60px, -1px);
}

.submenu1 {
    display: none;
}

#submenu-wrapper {
    position: absolute;
    /*width: 960px;*/
    z-index: 10100;

}

#img-production-repair {
	max-width: unset;
	width: 50px;
}

#submenu-container {
    display: none;
    border: solid 1px #DDDDDD;
    box-shadow: 0 3px 3px #DDDDDD;
    padding: 10px;
    font-size: 9pt;
    min-width: 670px;
    margin-top: 2px;

    background-color: #f4f4f4;
}

#submenu-container > .sublist > ul {
    padding: 0;
    margin: 0;
    height: 35px;
    border-bottom: solid 1px #DDDDDD;
    
    overflow: auto;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
}

#submenu-container > .sublist > ul > li {
    float: left;
    list-style: none;
    margin: 0 10px;
    height: 35px;
}

#submenu-container > .sublist > ul > li.hover {
    background: url(images/galka4.png) center bottom no-repeat;
}

#submenu-container > .sublist > ul > li > a {
    display: block;
    padding: 2px 10px;
    font-size: 9pt;
    text-transform: uppercase;
    color: #666666;
    font-weight: bold;
}

#submenu-container > .sublist > ul > li.hover > a {
    text-decoration: none;
    color: #222222;
}

.subnodetable {
    border: none;
    width: 100%;
    margin-top: 9px;
}

.subnodetable td {
    vertical-align: top;
    text-align: center;
}

.subnodetable td.v-middle {
    vertical-align: middle;
}

.subnodetable td.b-right {
    border-right: solid 1px #DDDDDD;
}

.subnodetable td.sm-pad {
    padding: 0 21px;
}

.subnodetable .col{
    width: 80px;
    padding: 4px;
    float: left;
}

.subnodetable .col img {
    padding-bottom: 10px;
}

.nodes_vstavka {
    text-align: left;
    line-height: 22px;
}

.nodes_vstavka .strong {

    font-weight: bold;
}

.nodes_type {
    text-align:left;
    line-height: 25px;
}

.nodes_type .strong{
    margin-left: 22px;
    font-weight:bold;
}

.nodes_prices {
    text-align: left;
    margin-top: 2px;
}

.nodes_prices .strong {
    padding-left: 5px;
    font-weight: bold;
    font-size: inherit;
}

.nodes_prices a {
    text-decoration: underline;
    color: #333333;
}

.nodes_prices span {
    color: #7B7B7B;
    font-size: .75rem;
}

.nodes_prices_head {

}

.nodes_prices_block {
    margin-top: 7px;
}
.nodes_stolovoe{
    text-align:left;
    line-height: 25px;
}

.nodes_stolovoe .strong{
    margin-left: 0;
    font-weight: bold;
}

.select-event {
   width:100px;
   height: 25px;
    font-size: .75rem;
}

@media (max-width: 960px) {
	#mainnav {
		width: 100%;
		height: auto;
    	overflow: visible;
		box-sizing: border-box;
	}
	#mainnav > div.overflow {
        overflow: auto;
        padding-bottom: 6px;
        box-sizing: border-box;
    }
	#mainnav ul {
		display: flex;
    	justify-content: flex-start;
    	align-items: stretch;
    	flex-flow: row nowrap;
	}
	#mainnav > div.overflow > ul > li {
    	flex: 1 0 190px;
    	background: url(images/bg1.png) repeat-x;
    	position: relative;
	}
	#submenu-wrapper {
	    width: calc(100% - 1px);
	    max-width: 100vw;
		box-sizing: border-box;
	}
}

@media(max-width: 768px) {
    #mainnav {
        width: auto;
        max-width: 960px;
        height: auto;
    }

    #mainnav  ul {
        background-size: cover;
        justify-content: center;
        height: auto;
		flex-wrap: wrap;
    }

    #mainnav  ul  li {
        border-right: unset;
        width: auto;
        float: none;
        flex: 0 0 auto;
        background: none;
    }
    
    #mainnav  ul  li:last-child {
    	width: auto;
    }
}
@media(min-width: 768px) {
	.subnodetable td {
    padding: 0 27px;
	}
}	

.subcontent1 {
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
}

#item-sm-pad {
	margin: 0 12px;
	width:65px;
}
