@media screen and (max-width: 1600px){
	#overlay.theme .center{
		width:100%;
		padding-left:15px;
		padding-right:15px;
	}
}
@media screen and (max-width: 1400px){
	#img_top img{
		height:100%;
		width:auto;
	}
	#header_nav{
		padding-right: 20px;
	}
	#header_more{
		padding-left: 0px;
	}
	#header_more span, #header_nav span, #header_nav a{
		margin-left: 20px;
	}
	.center{
		width: 100%;
	}
	#footer{
		padding: 65px 35px 100px;
	}
	#content{
		padding-left:15px;
		padding-right:15px;
	}
	#overlay{
		padding:50px 25px;
	}
	#ov_team, #form_ov{
		max-height:calc(100vh - 100px);
	}
    #footer_links {
        bottom: 330px;
    }
    #footer_logos {
        margin-top: 100px;
    }
}
@media screen and (max-width: 1250px){
	header{
		padding-left:15px;
		padding-right:15px;
	}
	.hide_nav{
		display: none !important;
	}
	.open_ov_theme, .open_ov_search{
		border:none !important;
	}
    #news_filter{
        width: 100%;
    }
}
@media screen and (max-width: 992px){
    :root{

        --fs-big: 40px;
        --lh-big: 50px;

        --fs-med: 22px;
        --lh-med: 30px;

    }
    .search_prop {
        height: 37px;
        padding: 4px 15px;
        font-size: 17px;
    }
    #home_content .simpli_mod_text h2 {
        padding-bottom: 0px;
        padding-top: 50px;
    }
	#overlay{
		top:67px;
		height:calc(100vh - 67px);
	}
    #logo {
        width: 110px;
        margin-top: -12px;
    }
    #default_content .slick-track img {
        width: 100% !important;
    }
    .memberbtn {
        margin-left: 40px;
        padding: 8px 15px;
        margin-right: 30px;
    }
	#ov_team, #form_ov{
		max-height:calc(100vh - 150px);
	}
	.def_teaser{
		width:calc(100% + 15px);
	}
    .teaser_home{
        margin-top: 0;
    }
    .memberbtn {
        margin-right: 30px;
    }
	#pattern{
		display: none;
	}
	#home_content, #default_content{
		margin-top:50px;
	}
	#booking{
		margin-bottom:30px;
	}
    #filterwrapper {
        margin-top: 40px;
    }
    #agenda_right, .quartieracc{
        padding-bottom: 50px;
    }
	#header_more span:not(.hide_nav), #header_nav span, #header_nav a{
		margin-left:10px;
	}
    .teaser_home img {
        padding: 0;
    }
	#footer_links{
        position: inherit;
		bottom:0;
        right:0;
	}
	#footer{
		padding:25px 15px;
	}
    .footercontact{
        padding-top:45px;
        padding-left: 30px;
    }
    .locmap {
        margin-top: 100px;
    }
	.our_2 .ini_slider img{
		max-width:100%;
	}
	#our_left{
		border:none;
		padding-bottom:25px;
	}
	.content_box{
		padding:15px;
	}
	h1{
		font-size:40px;
		line-height:52px;
	}
	header{
		height:80px;
		padding:15px;
		z-index:1000;
        padding-top: 24px;
	}
	.do_img_zoom{
		margin-bottom: 50px;
	}
	.default_fw .do_img_zoom{
		margin-bottom:0px;
		padding-right:0px;
	}
	#header_nav, #header_links, .nav_hide2{
		display: none;
	}
	#btn_nav{
		display: block;
		float: right;
		margin-left: 10px;
		margin-top:-3px;
        width: 35px;
	}
	#header_more{
		border-left:0px;
		padding-left:0px;
		margin-top: 7px;
	}
	.mobnav{
		overflow: auto;
		height:calc(100vh - 67px);
		position: fixed;
		top: 80px;
		left:0px;
		width:100%;
		background:#FFF;
		padding:0px 15px;
		border-top:1px solid var(--c-lightblue);
		padding-top:45px;
	}
	.mobnav a{
		color:var(--c-blue);
	}
	.mobnav a:hover, .mobnav a.act{
		color: var(--c-blue);
		text-decoration: underline;
	}
	.mobnav > li{
		padding:15px 0px;
		font-size:20px;
		font-weight:700;
		border-bottom:1px solid var(--c-lightblue);
	}
	.mobnav > li ul{
		display: none;
        padding-top: 10px;
	}
	.mobnav > li ul li{
		padding:5px 15px;
		font-size:16px;
	}
    .download_wrapper > div {
        margin-bottom: 50px;
    }
    #news_wrapper {
        margin-top: 30px;
    }
    #alph_sort {
        font-size: 15px;
        margin-top: 40px;
    }
    .add_event {
        float: inherit;
        margin-top: inherit;
        position: absolute;
        top: 1005px;
        right: 15px;
    }
}
@media screen and (max-width: 768px){

    :root{

        --fs-big: 35px;
        --lh-big: 45px;

        --fs-med: 20px;

    }
    .search_prop{
        margin-right: 5px;
    }
    .gallery_cat_box .ini_slider{
        padding:0px 25px;
    }
    .sub_theme_1_outer, .sub_keywords > div{
        width:100%;
    }
    .content_box.green .sub_keywords a{
		font-size:14px;
		height: auto;
	}
	body{
		padding-top:67px;
		background:#FFF !important;
	}
	#body_1 #img_top img{
 		animation:none;
	}
	#img_top img{
		position: relative;
		float: left;
		width:100%;
	}
	#img_top.onlymob{
	    display: block;
	}
	#home_content, #default_content{
		margin-top:0px;
	}
	.searchbtn{
		right:15px;
	}
	#overlay{
		padding:0px;
	}
	#overlay.theme .center{
		padding:25px 15px;
	}
	#search_ov, #subnav_ov, #form_ov{
		margin-top:0px;
		padding:25px 15px;
	}
	.select_orga_box{
		margin-bottom:10px;
	}
	#content{
		padding:0px;
	}
	#form_ov #send, #send_order, #form_back, #subForm button{
		margin-right:0px;
	}
	h1, #form_ov h2{
		hyphens: auto;
		font-size:30px;
		line-height:40px;
	}
	#form_ov .formeo.formeo-render .formeo-column{
		padding:0px;
	}
	#form_review_text, #form_text{
		margin-bottom:50px;
	}
	#ov_team, #form_ov{
		padding:25px 15px;
	}
	#ov_team .team_img img{
		margin-top:25px;
	}
	#ov_close{
		top:5px;
		right:5px;
	}
	.loc_box{
		padding:15px;
	}
	.def_teaser > div{
		padding-right:0px;
	}
	#agenda_icons{
		top:inherit;
		right:inherit;
		position: relative;
		float: left;
		width:100%;
		padding:15px 0px;
	}
	#agenda_icons span{
		margin-left:0px;
		margin-right:25px;
	}
	.add_event{
		margin-top:-80px;
	}
	body{
		font-size: 16px;
		line-height: 22px;
	}
	#footer .row > div{
		margin-bottom:45px;
	}
	#subForm button{
		margin-right:0px;
	}
	#footer .row > div#footer_links{
		margin-bottom:0px;
	}
    .team_box {
        margin-bottom: 50px;
    }
	.organisation #default_center, .organisation .text_box{
		margin-top:0px;
		margin-bottom:50px;
	}
    #orga_content #default_center{
        padding-top:50px;
    }
    #home_content .def_text_links img {
        padding-top: 0px;
        width: 45%;
    }
    .default_fw_text {
        padding-right: 30px;
    }

}
@media screen and (max-width: 576px){
	#signout_nl{
		width:100%;
	}
	.publications-row{
		padding:0px 15px !important;
	}
	#home_agenda a .list_small{
		width:100%;
		margin:0px;
		margin-bottom:5px;
	}
	#home_agenda .list_item a{
		display: block;
	}
	.content_search{
		font-size:16px;
		height:40px;
	}
	#searchbtn, #home_content .searchbtn{
		width:30px;
		height:30px;
		right:15px;
		background-size:100% auto;
	}
    .do_img_zoom {
        margin-bottom: 20px;
    }
    #home_content .def_text_links img {
        padding-bottom: 100px;
        width: 70%;
    }
	.home .theme_wrapper img{
		display: none;
	}
	.home .theme_wrapper .do_img_zoom{
		margin-bottom:15px;
	}
	.theme_box_content{
		padding:15px;
	}
	.search_prop{
		padding:3px 10px;
		font-size:16px;
		height:auto;
	}
    .add_event {
        top: 905px;
    }
	#booking{
		width:100%;
		height:300px;
		padding:15px;
	}
	#filter > li{
		width:100%;
		margin-bottom:30px;
	}
	#cookie_wrapper{
        top: inherit;
        bottom:0px;
        width:100%;
        padding:20px;
        z-index: 100000;
    }
	.teaser_home_text, .text_right_text{
		padding:10px;
	}
    .memberbtn {
        margin-right: 22px;
        padding: 10px;
    }
    .news_item{
        margin-right:0;
    }
    #footer .text_box {
        margin-top: 0px;
    }
    #home_news .home_back {
        right: 0px;
    }
}
@media screen and (max-width: 450px){
    .add_event {
      top: 960px;
    }
}
@media screen and (max-width: 420px){
    .add_event {
      top: 1010px;
    }
}
@media screen and (max-width: 400px){
	h1{
		hyphens: auto;
	}
    .memberbtn a {
        font-size: 14px;
    }
    .memberbtn {
        font-size: 14px;
        margin-right: 20px;
    }
    #btn_nav {
        margin-left: 0px;
    }
    .locmap {
        margin-top: 50px;
    }
}
