@media (min-width: 768px) {
    .hidden-md{
        display: none !important;
    }
}
@media (max-width: 767px) {
    .hidden-sm{
        display: none !important;
    }
}
@media (max-width: 425px) {
    .card{
        padding-bottom: 20px;
    }
    .card img{
        max-width: 100%;
        width: 100%;
    }
}

.img-fluid{
    max-width: 100%;
}

.header.with-sticked-article .sticked-article:after {
    border-color: #fff;
}
.header.with-sticked-article.sticky nav {
    margin-top: -17px;
}
.header.with-sticked-article.sticky nav li {
    padding-top: 5px;
    padding-bottom: 5px;
}
.header.with-sticked-article.sticky .sticked-article:after {
    border-color: #eb212e;
}
.header.with-sticked-article.sticky .sticked-article {
    top: -16px;
    padding: 2px 20px;
}
.sticked-article-wrapper{
    position: relative;
}
.sticked-article{
    position: absolute;
    display: inline-block;
    padding: 6px 20px;
    margin-top: 8px;
    top: 100%;
    left: 0;
}
.sticked-article a{
    color: #fff;
}
.beauty-header .header.with-sticked-article.sticky .sticked-article:after {

}
.sticked-article:after{
    background: #eb212e;
    border: 3px solid #eb212e;
    -webkit-transform: skewX(13deg);
    -ms-transform: skewX(13deg);
    -moz-transform: skewX(13deg);
    transform: skewX(13deg);
    transition: .3s;
    content: "";
    position: absolute;
    z-index: -1;
    top: -2px;
    bottom: -2px;
    left: -2px;
    width: 100%;
    border-radius: 7px;
}
.sticked-article-wrapper.inner .sticked-article{
    position: relative;
}
.sticked-article-wrapper.inner .sticked-article:after{
    border-color: #eb212e;
}

.avto {
    list-style: none; /* Убираем исходные маркеры */
    background: url(../images/icon/avto.png) no-repeat 0 4px; /* Параметры фона */
    padding-left: 24px; /* Смещаем текст вправо */ 
}

.card-team--person{
    display: flex;
}
.card-team--person-info{
    width: 100%;
    max-width: 270px;
    margin-top: 10px;
    margin-left: auto;
}


.card-team--person-info .fio{
    padding: 0;
}

.modal-action-open{
    position: fixed;
    z-index: 999;
    bottom: 85px;
    right: 50px;
    cursor: pointer;
}

.modal-action{
    position: fixed;
    background: #000000d1;
    width: 100%;
    height: 100%;
    z-index: 9999;
    /* margin: auto; */
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease;
}

.modal-action.active{
    visibility: visible;
    opacity: 1;
}
.modal-action-open::before {
    content: '';
    position: absolute;
    border: 1px solid #d73a38;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: pulse 1.8s linear infinite;
   }  
   
   .modal-action-open::after {
    content: '';
    position: absolute;
    border: 1px solid #d73a38;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    -webkit-animation-delay: .5s;
    -moz-animation-delay: .5s;
    -o-animation-delay: .5s;
    animation: pulse 1.8s linear infinite;
   }  
   
   @keyframes pulse {
    0% {
     transform: scale(0.5);
     opacity: 0;
    }
    50% {
     opacity: 1;
    }
    100% {
     transform: scale(1.2);
     opacity: 0;
    }
   }    

   .modal-action-open::after {
    animation-delay: .5s;
   }    

   .how-we-work--wrap .row.icon-set{
       margin-bottom: 60px;
   }

   .how-we-work--wrap .list.list-alt{
       display: flex;
       justify-content: space-between;
   }

   .list-item--wrap{
       display: flex;
       flex-direction: column;
   }

   .list-item--wrap .item.icons::after, .list-item--wrap:last-child .item::after{
    display: none;
   }

   .list-item--wrap .item.icons{
    height: auto;
}



@media (max-width: 1075px) {
    .how-we-work--wrap .list.list-alt{
        flex-wrap: wrap;
    }

    .how-we-work--wrap .list.list-alt{
        justify-content: center;
    }
    .how-we-work--bottom-btn{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .how-we-work--title{
        text-align: center;
    }
}

.modal-action--desctop{
      display: flex;
}

.modal-action--mobile{
      display: none;
}
.modal-action.active{
      overflow: scroll;
}
.modal-action--desctop, .modal-action--mobile{
    flex-direction: column;
}

@media (max-width: 767px) {

      .modal-action--desctop{
            display: none;
      }

      .modal-action--mobile{
            padding: 20px;
            display: flex;
      }

      

    .modal-action img{
        width: 100%;
    }
   .modal-action-open{
        width: 80px;
        height: 80px;
        bottom: 110px;
        right: 20px;
   } 
   .modal-action-open img{
         width: 100%;
   }

   .text-styles.responsive{
      width: 100%!important;
      margin-left: 0!important;
}

.text-styles.responsive .form{
      width: 100%;
}

.text-styles img{
      width: 100%!important;
      height: auto!important;
}
}
@media (max-width: 445px) {
    .list-item--wrap .item::after{
        display: none!important;
    }

    .list-item--wrap .item{
        width: 100%!important;
        margin-right: 0!important;
    }
}

@media only screen and (max-width: 1080px) {
  #css-toggle-menu + ul a.dropdown-toggle {
    pointer-events: none;
  }
}

@media screen and (max-width: 768px) {
    .content {
        padding: 0 16px;
    }
    .content * {
        box-sizing: border-box;
    }
    .text-styles.responsive .form {
        padding: 12px;
    }
    .form label, .form h2 {
        margin-top: 0;
        margin-bottom: 0;
    }

    .wall .wall-content > p {
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
  .content {
    padding: 0 8px;
  }
}