.link-app {
    width: 165px;
    height: 49px;
    background-image: url(../img/logos/google_play_logo.png);
    background-size: 165px 49px;
    border-radius: 5px;
    border: 0;
    background-color: transparent;
}

.link-app_ios {
    width: 165px;
    height: 49px;
    background-image: url(../img/logos/app-store.png);
    background-size: 165px 49px;
    border-radius: 5px;
    border: 0;
    background-color: transparent;
}

.fsslogo{
    height: 80px;
    transition: height .3s;
}
#brand-name::before{
    content: "ФОНД СОЦИАЛЬНОГО СТРАХОВАНИЯ";
    display: block;
}
#brand-name::after{
    content: "российской федерации";
}

#mainNav {
    padding: 1.5rem 1rem;
    border-color: white;
    background-color: white;
}

#mainNav .navbar-brand {
    margin-left: 1rem;
    color: rgba(0,0,0,.6);
    font-size: 1.15rem;
}

#mainNav .navbar-nav>li.nav-item>a.nav-link, #mainNav .navbar-nav>li.nav-item>a.nav-link:focus {
    color:  rgba(0,0,0,.7);
}

#mainNav.navbar-shrink .navbar-brand {
    color: rgba(0,0,0,.7);
}
#mainNav.navbar-shrink .navbar-nav>li.nav-item>a.nav-link, #mainNav .navbar-nav>li.nav-item>a.nav-link:focus {
    color:  rgba(0,0,0,.7);
}

#mainNav.navbar-shrink {
    padding: .5rem 1rem;
    border-bottom: 1px solid rgba(33,37,41,.1);
    background-color: rgba(255, 255, 255, 0.75);
    transition: padding .3s;
}

#mainNav.navbar-shrink > div > img{
    height: 40px;
    transition: height .3s;
}

#mainNav.navbar-shrink #brand-name::before{
    content: "";
}

#mainNav.navbar-shrink #brand-name::after{
    content: "ФСС РФ";
}

#vk-link{
    background-position: -140px -47px;
}

#vk-link:hover{
    background-position: -140px -3px;
}
.social-links{
    padding: 0!important;
    margin: 2px;
    border-radius: 5px;
    background-image: url(../img/logos/social_net.png);
    height: 30px;
    width: 30px;
}
#facebook-link{
    background-position: -3px -47px;
}
#facebook-link:hover{
    background-position: -3px -3px;
}
#twitter-link{
    background-position: -48px -47px;
}
#twitter-link:hover{
    background-position: -48px -3px;
}
#ok-link{
    background-position: -186px -47px;
}
#ok-link:hover{
    background-position: -186px -3px;
}

header.masthead {
    height: 50vh;
    background-size: contain;
    background-repeat: no-repeat;
}

#services{
    padding: 5rem 0;
}
#services > div{
    margin-top: -25px;margin-bottom: 50px;
}

#issues p {
    color: white;
    margin-bottom: 0;
}

#issues .issue:hover{
    cursor: pointer;
}


#issues .issue{
    animation-name: slidein;
    animation-iteration-count: infinite;
    animation-duration: 7s;
}

#issues #issue-1{
    
    animation-delay: 3s
}
#issues #issue-2{
    animation-delay: 6s;
}
#issues #issue-3{
    animation-delay: 5s;
}
#issues #issue-4{
    animation-delay: 7s;
}
#issues #issue-5{
    animation-delay: 9s;
}
#issues #issue-6{
    animation-delay: 4s;
}
#issues #issue-7{
    animation-delay: 8s;
}
  
@keyframes slidein {
    0%   { transform: scale(1.0) }
    25% { transform: scale(1.2) }
    50%   { transform: scale(1.0) }
    100%   { transform: scale(1.0) }
}


.sr-icons{
    height: 100px;
    margin-bottom: 16px;
}
.sr-icons:hover{
    cursor: pointer;
    transform: scale(1.2)!important;
}

#slide-phone{
    color: white;
    background-image: url(../img/map.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 4rem 0;
}

#slide-phone hr {
    border-color: white;
}

.phone-in-slide img{
    height: 451px;
    padding-top: 50px;
    margin-left: 14px;
    width: 225px;
}

.slick-initialized .slick-slide {
    display: flex;
}


.phone-in-slide{
    background: url(../img/phone.png);
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: 100px;
    width: 250px;
    height: 500px;
}

.your-class li{
    margin-bottom: 15px;
}

.slick-dots li button:before, .slick-dots li.slick-active button:before {
    color: white
}

.slick-prev {
    left: -70px;
}
.slick-next {
    right: -70px;
}

.slick-prev, .slick-next {
    width: 45px;
    height: 45px;
}

.slick-prev:before, .slick-next:before {
    font-size: 45px;
}

.copyright:before{
    content: "Фонд социального страхования Российской Федерации "
}
.copyright:after{
    content: " 2018. Все права защищены."
}

.footer-fss{
    height: 275px; background-image: url(../img/footer.jpg?v=2.0); background-size: cover; background-position: center; margin-top: 2rem;
}

.footer-link{
    display: block;
    text-decoration: none;
    color: lightgray;
}
.footer-link:hover{
    text-decoration: none;
    color: white;
}

#footer-section{
    padding: 2rem 0;
}

.left-line { 
    border-left: 2px solid lightgray;
}

@media (min-width: 240px) and (max-width: 992px) { 
   .navbar-nav {
       flex-direction: row;
   }
   #mainNav > div > img{
        height: 40px;
        transition: height .3s;
    }

    #mainNav #brand-name::before{
        content: "";
        display: none;
    }

    #mainNav #brand-name::after{
        content: "ФСС РФ";
    }

    header.masthead h1, header.masthead p {
        text-align: center;
    }

    #issues, #slide-phone{
        display: none;
    }
    hr{
        max-width: 100%;
    }

    header.masthead {
        background: none;
        padding-bottom: 0;
        height: auto;
    }

    .left-line {
        border-left: 0;
        text-align: center!important;
    }
    .left-line::before {
        content: " ";
        display: block;
        border-top: 2px solid rgb(100, 100, 100);
        max-width: 300px;
        margin: auto;
    }
    .footer-link {
        padding: 10px 0;
        width: 300px;
        margin: auto;
        text-align: left;
    }
    .footer-fss{
        height: 150px;
    }
    #services{
        padding-bottom: 0;


    }
    #services > div{
        margin-bottom: 0;
    }

    .copyright:before{
        content: "ФСС РФ "
    }
    .copyright:after{
        content: " 2018. Все права защищены."
    }
}