/*
    - Fonts
    - General CSS
    - Header
    - Home/portfolio 
    - Inner page 
    - Map/Contact page  
    - Tooltip 
    - Responsive code    
*/


/*  Fonts  */
@font-face {
    font-family: 'raleway-regular';
    src: url('../fonts/raleway-regular.eot');
    src: url('../fonts/raleway-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-regular.woff') format('woff'),
         url('../fonts/raleway-regular.ttf') format('truetype'),
         url('../fonts/raleway-regular.svg#ralewayregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'raleway-bold';
    src: url('../fonts/raleway-bold.eot');
    src: url('../fonts/raleway-bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-bold.woff') format('woff'),
         url('../fonts/raleway-bold.ttf') format('truetype'),
         url('../fonts/raleway-bold.svg#ralewaybold') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'raleway-semibold';
    src: url('../fonts/raleway-semibold.eot');
    src: url('../fonts/raleway-semibold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-semibold.woff') format('woff'),
         url('../fonts/raleway-semibold.ttf') format('truetype'),
         url('../fonts/raleway-semibold.svg#ralewaysemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}



/*  General CSS*/
body{
    background: #fff;
	background-image: url(../img/bkgr.png);
}

.wrapper{
    width: 92.72727272727273%;
    margin: 0 auto;
}

header ul.social li a,
.main .work a .caption,
header nav ul li a{
    transition:all .1s linear;
    -webkit-transition:all .1s linear;
    -moz-transition:all .1s linear;
    -o-transition:all .1s linear;
}

h1, h2, h3, h4, h5 ,h6{
    color: #4b4848;
    font-family: "raleway-regular", arial;
    letter-spacing: 1px;
}

h1              { font-size: 2em; margin: .67em 0 }
h2              { font-size: 1.5em; margin: .75em 0 }
h3              { font-size: 1.17em; margin: .83em 0 }
h5              { font-size: .83em; margin: 1.5em 0 }
h6              { font-size: .75em; margin: 1.67em 0 }
h1, h2, h3, h4, h5, h6  { font-weight: bolder }

.clearfix:before,  
.clearfix:after {  
    content: " ";  
    display: table;  
}  
.clearfix:after {  
    clear: both;  
}  
 
.clearfix {  
    *zoom: 1;  
}

/*  Header  */
@media (min-width:950px){
    header{
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 250px;
	min-height: 100%;
	padding-top: 0;
	padding-right: 0;
	padding-left: 27px;
	padding-bottom: 0;
	background: #ffffff;
	float: left;
	overflow: hidden;
	z-index: 100;
    }

    header .logo{
	margin-top: 100px;
	max-width: 210px;
    }

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

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

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

    header nav ul li a:hover{
		color: #3366cc;
	}
    header nav ul li a.selected{
        color: #3366cc;
		font-weight: bold;
    }

    header .footer{
	position: absolute;
	bottom: 50px;
    }

    header ul.social{
        list-style: none;
        margin-bottom: 5px;
    }

    header ul.social li{
	display: block;
	float: left;
	position: relative;
	margin-top: 0;
	margin-right: 5px;
	margin-left: 8px;
	margin-bottom: 10px;
    }


    header ul.social li a{
        display: block;
        width: 30px;
        height: 30px;
        background: url('../img/sm.png') no-repeat;
        background-position: 0 0;
    }


    header ul.social li a:hover{
        background: url('../img/sm_hover.png') no-repeat;
    }



    header ul.social li a.fb,
    header ul.social li a.fb:hover{
        background-position: 0 0;
    }


    header ul.social li a.behance,
    header ul.social li a.behance:hover{
        background-position: -31px 0;
    }

    header ul.social li a.vimeo,
    header ul.social li a.vimeo:hover{
        background-position: -62px 0;
    }

    header ul.social li a.twitter,
    header ul.social li a.twitter:hover{
        background-position: -93px 0;
    }

    header ul.social li a.linkedin,
    header ul.social li a.linkedin:hover{
        background-position: -124px 0;
    }

    header ul.social li a.instagram,
    header ul.social li a.instagram:hover{
        background-position: -155px 0;
    }

    header .rights p{
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
    }

    header .rights a{
        font-family: "raleway-bold", arial;
        font-weight: bold;
        text-decoration: none;
    }
    #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: 277px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: absolute;
	z-index: 55;
	background: clear;
	clear: both;
	padding-top: 20px;
	text-align:center;
}
.mainhome{
	width: 100%;
	height: 100%;
	padding-left: 277px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: absolute;
	z-index: 55;
	background: clear;
	clear: both;
	text-align:center;
}

/*  Home/portfolio  */
.main .work{
    display: block;
    width: 50%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
}

.main .work .media{
    width: 100%;
    vertical-align: middle;
}





/*  Inner Page  */
.top{
	width: 100%;
	height: 350px;
	overflow: visible;
	display: block;
	position: relative;
	background-repeat: no-repeat;
	background-image: url(../img/hero_image.png);
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-position: 50% 50%;
}
.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: 10px;
	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;
	text-align: left;
}

.content_header{
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 50%;
    margin-left: -46.36363636363637%;
}

.content{
	color: #4b4848;
	font-family: "raleway-regular", arial;
	font-size: 15px;
	line-height: 22px;
	padding-top: 30px;
	padding-right: 30px;
	padding-left: 30px;
	padding-bottom: 60px;
	background: #fff;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.quote{
	margin-left: 30px;
	margin-right: 30px;
	margin-bottom: 30px;
}

.content p{
	color: #4b4848;
	font-family: "raleway-regular", arial;
	font-size: 15px;
	line-height: 24px;
	margin-bottom: 30px;
	font-style: normal;
	text-align: left;
}
.content a.text{
	text-decoration:underline;
}
.content a.text:hover{
	color:#176DB5;
	font-weight: bold;
	text-decoration:none;
}
	
	

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6{
    color: #4b4848;
    font-family: "raleway-semibold", arial;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 30px;

}
.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: 30px;
    height: 30px;
    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: -31px 0;
}

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


/*  Tooltip  */
.tooltip{
    display: block;
    padding: 7px 10px;
    background: #454545;
    color: #fff;
    font-family: "raleway-regular", arial;
    font-size: 12px;
    position: absolute;
    white-space: nowrap;
    z-index: 999;
    opacity: 0;
    text-align: center;
    letter-spacing: .5px;

}

.tooltip:after{
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 3px 3px 0 3px;
    border-color: #454545 transparent transparent transparent;
    display: block;
    text-align: center;
    position: absolute;
    bottom: -3px;
    left: 50%;
    margin-left: -3px;
}

.pswp{
	z-index:200;
}


/* Projects */
.projects {
  display: table;
  width: 100%;
}
.box {
  display: table-cell;
  tex-align: center;
  vertical-align: middle;
  line-height: 0;
  cursor:pointer;
}
.box figure img {
	opacity: 1;
	-webkit-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}
.box figure:hover img {
	opacity: .75;
}



/* Resume */
.resume {
		text-align:center;
}
.resume p{
	text-align:center;
}
.resume p{
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        letter-spacing: 1px;
}
 .resume p:hover,
 .resume p.selected{
        color: #3366cc;
		font-weight: bold;
		font-size: 15px;
		-webkit-transition: .3s ease-in-out;
		transition: .3s ease-in-out;
 }







/*  Responsive code  */
@media (max-width:950px){
	.pswp{
		padding:0;
	}
	.main{
		padding:0;
	}
    header{
        display: block;
        width: 100%;
        min-height: 80px;
        padding: 0;
        position: relative;
    }
    header .logo{
        margin: 10px 0 0 30px;
        float: left;
		max-width: 210px;
    }
    header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 20px 30px 0 0;
    }
    header nav{
	width: 100%;
	position: absolute;
	top: 80px;
	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: 20px 0;
        text-align: center;
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 16px;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
        background: #ffffff;
    }
	header nav ul li a:hover{
        background: #426db3;
		color: #FFFFFF;
		font-weight:300;
	}
    header nav ul li a:active{
        background: #f7f5f5;
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }

    .main .work{
        width: 50%;
    }
    .main{
        width: 100%;
        position: relative;
        padding-left: 0px;
    }
	.mainhome{
        width: 100%;
        position: relative;
        padding-left: 0px;
    }
.projects {
  display: table;
}	
.graphics {
  	width: 70px;
}
.motiongfx {
    width: 70px;
}
.video {
  
}
.photo {
  
}
}

