/*
Theme Name: Atlas
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://fashionandcode.com
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atlas
*/

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/playfairdisplay-regular-webfont.woff2') format('woff2'),
         url('fonts/playfairdisplay-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/playfairdisplay-italic-webfont.woff2') format('woff2'),
         url('fonts/playfairdisplay-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/playfairdisplay-bold-webfont.woff2') format('woff2'),
         url('fonts/playfairdisplay-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/playfairdisplay-bolditalic-webfont.woff2') format('woff2'),
         url('fonts/playfairdisplay-bolditalic-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;

}


/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

/*img:hover {
    -webkit-filter: saturate(1.5);
    filter: saturate(1.5);
}*/

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	font-family: 'Open Sans', sans-serif;
	font-weight:normal;

}

button,
input,
select,
textarea {
	font-size:12px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color:#000;
	font-family: 'Playfair Display', serif;
}

p {
	margin-bottom: 1.5em;
}
p:empty {margin-bottom:0;}
dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 3em;
	color: #d14836;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements

Highlight color (orange): #F39431; new #d14836 (rust)
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

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

body {
	background: #fff;
	color:#000;
}

.site-branding {
	text-align:center;
}

.holdwidth {
	max-width:1024px;
	margin:0 auto;
}

.narrowwidth {
	max-width:650px;
	margin:0 auto;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border-radius: 0;
	border:0 none;
	background: #d14836;
	color: #fff;
	font-size: 0.75rem;
	padding: 3px 20px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background:#ff5722;
	}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border:thin solid #666;
	border-radius: 0;
}

#top-bar input[type="search"] {	
	border-radius: 0;
	border: thin solid black;
	font-size:.8em;
	color:black;
	font-family:monospace;
}

#top-bar input[type="search"]:placeholder {color:black;opacity:1;}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px 5px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a, a:visited {
	color: #d14836;
	text-decoration:none;
}

a:hover,
a:focus,
a:active {
	text-decoration:underline;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

footer#colophon {
	background:#212121;
	color:#fff;
	width:100%;
	position:relative;
}

#colophon ul.menu li a {color:#fff;}

footer aside {

	padding:10px;
	font-size:.85em;
	vertical-align: top;
}

footer .widget-title {
    color: #fff;
    border-bottom: 2px dotted #fff;
    padding-bottom: 5px;
}

footer .textwidget {color:#fff;}

@media screen and (min-width:481px) {
	footer aside {
	display:inline-block;
	width:25%;
}
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/


#masthead {
	padding-top:2em;
	z-index: 2;
	
}

#masthead nav {
    text-transform: uppercase;
    text-align: center;
}

#search-bar {float:right;}
ul.menu {
	margin: 0;
	padding-left: 0;
}
ul.menu li { list-style: none; display:inline; }
ul.menu li a {color:#000;}
ul.menu li a:hover,
ul.menu li.current-menu-item a {color:#d14836;text-decoration: none;}


ul.menu#menu-footer-menu li {
	font-size: 1.2em;
	display:block;
}


nav#site-navigation {
    width: calc(100vw - 40px);
    text-align: center;
    margin: 1.5em auto;
    border-top: thin solid #121212;
    border-bottom: thin solid #121212;
}

.home nav#site-navigation,
.page-template-crafts-page nav#site-navigation{border:0 none;}

.main-navigation > div {
	display:inline-block;
}

.main-navigation ul {
	display: none;
	list-style: none;
    justify-content: space-between;
    text-align:center;
}

.main-navigation li {
    float: left;
    list-style-type: none;
    list-style-image: none;
    padding: 0 1.5em;
    font-weight:normal;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

#top-bar {
	/*width:100%;
	-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.25);
	box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.25);
	background:#fff;
	position:fixed;
	z-index:999;
	min-height:40px;
*/
}


.main-navigation ul {}
.main-navigation ul.menu li {padding:0 10px;}
.main-navigation ul.menu li a {
	padding:2px 0;
	line-height:40px;
	font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}
