/* normal screen browsers */
@media only screen and (min-width : 990px), only screen and (min-device-width : 768px)  {
	.width_max { width: 990px; }
	.width_max_inside { width: 950px; }
	
	/* logo */
	#backtohome { height: 69px; }
	#backtohome a { background: url(../images/logo_banner_top.png) no-repeat; height: 69px; }
	.content_left { width: 648px; }
	.post, .navigation { width: 624px;  }
	.entry { width: 584px; }
	.post_wide { width: 950px; }
	.post_wide .entry { width: 910px; }
	.post_wide .entry p { width: 584px; }
	
	.post_image img { width: 624px;	height: 394px;	border: 0; }  
	.post_image_large { width: 475px; height: 356px; }
	.entry_right { width: 435px; }
	
	/* events */
	.events-wrapper { min-height: 175px; }
	.events-content-wrap, .events-image img, .events-image { width: 950px; }
	.events-content { width: 910px; } 
	.events-preview-content_wrap {	width: 950px; height: 175px; } 
	.events-preview-thumbnail, .events-preview-thumbnail img { width: 233px; height: 175px; }
	.events-preview-content { width: 675px;	height: 135px;  }
	.events-preview-text { height: 115px;  }
	a.content_overlay_link:link, a.content_overlay_link:visited { height: 175px; }
	.events-date, .events-title { font-size: 24px; }
	.events-extrainfo { width: 550px; }
	
	
	/* events homepage and featured */
	#events_list_wrapper .events-preview-content_wrap { width: 300px; height: 61px; }
	#events_list_wrapper .events-preview-thumbnail, #events_list_wrapper .events-preview-thumbnail img { width: 300px; height: 225px; }
	#events_list_wrapper a.content_overlay_link:link, #events_list_wrapper a.content_overlay_link:visited { height: 61px; }
	#events_list_wrapper .events-preview-content { height: 61px;  } 
	#events_list_wrapper .events-preview-text { height: 41px;  }
	#events_list_wrapper .events-wrapper { min-height: 61px; } 
	
	#grid-content .events-preview-thumbnail, #grid-content .events-preview-thumbnail img { width: 300px; height: 225px; }
	#grid-content .events-preview-text { height: 83px; }
	
	/* slider */
	.slider_content  { height: 370px; }
	.slider_readmore_title { top: 80px; width: 624px; }
	
	.mobile_only { display: none; visibility: hidden; }
	.footer_content { width: 278px;     max-height: 345px; overflow-y: auto; 
		height: 345px; } 
	.footer_content.third { width: 265px; padding: 0 0 0 20px;} 
	.footer_right { padding: 0 0 0 60px;  }
	
}

