#footer{
  max-width: 1180px;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  background: rgb(6, 47, 15);
}

#wrap-footer-links{
  width: 100%;
  padding: 20px 100px;
  display: inline-block;
  box-sizing: border-box;
}


#footer .wrap-links{ float: left; width: 220px; }
#footer .wrap-links:nth-child(1) { width: 180px; }
#footer .wrap-links:nth-child(2) { width: 180px; }
#footer .wrap-links:nth-child(3) { width: 180px; }
#footer .wrap-links:nth-child(4) { width: 140px; }
#footer .wrap-links:nth-child(5) { width: 140px; }
#footer .wrap-links:nth-child(6) { width: 140px; }

#footer .wrap-links:nth-child(1):lang(fi) { width: 210px; }
#footer .wrap-links:nth-child(2):lang(fi)  { width: 220px; }
#footer .wrap-links:nth-child(3):lang(fi)  { width: 210px; }
#footer .wrap-links:nth-child(4):lang(fi)  { width: 170px; }
#footer .wrap-links:nth-child(5):lang(fi)  { width: 170px; }

#footer .wrap-links h3, #footer .wrap-links h2{ 
  float: left;
  width: 100%;
  font-size: 16px;
  font-weight: normal;
  color: #ffffff;
  text-transform: uppercase;
  margin: 15px 0;
}
#footer .wrap-links ul{
  float: left;
  width: 100%;
  margin: 0px;
  padding: 0px;
  list-style: none;
} 
#footer .wrap-links ul li{ float: left; width: 100%; }
#footer .wrap-links .region-footer-sixth ul li{ width: auto; }
#footer .wrap-links ul li a{
  float: left;
  width: 100%;
  font-weight: normal;
  color: #9e9e9e;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
}
#footer .wrap-links ul li a:hover{ text-decoration: none; }

#wrap-bottom{
  float: left;
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-size: 11px;
  border-top: 1px solid #2c2b2b;
  border-bottom: 2px solid #181818;
}
#bottom{ width: 960px; margin: 0 auto; color: #808080; }
#bottom .left{ float: left; width: 430px; margin: 0px; padding: 0px; }
#bottom .right{
  float: right;
  width: 130px;
  height: 20px;
  line-height: 20px;
  text-align: right;
  margin: 10px 0 10px 10px;
  padding: 0px;
}
#bottom p a{ color: #808080; }
#bottom .right p{ float: left; margin: 0px; padding: 0px;}
#bottom .right p a{ float: left; margin-left: 5px; }
#bottom .right p img{ float: left; border: 0px; }

#footer-links a[title~=Matsmart][title~=Facebook] { color: transparent; text-shadow: none; background: url(../images/icons/post-facebook.svg) no-repeat; width: 30px; height: 30px; display: block;background-size: 30px; }
#footer-links a[title~=Matsmart][title~=Instagram] { color: transparent; text-shadow: none; background: url(../images/icons/post-instagram.svg) no-repeat; width: 30px; height: 30px; display: block;background-size: 30px; }
#footer-links a[title~=Matsmart][title~=Twitter] { color: transparent; text-shadow: none; background: url(../images/icons/post-twitter.svg) no-repeat; width: 30px; height: 30px; display: block;background-size: 30px; }

#wrap-footer-logo {
        height:120px;
        padding-bottom:20px;
}
#footer-logo-img {
         background: url(../images/matsmart-logo-vector.svg) no-repeat;
         height:100px;
     width:100px;
     margin:0 auto;
}
#footer-logo {
    color: white;
}
#footer-logo-text {
        margin: 0 auto;
    width: 130px;
    font-size: 14px;
    color: rgba(158, 158, 158, 1);
    text-align: center;
}

@media only screen and (max-width: 600px) {
  #footer .wrap-links:nth-child(3) { clear: left; }
  #footer .wrap-links {
    width: 50% !important;
    margin: 0 !important;
  }
  #wrap-footer-links {
    width: auto;
    padding: 20px 10px;
  }
}
@media only screen and (min-width: 601px) and (max-width: 900px) {
  #footer .wrap-links:nth-child(4) { clear: left; }
  #footer .wrap-links {
    width: 33% !important;
    margin: 0 !important;
  }
  #wrap-footer-links {
    width: auto;
    padding: 20px 10px;
  }
}
@media only screen and (min-width: 901px) and (max-width: 1180px) {
  #footer .wrap-links {
    width: 16% !important;
    margin: 0 !important;
  }
  #footer .wrap-links:lang(fi)  {
    width: 20% !important;
  }
  #wrap-footer-links {
    width: auto;
    padding: 20px 10px;
  }
}
#sliding-popup.sliding-popup-bottom {
  align-items: center;
  background-color: rgba(0,0,0,.7);
  bottom: 0;
  color: #e6e6e6;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  font-size: 11px;
  justify-content: center;
  padding: 12px 5px;
  position: fixed;
  text-align: center;
  width: 100% !important;
  z-index: 999999;
}
#sliding-popup button {
  background-color: transparent;
  border: 1px solid #e6e6e6;
  color: #e6e6e6;
  margin-left: 5px;
}
#sliding-popup a {
  color: #fff;
  text-decoration: underline;
}
@media screen and (max-width: 600px) {
  #sliding-popup.sliding-popup-bottom {
    display: block;
  }
  #sliding-popup button {
    margin: 0;
  }
}
