.base
{
	margin: 0px auto;
}

.events {
	padding-left:30px;
}

.smartPhone {
	display: none;
}

#dnpz_title
{
    font-family:Arial; 
    font-weight:bold; 
    font-size:24px; 
    color:#cc2222; 
    margin-top:120px; 
    text-align:right; 
    width:100%;
}

table
{
	position: relative;
}

table tr td
{
	border-bottom: 1px solid #CCCCCC;
}

a
{
	color: #cc2222;
}

.body
{
	width: 100%;
	background: #cccccc;
 }

 .navbar_top
 {
	 float:right; 
	 max-width: calc( 100% - 200px );
 }
 
 .container
 {
	 max-width: 1400px;
 }
 

 
.content_all, .container
{
	background: #FFFFFF;
	padding: 20px 50px;
}

.container_image
{
	margin: 0px auto 0px auto;
	padding: 50px 0px 0px 0px;
	border-right: 1px solid #CC0000;
	border-left: 1px solid #CC0000;	
}

.content
{
	min-height: 900px;
}

.footer, .header
{
	background: #ffffff;
}

.demenz_braucht_gemeinschaft
{
	border: 1px solid #CC0000;	
}

.header, .footer, .content_block
{
	border-right: 1px solid #CC0000;
	border-left: 1px solid #CC0000;
}

.footer, .container
{
	padding-top: 20px;
	padding-bottom: 20px;
}

.header
{
	padding-top: 20px;
	padding-bottom: 0px;
}

a:hover
{
	color: #999999;
}

.navbar
{
	margin: 0px;
	padding: 0px;
	margin-top: 20px;
}

.navbar .container
{
	padding-top: 10 px;
}

.nav-link
{
	color: #cc2222 !important;
	font-weight: bold;
	margin: 3px;
	margin-right: 3px;
	border-radius: 5px;
	padding-left: 3px !important;
	border: transparent solid 1px !important;
}

.nav-active
{
	background: #FFFFFF;
	border: #CC2222 solid 1px !important;
}

.nav-link:hover
{
	color: #444444 !important;
}

.footer img
{
	margin: 30px;
}

.footer
{
	font-size: 0.8em;
	border-top: 1px solid #cc0000;
	border-bottom:1px solid #cc0000;
}

.footer_image
{
	padding: 0px;
	border-right: 1px solid #cc0000;
	border-left: 1px solid #cc0000;
}

.header
{
	min-height: 180px;
}

select, textarea, input[type=text]
{
	width: calc( 100% - 20px );
	border: 1px solid #CCC;
	border-radius: 5px;
	margin: 5px;
	padding: 5px;
}

input[type=submit]
{
	width: calc( 100% - 10px );
	border: 0px none;
	border-bottom: 1px solid #CCC;
	margin: 5px;
	padding: 5px;
	background: #EEE;
	cursor: pointer;
	border-radius: 5px;
}

textarea:focus, input[type=text]:focus
{
	background: #EEE;
	color: #111;
	border-radius: 5px;
	border-bottom: 1px solid #CC2222;
}

.legende_item
{
	width: 30%;
}

.right-border
{
	border-right: 2px solid #CC0000;
}

h1
{
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 40px;
	color: #cc2222;
}

h2
{
	font-size: 22px;
	font-weight: bold;
}

h3
{
	font-size: 18px;
	text-align: right;
	color: #cc2222;
	font-weight: bold;
	font-style: italic;
}

h4
{
	font-size: 14px;
	text-align: right;
	color: #444444;
	font-weight: normal;
}

.content_all
{
	overflow: hidden;
	min-width: 320px;
	min-height: 900px;
}

@media (max-width: 992px) 
{ 
    #dnpz_title
    {
        text-align: center;
        margin-top:0px; 
    }

	.header div
	{
		float: none !important;
	}
	
	.header div
	{
		text-align: center;
	}

	.navbar_top, .navbar-nav
	{
		clear: both;
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	
	#navbarsExample07
	{
		width: 100%;
	}
	
	.container 
	{
		padding: 15px;
		margin: 0px;
	}
}

@media (max-width: 768px) 
{ 
    table
    {
        max-width: calc(100%) !important;

    }

    table tr
    {
        display:flex; 
        justify-content : flex-start;
        flex-wrap: wrap;
    }

    table tr td 
    {
        display: flex;
        width: 100%;
        margin: 0px;
        padding-left: 0;
        padding-right: 0;
    }

    table td img
    {
        max-width: calc( 100% - 20px);
        margin-left: 0px !important;
    }   
    
    .thismonth
    {
        text-align: center;
    }

	.demenz_braucht_gemeinschaft
	{
		display: none;
	}
	
	.header
	{
		border-bottom: 1px solid #CC0000;
	}

	.right-border
	{
		border-right: 0px none transparent;
	}

	.content img
	{
		max-width: calc( 100% - 30px ) !important;
		height: auto !important;
	}

	.header_background
	{
		display: none;
	}
	.header
	{
		text-align: center;
	}
	
	.content_all .container
	{
		padding: 20px 5px;
	}	
	
	#map-container
	{
		display: none;
	}
	
	.legende_item
	{
		width: 100%;
	}
	
	img 
	{
		max-width: 100%;
	}
	
	.footer img
	{
		margin: 0px;
		margin-top: 10px;
		margin-bottom: 10px;
	}	
	
	.navbar {
		position: fixed;
		top: 0px;
		left: 0px;
		z-index: 999999;
		background: #fff;
		padding: 10px;
		width: calc( 100% ) !important;
		margin: 0px;
		border: 1px solid #CC0000;
	}
	
	#navbarsExample07
	{
		max-width: 100%;
		overflow: hidden;
	}
	
	.navbar-toggler{
		top: 0px;
		right: 0px;
		width: 50px;
		height: 50px;
		background: #eee;
		border: 1px solid #222;
		clear: both;
	}

	.events
	{
		padding: 3px !important;
	}
	
	.events > div{
		border-bottom: 1px solid #111;
		padding-top: 20px;
	}
	
	iframe{
		height: 200px !important;
	}
	
	.smartPhone {
		display: block;
	}
	
	.hiddenSmartPhone {
		display: none;
	}	
	
	.navbar-collapse{
		margin-top: 20px;
	}
	
	.content{
		overflow: hidden;
	}
	
	.events {
		padding-left:0px;
		margin: 10px;
	}
	
	
	.events h2 {
		border-top: 1px solid #111;
		padding-top: 30px;
	}
}

