#scroller{
    position: fixed;
    bottom: 50px;   
    right: 50px;    
    width: 52px;
    height: 52px;
    cursor: pointer;
    display:none;
    background: transparent url(../images/ontop.png) no-repeat left top;  
    -webkit-background-size: cover;
    background-size: cover;
}
/*.no-webp #scroller{
  
}
.webp #scroller{
  background: transparent url(../images/ontop.webp) no-repeat left top;  
    -webkit-background-size: cover;
    background-size: cover;
}*/
.fa_header__logo-img{
  width: auto !important;
  max-width: none;
  position: relative;
  margin-left: -46px;  
  height: auto !important;
}

@media (max-width: 991px)
{
  #scroller{
    bottom: 30px;   
    right: 30px;
  }
}
с
{
  #scroller{
    width: 32px;
    height: 32px;
    right: 15px;
  }
  .fa_header__logo-img{
    max-width: 290px;
    margin-left: -30px;
	text-align:center;
  }
  
    .fa_header__logo-link{
    max-width: 290px;
    margin-left: -20px;
	text-align:center;
  }
  
  .fa_news-card__mediabox{
    width: 100%;
  }
  .fa_news-slider__item{
    padding-left: 5px; 
    padding-right: 5px; 
  }
  .site-wrapper{
    overflow: hidden; 
  }
}

.fa_book_container
{
    display: -webkit-flex;
    display:    -moz-flex;
    display:     -ms-flex;
    display:      -o-flex;
    display:         flex;

    -ms-align-items: flex-end;
        align-items: flex-end;
}
.fa_mobile-menu__label:hover{
  cursor: pointer;
}
.fa_book_container .book_container
{
    width: 100%;
    /*height: 440px;*/
}

.fa_top-menu__item
{
    padding-left: 5px;
}

.fa_top-submenu__list .fa_top-menu__item
{
    padding-left: 25px;
    position: relative;
}

.fa_top-submenu__list .fa_top-menu__item:before{
  position: absolute;
	display: block;
	content: '';
	width: 16px;
	height: 3px;
	background-color: #ea9a14;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
}


.fa_top-menu__item_item-166,
.fa_top-menu__item_item-177
{
    background: #ea9a14;
}

.fa_top-menu__item_item-166 a,
.fa_top-menu__item_item-177 a
{
    color: #fff;
}

.fa_top-menu__item_item-166 a:hover,
.fa_top-menu__item_item-177 a:hover
{
    border-bottom-color: #fff;
}


.contact-link{
  display: none;
  color: inherit;
  text-decoration: none;
}


.fa_page-content h2
{
    font-family: 'Ristretto Slab Pro';
    font-size: 2.2em;
    font-weight: normal;
}

.fa_page-content h3
{
    font-family: 'Ristretto Slab Pro';
    font-size: 2em;
    font-weight: normal;
}

.fa_prod-gallery__item
{
    margin-bottom: 25px;
}


.fa_contact-row
{
    display: -webkit-flex;
    display:    -moz-flex;
    display:     -ms-flex;
    display:      -o-flex;
    display:         flex;

    width: 100%;

    -webkit-flex-wrap: wrap;
       -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
         -o-flex-wrap: wrap;
            flex-wrap: wrap;
}

.fa_contact-col
{
    width: 50%;

    order: 1;
}

.fa_contact-col_right
{
    padding-left: 10px;
}
.fa_contact-img
{
    height: 300px;
}
.fa_contact-mapbox
{
    width: 49%;
    padding: 5px 10px;

    text-align: left;

    border: solid 1px #d5d5d5;
}
.fa_contact-mapbox_right
{
    margin-left: 10px;
}
.fa_gallery-tabs-nav__body
{
    /* visibility: hidden;
  opacity: 0; */
    display: none;
}
.fa_gallery-tabs-nav__body.active
{
    /* visibility: visible;
  opacity: 1; */
    display: block;
}


.fa_brand{
  width: calc(33% - 4px);
  margin-right: 6px;
  margin-bottom: 6px;
  
}
.fa_brand:nth-child(3n){
  margin-right: 0;
}
.fa_brand a{
    display: block;
    position: relative;
    overflow: hidden;
    
  }

