/* custom styles */



.fly-basket {
  display: none;
}

.callback:after {
  background-image: url(./images/fon.jpg);
  opacity: 1;
}

.price-list:after {
  background-image: url(/upload/block2_back.jpg);
  opacity: 1;
}

body {
  background: linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.4)), url(/upload/back-3.png);
}



/*====HEADER====*/

.header .items .slogan {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  margin-left: auto;
  text-align: center;
}

.header .items .logo {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  margin-left: 0;
}

.header .items .tel {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
}

.header .items .btn {
  -webkit-box-ordinal-group: 5;
      -ms-flex-order: 4;
          order: 4;
}

#header .tel::before {
  display: none;
}

#header .tel .item:first-child {
  margin: 0 0 7px;
}

.top-slider .item .gradient, body.dark .top-slider .item .gradient {
  background-image: none;
}

.top-slider .dots {
  bottom: 58px;
}

.advantages {
  top: -70px;
}

.advantages .items {
  background: rgba(255,255,255,1);
  -webkit-box-shadow: 0px 7px 10px 13px rgba(0,0,0,0.2);
  box-shadow: 0px 7px 10px 13px rgba(0,0,0,0.2);
}

.header.fixed {
  background-color: #fff;
  -webkit-box-shadow: 0 0 6px 2px #535c69a1;
          box-shadow: 0 0 6px 2px #535c69a1;
}

.header .burger-icon span {
  background-color: #0661af;
}

.tel .item, body.dark .header:not(.fixed) .tel .item {
  color: #0661af;
}

.btn.transparent {
  color: #0661af;
  border-color: #0661af;
}

.header .burger-icon span, .tel .item {
  color: #0661af;
}

.top-slider .item {
  background-size: auto;
}

.advantages .items .item .icon:before {
  content: '';
  display: block;
  width: 60px;
  height: 60px;
}

.advantages .items .item .icon.icon-diplom:before {
  background: url(/bitrix/templates/mmarket_s1/images/icon6.png) no-repeat;
}

.advantages .items .item .icon.icon-delivery:before {
  background: url(/bitrix/templates/mmarket_s1/images/icon7.png) no-repeat;
}

.advantages .items .item .icon.icon-list:before {
  background: url(/bitrix/templates/mmarket_s1/images/icon8.png) no-repeat;
}

.advantages .items .item .icon.icon-consultant:before {
  background: url(/bitrix/templates/mmarket_s1/images/icon9.png) no-repeat;
}

@media (min-width: 959px) {
  .header .items .logo {
    width: auto;
  }

  .header .items .logo img {
    max-width: 270px;
    max-height: initial;
  }

  .header .burger-icon {
    top: 24px;
  }

  .header.fixed .main-menu {
    top: 93px;
  }
  .top-slider .item .content .text {
    margin: 280px 0 250px;
  }
  .advantages .items .item {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
/*
  .catalog {
    margin: 100px 0 80px;
  }

  .header.fixed .burger-icon {
    display: none;
  }

  .header.fixed .main-menu {
    display: block;
  }
*/
}

@media (max-width: 1210px) {
  .advantages {
    top: -95px;
  }
  .top-slider .dots {
    bottom: 82px;
  }
  .top-slider .item .content .text {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
  }
}

@media (max-width: 959px) {
  .header .items .logo {
    margin-left: 2%;
  }
  .advantages {
    top: -120px;
  }
  .top-slider .dots {
    bottom: 108px;
  }
  .top-slider .item.has-video {
    background-position: 50% center;
  }
  body.dark .header:not(.fixed) .burger-icon span {
    background-color: #0661af;
  }
  .advantages .items .item .icon {
    margin-bottom: 10px;
  }
}

@media (max-width: 639px) and (min-width: 430px) {
  .advantages .items .item .icon {
    margin-right: 20px;
  }
}

@media (max-width: 639px) {
  .advantages {
    top: -17px;
  }
  .top-slider .dots {
    bottom: 6px;
  }
  .top-slider .item .content .text {
    text-align: center;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
  .top-slider .active .item .content .text .description, .top-slider .active .item .content .text .title {
    background-color: #f8f8f96b;
    border-radius: 5px;
  }
  .top-slider .item.has-video, .top-slider .item.is-dark {
    background-position: 65% center;
  }
}

/*====END====*/



/*====MAIN====*/

.company .content .text .counters {
  border-bottom: 1px solid rgba(179,194,200,.96);
  padding-bottom: 20px;
}

.company .content .text .doc {
  margin-top: 15px;
  text-align: left;
}

.company .content .text .doc>a {
  text-decoration: none;
  color: #00a2e8;
  border-bottom: 1px dotted #00a2e8;
  position: relative;
  top: -12px;
}

.company .content .text .doc>a:hover {
  border-bottom: none;
}

.company .content .text .doc>.icon-pdf {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url(./images/icons/doc.png) no-repeat;
  margin-right: 10px;
}

.price-list .content .form .submit {
  margin: 25px 0 0;
}

.price-list .content .info {
  padding: 80px 0 43px 7.5%;
}

.price-list .content .info .icon {
  top: 118px;
  left: 0%;
}

.brands {
  background-color: initial;
}

.callback .subtitle, .callback .desc, .form .fields .field .label, .form .fields .field input[type="checkbox"]+label {
  color: #2d3447;
}

.form .fields .field input[type="checkbox"]+label a {
  color: #00a2e8;
  border-bottom: 1px dashed #00a2e8;
}

.form .fields .field input[type="checkbox"]+label a:hover {
  color: #00a2e8;
  border-bottom: none;
}

.price-list .subtitle.white, .price-list .content .info .desc {
  color: #2d3447;
}

.price-list .content .info .icon-list:before {
  content: '';
  display: block;
  width: 52px;
  height: 70px;
  background: url(./images/icons/icon-form.png) no-repeat;
}

.company .content .image {
  -ms-flex: 0 auto;
  -webkit-flex: 0 auto;
  flex: 0 auto;
  max-width: 373px;
  max-height: 360px;
}

.company .content .image img {
  border-radius: 0;
}

.price-list .content .info .subtitle {
  font-size: 2em;
}

.custom_list li {
  list-style-type: none;
  position: relative;
}

.custom_list li:before {
  content: '';
  display: block;
  position: absolute;
  left: -18px;
  width: 10px;
  height: 2px;
  background: #00a2e8;
  top: 13px;
}

.company .content .text .counters .item .number {
  color: #0661af;
}

.catalog .tags .tag {
  font-size: .9em;
}

#news-block {
  position: relative;
}

#news-block:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(/upload/block1_back.jpg);
    background-size: cover;
    opacity: 1;
    z-index: -1;
}

