footer {
  background: #f1f1f1;
  padding: 20px 30px;
  position: relative;
  z-index: 99;
  margin-bottom: 20px;

  .dropdown-menu > li > a {
    margin-right: 23px;
  }

  .row {
    .col-md-5 {
      padding-left: 0px;
      padding-right: 0px;
    }
  }

  .plain-dropdown,
  .plain-dropdown:hover,
  .plain-dropdown:active {
    padding: 0px;
    padding-top: 2px;
    background: #f1f1f1 !important;
    border: 0px !important;
    box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0) !important;
  }

  p {
    color: #000000;
    font-size: 14px;
  }

  .links {
    margin-left: 10px;

    a {
      color: $textColour;
    }
  }

  .social {
    padding: 0px;
    display: table;
    float: right;
    margin: 0px;
    margin-left: -20px;
  }

  .social li {
    float: left;
    list-style: none;
    margin-left: 15px;
  }

  .social li a {
    font-size: 19px;
    color: #2b373b;
  }

  .social li a:hover {
    color: #ffd42d;
  }

  .footerText {
    margin: 0px;
  }

  .social {
    padding: 0px;
    display: table;
    float: none;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 991px) {
  footer {
    p {
      font-size: 12px;
      text-align: center;
    }

    .row .col-md-5 {
      text-align: center !important;
    }

    .social {
      display: inline-block !important;
    }
  }
}

@media only screen and (max-width: 991px) and (min-width: 768px) {
  .social {
    margin-left: -20px !important;
  }
}

@media print {
  footer {
    a[href]:after {
      content: " -  " attr(href);
    }

    .fa {
      width: 20px;
    }

    .links {
      display: none;
    }

    .social {
      margin-left: 0px;

      li {
        float: none;
      }

      li:nth-child(-n + 2) {
        display: none;
      }
    }
  }
}
