@media screen and (max-width: 1240px) {
.wrap{ width:100%;}
.logo{ width:50%; margin:0 0 0 2%;}
.search_form{ margin:0 2% 0 0;}
.sidebar{ width:22%; float:left; margin:10px 1% 0 2%;}
.optm-menu{display:block;}
 
.right_content{ width:72%;margin:10px 2% 0 0; float:right; clear:both;} 
.right_content_noheader{ width:72%;margin:10px 2% 0 0;}

.page_photoradical{
width:100%;
height:400px;
background-repeat: no-repeat;
background-position: top left;
}
.section12{ width:100%;}

img.responsive_image{
display:block;
max-width:100%;
}

}

@media screen and (max-width: 780px) {
.right_content .page_photo h1{
	float:right;
	padding:20px 20px 10px 10px;
	color:#FFF;
	font-size:28px;
	line-height:28px;
	font-weight:700;
	margin:0px;
	letter-spacing:-1px;
	text-shadow:1px 1px 2px #000;
filter: progid:DXImageTransform.Microsoft.DropShadow(offX=1,offY=2,color=000000);
}

.right_content .page_photo h3{
	float:right;
	padding:20px 20px 10px 10px;
	color:#FFF;
	font-size:32px;
	line-height:32px;
	font-weight:700;
	margin:0px;
	letter-spacing:-1px;
	text-shadow:1px 1px 2px #000;
filter: progid:DXImageTransform.Microsoft.DropShadow(offX=1,offY=2,color=000000);
}
.search_form{width:100%; text-align:center;}
.search_form a{
	display:block;
	text-align:center;
	text-decoration:none;
	float:none;
	clear:both;
	width:150px;
	margin:5px auto;
	padding:10px 35px 10px 25px;
	color:#FFFFFF;
	font-size:14px;
	font-weight:400;
	background: #e11f35 url("images/arrow-right.png") no-repeat 92% 50%;
	-webkit-transition: none;
-moz-transition:none;
-o-transition:none;
transition: none;
}
}

