.nav_content {
  margin: 0 auto;
  width: 1200px;
}

.megamenu {
  margin: 0 auto;
}

.megamenu > li.grid .megapanel .row [class*='col'] {
  background: #ccc !important;
}

.megamenu .adress {
}
.megamenu .adress label {
  float: left;
  width: 100%;
}

.megamenu {
  margin: 0;

  padding: 0;

  width: 100%;

  list-style: none;

  display: inline-block;

  position: relative;

  font-size: 17px;

  /*border:solid 1px #ccc;*/
}

.megamenu li {
  float: left;

  display: inline;
}

.megamenu li.yet {
  color: #a0a0a0;

  padding: 10px 15px;

  padding: 14px 15px 10px 15px\9; /*ie hack*/
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .megamenu li.yet {
    padding: 14px 15px 10px 15px;
  }
} /*chrome hack*/

.megamenu > li.home,
.megamenu > li.home a {
  padding: 0;

  width: 45px;

  height: 45px;

  background: url(../images/icon_w.png) -70px 0px no-repeat;

  text-indent: -9999em;

  overflow: hidden;
}

.megamenu > li.home a:hover {
  width: 45px;

  height: 45px;

  background: url(../images/icon_w.png) -115px 0px no-repeat;

  text-indent: -9999em;

  background-color: #373737;
}

.megamenu > li.hotag > a {
  color: #facd0f;
}

.megamenu > li.hotag_tool > a {
  color: #444;

  background-color: #facd0f;
}

.megamenu > li.line,
.megamenu > li.line a {
  padding: 0;

  width: 90px;

  height: 45px;

  background: url(../images/line_b.png) 0 0 no-repeat;

  text-indent: -9999em;
}

.megamenu > li.line a:hover {
  width: 90px;

  height: 45px;

  background: url(../images/line_g.png) 0 0 no-repeat;

  text-indent: -9999em;
}

.megamenu > li > a {
  float: left;

  padding: 11px 25px 10px;

  padding: 14px 25px 10px 25px\9; /*ie hack*/

  color: #fff;

  text-decoration: none;

  text-transform: uppercase;

  /*transition:color .5s ease-in-out;

	-moz-transition:color .5s ease-in-out;

	-webkit-transition:color .5s ease-in-out;

	-o-transition:color .5s ease-in-out;*/
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .megamenu > li > a {
    padding: 13px 25px 10px 25px;
  }
} /*chrome hack*/

.megamenu > li > a:last-of-type {
  padding-right: 19px;
  padding-left: 19px;
}

.megamenu > li:hover > a,
.megamenu > li.active > a {
  background: #373737;
  color: #facd0f;
}

.megamenu > li > .megapanel {
  position: absolute;

  display: none;

  background: #fff;

  width: 100%;

  top: 45px;

  left: 0;

  z-index: 99;

  /*padding:20px;*/

  border: solid 5px #373737;

  -webkit-box-sizing: border-box;

  -moz-box-sizing: border-box;

  box-sizing: border-box;
}

.megamenu .megapanel ul {
  margin: 0;
  padding: 0;
}

.megamenu .megapanel img {
  width: 100%;
  cursor: pointer;
  -webkit-transition: border 0.3s linear;
  -moz-transition: border 0.3s linear;
  -o-transition: border 0.3s linear;
  transition: border 0.3s linear;
}

.megamenu > li.showhide {
  display: none;
  width: 100%;
  height: 50px;
  cursor: pointer;
  color: #555;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  background: #eee;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkYmRiZGIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, #eee 0, #dbdbdb 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #eee),
    color-stop(100%, #dbdbdb)
  );
  background: -webkit-linear-gradient(top, #eee 0, #dbdbdb 100%);
  background: -o-linear-gradient(top, #eee 0, #dbdbdb 100%);
  background: -ms-linear-gradient(top, #eee 0, #dbdbdb 100%);
  background: linear-gradient(to bottom, #eee 0, #dbdbdb 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee',endColorstr='#dbdbdb',GradientType=0);
}

.megamenu > li.showhide span.title {
  margin: 15px 0 0 25px;
  float: left;
}

.megamenu > li.showhide span.icon1:after {
  position: absolute;
  content: '';
  right: 25px;
  top: 15px;
  height: 3px;
  width: 25px;
  font-size: 50px;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
  z-index: 1;
}

.megamenu > li.showhide span.icon2:after {
  position: absolute;
  content: '';
  right: 25px;
  top: 27px;
  height: 3px;
  width: 25px;
  font-size: 50px;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
  z-index: 1;
}

.navgry,
.navgry > li.showhide {
  background: #666;
}

.navgry li > a,
.navgry > li.showhide span {
  color: #fff;
}

.navgry > li.present {
  line-height: 45px;
  color: #facd0f;
  background-color: #373737;
  padding: 0 15px;
}

.navgry > li:hover > a,
.navgry > li.active > a {
  background: #373737;
  color: #facd0f;
}

.navgry .megapanel img:hover {
  border: none;
}

@media (max-width: 768px) {
  .megamenu > li {
    display: block;

    width: 100%;

    border-bottom: solid 1px rgba(0, 0, 0, 0.1);

    box-sizing: border-box;

    -moz-box-sizing: border-box;

    -webkit-box-sizing: border-box;
  }

  .megamenu > li:hover,
  .megamenu > li.active {
    border-top: 0;
  }

  .megamenu > li > a {
    padding: 15px 25px;
  }
  .megamenu > li:hover > a,
  .megamenu > li.active > a {
    padding: 15px 25px;
  }

  .megamenu a {
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }

  .megamenu .dropdown,
  .megamenu .dropdown li .dropdown {
    width: 100%;
    display: none;
    left: 0;
    border-left: 0;
    position: static;
    border: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }

  .megamenu .dropdown li {
    background: #fff !important;
    border: 0;
  }
  .megamenu .dropdown > li > a {
    padding-left: 40px !important;
  }

  .megamenu > li > .megapanel {
    position: static;
    margin-top: 50px;
  }

  .megapanel .row [class*='col'] {
    float: none;
    display: block;
    width: 100%;
    margin-left: 0;
    margin-top: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .megapanel .row:first-child [class*='col']:first-child {
    margin-top: 0;
  }
  .megapanel .row {
    margin-top: 0;
  }
  .black {
    background: #222;
  }

  .megapanel {
    display: none;
    width: 100%;
  }
}

.navgry li > a h3 {
  font-weight: 400;

  font-size: 17px;
}
