/*
Theme Name: Anna Hesselbom's Portfolia
Theme URI: http://www.annahesselbom.se
Author: Staffan Hesselbom
Author URI: http://hyperdyne.se
Description: Theme for Anna Hesselbom Portfolio
Version: 1.0
*/

/* Reset default browser CSS. 
   Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
----------------------------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td { border: 0; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; margin: 0; outline: 0; padding: 0; vertical-align: baseline; }
:focus { outline: 0; }
body { background: #fff; line-height: 1; }
ol, ul { list-style: none; }
table {/* tables still need 'cellspacing="0"' in the markup */ border-collapse: separate; border-spacing: 0; }
caption, th, td { font-weight: normal; text-align: left; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a img { border: 0; }
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
/* End reset */

/* Assistive text */
.assistive-text { position: absolute !important; clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px, 1px, 1px, 1px); }
#access a.assistive-text:active, #access a.assistive-text:focus { background: #eee; border-bottom: 1px solid #ddd; color: #1982d1; clip: auto !important; font-size: 12px; position: absolute; text-decoration: underline; top: 0; left: 7.6%; }


/* Anna Hesselbom Portfolio css */
.clear-fix:after { clear: both; content: ""; display: block; height: 0; visibility: hidden; }

* {
	-o-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}


body {
	background: #fff;
    color: #333;
	font-family: 'Montserrat', serif;
    font-size: 1em;
    font-weight: 400;
	/* font: 16px Arial, sans-serif; */
	line-height: 1.525em;
    -webkit-font-smoothing: antialiased;
}

nav {
	background-color: #fff;
	border-bottom: 1px solid #dcfaff;
	margin-bottom: 4em;

}

nav ul {
	list-style: none;
	text-align: center;
	margin: 0;
}

nav ul li {
	display: inline-block;
	margin: 0;
}

nav ul li a {
	display: inline-block;
	text-decoration: none;
	padding: 1rem;
	color: #232323;
	font-weight: 700;
}

nav ul li a:hover {
	text-decoration: underline;
	color: #79acac;
}

nav ul li.current-menu-item a {
	color: #79acac;
}

p {
	margin:0 auto 2em auto;
	max-width: 46em;
	
}

::-moz-selection {
  background: #5a461e  ;
    color: #fff;
}

::selection {
  background: #5a461e   ; 
    color: #fff;
}


article {
	max-width: 90em;
	margin: auto;

}


h1 {
	font-weight: 700;
    font-size: 4em;
	line-height: 1.25em;
	margin: 0 0 1em 0;
	text-align: center;
}


h2 {
	font-weight: 400;
	font-size: 3em;
	line-height: 1.25em;
	text-align: center;
	margin-bottom: 0.5em;
}

h3 {
	font-weight: 400;
	font-size: 2em;
	line-height: 1.25em;
	text-align: center;
	margin-bottom: 0.5em;
}

h4 {
	font-weight: 400;
	text-align: center;
	font-size: 1.75em;
	line-height: 1.25em;
	margin-bottom: 0.5em;
}

h5 {
   
    
}

h6 {
    
    
}

em {
	font-style:italic;
}

strong {
	font-weight:bold;
}

ul { 
	list-style:inside;
    list-style-type:square;
    margin-bottom: 2rem;
}

ol {
    list-style: decimal;
    padding-left: 1.4em;
    margin-bottom: 2em;
}

li { 
	margin:0 0 0.5em 1rem;
}



a:link, a:visited, a:active {
	
}

a:hover {
	
}

.alignleft {
	float: left;
	margin:0.5rem 1rem 0.5rem 0;
}

.alignright {
	float: right;
	margin:0.5rem 0 0.5rem 2rem;
}

.aligncenter {
	display: block;
	margin:1rem auto;
	width:100%;
	height:100%;
}

.nowrap {
    white-space: nowrap;
}


