/*
	Theme Name:		Sterling Adventures
	Template:		twentysixteen
	Author:			Peter Sterling
	Author URI:		http://www.sterling-adventures.co.uk/services/
	Description:	Customised theme for Sterling Adventures.
	Version:		1.2
	License: 		(c) Peter Sterling
*/

@font-face {
	font-family: handel;
	src: url('HandelGothic.ttf');
}

.custom-logo { float: right; }

.site-main > article {
	margin-bottom: 24px;
}

.site-title {
	display: inline-block;
	line-height: 1;
	margin-bottom: 10px;
	font-size: 1.2em;
}

.site-branding {
	margin: 0;
	width: 100%;
}

@media screen and (max-width: 56.875em) {
	.site-branding {
		text-align: center;
	}
}

.site-branding .site-title a {
	font-family: handel,arial,sans-serif;
	font-size: 2em;
	color: red !important;
}

.site-description {
	font-family: arial,sans-serif;
	line-height: 1;
	font-size: 1em;
	font-style: italic;
	margin: 0;
}

.site-header-menu {
	width: 100%;
}

.site-header {
	padding-top: 2.2em;
	padding-bottom: 0px;
}

.primary-menu {
	text-align: center;
	background-color: #aaaaaa;
}

.menu-item {
	display: inline-block;
}

.main-navigation .primary-menu > li {
	float: none;
}

.primary-menu a {
	color: white !important;
}

.sub-menu a {
	color: #1a1a1a !important;
}

.primary-menu a:hover,
.main-navigation .current-menu-item > a:hover {
	color: red !important;
}

.main-navigation .current-menu-item > a {
	color: black !important;
}

.widget .widget-title {
	font-family: handel,arial,sans-serif;
	text-transform: none;
	font-size: 1.6em;
	margin: 0;
	color: black;
}

.widget {
	padding: 10px;
	background-color: #aaaaaa;
	border: none;
	margin-bottom: 24px;
}

.home .widget, .page-template-wide-page .widget {
	border: none;
}

.widget strong {
	font-family: courier;
	font-size: 1.3em;
	color: black;
}

.widget a {
	color: white;
}

.widget a:hover {
	color: red;
}

body:not(.single-post) #content-bottom-widgets section.widget_text {
	padding: 0;
}

.content-bottom-widgets {
	border-top: 4px solid #1a1a1a;
	padding-top: 24px;
}

#content-bottom-widgets section.widget_text {
	background-color: transparent;
}

.last_widget p {
	margin: 0;
}

.archived-control {
	margin-bottom: 0 !important;
}

.entry-content ul {
	margin: 0 40px;
}

.entry-header {
	margin-bottom: 12px;
}

.entry-title {
	font-family: handel,arial,sans-serif;
	color: red;
	font-size: 2em;
	line-height: 1;
	margin-bottom: 0;
}

header .entry-date {
	color: #aaaaaa;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 10px;
	line-height: 1.6153846154;
	margin-bottom: 0;
}

header .entry-date a {
	color: #aaaaaa;
}

header .entry-date a:hover {
	color: red;
}

.site-footer {
	font-family: arial,sans-serif;
}

.entry-footer img {
	vertical-align: middle;
	display: inline-block !important;
	margin-top: -4px;
}

.entry-footer a {
	box-shadow: none;
	color: #666666 !important;
}

.entry-footer a:hover {
	color: red !important;
}

.entry-footer {
	color: gray;
	margin-top: 20px !important;
	padding-top: 12px;
	width: 100% !important;
	float: none !important;
}

.edit-link {
	display: inline-block;
	float: right;
}

article .entry-content {
	float: none !important;
}

@media screen and (min-width: 56.875em) {
	article .entry-content {
		width: 100% !important;
	}
}

.excerpt, .excerpt strong {
	vertical-align: top;
	line-height: 1;
}

.excerpt a {
	vertical-align: top;
}

a img:hover {
	box-shadow: 0px 0px 6px darkGray;
}

.entry-content figure a {
	box-shadow: none;
}

.index-link-image:hover {
	box-shadow: none !important;
	transform: scale(1.1);
}

