/* ------------------------------- */
/* Логотип, меню, контакты         */
/*-------------------------------- */

.b1t-ymservice-custom-footer .footer-block-1 {
    background: #2c363e;
    min-height: 50px;
    padding: 40px 0px;
}

.b1t-ymservice-custom-footer .footer-block-1 .logo {
    max-width: 260px;
}

.b1t-ymservice-custom-footer .footer-block-1 .logo img {
    max-width: 100%;
    height: auto;
} 

.b1t-ymservice-custom-footer .footer-block-1 .logo .logo-2x {
    display: none;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
    only screen and (-o-min-device-pixel-ratio: 3/2),
    only screen and (min--moz-device-pixel-ratio: 1.5),
    only screen and (min-device-pixel-ratio: 1.5) {
        
        .b1t-ymservice-custom-footer .footer-block-1 .logo .logo-1x {
            display: none;
        }
        
        .b1t-ymservice-custom-footer .footer-block-1 .logo .logo-2x {
            display: inline;
        }
}

.b1t-ymservice-custom-footer .footer-block-1 .logo a,
.b1t-ymservice-custom-footer .footer-block-1 .logo a:focus,
.b1t-ymservice-custom-footer .footer-block-1 .logo a:hover{
    border-bottom: none;
}

.b1t-ymservice-custom-footer .footer-block-1 .about {
    font-size: 13px;
    margin-top:15px;
    line-height: 1.5;
    color: #dbdbdb;
}

.b1t-ymservice-custom-footer .footer-block-1 #bx-composite-banner {
    margin-top:15px;
}

.b1t-ymservice-custom-footer .footer-block-1 #bx-composite-banner a,
.b1t-ymservice-custom-footer .footer-block-1 #bx-composite-banner a:focus,
.b1t-ymservice-custom-footer .footer-block-1 #bx-composite-banner a:hover{
    border-bottom: none;
}

@media only screen and (max-width: 767px) {
    .b1t-ymservice-custom-footer .footer-block-1 {
        padding: 20px 0px;
    }
    
}

