@media (max-width: 1024px) {
    #tf-menu .container {
        width: 100%;
    }
    #tf-menu.navbar-default .navbar-nav > li > a {
        padding: 5px;
    }
    #tf-home {
        background-position: 66% bottom;
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 40% 0 0;
    }
    
    #lightbox {
        margin-left: 15px;
    }
    #tf-home {
        background-position: 66% center;
        background-attachment: scroll;
        
    }
    
}

@media (max-width: 603px) {
    #tf-works li.pull-right,
    #tf-works li.pull-left {
        margin-top: 10px;
        float: none !important;
        text-align: center;
        display: block;
    }
    label {
        float: none !important
    }
    .pull-left.fnav,
    .pull-right.fnav {
        float: none !important;
        text-align: center;
    }

    .hover-bg .hover-text {
        padding: 12% 10%;
    }
    
    #tf-home {
        background-position: 66% center;
        background-attachment: scroll;
        
    }
    a.fa.fa-angle-down {margin-top: 60px;}
    
    #tf-home .content h1{
        margin-top: 300px;
    }
    #tf-home .content h1, #tf-home .content p.lead {
        margin-left: 10px
    }
    
    #lightbox {
        margin-left: 20px;
    }
    
    iframe {
            width: 300px;
            height: 168px;
    }
}

@media (max-width: 360px) {
    .hover-bg .hover-text {
        padding: 22% 10%;
    }
    #tf-home {
        background-position: 66% top;
        background-attachment: scroll;
        
    }
}