/* Tablet portrait size */
@media only screen and (min-width : 768px) and (max-width : 979px)   {
	
	html, body { font-size: 15px; } 
	
	.width_max { width: 768px; }
	.width_max_inside { width: 728px; }
	
	#backtohome { height: 52px; width: 728px; }
	#backtohome a { background: url(../images/logo_banner_top.png) no-repeat; height: 52px; background-size: 728px 52px; }
	
	h1 { font-size: 18px; }
	h2 { font-size: 16px; }
	h3 { font-size: 14px; }
	
	.content_left { width: 428px;  }
	.post, .navigation { width: 408px;  }
	.entry { width: 368px; }
	.post_wide { width: 728px; }
	.post_wide .entry { width: 688px; }
	.post_wide .entry p { width: 468px; }
	
	.content_left .post { width: 408px;}
	
	.post_image img { width: 408px;	height: auto;	border: 0; }  
	.post_image_large { width: 364px; height: 273px; }
	.entry_right { width: 324px; }
	
	.header_image { width: 338px; height: 166px; }
	/* navigation  */
	#menu .page_item a:link, #header .page_item a:visited, #menu .menu-item a:link, #header .menu-item a:visited { font-size: 17px; padding: 3px 10px 3px 10px; }
	#submenu .page_item { padding: 5px 10px 5px 10px; }
	#submenu .page_item a:link, #submenu .page_item a:visited { font-size: 14px; }
	
	#header .page_item.extra_nav, #header .menu-item.extra_nav { padding: 0 0 0 0; }
		
	/* events */
	.events-wrapper { min-height: 172px; }
	.events-content-wrap, .events-image img, .events-image { width: 728px; }
	.events-content { width: 688px; } 
	.events-excerpt { padding: 6px 0 0 0; }
	
	.events-preview-content_wrap {	width: 728px; height: 175px; } 
	.events-preview-category-images img { max-height: 55px; width: auto; }
	.events-preview-thumbnail, .events-preview-thumbnail img { width: 228px; height: 175px; }
	.events-preview-content { width: 464px;	height: 151px; line-height: 18px; padding: 12px 18px 12px 18px; }
	.events-preview-text { height: 120px; font-size: 15px; }
	a.content_overlay_link:link, a.content_overlay_link:visited { height: 175px; }
	.events-date { padding: 0 18px 0 0; }
	.events-date, .events-title { font-size: 18px; line-height: 20px; }
	.events-extrainfo { width: 400px; padding: 10px 0 0 0; } 
	.moreinfo_link { padding: 0 10px 0 0; }
	
	/* uitgelicht home */
	#grid-content .events-preview-thumbnail, #grid-content .events-preview-thumbnail img  { width: 300px; height: 225px; }
	#grid-content .events-preview-content { width: 264px; height: 121px; }
	#grid-content .events-preview-text { height: 83px; }
	#grid-content .preview_content_small { height: 75px; margin: 0 0 10px 0; }
	
	/* slider */
	#items_homepage, .carousel-wrapper-small, .carousel-wrapper { width: 404px; height: 370px; }
	
	.slider_content  { height: 370px; }
	.slider_readmore_title { top: 60px; width: 404px; }
	
	.mobile_only { display: none; visibility: hidden; }
	.footer_content { width: 210px; }
	.footer_content.third { width: 190px; padding: 0 0 0 20px;} 
	.footer_content h1,.footer_content h2, .footer_content h3, .footer_content h4, .footer_content h5, .footer_content h6 { font-size: 20px; }
	.footer_content ul { font-size: 16px; }
	
}