/* ------------------------------- */
/* Мобильное меню                  */
/*-------------------------------- */

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile {
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile .sub-menu-btn {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #4b5c69;
    padding: 12px 10px 10px;
    cursor: pointer;
    position: relative;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile.open .sub-menu-btn {
    -webkit-border-radius: 2px 2px 0 0;
    -moz-border-radius: 2px 2px 0 0;
    border-radius: 2px 2px 0 0;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile .smb {
    position: absolute;
    padding: 18px 15px;
    cursor: pointer;
    top:0px;
    right: 0px;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile .smb .layer {
  display: block;
  width: 17px;
  height: 2px;
  background: #fff;
  position: relative;
  animation-duration: 300ms;
  animation-timing-function: ease-in-out;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile .smb .layer:before, 
.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile .smb .layer:after {
  display: block;
  width: inherit;
  height: 2px;
  position: absolute;
  background: inherit;
  left: 0;
  content: '';
  animation-duration: 300ms;
  animation-timing-function: ease-in-out;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile .smb .layer:before {
  bottom: 300%;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile .smb .layer:after {
  top: 300%;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile a {
    border-bottom: none;
}
 
.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile a:hover,
.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile a:focus{
    border-bottom: none;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile ul.level-1 {
    background-color: #627685;
    
    margin: 0;
    padding: 0;
    border: 0;
    
    display: none;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile li:before {
    display: none;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile ul.level-1,
.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile ul.level-1 li.level-1:last-child {         
    -webkit-border-radius: 0 0 2px 2px;
    -moz-border-radius: 0 0 2px 2px;
    border-radius: 0 0 2px 2px;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile.open ul.level-1 {
    display: block;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile li.level-1{
    cursor: pointer;
    border-bottom: 1px solid #526370;
    position: relative;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile li.level-1 .text {
    height: 38px;
    padding: 0px 10px;
    position: relative;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile li.level-1 .text table {
    width:100%;
    height:100%;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile li.level-1 .text table tr td, 
.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile li.level-1 .text table tr td a {
    vertical-align: middle;
    color: #fff;
    text-decoration: none;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile li.level-1 .text .tail {
    position: absolute;
    width: 20px;
    height: 20px;
    
    top: 50%;
    margin-top: -10px;
    right: 13px;
    
    cursor: pointer;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile li.level-1 .text .tail:before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #ebedef transparent transparent transparent;
    content: " ";
    display: block;
    
    position: absolute;
    top: 50%;
    margin-top: -2px;
    left: 50%;
    margin-left: -5px;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile li.level-1.open .text .tail:before{
    border-width: 0 5px 5px 5px;
    border-color: transparent transparent #ebedef transparent;
    margin-top: -3px;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile li.level-1 ul.level-2 {
    display: none;
    margin: 0;
    padding: 0px 0px 0px 15px;
}


.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile li.level-1.open ul.level-2 {
    display: block;
}

.b1t-ymservice-custom-footer .footer-block-1 .footer-menu-mobile li.level-2{
    cursor: pointer;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/* ------------------------------- */
/* Социальные ссылки               */
/*-------------------------------- */

.b1t-ymservice-custom-footer .footer-block-1 .social-links a,
.b1t-ymservice-custom-footer .footer-block-1 .social-links a:hover,
.b1t-ymservice-custom-footer .footer-block-1 .social-links a:focus{
    text-decoration: none;
    border-bottom: none;
}
.b1t-ymservice-custom-footer .footer-block-1 .social-links {
    margin-top: 30px;
    padding-left: 34px;
}

@media only screen and (max-width: 1199px) {
    .b1t-ymservice-custom-footer .footer-block-1 .social-links {
         padding-left: 0px;
    }
}

@media only screen and (max-width: 991px) {
    .b1t-ymservice-custom-footer .footer-block-1 .social-links {
         text-align: center;
    }
}

@media only screen and (max-width: 767px) {
    .b1t-ymservice-custom-footer .footer-block-1 .social-links {
        margin-top: 20px;
    }
}



/* ------------------------------- */
/* Бренды                          */
/*-------------------------------- */

.b1t-ymservice-custom-footer .footer-block-2 {
    background: #f3f4f5;
}


/* ------------------------------- */
/* Копирайт                        */
/*-------------------------------- */

.b1t-ymservice-custom-footer .footer-block-3 {
    background: #1c2226;
    text-align: center;
    font-size: 12px;
    line-height: 24px;
    padding: 13px 0px;
    font-weight:300;
}

.b1t-ymservice-custom-footer .footer-block-3 .copyright,
.b1t-ymservice-custom-footer .footer-block-3 .repair{
    opacity: 0.51;
}

.b1t-ymservice-custom-footer .footer-block-3 .copyright:after {
    content: " -";
}

.b1t-ymservice-custom-footer .footer-block-3 .notice{
    opacity: 0.41;
    margin: 0px -15px;
}


@media only screen and (max-width: 1199px) {
    .b1t-ymservice-custom-footer .footer-block-3 .notice {
        display: none;
    }
}


@media only screen and (max-width: 767px) {
    
    .b1t-ymservice-custom-footer .footer-block-3 {
        line-height: 18px;
    }
    
    .b1t-ymservice-custom-footer .footer-block-3 .copyright {
        display: block;
    }
    
    .b1t-ymservice-custom-footer .footer-block-3 .copyright:after {
        display: none;
    }
}


/* ------------------------------- */
/* Разработчики                    */
/*-------------------------------- */


.b1t-ymservice-custom-footer .footer-block-1 .developers {
    font-size: 12px;
    opacity: 0.7;
    font-weight: 300;
}

.b1t-ymservice-custom-footer .footer-block-1 .developers,
.b1t-ymservice-custom-footer .footer-block-1 .developers a {
    color: #fff;
}
.b1t-ymservice-custom-footer .footer-block-1 .developers a {
    border-bottom-color: #fff;
}
/*
.b1t-ymservice-custom-footer .footer-block-1 .developers a {
    color: #c2c6c7;
    border-bottom-color: #c2c6c7;
    font-weight: 300;
}*/

@media only screen and (min-width: 1200px) {
    .b1t-ymservice-custom-footer .footer-block-1 .developers {
        position: absolute;
        bottom: 0px;
        left: 15px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {                                                  

    .b1t-ymservice-custom-footer .footer-block-1 .developers {
        position: absolute;
        bottom: 0px;
        right: 15px;
    }
        
}

/*//////////*/
.b1t-ymservice-custom-footer .footer-block-3{
    background: #2c363e;
}
.spu_container{
    line-height: normal;
    padding-top: 15px;
    display: flex;
    justify-content: center;
}
@media (max-width: 1024px){
    .spu_container{
        padding-bottom: 85px;
    }
}
.spu_container .spu_link{
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.51);
    transition: all .5s;
    border: 1px solid transparent;
    text-decoration: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    cursor: pointer;
}
.spu_link .logo{
    width: 68px;
    height: 18px;
    -webkit-mask-image:  url('/bitrix/templates/ymservice/images/logo-spu.svg');
    mask-image:  url('/bitrix/templates/ymservice/images/logo-spu.svg');
    background-size: contain;
    background-color: #fff;
    -webkit-mask-repeat: no-repeat;
    margin-top: -4px;
}
.spu_container .spu_link:hover {
    border-bottom: 1px solid rgba(255,255,255,0.51);
}