/*.main-navigation ul.menu li a:hover {border-bottom:thin dotted #d14836;}*/
#top-bar .search-submit {display:none;}
#top-bar .site-branding-2 {
	display:inline-block;
    margin:2px 60px 0 10px;
}
#top-bar .site-branding-2 a {color:black;text-decoration:none;}
body #top-bar img#logo {
    width: auto;
	height:32px;    
	vertical-align:bottom;
    position: relative;
    top: 4px;
    margin-left:1em;
}

@media screen and (max-width:480px) {
	body #top-bar img#logo {height:auto;max-width:100%;margin-left:0;}
	#masthead {}
	body #top-bar {padding: 0 50px 0 5px;}
}

.site-branding #logo {width:275px;}
body:not(.home) .site-branding #logo {width:160px;}
#search-bar {margin:6px 7px;display:none;}


/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;

}
.menu-toggle {padding:10px;}
.menu-toggle img {width:30px;height:30px;}

.main-navigation.toggled ul {
	padding:1.5em 0;
}
.main-navigation.toggled ul li {
	display:block;
}

.menu-toggle {
	position: absolute;
    right: 0;
    top:0;
    background: transparent;
    color: #000;
    font-size: 24px;
}

.menu-toggle {}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: flex;
	}

	#site-navigation, #search-bar {}

/*
.page:not(.home) nav#site-navigation,
.blog nav#site-navigation,
	.single nav#site-navigation {width:auto;float:right;margin: 0 1em 0 0;}
	.page:not(.home) .site-branding,
	.blog .site-branding,
	.single .site-branding {display:inline-block;text-align:left;}
	.page:not(.home) #masthead,
	.blog #masthead,
	.single #masthead {background:#fafafa;}
*/
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/



/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.archive h1.page-title,
.search h1.page-title {text-align:center;}
.search .site-main {padding-bottom:4em;}

.wikisummary {border-bottom: thin dotted #222;}
.legend-inner .wiki, .legend-inner div[class^="wikisummary"] {
	border-bottom: none; 
	display:none;
	border-bottom: none;
    width: 350px;
    background: #fff;
    line-height: 1.4em;
    padding: 0px 10px 10px;
    margin-left: -100px;
    position: absolute;
    border: thin solid black;
    z-index:1;
}
.legend-inner div[class^="type-"] {cursor:pointer;}
.legend-inner div[class^="type-"]:hover div[class^="wikisummary"] {display:block;}

.sticky {
	display: block;
}

.hentry {
	margin: 0 auto 1.5em;
	width:100%;
	max-width:820px;
}

.single-craft .hentry {
	max-width:100%;padding:0 20px;
	background: rgba(255,255,255,0.8);
    z-index: 10;
    position: relative;
}

.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.single-post .heroimage {
	/*background: #212121 url(images/pattern_bwo.jpg);*/
}

.single-post .heroimage .holdwidth {position:relative;line-height:.8;max-width:820px;}
/*
.single-post .heroimage .holdwidth .entry-title {
	color:#fff;
	margin:20px;
	position:absolute;
	bottom:0;
}
*/
/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery-item {
	display: inline-block;
	line-height:.8em;
	margin: 0;
    
    vertical-align:bottom;
    max-width:100%;
}

#gallery .item-width-2 {max-width:33%;}
#gallery .item-width-2 img {max-width:100%;}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/* login screen */
.login h1 a {
    background-image: url(../images/w-logo-blue.png?ver=20131202);
    background-image: none,url(../images/wordpress-logo.svg?ver=20131107);
    -webkit-background-size: 84px;
    background-size: 84px;
    background-position: center top;
    background-repeat: no-repeat;
    color: #999;
    height: 84px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3em;
    margin: 0 auto 25px;
    padding: 0;
    text-decoration: none;
    width: 84px;
    text-indent: -9999px;
    outline: 0;
    overflow: hidden;
    display: block;
}

/* Front page elements */

#craft_feed, #craft_browser {
	padding-bottom: 80px;
	position:relative;
	background:white;
}

#craft_feed > h2 {text-align:center;}

@media screen and (max-width:767px) {
	#craft_feed, #craft_browser {
		padding: 0 10px 80px;
	}
}

#graphicelement {
	width:50px;
	height:100px;
	background:url(images/Orange_Element_4.png) no-repeat center;
	background-size:contain;
	position:fixed;
	z-index:10;
	right:5px;
	bottom:10vh;
	cursor:pointer;
	z-index: 1000;
}