.fa_brand a img{
  vertical-align: middle;
  padding: 0 !important;
  position: absolute;
  left: 50%;
  top: 50%;
  
  width: 100%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  -o-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
} 
.fa_brand a:before{
  display: block;
  content: '';
  padding-top: 67%;
 
}
.fa_brand__panel{
  
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 80%;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.57));
  opacity: 0;
  -webkit-transition: opacity .3s;
  -o-transition: opacity .3s;
  transition: opacity .3s;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -ms-align-items: center;
  align-items: center;
 justify-content: flex-end;
  padding: 15px;
  
}
.fa_brand a:hover .fa_brand__panel{
  opacity: 1;
}
.fa_brand__item{
  font-size: 14px;
  line-height: 1;
  color: #fffefe;
  text-align: center;
  margin-bottom: 8px;
 
}
.fa_brand__item:last-child{
  margin-bottom: 0;
}
.fa_brand__item span{
  color: #f2ba2f;
  
  display: inline-block;
}

.fa_prod-carousel__label{
  color: #e88c17;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.fa_prod-carousel__title{
  margin-bottom: 8px;
}
.fa_prod-carousel__head-desc{
  margin-bottom: 8px;
}
.fa_prod-carousel__desc{
  font-size: .875rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 0.36px;
  color: #000000;
}

.fa_prod-carousel__body table{
  margin-bottom: 12px;
  border-collapse: collapse;

}
.fa_prod-carousel__body tr{
  padding: 4px 8px;
}
.fa_prod-carousel__body tr:nth-child(odd){

  background-color: #ebebeb;
}
.fa_prod-carousel__body td{
  color: #3f3f3f;
  font-size: 1rem;
  margin-bottom: 12px;
  padding: 4px;

}
.fa_prod-carousel__body td:first-child{
  width: 60%;
  padding-left: 8px;
}
.fa_prod-carousel__body td:last-child{
  width: 40%;
  padding-right: 8px;
  padding-left: 0;
}
.fa_prod-carousel__size{
  font-family: "PF Centro Sans Pro Light";

}
.fa_prod-carousel__size span{
  font-family: "PF Centro Sans Pro Medium";
  
}





@media (max-width: 991px)
{

  .contact-span{
    display: none;
  }
  .contact-link{
    display: inline;
  }
    .fa_contact-col
    {
        width: 100%;
    }

    .fa_contact-col_right
    {
        margin-bottom: 30px;
        padding-left: 0;

        order: 0;
    }

    .fa_contact-img
    {
        display: block;

        max-width: 100%;
        height: auto;
        margin-right: auto;
        margin-left: auto;
    }
    .fa_contact-mapbox
    {
        width: 100%;
    }
    .fa_contact-mapbox_right
    {
        margin-top: 15px;
        margin-bottom: 10px;
        margin-left: 0;
    }

    .fa_ourwork__item .fa_ourwork__nav {
    opacity: 1 !important;
}

.fa_brand{
  width: calc(50% - 3px);
  margin-right: 6px;
  
}


.fa_brand:nth-child(3n){
  margin-right: 6px;
}
.fa_brand:nth-child(2n){
  margin-right: 0;
}

}


@media (max-width: 767px)
{
    .fa_contact-sotial
    {
        display: -webkit-flex;
        display:    -moz-flex;
        display:     -ms-flex;
        display:      -o-flex;
        display:         flex;

        -webkit-flex-wrap: wrap;
           -moz-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
             -o-flex-wrap: wrap;
                flex-wrap: wrap;
        justify-content: space-around;
    }
    .fa_brand__panel{

      padding: 15px 6px;

    }
}

@media (max-width: 575px)
{
    table.rekv p
    {
        font-size: 12px;
    }
}

@media (max-width: 480px)
{

  .fa_production-block__body{
    width: 100%;
    flex: auto;
  }

  .fa_brand{
   
    margin-left: 0;
    margin-right: 0 !important;
    width: 100% ;   
  }

  .fa_brand:nth-child(3n){
    margin-right: 0;
  }

}



.col-xs-6
{
    float: left;

    width: 25%;
    min-width: 265px;
    margin-bottom: 10px;
}

.col-xs-6 img
{
    width: 255px;
    height: 192px;
}

.zagl
{
    font-family: 'Ristretto Slab Pro';
    font-size: 22px;
    font-weight: 400;

    width: 100%;
    margin-top: 5px;

    text-align: center;
}
.fancybox-navigation .fancybox-button{
    opacity: 1 !important;
}

