.fancybox-slide--html {
    padding: 15px;
}
.tabs__content {
  display: none;
}
.tabs__content.active {
  display: block;
}
#ms-video-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -2;
    background: url(/local/templates/main/ms/img/ms-bg_2.jpg) no-repeat #b69b8e;
    background-size: cover;
}
#box-m {
  display: none;
}
.gallery-ie .fancybox-ms {
    border: 15px solid #f7f9fc;
    display: block;
    margin-bottom: 30px;
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
}

/* .gallery-ie .fancybox-ms:hover {
    border-color: #9b2743;
} */

.productModal .modal__title.title.title_middle {
    margin: 30px 0 10px;
}

#ms-video-bg > video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
}

.bg-over {
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}

@supports (object-fit: cover) {
#ms-video-bg > video {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
}

a.button.banner__button:hover {
  text-decoration: none;
}

button.btn.-secondary.button {
    margin: 40px 0 0;
    font-weight: bold;
    font-size: 14px;
    border-radius: 0;
    border:0;
}

button.btn.-secondary.button:hover {
    background: #92243f;
    color: #fff;
}

section.ms-nav {
    background: #eaecee;
}

section.ms-nav ul {
    list-style: none;
    text-align: center;
}

section.ms-nav ul li {
    padding: 0;
    margin: 0;
    display: inline-block;
}

/* section.ms-nav ul li:first-child > a {
    padding: 10px 30px 10px 0;
} */

section.ms-nav ul li:last-child > a {
    border-right: 0;
}

section.ms-nav ul li > a {
    text-decoration: none;
    margin: 10px 0;
    padding: 10px 30px;
    color: #333f48;
    font-size: 16px;
    font-weight: 700;
    -webkit-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    text-transform: uppercase;
    display: inline-block;
    border-right: 1px solid #b9bec37a;
    font-family: 'GothamProBold', Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
}

section.ms-nav ul li > a:hover {
    color: #9b2743;
}

section.ms-docs {
    padding: 40px 0 80px;
}

section.ms-docs .ms-grey-title {
    margin-bottom: 10px;
}

section.ms-docs .title {
    text-align: center;
    margin-bottom: 50px;
}

section.ms-recom {
    background: #eaecee;
    padding: 80px 0;
}

section.ms-recom .title {
    text-align: center;
    margin-bottom: 50px;
}

section.ms-recom .certificates__items {
    justify-content: center;
    padding: 0;
}

section.gallery-wrapper .title {
    text-align: center;
    margin-bottom: 50px;
}

section.gallery-wrapper {
  padding: 40px 0 80px;
}

section.msm-tabs .title{
    text-align: center;
    margin-bottom: 50px;
}

section.msm-tabs {
    background: #f7f9fc;
    padding: 80px 0;
}

section.ms-products {
  padding: 0 0 80px 0;
}

section.ms-products .title{
    text-align: center;
    margin-bottom: 50px;
}

ul.ms-tabs {
  text-align: center;
  margin-bottom: 10px;
}

.ms-tabs li {
    list-style: none;
    display: inline-block;
    width: auto;
    margin: 0;
}
.ms-tabs li {
    text-align: center;
    text-decoration: none;
    position: relative;
    text-transform: uppercase;
    color: #fff;
    background: #9b2743;
    padding: 20px 30px;
    border-right: 1px solid;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    -webkit-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
    width: 31%
}
@media (max-width: 768px) {
.ms-tabs li {
    width: 88%
}
}
    .ms-tabs li:hover, .ms-tabs li.active {
       background: #fff;
       color:#333f48;
       border-color: #fff;
       text-decoration: none;
    }
    .catalog__img:before {
      content: none;
    }

    .ms-tabs a:before{
      content:'';
      position:absolute;
      z-index:11;
      left:100%;
      top:-100%;
      height:70px;
      line-height:90px;
      width:0;
      border-bottom: 70px solid rgba(0,0,0,.1);
	    border-right: 7px solid transparent;
    }
    .ms-tabs a.active:before{
      content:'';
      position:absolute;
      z-index:11;
      left:100%;
      top:-100%;
      height:70px;
      line-height:90px;
      width:0;
      border-bottom: 70px solid rgba(0,0,0,.2);
	    border-right: 20px solid transparent;
    }
    .ms-tabs a:last-child:before, .ms-tabs.active:last-child:before{
    border: none;
    }

.tabgroup>div {
    padding:30px;
    background:#fff;
  }

.clearfix:after {
  content:"";
  display:table;
  clear:both;
}
.tab-img {
    margin-top: 30px;
}
.tab-img img {
    width: 100%;
}
span.tab-img-st {
    position: absolute;
    bottom: 20px;
    left: 0;
    padding: 10px 40px 10px 15px;
    background: #243f4f;
    color: #fff;
    font-size: 14px;
}

section.ms-form {
  background: url(/local/templates/main/ms/img/ms-bg_2.jpg) no-repeat #b69b8e;
  background-size: cover;
}

#loading-div{
    display: none;
}
.ms-form-block {
    background: #fff;
    padding: 30px;
    margin: 50px 0;
}

.ms-form-title.title {
    line-height: 1.2;
    margin-bottom: 14px;
    font-size: 20px;
}

