/*
Theme Name: mytheme
Author: jaap
Author URI: http://jaapdankert.nl
Description: mytheme specifics
Template: jld
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: stl
Tags:
*/

/*--------------------------------------------------------------
# Fontpack by fontsquirrel
--------------------------------------------------------------*/
@font-face {
    font-family: 'Opensans';
    src: url('fonts/opensans-light-webfont.woff2') format('woff2'),
         url('fonts/opensans-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('fonts/quicksand-light-webfont.woff2') format('woff2'),
         url('fonts/quicksand-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*--------------------------------------------------------------
# General Layout
--------------------------------------------------------------*/
body { min-width: 320px; }
body.admin-bar .header-area { margin-top: 0; }
.main-page { max-width: none; }
.main-content-area {
	padding-top: 0;
} 
.inner { margin: 0; }
#content { position: relative; }

.entry-header h1 {
    padding: 6px 13px;
    margin-left: -15px;
    margin-right: -15px;
	line-height: 1.1em;
}
.entry-title h1 { display: inline-block; }
p {
    margin-top: .5em;
    margin-bottom: .5em;
}

/*--------------------------------------------------------------
# Non-frontpage Layout
--------------------------------------------------------------*/
body.page #main,
body.single #main {
	padding: 50px 15px;
}

/*--------------------------------------------------------------
# General style
--------------------------------------------------------------*/
body {
	background: silver;
}
body, button, input, select, textarea {
	font-family: 'Opensans', sans-serif;
	color: #1d1d1d;
}
.title, h1,h2,h3,h4,h5,h6 {
	font-family: 'Quicksand', sans-serif;
	margin: .5em 0 5px;
}
#fp-nav ul li .fp-tooltip.fp-left,
/* #fp-nav ul li a:hover, */
/* #fp-nav ul li a.active, */
/* .fp-slidesNav ul li a.active, */
#header-left,
#header-right,
.site-title,
.main-navigation li,
.edit-link a,
.slide-extra-content,
.slide-image-caption,
.wp-post-content .entry-content {
	/* background: rgba(255, 255, 255, 0.7); */
	background: white;
}
/* #fp-nav ul li .fp-tooltip.fp-left:hover, */
/* #fp-nav ul li a.active:hover, */
/* .fp-slidesNav ul li a.active:hover, */
#header-left:hover,
#header-right:hover,
.site-title:hover,
.main-navigation li:hover,
.edit-link a:hover,
.entry-header h1,
.slide-info:hover,
.wp-post-content .entry-content:hover {
	/* background: rgba(255, 255, 255, 0.9); */
	background: white;
}

/*--------------------------------------------------------------
# Menus, Links, Lists
--------------------------------------------------------------*/
.menu-main-container { height: 100%; }
.main-navigation ul {
    height: 100%;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    display: -webkit-flex;
    -webkit-flex-direction: row;
    display: flex;
    flex-direction: row;
}
.main-navigation li {
    text-align: center;
    flex-grow: 1;
	display: flex;
}
.main-navigation li a {
	font-family: 'Quicksand', sans-serif;
	font-size: 1.2em;	line-height: 1em;
	margin-top: auto; margin-bottom: auto;
}
a { color: #2b636d; font-weight: bold; }
a:hover { color: #0d798c; }
a:active { color: #0d798c; }
ol, ul { 
	list-style: none;
	margin: 0; padding: 0;
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
	-webkit-margin-start: 0;
	-webkit-margin-end: 0;
	-webkit-padding-start: 0;
}
.widget li { margin-bottom: 3px; }
#admin-left a, #admin-right a {
	font-size: 1.2em;	line-height: 1em;
	display: block; width: 100%;
}
.menu li.menu-item-home,
.menu li.current-menu-item a { display: none; }
input.search-submit { display: none; }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
	background: none; margin: 0 auto; height: auto; 
}
.headerwrapper {
	display: flex; padding: 5px;
}
#site-branding {
	flex: 1;
	margin: 0 5px;
	padding: 0;
	display: flex;
}
#site-navigation {
	position: static; max-width: none;
}
.main-navigation li { margin-right: 5px; }
#primary-menu { white-space: nowrap; height: 100%; }
.site-title {
	display: flex;
	height: 100%;
	font-size: 1.2em; line-height: 1em; 
	padding: 0 .5em;
}
.site-title a {
	margin-top: auto;
    margin-bottom: auto;
}
.site-description {
	margin-top: auto; margin-bottom: auto;
    margin-left: 1em; line-height: 1.2em;
	padding-top: 2px; /* to align the different fonts */
}

/*--------------------------------------------------------------
# Sidebars
--------------------------------------------------------------*/
/* body.admin-bar .sidebar-wrapper { margin-top: 31px; } */
#content { position: relative; }
.sidebar-wrapper { 
	position: fixed;
    width: 280px;
    transition: all 100ms ease-in 0s;
	z-index: 1000; 
    top: 0;
	max-height: 100%;
}
.sidebar-wrapper {
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
	box-shadow: 0px 0px 8px #00000012;
}
.sidebar-wrapper::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}
aside {
	padding: 1.5em .8em;
}
#sidebar-1-button,
#sidebar-2-button,
#header-left-button,
#header-right-button {
    width: 45px;
    height: 45px;
    display: block;
    z-index: 9000;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
	cursor: pointer;
}
#sidebar-1-button,
#header-left-button {
    background-image: url(visuals/menu.png);
}
#sidebar-2-button,
#header-right-button {
    background-image: url(visuals/phone.png);
}
#sidebar-1-button {
    position: absolute;
    left: 5px; margin-top: 5px;
}
#sidebar-2-button {
    position: absolute;
    right: 5px; margin-top: 5px;
}
#sidebar-1-wrapper {
    left: 0px;
}
#sidebar-2-wrapper {
    right: 0px;
}

