*,*:before, *:after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: 'Rubik';
}
:active, :hover, :focus {
    outline: 0;
    outline-offset: 0;
}
html, body {
    background-color: #2F343A;
    height: 100%;
}
a {
  text-decoration: none;
    color: white;
}
ul {
  padding-left: 0;
}
li {
    list-style: none;
    text-decoration: none;
}
body.mouse .header__list>li:hover .submenu  {
    display: block;
}
body.touch .submenu.open {
    display: block;
}
.container {
    margin: 0 auto;
    max-width: 1145px;
    padding: 0 10px;
}
.main-banner img, .main-banner {
    width: 100%;
    height: 350px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: end;
}
.main_banner img {
    width: 100%;
}
.top-line{
  background: #E60D2E;
}
.main_title {
    position: absolute;
    font-weight: normal;
    font-size: 26px;
    line-height: 123.05%;
    letter-spacing: 0.05em;
    color: #212529;
    padding-left: 35px;
    z-index: 10;
    text-align: center;
    margin-bottom: 17px;
}
.top-line-n {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #FFFFFF;
    height: 45px;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
}
.top-line .item {
      font-style: normal;
      font-weight: 400;
      font-size: 12px;
      line-height: 14px;
      text-align: center;
      margin: 15px 0;
      color: #FFFFFF;
}
.top-line-n a {
    color: #FFFFFF;
}
.navbar {
    position: fixed;
    width: 100%;
    left: 0;
    z-index: 50;
}
.navbar:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2F343A;
    z-index: 2;
}
.header__body {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    height: 132px;
    align-items: center;
}
.header__logo {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header__logo .logo img {
    max-width: 100%;
    display: block;
}
.line {
    border-left: 1px solid #F2F2F2;
    height: 46px;
    margin: 30px;
    }
.offices a {
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 20px;
}
.header__menu {
    display: flex;
    position: relative;
}
.header__list {
    display: flex;
}
.header__list>li{
    margin: 0 0 0 20px;
}
.header__link a, .header__link{
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    text-transform: uppercase;
    text-decoration: none;
}
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}
.content {
    padding: 132px 0 0 0;
}
/*.content p {*/
/*    margin: 0 0 20px 20px;*/
/*}*/