#ms-contact .form__wrap-submit--call-me-modal .form__text--politics {
    margin-bottom: 0;
}

#ms-contact .input-block {
    margin: 20px 0;
}

.modal {
  max-width: unset;
}
.modal.fancybox-content {
    position: relative;
    top: unset;
    left: unset;
    width: 100%;
    height: unset;
    overflow: unset;
    max-width: 600px;
}
#productModal button.btn.btn-secondary {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
}
.modal img {
  width: 100%;
}

.ms-prod-img img {
    width: 100%;
}

.ms-prod-title {
    font-size: 14px;
    text-align: center;
    margin-top: 15px;
    color: #333f48;
    font-weight: 700;
}

.ms-prod-title span {
    font-size: 12px;
    font-weight: 500;
    display:block;
}

.ms-prod-block a {
  cursor: pointer;
}

.ms-prod-block a:hover .ms-prod-title {
  color: #9b2743;
}

.ms-prod-block {
    margin: 30px 0;
    padding: 0 15px;
}

.mini-title {
    font-family: 'GothamProBold', Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
    font-size: 26px;
    line-height: 30px;
    color: #333f48;
    text-align: center;
    padding: 50px 0 30px;
}

.ms-grey-title {
    background: #eaecee;
    text-align: center;
    padding: 40px 0;
    font-size: 32px;
    font-weight: 700;
    font-family: 'GothamProBold', Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
    line-height: 40px;
    color: #333f48;
}

.btn.button {
    position: relative;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    height: 96px;
    padding: 0 100px;
    font-size: 11px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    letter-spacing: 2.2px;
    cursor: pointer;
    background-color: #9b2743;
    -webkit-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    font-size: 18px;
    margin-top: 40px;
}
button.owl-dot {
    width: 10px;
    height: 10px;
    background: #ccc!important;
    border-radius: 20px;
    margin: 0 5px;
}
button.owl-dot.active, button.owl-dot:hover {
    background: #9b2743!important;
}
button, button:active, button:focus {
  outline: none;
}
:focus {
	outline-style: none;
	outline-width: 0px !important;
	outline-color: none !important;
	outline: 0;
	box-shadow: none;
}
:active {
	outline-style: none;
	outline-width: 0px !important;
	outline-color: none !important;
	outline: 0;
	box-shadow: none;
}
button::-moz-focus-inner {
  border: 0;
}
.owl-dots {
    text-align: center;
    margin: 30px 0 0;
}

#productModal .modal-content {
    padding: 44px 44px 29px;
    border-radius: 0;
    border: 0;
}
#productModal .modal-dialog {
    max-width: 600px;
}
#productModal .modal-content .title {
    font-size: 20px;
    line-height: 24px;
    padding: 30px 0 15px;
}
.col-md-3.col-sm-4.modal-thumb {
    padding: 3px 5px;
}
.productModal .col-md-12 {
    padding: 15px 5px;
}
@media screen and (max-width: 767px) {
  section.ms-nav ul li > a {
    border: 0;
  }
}
@media screen and (max-width: 520px) {
span.tab-img-st {
    padding: 5px 10px 5px 5px;
    font-size: 12px;
    max-width: 70%;
}
.productModal .modal__title.title.title_middle {
    margin: 30px 0 0px;
    font-size: 18px;
}
}
.zag4 {
    color: #ffffff;
    font-size: 44px;
    line-height: 70px;
    margin-top: 70px;
    max-width: 250px;
}
@media screen and (min-width: 320px) and (max-width: 767px) {
.zag4 {
    color: #ffffff;
    font-size: 34px;
    line-height: 50px;
   margin-top: 40px;
}
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
.catalog__img:after {
    content: '';
    display: block;
    width: 373px;
    height: 396px;
    background-image: url(/local/templates/main/ms/img/product_catalog_paving_2024.jpg);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
}
}
@media screen and (max-width: 767px) and (min-width: 320px) {
.catalog__img:after {
    content: '';
    display: block;
    width: 218px;
    height: 254px;
    background-image: url(/local/templates/main/ms/img/product_catalog_paving_2024.jpg);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
}
}
.fancybox-thumbs__list a:before {
    border: 4px solid #9b2743;
}


@media screen and (min-width: 320px) and (max-width: 1024px) {
    .certificates__toggle .icon {
        width: 28px;
        min-width: 28px;
}
}

section.ms-recom2 {
    background: #ffffff;
    padding: 40px 0;
    padding-bottom: 10px;
}

section.ms-recom2 .title {
    text-align: center;
    margin-bottom: 60px;
}

/*@media screen and (min-width: 320px) and (max-width: 767px) {
    .catalog__img {
        margin-left: 43px;
    }
}*/
@media screen and (max-width: 370px) {
.certificates__certificates-block-title {
max-width: 170px;
}
}
@media screen and (max-width: 767px) and (min-width: 320px) {
.fancybox-caption__body {
text-align: right;
padding-left: 50px
}
}

@media screen and (min-width: 768px) and (max-width: 1320px) {
.fancybox-caption__body {
max-width: 80%;
margin: 0 auto;
}
}
.fancybox-button--play {
    margin-top: 8px;
}
.fancybox-button--thumbs {
    margin-top: 8px;
}
.fancybox-button--zoom {
    margin-top: 8px;
}




