/*@media (min-width:200px) and (max-width:420px) {

body {
    background: none !important;
}

#header #logo {
    position: initial;
    top: initial;
    left: initial;
	width: initial;
}
#header #logo .dark {
    margin-left: initial;
}
#header #logo i {
    position: relative;
    left: -3px;
    top: -8px;
}
#header {
    height: 108px;
}
.telefon {
    position: relative;
	top: -2px;
    right: 0;
}
.telefon p {
    display: none;
}
.slogan {
	display: none;
}
#callback {
    background: #f2d243;
    background: -moz-linear-gradient(top, #f2d243 0%, #df810f 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #f2d243), color-stop(100%, #df810f));
    background: -webkit-linear-gradient(top, #f2d243 0%, #df810f 100%);
    background: -o-linear-gradient(top, #f2d243 0%, #df810f 100%);
    background: -ms-linear-gradient(top, #f2d243 0%, #df810f 100%);
    background: linear-gradient(to bottom, #f2d243 0%, #df810f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2d243', endColorstr='#df810f', GradientType=0 );
    color: #913712 !important;
    top: 4px;
    padding: 6px;
    border-radius: 5px;
    text-decoration: none !important;
    border: 1px solid #de9302;
    box-shadow: inset 0px 1px 1px 0px rgba(255, 255, 255, 0.7), 0px 1px 1px #1D1D1D;
    outline: none;
    margin: auto;
    width: 76%;
}
#container_slider {
	display: none;
}
.fast_order_left {
    display: none;
}
.alt2 > div {
    display: initial;
}
.spoil input {
display: block;
    float: right;
    background: none;
    border: none;
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    width: 33px;
    height: 33px;
}
.bricks .homepagecategorywall {
display: block;
    width: initial;
    min-height: 22px;
    padding: 0px 0px 4px 0px;
    text-align: left;
}
.bricks .homepagecategorywall > a {
    display: none;
}
.bricks .homepagecategorywall .linkwrapper {
    padding: 0;
    margin-left: 0;
    padding-top: 0px;
}
.bricks .homepagecategorywall h3 {
    border-bottom: none;
    background: #2B86B0;
    margin-bottom: 0px;
    padding: 7px 0px 7px 12px;
    margin-top: 2px;
	border-radius: 4px;
}
.bricks .homepagecategorywall:hover h3 a {
    color: #fff;
}
.bricks .homepagecategorywall:hover h3 {
    border-bottom: none;
    -webkit-transition: border 0.4s ease-in-out;
    -moz-transition: border 0.4s ease-in-out;
    -o-transition: border 0.4s ease-in-out;
}
.bricks .homepagecategorywall h3 a {
    color: #fff;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 200;
}
.bricks .homepagecategorywall .linkwrapper ul > li {
    width: 100%;
    line-height: 31px;
    height: 31px;
}
.box .box-content {
    padding: 0px;
}





}


@media (max-width: 1119px) {
#container {
    width: 98%;
}

.head_block {
    height: 0px;
}
.mainWrap{
	width: 100%;
    padding: 0px 0px;
	position: relative;
}

.menu{
	display:none;
	background: #fff;
}

.mobile-menu{
	display:block;
	width: initial;
}

nav{margin:0;
background:none;}

.menu li{
	text-align: left;
	display:block;
	margin:0;
}

.menu li a {
    background: #ffffff;
    color: #797979;
    border-top: 1px solid #e0e0e0;
    padding: 8px 12px;
    margin: 0px;
    font-size: 16px;
    border-radius: 0px;
}
ul.sub-menu i {
    color: #2B86B0;
    font-size: 7px;
    float: left;
    margin-top: 4px;
    margin-right: 8px;
    display: block;
}
.sub-menu > li > a {
    padding-left: 29px;
}

.menu li a:hover, .menu li:hover > a{
background: none;
    color: #797979;
    border-radius: 0px;
	}

.menu ul {
	background: #fff;
    border: 0px;
	display:block;
position:relative;
top:0;
left:0;
width:100%;}

.menu ul ul {left:0;}

}

@media (min-width: 1000px) {
.alt2 > div {
    display: block !important;
}
}



<div class="pizda_category">
<div class="box <?php echo $template; ?><?php if($bind) { ?> bind<?php } ?>" id="container">  
  <div class="box-content-home box-content" id="line">
  <div class="box-heading-home-cat">Виды работ</div>
    <div class="box-homepagecategorywall">
        <?php foreach ($categories as $category) { ?>
			<div class="homepagecategorywall">
			<a href="<?php echo $category['href']; ?>#nav"><img width="<?php echo $width; ?>" height="<?php echo $height; ?>"src="<?php echo $category['thumb']; ?>"></a>
			<div class="linkwrapper">			 

<div class="spoil">
 
<div class="smallfont"><input type="button" value="+" class="input-button" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Свернуть'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Текст спойлера'; }"/>
<h3><a href="<?php echo $category['href']; ?>#nav"><?php echo $category['name']; ?></a></h3>
</div>	
<div class="alt2">
 
<div style="display: none;">
			<?php if ($category['children']) { ?>
			<ul>
			<?php $end = end($category['children']); ?>
			<?php foreach ($category['children'] as $child) { ?>
			<li>
			<a href="<?php echo $child['href']; ?>#nav"><?php echo $child['name']; ?></a>
			</li>
			<?php } ?>
			</ul>
			<?php } ?>
</div>
 
</div>
</div>
			</div>
			</div>
        <?php } ?>
    </div>
  </div>
</div>
</div>

*/