nav.top .menu{margin:0 auto;}
nav.top .menu ul {list-style:none; padding:0; text-align:center;}
nav.top .menu li {display:inline-block; vertical-align:top; margin:0px 7px; float:left; position: relative}
nav.top .menu li a {
	display:block; text-decoration:none; font-size:1.2em; padding:0; color:#ccc;
	text-shadow: 1px 1px 9px #333333; font-weight:700;}
@media only screen and (max-width: 468px){
   nav.top .menu li a{font-size:0.9em;}
}
nav.top .menu li a:hover {color:white; background:none; box-shadow: none; border:none; text-decoration:underline;}
nav.top .menu li.active a {text-decoration:underline;}

/*  Top Menu
========================================================================== */
nav.tm-topmenu .menu { list-style: none; margin: 0px; padding: 0px; border-radius: 10px;}
nav.tm-topmenu .menu >li{position: relative}
nav.tm-topmenu .menu li a {
	font-weight: 600;
	-webkit-transition: all .10s;
    transition: all .10s;
}
nav.tm-topmenu .menu li.level-1 > a:before, nav.tm-topmenu .menu li.level-1 > a:after{
	position: absolute;
    content: '';
    width: 2px;
    height: 20px;
    background-color: #fff;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    right: -3px;
}
nav.tm-topmenu .menu li.level-1 > a:before {
    left: 0;
}
nav.tm-topmenu .menu li.level-1 > a:after {
    -webkit-transition: all .3s;
    transition: all .3s;
}
nav.tm-topmenu .menu li.level-1:hover > a:after, nav.tm-topmenu .menu li.level-1.active > a:after {
    top:80%;
    height: 2px;
	width: 97%;
	left:3px; right:3px;
	background-color:#000;
}

nav.tm-topmenu .menu li a:hover{color:#4c2a29; box-shadow: none; border:none;}
nav.tm-topmenu .menu li.parent a { display: block; font-size: 14px; padding: 3px 35px 0 5px;
    background:url('../images/menu_drop.png') no-repeat 90% 38px; }
nav.tm-topmenu .menu li.parent:hover a {
	color:#fff; text-decoration: none;
	background:url('../images/menu_drop_cur.png') no-repeat 90% 38px;
	border-radius: 10px;
	box-shadow: none; border:none;
}
nav.tm-topmenu .menu li.cur a { color: #fff; }
nav.tm-topmenu .dropdown_1 {
    width: 375px; margin: 0px auto 0px auto; padding: 0px;
    float:left; position:absolute; left:-999em; z-index: 106;
    border-radius: 10px;
}
nav.tm-topmenu li:hover .dropdown_1 { left: -20px; top: auto; }
nav.tm-topmenu .dropcont {
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15); background-color: rgba(244, 248, 251, 0.7); padding: 4px 0px; margin-top: 12px;
    border-left: 1px solid #f0f0f0; border-right: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; border-radius:10px;}
nav.tm-topmenu .dropcont:before{
    content:'';
    position: absolute;
    left: 30px; top: -8px;
    border: 10px solid transparent;
   /* border-bottom: 10px solid rgba(244, 248, 251, 0.51);*/
}
nav.tm-topmenu .drop_ul { list-style: none; margin: 0px; padding: 0px; }
nav.tm-topmenu .drop_ul li { float: none; padding: 7px 5px 6px 15px; margin: 0px; /*border-bottom: 1px solid #e3e9ec; */}
nav.tm-topmenu .drop_ul li:last-child { border: none; }
nav.tm-topmenu .drop_ul li a { padding: 0px; color: #666; font-size: 13px; font-weight: 600; line-height: 18px; text-decoration: none;  }
nav.tm-topmenu .menu > li.level-1 .submenu > li a {background:none;}

nav.tm-topmenu .drop_ul li a:hover { color: #2382a7; text-decoration: underline;}
nav.tm-topmenu .drop_ul{
	display: flex;
    flex-wrap: wrap;
}
nav.tm-topmenu .drop_ul li{
    height:78px;
	width: 45%;
    display: table-row;
}

nav.tm-topmenu .menu > li.level-1 .submenu > li a {
	position: relative;
	padding: 7px 15px;
	color: #666;
	box-sizing: border-box;
	display:flex; flex-direction: column;
	justify-content: center;

}
nav.tm-topmenu .menu > li.level-1 .submenu > li a {padding-left: 3.8em }
nav.tm-topmenu .drop_ul li{background-size: cover;}
nav.tm-topmenu .drop_ul li.stabbed:before{background: url('../images/firewood/kolotie.png') 0 0 no-repeat;}
nav.tm-topmenu .drop_ul li.grid:before{background: url('../images/firewood/drova-v-setke.png') 0 0 no-repeat;}
nav.tm-topmenu .drop_ul li.ugol:before{background: url('../images/firewood/ugol.png') 0 0 no-repeat;}
nav.tm-topmenu .drop_ul li.opilki:before{background: url('../images/firewood/opilki.png') 0 0 no-repeat;}
nav.tm-topmenu .drop_ul li.elovie:before{background: url('../images/firewood/elovie-drova.png') 0 0 no-repeat;}
nav.tm-topmenu .drop_ul li.dubovie:before{background: url('../images/firewood/dubovie.png') 0 0 no-repeat;}
nav.tm-topmenu .drop_ul li.bricet:before{background: url('../images/firewood/bricet.png') 0 0 no-repeat;}
nav.tm-topmenu .drop_ul li.berezovie:before{background: url('../images/firewood/berezovie.png') 0 0 no-repeat;}
nav.tm-topmenu .drop_ul li.gorbil:before{background: url('../images/firewood/gorbil.png') 0 0 no-repeat;}
nav.tm-topmenu .drop_ul li:hover:before{background-position: 0 -51px;}

nav.tm-topmenu .drop_ul li:before{
	width:50px; height:50px;
	position: absolute;
	content:'';
    background-size: cover !important;
}

nav.tm-topmenu .menu li.level-1 > a {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	color: #666;
	box-sizing: border-box;
}

nav.tm-topmenu .menu .submenu {
	margin: 0;
	padding: 0;
	list-style: none;
}

nav.tm-topmenu .menu > li.level-1 .submenu > li:last-child a {
	border-bottom: none;
}

nav.tm-topmenu .menu > li.level-1 .submenu > li a::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
}

nav.tm-topmenu .menu:not(:hover) li.level-1.active > a,
nav.tm-topmenu .menu:hover li.level-1:hover > a,
nav.tm-topmenu .menu > li.level-1 .submenu:not(:hover) > li.active a,
nav.tm-topmenu .menu > li.level-1 .submenu:hover li:hover > a {
	color: #333;
}

nav.tm-topmenu .menu:not(:hover) li.level-1.active > a::after,
nav.tm-topmenu .menu:hover li.level-1:hover > a::after {
	-webkit-animation-duration: .3s;
	animation-duration: .3s;
	-webkit-animation-timing-function: ease-out;
	animation-timing-function: ease-out;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-name: uk-fade-scale-02;
	animation-name: uk-fade-scale-02;
}

nav.tm-topmenu .menu > li.level-1 .submenu:not(:hover) > li.active a::before,
nav.tm-topmenu .menu > li.level-1 .submenu:hover li:hover > a::before {
	-webkit-animation-duration: .5s;
	animation-duration: .5s;
	-webkit-animation-timing-function: ease-out;
	animation-timing-function: ease-out;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-name: uk-fade-scale-02;
	animation-name: uk-fade-scale-02;
}

/* -------Левое меню -------- */
#sidebar h3{
    color: #e67e22; text-align:center;
    text-shadow: -1px -1px white, 1px 1px gray, 2px 2px #7a7a7a, 3px 3px #757575,
    4px 4px #707070, 5px 5px #6b6b6b, 6px 6px #666666, 7px 7px #616161
}

.leftmenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.7);
  /*height: 100px;*/
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;

  /* == */
  width: 250px;
  /* == */
}
.leftmenu li {
  position: relative;
  /*float:left;*/
}
.leftmenu li a {
  display: block;
  text-decoration: none;
  padding: 12px 20px;
  color: #777;
  /*text-align: center;
  border-right: 1px solid #E7E7E7;*/

  /* == */
  text-align: left;
  position: relative;
  border-bottom: 1px solid #EEE;
  /* == */
}
.leftmenu li a i {
  float: left;
  font-size: 2em;
  margin: 0 10px 0 0;
}
/* == */
.leftmenu li a p {
  float: left;
  margin: 0 ;
}
/* == */

.leftmenu li a strong {
  display: block;
  text-transform: uppercase;
}
.leftmenu li a small {
  display: block;
  font-size: 10px;
}

.leftmenu li a i, .leftmenu li a strong, .leftmenu li a small {
  position: relative;

  transition: all 300ms linear;
  -o-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -webkit-transition: all 300ms linear;
}
.leftmenu li:hover > a i {
    opacity: 1;
    -webkit-animation: moveFromTop 300ms ease-in-out;
    -moz-animation: moveFromTop 300ms ease-in-out;
    -ms-animation: moveFromTop 300ms ease-in-out;
    -o-animation: moveFromTop 300ms ease-in-out;
    animation: moveFromTop 300ms ease-in-out;
}
.leftmenu li:hover a strong {
    opacity: 1;
    -webkit-animation: moveFromLeft 300ms ease-in-out;
    -moz-animation: moveFromLeft 300ms ease-in-out;
    -ms-animation: moveFromLeft 300ms ease-in-out;
    -o-animation: moveFromLeft 300ms ease-in-out;
    animation: moveFromLeft 300ms ease-in-out;
}
.leftmenu li:hover a small {
    opacity: 1;
    -webkit-animation: moveFromRight 300ms ease-in-out;
    -moz-animation: moveFromRight 300ms ease-in-out;
    -ms-animation: moveFromRight 300ms ease-in-out;
    -o-animation: moveFromRight 300ms ease-in-out;
    animation: moveFromRight 300ms ease-in-out;
}

.leftmenu li:hover > a {
  color: #e67e22;
}
.leftmenu li a.active {
  position: relative;
  color: #e67e22;
  border:0;
  /*border-top: 4px solid #e67e22;
  border-bottom: 4px solid #e67e22;
  margin-top: -4px;*/
  box-shadow: 0 0 5px #DDD;
  -moz-box-shadow: 0 0 5px #DDD;
  -webkit-box-shadow: 0 0 5px #DDD;

  /* == */
  border-left: 4px solid #e67e22;
  border-right: 4px solid #e67e22;
  margin: 0 -4px;
  /* == */
}
.leftmenu li a.active:before {
  content: "";
  position: absolute;
  /*top: 0;
  left: 45%;
  border-top: 5px solid #e67e22;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;*/

  /* == */
  top: 42%;
  left: 0;
  border-left: 5px solid #e67e22;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  /* == */
}

/* == */
.leftmenu li a.active:after {
  content: "";
  position: absolute;
  top: 42%;
  right: 0;
  border-right: 5px solid #e67e22;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
/* == */

@-webkit-keyframes moveFromTop {
    from {
        opacity: 0;
        -webkit-transform: translateY(200%);
        -moz-transform: translateY(200%);
        -ms-transform: translateY(200%);
        -o-transform: translateY(200%);
        transform: translateY(200%);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0%);
        -moz-transform: translateY(0%);
        -ms-transform: translateY(0%);
        -o-transform: translateY(0%);
        transform: translateY(0%);
    }
}
@-webkit-keyframes moveFromLeft {
    from {
        opacity: 0;
        -webkit-transform: translateX(200%);
        -moz-transform: translateX(200%);
        -ms-transform: translateX(200%);
        -o-transform: translateX(200%);
        transform: translateX(200%);
    }
    to {
        opacity: 1;
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -ms-transform: translateX(0%);
        -o-transform: translateX(0%);
        transform: translateX(0%);
    }
}
@-webkit-keyframes moveFromRight {
    from {
        opacity: 0;
        -webkit-transform: translateX(-200%);
        -moz-transform: translateX(-200%);
        -ms-transform: translateX(-200%);
        -o-transform: translateX(-200%);
        transform: translateX(-200%);
    }
    to {
        opacity: 1;
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -ms-transform: translateX(0%);
        -o-transform: translateX(0%);
        transform: translateX(0%);
    }
}



.leftmenu li ul,
.leftmenu li ul li ul {
  position: absolute;
  height: auto;
  min-width: 200px;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.7);
  /*border-top: 4px solid #e67e22;*/
  opacity: 0;
  visibility: hidden;
  transition: all 300ms linear;
  -o-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -webkit-transition: all 300ms linear;
  /*top: 130px;*/
  z-index: 1000;

  /* == */
  left:280px;
  top: 0px;
  border-left: 4px solid #e67e22;
  /* == */
}
.leftmenu li ul:before {
  content: "";
  position: absolute;
  /*top: -8px;
  left: 23%;
  border-bottom: 5px solid #e67e22;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;*/

  /* == */
  top: 25px;
  left: -9px;
  border-right: 5px solid #e67e22;
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  /* == */
}
.leftmenu li:hover > ul,
.leftmenu li ul li:hover > ul {
  display: block;
  opacity: 1;
  visibility: visible;
  /*top: 100px;*/

  /* == */
  left:250px;
  /* == */
}
/*.leftmenu li ul li {
  float: none;
}*/
.leftmenu li ul li a {
  padding: 10px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #EEE;

  /* == */
  height: auto;
  /* == */
}
.leftmenu li ul li a i {
  font-size: 16px;
  display: inline-block;
  margin: 0 10px 0 0;
}
.leftmenu li ul li ul {
  left: 230px;
  top: 0;
  border: 0;
  border-left: 4px solid #e67e22;
}
.leftmenu li ul li ul:before {
  content: "";
  position: absolute;
  top: 15px;
  /*left: -14px;*/
  /* == */
  left: -9px;
  /* == */
  border-right: 5px solid #e67e22;
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
}
.leftmenu li ul li:hover > ul {
  top: 0px;
  left: 200px;
}

