/*
    Template Author : pixelhint.com
    Author Email    : contact@pixelhint.com
    Template Name   : Magnetic
    
    
    *****************************************
    
    
    - 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-image:url(../images/bgPattern.jpg);
}

.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: 0.5em 0 }  /* changed from 1.5em to .5em */
h6              { font-size: .85em; 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:1025px){
    header{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height:70px;
        padding: 0 0 0 0;
        background: #ffffff; 
        overflow: hidden;
        z-index: 9999;
		border-bottom: 1px rgb(236, 236, 236) dashed;
    }

    header .logo{
        margin-top: 0px;
		padding:15px;
		float:left;
    }
	
	header nav{
	display:block;
	position:absolute;
	right:0px;
	/* padding-top:33px; */
	top:35%;
	width:100%;
	}
	
	#menu-icon {
	display: hidden;
	width: 40px;
	height: 40px;
	background: #4C8FEC url(../images/menu_icon.png) center;
	}
	
	header nav ul{
        display: block;
        overflow: hidden;
        list-style: none;
		position:absolute;
		right:0px;
		padding:0px 20px 0px 0px;
    }

    header nav ul li{
        display: inline-flex;
		padding-left:18px;
    }

    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,
    header nav ul li a.selected{
        color: #5A5A5A;
		text-shadow: 1px 1px 1px #A6A6A6;
    }

/* Footer */
    footer {
	display:block;
	clear:both;
	position:fixed;
	bottom:0px;
	background-color:#FFFFFF;
	width:100%;
	/* padding:5px 0px 5px 0px; */
	border-top:1px rgb(236, 236, 236) dashed;
	height:50px;
	}	
	
	footer ul.social{
        list-style: none;
        margin: 0px 0px 5px 0px;
		float:left;
		padding: 10px 0px 0px 25px;
    }

    footer ul.social li{
        display: block;
        float: left;
        position: relative;
        margin: 0 15px 15px 0;
    }

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

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

    footer ul.social li a.mail,
    footer ul.social li a.mail:hover{
        background-position: 0 0;
    }

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

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

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

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

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

    footer .rights {
	position:absolute;
	right:30px;
	/* padding-top:10px; */
	top:25%;
	}
	
	footer .rights p{
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 12px;
        letter-spacing: 0px;
        line-height: 18px;
    }

    footer .rights a{
        font-family: "raleway-bold", arial;
        font-weight: bold;
        text-decoration: none;
    }
	
	footer .footerDesc {
		float: right;
    	color: #4b4848;
    	font-family: "raleway-regular", arial;
    	font-size: 14px;
    	padding: 8px;
	}

}


/*  Main  */
.main{
    width: 100%;
    height: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
	margin:70px 0px 50px 0px;
    z-index: 55;
    clear: both;
}

.mainEdit{
    width: 100%;
    height: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    clear: both;
}

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

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

.main .work .caption{
    position: absolute;
    display: block;
    width: 100%;
    height: 25%;
    top: 33.3333%;
    left: 0;
    border-bottom: 5px #eaeaea solid;
    border-top: 5px #eaeaea solid;
	background: #FFFFFF;
	opacity: 0;
}

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

.work .caption .work_title{
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 45%;
    margin-top: -40px;
}

.main .work .caption h1{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 20px 0;
    z-index: 77;
    color: #454545;
    font-family: "raleway-regular", arial;
    font-size: 16px;
    letter-spacing: .5px;
    border-bottom: 1px solid #bfbbbb;
    border-top: 1px solid #bfbbbb;
}