/* Mobile Portrait Size (devices and browsers) */
@media only screen and (min-device-width : 320px) and (max-device-width : 767px),
only screen and (min-width : 1px) and (max-width : 767px) {
	
	
	.width_max { width: 320px; }
	.width_max_inside { width: 320px; padding: 0;}
	
	#wrap { padding: 50px 0 20px 0; }
	#backtohome {  height: 57px; width: 57px; padding: 0; margin: 0; position: fixed; left: 103px; top: 0; z-index: 999; }
	#backtohome a { background: url(../images/mk_logo_mobile.png) no-repeat; height: 57px; width: 57px; }
	#menuicon_mobile { cursor: pointer; position: fixed; left: 160px; top: 0; z-index: 997; background: url(../images/mk_menu_mobile.png) no-repeat; height: 57px; width: 57px; }
	
	.content_left, .content_right  { width: 320px; padding: 0;}
	.post { width: 320px; padding: 0;   }
	.navigation { width: 320px; padding: 0 0 20px 0; float: left; }
	.post_wide { width: 320px; }
	.post_wide .entry { width: 280px; }
	.post_wide .entry p { width: 280px; }
	.entry { width: 280px; }
	.events-content img { max-width: 280px; height: auto; }
	
	.events-wrapper .post_image img, .events-image { max-width: 320px; width: 320px;	height: auto;border: 0; }  
	.post_image_large { width: 320px; height: 225px; }
	.entry_right { width: 280px; }
	
	.content_right { padding: 0; float: left; width: 320px; }
	.content_right, .sidebar { width: 320px; }

	.content_left .content_item, .content_right .content_item , .content_right .content_item.nospace { float: left; width: 300px; padding: 0 0 24px 0; margin: 0;}

	.header_image { width: 320px; height: auto; min-height: 225px;  }
	#header_images { height: auto; }
	
	/* navigation  */
	#submenu { float: left; width: 100%; padding: 30px 0 20px 0; background: transparent;}
	#submenu .page_item { float: left; width: 100%; padding: 0; margin: 0 0 1px 0; background: transparent; }
	#submenu .page_item a:link, #submenu .page_item a:visited { font-size: 14px; padding: 5px 10px 5px 10px; background: #fff; width: 300px; }
	
	/* events */
	.events-wrapper { min-height: auto; width: 320px; }
	.events-wrapper .social_share { display: none; }
	.events-content-wrap, .events-image img, .events-image { width: 320px; }
	.events-content { width: 280px;} 
	.events-preview-content_wrap {	width: 200px; height: auto; } 
	.events-preview-content { width: 225px;	height: 35px;  padding: 10px;  }
	.events-preview-thumbnail, .events-preview-thumbnail img { width: 75px; height: 55px; }
	.events-preview-category-images img { max-height: 40px; width: auto; top: 8px; left: 7px; }
	.events-date { padding: 0 12px 0 0; }
	.events-excerpt { display: none; }
	.events-wrapper .events-extrainfo { display: block; float: left; font-size: 14px; width: auto; max-width: 280px; height: auto; }
	.events-preview-content-wrap .events-extrainfo { display: none; }
	a.content_overlay_link:link, a.content_overlay_link:visited { width: 320px; height: 55px; }
	.events-date, .events-title { font-size: 12px; line-height: 12px; }
	
	/* events homepage */
	#events_list_wrapper { float: left; width: 320px; height: auto; padding: 0 0 24px 0;  }
	#events_list_wrapper .events-wrapper { width: 320px; }
	#events_list_wrapper .events-date, #events_list_wrapper .events-title  { line-height: 18px; }
	#events_list_wrapper .events-preview-content_wrap { width: 320px; }
	#events_list_wrapper .events-preview-content {  width: 320px;  }
	#events_list_wrapper .events-preview-text {  width: 300px; height: 40px;  }
	#events_list_wrapper a.content_overlay_link_home:link, a.content_overlay_link_home:visited { width: 320px; } 
	
	/* featured home */
	#grid-content .events-preview-thumbnail, #grid-content .events-preview-thumbnail img { width: 320px; height: 225px; }
	#grid-content a.content_overlay_link:link, #grid-content a.content_overlay_link:visited { width: 320px; height: 370px;  }
	#grid-content .content_item { width: 320px; }
	#grid-content .preview_content_small_wrap { width: 280px; padding: 20px; }
	#grid-content .events-preview-content { padding: 20px; width: 280px; }
	
	/*items sidebar*/
	.preview_content {	width: 300px; height: 125px; }	
	.preview_content_large_wrap { width: 280px;	height: 330px; }
	.preview_content_large { width: 280px; height: 310px; }
	.content_right a.content_overlay_link:link, .content_right a.content_overlay_link:visited { width: 320px; }
	
	.footer { padding: 20px; width: 280px; }
	.footer_content { width: 280px; padding: 0 0 20px 0; }
	.footer_content.third { width: 280px; padding: 0 0 20px 0;} 
	.footer_content h1,.footer_content h2, .footer_content h3, .footer_content h4, .footer_content h5, .footer_content h6 { font-size: 20px; }
	.footer_content ul { font-size: 16px; }
	
	
	/* slider */
	#items_homepage, .carousel-wrapper-small, .carousel-wrapper { width: 320px; height: 200px; padding-bottom: 24px; }
	.slider_content  { height: 200px; }
	.slider_readmore_title { top: 20px; width: 320px; }
	
	.nomobile { display: none; visibility: hidden; }
	.mobile_only { display: block; visibility: visible; }
}