.max-w1170{
  max-width:1170px;
  margin:0 auto;
}
.footer {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  background: #323232;
  padding: 44px 6% 40px;
  text-align: center;
  /*min-height: 205px;*/
}
@media all and (max-width: 1024px) {
  .footer {
    padding: 44px 3% 40px;
    /*min-height: 219px;*/
  }
}
/*@media all and (max-width: 930px) {
  .footer {
    min-height: 229px
  }
}
@media all and (max-width: 768px) {
  .footer {
    min-height: 233px
  }
}
@media all and (max-width: 700px) {
  .footer {
    min-height: 263px
  }
}
@media all and (max-width: 690px) {
  .footer {
    min-height: 316px
  }
}*/
@media all and (max-width: 500px) {
  .footer {
    padding: 44px 3% 60px;
    /*min-height: 522px;*/
  }
}
.footer__logo {
  display: inline-block;
  width: 100px;
  height: 66px;
  float: left;
  text-align: left;
}
@media all and (max-width: 880px) {
  .footer__logo {
    width: 84px;
    height: 58px;
    position: absolute;
    float: none;
    left: 25px;
  }
}
@media all and (max-width: 500px) {
  .footer__logo {
    top: -350px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }
}
.footer__img {
  width: 100%;
  height: 100%;
}
.footer__txt {
  min-width: 100px;
  margin-top: 12px;
  font-family: SFNSDisplay, sans-serif;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.58;
  letter-spacing: normal;
  color: #c0c0c0;
}
@media all and (max-width: 880px) {
  .footer__txt {
    margin-top: 19px
  }
}
@media all and (max-width: 500px) {
  .footer__txt {
    position: absolute;
    z-index: 2;
    bottom: -482px;
    width: 280px;
    left: -88px;
  }
}
@media all and (max-width: 375px) {
  .footer__txt {
    bottom: -510px;
  }
}
.footer__soc {
  float: right;
}
@media all and (max-width: 935px) {
  .footer__soc {
    float: none;
    position: absolute;
    right: 5%;
    bottom: 35px;
  }
}
@media all and (max-width: 720px) {
  .footer__soc {
    right: 4%;
  }
}
@media all and (max-width: 690px) {
  .footer__soc {
    right: 5%;
    bottom: 53px;
  }
}
@media all and (max-width: 500px) {
  .footer__soc {
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }
}
.soc {
  font-family: SFNSDisplay, sans-serif;
}
.footer__main {
  width:62%;
  max-width: 575px;
  display: inline-block;
  text-align: center;
  font-family: SFNSDisplay, sans-serif;
  margin-left: 60px;
}
@media all and (max-width: 1024px) {
  .footer__main {
    width: 60%;
    margin-left: 30px;
  }
}
@media all and (max-width: 935px) {
  .footer__main {
    max-width: 700px;
  }
}
@media all and (max-width: 935px) {
  .footer__main {
    margin-left: 30px;
    width: 80%;
  }
}
@media all and (max-width: 880px) {
  .footer__main {
    margin-left: 105px;
    width: 80%;
  }
}
@media all and (max-width: 690px) {
  .footer__main {
    min-width: 365px;
  }
}
@media all and (max-width: 500px) {
  .footer__main {
    margin: 0 auto;
    margin-top: 60px;
    padding-top: 20px;
    margin-bottom: 20px;
    min-width: 200px;
    max-width: 320px;
  }
}
.menu-foot__item {
  display: inline-block;
  text-decoration: none;
  /*margin-right: 5%;*/
  font-size: 15px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}