.index-link {
	display: inline-block;
	float: left;
	margin-right: 12px;
	margin-bottom: 8px;
	overflow: hidden;
	position: relative;
}

.index-link-image {
	transition: all 0.2s ease;
	margin-right: 0 !important;
}

article.post h1.entry-title a,
article.post h2.entry-title a {
	color: red;
}
article.venue h1.entry-title a,
article.venue h2.entry-title a {
	color: royalBlue;
}
article.page h1.entry-title a,
article.page h2.entry-title a {
	color: green;
}

.cat-links, .tags-links, .edit-link, .comments-link {
	display: inline !important;
}

.byline {
	display: block !important;
	margin-top: 7px;
}

.entry-footer img.avatar {
	width: 22px !important;
	height: 22px !important;
}

h1.entry-title.index-page, footer.entry-footer.index-page {
	margin-bottom: 8px;
	margin-top: 0 !important;
	padding: 0;
}

footer.entry-footer.index-page {
	margin-top: 12px !important;
	margin-bottom: 12px;
}

#country-widget-list li {
	background: none !important;
}

#recentcomments, #recentcomments td {
	border: none;
	padding: 0;
}

#recentcomments td:first-child {
	width: 50px;
	text-align: center;
	padding: 0;
	vertical-align: top;
}

.widget ul#menu-pages li {
	display: list-item;
}

.widget ul#menu-pages {
	margin-bottom: 0;
}

.adventures_like_button {
	width: 100px;
	height: 20px;
	overflow: hidden;
}

.main-navigation ul ul li {
	background-color: white !important;
}

.main-navigation ul ul:after {
	border-top-color: white !important;
	border-bottom-color: white !important;
}

table {
	table-layout: auto;
}

table, td, th {
/*	border: 1px solid white; */
}

* h1, * h2, * h3, * h4 {
	text-transform: none !important;
}

@media screen and (min-width: 56.875em) {
	.page-template-wide-page .content-area, div.front-page {
		float: left;
		margin-right: -100%;
		width: 100%;
	}
}

.more-link {
	vertical-align: top;
}

.image-meta {
	display: inline-block;
}

.image-navigation {
	border-top: none;
	border-bottom: none;
}

.image-navigation .nav-next:not(:empty):before {
	content: '' !important;
}

.image-navigation .nav-previous {
	width: 49%
}

.image-navigation .nav-previous, .image-navigation .nav-next {
	opacity: 1 !important;
}

.image-navigation .nav-previous a, .image-navigation .nav-next a {
	text-transform: uppercase;
	color: #686868;
}

.image-navigation .nav-previous a:hover, .image-navigation .nav-next a:hover {
	color: #dd0000;
}

.post-navigation div + div {
	border: none;
}

.nav-previous, .nav-next {
	width: 50%;
	vertical-align: top;
	margin: 0;
	display: inline-block;
}

.nav-next {
	text-align: right;
}

.post-thumbnail img.wp-post-image {
	margin: 0 auto;
}

blockquote,
blockquote cite {
	font-size: 16px;
}

cite {
	display: inline-block;
	float: right;
}

strong, b {
	font-weight: bold !important;
}


/* ICONS */

.mini-icons {
 	width: 16px;
	height: 16px;
	overflow: hidden;
	background-image: url('images/mini-icons.png');
	background-repeat: no-repeat;
	background-size: 288px 16px;
	display: inline-block;
	margin: 2px 4px -3px 4px;
	vertical-align: top;
}
.icon-comment		{ background-position: 0px 0; }
.icon-camera		{ background-position: -16px 0; }
.icon-folder		{ background-position: -32px 0; }
.icon-carabiner		{ background-position: -48px 0; }
.icon-calendar		{ background-position: -64px 0; }
.icon-edit			{ background-position: -80px 0; }
.icon-tag			{ background-position: -96px 0; }
.icon-rss			{ background-position: -112px 0; }
.icon-user			{ background-position: -128px 0; }
.icon-link			{ background-position: -144px 0; }
.icon-archive		{ background-position: -160px 0; }
.icon-attachment	{ background-position: -176px 0; }
.icon-tick			{ background-position: -192px 0; }
.icon-down			{ background-position: -208px 0; }
.icon-right			{ background-position: -224px 0; }
.icon-left			{ background-position: -240px 0; }
.icon-up			{ background-position: -256px 0; }
.icon-page			{ background-position: -272px 0; }