#news-block .gallery {
  padding: 43px 0;
}

.gallery {
  margin-bottom: 50px;
}

@media (min-width: 959px) {
  .callback .form .fields .btn {
    padding: 15px 60px;
    letter-spacing: 0.2em;
    margin: 20px auto 0;
  }
  .callback .form .fields .field.checkbox.personal {
    text-align: center;
  }
  .contacts .items {
    margin-top: 20px;
  }
  .company .content .text {
    -ms-flex: 0 0 60%;
    -webkit-flex: 0 0 60%;
    flex: 0 0 60%;
    margin-left: 6.5%;
  }
}

@media (max-width: 1210px) {
  .price-list .content .form .submit {
    margin: 25px auto 0;
  }
  .price-list .content .info {
    width: 69%;
  }
}

@media (max-width: 959px) {
  .price-list .content .info .icon {
    top: 30%;
  }
  .price-list .content .info {
    padding: 5% 0 43px 10.5%;
    width: auto;
  }
}

@media (max-width: 639px) {
  .price-list .content .info .icon {
    display: none;
  }
  .price-list .content .info {
    padding: 14.5% 0 43px 0;
  }
  .price-list .subtitle.white {
    text-align: center;
  }
  .catalog .subtitle {
    font-size: 2em;
  }
  .popup .box.product .columns .right .top .preview-text {
    display: block;
  }
}

/*====END====*/



/*====POPUP====*/

.popup.page .box .content>.description {
  text-align: center;
}

.popup.page .box .content>.description>.description-img {
  float: none;
  max-width: initial;
  margin: 0;
}

.popup.page .box .head {
  min-height: 62px;
}

.popup .wrap:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 49px;
  height: 139px;
  z-index: 1;
  background: url(./images/form_header.png) no-repeat top left;
}

.popup .wrap .head {
  background: none;
  border: none;
  text-align: center;
}