.menu-foot__item:hover {
  color: #b22e39;
}
.menu-foot__item:last-child {
  margin-right: 0;
}
@media all and (max-width: 690px) {
  .menu-foot__item {
    margin-right: 4%;
    line-height: 25px;
  }
}
/*@media all and (max-width: 690px) {
  .menu-foot__item:last-child {
    margin-top: 10px;
  }
}*/
@media all and (max-width: 500px) {
  .menu-foot__item {
    display: block;
    margin-top: 15px;
    margin-right: 0;
    line-height: normal;
  }
}
.link-foot {
  margin-top: 14px;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.67;
  letter-spacing: normal;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  align-content: space-between;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  -webkit-flex-direction: row;
  -webkit-justify-content: space-between;
  -webkit-align-items: center;
  -webkit-flex-wrap: wrap;
  -webkit-align-content: space-between;
  -moz-flex-direction: row;
  -moz-justify-content: space-between;
  -moz-align-items: center;
  -moz-flex-wrap: wrap;
  -moz-align-content: space-between;
  -ms-flex-direction: row;
  -ms-justify-content: space-between;
  -ms-align-items: center;
  -ms-flex-wrap: wrap;
  -ms-align-content: space-between;
  -o-flex-direction: row;
  -o-justify-content: space-between;
  -o-align-items: center;
  -o-flex-wrap: wrap;
  -o-align-content: space-between;
}
@media all and (max-width: 690px) {
  .link-foot {
    -webkit-justify-content: space-around;
    justify-content: space-around;
    -moz-justify-content: space-around;
    -ms-justify-content: space-around;
  }
}
@media all and (max-width: 500px) {
  .link-foot {
    width: 100%;
    display: inline-block;
    position: absolute;
    bottom: -95px;
    left: 0;
    background: #323232;
    margin-top: 0;
    padding: 25px 60px 45px;
    box-sizing: border-box;
  }
}
@media all and (max-width: 420px) {
  .link-foot {
    padding: 27px 10px 45px;
  }
}
@media all and (max-width: 375px) {
  .link-foot {
    padding: 25px 10px 10px;
    height: 125px;
    bottom: -124px;
  }
}
.link-foot__item {
  padding: 3px 6% 0 0;
  display: inline-block;
  color: #c0c0c0;
}
@media all and (max-width: 1024px) {
  .link-foot__item {
    padding: 3px 3% 0 0;
  }
}
@media all and (max-width: 768px) {
  .link-foot__item {
    padding: 3px 2% 0 0;
  }
}
@media all and (max-width: 690px) {
  .link-foot__item {
    width: 113px;
    padding: 3px 10px;
  }
}
.link-foot__item_none-decor {
  text-decoration: none;
  padding: 3px 0 0 0 ;
}
@media all and (max-width: 500px) {
  .link-foot__item_none-decor {
    position: absolute;
    top: -445px;
    bottom: 0;
    height: 21px;
    left: 0;
    right: 0;
    width: 180px;
    margin: auto;
  }
}
@media all and (max-width: 375px) {
  .link-foot__item_none-decor {
    top: -510px;
  }
}
.link-foot__mail {
  color: #b22e39;
  text-decoration: underline;
}
@media all and (max-width: 500px) {
  .link-foot__mail {
    display: inline-block;
  }
}
.subs {
  margin-top: 30px;
}
@media all and (max-width: 935px) {
  .subs {
    margin-left: -30%;
    text-align: left;
    display: inline-block;
    margin-top: 40px;
  }
}
@media all and (max-width: 880px) {
  .subs {
    margin-left: -26%;
  }
}
@media all and (max-width: 690px) {
  .subs {
    margin-left: -55%;
  }
}
@media all and (max-width: 560px) {
  .subs {
    margin-left: -80%;
  }
}
@media all and (max-width: 500px) {
  .subs {
    margin: 0 auto;
    padding-top: 70px;
  }
}
.subs__mail {
  min-width: 210px;
  height: 35px;
  box-sizing: border-box;
  padding: 8px 11px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 15px;
  letter-spacing: normal;
  text-align: left;
  color: #9b9b9b;
  margin-right: 10px;
  border: 1px solid white;
  box-shadow: none;
  vertical-align: top;
}
@media all and (max-width: 768px) {
  .subs__mail {
    min-width: 150px;
  }
}
@media all and (max-width: 700px) {
  .subs__mail {
    min-width: 192px;
    margin-bottom: 12px;
    display: block;
    box-sizing: border-box;
    padding: 8px 5px;
  }
}
@media all and (max-width: 600px) {
  .subs__mail {
    text-align:center;
    font-size:15px;
  }
}
.subs__butt {
  height: 35px;
  box-sizing: border-box;
  padding: 10px 20px;
  border-radius: 4px;
  background-color: #b22e39;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 0.5px;
  text-align: center;
  color: #e1e1e1;
  box-shadow: none;
  border: 1px solid #b22e39;
  text-transform: uppercase;
  vertical-align: top;
}
.subs__butt:hover {
  background-color: transparent;
}
@media all and (max-width: 700px) {
  .subs__butt {
    width: 192px;
    text-align: center;
  }
}
.thanks{
  display: none;
  color: white;
  font-size: 22px;
  line-height: 25px;
  width: 575px;
}
.subs_hide {
  text-align: center;
  position: relative;
}
.subs_hide .thanks{
  display: block;
  position: absolute;
}
.subs_hide .subs__mail{
  opacity: 0;
}
.subs_hide .subs__butt{
  opacity: 0;
}
.thanks{
  top: 0;
}
@media all and (max-width: 1024px) {
  .thanks {
    width: 575px;
    left: -11px;
  }
}
@media all and (max-width: 935px) {
  .thanks {
    max-width: 320px;
    min-width: 300px;
    top: -10px;
    left: 0px;
  }
}
@media all and (max-width: 768px) {
  .thanks {
    font-size: 20px;
    line-height: 27px
  }
}
@media all and (max-width: 700px) {
  .thanks {
    top: 35px;
    left: -70px;
  }
}
@media all and (max-width: 690px) {
  .thanks {
    top: 15px;
  }
}
@media all and (max-width: 560px) {
  .thanks {
    left: -50px;
  }
}
@media all and (max-width: 500px) {
  .thanks {
    max-width: 210px;
    min-width: 210px;
    top: 75px;
    left: 0;
  }
}
.menu-foot {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    align-content: space-between;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    -webkit-flex-direction: row;
    -webkit-justify-content: space-between;
    -webkit-align-items: center;
    -webkit-flex-wrap: wrap;
    -webkit-align-content: space-between;
    -moz-flex-direction: row;
    -moz-justify-content: space-between;
    -moz-align-items: center;
    -moz-flex-wrap: wrap;
    -moz-align-content: space-between;
    -ms-flex-direction: row;
    -ms-justify-content: space-between;
    -ms-align-items: center;
    -ms-flex-wrap: wrap;
    -ms-align-content: space-between;
    -o-flex-direction: row;
    -o-justify-content: space-between;
    -o-align-items: center;
    -o-flex-wrap: wrap;
    -o-align-content: space-between;
}
@media all and (max-width: 690px) {
  .menu-foot{
    -webkit-justify-content: space-around;
    justify-content: space-around;
    -moz-justify-content: space-around;
    -ms-justify-content: space-around;
  }
}@media all and (max-width: 500px) {
  .menu-foot{
    display: block;
  }
}