@media screen and (min-width:768px) {
	#graphicelement {
		width:100px;
		height:200px;
		right:40px;
	}
}

#craft_feed .holdwidth {max-width:950px;}
#craft_feed h1 {
	text-align:center;
}

#craft_feed .item {
	position:relative;
	float:left;
	text-align:center;
	margin:0 0 2em 0;
	line-height:0;
	width:auto;
}

#craft_feed {max-width:1024px;margin:0 auto;}
#craft_feed .grid-sizer, #craft_feed .item {width:32%;} /*Nr of columns*/

#craft_feed .item a {color:inherit;text-decoration:none;}
.gridItemSeparator {width:45px;border-bottom: 1px solid #d8d8d8;margin:1em auto 0;}

#craft_browser .item {
	width:225px;
	position:relative;
	margin:0;
	padding:7px;
	line-height:0;
}

@media screen and (max-width:767px) {
	#craft_feed .item, #craft_browser .item {width:45%;margin: 0 5% 15px 0;}
}

.item .type, .item .region {
	font-size:12px;
	letter-spacing:.5px;
}

.item .title-inner h3 {
	margin: 0;
	padding: 4px 4px 0 0;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
    font-family:'Open Sans', sans-serif;
}

.title-inner {
	background: rgba(255,255,255,0.8);
	line-height:1.25em;
	width: 100%;
    text-align: center;
    padding: .5em;
    /*display:none;
    position:absolute;
	bottom: 0;*/
}

.item:hover .title-inner {
	display:block;
}

#craft_feed a.more {float:right;}

#filter {
	max-width:950px;
	margin: 0 auto 2em;
}

 .page-template-crafts-page #filter {
 	margin: 0 20px 20px;
 }

#filter label {font-size:12px;}

#filter button {
	background:#fff;
	border:thin solid #888;
	color:#222;
	margin:0 -1px 5px 0;
	padding:2px 5px;
	font-family:'Open Sans';
	font-weight:300;
}

#filter .button-group {
	display:inline-block;
	margin-right:20px;
}
#filter button:hover,
#filter button.is-checked {
	background: white;
    border-color: #ff8200;
    color: #ff8200;
}

#filter select {color:#222;font-family:'Open Sans';font-weight:300;font-size: 12px;margin: 0 1.5em 0 0;border:thin solid #666;}

body .fancybox-skin {background:#fff;border-radius:0;}
.horizontal-grey {
	position:relative;
	color:#000;
}

#craft-feature {    padding: 2em 0;}
@media screen and (min-width:768px){
	#journal .content-wrapper,
	#craft-feature .content-wrapper {
		display:flex;
		justify-content:center;
		margin-bottom:1.5em;
		position:relative;
		align-items: center;
	}
}

.wpcf7 input {
	line-height:25px;
	width:100%;
}

.page-id-18 .wpcf7 {max-width:450px;}
.blog .hentry {padding-bottom:40px;}
.pattern-separator {
}

.page h1.entry-title {text-align:center;}

.entry-meta {
	font-size: 12px;
    color: #373737;
    font-weight: 300;
}
.readmore {
	text-decoration:underline;
	font-weight:300;
}

@media screen and (min-width:481px) {

	.content-left {float:left;width:50%;text-align:right;}

	.content-right {
		float:right;
		width:50%;
	}
	#journal p {max-width:450px;}
	.blog .hentry p {max-width:450px;margin-top:0;}

}

.content-right {
	padding: 0 20px 20px;
}

.single-craft .gallery-item {
	margin:0 0;
}

ul.slides {margin:0;padding:0;}
ul.slides li {list-style:none;}
.flex-direction-nav {display:none;}
.blog .hentry {max-width:100%;margin-bottom:0;}

.entry-footer {
	max-width: 1024px;
    margin: 0 auto;
    clear:both;
}

.site-description { }

/* MAPS */

.acf-map {
	width: 100%;
	height: 100vh;
	margin: 0 0 20px;
	position:relative;

}
.map_all {
	/*width:100%;
	height:100vh;*/
}