.popup .wrap {
  position: relative;
  background: #ffffff;background: -moz-linear-gradient(-45deg, #ffffff 0%, #ebeef2 100%);
  background: -webkit-gradient(left top, right bottom, color-stop(0%, #ffffff), color-stop(100%, #ebeef2));
  background: -webkit-linear-gradient(-45deg, #ffffff 0%, #ebeef2 100%);
  background: -o-linear-gradient(-45deg, #ffffff 0%, #ebeef2 100%);
  background: -ms-linear-gradient(-45deg, #ffffff 0%, #ebeef2 100%);
  background: linear-gradient(135deg, #ffffff 0%, #ebeef2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ebeef2', GradientType=1 );
}

.popup .wrap .head .title {
  color: #0660af;
  border-bottom: 3px solid #00a2e8;
  display: inline-block;
}

.popup .wrap .head .close {
  background-image: url(./images/close.svg);
  opacity: 1;
}

.form.form-popup {
  position: relative;
  background: none;
}

.form.form-popup:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -31px;
  right: -35px;
  z-index: 1;
  background: url(./images/form_footer.png) no-repeat;
  width: 103px;
  height: 168px;
}

#requisites-popup table td {
  border-bottom: 1px solid #333;
  padding: 8px;
}

#requisites-popup table td:first-child {
  font-weight: 600;
}

/*====END====*/



/*====CONTACTS====*/

.contacts .items .item .content .icon:before {
  content: '';
  width: 30px;
  height: 30px;
  display: inline-block;
  margin-top: -14px;
}

.contacts .items .item .content .icon-phone:before {
  background: url(./images/contacts/phone.png) no-repeat;
}

.contacts .items .item .content .icon-mail:before {
  background: url(./images/contacts/mail.png) no-repeat;
}

.contacts .items .item .content .icon-time:before {
  background: url(./images/contacts/time.png) no-repeat;
}

.contacts .items .item .content .icon-placeholder:before {
  background: url(./images/contacts/address.png) no-repeat;
}

.contacts .items .item .content {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
}

.contacts .items {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
}

.contacts .items .item .name {
  margin: 0 0 2.5% 30px;
}

/*====END=====*/



/*====FOOTER====*/

footer {
  background: url(/upload/footer_back.jpg);
  position: relative;
}

footer:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  z-index: 0;
  background: url(/bitrix/templates/mmarket_s1/./images/footer.png) top;
  width: 100%;
  height: 43px;
}

footer .info .policy {
  height: 15px;
  padding: 15px 0 0;
}

footer .links .logo {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 20.5%;
          flex: 0 0 20.5%;
}

footer .links .email a, footer .info .copyright, footer .info .policy {
  color: #333;
}

footer .info .policy {
  border-bottom: 1px dashed #333;
}

footer .links .email {
  font-size: 1.15em;
}

footer .links .email>a {
  font-weight: 600;
  color: #0661af;
}

footer .links .email a:before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url(/bitrix/templates/mmarket_s1/./images/contacts/mail.png) no-repeat center/cover;
  position: absolute;
  margin-left: -32px;
  margin-top: -6px;
}

footer .links .tel, footer .links .btn {
  -ms-flex-item-align: initial;
      align-self: initial;
}

footer .links .tel:before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url(/bitrix/templates/mmarket_s1/./images/contacts/phone.png) no-repeat center/cover transparent;
  position: absolute;
  margin-left: -13px;
  margin-top: -2px;
  border-radius: 0;
}

footer .info .policy_wrapper {
  text-align: center;
  line-height: 20px;
}

footer .info .requisites {
  border-bottom: 1px dashed #333;
  font-size: 0.85em;
  letter-spacing: 0.025em;
  text-decoration: none;
  margin-top: 5px;
}

footer .info .requisites:hover {
  border-bottom: none;
}

footer .info {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}


@media (min-width: 959px) {
  footer .links>* {
    margin: 0 !important;
    -webkit-box-flex: initial;
        -ms-flex: initial;
            flex: initial;
  }

  footer .links {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  footer .links .email {
    -webkit-box-ordinal-group: initial;
        -ms-flex-order: initial;
            order: initial;
    padding: 0;
    -webkit-box-flex: initial;
        -ms-flex: initial;
            flex: initial;
  }
}

@media (max-width: 1210px) {
  footer .links {
    margin-top: 5px;
  }
  footer .info .copyright {
    margin: 0 auto 0 0;
  }
}

@media (max-width: 959px) {
  footer .links .logo {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 30%;
            flex: 0 0 30%;
  }
  footer .links .tel {
    margin-left: auto;
  }
  footer .links .email {
    padding-top: 13px;
    padding-bottom: 10px;
  }
  footer .info .copyright {
    margin: 0;
  }
  footer .info .payments {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: 0;
  }
}

@media (max-width: 639px) {
  footer .links .logo, footer .links .tel {
    padding: 0;
    margin-bottom: 15px;
  }
  footer .links .tel {
    margin-left: 0;
    padding: 10px 0 0 32px;
  }
  footer .links .logo {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
  footer .links .email {
    text-align: left;
    padding: 10px 0 0 32px;
  }
  .logo_x10_wrapp {
    text-align: left;
  }
  footer .info .policy {
    padding: 0;
  }
  footer .links .tel:before {
    margin-left: 16px;
  }
  footer .info>*, footer .info .payments {
    margin-top: 20px;
  }
  footer .info .policy_wrapper {
    text-align: left;
  }
}
/*====END====*/



.catalog .tabs .tab {
    font-size: .9em;
    font-weight: 600;
    border-width: 2px;
    padding: 15px 25px;
}

.popup .box.product .columns .right {
    flex: 0 60%
}

.popup .box.product .columns .left {
    flex: 40%;
}

#callback-block:after {
    width: 100%;
    background: url(/upload/bg_form.jpg) no-repeat;
    background-attachment: fixed;
    background-size: cover;
    opacity: 0.3;
}

.callback .subtitle, .callback .desc, .callback .form .fields .field .label, .callback .form .fields .field input[type="checkbox"]+label {
    color: #fff;
}

.product .price-and-btn .price {
    color: #0661af;
}

.btn.callback-popup-btn.transparent, body.dark .header:not(.fixed) .btn.transparent {
    color: #FF9400;
    border-color: #FF9400;
}

.btn.callback-popup-btn.transparent:hover {
    color: #0661af;
    border-color: #0661af;
}
.popup.page .box .content>.description>.description-img{
width:100%;
}





.callback-btn{
	color: #FF9400;
	border: 2px solid #FF9400;
    background: #fff;
}

.price-list .content {
    display: initial;
}