/*  Inner Page  */
.top{
    width: 100%;
    height: 65px;
    overflow: hidden;
    display: block;
    position: relative;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.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('../images/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;
	background-color:#FFFFFF;
    width: 100%;
	color: #4b4848;
    font-family: "raleway-bold", arial;
    font-size: 26px;
    font-weight: bold;
    padding: 15px 0px 15px 0px;
	/* border-bottom:1px solid #999999; */
    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;
}

.content_header{
    position: absolute;
    bottom: 0;
    margin: 0 auto;
	width:92.4%;
	padding: 0px 52px;
}

.content{
    color: #4b4848;
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 22px;
    /*padding: 0px 52px; /*was 20px then 5px and always 52px for second*/
    background: #fff;
	/*new additions to keep page elements centered and max width of 1600*/
	/* max-width:1704px; TESTING OFF for better resume title look */
	width:100%;
	margin:auto;

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

.content p{
    color: #4b4848;
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 60px;
}

/* tweaks prefer off on 2/12/17
.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;

} */

.content img {
width: 100%;
max-width:1600px;
display:block;
margin:auto;
padding-bottom:15px;
}

#marmosetFramer {
margin: 0px auto 15px auto;
padding: 20px 155px 20px 155px;
background: #EDEDED;
-webkit-box-shadow: inset 0px 0px 25px 3px rgba(128,128,128,0.4);
-moz-box-shadow: inset 0px 0px 25px 3px rgba(128,128,128,0.4);
box-shadow: inset 0px 0px 25px 3px rgba(128,128,128,0.4);
}

#YouTubeFramer {
position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin-bottom:15px;
}
#YouTubeFramer iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#name {
font-family: "raleway-regular", arial;
text-decoration: none;
letter-spacing: 1px;
padding:19px 5px 0px 5px;
width:235px;
float:left;
}

#description {
padding:10px 0px 10px 0px;
}

#description a:link {
text-decoration:none;
}

#portfolioWrapper {
	max-width:1600px;
	margin:auto;
}

#aboutPortfolioItem {
    border-left: 10px #7B7B7B solid;
	background-color:#F8F8F8;
	padding:4px 12px 4px 12px;
	margin:0px 0px 15px 0px; /*was 10 for top and bottom */
}

#aboutPortfolioItem h1 {
    font-size: 23px;
	/*text-transform: uppercase; */
}

#aboutPortfolioItem h2 {
    font-size: 16px;
}

#aboutWork {
    border-left: 10px #7B7B7B solid;
	background-color:#F8F8F8;
	padding:4px 12px 4px 12px;
	margin:0px; /*was 10 for top and bottom */
}

#mainAboutWork {
    border-left: 10px #7B7B7B solid;
	background-color:#F8F8F8;
	padding:4px 12px 4px 12px;
	margin:0px; /*was 10 for top and bottom */
	height:auto;
	clear:both;
}

#aboutWork h1 {
    font-size: 23px;
	text-transform: uppercase;
}

#aboutWork h2 {
    font-size: 16px;
}

#name h1 {
font-size: 23px;
font-weight:bold;
margin:0px;
}

#name h2 {
font-size: 14px;
font-weight:normal;
font-style:italic;
margin:0px;
}

#name a:link {
font-size: 14px;
text-decoration:none;
}

#photosLeft {
width:49%;
float:left;
}

#photosLeft img {
min-width:100%;
}

#photosRight {
width:49%;
float:right;
}

#photosRight img {
min-width:100%;
}

#resume ul {
	padding: 10px 10px 10px 20px;
	clear:both;
}

#resume li {
	padding:0px 50px 1px 0px;
}

#shippedTitles {
	width:100%;
	margin:auto;
}

#resume img {
	width:auto;
	height:auto;
	max-width:23%;
	max-height:250px;
	float:left;
	padding:0px 5px 20px 0px;
}

#resumeLeft {
	width:47%;
	float:left;
	padding:0px 0px 0px 30px;
}

#resumeRight {
	width:47%;
	float:right;
	padding:0px 30px 0px 0px;
}

#resume strong {
	font-weight:bold;
	width:100%;
	float:left;
	padding:5px 0px;
}

#contactBlock {
display:inline-block;
margin:20px auto;
width:204px;
}

#contactBlock img {
margin:0px;
}

#contactImage {
/*width:50%; */
max-width:600px;
margin:0px;
}