@media screen and (max-width: 640px) {
.header{ height:auto; text-align:center;}
/*-------------------------------------------
///////////MOBILE HEADER TEST
-------------------------------------------*/
.grijze-balk ul{list-style:none; padding:0px;margin-top:10px; display:inline-block; }
.grijze-balk ul li{list-style:none; line-height: 125%; padding:0px 0 0 25px; margin:0px 10px 0 0; display:inline-block; background:url(http://www.dubbelglaskennis.nl/images/selling_points_checked.png) no-repeat left;}

.grijze-balk2 {
    background-color: #fdfdfd;
    width: 100%;
    padding-bottom: 0px;
    text-align: center;
    color: #000000;
    margin-top: 0px;
    position: fixed;
	display:block;
}

.grijze-balk2 ul{list-style:none; padding:0px;margin-top:10px; display:inline-block; }
.grijze-balk2 ul li{list-style:none; line-height: 125%; padding:10px 0 0 25px; margin:0px 10px 0 0; display:inline-block; background:url(https://www.dubbelglaskennis.nl/images/selling_points_checked.png) no-repeat left center;}

.button-grijze-balk {
    display: inline-block;
    /* border-color: white; */
    /* border-width: 1px; */
    border: 2px #fff solid;
    padding: 5px 16px 5px 16px;
    /* font-weight: bold; */
    text-transform: uppercase;
    color: white;
}

.button-grijze-balk a {
    color: #FFF;
    display: inline-block;
}

.button-grijze-balk2 {
    display: inline-block;
    /* border-color: white; */
    /* border-width: 1px; */
    border: 2px #000000 solid;
    padding: 5px 16px 5px 16px;
    /* font-weight: bold; */
    text-transform: uppercase;
    color: white;
}

.button-grijze-balk2 a {
    color: #FFF;
    display: inline-block;
   
}

.grijze-balk2 > ul > li{padding-top:10px;}
.logo{ float:none; padding:16% 0 0 0px; margin:0 auto 0 auto; width:280px;}
.logo img{ float:left; padding:0 0 0 0;}
.logo a{ float:left; font-size:26px; padding:5px 0 0 10px; margin:0px;}

.partnerslogo{
	width:93%;
	padding:10px 3% 0 3%;
}

.search_form{width:100%; text-align:center;}
.search_form a{
	display:block;
	text-align:center;
	text-decoration:none;
	float:none;
	clear:both;
	width:150px;
	margin:5px auto;
	padding:10px 35px 10px 25px;
	color:#FFFFFF;
	font-size:14px;
	font-weight:400;
	background: #e11f35 url("images/arrow-right.png") no-repeat 92% 50%;
	-webkit-transition: none;
-moz-transition:none;
-o-transition:none;
transition: none;
} 


.top_contact{ float:right; padding:0 0 0 0px;  color:#5a5a5a;  margin:22px 0 0 0; font-size:14px; font-weight:bold;}
.top_contact span{ color:#22a1ee; font-size:24px; font-weight:bold;letter-spacing:-0.5px; line-height:30px;}

  .header__menu {
    width: 100%;
    height: 100%;
    float: left;
    clear: both;
    margin: 40px 0 0 0; }
  .header__menu ul {
    width: 100%;
    display: none;
    text-align: left;
    background-color: #fff; }
  .header__menu ul li {
    width: 100%; }
  .header__menu ul li, .header__menu ul ul li a, .header__menu ul ul ul li a, .header__menu ul ul ul li:last-child a {
    border-bottom: 1px #ebeced solid; }
  .header__menu ul li a,   .header__menu ul li b {
    width: 100%;
    font-size: 13px;
    line-height: 39px;
    height: auto;
    margin: 0px;
    padding: 0 35px; }
  .header__menu > ul > li {
    float: none; }
  .header__menu ul ul li a {
    margin: 0 0 0 0;
    padding: 0px 0px 0 15%;
    width: 100%;
    height: auto; }
  .header__menu ul ul li:first-child a {
    border-top: 1px #ebeced solid; }
  .header__menu ul ul li:last-child a {
    border-bottom: none; }
  .header__menu ul ul ul li a {
    margin: 0 0 0 0;
    padding: 0 0px 10px 0; }
  .header__menu ul ul, .header__menu ul ul ul {
    position: relative;
    left: 0;
    width: 100%;
    padding: 0;
    top: 0;
    border-top: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background: none;
    transition: none;
    visibility: visible;
    opacity: 1; }
  .header__menu ul ul.submenu-header-sticky {
    background-color: #fff;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none; }
  .header__menu ul ul li, .header__menu ul ul ul li {
    border-bottom: none; }
  .header__menu li:hover > ul {
    transition: none;
    visibility: visible;
    top: auto; }
  .menu-button {
    display: block; }
  .header__menu .submenu-button {
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    display: block;
    height: 38px;
    width: 50px;
    cursor: pointer;
    border-left: 1px solid #ebeced;
    background-color: #fff; }
  .header__menu ul ul .submenu-button {
    height: 35px;
    width: 35px; }
  .header__menu .submenu-button:after {
    content: '';
    position: absolute;
    top: 17px;
    left: 17px;
    display: block;
    width: 0;
    padding: 0;
    border: 5px solid transparent;
    border-top-color: #000; }
  .header__menu ul ul .submenu-button:after {
    border-width: 4px;
    left: 14px;
    top: 12px; }
  .header__menu .submenu-button.submenu-opened:after {
    top: 12px;
    border-top-color: transparent;
    border-bottom-color: #000; }
  .header__menu ul ul .submenu-button.submenu-opened:after {
    top: 10px; }



.sidebar{ width:100%; clear:both;}
.right_content{width:92%;margin:10px 4% 0 4%;}
.right_content_noheader{ width:92%;margin:20px 4% 0 4%;}
.right_content .page_photo h1{
	float:left;
	padding:10px 0 0 10px;
	color:#FFF;
	font-size:24px;
	line-height:24px;
	font-weight:700;
	margin:0px;
	letter-spacing:-1px;
	text-shadow:1px 1px 2px #000;
filter: progid:DXImageTransform.Microsoft.DropShadow(offX=1,offY=2,color=000000);
}
.right_content .page_photo h3{
	float:left;
	padding:10px 0 0 10px;
	color:#FFF;
	font-size:28px;
	line-height:28px;
	font-weight:700;
	margin:0px;
	letter-spacing:-1px;
	text-shadow:1px 1px 2px #000;
filter: progid:DXImageTransform.Microsoft.DropShadow(offX=1,offY=2,color=000000);
}
.right_content .page_photoradical h3{
	float:left;
	padding:15px 0 0 10px;
	margin:0px;
	color:#FFF;
	font-size:25px;
}
.right_content_noheader .page_photo h3{
	float:left;
	padding:15px 0 0 10px;
	margin:0px;
	color:#FFF;
	font-size:25px;
}
.right_content h1{ font-size:21px; padding:0 0 5px 0; margin:0px; text-align:left;}
.right_content h2{ font-size:15px; font-weight:bold; padding:20px 0 0 0; margin:0px; text-align:left;}
.right_content h3{ font-size:12px; font-weight:bold; padding:20px 0 0 0; margin:0px; text-align:left;}

.right_content_noheader h1{ font-size:21px; padding:0 0 5px 0; margin:0px; text-align:left;}
.right_content_noheader h2{ font-size:15px; font-weight:bold; padding:20px 0 0 0; margin:0px; text-align:left;}
.right_content_noheader h3{ font-size:12px; font-weight:bold; padding:20px 0 0 0; margin:0px; text-align:left;}


.page_photo{
width:100%;
height:250px;
}
.page_photo p{ float:left; clear:both; padding:10px 0 0 10px; color:#FFFFFF; font-size:14px; font-weight:bold; margin:0px; letter-spacing:-0.5px;
}
.page_photoradical{
width:100%;
height:350px;
}
.page_photoradical p{ float:left; clear:both; padding:10px 0 0 10px; color:#FFFFFF; font-size:14px; font-weight:bold; margin:0px; letter-spacing:-0.5px;
}
a.photo_button{

	display:block;
	text-align:center;
	text-decoration:none;
	float:left;
	clear:both;
	margin:25px 0 0 10px;
	padding:12px 40px;
	color:#FFFFFF;
	font-size:16px;
	font-weight:400;
	background-color: #e11f35;
		-webkit-transition: none;
-moz-transition: none;
-o-transition: none;
transition: none;

}
.section12{ width:94%; padding:20px 0 10px 0; margin:0 3%;}

.optm-menu-form{width:100%; text-align:left; padding:10px 0 10px 0; }
.optm-menu-form ul{list-style:none; padding:0px; margin:0px; display:block;}
.optm-menu-form ul li{list-style:none; font-size:15px; color:#1aad4a; font-weight:700; padding:0px 0 0 25px; margin:0px 0 0 5px; display:block; background:url(images/selling_points_checked.png) no-repeat left;}


.footerr{height:100px; margin:20px 0 0px 0;}
.footerr_menu ul{ padding:20px 0 0 0; margin:0px;}

.footer{height:100px; margin:20px 0 0px 0;}
.footer_menu ul{ padding:20px 0 0 0; margin:0px;}
.footer-row{
	flex-wrap:wrap;
}
.footer-col{
	width:96%;
	padding:20px 2%;
}
.footer-col:first-child{
	width:96%;
	padding:20px 2%;
}
.footer-bottom{
	flex-wrap:wrap;
}
.footer_left{	width:96%;
	padding:20px 2%;}
	
	/*-------------------------------------------
///////////MOBILE SIDEBAR + FOOTER LEEG
-------------------------------------------*/


div.partnerslogo {
  display : none;
}

div.sidebar {
  display : none;
}

div.footer-row>div:nth-of-type(1) {
  display : none;
}

div.footer-row>div:nth-of-type(2) {
  display : none;
}

div.footer-row>div:nth-of-type(3) {
  display : none;
}

div.footer-row {
  display : none;
}

 
}