/*
Theme Name: PM Theme 1.0
Theme URI: http://underscores.me/
Author: Peter Manders
Author URI: http://petermanders.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: pm-theme-1-0
Tags:
# Normalize
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.navbar-nav > li.current_page_item a,
.navbar-nav > li.current_page_parent a {

}
.navbar-nav > li.current_page_item a:hover,
.navbar-nav > li.current_page_parent a:hover {

}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# 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;
	table-layout: fixed;
}

.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%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.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;
}

/*--------------------------------------------------------------
## 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-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	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;
}

/* -------------------------------------
## Theme Specific Styles

Default color: #f4e500; (hover, emphasise)
------------------------------------- */
.main{
	min-height: 70vh;
}

.logged-in .navbar-fixed-top {
	top:32px;
}
.customize-partial-edit-shortcuts-shown .navbar-fixed-top {
	top:0px;
}
.default-image, .contact-section, .entry-content img,.home-categorie {
	visibility: hidden;
}

body {
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
}

.navbar-default {
	margin-bottom: 0;
}
.navbar {
	border-radius: 0;
	padding-left: 50px;
	padding-right: 50px;
}
.container-fluid {
	padding-left: 50px;
	padding-right: 50px;
	padding-bottom: 50px;
}
.navbar-logo {
	text-decoration: none;
	position: relative;
	float: left;
	z-index: 9999;
	background: #ffff;
	padding: 10px;
}

.navbar-logo img {
	max-height: 80px;
	padding-top:5px;
	margin-bottom: 5px;
	max-width: 350px;
}
.navbar-menu {
	margin-top: 40px;
}
.top-wrapper {
	overflow: auto;
	position: absolute;
	width: 100%;
	margin-left: -51px;
	padding-right: 50px;
	background-color: rgba(0,0,0,0.1);
	border-bottom-style: solid;
	border-bottom-width: 1px;
}


#navbar-company {
	list-style: inline;
	font-size: 1em;
	padding-left: 10px;
	float: right;
	margin-top: 10px;

}
#navbar-company i {
	padding-right: 10px;
}
#navbar-company li {
	display: inline-block;
	border-left:1px solid black;
	padding-left: 10px;
	padding-right: 10px;
}
#navbar-company li:first-of-type{
	border:none;
}

#navbar-company li a {
	text-decoration: none;
}

.navbar-default .navbar-nav>li>a   {
	font-size: 1.3em;
	padding-bottom: 5px;
	text-decoration: none;
	color: black;
}
.navbar-default .navbar-nav>li>a:hover{
	text-decoration: none;
}
.navbar-nav > li.current_page_item a {
	text-decoration: none;
	font-weight: bold;

}
.navbar-nav > li.current_page_ancestor {
	font-weight: bold;
}
.navbar-nav > li.current_page_item > .dropdown-menu a {
	font-weight: normal;
}
.navbar-nav > li > .dropdown-menu>.active>a{
	font-weight: bold;
	color: black !important;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
	color: black;
	background-color: rgba(0,0,0,0);
}

.navbar-default .navbar-nav>li>a {
	padding-bottom: 12px;
}

.navbar-nav > li.current_page_item a, .navbar-nav > li.current_page_parent a {
	text-decoration: none;
}
.dropdown-menu>li>a {
	text-decoration: none;
	font-size: 1.1em;
}


.dropdown:hover .dropdown-menu {
	display: block;
}

.navbar-nav > li.current_page_item a, .navbar-nav > li.current_page_parent a {
	text-decoration: none;
}


/* === GLOBAL === */

h1,h2,h3,h4,h5,h6 {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-weight: bold;
}


h1,h2{
	font-size: 2em;
	margin: 0 0 40px;
}
h2 {
	font-size: 1.5em;
	margin: 0 0 30px;
}
h3 {
	margin: 20px 0;
}
h4 {
	font-size: 18px;
}
p {
	margin: 0 0 15px;
}
section  img {
    max-width: 100%;
    height: inherit;
}
.container {
	padding-top: 40px;
	padding-bottom: 40px;
}
.customize-partial-edit-shortcuts-shown section:first-of-type {
	margin-top: 88px;
}
section:first-of-type{
	margin-top: 88px;

}

