/* MOTIONPHI v6 CSS STYLESHEET */


/*  Fonts  */

@import url(http://fonts.googleapis.com/css?family=Lato:300,400);
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);


/*  General CSS*/

html,body{
	height:100%		/* fill browser height change v2 - older browser support */
	}

body{
    background: #333333;
	max-width: 1280px;	/* fixed width change */
	margin: auto;		/* fixed width change */
}

.wrapper{
    /* width: 92.72727272727273%; */
	width: 93%;
    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: "Montserrat", serif;
	font-weight: 700;
    letter-spacing: 1px;
}

/*h1              { font-size: 2em; margin: .67em 0 }*/
h2              { font-size: 1.35em; margin: .75em 0 }
/*h3              { font-size: 2em; margin: .67em 0 }*/
h5              { font-size: .83em; margin: 1.5em 0 }
/*h6              { font-size: .75em; margin: 1.67em 0 }*/
h9              { font-size: 1em; margin: .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:769px){
    header{
        display: block;
        position: fixed;
        top: 0;
        /* left: 0; */  /* fixed width change */
        width: 250px;
        min-height: 100%;
        padding: 0 0 0 50px;
        background: #eeeeee; 
        float: left;
        overflow: hidden;
        z-index: 9999;
    }

    header .logo{
        margin-top: 40px;
		color: #454545;
		font-size: 28px;
    }

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

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

    header nav ul li a{
        color: #454545;
    	font-family: 'Lato', serif;
		font-weight: 400;
        font-size: 14px;
        text-decoration: none;
        letter-spacing: 1px;
    }

    header nav ul li a:hover{
		color: #969595;
		text-decoration: underline;
	}
	
    header nav ul li a.selected{
        color: #969595;
		text-decoration: none;
		user-select: none;
    }

    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: 0 15px 15px 0;
    }


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


    header ul.social li a:hover{
        background: url('../img/sm_hover_ret.png') no-repeat;
		background-size: 185px 30px;
    }



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


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

    header ul.social li a.linkedin,
    header ul.social li a.linkedin: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.instagram,
    header ul.social li a.instagram:hover{
        background-position: -124px 0;
    }

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

    header .rights p{
        color: #454545;
    	font-family: 'Lato', serif;
		font-weight: 300;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
    }

    header .rights a{
    	font-family: 'Lato', serif;
		font-weight: 300;
        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_dk.png') no-repeat;
	background-size: 81px 40px;
    }

#menu_icon{    
    background-position: 0 0;
}
.close_menu{
    background-position: -41px 0!important;
}



/*  Main  */
.main{
    width: 100%;
	/* height: 100%; */
	/* height: 100vh; */
	height:auto;				/* fill browser height change v1 and v2 */
	/* min-height:100vh;	/* fill browser height change v1 */
	min-height:100%;			/* fill browser height change v2 - older browser support */
    padding-left: 300px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #f6f6f6;
    clear: both;
}

/*.work{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
	border:15px solid #f6f6f6;
	}*/


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

/*.work {
	border-style: solid;
	border-width: 1px;
	border-color: #ccc;
}*/

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

.main .work .caption{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    background: #000000;
    opacity: 0;
}


.main .work a:hover .caption{
    opacity: 0.9;
}


.work .caption .work_title{
    display: block;
    width: 90%;
    position: absolute;
    /* text-align: center; */
    text-align: left;
    top: 50%;
    margin-top: -80px;
	margin-left: 25px;  /* get rid of this line if you are centering text */
	margin-right: 10px;
}

.main .work .caption h1{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 35px 0 0 0;
    z-index: 77;
    color: #fff;
    font-family: "Montserrat", serif;
    font-size: 27px;
    letter-spacing: .5px;
    /*border-bottom: 1px solid #bfbbbb;
    border-top: 1px solid #bfbbbb;*/
}

.main .work .caption h3{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 35px 0 0 0;
    z-index: 77;
    color: #fff;
    font-family: "Montserrat", serif;
    font-size: 20px;
    letter-spacing: .5px;
}


.main .work .caption h6{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 6px 0 0 0;
    z-index: 77;
    color: #fff;
    font-family: "Montserrat", serif;
    font-size: 13px;
    letter-spacing: .5px;
}

.main .work .caption h9{
    font-size: 12px;
	font-style: italic;
	font-weight: normal;
    letter-spacing: .5px;
}

.main .work .caption h8{
    font-size: 28px;
    letter-spacing: .5px;
}

.floatWrapL {
	float: left;	
	}

.floatWrapR {
	float: right;
	}



/*  Inner Page  */
.top{
    /* width: 100%; */
	/* width: 92.72727272727273%; */
	width: 93%;
	margin-left: auto;
    margin-right: auto;
	margin-top: 3.5%;
	margin-bottom: 3.5%;
	text-align: center;
	line-height: 12px;
	color: #4b4848;
    font-family: "Lato", serif;
    font-size: 11px;
    /* height: 350px; */
    overflow: hidden;
    display: block;
    position: relative;
    /* background: url('../img/portrait4.jpg') no-repeat; */
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: 50% 50%;
}

