/**********************************************************************************
* phpComasy Web Content Management System                                         *
* http://www.phpcomasy.com                                                        *
*                                                                                 *
* Copyright (c) 2005 - 2018 indual GmbH (http://www.indual.ch)                    *
*                                                                                 *
* phpComasy is released under his own licence (http://www.phpcomasy.com/licence)  *
**********************************************************************************/


.responsive_navigation_toggle {
	z-index: 270;
	display: none;
	width: 40px;
	height: 35px;
	position: fixed;
	top: 20px;
	right: 20px;
	background: #fff;
	-webkit-transition: all 0.3s ease-out;
	   -moz-transition: all 0.3s ease-out;
	     -o-transition: all 0.3s ease-out;
	        transition: all 0.3s ease-out;
}
	
.responsive_navigation_toggle span {
    background: #6B372C;
    display: block;
    height: 5px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    -webkit-transform: rotate(0);
	   -moz-transform: rotate(0);
	     -o-transform: rotate(0);
		 	transform: rotate(0);
	-webkit-transition: transform 0.3s ease 0s, top 0.25s ease 0.25s, opacity 0.01s ease 0.25s;
   	   -moz-transition: transform 0.3s ease 0s, top 0.25s ease 0.25s, opacity 0.01s ease 0.25s;
   	     -o-transition: transform 0.3s ease 0s, top 0.25s ease 0.25s, opacity 0.01s ease 0.25s;
   		 	transition: transform 0.3s ease 0s, top 0.25s ease 0.25s, opacity 0.01s ease 0.25s;
    z-index: 150;
}
	    
.responsive_navigation_toggle span:nth-child(2) {
	top: 12px;
}
.responsive_navigation_toggle span:nth-child(3) {
	top: 24px;
}
.navi_open .responsive_navigation_toggle span {
    top: 33.5%;
    -webkit-transition: top 0.25s ease 0s, transform 0.3s ease 0.25s, opacity 0.01s ease 0.25s;
       -moz-transition: top 0.25s ease 0s, transform 0.3s ease 0.25s, opacity 0.01s ease 0.25s;
	     -o-transition: top 0.25s ease 0s, transform 0.3s ease 0.25s, opacity 0.01s ease 0.25s;
		 	transition: top 0.25s ease 0s, transform 0.3s ease 0.25s, opacity 0.01s ease 0.25s;	
}

.navi_open .responsive_navigation_toggle span:first-child {
    opacity: 0;
}
.navi_open .responsive_navigation_toggle span:nth-child(2) {
	-webkit-transform: rotate(-45deg);
	   -moz-transform: rotate(-45deg);
	     -o-transform: rotate(-45deg);
		 	transform: rotate(-45deg);
}
.navi_open .responsive_navigation_toggle span:nth-child(3) {
	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	     -o-transform: rotate(45deg);
		 	transform: rotate(45deg);
}



/* @group responsive navigation */
#rwdnav-8 > a span,
#rwdnav {
	display: none;
}
.rwd_navigation {
	display: block;
	list-style: none;
	padding: 25px;
	clear: both;
	margin: 0;
}	
.rwd_navigation li a {
	display: block;
	text-decoration: none;
	color: #565656;
}	
.rwd_navigation li.current > a {
	color: #6B372C;
	font-weight: 700;
}
.rwd_navigation	> li:first-child > a {
	border-top: 0; 
	padding-top: 0;
}
.rwd_navigation	> li > a {
	padding: 14px 5px 16px;
	font-size: 18px;
	line-height: 30px;
	font-weight: 400;
	border-top: 1px solid #eee;
	font-family: 'Roboto Slab';
}
.rwd_navigation	ul.level1 {
	margin: -12px 0 0;
	padding: 0 0 14px; 
	list-style: none;
}	
.rwd_navigation	ul.level1 > li > a {
	color: #565656;
	font-size: 17px;
	line-height: 18px;
	padding: 7px 5px;
	font-weight: 300;
	position: relative;
}
				
