/* Box-sizing reset: //w3bits.com/?p=3225 */
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
	background-color: #f9f9f9;
	font-family: 'Lora', serif;
	font-size: 12px;
}

.nav .nav-item.active > a:focus, 
.nav .nav-item.active > a:hover,
.nav .nav-item a:focus, 
.nav .nav-item a:hover,
p.socials a:hover,
a:visited,
a {
	color: #5e5cbd;
}

.nav .nav-item a {
	padding: .1rem;
	margin: 0 .2rem;
}
.nav .nav-item a:hover {
	box-shadow: inset 0 -20px #f1f1ff;
	-webkit-transition: all 0.3s ease-in;
	-moz-transition: all 0.3s ease-in;
	-o-transition: all 0.3s ease-in;
}

.container {
	background-color: #fff;
	border: 1px solid #f7f7f7;
	border-radius: 8px;
	margin: 120px auto;
	padding: 10px;
}

.nav {
	flex-direction: row;
	justify-content: center;
	margin: 20px auto 30px;
}

.nav-item:after {
	content: "";
	display: inline-block;
	width: 60px;
	height: 1px;
	background-color: #eee;
	margin-right: 3px;
	vertical-align: middle;
}
.nav-item:last-child:after {
	display: none;
}

p.socials {
	font-size: 2.4em;
}
p.socials a {
	color: #66758c;
}
p.interests {
	line-height: 1.95;
}

h2 {
	font-style: italic;
}
h5 {
	margin-top: .8rem;
}

.columns.inner {
	width: 90%;
	margin: auto;
}

.label.label-secondary {
    background: #f1f1ff;
    color: #5e5cbd;
}

.center {
	margin: auto;
	text-align: center;
}

ul {
	list-style-position: outside;
	margin-left: 1rem;
}
ol ol, ol ul, ul ol, ul ul {
    margin: 0 0 .8rem .8rem;
}

/* The Masonry Container */
.grid-gallery { 
}

/* The Masonry Brick */
.grid-gallery .item {
  background: #fff;
  width: 33%;
  display: inline-block;
  margin-bottom: 3px;
}
.item.item--width2 { width: 66%; }

.grid-gallery .item a {
	display: block;
}
.grid-gallery .item img {
	max-width: 100%; 
	display: block;
}

@media (max-width: 500px) {
	.container {
		margin: 0;
	}
	.nav-item:after {
		display: none;
	}
	.grid-gallery .item {
		width: 100%;
	}
	.columns.inner {
		width: 100%;
	}
}