p.map-explainer  {
	text-align:center;
	font-size:14px;
	margin:-30px 0 0;
	font-family: "Courier New", monospace;
    position: relative;
    z-index: 999;
}

@media screen and (min-width:481px) {
	/*.home header {
		position: absolute;
		left: 50%;
		margin-left: -125px !important;
	}
	.map_all { position:fixed; top:40px; }
	.home #main, .craft-main {padding-top:95vh;}
	*/

}


.map_single .acf-map {height:250px;}

/* Craft detail page */

.infobox {
	background:#fff;
	border:thin solid #222;
	padding:1em;
	margin-bottom:1.5em;
}

.infobox span:after {
	content:", ";
}

.infobox:empty, .footnotes:empty {border:0 none;}

.infobox span:last-child:after {
	content:"";
}
.footnotes {
	border: thin solid #222;
    padding: 1em;
    margin-bottom: 1.5em;
    font-size: 12px;
}
.footnotes p {}

.infobox h5, .footnotes h5 {font-size:1em;margin:0;}

#gallery img {max-width:350px;}

.single-craft #gallery img {max-width:100%;}

.gm-style > div:first-child > div + div > div:last-child > div > div:first-child > div {
    /* we have to use !important because we are overwritng inline styles */
    background-color: transparent !important;
    width: auto !important;
    height: auto !important;
    
    box-shadow: none !important;
    border: 0 none!important;
}


/* arrow colour */
.gm-style > div:first-child > div + div > div:last-child > div > div:first-child > div > div > div
{
    display: none;
}

/* close button */
.gm-style > div:first-child > div + div > div:last-child > div > div:last-child
{
    margin-right: 5px;
    margin-top: 5px;
}

/* image icon inside close button */
.gm-style > div:first-child > div + div > div:last-child > div > div:last-child > img
{
    display: none;
}