/*.leftmenu li.float {
  float: right;
}*/
.leftmenu li a.search {
  /*padding: 29px 20px 30px 10px;*/
  padding: 10px 10px 15px 10px;
  clear: both;
}
.leftmenu li a.search i {
  margin: 0;
  display: inline-block;
  font-size: 18px;
}
.leftmenu li a.search input {
  border: 1px solid #EEE;
  padding: 10px;
  background: #FFF;
  outline: none;
  color: #777;

  /* == */
  width:170px;
  float:left;
  /* == */
}
.leftmenu li a.search button {
  border: 1px solid #e67e22;
  /*padding: 10px;*/
  background: #e67e22;
  outline: none;
  color: #FFF;
  margin-left: -4px;

  /* == */
  float:left;
  padding: 10px 10px 11px 10px;
  /* == */
}
.leftmenu li a.search input:focus {
  border: 1px solid #e67e22;
}
/*-----Нижнее меню -----*/
.footer .menu {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	justify-content: flex-start;
	list-style: none;
}
.footer .menu > li {flex: none; margin-bottom: 10px;}
.footer .menu > li > a {
	display: inline-block;
	font-size: 1.1em;
	color: #666;
}
.footer .menu > li > a:hover, .footer .menu > li.active > a{color:#4a4848;}
.footer .menu > :nth-child(n+2):not(.uk-first-column)::before {
	content: '|';
	display: inline-block;
	color: #000;
	margin: 0 10px;
}
/*--------------------*/

@media only screen and (min-width: 960px) and (max-width: 1199px) {
    .leftmenu {
		margin-left:10px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    .leftmenu {
		width: 200px;
	}
	.leftmenu li a {
		height:30px;
	}
	.leftmenu li a i {
		font-size: 22px;
	}
	.leftmenu li a strong {
		font-size: 12px;
	}
	.leftmenu li a small {
		font-size: 10px;
	}
	.leftmenu li a.search input {
		width: 120px;
		font-size: 12px;
	}
	.leftmenu li a.search buton{
		padding: 8px 10px 9px 10px;
	}
	.leftmenu li > ul {
		min-width:180px;
	}
	.leftmenu li:hover > ul {
		min-width:180px;
		left:200px;
	}
	.leftmenu li ul li > ul, .leftmenu li ul li ul li > ul {
		min-width:150px;
	}
	.leftmenu li ul li:hover > ul {
		left:180px;
		min-width:150px;
	}
	.leftmenu li ul li ul li:hover > ul {
		left:150px;
		min-width:150px;
	}
	.leftmenu li ul a {
		font-size:12px;
	}
	.leftmenu li ul a i {
		font-size:14px;
	}
}

@media only screen and (min-width: 480px) and (max-width: 767px) {

	.leftmenu {
		width: 50px;
	}
	.leftmenu li a {
		position: relative;
		padding: 12px 16px;
		height:20px;
	}
	.leftmenu li a small {
		display: none;
	}
	.leftmenu li a strong {
		display: none;
	}
	.leftmenu li a:hover strong,.leftmenu li a.active strong {
		display:block;
		font-size:10px;
		padding:3px 0;
		position:absolute;
		bottom:0px;
		left:0;
		background:#e67e22;
		color:#FFF;
		min-width:100%;
		text-transform:lowercase;
		font-weight:normal;
		text-align:center;
	}
	.leftmenu li .search {
		display: none;
	}

	.leftmenu li > ul {
		min-width:180px;
		left:70px;
	}
	.leftmenu li:hover > ul {
		min-width:180px;
		left:50px;
	}
	.leftmenu li ul li > ul, .leftmenu li ul li ul li > ul {
		min-width:150px;
	}
	.leftmenu li ul li:hover > ul {
		left:180px;
		min-width:150px;
	}
	.leftmenu li ul li ul li > ul {
		left:35px;
		top: 45px;
		border:0;
		border-top:4px solid #e67e22;
	}
	.leftmenu li ul li ul li > ul:before {
		left:30px;
		top: -9px;
		border:0;
		border-bottom:5px solid #e67e22;
		border-left:5px solid transparent;
		border-right:5px solid transparent;
	}
	.leftmenu li ul li ul li:hover > ul {
		left:30px;
		min-width:150px;
		top: 35px;
	}
	.leftmenu li ul a {
		font-size:12px;
	}
	.leftmenu li ul a i {
		font-size:14px;
	}

}

@media only screen and (max-width: 479px) {
    .leftmenu {
		width: 50px;
	}
	.leftmenu li a {
		position: relative;
		padding: 12px 16px;
		height:20px;
	}
	.leftmenu li a small {
		display: none;
	}
	.leftmenu li a strong {
		display: none;
	}
	.leftmenu li a:hover strong,.leftmenu li a.active strong {
		display:block;
		font-size:10px;
		padding:3px 0;
		position:absolute;
		bottom:0px;
		left:0;
		background:#e67e22;
		color:#FFF;
		min-width:100%;
		text-transform:lowercase;
		font-weight:normal;
		text-align:center;
	}
	.leftmenu li .search {
		display: none;
	}

	.leftmenu li > ul {
		min-width:180px;
		left:70px;
	}
	.leftmenu li:hover > ul {
		min-width:180px;
		left:50px;
	}
	.leftmenu li ul li > ul, .leftmenu li ul li ul li > ul {
		min-width:150px;
	}
	.leftmenu li ul li:hover > ul {
		left:180px;
		min-width:150px;
	}
	.leftmenu li ul li ul li > ul {
		left:35px;
		top: 45px;
		border:0;
		border-top:4px solid #e67e22;
	}
	.leftmenu li ul li ul li > ul:before {
		left:30px;
		top: -9px;
		border:0;
		border-bottom:5px solid #e67e22;
		border-left:5px solid transparent;
		border-right:5px solid transparent;
	}
	.leftmenu li ul li ul li:hover > ul {
		left:30px;
		min-width:150px;
		top: 35px;
	}
	.leftmenu li ul a {
		font-size:12px;
	}
	.leftmenu li ul a i {
		font-size:14px;
	}

}