@media all and (min-width: 768px) {
  .fancybox-thumbs {
    top: auto;
    width: auto;
    bottom: 0;
    left: 0;
    right : 0;
    height: 95px;
    padding: 10px 10px 5px 10px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
  }
  
  .fancybox-show-thumbs .fancybox-inner {
    right: 0;
    bottom: 95px;
  }
}

.ifr {
width:1150px;

height:730px;
max-width: 100%;
max-height: 90vh;
}

@media (max-width: 1900px)
{

}

@media (max-width: 780px)
{
    .ifr
    {
        width: 520px;
        height: 80vh;
    }
}
@media (max-width: 575px)
{
    .ifr
    {
        height: 80vh;
    }
}
@media (max-width: 480px)
{
    .ifr
    {
    }
}

#map{
    background-image: url(../images/map.jpg);
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
}

.fa_ourwork__item:nth-child(1)
{
    background-image: url(/images/ourworks/slide4.jpg);
}
.fa_ourwork__item:nth-child(2)
{
    background-image: url(/images/ourworks/slide7.jpg);
}
.fa_ourwork__item:nth-child(3)
{
    background-image: url(/images/ourworks/slide6.jpeg);
}
.fa_ourwork__item:nth-child(4)
{
    background-image: url(/images/ourworks/slide3.jpg);
}
@media (max-width: 991px)
{


    #map{
        background-image: url(../images/map-md.jpg);
    }
    .fa_ourwork__item:nth-child(1)
    {
        background-image: url(/images/ourworks/slide4-md.jpeg);
    }

    .fa_ourwork__item:nth-child(2)
{
    background-image: url(/images/ourworks/slide7-md.jpeg);
}
.fa_ourwork__item:nth-child(3)
{
    background-image: url(/images/ourworks/slide6-md.jpeg);
}
.fa_ourwork__item:nth-child(4)
{
    background-image: url(/images/ourworks/slide3-md.jpeg);
}
}
@media (max-width: 767px)
{

    #map{
        background-image: url(../images/map-sm.jpg);
    }



    .fa_ourwork__item:nth-child(1)
    {
        background-image: url(/images/ourworks/slide4-sm.jpeg);
    }

    .fa_ourwork__item:nth-child(2)
{
    background-image: url(/images/ourworks/slide7-sm.jpeg);
}
.fa_ourwork__item:nth-child(3)
{
    background-image: url(/images/ourworks/slide6-sm.jpeg);
}
.fa_ourwork__item:nth-child(4)
{
    background-image: url(/images/ourworks/slide3-sm.jpeg);
}
}
@media (max-width: 575px)
{

    #map{
        background-image: url(../images/map-xs.jpg);
        height: 350px;
    }



    .fa_ourwork__item:nth-child(1)
    {
        background-image: url(/images/ourworks/slide4-xs.jpeg);
    }

    .fa_ourwork__item:nth-child(2)
{
    background-image: url(/images/ourworks/slide7-xs.jpeg);
}
.fa_ourwork__item:nth-child(3)
{
    background-image: url(/images/ourworks/slide6-xs.jpeg);
}
.fa_ourwork__item:nth-child(4)
{
    background-image: url(/images/ourworks/slide3-xs.jpeg);
}
}




.fa_prod-gallery__item:hover .trend-gallery {
  opacity: 1; }