.section-header {
	text-align: left;
	margin-bottom: 40px;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	display: inline-block;
}
.section-header h1, .section-header h2 {
	display: inline-block;
	padding-left: 10px;
	padding-right: 50px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	font-size: 2em;

}

.section-header hr{
	max-width: 500px;
	height: 3px;
	border: solid 0px dimgray;
	background-color: dimgray;

}
.default-image {
	max-width: 100%;
	text-align: center;
	padding: 0 1em;
	padding-bottom: 1em;

}
.entry-content {
	max-width: 100%;
}
.entry-content img {
	max-height: 400px;
	height: 100%;
	max-width: 100%;
}
.default-image img,.entry-content img {
	max-height: 400px;
	max-width: 100%;
}

a {
	color:black;
	text-decoration: underline;
}
.btn-info {
	text-decoration: none;
}
.btn-info:hover {
	opacity:0.8;
	color: white;
}
.transparent {
	background-color: rgb(0, 0, 0);
	/* RGBa with 0.6 opacity */
	background-color: rgba(0, 0, 0, 0.0);
}

#banner {
	background-position: center center !important;
	background-size: cover !important;
	height: 300px;
}
#banner .container {
	background-color: rgba(255,255,255,0.0);
	padding-top: 0;
	padding-bottom: 0;
}
.banner-wrapper {
	background-color: rgba(255,255,255,0.1);
	height: 100%;
	width: 100%;
	position: relative;
	overflow: auto;
	color: white;
}
.banner-wrapper p {
	display: inline-block;
	font-size: 2em;
}
.banner-title {

	margin-top: 150px;
	background-color: rgba(0,0,0,0.5);
}
.banner-wrapper h2, .banner-wrapper h3 {
	padding: 20px 10px;
	color: white !important;
	display:inline-block;
	font-weight: bold;
	font-family: 'pt sans narrow', sans-serif;
	margin-bottom: 0;
	font-size: 2em;
}
.banner-wrapper h3 {
	padding-left: 10px;
}
.lead {
	font-size: 1.2em;
}

/*
=== home ===
*/

#banner-home {
	position: relative;
	padding-bottom: 0;
	padding-top: 0;

}

#banner-home .carousel-inner .home-banner {
	height: calc(70vh - 100px);
	background-size: cover !important;
	background-position: center center !important;
}
#banner-home .glyphicon {
	padding: 12px;
	width: auto;
	height: auto;
	border-radius: 20px;
	position: absolute;
	top: 50%;
}

/* YOUR CSS simplified */
.carousel-inner > .item > img, .carousel-inner > .item > a > img {
        display: block;
        height: auto;
        width: 100%;
        line-height: 1;
    }

/*Bootstrap Carousel Fade Transition (for Bootstrap 3.3.x)
  CSS from:       http://codepen.io/transportedman/pen/NPWRGq
  and:            http://stackoverflow.com/questions/18548731/bootstrap-3-carousel-fading-to-new-slide-instead-of-sliding-to-new-slide
  Inspired from:  http://codepen.io/Rowno/pen/Afykb*/
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .active {
  opacity: 1;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-control {
  z-index: 2;
}

/*WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
  Need to override the 3.3 new styles for modern browsers & apply opacity*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}

#bh-header {
	position: absolute;
	background-color: rgba(0,0,0,0.5);
	height: auto;
	z-index: 10;
	width: 100%;
	text-align: center;
}
#bh-header h1 {
	margin: 10px;
	text-transform: uppercase;
}
#bh-header h1:first-letter{
	font-size: 150%;
}

.introduction .fade-background {
	background-size: cover;
	height: 100%;
}

/*
=== HOME ===
*/
.portfolio {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.portfolio .col {
	max-width:350px;
	width:100%;
	margin: 5px;
}
.portfolio-item{
	max-width: 1820px;
	display: inline-block;
}

.home-categorie a {
	display: flex;
	align-items: flex-end;
	position: absolute;
	width: 100%;
	height: 100%;
}
.portfolio .home-categorie  {
	height:250px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	padding:0px;
	border-radius: 10px;
}

.ngg-gallery-thumbnail,.home-categorie {
	border:none !important;
	position: relative;
	padding: 5px;
	transition: 1s all ease;
	margin-bottom: 30px;
}
.ngg-gallery-thumbnail img, .home-categorie img {
	border-radius: 10px;
	transition: 0.5s all ease;
}
.home-categorie img {
	max-width: 100%;
}
.ngg-gallery-thumbnail span, .home-categorie span {
	font-size: 1.2em !important;
	padding-top: 10px;
	padding-bottom: 12px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;

	z-index: 99;
	position: absolute;
	color: white;
	margin-left: 1%;
	transition: 0.5s all ease;
	background-color: rgba(0,0,0,0.5);
}
.ngg-gallery-thumbnail span {
	width: 83.9%;
	margin-top: -50px;
}
.home-categorie span {
	display: block;
	padding-left: 5px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.ngg-gallery-thumbnail:hover img,.ngg-gallery-thumbnail:hover span, .home-categorie:hover {
	border-radius: 0;
	transform: scale(1.05,1.05) !important;
}
.ngg-gallery-thumbnail:hover span, .home-categorie:hover span {
	padding-bottom: 17px;
}
.ngg-galleryoverview {
	text-align:center;
}
.ngg-gallery-thumbnail-box {
	float:none !important;
	display:inline-block;
}

/*

=== ABOUT US ===

*/

#about-people h3, #about-people h4{
	display: inline-block;
	margin-bottom: 10px;
	margin-top: 0;
}
#about-people table td{
	padding-left: 1em;
}
#about-people table td:first-of-type{
	padding-left: 0;
}
/*

=== Default ===

*/

