#header_links {
  list-style-type: none;
  float: right;
  margin: 5px 0 3px;
  clear: both;
  padding: 0;
}
@media (max-width: 767px) {
  #header_links {
    width: 100%;
    padding: 0;
    display: none;
    text-align: left;
    background: #f5f2ed;
    border: 1px solid #d7cbb5;
    -webkit-border-radius: 0px 0px 5px 5px;
    -moz-border-radius: 0px 0px 5px 5px;
    -ms-border-radius: 0px 0px 5px 5px;
    border-radius: 0px 0px 5px 5px;
    margin: 0px;
  }
}
@media (max-width: 479px) {
  #header_links {
    width: 130px;
  }
}
#header_links li {
  float: left;
  padding: 0px 8px;
  background: url("../../../img/header_pipe.jpg") no-repeat scroll left 6px transparent;
}
@media (max-width: 767px) {
  #header_links li {
    width: 100%;
    float: none;
    border: none;
    padding: 3px 8px;
    background: none;
  }
}
#header_links li:first-child {
  background: none;
}
#header_links li a {
  text-decoration: none;
  text-transform: capitalize;
}
@media (max-width: 767px) {
  #header_links li a {
    color: #555555;
  }
}
#header_links li a:hover {
  text-decoration: none;
}
@media (max-width: 767px) {
  #header_links li a:hover {
    color: #840202;
  }
}

/*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;
  clear: right;
}
@media (max-width: 767px) {
  .header_permentlink {
    left: 50%;
    position: absolute;
    text-align: center;
    top: 135px;
    width: 24%;
    z-index: 95;
  }
}
.header_permentlink .tm_permenu_inner {
  cursor: pointer;
}
@media (min-width: 768px) {
  .header_permentlink .tm_permenu_inner {
    display: none;
  }
}
@media (max-width: 767px) {
  .header_permentlink .tm_permenu_inner {
    background: #840202;
    border-right: 1px solid #fff;
  }
}
.header_permentlink .tm_permenu_inner .headertoggle_img:before {
  content: "\f039";
  display: block;
  font-family: "FontAwesome";
  font-size: 17px;
  color: #FFFFFF;
  position: relative;
  top: 7px;
  line-height: 20px;
}
@media (max-width: 479px) {
  .header_permentlink .tm_permenu_inner .headertoggle_img:before {
    line-height: 19px;
  }
}
