#header_links {
  list-style-type: none;
  float: left;
  margin: 5px 10px 0 0;
}
@media (max-width: 767px) {
  #header_links {
    width: 100%;
    padding: 0;
    display: none;
    text-align: left;
    background: #fff;
    margin: 0;
    border: 1px solid #DEDEDE;
  }
}
@media (max-width: 479px) {
  #header_links {
    width: 130px;
    margin: 0;
  }
}
#header_links li {
  background: url("../../../img/header_pipe.png") no-repeat scroll right 8px transparent;
  border-left: none !important;
  float: left;
  padding: 0 10px;
}
@media (max-width: 767px) {
  #header_links li {
    width: 100%;
    float: none;
    border: none;
    padding: 3px 8px;
    background: none;
  }
}
#header_links li:first-child {
  border: none;
}
#header_links li a {
  text-transform: uppercase;
  color: #666666;
  display: block;
  font-size: 11px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
#header_links li a:hover {
  color: #000;
}
#header_links .last {
  background: none;
}

/*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: 767px) {
  .header_permentlink {
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 24%;
    z-index: 95;
  }
}
.header_permentlink .tm_permenu_inner {
  cursor: pointer;
}
.header_permentlink .tm_permenu_inner .headertoggle_img:before {
  content: "\f039";
  display: block;
  font-family: "FontAwesome";
  font-size: 23px;
  color: white;
  position: relative;
  top: 12px;
  line-height: 13px;
}

@media (min-width: 768px) {
  .headertoggle_img {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .headertoggle_img {
    display: block;
    background: black;
    border-right: 1px solid #fff;
  }
}