#Carousel-Default .item {
	text-align: center;
	max-height: 500px;

}
#Carousel-Default .item img {
	display: initial;
	max-height: 500px;
}
#Carousel-Default .carousel-control {
	background-image: none !important;
}
#Carousel-Default .carousel-caption {
	font-size: 1.5em;
}
#Carousel-Default .carousel-text {
	display: inline-block;
	padding: 5px 10px 5px 10px;
	min-width: 300px;
	background: rgba(0,0,0,0.7);
}
#Carousel-Default .glyphicon {
	color:#003a5d;
}
/*

=== CONTACT ===

*/
#contact h3 {
	font-size: 1.2em;
	margin-top: 0;
	margin-bottom: 0;
}
#contact .contact-section {
	overflow: hidden;
	float: left;
	display: inline;
	margin-top: 10px;
}
#contact .contact-icon {
	float: left;
	width: 30px;
	margin-top: 20px;
}
#contact .contact-info {
	float: left;
	border-left-width: 1px;
	border-left-style: solid;
	padding-left: 10px;
	height: 100%;
	font-size: 0.9em;
	    width: calc(100% - 30px);
	    word-break: break-all;
}
#contact p {
	margin:0;
}
#contact .contact-form-maps {
	margin-top: 25px;
}

.acf-map {
	width: 100%;
	height: 300px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
	max-width: inherit !important;
}


/* fixes potential theme css conflict */
.acf-map img {
	max-width: inherit !important;
}

.submit-button {
	padding: 5px 20px 5px 20px;
	border-radius: 5px;
	background-color: #fff;
}
.submit-button:hover{
	background-color: #003a5d;
	color:white;
}



/* === footer === */

#footer-container {
	padding: 20px 50px 20px 50px;

}
footer h2{
	font-size: 1.2em;
	margin-bottom: 10px;
}
footer ul {
	padding-left: 0;
	list-style: none;
	font-size: 0.9em;
}

.footer-menu h2, .footer-menu ul{
	text-align: right
}

footer li a {
	text-decoration: none;
	font-size: 1em;
}
footer li a:hover{
	text-decoration: none;
}

footer .copyright{
	text-align: center;
}
footer #footer-contact div {
	float: left;
}
footer #footer-contact img {
	padding-right: 20px;
	max-width:150px;
}
footer img {
	float: left;
	max-height: 60px;
}

footer .footer-vignet-image {
	text-align: right;
}

footer .footer-vignet-image img {
	max-height: 90px;
	float: none;
}

#fourOfour {
	margin-top: 140px;
	text-align: center;
}
#fourOfour .section-header h1 {
	padding-left: 50px;
}
#fourOfour .container {
	min-height: 60vh;
}
#fourOfour nav {
	display: inline-block !important;
}