.header__burger {
    display: none;
}
.submenu {
    position: absolute;
    z-index: 2;
    background: #3f414b;
    flex-direction: column;;
    min-width: auto;
    display: none;
    padding: 10px 0 10px 0;
    top: 20px;
}
.submenu li {
    margin: 5px 0;
}
a.submenu__link {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 10px 0 10px;
    left: 0;
    padding: 10px 0 0 0;
    font-size: 12px;
    text-transform: none;
}
.submenu.active {
    display: block;
}
.arrow {
    position: absolute;
    top: 7px;
    width: 0;
    height: 0;
    border-top: 5px solid #FFFFFF;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}
.arrow.active {
    transform: rotate(-180deg);
}
.menu__arrow {}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    position: relative;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.swiper {
    /*top: 132px;*/
    margin-left: auto;
    margin-right: auto;
    height: 500px;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: white;
}
.slider_title {
    position: absolute;
    font-size: 20px;
    color: white;
    text-transform: uppercase;
    bottom: 70px;
    z-index: 9999;
}
/*.carousel-caption h5 {*/
/*    font-style: normal;*/
/*    font-weight: 700;*/
/*    font-size: 44px;*/
/*    line-height: 75px;*/
/*    letter-spacing: 0.05em;*/
/*    text-transform: uppercase;*/
/*}*/
/*.carousel-caption p {*/
/*    font-style: normal;*/
/*    font-weight: 400;*/
/*    font-size: 22px;*/
/*    line-height: 28px;*/
/*    text-align: center;*/
/*}*/
.about {
    width: 100%;
    background: #393F47;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}
.services-content {
    margin: 72px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}
.services-text {
    display: flex;
    position: relative;
    margin-top: 60px;
    width: auto;
    height: 86px;
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 49px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 30px;
    margin-left: 35px;
    z-index: 2;
}
.services-title {
    position: relative;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 123.05%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    padding-left: 35px;
    padding-top: 55px;
    z-index: 2;
}
.services-sub-text {
    position: relative;
    margin-left: 35px;
    width: 445px;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 50px;
    color: #FFFFFF;
    z-index: 2;
}
.services-img {
    display: flex;
    justify-content: center;
    width: 564px;
    height: 375px;
    margin-left: 52px;
}
.services__button {
    display: flex;
    justify-content: center;
    width: 222px;
    align-items: center;
    height: 55px;
    background: #E60D2E;
    color: #FFFFFF;
    margin-left: 35px;
    margin-bottom: 35px;
    align-content: center;
}
.corner__top {
    z-index: 1;
    position: absolute;
}

.all__services {
    background: #2F343A;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: row;
}
.all__services__title,
.mission__title {
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 123.05%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    padding-left: 35px;
    padding-top: 55px;
}
.all__services__content {
    padding-top: 34px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 82px;

}

.all__services__item {
    width: 368px;
    height: 257px;
    background: #393F47;
    margin: 2px;
}
.all__services__item:hover {
    background: #E60D2E;
}
.all__services__item:hover >.corner__bottom {
    display: none;
}
.all__services__item_title {
    position: absolute;
    width: auto;
    height: 24px;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 123.05%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-left: 35px;
    padding-top: 42px;
    color: #FFFFFF;
}
.all__services__item_content {
    position: absolute;
    width: 288px;
    height: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 123.05%;
    /* or 20px */
    letter-spacing: 0.05em;
    margin-left: 35px;
    margin-top: 99px;
    color: #FFFFFF;
}
.all__services__item_icon {
    position: absolute;
    margin-left: 35px;
    margin-top: 212px;
}
.corner__bottom {
    float: right;
    margin-top: 140px;
}
.brands {
    width: 100%;
    background: #393F47;
    display: flex;
    flex-wrap: wrap;
}
.mission {
    background: #E60D2E;
    display: flex;
    flex-wrap: wrap;
}
.brands__content, .mission__content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

}
.brands__content__title {
    width: auto;
    height: auto;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 123.05%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
}
.brands__content__text {
    width: auto;
    height: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 123.05%;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    margin-top: 24px;
    margin-bottom: 68px;
}
#carouselExampleCaptions {
    height: auto;
    width: 100%;
}
.mission__content__text {
    margin-top: 24px;
    width: auto;
    height: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 123.05%;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    margin-left: 35px;
    margin-bottom: 45px;
}
.button {
    display: flex;
    justify-content: center;
    width: 222px;
    align-items: center;
    height: 55px;
    background: #E60D2E;
    color: #FFFFFF;
    margin-bottom: 25px;
}
.about {
    background: #2F343A;
}

.map {
    width: 100%;
    height: 450px;
}

.main_news {
    background-color: #2F343A;
}

.news_content {
    display: flex;
    flex-wrap: wrap;
  justify-content: space-between;
  /*  justify-content: flex-start;*/
}
.new__title__block {
  display: flex;
  align-items: flex-end;
  align-content: center;
  justify-content: space-between;
}
.news_title {
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 123.05%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    padding-left: 35px;
    padding-top: 55px;
}
.main__sub_title a{
  color: white;

}

.post-card {
  position: relative;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
  background: #fff;
  min-width: 350px;
  /*height: 470px;*/
  margin: 30px 0;
  /*margin-right: 25px;*/
  width: 320px;
  cursor: pointer;
}

.post-card:hover,
.hover {
  -webkit-box-shadow: 0 1px 35px 0 rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 35px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 35px 0 rgba(0, 0, 0, 0.3);
}
.post-img{
  height: 400px;
  width: 100%;
  overflow: hidden;
}

