/*
Theme Name: Robin Teigland
Author: Eric Weber
Author URI: http://ericweber.se
*/


html, body {
	font-family: 'ltc-bodoni-175', times, serif;
	font-size: 15px;
	line-height: 1.5;
	background: #f8f1e1;
	color: #111;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	margin: 2rem 0 1rem;
}
p {
	margin: 0 0 1em;
}
p:last-child {
	margin-bottom: 0;
}
a {
	color: #111;
	border-bottom: 1px solid #111;
	text-decoration: none;
}
a:hover, a:focus {
	color: #111;
	text-decoration: none;
	outline: none;
}
img {
	display: block;
	height: auto;
	max-width: 100%;
	margin: 2rem 0;
}
.wp-caption {
	max-width: 100%;
}
figcaption {
	text-transform: uppercase;
	letter-spacing: .12em;
}
nav ul {
	list-style: none;
	padding: 0;
	margin: 0 -.75rem;
}
nav li {
	margin: 0 .75rem;
}


/* Typographic scale */

.size-xxxxlg, h1 { font-size: 2.488rem; line-height: 1.1; }
.size-xxxlg, h2 { font-size: 2.074rem; line-height: 1.1; }
.size-xxlg, h3 { font-size: 1.728rem; line-height: 1.2; }
.size-xlg, h4 { font-size: 1.44rem; line-height: 1.3; }
.size-lg, h5 { font-size: 1.2rem; line-height: 1.4; }
.size-md, h6 { font-size: 1rem; }
.size-sm, small { font-size: .833rem; }
.size-xs, .wp-caption-text, .btn { font-size: .694rem; }

@media (min-width: 768px) {
	html, body {
		font-size: 16px;
	}
	.size-xxxxlg, h1 { font-size: 3.052rem; }
	.size-xxxlg, h2 { font-size: 2.441rem; }
	.size-xxlg, h3 { font-size: 1.953rem; }
	.size-xlg, h4 { font-size: 1.563rem; }
	.size-lg, h5 { font-size: 1.25rem; }
	.size-sm, small { font-size: .8rem; }
	.size-xs, .wp-caption-text, .btn { font-size: .64rem; }
}
@media (min-width: 992px) {
	html, body {
		font-size: 20px;
	}
	.size-xxxxlg, h1 { font-size: 4.209rem; }
	.size-xxxlg, h2 { font-size: 3.157rem; }
	.size-xxlg, h3 { font-size: 2.369rem; }
	.size-xlg, h4 { font-size: 1.777rem; }
	.size-lg, h5 { font-size: 1.333rem; }
	.size-sm, small { font-size: .75rem; }
	.size-xs, .wp-caption-text, .btn { font-size: .563rem; }
}
@media (min-width: 1200px) {
	html, body {
		font-size: 22px;
	}
}


/* Grid */

.container {
	width: auto;
	max-width: 760px;
  	padding-left: 20px;
  	padding-right: 20px;
}
.row {
	position: relative;
	margin-left: -.75rem;
	margin-right: -.75rem;
}
div[class^='col-'], div[class*=' col-'] {
    padding-left: .75rem;
    padding-right: .75rem;
}
@media (min-width: 992px) {
	.row {
		margin-left: -1.5rem;
		margin-right: -1.5rem;
	}
	div[class^='col-'], div[class*=' col-'] {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}


/* Vertical margins */

.margin-top-xlg {
	margin-top: 9rem;
}
.margin-top-lg {
	margin-top: 6rem;
}
.margin-top-md {
	margin-top: 3rem;
}
.margin-top-sm {
	margin-top: 2rem;
}
.margin-top-xs {
	margin-top: .5rem;
}
.margin-top-none {
	margin-top: 0;
}
.margin-bottom-xlg {
	margin-bottom: 9rem;
}
.margin-bottom-lg {
	margin-bottom: 6rem;
}
.margin-bottom-md {
	margin-bottom: 3rem;
}
.margin-bottom-sm {
	margin-bottom: 2rem;
}
.margin-bottom-xs {
	margin-bottom: .5rem;
}
.margin-bottom-none {
	margin-bottom: 0;
}


/* Aligns */

.alignleft {
	text-align: left;
}
.aligncenter {
	text-align: center;
}
.alignright {
	text-align: right;
}


/* Site sections */

.site-section {
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-position: center center;
	background-size: cover;
}
.site-section.dark {
	color: #fff;
}
.site-section.dark a.btn {
	color: #fff;
	border-color: #fff;
}
.site-section#hero {
	background-image: url('img/robin_teigland_banner4.jpg');
	height: 100vh;
	position: relative;
}
.site-section#hero #hero-inner {
	position: absolute;
	bottom: 5rem;
	width: 100%;
}
.site-section#speaking {
	background-image: url('img/robin_teigland_speaking2.jpg');
}
.site-section#research {
	background-image: url('img/robin_teigland_research.jpg');
}
.site-section h1, .site-section h2 {
	margin-top: 0;
}


/* Misc */

.site-header {
	position: fixed;
	top: 1.5rem;
	left: 1.5rem;
	right: 1.5rem;
	z-index: 999;
}
.site-logo {
	display: inline-block;
}
.site-logo a {
	border: 0;
}
.site-logo a:hover {
	border-bottom: 1px solid #111;
}
.site-nav {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 998;
	background: #032d41;
	font-weight: 500;
	line-height: inherit;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
.site-nav .menu-main-menu-container {
	width: 100%;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.site-nav .menu-main-menu-container .menu {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}
.site-nav a {
	color: #fff;
	border: 0;
}
.site-nav a:hover, .site-nav .current-menu-item a {
	color: #fff;
	border-bottom: 1px solid #fff;
}
#toggle-nav {
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	position: absolute;
	right: 0;
	background-size: contain;
	cursor: pointer;
	z-index: 999;
	border: 0;
}
#toggle-nav.expand {
	background-image: url('img/icon-expand.svg');
}
#toggle-nav.expand.white {
	background-image: url('img/icon-expand-white.svg');
}
#toggle-nav.collapse {
	background-image: url('img/icon-collapse.svg');
}
a.btn {
	display: inline-block;
	padding: .75em 1.5em;
	border: 1px solid #111;
	text-transform: uppercase;
	letter-spacing: .25em;
	margin-top: .5rem;
	margin-right: 1rem;
}
.site-footer {
	text-align: center;
}
.site-footer .container {
	max-width: 100%;
}
.site-footer nav li {
	display: inline-block;
	margin: 0 .75em;
}
.site-footer nav li a {
	border-bottom: 0;
}
.site-footer nav li a:hover {
	border-bottom: 1px solid #111;
}
.page-title {
	margin-bottom: 1.5rem;
}
.wp-caption {
	margin: 2rem 0;
}
.wp-caption img {
	margin: 0;
}
.wp-caption-text {
	margin-top: .25rem;
	text-transform: uppercase;
	letter-spacing: .25em;
}
.gallery {
	margin: 0 -10px -10px -10px !important;
}
.gallery .gallery-item {
	text-align: left !important;
	padding: 10px !important;
	margin: 0 !important;
}
.gallery img {
	border: 0 !important;
	margin: 0;
}

@media (min-width: 768px) {
	.site-section {
		background-attachment: fixed;
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
}
@media (min-width: 992px) {

}
@media (min-width: 1200px) {
	
}