#header_links {
  list-style-type: none;
  float: left;
  margin: 0;
  clear: both;
  padding: 9px 0 10px;
}
@media (max-width: 991px) {
  #header_links {
    width: 100%;
    padding: 0;
    background: none repeat scroll 0 0 rgba(49, 49, 49, 0.8);
    display: none;
    text-align: left;
  }
}
@media (max-width: 479px) {
  #header_links {
    position: absolute;
    right: 0;
    width: 130px;
  }
}
#header_links li {
  float: left;
  background: url("../../../img/footer_pipe.jpg") no-repeat scroll 0 1px transparent;
  padding: 0px 8px;
}
@media (max-width: 319px) {
  #header_links li {
    padding: 1px 0 !important;
  }
}
@media (max-width: 991px) {
  #header_links li {
    width: 100%;
    background: none;
    padding: 1px 8px;
    float: none;
    border: none;
  }
}
#header_links li:first-child {
  border: none;
}
#header_links li a {
  font-size: 14px;
  text-transform: capitalize;
  text-decoration: none;
  color: dimgrey;
}
@media (max-width: 991px) {
  #header_links li a {
    color: #FFF;
    width: 100%;
    display: block;
    padding: 5px 10px;
  }
}
#header_links li a:hover {
  color: #2fb991;
}
@media (max-width: 991px) {
  #header_links li:hover {
    background: #4ec3a1;
  }
  #header_links li:hover a {
    color: #ffffff;
  }
}

/*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: left;
}
@media (max-width: 991px) {
  .header_permentlink {
    border-right: 1px solid #ffffff;
    position: absolute;
    left: 50%;
    text-align: center;
    top: 0;
    width: 25%;
    z-index: 95;
  }
}
.header_permentlink .tm_permenu_inner {
  cursor: pointer;
  display: none;
}
@media (max-width: 991px) {
  .header_permentlink .tm_permenu_inner {
    display: block;
    background: #dddddd;
    padding: 3px 3px 2px;
  }
}
.header_permentlink .tm_permenu_inner .headertoggle_img:before {
  content: "\f039";
  display: block;
  font-family: "FontAwesome";
  font-size: 17px;
  color: dimgrey;
  position: relative;
  top: 7px;
  line-height: 20px;
}
@media (max-width: 479px) {
  .header_permentlink .tm_permenu_inner .headertoggle_img:before {
    line-height: 14px;
  }
}
@media (max-width: 991px) {
  .header_permentlink .tm_permenu_inner .headertoggle_img:before {
    color: #ffffff;
    font-size: 19px;
  }
}
