@media screen and (min-width : 1400px){
    #menu-sub-menu{
        display: flex !important;
        padding: 0 10px !important;
    }
    #menu-sub-menu > li{
        width: 100%;
        flex-wrap: wrap !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: .97em;
    }
}
@media screen and (max-width : 780px){
    .left-page{
        margin-right: 0 !important;
    }
    .main-content-wraper{
        padding-top: 100px;
    }
     #header .middle-head .logo{
         padding: 0 20px;
         text-align: center;
     }
     #header .middle-head .logo img{
         height: auto;
     }
     #header .contact{
         padding: 5px 0 0;
         text-align: center;
     }
     #header .contact span{
         padding: 0 10px;
     }
     #header .middle-head .menu{
         text-align: center;
         float: none;
     }
     #header .middle-head .menu li{
         display: inline-block;
     }
     #header .bottom-head{
         display: none;
     }
     footer .about, footer .tags{
         padding: 0 20px;
     }
     .home .main-content-wraper{
         margin-bottom: 0;
     }
     .home-slide > div{
         margin: 0 !important;
     }
     .mobile-project-cats a{
         background: #444;
         margin: 2px;
         color: #FFF;
         text-transform: uppercase;
         font-size: .9em;
         font-family: "Roboto Slab", serif;
         padding: 10px;
     }
     #responsive-menu-button{
         top: 96px !important;
         left: 0 !important;
     }
    .affix,.sidebar-affix {
        position: static !important;
        width: 100% !important;
    }
    .single .main-content-wraper, .main-content-wraper.tap-chi{
        padding-top: 150px !important;
    }
    .tap-chi .post-item{
        margin: 0 15px 15px;
    }
}

.layout{
    overflow: hidden;
}
.du-an-archive .project-cat-mobile{
    width: calc(50% - 20px);
    overflow: hidden;
    float: left;
    position: relative;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    margin: 10px;
    box-sizing: border-box;
}
.du-an-archive .project-cat-mobile a{
    display: block;
    height: 100%;
    width: 100%;
}
.du-an-archive .project-cat-mobile img{
    width: 100%;
    height: auto;
}
.du-an-archive .project-cat-mobile h3{
    width: calc(100% - 20px);
    margin: 4px auto;
    position: absolute;
    left: 10px;
    top: 10px;
    right: 10px;
    bottom: 10px;
    text-align: center;
    margin: 0;
    background: rgba(255, 255, 255, 0.45);
    color: #111;
    font-family: "Roboto Slab";
    font-weight: 700;
    padding-top: 30%;
    text-transform: uppercase;
}
.du-an-archive .project-cat-mobile a:hover h3{
    background: #fa8e00;
    color: #FFF;
}