/* block top links */
.header_links {
  float: left; }
  @media (max-width: 991px) {
    .header_links {
      -moz-transform: translateY(-21px);
      -ms-transform: translateY(-21px);
      -o-transform: translateY(-21px);
      -webkit-transform: translateY(-21px);
      transform: translateY(-21px); } }
  @media (max-width: 767px) {
    .header_links {
      margin-right: 15px;
      position: relative;
      z-index: 3;
      clear: left; }
      .header_links .btn-menu {
        color: #333;
        font-size: 30px;
        line-height: 26px;
        text-align: center;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        width: 30px;
        cursor: pointer; }
        .header_links .btn-menu:hover, .header_links .btn-menu.active {
          color: #d51c21; }
        .header_links .btn-menu:before {
          content: "\e0de";
          font-family: "material-design";
          font-weight: normal;
          -moz-transition: all 0.3s ease;
          -o-transition: all 0.3s ease;
          -webkit-transition: all 0.3s ease;
          transition: all 0.3s ease; }
        .header_links .btn-menu.active:before {
          content: '\e051 '; } }

ul#header_links {
  list-style-type: none;
  margin: 0;
  overflow: hidden;
  float: left; }
  @media (min-width: 768px) {
    ul#header_links {
      display: block !important; } }
  @media (max-width: 767px) {
    ul#header_links {
      display: none;
      position: absolute;
      top: 30px;
      left: 0;
      padding: 5px 15px;
      background: #fff;
      width: 170px;
      float: none;
      -moz-box-shadow: 0 4px 5px 0 rgba(50, 50, 50, 0.09);
      -webkit-box-shadow: 0 4px 5px 0 rgba(50, 50, 50, 0.09);
      box-shadow: 0 4px 5px 0 rgba(50, 50, 50, 0.09); } }
  ul#header_links li {
    text-transform: capitalize;
    float: left;
    padding: 0 33px 0 0;
    line-height: 18px; }
    @media (max-width: 767px) {
      ul#header_links li {
        float: none;
        display: block;
        border-top: 1px solid #e1e1e1;
        line-height: 35px;
        padding: 0; }
        ul#header_links li:first-child {
          border: none; } }
    ul#header_links li a {
      text-decoration: none;
      font-size: 14px;
      line-height: 18px;
      color: #777777;
      -moz-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;
      -webkit-transition: all 0.3s ease;
      transition: all 0.3s ease;
      display: block; }
      ul#header_links li a:hover, ul#header_links li a.active {
        color: #000; }
        @media (max-width: 767px) {
          ul#header_links li a:hover, ul#header_links li a.active {
            background: #d51c21;
            color: white; } }
      @media (max-width: 767px) {
        ul#header_links li a {
          color: #333;
          padding: 10px;
          display: block;
          font-size: 14px;
          line-height: 18px;
          -moz-transition: all 0.3s ease;
          -o-transition: all 0.3s ease;
          -webkit-transition: all 0.3s ease;
          transition: all 0.3s ease; } }

/*block permanent links right and left columns*/
#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; }