.post-card img {
  display: block;
  width: 100%;

}
.post-content {
    position: absolute;
    bottom: 0;
    background: #FFFFFF;
    width: 100%;
    padding: 30px;
    height: 180px;
}

.category {
  position: absolute;
  top: -34px;
  left: 0;
  background: #E60D2E;
  padding: 10px 15px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.title {
  /*margin: 0;*/
  /*padding: 0 0 10px;*/
  color: #333333;
  font-size: 20px;
  font-weight: 500;
}

.sub_title {
  margin: 0;
  padding: 0 0 20px;
  color: #e74c3c;
  font-size: 20px;
  font-weight: 400;
}

.description {
  color: #666666;
  font-size: 14px;
  line-height: 1.8em;
  display: none;
}

.up-title {
  margin: 0 0 15px;
  color: #666666;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
}

.hover .post-content .description {
  display: block !important;
  height: auto !important;
  opacity: 1 !important;
}

.post-meta {
    /*margin: 30px 0 0;*/
    color: #999999;
    position: absolute;
    bottom: 30px;
}

.timestamp {
  margin: 0 16px 0 0;
}

.post-meta a {
  color: #999999;
  text-decoration: none;
}
.footer {
    width: 100%;
    background: #E60D2E;
}
.footer__content {
    padding: 80px 0;
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-wrap: wrap;
}

.footer__logo img{
    margin-bottom: 34px;
}
.footer__line {
    width: 360px;
    height: 2px;
    background: #FFFFFF;
    margin-bottom: 34px;
}
.footer__contact p, .footer__contact a{
    color: #FFFFFF;
    width: 462px;
    height: 25px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 123.05%;
    letter-spacing: 0.05em;
}
.footer__table__title {
    width: 156px;
    height: 16px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 22px;
    margin-top: 20px;
}
.footer__list {
    padding-left: 0;
}
.footer__list__item a {
    color: #FFFFFF;
}
.button:hover {
    background: #FFFFFF;
}
.services__button:hover {
    background: #FFFFFF;
}
#cover {
  /* max-width: 400px; */
  margin: 15px 0;
}

#ntf-area {
  width: 200px;
  height: 62px;
  /* margin: 0 auto;   */
  background-color: #fff;
  /* border-radius: 40px; */
  transition: 0.5s cubic-bezier(0, 1.28, 0.29, 1.18) width;
}

#ntf-area.active {
  width: 360px;
}

#ntf-btn {
  font-size: 16px;
  color: #E60D2E;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 15px 20px;
  cursor: pointer;
  transition: 0.6s ease transform;
}
#f-msg {
    font-size: 22px;
    color: #E60D2E;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 20px;
    cursor: pointer;
    transition: 0.6s ease transform;
}
.error-message {
    background-color: white;
    width: 360px;
    font-size: 16px;
    color: #E60D2E;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 15px 20px;
    cursor: pointer;
    transition: 0.6s ease transform;
}

#ntf-btn {
  transform: scale(1);
}

#ntf-btn.inactive {
  transform: scale(0);
}

#ntf-area.active #ntf-btn {
  display: none;
}
#ntf-form-cover form {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#ntf-form-cover.active {
    display: block;
    /*padding: 10px;*/
}

#ntf-form-cover {
  padding: 10px;
  display: none;
}

#td-inp {
  padding-left: 10px;
}

#email-inp {
  width: 100%;
  color: black;
}

#td-pre {
  /*width: 1px;*/
  /*white-space: pre;*/
  padding-left: 20px;
}

#submit-btn {
    color: #86898d;
    fill: #86898d;
    padding: 13px;
    background-color: #E60D2E;
    border-radius: 40px;
    transform: scale(0);
     transition: 0.4s cubic-bezier(0, 0.73, 0.35, 1.22) transform, 0.2s ease color;
    font-weight: 700;
}

#email-inp {
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  border: 0;
}