/*  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;
}

/*  Responsive code  - this enables the menu button when screen width goes below 1024 pixels*/
@media (max-width:1024px){
	header{
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height:70px;
        padding: 0 0 0 0;
        background: #ffffff; 
        overflow: visible;
        z-index: 9999;
		border-bottom: 1px rgb(236, 236, 236) dashed;
    }

    header .logo{
        margin-top: 0px;
		padding:15px;
		float:left;
    }
	
	header nav{
		display:block;
		position:absolute;
		right:0px;
		padding-top:18px;
		/*width:60%; */
	}
	
	#menu-icon {
		display:inline-block;
		float:right;
		width: 40px;
		height: 40px;
		margin-right: 10px;
		background: #FFFFFF url(../images/menu_icon.png) center;
	}

	header nav ul, nav:active ul { 
		display: none;
		position: absolute;
		padding: 12px 17px;;
		background: #fff;
		border: 2px solid #999;
		right: 10px;
		top: 10px;
		width: 95px;
		height:155px; /*was 190 when contact was included */
		border-radius: 4px 0 4px 4px;
		z-index:999;
		overflow:visible !important;
	}

	header nav li {
		/*text-align: center;*/
		width: 100%;
		padding: 12px 0px 12px 0px;
		margin: 0;
		color: #454545;
  		font-family: "raleway-regular", arial;
  		font-size: 14px;
  		letter-spacing: 1px;
	}
	
	header nav li a {
	text-decoration: none;
	}
	
	header nav li a:hover {
	color: #5A5A5A;
	text-shadow: 1px 1px 1px #A6A6A6;
	}	

	header nav:hover ul {
		display: block;
		position:fixed;
	}
	
	.main{
	/*padding-top:70px; */
	padding-bottom:70px;
	margin-bottom:0px;
	}
	
	.content{
    /*padding: 5px 12px; */
	}
	.content_header{
	padding: 0px 12px;
	}
	
	.top .title {
	font-size:22px;
	}
	
	#contactImage {
	width:100%;
	}
	
	#aboutWork {
	padding:4px 12px 4px 12px;
	}
	
	#resume ul {
	padding: 10px 50px 10px 20px;
	}	
	
	#resume strong {
	font-weight: bold;
    width: auto;
    float: none;
    padding: 5px 25px 5px 0px;
	}
	
	#resumeLeft {
	float:none;
	width:100%;
	padding:0px 20px;
	}

	#resumeRight {
	float:none;
	width:100%;
	padding:0px 20px;
	}
	
	#shippedTitles {
	width:auto;
	margin-right:20px;
	}
	
/* Footer */
    footer {
	display:block;
	clear:both;
	width:100%;
	height:auto;
	background-color:#FFFFFF;
	position:absolute;
	bottom:0px;
	padding:5px 0px 5px 0px;
	border-top:1px rgb(236, 236, 236) dashed;
	}	
	
	.footerAligner {
	margin:0px auto 0px auto;
	width:185px;
	}
	
	footer ul.social {
        list-style: none;
        /* margin: 0px 0px 10px 0px; */
		padding: 0px 0px 0px 5px; /* was 27 when using 3 icons */
		/* position:absolute;
		left:38%; */
    }

    footer ul.social li{
        display: block;
        float: left;
        position: relative;
        margin: 0 15px 15px 0;
    }

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

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

    footer ul.social li a.mail,
    footer ul.social li a.mail:hover{
        background-position: 0 0;
    }

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

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

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

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

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

    footer .rights {
	/* position:absolute;
	bottom:3px;
	left:37%;
	padding-top:0px; */
	}
	
	footer .rights p{
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 11px;
        letter-spacing: 0px;
        line-height: 18px;		
    }

    footer .rights a{
        font-family: "raleway-bold", arial;
        font-weight: bold;
        text-decoration: none;
    }
	
	footer .footerDesc {
		display: none;
	}
	
	/*  Tooltip  */
	.tooltip{
		display: none;
	}
}

@media (min-width:1620px) {
	#portfolioWrapper {
        margin:15px auto;
    }
}

@media (min-width:2100px){
	.main .work {
        width: 20%;
    }
}

@media (min-width:1515px) and (max-width:2099px){
	.main .work {
        width: 25%;
    }
}

@media (min-width:1025px) and (max-width:1514px){
	.main .work {
        width: 33.3333333%;
    }
}

@media (max-width:1024px){
	.main .work{
        width: 50%;
    }
	
	#photosLeft {
		width:100%;
	}

	#photosRight {
		width:100%;
	}
	
	#marmosetFramer {
		margin: 0px auto 15px auto;
		padding: 5px;
		border: 1px #D2D2D2 dashed;
		background: #EDEDED;
		-webkit-box-shadow: inset 0px 0px 39px 16px rgba(128,128,128,0.4);
		-moz-box-shadow: inset 0px 0px 39px 16px rgba(128,128,128,0.4);
		box-shadow: inset 0px 0px 39px 16px rgba(128,128,128,0.4);
	}
}	

@media (max-width:550px){
	#name {
		display:none;
	}
    .main .work	{
        width: 100%;
    }
	
	#aboutWork	{
	font-size:12px;
	line-height:normal;
	}
}