.rwd_navigation	ul.level1 > li > a span:before {
	bottom: 4px;
	width: 15px;
	right: -15px;
}
.rwd_navigation	ul.level1 > li.current > a {
	color: #6B372C; 
	font-weight: 700;
}
.rwd_navigation	ul.level2 li {
	list-style: none;
	padding-left: 20px;
	font-weight: 300px;
}
.rwd_navigation	ul.level2 li a {
	font-weight: 300;
}
.rwd_navigation	ul.level2 li.current a {
	font-weight: 400;
}
.rwd_navigation	ul.level2 {
	margin-bottom: 10px;
}
	
/* @end */

@media screen and (max-width: 1240px) {
	
	div#slider div.slide_text_container {
		left: 12px;
	}
	div#slider .bx-viewport {
		min-height: auto;
	}
}

@media screen and (max-width: 1100px){
	div#header div#logo {
		margin-left: 0;
	}
	div#navigation .navigation {
		padding-left: 0;
		margin-left: -10px;
	}
	div#content {
		padding: 30px 20px 30px 20px;
	}
	#second_portlet_row,
	#portlets_second_portlet_row {
		padding-bottom: 0;
	}
	#portletzones ul.level2,
	#portlets_footer {
		margin-left: 40px;
	}
}
@media screen and (max-width: 960px) {
	div#footer ul li {
		margin-left: 20px;
		line-height: 23px;
		display: block;
		float: none;
		text-align: left;
	}
	div#footer ul li:before {
		display: none;
	}
	div#footer ul li:nth-child(5) {
		margin-top: 10px;
	}
	div#footer_logos {
		float: right;
	}
	div#footer_logos a {
		margin: 0 0 0 14px;
	}
	div#footer span.indual {
		margin-top: 10px;
	}
}

@media screen and (max-width: 970px) {
	
	body > div.portlet_content {
		top: 100px;
	}
	
	div#portlet_language_switcher {
		width: 100%;
		border-bottom: 3px solid #eee;
		margin: 0;
	}
	div#portlet_language_switcher h3 {
		display: none;
	}
	div#portlet_language_switcher a {
		margin: 0;
		padding: 8px 10px 8px;
		box-sizing: border-box;
		width: 33.33%;
		float: left;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		color: #565656;
	}
	div#portlet_language_switcher a.current {
		color: #6B372C;
		font-weight: 700;
	}
	div#header {
		height: auto;
		padding: 20px 20px;
		top: 0;
		position: fixed;
		width: 100%;
		background: #fff;
		z-index: 100;
	}
	div#header.is_scrolled {
		box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
	}	
	div#header div#logo {
		width: 70px;
		margin-top: 0;
	}
	div#header div#logo img {
		width: 100%;
		height: auto;
		display: block;
	}
	div#siteframe {
		padding-top: 68px;
	}
	
	#portletzones ul.level2,
	div#slider div.slide_text_container,	
	div#header_wrap .header_top,
	div#content_left,
	#meta,
	div#navigation {
		display: none !important;
	}
	.responsive_navigation_toggle {
		display: block;
	}
	nav#rwdnav {
		display: block;
		visibility: hidden;
		position: fixed;
		z-index: 200;
		top: 0; 
		left: 0;
		width: 77%;
		height: 100%;
		opacity: 1;
		background: #fff;
		overflow: hidden;
		box-shadow: 0 2px 24px 0 rgba(0,0,0,0.2);
		-webkit-transform: translate(-100%, 0);
		   -moz-transform: translate(-100%, 0);
		     -o-transform: translate(-100%, 0);
			 	transform: translate(-100%, 0);
		-webkit-transition: all 0.3s ease-out;
		   -moz-transition: all 0.3s ease-out;
		     -o-transition: all 0.3s ease-out;
		        transition: all 0.3s ease-out;
	}
	.navi_open nav#rwdnav {
		visibility: visible;
		opacity: 1;
		-webkit-transform: translate(0, 0);
		   -moz-transform: translate(0, 0);
		     -o-transform: translate(0, 0);
			 	transform: translate(0, 0);
	}
	
	h1 {
		font-size: 28px;
		line-height: 36px;
	}
	div.introduction {
		font-size: 18px;
		line-height: 28px;
		margin-bottom: 30px;
	}
	
	#facebook_icon {
	    float: right;
	    margin-top: 4px;
	    display: block;
	    clear: both;
	    margin-top: -45px;
	    margin-right: 58px;
	    position: relative;
	    right: auto;
	    top: auto;
	    background: #6B372C;
	}
	#facebook_icon i {
		color: #fff;
	}
	
	div#slider {
		min-height: 0;
	}
	
	#portlets_second_portlet_row .portlet {
		width: 50%;
	}
	#portlets_second_portlet_row .portlet:nth-child(3n+1) {
		clear: none;
	}
	#portlets_second_portlet_row .portlet:nth-child(2n+1) {
		clear: both;
	}
	#portlets_footer {
		margin: 30px 0 0 -50px;
		width: auto;
		padding-bottom: 0;
	}
	#portlets_footer .portlet {
		float: left;
	    box-sizing: border-box;
	    width: 50%;
	    padding: 0 0 50px 50px;
	    margin-top: 0;
	}
	
	.resource_container.gallery {
		margin: 10px 0 0 -20px;
	}
	
	#module_map {
		height: 300px !important;
	}
	
	div#green_footer .green_footer_inner {
		padding: 20px 20px 9px;
	}
	#green_footer .green_footer_inner .portlet {
		width: 100%;
	}
	#green_footer .green_footer_inner .portlet.portlet_dodeley {
		margin-top: 40px;
	}
	#green_footer .green_footer_inner .portlet h3 {
		margin-bottom: 10px;
	}
	#green_footer #logo_weger img {
		margin-top: 20px;
	}
}

