#header_links {
  list-style-type: none;
  float: right;
  margin: 0;
  clear: both;
  z-index: 1;
  padding-left: 15px;
}
@media (max-width: 767px) {
  #header_links {
    top: 42px;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  #header_links {
    top: 64px;
  }
}
@media (max-width: 991px) {
  #header_links {
    position: absolute;
    background: none repeat scroll 0 0 #ffffff;
    border: 1px solid #dddddd;
    position: absolute;
    text-align: left;
    padding: 10px;
    width: 160px;
    z-index: 2;
  }
}
@media (max-width: 767px) and (min-width: 480px) {
  #header_links {
    width: 100%;
  }
}
@media (max-width: 480px) {
  #header_links {
    width: 130px;
    margin: 0;
    top: 38px;
  }
}
#header_links #header_link_contact {
  background: url("../../../img/megnor/sprite.png") no-repeat scroll 0 -428px transparent;
}
#header_links #header_link_contact:hover {
  background-position: 0 -454px;
}
#header_links #header_link_sitemap {
  background: url("../../../img/megnor/sprite.png") no-repeat scroll 0 -482px transparent;
}
#header_links #header_link_sitemap:hover {
  background-position: 0 -508px;
}
#header_links li {
  float: left;
  margin: 22px 8px;
  padding-left: 26px;
}
@media (max-width: 1209px) and (min-width: 992px) {
  #header_links li {
    margin: 22px 2px;
    padding-left: 23px;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  #header_links li {
    line-height: 18px;
    width: 100%;
    margin: 0 0 5px;
  }
}
@media (max-width: 767px) {
  #header_links li {
    width: 100%;
    float: none;
    border: none;
    margin: 6px 0;
    padding-left: 26px;
  }
}
#header_links li:first-child {
  border: none;
}
#header_links li a {
  text-decoration: none;
  text-transform: uppercase;
  line-height: 20px;
}
#header_links li a:hover {
  color: #363636;
}
#header_links li:hover {
  color: #595959;
}

/*block permanent links right and left columns*/
#permanent_links div {
  border-bottom: 1px dotted #eee;
}
#permanent_links div a {
  display: block;
  padding: 7px 11px 5px 22px;
  color: #333;
  background: url(img/arrow_right_2.png) no-repeat 10px 10px;
}

/* block footer links */
ul#footer_links {
  clear: both;
  text-align: center;
  padding-bottom: 6px;
}
ul#footer_links li {
  display: inline;
  padding: 0 10px;
}

.header_permentlink {
  float: right;
}
@media (max-width: 991px) and (min-width: 768px) {
  .header_permentlink {
    float: left;
  }
}
@media (max-width: 767px) {
  .header_permentlink {
    background: #e9e9e9;
   /* left: 50%;*/
   right:0;
    position: absolute;
    text-align: center;
    top: 36px;
    width: 25%;
    border-right: 1px solid #fff;
    z-index: 95;
  }
}
.header_permentlink .tm_permenu_inner {
  cursor: pointer;
}
@media (max-width: 991px) {
  .header_permentlink .tm_permenu_inner {
    display: block;
    text-align: center;
    width: 48px;
  }
}
@media (max-width: 767px) {
  .header_permentlink .tm_permenu_inner {
    width: 100%;
  }
}
.header_permentlink .tm_permenu_inner .headertoggle_img {
  display: none;
}
@media (max-width: 991px) {
  .header_permentlink .tm_permenu_inner .headertoggle_img {
    display: block;
  }
}
.header_permentlink .tm_permenu_inner .headertoggle_img:before {
  content: "\f039";
  display: block;
  font-family: "FontAwesome";
  font-size: 19px;
  line-height: 46px;
  color: #363636;
  position: relative;
  top: 7px;
}
@media (max-width: 991px) {
  .header_permentlink .tm_permenu_inner .headertoggle_img:before {
    top: 10px;
  }
}
@media (max-width: 767px) {
  .header_permentlink .tm_permenu_inner .headertoggle_img:before {
    line-height: 24px;
  }
}
@media (max-width: 480px) {
  .header_permentlink .tm_permenu_inner .headertoggle_img:before {
    line-height: 20px;
  }
}

#header_link_bookmark {
  display: none;
}
