#header_links {
  list-style-type: none;
  float: right;
  margin: 5px 0;
  clear: both;
  padding: 0 10px;
}
@media (max-width: 767px) {
  #header_links {
    width: 100%;
    padding: 0;
    display: none;
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    margin: 1px 0;
  }
}
@media (max-width: 318px) {
  #header_links {
    width: 150px;
  }
}
#header_links li {
  float: left;
  padding: 0px 8px;
  background: url("../../../img/pipe.jpg") no-repeat scroll left center rgba(0, 0, 0, 0);
}
@media (max-width: 767px) {
  #header_links li {
    width: 100%;
    float: none;
    border: none;
    padding: 1px 8px;
    background: none;
  }
}
#header_links li:first-child {
  background: none;
}
#header_links li a:hover {
  color: #F48507;
}
@media (max-width: 767px) {
  #header_links li a:hover {
    color: #303030;
  }
}

/*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(http://eurhostel.es/themes/PRS040095/css/modules/blockpermanentlinks/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: 50%;
    position: absolute;
    text-align: center;
    top: 162px;
    width: 24%;
    z-index: 95;
  }
}
.header_permentlink .tm_permenu_inner {
  cursor: pointer;
  display: none;
}
@media (max-width: 767px) {
  .header_permentlink .tm_permenu_inner {
    display: block;
    background: #879631;
    border-right: 1px solid #fff;
  }
}
.header_permentlink .tm_permenu_inner .headertoggle_img:before {
  content: "\f039";
  display: block;
  font-family: "FontAwesome";
  font-size: 17px;
  color: white;
  position: relative;
  top: 12px;
  line-height: 20px;
}
@media (max-width: 767px) {
  .header_permentlink .tm_permenu_inner .headertoggle_img:before {
    line-height: 19px;
  }
}