.topAbout{
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: block;
    position: relative;
    background: url('../img/portrait7.jpg') no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: 50% 50%;
}

.ninetyp {
	width: 93%;
	margin-left: auto;
    margin-right: auto;
	margin-top: 4%;
	margin-bottom: 4%;
	
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	/* padding-top: 25px; */
	height: 0;
	/* border-style: solid;
	border-width: 1px;
	border-color: #eeeeee; */
	/* bottom: 40px; */
}

.videoWrapper50 {
	position: relative;
	padding-bottom: 50%;
	height: 0;
}

.videoWrapper50 iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.videoWrapper625 {
	position: relative;
	padding-bottom: 62.5%;
	height: 0;
}

.videoWrapper625 iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.videoWrapper75 {
	position: relative;
	padding-bottom: 75%;
	height: 0;
}

.videoWrapper75 iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.videoWrapper23 {
	position: relative;
	padding-bottom: 66.666666666667%;
	height: 0;
}

.videoWrapper23 iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.videoWrapperBlank {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	/* padding-top: 25px; */
	height: 0;
	/* bottom: 40px; */
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.workvidwrapper{
	/* float: left; */ /* remove this - firefox layout issue fix */
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
	}
	
.workvid{
    width: 47%;
    display: block;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
	margin: 0 0 30px 0;
	padding-right: 3%;
	text-align: center;
	font-size: 12px;
	font-style: italic;
	}
	
.workvidsingle{
    width: 100%;
    display: block;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
	margin: 0 0 30px 0;
	padding-right: 3%;

	}

.addleft {
	width: 50%;
	float: left;
}
	
.addleft {
	width: 50%;
	float: left;
}

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

.work_nav .btn{
    float: left;
    margin: 30px 0px 1px 30px;
}

.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: 20px;
    height: 20px;
    background: url('../img/p_nav_ret.png') no-repeat;
    background-position: 0 0;
	background-size: 60px 20px;
}

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

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

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

.topAbout .title{
    display: block;
    width: 100%;
	color: #4b4848;
    font-family: "Montserrat", serif;
    font-size: 24px;
    /* font-weight: bold; */
    background: rgba(255, 255, 255, .7);
    padding: 20px;
    /* text-transform: uppercase; */
    line-height: 20px;
    margin: 0!important;
    overflow: hidden;

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

}

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

.content{
    color: #4b4848;
    font-family: 'Lato', serif;
    font-size: 15px;
    line-height: 22px;
    padding: 60px 30px;
    background: #fff;
	/* height: 100vh; */
	

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

.content a{
	color: #000000;
	text-decoration: none;
}

.content a:hover{
	color: #999999;
	text-decoration: underline;
}

.content p{
    color: #4a4a4a;
    font-family: 'Lato', serif;
	font-weight: 300;
	letter-spacing: .35px;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 30px;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6{
    color: #4a4a4a;
    font-family: "Montserrat", serif;
    line-height: 22px;
    margin-bottom: 20px;

}


/*  Tooltip  */
.tooltip{
    display: block;
    padding: 7px 10px;
    background: #454545;
    color: #fff;
    font-family: 'Lato', serif;
	font-weight: 400;
    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;
}



/*  Responsive code  */

@media (max-width:1136px){
	.main .work{
    display: block;
    width: 33.33333%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
	}
}

/*  Responsive code  */
@media (max-width:900px){
	.main .work{
    display: block;
    width: 50%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
	}
}


@media (max-width:768px){

    header{
        display: block;
        width: 100%;
        /* min-height: 190px; */
        min-height: 115px;
        padding: 0;
        position: relative;
        background: #eeeeee;
    }
    header .logo{
        /*margin: 40px 0 30px 50px;*/ /* exact logo align */
		margin: 20px 0 0 20px; /* top - right - bottom - left */
        float: left;
    }
	#logorsp img {
		width: 125px;
		height: 35%;
    }
    header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 20px 20px 0 0;
    }    
    header nav{
        width: 100%;
        position: absolute;
        top: 114px;
        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;			/* old nav */
		color: #ccc;					/* new nav */
    	font-family: 'Lato', serif;
		font-weight: 400;
        font-size: 17px;
        text-decoration: none;
        border-top: 1px solid #f7f5f5;
        /* background: #fff; 		/* old nav */
		background: #333; 			/* new nav */
    	letter-spacing: 2px;
    }
    header nav ul li a:active{
        background: #f7f5f5;
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }

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

@media (max-width:600px){
    .main .work {
        width: 50%;
    }
	.workvid {
		width: 100%;
	}
	
}
