html::before {
  content: ' ';
  display: block;
  background-position: center;
  background-size: cover;
  height: 100vh;
  width: 100vw;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  z-index: -10;
}

body{
    background-image:url(../img/bgg.png);
    background-size: 100%;
    background-attachment: fixed;
}
/*  Header  */
@media (min-width:1099px){
    header{
        display: block;
        position: fixed;
        top: 0;
        left: 3.2%;
        width: 23%;
        z-index: 1;
        background-image: url(../img/hdr.png);
        background-size: 100%;
        margin-left: 4.4%;
        float: left;
        overflow: hidden;
    }
 .logo{
        margin-top: 5%;
        width: 30%;
        position: fixed;
        z-index: 2;
        
    }

    header nav ul{
        display: block;
        overflow: hidden;
        margin-top: 400px;
        list-style: none;
    }

    header nav ul li{
        display: block;
        margin-bottom: 30px;
        text-align: center;
    }

    header nav ul li a{
        
        color: white;
        font-family: "raleway-regular", arial;
        font-size: 20px;
        text-decoration: none;
        letter-spacing: 1px;
        
    }

    header nav ul li a:hover,
    header nav ul li a.selected{
        color: gold;
    }
    .main .work{
        margin-top: 2%;
        margin-left: 2%;
    }
    #menu_icon,
    .close_menu{
        display: none;
    }
}
#menu_icon,
.close_menu{
    float: right;
    margin-right: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: url('../img/men_icons.png') no-repeat;
}
#menu_icon{    
    background-position: 0 0;
}
.close_menu{
    background-position: -41px 0!important;
}
/*  Main  */
.main{
    width: 100%;
    height: 100%;
    padding-left: 37.5%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    clear: both;
}

.c1{
    width: 94%;
    margin-left: 3%;
    margin-right: 3%;
    margin-top: 5%;
}

/*  Home/portfolio  */
.main .work{
    
    display: block;
    width: 90%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
    background-image: url(../img/mbg.png);
    background-size: 100%;
    margin: 0 0 0 0;
}

.main .work .media{
    width: 100%;
    vertical-align: middle;
}
/*  Inner Page  */
.top{
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: block;
    position: relative;
    background: url('../img/hero_image.jpg') no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: 50% 50%;
}

.work_nav{
    display: block;
    width: 100%;
}

.work_nav .btn{
    float: right;
}

.work_nav ul{
    list-style: none;
}

.work_nav ul li{
    display: block;
    float: left;
    margin: 0 0 1px 1px;
    position: relative;
}

.work_nav a{
    display: block;
    width: 40px;
    height: 40px;
    background: url('../img/p_navigation.png') no-repeat;
    background-position: 0 0;
}

.work_nav a.previous{
    background-position: 0 0;
}

.work_nav a.grid{
    background-position: -41px 0;
}

.work_nav a.next{
    background-position: -82px 0;
}

.top .title{
    display: block;
    width: 100%;color: #4b4848;
    font-family: "raleway-bold", arial;
    font-size: 26px;
    font-weight: bold;
    background: rgba(255, 255, 255, .7);
    padding: 20px;
    text-transform: uppercase;
    line-height: 30px;
    margin: 0!important;
    overflow: hidden;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

}
/*  Responsive code  */
@media (max-width:1099px){

    header{
        display: block;
        width: 100%;
        min-height: 50px;
        padding: 0;
        position: relative;
    }
    body .logo{
        margin-top: 3%;
        margin-left: 30%;
        width: 30%;
        float: left;
    }
    header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        
        margin: 5% 5% 0 0;
    }
    
    header nav{
        width: 100%;
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 9999;
    }

    header nav ul{
        list-style: none;
        display: none;
        position: relative;
    }
    header nav ul li a{
        display: block;
        width: 100%;
        padding: 30px 0;
        text-align: center;
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        border-top: 1px solid #f7f5f5;
        background: #fff;
    }
    header nav ul li a:active{
        background: #f7f5f5;
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }

    .main .work{
        width: 100%;
        margin-top: 10%;
        
    }
    .main{
        width: 100%;
        position: relative;
        padding-left:0;
        margin: 0 0 0 0;
    }
}