#sidebar-1-wrapper.hidden { left: -280px; }
#sidebar-2-wrapper.hidden { right: -280px; }

#sidebar-1 { 
	border-right: 1px solid rgba(0,0,0,.1);
	text-align: right;
	
    background: url(visuals/perlin1.png);
	background-size: 100%;
    background-repeat: repeat-y;
    background-position: center;
}
#sidebar-2 { 
	border-left: 1px solid rgba(0,0,0,.1);
	
	background: url(visuals/perlin2.png);
	background-size: 100%;
    background-repeat: repeat-y;
    background-position: center;
}

/*--------------------------------------------------------------
# Footer (not used)
--------------------------------------------------------------*/
.footer-area {
	display: none;
	position: fixed;
    bottom: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    padding: 5px;
}
footer {
	margin: 0 -15px .5em -15px;
    padding: .4em .8em;
}

/*--------------------------------------------------------------
# Corners (not used)
--------------------------------------------------------------*/
#top-left,
#top-right,
#bottom-left,
#bottom-right { 
	position: fixed;
	z-index: 2000;
}
#top-left { 
	top: 0; left: 0; 
}
#top-right { 
	top: 0; right: 0; 
}
#bottom-left { 
	bottom: 0; left: 0; 
}
#bottom-right { 
	bottom: 0; right: 0; 
}
/* body.admin-bar #top-left, body.admin-bar #top-right { top: 30px; } */