/* Categories, Tags, Series, Comment, Mapping, etc. tagging */

.comments-link a, .tags-links a, .cat-links a, .series-link a, .maps-link {
	height: 24px;
	line-height: 24px;
	position: relative;
	padding: 3px 10px 4px 12px;
	white-space: nowrap;
}

.tags-links a {
	margin-left: 12px;
	background: rgba(245, 222, 179, 0.7);
	-moz-border-radius-bottomright: 4px;
	-webkit-border-bottom-right-radius: 4px;
	border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-webkit-border-top-right-radius: 4px;
	border-top-right-radius: 4px;
}

.series-link a, .cat-links a, .maps-link {
	background: rgba(154, 205, 50, 0.7);
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.posted-on {
	line-height: 14px;
}
.posted-on a time {
	color: white;
}

.series-link a {
	background: rgba(240, 230, 140, 0.7);
}

.maps-link {
	background: rgba(0, 255, 0, 0.7);
}

.comments-link a {
	margin-right: 20px;
	background: rgba(173, 216, 230, 0.7);
	-moz-border-radius-bottomleft: 4px;
	-webkit-border-bottom-left-radius: 4px;
	border-bottom-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-webkit-border-top-left-radius: 4px;
	border-top-left-radius: 4px;
}

.tags-links a:before {
	content: "";
	float: left;
	position: absolute;
	top: 0;
	left: -12px;
	width: 0;
	height: 0;
	border-color: transparent rgba(245, 222, 179, 0.7) transparent transparent;
	border-style: solid;
	border-width: 11px 12px 12px 0;		
}

.comments-link a:before {
	content: "";
	float: right;
	position: absolute;
	top: 0;
	right: -12px;
	width: 0;
	height: 0;
	border-color: transparent transparent transparent rgba(173, 216, 230, 0.7);
	border-style: solid;
	border-width: 11px 0 12px 12px;		
}

.tags-links a:after {
	content: "";
	position: absolute;
	top: 10px;
	left: 0;
	float: left;
	width: 4px;
	height: 4px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	background: gray;
}

.entry-footer > span:not(:last-child):after {
	content: "";
	padding: 0;
}

.series-link a:hover, .comments-link a:hover, .cat-links a:hover, .tags-links a:hover, .maps-link:hover {
	color: white !important;
	background: red;
	text-decoration: none;
	box-shadow: none !important;
}	

.maps-link a:hover {
	color: white !important;
	text-decoration: none;
	box-shadow: none !important;
}

.tags-links a:hover:before {
	border-color: transparent red transparent transparent;
}

.comments-link a:hover:before {
	border-color: transparent transparent transparent red;
}

.tags-links a:hover:after {
	background: white;
}


/* SLIDESHOW */

.slideshow-container {
	margin-left: -40px !important;
}

.sa-slideshow-controls {
	background-image: url('slideshow/stop-play-pause-close.png');
	background-repeat: no-repeat;
	background-size: 96px 24px;
	width: 24px;
	height: 24px;
	position: absolute;
	z-index: 9999;
	opacity: 0.5;
}

.sa-slideshow-controls:hover {
	opacity: 1;
}

.slideshow-start {
	background-position: -24px 0;
	top: 0;
	right: 0;
}

.slideshow-start-big {
	background-size: 200px 50px;
	width: 50px;
	height: 50px;
	background-position: -50px 0;
}

.slideshow-stop		{	background-position: 0 0;		}
.slideshow-play		{	background-position: -24px 0;	}
.slideshow-pause	{	background-position: -48px 0;	}
.slideshow-close	{	background-position: -72px 0;	}

.slideshow-pause, .slideshow-play, .slideshow-close {
	background-color: black;
	position: fixed;
	bottom: 0;
	right: 0;
}

.slideshow-close {
	top: 0;
}

.slideshow-images {
	position: fixed;
	z-index: 999999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: black;
	padding: 0 24px;
	display: none;
}

.content-area {
	clear: both;
}

#slides {
	margin: 0;
	list-style: none;
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: 0;
}

