@media screen and (max-width: 768px) {
    .content {
        padding: 40% 0 0;
    }
    .carousel-caption,
    .carousel-indicators {
        bottom: 0;
    }
    .home-lead {
        padding: 5px 7px;
        font-size: 14px;
    }
    #tf-home {
        padding-top: 100px;
        background-color: #5a5a5a;
    }
}

@media screen and (max-width: 603px) {
    #tf-menu.navbar-default {
        background-color: rgba(0, 0, 0, 0.79);
    }
    #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%;
    }
    .home-heading {
        font-size: 50px;
    }

}

@media screen and (max-width: 360px) {
    .hover-bg .hover-text {
        padding: 22% 10%;
    }
}

/* Mohamed Ashraf */

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    overflow: hidden;
    z-index: 100;
    /* background-color:rgba(0,0,0,0.95); */
    margin-top: 5px;
    overflow: scroll;
}

.navbar-nav {
    text-align: center;
}

.intro-content {
    display: table;
    height: 100%;
    text-align: center;
    width: 100%;
}

.intro-content-inner {
    display: table-cell;
    height: 100%;
    vertical-align: bottom;
    padding-bottom: 150px;
}

@media screen and (max-width: 736px) {
    div#tf-home .overlay {
        background: none;
        display: table;
        height: 100%;
        width: 100%;
    }
    .gen-heading {
        font-size: 18px;
        color: #fff;
    }
    .intro-content-inner {
        padding-bottom: 0;
        padding: 37px 0;
    }
}