/* positioning of infowindow */
.gm-style-iw
{
    top: 45px !important;
    left: 22px !important;
}
.gm-style .gm-style-iw {font-size:1.3rem;font-family: "Playfair Display", serif;height:49px;}
.gm-style .gm-style-iw * {overflow:visible!important;}
.gm-style .gm-style-iw a span {background-color:#fff1e0;padding:0 4px;}

.gm-style .attachment-tiny {
	position:relative;
	left: -5px;
    top: -16px;
    transform: rotate(-45deg);
    position: relative;


}

.gm-style .thumbimg{
	transform: rotate(-90deg);
    display: inline-block;
}

body .leaflet-container a.leaflet-popup-close-button {color:#da5a47;}

.green {background:#42ab9e}
.purple {background:#8367d8}
.rust {background:#d14836}

.site-content {min-height:80vh;}

select {
    /*-webkit-appearance: none;
    border: 0 none;*/
    border-radius: 0;
    padding: 3px 5px;
    background: #fff;
    font-size: .9em;
    color:#000;
    width:180px;
}

select:focus {outline:none;}
.select-wrapper {border: thin solid black;display:inline-block;margin-bottom:1.5em;position:relative;}
.select-wrapper:after {
	content: " ";
    border: 5px solid transparent;
    border-top: 5px solid #000;
    position: absolute;
    right: 5px;
    top: 10px;
}

@media screen and (min-width:768px) {
	.left-column {display:inline-block;width:27%;margin-top:20px;vertical-align:top;}
	.middle-column {display:inline-block;width:45%;padding-left:20px;position:relative;}
	.right-column {display:inline-block;width:27%;padding-left:20px;padding-top:20px;vertical-align:top;}
	.terms-icons {    
	position: absolute;
    right: 17px;
    top: 30px;}
}

.terms-icons img {margin-left:10px;}


#relatedposts {margin:0 20px 40px;padding:20px 0;border-top:thin solid #121212;display:flex;justify-content:space-between;}
#relatedposts .item {
    line-height: 1.25em;
    text-align: center;
}

#relatedposts .item h3 {
	    margin: 0;
    padding: 4px 4px 0 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Open Sans', sans-serif;
}
.map-wrap {
	position:relative;
	background:#c0dde6;
	width: calc(100vw - 20px);
    margin: 0 auto;
}


.info {
	color:#fff;
    font-family: "Playfair Display";
    font-size: 18px;
    background: #da5a47;
    display:inline-block;
    border-radius:15px;
    width:30px;
    line-height:30px;
    text-align:center;
    padding:0!important;
    margin-right:10px;
}

@media screen and (max-width:480px) {
	#map-wrap {overflow:hidden;}
	#graphicelement {right:20px;}
	nav#site-navigation {margin:0;}
	.main-navigation li {float:none;}
}

.legend-inner {
	display:flex;
	justify-content:center;
	color:#121212;
	font-size:12px;
	width:calc(100vw - 20px);
	margin:10px 10px 0;
	padding:5px;
	text-align:left;
	font-family:'Open Sans';
}
.legend-inner div:first-child {display:none;}
.legend-inner div {line-height:30px;padding:0 .75em;}

.legend-inner img{
	    vertical-align: middle;
	    margin-right:5px;
	    opacity:0.8;
}
.legend-inner::before {
	content: " ";
    border-right: 10px solid rgba(255,255,255,0.9);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 0 none;
    position: absolute;
    left: -10px;
    bottom: 15px;
}

#map-legend:hover .legend-inner {
	visibility:visible;
}

.footnotes ol, .footnotes ul {
	margin-left:0;
	padding-left:10px;
}

.gallery figcaption {
	display:none;
	position:absolute;
	background:rgba(255,255,255,0.9);
	font-size:12px;
	max-width:250px;
	z-index: 1;
    padding: 5px;
    line-height: 1.5em;
}

.slides figcaption {display:block;position:static;color:#bbb;max-width:100%;}
/*
.gallery figcaption:before {
	content:" ";
	border-top:0 none;
	border-bottom:10px solid #fff;
	border-left:10px solid transparent;
	border-right:10px solid transparent;
	position:absolute;
	top: -10px;
    left: 20px;
}*/

.gallery .gallery-item:hover figcaption {
display: block
}

.fancybox-skin {border-radius:0;}



/* fades in by javascript */
.map_all, #craft_feed {opacity:0;}

#map.leaflet-container .leaflet-bottom .leaflet-control-attribution {background:transparent;}
#map .leaflet-bottom .leaflet-control-attribution a {color: #2f373d;}
#map.leaflet-touch .leaflet-control-layers, 
#map.leaflet-touch .leaflet-bar {border:0px none;}
#map .leaflet-bar a,
#map .leaflet-bar a:hover {background:transparent;border-bottom:0 none;color:#da5a47;}
#map .marker-cluster-small {
  background-color: rgba(96, 150, 171, 0.46);
  }
#map .marker-cluster-small div {
  background-color: rgba(102, 170, 195, 0.9);
  }

#map .marker-cluster-medium {
  background-color: rgba(232, 151, 68, 0.5)
  }
#map .marker-cluster-medium div {
  background-color: rgba(230, 156, 80, 0.7)
  }

#map .marker-cluster-large {
  background-color: rgba(228, 100, 83, 0.6)
  }
#map .marker-cluster-large div {
  background-color: rgba(191, 72, 57, 0.7)
  }

  .leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
	-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
	-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
	-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
	transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}

.leaflet-cluster-spider-leg {
	/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
	-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
	-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
	-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
	transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
}


/* IE 6-8 fallback colors */
.leaflet-oldie .marker-cluster-small {
	background-color: rgb(181, 226, 140);
	}
.leaflet-oldie .marker-cluster-small div {
	background-color: rgb(110, 204, 57);
	}

.leaflet-oldie .marker-cluster-medium {
	background-color: rgb(241, 211, 87);
	}
.leaflet-oldie .marker-cluster-medium div {
	background-color: rgb(240, 194, 12);
	}

.leaflet-oldie .marker-cluster-large {
	background-color: rgb(253, 156, 115);
	}
.leaflet-oldie .marker-cluster-large div {
	background-color: rgb(241, 128, 23);
}

.marker-cluster {
	background-clip: padding-box;
	border-radius: 20px;
	}
.marker-cluster div {
	width: 30px;
	height: 30px;
	margin-left: 5px;
	margin-top: 5px;

	text-align: center;
	border-radius: 15px;
	font: 12px "Courier New", Arial, Helvetica, sans-serif;
	}
