.site-footer {
  padding: 3rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  background-color: var(--uams-primary-red);
  text-align: center;
  color: #f5f3f4;
}

.site-footer a:not(.btn) {
  color: #ffffff;
}

.site-footer .logo {
  display: block;
  margin: 0 auto;
}

.site-footer .logo img {
  height: 2.5rem;
}

.site-footer .schema {
  font-size: 1rem;
}

.site-footer .schema .schema-phone {
  margin-top: 0.5rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer .copyright {
  font-size: 0.84375rem;
}

.site-footer .logo, .site-footer .nav, .site-footer .schema {
  margin-bottom: 1.5rem;
}

.site-footer .copyright, .site-footer .logo, .site-footer .nav, .site-footer .schema {
  z-index: 1;
  position: relative;
}

.site-footer .nav {
  justify-content: center;
  line-height: 1;
}

.site-footer .nav.social {
  font-size: 2rem;
}

.site-footer .nav-link {
  transition: none;
}

.svg-inline--fa {
  display: inline-block;
  font-size: inherit;
  height: 1em;
  overflow: visible;
  vertical-align: -.125em;
  width: 1em;
}

.svg-inline--fa.fa-w-14 {
  width: 0.875em;
}

.svg-inline--fa.fa-w-18 {
  width: 1.125em;
}

.site-footer .nav.legal {
  font-size: 1.125rem;
  flex-direction: column;
}

.site-footer .nav .nav-item:not(:last-child) {
  margin-bottom: 10px;
}

.site-footer .nav.social .nav-item .nav-link {
  padding: 0.25rem;
}

.site-footer .nav.legal .nav-item .nav-link {
  padding: 0.25rem 1rem;
  font-weight: 300;
}

.site-footer .nav .nav-item .nav-link:active, 
.site-footer .nav .nav-item .nav-link:focus, 
.site-footer .nav .nav-item .nav-link:hover {
  text-decoration: underline;
  color: #f0dee1;
}


@media (max-width: 1200px) {
  .site-footer .nav.social {
    font-size: calc(1.325rem + .9vw);
  }
}

@supports (mix-blend-mode: overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
  .site-footer:before {
    content:"";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    mix-blend-mode: overlay;
    opacity: .3;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    background-image: url(../img/fountain_767x650.jpg);
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat
  }
}

@media (min-width: 576px) {
  @supports (mix-blend-mode: overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_767x650.jpg)
    }
  }
}

@media (min-width: 768px) {
  @supports (mix-blend-mode: overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_992x372.jpg)
    }
  }

  .site-footer .nav .nav-item {
    padding: 0 5px;
  }

  .site-footer .nav .nav-item:not(:last-child) {
    margin-bottom: 0;
  }
  
  .site-footer .nav.legal .nav-item:not(:last-child) {
    border-right: 1px solid hsla(0, 0%, 100%, 0.5);
  }
  
  .site-footer .nav.legal {
    flex-direction: row;
  }
}

@media (min-width: 992px) {
  @supports (mix-blend-mode: overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_1200x450.jpg)
    }
  }
}

@media (min-width: 1200px) {
  @supports (mix-blend-mode: overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_1500x563.jpg)
    }
  }
}

@media (min-width: 1500px) {
  @supports (mix-blend-mode: overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_1921x720.jpg)
    }
  }
}

@media (min-width: 1921px) {
  @supports (mix-blend-mode: overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_2560x960.jpg)
    }
  }
}


@media (-webkit-min-device-pixel-ratio: 2),(min-resolution:192dpi) {
  @supports (mix-blend-mode:overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_1340x1340.jpg)
    }
  }
}

@media (min-width: 576px) and (-webkit-min-device-pixel-ratio:2),(min-width:576px) and (min-resolution:192dpi) {
  @supports (mix-blend-mode:overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_1534x1300.jpg)
    }
  }
}

@media (min-width: 768px) and (-webkit-min-device-pixel-ratio:2),(min-width:768px) and (min-resolution:192dpi) {
  @supports (mix-blend-mode:overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_1984x744.jpg)
    }
  }
}

@media (min-width: 992px) and (-webkit-min-device-pixel-ratio:2),(min-width:992px) and (min-resolution:192dpi) {
  @supports (mix-blend-mode:overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_2400x900.jpg)
    }
  }
}

@media (min-width: 1200px) and (-webkit-min-device-pixel-ratio:2),(min-width:1200px) and (min-resolution:192dpi) {
  @supports (mix-blend-mode:overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_3000x1125.jpg)
    }
  }
}

@media (min-width: 1500px) and (-webkit-min-device-pixel-ratio:2),(min-width:1500px) and (min-resolution:192dpi) {
  @supports (mix-blend-mode:overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_3842x1441.jpg)
    }
  }
}

@media (min-width: 1921px) and (-webkit-min-device-pixel-ratio:2),(min-width:1921px) and (min-resolution:192dpi) {
  @supports (mix-blend-mode:overlay) and ((-webkit-filter:grayscale(100%)) or (filter:grayscale(100%))) {
    .site-footer:before {
      background-image:url(../img/fountain_5120x1920.jpg)
    }
  }
}
