/*
Theme Name: bn-foundation
Theme URI: https://github.com/bennuttall/bn-foundation
Author: Ben Nuttall
Author URI: https://bennuttall.com
Description: Theme for the bennuttall.com (2020)
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

html {
  height: 100%;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

header {
  margin-bottom: 2em;
  background: #159ed5;
}

header div.top-bar, header div.top-bar ul {
  background: #159ed5;
}

header .logo {
  background: url('/finn-75.jpg') no-repeat;
  width: 75px;
  height: 75px;
  display: inline-block;
  vertical-align: middle;
}

header header {
  font-family: "Roboto Condensed";
  font-size: 40px;
  color: white;
  display: inline;
  font-variant: small-caps;
}

.button {
  background-color: transparent;
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto Condensed", serif;
  font-weight: bold;
  letter-spacing: -2px;
  color: black;
}

h2 {
  overflow-wrap: anywhere;
}

a { color: #222; text-decoration: underline; }

h1, h1 a:link, h1 a:visited, h2 a:link, h2 a:visited {
  color: black;
  text-decoration: none;
}

.menu .button {
  font-family: "Roboto Mono", monospace;
}

.menu li, .menu.horizontal li {
  margin-bottom: 4px;
}

body {
  position: relative;
  margin: 0;
  min-height: 100%;
  padding-bottom: 160px;
  font-family: "Roboto", Arial, sans-serif;
}

footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background: #159ed5;
  color: white;
  font-family: "Roboto Condensed", Arial, sans-serif;
  text-align: center;
}

footer .row {
  padding: 0 2px;
  line-height: 40px;
}

footer a {
  color: white;
}

pre, code {
  font-family: "Roboto Mono", monospace;
}

code {
  background-color: transparent;
  border: 0;
}

pre {
  background: #edf5e1;
  border: 2px solid #159ed5;
  margin: 1em 2em;
  padding: 1em;
}

.callout.primary {
  background-color: #159ed5;
  color: white;
  border: 0;
}

.callout.primary a {
  color: white;
}

.callout.primary.tags a {
  padding: 0 2px;
}

ul li {
  list-style-type: square;
}

.prev {
  text-align: left;
}

.next {
  text-align: right;
}

table.talks th {
  text-align: left;
}

.columns:last-child:not(:first-child) {
  float: left;
}

.entry-content div, .entry-content img {
  max-width: 100%;
}

img.size-auto, img.size-full, img.size-large, img.size-medium, .attachment img,
.widget-area img {
  max-width: 100%;
  height: auto;
}

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

p.wp-caption-text, figure figcaption, figure.wp-block-image figcaption {
  padding: 5px 2px;
  background: #159ed5;
  text-align: center;
  font-size: 14px;
  border: 0;
  border-top: 0;
  color: white;
}

.wp-caption img, figure.wp-block-image img, .wp-block-image figcaption {
	margin: 0 !important;
}

.wp-block-embed {
  text-align: center;
}

figure {
  margin: 0 0 20px 0;
}