.marker-cluster span {
	line-height: 30px;
	}
  
.blog h1.entry-title {
	text-align: center;
    margin: 0 0 60px;
    font-size: 3em;
}

.blog h2.entry-title {font-size:2.2em;}

h2.entry-title a {color:#000;}
aside#text-4 {
	position: relative;
   font-size:0.8em;
    margin: 0;
    padding: 0;
}

aside#text-3 {margin:0;padding:0;}

#text-4 a {color:whitesmoke;}
.sociallinks {
	
	display:inline-block;
	overflow:hidden;
	background:url(images/socialmedia.png);
	margin-right:10px;
	width: 24px;
    height: 27px;
    background-size: 90px;
}

.twitter.sociallinks {
	background-position: -30px 0;
}

.twitter.sociallinks:hover {
	background-position: -30px 25px;
}

.youtube.sociallinks {
	background-position: 22px 0;
}

.youtube.sociallinks:hover {
	background-position: 22px 25px;
}

.facebook.sociallinks {
	background-position: 0 0;    
}

.facebook.sociallinks:hover {
	background-position: 0 25px;
}

#intro {text-align: center; padding: 2em;}
#intro p {
	max-width: 650px;
    margin: 0px auto 1.5em;
}
#intro hr {max-width:1024px;margin-bottom:0;}


#map {width:100%;height:85vh;}
.leaflet-container h3 a {color:#000;}
.leaflet-container h3 {margin:0.5em 0;}
#map .leaflet-popup-content-wrapper {border-radius:3px;}
#map .leaflet-popup-content {margin:10px;min-width:225px;}

.map_single #map {
	    width: 100%;
    height: 300px;
    background: #fafafa;
    margin-bottom: 20px;
}

 .leaflet-popup-content > div, .leaflet-popup-content > div > p {max-width:225px;}

 body .leaflet-popup-content p { margin: 7px 0; }
.leaflet-popup-content p a {color:#da5a47;}
 /*.leaflet-popup-content > div {background:rgba(255,255,255,0.75);position: absolute; bottom: 10px;padding: 5px;}*/

.leaflet-popup-content img {width:225px;height:auto;}

body .leaflet-container {
    font: 12px/1.5 "Open Sans", sans-serif;
}

/* FOOTER */

aside#text-3,
aside#text-4 {width:50%;}
#text-4 ul {margin-left:0;padding-left:0;}
#text-4 ul li {
	list-style: none;
    display: inline-block;
    margin-left: 10px;
}

/* Journal styling*/

.blog .tags-links {display:none;}

.single-post.journal h1.entry-title {text-align:center;}

.single-post.journal article p:first-child {
	font-size: larger;
    font-family: "Playfair Display", serif;
}

.single-post.journal article {margin-bottom:5em;}

@media screen and (max-width:767px) {
.single-post.journal article { padding: 0 1em; }
}

/* Social Section */
#social {
	background: #fafafa;
    text-align: center;
    padding: 1em 0 2em;
    margin-bottom: 2em;
}

.admin-bar #social {display:block;}

.social-wrap {
	display: flex;
    align-items: center;
    margin: 0 auto;
    max-width: 320px;
    justify-content: space-around;
    width: 100%;
}

#connect {
	background: #f4e7e1;
    text-align: center;
    padding: 1em 2em 3em;
}

#connect a {color:inherit;text-decoration:underline;}

#connect p {font-family:"Playfair Display", serif;}

footer .social-wrap {
	display: flex;
    align-items: center;
    margin: 0 auto;
    max-width: 100%;
    justify-content: flex-end;
    width: 100%;
}

footer .social {margin-right:15px;}

.social-wrap h3 {}

a.social {
	display:inline-block;
	width:25px;
	height:25px;
	overflow:hidden;
	background: url(images/social24.png);
	font-size:0;
	padding-left:25px;
}
.social span {display:none;}

#twitter.social {background-position:-42px 0;}
#facebook.social {background-position:-84px 0;}
#instagram.social {background-position:0 0;}
#pinterest.social {background-position:-125px 0;}