.trend-gallery {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  opacity: 0; }
  .trend-gallery .trend-gallery__page {
    position: static;
    padding-bottom: 7px; }
    .trend-gallery .trend-gallery__page .trend-gallery__image-wrapper {
      position: absolute;
      z-index: -2;
      top: 0;
      left: 0;
      overflow: hidden;
      width: 100%;
      height: 100%;
      -webkit-background-size: cover;
              background-size: cover;
      background-position: center;
      opacity: 0; }
      .trend-gallery .trend-gallery__page .trend-gallery__image-wrapper .darkpanel {
        width: 193px;
        height: 258px;
        padding-top: 92px;
        background-color: rgba(26, 26, 26, 0.7); }
        .trend-gallery .trend-gallery__page .trend-gallery__image-wrapper .darkpanel .pnlTitle {
          font-size: 13px;
          font-weight: 600;
          line-height: 20px;
          position: relative;
          padding-top: 65px;
          text-align: center;
          color: white; }
          .trend-gallery .trend-gallery__page .trend-gallery__image-wrapper .darkpanel .pnlTitle:before {
            top: 0;
            left: 70px;
            width: 55px;
            height: 55px;
            background-position: 0 -1323px; }
    .trend-gallery .trend-gallery__page .trend-gallery__button {
      position: absolute;
      bottom: 0;
      height: 4px; }
      .trend-gallery .trend-gallery__page .trend-gallery__button .button-hover {
        position: absolute;
        top: 0;
        right: 1.5px;
        bottom: 0;
        left: 1.5px;
        background-color: #b3b3b3; }
    .trend-gallery .trend-gallery__page:hover {
      cursor: pointer; }
      .trend-gallery .trend-gallery__page:hover .trend-gallery__image-wrapper {
        opacity: 1; }
      .trend-gallery .trend-gallery__page:hover .button-hover {
        background-color: #efa71f; }
    .trend-gallery .trend-gallery__page:first-child .button-hover {
      left: 0; }
    .trend-gallery .trend-gallery__page:last-child .button-hover {
      right: 0; }
    .trend-gallery .trend-gallery__page.trend-gallery__page_column_1 {
      width: 100%; }
      .trend-gallery .trend-gallery__page.trend-gallery__page_column_1 .trend-gallery__button {
        width: 100%; }
      .trend-gallery .trend-gallery__page.trend-gallery__page_column_1 .button-hover {
        right: 0;
        left: 0; }
    .trend-gallery .trend-gallery__page.trend-gallery__page_column_2 {
      width: 50%; }
      .trend-gallery .trend-gallery__page.trend-gallery__page_column_2 .trend-gallery__button {
        width: 50%; }
    .trend-gallery .trend-gallery__page.trend-gallery__page_column_3 {
      width: 33.333%; }
      .trend-gallery .trend-gallery__page.trend-gallery__page_column_3 .trend-gallery__button {
        width: 33.333%; }
    .trend-gallery .trend-gallery__page.trend-gallery__page_column_4 {
      width: 25%; }
      .trend-gallery .trend-gallery__page.trend-gallery__page_column_4 .trend-gallery__button {
        width: 25%; }
    .trend-gallery .trend-gallery__page.trend-gallery__page_column_5 {
      width: 20%; }
      .trend-gallery .trend-gallery__page.trend-gallery__page_column_5 .trend-gallery__button {
        width: 20%; }

.fa_top-submenu .fa_top-submenu__list li.fa_top-menu__item span.image-title {
display:none;
}

.fa_production-block .fa_prod-gallery__cell div:nth-of-type(2){

  margin-bottom: 4px;
 
}

.prod-gallery__panel{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: -18px;
}
.prod-gallery__top-panel{
  flex: 0 0 100%;
  text-align: center;
  margin-bottom: 4px;

}
.prod-gallery__top-panel a{
  color: #000;
  display: flex;
justify-content: center;
align-items: center;
}
.prod-gallery__top-panel a:hover{
  text-decoration: none;
}
.prod-gallery__top-panel img{
  height: 20px;
  margin-right: 5px;
}
.prod-gallery__price{
  flex: auto;
  padding-left: 4px;
  font-size: 20px;
font-weight: bold;
color: #efa71f;
text-align: right;
  line-height: 1;

}
.prod-gallery__sky{
  flex: auto;
  padding-right: 4px;
  font-size: 16px;

}

.sofa-aside {
  max-width: 1400px;
  width: auto !important;
  min-width: 1400px;

}

@media (max-width: 1279px) {
  .sofa-aside {
    min-width: 992px;
  }
}

@media (max-width: 991px) {
  .sofa-aside {
    min-width: 768px;
  }
}

@media (max-width: 767px) {
  .sofa-aside {
    min-width: 546px;
  }
}

@media (max-width: 575px) {
  .sofa-aside {
    min-width: 290px;
  }
}

div.fa_ourwork wow fadeIn .fa_ourwork__item js-ourwork-item span.fa_ourwork__label {
font-size:40px;
}

a.js-gallery-panel {
color: #4F4F4F;
font-size:14px;
}

div.prod-gallery__top-panel {
margin-bottom:9px;
}

a.js-sofa-open {
color: #4F4F4F;
font-size:14px;
display: flex; 
justify-content: center; 
align-items: center; 
}

/*start card popup*/


.popup-cont{
  /*display: none;*/
  width: 90vw;
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  overflow-y: auto;
  max-height: 90vh;
}
.popup-cont.active{
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.popup-cont__inner{
  display: grid;
  grid-template-columns: 14% 64% 20% ;
  grid-gap: 1%;
}
  

.popup-cont.fancybox-content{
  background-color: transparent !important;
  padding: 0;
}
.popup-cont__left{
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px 20px;  
}
.popup-cont__right{  
  display: flex;
  flex-direction: column;
}




.popup-cont__right .fa_btn_large{
  /*width: 100%;*/
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  display: block;
  padding: 0 18px;
}
.popup-cont__right .fa_header__logo-img{
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.popup-cont__brends{
  padding: 16px 8px;
  background-color: rgba(0, 0, 0, 0.6);
}


.fa_prod-carousel .slick-track{
  /*height: 680px;*/
}
.services-list{
  flex: 1 1 auto;
  margin-top: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px 20px 40px 40px;

}
h3.popup-cont__title{
  text-align: center;
  margin-top: 0;
  margin-bottom: 36px;
  font-family: 'Ristretto Slab Pro';
  color: #fff;
  font-weight: 400;
  font-size: 2rem;

}

.services-list ul{
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.services-list ul li{
  padding: 4px 0 4px 12px;
  position: relative;
  color: #FFF;
}

.services-list ul li:before{
  position: absolute;
  display: block;
  content: '';
  left: 0;
  top: 50%;
  margin-top: 1px;
  height: 2px;
  width: 6px;
  background-color: #fff;

}

.card-gallery .slick-slide{
  margin: 8px 0;
}
.card-gallery .slick-list{
  margin: 8px 0;
}
.card-gallery .slick-arrow{

  width: 15px;
height: 15px;
padding: 0;
cursor: pointer;
text-indent: -999em;
border: none;
  
border-left: 2px solid #f3b125;
background-color: transparent;

border-top: 2px solid #f3b125;
display: block !important;
margin-left: auto;
margin-right: auto;

}
.card-gallery .slick-arrow.slick-disabled{
  opacity: 0.5;
}

.card-gallery .slick-arrow.slick-prev{
  transform: rotate(45deg);
  margin-top: 3px;
}
.card-gallery .slick-arrow.slick-next{
  transform: rotate(-135deg);
  margin-bottom: 3px;
}

@media (max-width: 1699.98px) {  
  .popup-cont__inner{      
    grid-template-columns: 24% 74%; 
    grid-gap: 2%;     
  }
  .popup-cont .popup-cont__right{
    display: none;
  }
  .popup-gallery .fa_btn_large1{
    font-size: 1rem
  }
    
}
@media (max-width: 1399.98px) {
  .popup-gallery .popup-cont__right{
    display: none
  }
}
@media (max-width: 1199.98px) { 
  .popup-cont .fa_prod-carousel__body td{
    font-size: 0.8rem
  }
}
@media (max-width: 1023.98px) { 
  .popup-cont__left{
    order: 1;
  }
  .popup-cont__inner{      
    grid-template-columns: 100%;      
  }
  
}
@media (min-width: 480px) and (max-width: 1023.98px) {
  .card-gallery .slick-slide{
    margin: 0 8px;
  }
  .card-gallery .slick-arrow{
    position: absolute;
    top: 50%

  }
  .card-gallery{
    padding: 0 15px;
  }
  .card-gallery .slick-arrow.slick-prev{
   
    transform: rotate(-45deg);
    margin-top: 0;
    left: 3px;
  }
  .card-gallery .slick-arrow.slick-next{
    transform: translateY(-50%) rotate(135deg);
    margin-bottom: 0;
    right: 3px;
  }
}

@media (max-width: 575.98px){
  .popup-cont__left{
    padding: 20px;
  }
}



.close-dlg{
  position: absolute;
  right: 20px;
  top: 20px;
  background-color: #f3b125;
  color: #fff;
  width: 30px;
  height: 30px;
  line-height: 30px;
    text-align: center;
    font-size: 30px;
    cursor: pointer;
}

/*@media all and (min-width: 768px) {*/
 .popup-gallery  .fancybox-thumbs {
    top: 44px;
    width: 20%;
    bottom: 44px;
    left: 5%;
    right: auto;
    height: auto;
    padding: 40px 15px;
    box-sizing: border-box;  
    background: #2A2829;  
    z-index: 100000
    /*padding: 44px 0;*/
  }

  .fancybox-thumbs ul{
    
  }
  .popup-gallery .fancybox-thumbs > ul > li{
    width: calc(50% - 4px);
  }
  .popup-gallery .fancybox-thumbs > ul > li::before{
    border: none;
    background-color: rgba(255, 255, 255, .7)
  }
  
  .popup-gallery .fancybox-inner {
    
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;    
  }
  .popup-gallery .fancybox-slide{
    padding-left: calc(25% + 30px);
    padding-right: 5%;
  }
/*}*/



@media all and (min-width: 1400px) {
  .popup-gallery .fancybox-slide {
    padding-left: calc(20% + 30px);
    padding-right: calc(23% + 30px);
  }
  .popup-gallery  .fancybox-thumbs {
    width: 15%;
  }
}
@media all and (min-width: 1200px){
  .popup-gallery .fancybox-navigation .fancybox-button{
    visibility: visible !important;
  }
}

@media all and (max-width: 991.98px) {
  .popup-gallery h3.popup-cont__title{
    font-size: 1.5rem; 
  }
}
@media all and (max-width: 767.98px) {
  .popup-gallery h3.popup-cont__title{
    display: none
  }
  .popup-gallery .fancybox-thumbs > ul{
    overflow: hidden;
    display: flex;
  }
  .popup-gallery .fancybox-thumbs > ul > li{
    /*width: 100%;*/
    max-width: 100%;

    width: 100px;
    height: 75px;
    max-width: calc(50% - 4px);
    max-height: calc(100% - 8px);



  }
  .popup-gallery .fancybox-thumbs{
    padding: 10px 10px 5px 10px;
    right: 0;
    left: 0;
    top: auto;
    width: auto;
    height: 95px;
    

  }

}
@media all and (max-width: 479.98px) {
.popup-gallery .fancybox-slide {
  /*padding-left: calc(25% + 15px);*/
  padding-left: 5%;
  
}
.popup-gallery .fancybox-thumbs{
    padding: 15px 8px;
  }
  }

.popup-gallery .fancybox-button--thumbs{
  display: none !important;
}
.popup-gallery .fancybox-button--zoom{
  display: none !important;
}
.popup-gallery .fancybox-button--close{
   background-color: #f3b125;
  color: #fff;
  width: 30px;
  height: 30px;
  line-height: 30px;
    text-align: center;
    font-size: 30px;
    cursor: pointer;
    padding: 0 !important;
}
.popup-gallery .fancybox-button--close svg{
  width: 30px;
  height: 30px;
}

.popup-gallery .fancybox-navigation{
  /*display: none !important;*/
}
.popup-gallery .fancybox-toolbar{
  visibility: visible !important;
  opacity: 1 !important;
  top: 20px !important;
  right: 20px !important;
}
.popup-gallery .fancybox-infobar, .popup-gallery .fancybox-caption{
  display: none !important;
}

.popup-gallery .popup-cont__right{
  position: absolute;
  right: 5%;
  width: 18%;
  top: 44px;
  bottom: 44px;
  z-index: 100000;
}

.fa_card-wrapper { 
  width: 100%;
  max-width: 1400px; 
  padding: 30px 30px 10px;
  background-color: #fff;
  box-shadow: 0 0 9px rgba(0, 0, 0, 0.39); 
}

.aside{
    position: fixed;
    right: 0;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
    bottom: 120px;
    z-index: 50;
}
.aside_item{
    width: 67px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
  
}


@media (max-width: 767.98px) {

.aside{
    bottom: 0;
    width: 100%;
    flex-direction: row-reverse;
}
.aside_item:nth-child(1){
    display: none;
}
.aside_item{
    width: 50%;
    background-size: cover !important; 
    padding-bottom: 14%;
    height: auto;
}
.aside_item:nth-child(3){
    background-image: url(../images/aside_item-mobile1.jpg) !important;
}
.aside_item:nth-child(2){
    background-image: url(../images/aside_item-mobile2.jpg) !important;
  
}
.aside_item img{
    display: none;
}

}



   @media (min-width: 901px) {    

.aside {
display:none;
}
table.akciya_telo {
display:none;
}

} 



