.gal-item {
    padding-top: 7px;
    padding-bottom: 7px;
}

.gal {
    padding-bottom: 30px;
}
.policy{
    line-height: 1.2;
    font-weight: 100;
    font-style: italic;
}
.policy input{
    width: 20px;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}
.policy a{
    color: #f3c139;
    text-decoration: underline;
}
.policy a:hover{
    text-decoration: none;
}
.policy--modal{
    margin-top: 5px;
    margin-bottom: 15px;
}
.service-header__top,
.service-connection-all{
    background-color: #102856;
}
.service-logo:focus{
    text-decoration: none;
}
.img-cont {
    margin-bottom: 10px;
}
.panorama--home{
    padding-left: 0;
    padding-right: 0;
}
.revires-btn {
    width: 100%;
    font-family: "LatoBold", "Arial", sans-serif;
    font-size: 22px;
    line-height: 1;
    color: #fff;
    height: 42px;
    background: #ff0000;
    text-align: center;
    text-decoration: none;
    transition: all 100ms linear;
    border-radius: 5px;
    border: none;
    padding: 2px 8px;
    box-sizing: border-box;
    cursor: pointer;
    max-width: 200px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    transition: all 0.2s linear;
    margin: 50px auto 0;
}

.revires-btn:hover{
    opacity: .7;
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 480px){
  .service-map__link{
    background-image: url('/public/images/master-mobile.jpg');
    height: 214px;
  }
}

.services-home {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.services-home .usluga {
    width: 190px;
}

.box-slider {
    overflow: hidden;
}

@media (max-width: 1199px){
    .services-home .usluga{
        margin-bottom: 40px;
    }
}

.service-advantages--slider .service-advantages-block__images{
    width: auto;
    height: auto;
    margin-left: 12px;
    margin-right: 12px;
}
.service-advantages--slider{
    margin-top: 20px;
    margin-bottom: 80px;
}
@media screen and (min-width: 768px){
    .service-advantages--slider .service-advantages__list {
        justify-content: space-between;
    }

    .slide__info .service-title__text {
        font-size: 38px;
        line-height: 1.2;
    }
}

@media (max-width: 767px){
    .service-title{
        background: rgba(0,0,0, .8);
        background-image: none!important;
    }
}

.header-info {
    margin: 0;
    background-color: #FFC21F;
    color: #000;
    text-align: center;
    line-height: 1;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 16px;
    overflow: hidden;
   
}
.header-info__text {
     animation: text 30s infinite linear;
     white-space: nowrap;
}
@keyframes text {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(calc(-100% - 20px));
  }
}
.slide {
    position: relative;
    display: flex!important;
    align-items: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0, .5);
}

.slide__info {
    position: relative;
    z-index: 1;

}
.slide__title {
    color: #fff;
    text-transform: uppercase;
}

.slide__text {
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
    margin-top: 20px;
}
.slide__text b {
    font-weight: 700;
}

.slide__button {
    padding: 12px 24px;
    height: auto;
    display: inline-flex;
        width: auto;
    margin-top: 25px;
    font-size: 14px;
}

.slide__button:hover {
    color: #000;
    text-decoration: none;
}

.box-slider .slidesjs-pagination-item a {
    width: 22px;
    height: 22px;
}
.slidesjs-pagination {
    padding: 0;
}
@media screen and (min-width: 0) and (max-width: 767px){
    .slide__text {
        font-size: 14px;
    }
    .slide__info {
        width: 100%;
    }
}

.address-workroom {
    padding-top: 40px;
    padding-bottom: 40px;
    display: -ms-grid;
    display: grid;
    gap: 4%;
    grid-template-columns: repeat(auto-fill, minmax(280px, 48%));
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.address-workroom__image {
    height: 280px;
    border: 1px solid #eeeeee;
    margin-bottom: 20px;
}

.address-workroom__image > img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}
.address-workroom__text {
   font-size: 16px;
   color: #323740;    
}
.address-workroom__phone {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 10px;
}
.address-workroom__phone>.glyphicon{
    color: #FFC504;
    font-size: 16px;
        padding-top: 4px;
}
.address-workroom__phone a {
    color: #112C99; 
    border-bottom-color: #112C99;    
    font-size: 16px;
}