#slides li {
	-webkit-backface-visibility: hidden;
	position: absolute;
	display: none;
	left: 0;
	top: 0;
	width: 100%;
}

#slides img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	max-height: 100vh;
	border: 0;
}

#slideshow_container {
	position: relative;
	float: left;
	width: 100%;
	margin-bottom: 14px;
}

.caption {
	display: block;
	position: absolute;
	z-index: 2;
	font-family: arial,sans-serif;
	font-size: 12px;
	text-shadow: none;
	color: white;
	background: rgba(0, 0, 0, 0.5);
	left: 0;
	right: 0;
	bottom: -1px;
	padding: 4px 12px;
	margin: 0;
	max-width: none;
	text-align: right;
}

.wp-caption-text em {
	font-weight: bold;
}

figcaption {
	background-color: black;
	color: #dddddd !important;
	text-align: center;
	line-height: 2 !important;
	padding: 0 !important;
	font-size: 12px !important;
	font-style: italic;
	text-align: center !important;
	margin-top: 0 !important;
}

.entry-caption {
	background-color: black;
	color: #dddddd !important;
	padding: 4px;
}

.entry-attachment {
	text-align: center !important;
}

.slideshow_nav {
	z-index: 3;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	text-indent: -9999px;
	overflow: hidden;
	text-decoration: none;
	width: 38px;
	background: black url("slideshow/nav.gif") no-repeat left 50%;
	bottom: 28px;
}

.slideshow_nav:hover {
	opacity: 0.7;
}

.slideshow_nav:active {
	opacity: 1.0;
 }

.slideshow_nav.next {
	left: auto;
	background-position: right 50%;
	right: 0;
}

.slideshow_nav:focus {
	outline: none;
}

.slideshow_tabs {
	z-index: 9998;
	position: relative;
	margin: 0px;
	text-align: center;
	opacity: 0;
}

.slideshow_tabs:hover {
	opacity: 1;
}

.slideshow_tabs li {
	display: inline;
	float: none;
	margin-right: 5px;
 }

.slideshow_tabs a {
	text-indent: -9999px;
	overflow: hidden;
	border-radius: 15px;
	background: gray;
	display: inline-block;
	width: 9px;
	height: 9px;
}

.slideshow_here a {
	background: white;
}

.jp-recaptcha-contain {
	margin-bottom: 24px;
}

/* Dark Mode */

body.dark {
	color: #eeeeee;
}

body.dark > .site {
	background-color: #333333;
}

body.dark .primary-menu,
body.dark .widget {
	background-color: #555555;
}

body.dark a img:hover {
	box-shadow: 0px 0px 6px white;
}

body.dark figcaption,
body.dark .entry-caption {
	background-color: transparent;
}

/* Carousel */

@media screen and (max-width: 56.875em) {
	.attachment-carousel {
		margin: 0 7.6923% 3.5em;
	}
}

.attachment-carousel {
	border-top: 4px solid #1a1a1a;
	padding-top: 1.217391304em;
	padding-bottom: 24px;
}

.attachment-carousel h2 {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
}

.attachment-carousel div {
	text-align: center;
}

.attachment-carousel div img.attachment-thumbnail {
	box-sizing: border-box;
	padding: 8px;
	max-width: 100px;
}

.attachment-carousel div img.attachment-thumbnail.current {
	background-color: rgba(255, 0, 0, 0.5);
}

.product_box {
	color: black;
}

.button {
	background: black;
	border: 0;
	border-radius: 2px;
	color: white;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-weight: 700;
	letter-spacing: 0.046875em;
	line-height: 1;
	padding: 0.84375em 0.875em 0.78125em;
	text-transform: uppercase;
}

.button:hover {
	background: red;
	color: white;
}

.reply {
	margin-top: 12px;
}

.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
	border: none;
}