@media screen and (max-width: 750px) {
	div#slider .bx-wrapper .bx-controls-direction a {
		display: none;
	}
	
	body > div.portlet_content {
		width: 300px;
	}
	body > div.portlet_content .portlet-title {
		display: block;
		margin-left: 0;
		font-size: 16px;
		line-height: 22px;
	}
	body > div.portlet_content .portlet-title a {
		font-size: 16px;
		line-height: 22px;
	}
	body > div.portlet_content .portlet-content {
		margin-left: 15px;
	}
	body > div.portlet_content.portlet_close {
		right: -280px;
	}
	body > div.portlet_content .resource_container {
		display: none;
	}

}

@media screen and (max-width: 600px) {
	#portlets_footer .portlet,
	#portlets_second_portlet_row .portlet {
		width: 100%;
	}
	
	label {
		width: 100%;
	}
	.mailform_element.checkbox_field {
		padding-left: 0;
	}
	.mailform_element textarea,
	.mailform_element input {
		width: 100%;
	}
	span.select2.select2-container {
		width: 100% !important; 
	}
	#mailform_submit_button label {
		display: none;
	}
	div.listing_entry .pictures {
		width: 100%;
		margin: 0 0 15px 0;
	}
	div#content div.listing_entry .listing_entry_text {
		overflow: visible;
	}
}

@media screen and (max-width: 560px) {
	div#footer_logos {
		position: absolute;
		right: 6px;
		margin-top: -2px;
	}
	div#footer_logos a {
		margin: 7px 14px 0 0;
	}
	.resource_container.gallery .picture {
		width: 50%;
	}
	#privacy_banner #privacy_banner_inner #privacy_description {
		padding-right: 0;
	}
	#privacy_banner #privacy_banner_inner a.button {
		position: relative; 
		top: auto; 
		right: auto; 
		transform: translate(0,0);
		margin-top: 20px;
	}
}

@media screen and (max-width: 460px) {
	.portlet_dodeley input.button,
	.portlet_dodeley form p,
	.portlet_dodeley #dodeley_email {
		width: 100% !important;
		box-sizing: border-box;
	}
	.portlet_dodeley form p {
		margin-right: 0;
		margin-bottom: 8px;
	}
}