#email-inp::placeholder {
    color: #cccccc;
    font-family: Verdana;
}
#submit-btn.active {
  transform: scale(1);
}

#submit-btn.active.valid {
    color: #fff;
    cursor: pointer;
    fill: #fff;
}

#f-msg {
  position: relative;
  top: -62px;
  transform: scale(0);
}

#f-msg.active {
  transform: scale(1);
}
.all_brands {
  /*background-color: white;*/
  margin: 35px 0;
}
.brands__title {
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 123.05%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    padding-left: 35px;
    padding-top: 55px;
}
.vacancy_form select {
    appearance: none;
    background: url("/static/image/triangle.png") no-repeat right;
    outline: none;
    background-position: calc(100% - 0.25em);
    background-color: #E8E8EA;}

.form_item .is-invalid {
    background: url("/static/image/alert.png") no-repeat right;
    background-position: calc(100% - 0.25em);
    border: red solid 1px;
    }
.alert-success {
    background-color: #19a297;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    text-align: center;
}
.alert-danger {
    background-color: #E60D2E;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    text-align: center;
}
@media (max-width: 1140px) {
    .all__services__content {
        justify-content: center;
        align-content: center;
        align-items: center;
    }
    .services__text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        align-items: center;
    }
    .corner__top {
        display: none;
    }
}
@media (max-width: 1032px) {
    .header__body, .header__menu {
        display: flex;
	    flex-wrap: wrap;
	    justify-content: center;
	    align-items: center;
	    align-content: center;
        margin: auto;
    }
    .header__menu a {
        font-size: 14px;
    }
    .footer__content {
        justify-content: center;
    }
    .footer__content_items {
        margin-right: 15px;
        padding: 20px;
    }
}
@media (max-width: 980px) {
    .carousel-caption h5 {
      font-size: 44px;
    }
    .carousel-caption p {
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 22px;
        text-align: center;
    }
    .services-img {
        display: flex;
        justify-content: center;
        width: 424px;
        height: 219px;
    }
    .header__body, .header__menu {
        display: flex;
	    flex-wrap: wrap;
	    justify-content: center;
	    align-items: center;
	    align-content: center;
        margin: auto;
    }
    .news_content {
        justify-content: center;
    }
    .post-card {
        margin: 25px;
    }
    .footer__content {
        justify-content: normal;
        margin-left: 35px;
    }
}
@media (max-width: 931px) {
    .header__body {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
    }
    .header__burger {
        display: none;
    }
}
@media (max-width: 870px) {
    .services-img {
    display: none;
    }
    .brands__content {
        flex-direction: column;
    }
    .brands__content__text {
        max-width: 368px;
        text-align: center;
    }
    .footer__content {
        display: block;
    }
}
@media (max-width: 767px) {
    body.lock {
        overflow: hidden;
    }
    .content {
        padding: 80px 0 0 0;
    }
    .top-line {
        display: none;
    }
    .header__burger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
    }
    .header__burger span {
        background-color: #FFFFFF;
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        top: 9px;
        transition: all 0.3s ease 0s;
    }
    .header__burger:before,
    .header__burger:after {
        content: '';
        background-color: #FFFFFF;
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        transition: all 0.3s ease 0s;
    }
    .header__burger:before {
        top: 0;
    }
    .header__burger:after {
        bottom: 0;
    }
    .header__burger.active:before {
        transform: rotate(45deg);
        top: 9px;
    }
    .header__burger.active:after {
        transform: rotate(-45deg);
        bottom: 9px;
    }
    .header__burger.active span {
        transform: scaleX(0);
    }
    .header__menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #5c636a;
        padding: 20px 10px 20px 0;
        overflow: auto;
        display: block;
    }
    .header__menu.active {
        top: 80px;
        transition: all 0.3s ease 0s;
    }
    .header__list {
        display: block;
    }
    .header__list>li {
        padding: 20px 10px 20px 0;
    }
    .header__logo {
        margin: 0;
    }
    .logo {
        flex: 0 0 160px;
    }
    .line {
        height: 25px;
        margin: 10px;
        }
    .office-logo {
        height: 20px;
    }
    .offices a{
        margin-left: 10px;
        font-size: 12px;
    }
    .header__body {
        justify-content: space-between;
        align-items: center;
        height: 80px;
    }
    .submenu {
        position: relative;
        padding: 0;
        margin: 0;
        background-color: #5c636a;
    }
    .submenu .submenu__link {
        margin: 15px 0;
        padding: 0 0 0 15px;
        display: block;
    }
    .arrow {
        position: relative;
        top: 12px;
        margin-left: 5px;
    }
    .arrow.active {
        transform: rotate(-180deg);
    }
}
@media (max-width: 710px) {
    .footer__content {
        display: block;
        margin-left: 35px;
    }
}
@media (max-width: 575px) {
    .services-sub-text {
        width: auto;
    }
    .corner__top {
        display: none;
    }

}
@media (max-width: 475px) {
    .top-line, .offices, .footer__line {
        display: none;
    }
    .footer__contact p{
        width: auto;
    }
    .new__title__block {
        display: block;
    }
    .main__sub_title a {
        padding-left: 35px;
    }
    .feed_form {
        display: flex;
        justify-content: left;
        flex-wrap: wrap;
        background-color: transparent;
    }
    .feed_form label {
        margin-left: 13px;
        margin-top: -60px;
    }
    .feed_form button {
        padding: 0 14px;
        margin-top: 10px;
        width: 214px;
        margin-left: 8px;
    }
    .feed_form.is-invalid {
        background-color: transparent;
    }
    i.fa.fa-warning::before {
        color: red;
        margin-top: -106px;
        position: absolute;
        margin-left: 17px;
    }
    .services-sub-text {
        margin: 0;
        padding: 0 0 30px 30px;
    }
    .mission__title {
        padding: 15px 0 0 35px;
        margin: 0;
        font-size: 22px;
    }
}
@media (max-width: 425px) {
    .content {
        padding: 80px 0 0 0;
    }
    #ntf-area.active {
        width: 100%;
    }
    .about {
        margin: 0;
        padding: 0;
    }
    .services__text {
        display: block;
    }
    .services-title {
        margin: 0;
        padding: 0 0 0 35px;
    }
}
@media (max-width: 375px) {
    .firs-line-main a {
        font-size: 10px;
    }
    #carouselExampleCaptions {
        display: none;
    }
    .all__services__title {
        font-size: 22px;
        margin: 0;
        padding: 25px 0 0 35px;
    }
    .all__services__content {
        margin: 0 0 15px 0;
    }
    .services-content {
        margin: 0;
        padding: 0;
    }
    .brands__title {
        font-size: 22px;
    }
    .feed_form {
        display: flex;
        justify-content: left;
        flex-wrap: wrap;
        background-color: transparent;
    }
    .feed_form label {
        margin-left: 13px;
        margin-top: -60px;
    }
    .feed_form button {
        padding: 0 14px;
        margin-top: 10px;
        width: 214px;
        margin-left: 8px;
    }
    .news_title {
        padding: 0 0 0 35px;
        font-size: 22px;
    }
    .news_content {
        padding: 0;
        margin: 0;
    }
    .services-title {
        font-size: 22px;
    }
    .offices {
        display: none;
    }
    .all__services__item {
        width: 300px;
        height: 257px;
    }
    .all__services__item_title {
        font-size: 20px;
    }
    .all__services__item_content {
        font-size: 12px;
        width: auto;
        padding: 10px;
    }
    .all__services__item_icon img{
        width: 30px;
    }
    .corner__bottom img {
        width: 100px;
        position: relative;
        top: 33px;
    }
    .services-title {
        padding: 15px 0 0 35px;
    }
}