/*--------------------------------------------------------------
# Fullpage (front page)
--------------------------------------------------------------*/
.fp-slides { 
    margin-top: -1px;
    border-bottom: 1px solid pink;
}
.fp-slides .slide {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.wp-post-content {
    position: absolute;
    left: 0; top: 0;
    z-index: 2;
    width: 100%;
    max-height: 90%;
    padding: 55px 20px 0 20px;
    overflow: hidden;
}
.wp-post-content .entry-content {
	padding: 10px 15px;
	margin-left: -15px;
	margin-right: -15px;
	max-width: 30em;
}
.wp-post-content .entry-title h1 {
	margin-top: 0;
}
.wp-post-content .entry-links {
	/* float: right; */
	/* text-align: right; */
	font-size: .8em;
	margin-top: .6em;
}
.edit-link a {
	padding: 4px 8px; 
	display: block;
}
.slide>.fp-tableCell {
	vertical-align: bottom;
	padding-bottom: 31px;
}
.slide-image-caption {
    display: inline-block;
    float: right;
	clear: right;
	font-size: .8em;
    margin-bottom: 0px;
    margin-right: 5px;
    text-align: right;
	max-width: 90%;
    padding: 5px 15px;
}
.slide-extra-content {
	display: inline-block;
    float: right;	
	font-size: .8em;
	margin-bottom: 5px;
    margin-right: 5px;
    text-align: right;
	max-width: calc(100% - 155px);
    padding: 5px 15px;
}
#fp-nav ul li .fp-tooltip {
    max-width: 125px !important;
}
/* body.admin-bar .slide-info { margin-bottom: 37px; } */
/* .slide-info p,  */
.slide-info h1,
.slide-info h2,
.slide-info h3 {
    margin: 0;
}
#fp-nav ul li .fp-tooltip {
	color: #1d1d1d !important;
}

/*--------------------------------------------------------------
# Controls
--------------------------------------------------------------*/
#fp-nav {
	margin-top: 0 !important;
    left: 5px !important;
    top: unset !important;
    bottom: 5px !important;
}
#fp-nav ul {
	margin-left: -10px;
}
#fp-nav ul li,
.fp-slidesNav ul li {
	width: 26px !important;
    height: 26px !important;
    margin: 0px !important;
}
#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    /* background: #2b636d !important; */
    background-color: white !important;
	-webkit-box-shadow: 1px 1px 6px 0px rgba(0,0,0,0.7);
	-moz-box-shadow: 1px 1px 6px 0px rgba(0,0,0,0.7);
	box-shadow: 1px 1px 6px 0px rgba(0,0,0,0.7);
}
#fp-nav ul li .fp-tooltip.fp-left {
	top: 0 !important;
	height: 26px;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 1.1em !important;
    padding: 1px 6px !important;
    margin-left: 6px !important;
	/* opacity: .8 !important; */
	/* width: auto !important; */
	cursor: default !important;
}
.fp-slidesNav {
    bottom: 5px !important;
    right: 5px !important;
    text-align: right !important;
    margin: 0 !important;
	height: 26px;
}
.fp-slidesNav ul {
	display: inline-block;
}
#fp-nav ul li a, .fp-slidesNav ul li a {
    padding: 13px;
}
.fp-controlArrow.fp-prev,
.fp-controlArrow.fp-next {
    /* margin-top: 6px !important; */
    border-width: 0 !important;
    border-color: transparent !important;
    width: 45px !important; 
    height: 45px !important;
    display: block;
    z-index: 9000;
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center;
	cursor: pointer;
	-webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}
.fp-controlArrow.fp-prev {
	background-image: url(visuals/arrow-left.png);
	left: 0 !important; 
}
.fp-controlArrow.fp-next {
	background-image: url(visuals/arrow-right.png);
	right: 0 !important; 
}
.fp-controlArrow.fp-prev:hover,
.fp-controlArrow.fp-next:hover {
    background-size: 45px;
}
.fp-controlArrow.fp-prev:hover {
	/* margin-left: -3px !important; */
	/* margin-top: 4px !important; */
}
.fp-controlArrow.fp-next:hover {
	/* margin-right: -3px !important; */
	/* margin-top: 4px !important; */
}


/*--------------------------------------------------------------
# Responsives
--------------------------------------------------------------*/
@media screen and ( max-width: 650px ) {
	.site-description {
		display: none;
	}
}

@media screen and ( min-width: 650px ) {
	.wp-post-content .entry-content,
	.slide-extra-content {
		font-size: 1.2em;
	}
}

/*--------------------------------------------------------------
# Temporary
--------------------------------------------------------------*/
#header-left { display: none; }
.headerwrapper { padding-left: 0; }
.slide-image-caption { display: none; }
.site-title { padding: 0 .9em; }