#content div {
	padding: 25px 15px;
	margin: auto;
}
.columns .ngg-gallery-thumbnail{
	margin-bottom: 0px;
}
.columns .ngg-galleryoverview{
	margin: 0px;
}
.columns .ngg-galleryoverview p {
	margin:0px;
}
/* Archive */
.table-product-range tbody tr:hover,
.table-stock tbody tr:hover{
	cursor: pointer;
}
.table-product-range tbody tr:hover,

#single .table tfoot td {
	border-top: 1px solid #000;
}
#single .table {
	margin-bottom: 50px;
}

@media (max-width: 1200px) {
	#banner-home .carousel-inner .home-banner {
		height: 300px;
	}
	.portfolio {
		justify-content: center;
	}

}

/* Stock */
.stock .table th {
	border-bottom: 1px solid #116b07;
}

.stock .table .border-left {
    border-left: 1px dotted #116b07;
}

.stock .table .border-right {
    border-right: 1px dotted #116b07;
}

.mts-hidden-gallery .hidden-gallery {
	display: none;
}

@media (min-width: 768px){
	.navbar-nav {
		float:none;
	}
	.navbar-nav>li {
		float: right;
	}
	.navbar-nav>.lang-item {
		float: left;
	}
}

@media (max-width: 782px) {
	#wpadminbar {
		position: fixed;
	}
	.logged-in .navbar-fixed-top {
		top:44px;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 14px;
	}
	h1, h2 {
		font-size: 1.8em;
	}
	h2 {
		font-size: 1.3em;
	}
	.container {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.container-fluid {
		padding-left: 10px;
		padding-right: 10px;
		padding-bottom: 20px;
	}
	.section-header {
		text-align: center;
		display: inherit;
	}
	.section-header h1, .section-header h2 {
		padding-right: 10px;
		text-align: center;
		font-size: 1.8em;
	}
	section:first-of-type {
		margin-top: 60px;
	}
	.navbar-menu {
		margin-top: 0px;
		float: none !important;
	}
	.navbar-logo {
		padding: 0px;
	}
	.navbar-logo img {
		max-height: 50px;
	}
	#navbar {
		height: initial !important;
	}
	.dropdown-menu {
		position: relative;
	}
	.navbar-default {
		height: 60px;
		padding-left: 10px;
		padding-right: 10px;
	}
	.navbar-default .navbar-nav>li {
		margin-left: 0;
	}
	.navbar-default .navbar-nav>li a {
		border:none;
	}
	.top-wrapper {
		display: none;
	}
	#navbar-company {
		display: none;
	}
	#footer-container {
		padding-left: 10px;
		padding-right: 10px;
	}
	#footer-container .row{
		margin-left:-10px;
		margin-right: -10px;
	}


	#banner-home .carousel-inner .item img {
		max-width: initial;
		width: initial;
		height: 300px !important;
		width: initial !important;
		margin-left: -200px;
	}
	.navbar-collapse  {
		background-color: #fff;
		position: relative;
		z-index: 99999;
	}
	header .navbar-brand img {
		max-height: 80px;
		padding-bottom: 10px;

	}
	.footer-brand img {
		max-height: 80px;
	}
	.ngg-gallery-thumbnail, .home-categorie {
		padding: 5px;
	}
	.ngg-gallery-thumbnail span {
		width: 94%;
	}

	#contact .contact-icon {
		width: 100%;
		text-align: left;
		padding-left: 30px;
		height: auto;
	}




}



@media only screen and ( max-width: 40em ) /* 640 */
{
	#menu-primair-menu
	{
		position: relative;
	}

	#menu-primair-menu:not( :target ) > a:first-of-type,
	#menu-primair-menu:target > a:last-of-type
	{
		display: block;
	}

	/* first level */

	#menu-primair-menu > ul
	{
		height: auto;
		display: none;
		position: absolute;
		left: 0;
		right: 0;
	}
	#menu-primair-menu:target > ul
	{
		display: block;
	}
	#menu-primair-menu > ul > li
	{
		width: 100%;
		float: none;
	}

	/* second level */

	#menu-primair-menu li ul
	{
		position: relative;
		width: 100%;
	}
}