@media (max-width:800px){
.top{
		max-height:220px;	
}
	
.top .title{
    font-size: 18px;
    padding: 15px;
    line-height: 5px;
}
header{
        display: block;
        width: 100%;
        min-height: 75px;
}
header .logo{
        margin: 14px 0 0 15px;
		max-width: 180px;
 }
 header #menu_icon,
    header .close_menu{
        float: right;
        margin: 17px 30px 0 0;
    }
header nav{
	width: 100%;
	position: absolute;
	top: 75px;
	left: 0;
	z-index: 9999;
    }
}

@media (max-width:500px){
.top{
		max-height:150px;	
}
header{
        display: block;
        width: 100%;
        min-height: 70px;
}
header nav{
	width: 100%;
	position: absolute;
	top: 70px;
	left: 0;
	z-index: 9999;
    }
header .logo{
        margin: 15px 0 0 15px;
		max-width: 150px;
 }
 header #menu_icon,
    header .close_menu{
        float: right;
        margin: 15px 30px 0 0;
    }
.top .title{
    font-size: 14px;
    padding: 10px;
    line-height: 5px;
}
.content p{
	font-size: 12px;
	line-height: 15px;
}
header nav ul li a{
        padding: 12px;
		font-size:14px;
        
}
.box {
    display: block;
    width: 100%;
  }
}