/* Images */
.comment-content img[height],
.entry-content img,
.entry-summary img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img,
img {
	height: auto;
	max-width: 100%;
	margin: auto;
	display: block;
}

body.single .attachment-post-thumbnail {
	margin-bottom: 6em;
}

body.single figure {
	margin: 6em 0 4em 0;
	padding: 0;
}


figcaption {
	font-size: 1em;
	color: rgba(0,0,0,0.75);
	text-align: center;
	padding-top: 1em;
}

.headerimg-wrapper {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	margin: 0;
}

.headerimg-wrapper {
	background-image:url("img/subpage-header-sky.png");
}

body.home .headerimg-wrapper {
	background-image:url("img/home-header-sky.png");
	
}

body.home .headerimg-wrapper img {
	max-height: 477px;
}


.headerimg-wrapper a {
	display: block;
	width: 100%;
	margin: auto;
}

body.home .headerimg-wrapper a {
	padding: 0;
}


.portfolioheaderimg {
	width: 100%;
	max-height: 36em;
	margin: 2em auto;
	
}

/* Layout */
header, footer {

}

header {
	background-color: #dcfaff;
}

footer {
	background-color: #dcfaff;
	color: #222;
	padding: 3em 0;
	margin-top: 4em;
	text-align: center;
}

footer p {
	max-width: 100%;
}

footer a {
	color: #222;
}

.page-content {
    max-width: 1900px;
    margin: 0 auto 2em;
    padding: 0 0.7em;
}




.page-head {
	float: left;
}

.intro {
	text-align: center;
	width:75%;
	margin: auto;
	padding: 0.5em 0 1.5em 0;
	font-size: 2em;
	line-height: 1.25em;
}



.portfolio {
    /* Prevent vertical gaps */
    line-height: 0;
	padding: 0 2em 0 2em;
    
}

.portfolio ul {
	list-style: none;
	margin: 0; 
	display: flex;
	justify-content: space-between;
	margin-left: -1rem;
	flex-flow: row wrap;
}

.portfolio li {
	margin: 0 0 2em 0;
	background-color: #79acac;
	flex: 1 0 360px;
	margin-left: 1rem;
	margin-bottom: 1rem;

}

.portfolio li:hover img {
	opacity: 50%;
	transition-duration: 0.1s;
}

.portfolio li img {
	opacity: 100%;
	transition-duration: 0.2s;
}

.portfolio img {
    /* Just in case there are inline attributes */
    width: 100% !important;
    height: auto !important;
    margin-bottom: 0.5em;
}

.portfolio a {
	text-decoration: none;
	color: #fff;
}

.portfolio span {
	display: inline-block;
	padding: 0.5em 1.5em;
}

.portfolio h3 {
	font-size: 1.25em;
	line-height: 1.5em;
	font-weight: 700;
	text-align: left;
	margin-bottom: 0.2em;
}

.portfolio p {
	font-size: 1em;
	line-height: 1.25em;
	margin-bottom: 1em;
	
}

.meta {
	margin: 4em 0 0 0;
}

.tags {
	float: right;
}

.categories {
	float: left;
}

.categories h4, .tags h4 {
	font-size: 1em;
	float: left;
	margin-right: 1em;
}

.categories a, .tags a {
	font-size: 1em;
	color: rgba(0,0,0,0.50);
	text-decoration: none;
}

.tags ul {
	list-style: none;
	margin: 0;
	overflow: auto;
}

.tags ul li {
	display: inline-block;
	margin: 0 0 0 0.5em;
	white-space: nowrap; 
}


@media only screen and (max-width : 680px) {
	nav {
		margin-bottom: 3em;
	}
	h1 {
		font-size: 3em;
	}
	
	.page-content {
		margin: 0 auto 1em;
		padding: 0 1em;
	}	

	.intro {
		padding: 0em 0 1em 0;
		font-size: 1.5em;
		line-height: 1.5em;
	}
}

