.footerbar {
  footer {
    background-color: #1a2632;
    padding: 3% 0 5% 0;

    nav {
      display: inline-block !important;

      a {
        &.nav-link {
          display: inline-block !important;
          color: #fff;
          text-transform: uppercase;
          padding: 0.5rem 1.5rem;
          font-size: 19px;
          font-size: 1.18rem;
        }
      }
    }

    ul {
      &.sub-nav {
        margin-top: 10px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: inline-block;
        list-style: none;
        padding-left: 0;
        font-size: 16px;
        font-size: 1rem;

        li {
          color: #fff;
          -ms-flex: 0 1 auto;
          flex: 0 1 auto;
          -webkit-box-align: center;
          -ms-flex-align: center;
          align-items: center;
          display: inline-block !important;
          text-transform: uppercase;

          a {
            color: #fff;
            font-size: 14px;
            font-size: 0.87rem;
          }

          &.separate {
            padding: 0 10px;
          }
        }
      }

      &.social {
        margin-top: 5%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        list-style: none;
        justify-content: center;
        margin-bottom: 0;
        padding-left: 0;

        li {
          margin-left: 20px;
          margin-right: 20px;
          -ms-flex: 0 1 auto;
          flex: 0 1 auto;
          -webkit-box-align: center;
          -ms-flex-align: center;
          align-items: center;

          img {
            max-width: 30px;
          }
        }
      }
    }
  }
}

@media (max-width: 1366px) {
  .footerbar {
    footer {
      nav {
        a {
          &.nav-link {
            padding: 0.5rem 1.1rem;
            font-size: 17px;
            font-size: 1.05rem;
          }
        }
      }

      ul {
        &.sub-nav {
          li {
            a {
              font-size: 14px;
              font-size: 0.87rem;
            }
          }
        }

        &.social {
          li {
            margin-left: 15px;
            margin-right: 15px;
          }
        }
      }
    }
  }
}

@media (max-width: 1200px) {
  .footerbar {
    footer {
      nav {
        a {
          &.nav-link {
            padding: 0.5rem 0.8rem;
            font-size: 15px;
            font-size: 0.9rem;
          }
        }
      }

      ul {
        &.sub-nav {
          margin-top: 5px;

          li {
            a {
              font-size: 13px;
              font-size: 0.8rem;
            }
          }
        }

        &.social {
          margin-top: 10px;
        }
      }

      .copyright {
        font-size: 16px;
        font-size: 1rem;
      }
    }
  }
}

@media (max-width: 568px) {
  .footerbar {
    footer {
      .logo {
        margin: 20px auto;
        width: 90%;
      }

      nav {
        margin-top: 20px;

        a {
          &.nav-link {
            padding: 0.3rem 0.8rem;
            font-size: 18px;
            font-size: 1.2rem;
          }
        }
      }

      ul {
        &.sub-nav {
          margin-top: 15px;

          li {
            a {
              font-size: 13px;
              font-size: 0.8rem;
              padding: 0.3rem 0.8rem;
            }
          }
        }

        &.social {
          margin-top: 10px;
        }
      }
    }
  }
}