footer #twitter.social {background-position:-42px 71px;}
footer #facebook.social {background-position:-84px 71px;}
footer #instagram.social {background-position:0 71px;}
footer #pinterest.social {background-position:-125px 71px;}

#twitter.social:hover {background-position:-42px -48px;}
#facebook.social:hover {background-position:-84px -48px;}
#instagram.social:hover {background-position:0 -48px;}
#pinterest.social:hover {background-position:-125px -48px;}

.mc4wp-form-66 input[type="email"]{
 	border: 0 none;
    font-size: 16px;
    padding: 5px 10px;
    width: 320px;
    max-width:100%;
    border-radius: 3px;
    margin: 0 .5em 1em 0;
 }

.mc4wp-form-66 input[type="submit"] {
 	padding: 5px 10px;
    font-size: 16px;
    border-radius: 3px;
    width: 120px;
 }

.single-craft .shariff {
	display: flex!important;
    align-items: center;
    margin-top: 5em;
    justify-content: right;
}

.ShariffHeadline {font-family:"Playfair Display";font-weight:bold;margin-right:10px;}

.europeana-results {    
	border-top: thin solid black;
    margin-top: 2em;}

    /* NEW single template crafts */

.single-craft nav#site-navigation {margin-bottom:-1px;}
.single-craft article.hentry {padding: 0 0 3em;}
	section#header {
		position: relative;
    	text-align: center;
    	overflow:hidden;
	}
	#main-image { position: absolute;top: 0; filter: brightness(0.85); width:100%; }
	#main-image img {width:100%;}
	section#header h1 {    
		position: relative;
	    text-align: center;
	    width: 100%;
	    color: #fff;
	    font-size: 4em;
	    font-style: italic;
	    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
	    padding: 125px 0;
	    margin-top:0;
	}
	section#summary {    
		position: relative;
	    z-index: 1;
	    background: #fff;
	    max-width: 640px;
	    margin: -125px auto 1.5em;
	    padding: 10px 30px;
	}
	section#summary p:first-child {font-weight:bold;}
	section#gallery {background:#f9f9f9;padding:1em;min-height:75px;}
	section#gallery img {max-width:100%;}


	.grid-sizer, .object, .iso > .item {width:25%;}

@media screen and (min-width:481px) and (max-width:767px) {
	.grid-sizer, .object, .iso > .item {width:30%;}
}

@media screen and (max-width:480px) {
	.grid-sizer, .object, .iso > .item {width:100%;}

}


	

#objects {
	opacity:0;
}
.object {    
	background: #fff;
	padding: 10px;
	text-align: center;
}
.object figcaption {
	position: absolute;
    bottom: 0;
    background: rgba(255,255,255,0.7);
    display: block;
    width: 100%;
    padding: 5px;
    font-family: "Courier New";
    font-size: 12px;
    text-align:left;
}
section#article-body {
    background: #fff;
    padding: 1em;
    text-align: center;
}

#article-body .inner {
	column-count: 2;
	column-gap:3em;
    text-align: justify;
    max-width: 980px;
    margin: 6em auto 3em;
}

#article-body .inner:empty {margin:0;}

#article-body .inner h2:first-child {margin-top:-2.3em;}

section#map {
	background:#fafafa;
	height:300px;
	max-width: 980px;
	margin: 0 auto;
}

section .infobox {border:0 none;text-align:center;}

section .footnotes {
	border: 2px solid #f2f2f2;
	font-family:"Courier New",monospace;
	max-width: 720px;
	margin: 0 auto;
	font-size:14px;
}

section .footnotes h5 {
	font-family: "Open Sans";
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
section .footnotes p {margin:0 0 1em;}
section .footnotes a {color:#222;}

article section {position:relative;}

footer#footer {padding:2em;background:#f6f6f6;min-height:200px;}

button,.btn {display:block;margin:0 auto; padding:7px 12px;border:thin solid black;background:#fff;font-size:10px;cursor: pointer;color:#000;}

button.btn:hover {background:#fff;color:#d14836;border-color:#d14836;}

.single-craft section .shariff {justify-content:center;margin: 1.5em auto;}

.section-title {font-style:italic;text-align:center;}



