 @media (max-width: 1280px) {
 #footer .container-fluid:first-child {/*padding-left:10px !important;*/}
 }



/* Large desktop & notebooks */
 @media (min-width: 980px) { 
 	/* sidebar */
	#sidebar {
		position: absolute;
 		width: 215px;
  	}

  	#sidebar > ul{
  		margin-top:22px;
  		width: 215px;
  	}

  	/* body container */
  	#body { 
		margin-top: 0px !important;
	}

	.fixed-top #body {
		margin-top: 0px;
	} 
	body #body {margin-top:125px !important;}
}



/* General styles for phones and tablets */
@media (max-width:979px) { 
    .sub-title {display:none !important;}
	body #body {
		margin-left: 0;
		margin-top: 15px !important;
	}
	#sidebar {
		margin-top:9px !important;
    }
	
	#header .navbar-inner li.dropdown i {
		display: inline-block;
		position: relative;
	}

	#header.navbar {
		margin-bottom: 0px !important;
		height:80px;
	}	
	
	.navbar-inner {
		height:80px;	
	}
	.container-fluid {
    	padding-left: 20px;
	}
	
	.suche-user-container.full-width  {
		margin-left:5px !important;
	}
	
	.page-title {
		margin: 4px 0px 7px 0px !important;
	}

	.fixed-top #body {
		margin-top: 0px;
	} 

	#container {
		margin-top: 0px !important;
	}

	.fixed-top #container {
		margin-top: 0px !important;
	}
	
	#sidebar {border:0px !important;}
	
	#sidebar .sidebar-toggler {
		display: none;
	}

	#sidebar.in {
		margin-top: 9px !important;
		margin-bottom:-50px !important;
	}

	#sidebar > ul {
		width:100%;
		padding-top:65px !important;
	}

	.top-nav .text {
		display: none;
	}

	.top-row {
		padding: 0 0 0 4px;
	}

	#sidebar .triangle {
		display: none;
	}

	#sidebar > ul > li:first-child > a{
		border-top:0px !important;
	}		
	#sidebar > ul > li:last-child > a {
		border-bottom:0px !important;
	}

	#sidebar > ul > li:first-child > a:hover, #sidebar > ul > li.active:first-child > a{
/*		 -webkit-border-radius: 4px 4px 0 0 !important;
    		-moz-border-radius: 4px 4px 0 0 !important;
         		 border-radius: 4px 4px 0 0 !important;*/
         border-top:0px !important;		 
	}		
	#sidebar > ul > li:last-child > a:hover, #sidebar > ul > li.active:last-child > a {
/*		 -webkit-border-radius: 0 0 4px 4px !important;
    		-moz-border-radius: 0 0 4px 4px !important;
         		 border-radius: 0 0 4px 4px !important;*/
         border-bottom:0px !important;		 
	}
	#sidebar .menu-bottom-search { 
		height:50px;
	}
	#sidebar .menu-bottom-search .search-input-icon { 
		max-width:100%;
	}

	#sidebar .menu-bottom-search button, #sidebar .menu-bottom-search .btn {
		margin-top:0px;
		margin-left:5px;
		width:100px;
		position:absolute;
		top:10px;
		right:10px;
	}
	
	#sidebar .menu-bottom-search .input-wrap{
		right:130px;
	}
		
	.item-description {padding:10px 5px 10px 5px;}
	figcaption h5 {font-size:13px; line-height:16px;}
	
	.footer-box {margin-left:0px;}
	#footer .anmeldung {padding-left:25px;}
	#footer .span3 {padding:0 25px 40px 0;}
	#footer .span4 {padding:0 25px 0 0;}
}

 
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 
	body {
	 	padding-top: 0px;
	}

	#body { 
		margin: 7px !important;
		position: none !important;
	}

	#sidebar {
	 	margin: 0px 7px 10px 7px !important;
	}

	#sidebar .btn-navbar.collapsed .arrow { 
		display: none;
	}	

	#sidebar .btn-navbar .arrow {
	  position: absolute;
	  right: 35px;
	  width: 0; 
	  height: 0;
	  top:48px;
	  border-bottom: 15px solid #282e36;
	  border-left: 15px solid transparent; 
	  border-right: 15px solid transparent; 
	}
    .widget h3 {
    line-height:30px !important;
    }
} 
 
/* Landscape phones and down */
@media (max-width: 767px) { 
	body {
	 	/*padding: 0px 5px 5px 5px !important;*/
	}

	#header {
		padding-left: 0px;
		padding-right: 0px;
		margin: 0px;
		margin-left: -5px;
		margin-right: -5px;
	}	

	#footer {
		padding-left: 0px;
		padding-right: 0px;		
	}	
	.footer-wrapper {padding:0 20px;}

	#header .navbar-inner {
		padding-top: 0px !important;
		margin-top: 0px !important;
	}
	
	.suche-user-container.full-width  {
		margin-left:0px !important;
	}
	.suche-user-container.full-width .suchfeld {margin-left: 20px !important;}

	#sidebar > ul > li:first-child > a:hover, #sidebar > ul > li.active:first-child > a {
		 -webkit-border-radius: 0px !important;
    		-moz-border-radius: 0px !important;
         		 border-radius: 0px !important;
	}

	#sidebar .btn-navbar .arrow {
	 	display: none;
	}

	#header .top-nav .nav{  
	 	margin-top: 0px;
	 	margin-right: 5px;
	}

	#header .navbar-inner {
		padding-top: 0px !important;
		margin-top: 0px !important;
	}

	.container-fluid {
	 	margin: 0px;
	 	padding:0px;
	}

	#container {
		margin-top: 0px !important;
	}

	#body { 
		margin: 0px  !important;
	}
	#page {
		padding-left:20px;
		padding-right:20px;
	}

	.breadcrumb {
		padding-left: 20px;
  		padding-right: 20px;
/*		margin-left: -5px;
		margin-right: -5px;*/
	}

	#header.navbar .nav > li > .dropdown-menu.notification::after {
		margin-right: 110px;
	}

	#header.navbar .nav > li > .dropdown-menu.notification {
  		margin-right: -105px;
	}

	#header.navbar .nav > li > .dropdown-menu.inbox::after {
		margin-right: 85px;
	}

	#header.navbar .nav > li > .dropdown-menu.inbox {
  		margin-right: -80px;
	}

	#container {
		margin-top: 1px !important;
	}

	.fixed-top #container {
/*		margin-top: 1px !important;*/
	}	

	.widget-body.form .form-actions{
	  padding-left: 15px;	
	} 

	.input-icon .input-error, .input-icon .input-warning, .input-icon .input-success { 
		top:-25px;
		float: right;
		right:10px !important;
	}	

	.table-advance tr td.highlight:first-child a {
		margin-left: 8px;
	}

	#footer .go-top {  
		float: right;
		display: block;
		margin-top: -22px;
		margin-right: 0px;
		margin-bottom: 5px !important;
	}
	
	.navbar-inner {
		height:80px;
	}
	.navbar-inner .container-fluid {
		padding:0 5px;
	}
	
	
	
	.suche-user-container .hidden-phone {
		display:block !important;
	}

	#sidebar > .visible-phone{
		display:none !important;
	}	

	.download-meldung span {
		display:none;
	}
	ul.download-icons {
		float:left;
	}
	.row-fluid-custom [class*="span"], .row-fluid-custom [class*="span"]:first-child {
		margin:0;
		padding:0 5% 25px 5%;
	}
	
	.item-description {padding:10px 5px 15px 5px;}
	figcaption h5 {font-size:14px; line-height:18px;}
	figure {/*background:#EFEFEF;*/}
	figure, figure a div {text-align:center;}
	h2 {font-size:24px; line-height:30px;}
	h3.h3-detail {margin-top:15px;}
	.widget-list {border:0px;}
	.widget-list-right {padding-left:5px;}
	.img-subline {padding:3px 8px; margin:0 0 15px 0;}
	.bilder .space10 {height:0px !important;}
	.btn-lightbox {padding-top:10px;}
	p.list-full {font-size:15px; line-height:22px; padding:10px 13px 0 0; margin:0;}

	
	.row-fluid-custom3 [class*="span"] {margin-right:1.9%; margin-top:5px;}
		.row-fluid-custom3 .span3 {width:100%;}
	
		.row-fluid-custom4img [class*="span"] {margin-right:0; padding-left:0px; padding-right:5px; margin-top:5px;}
		.row-fluid-custom4img .span4 {width:100%;}
		.row-fluid-custom4img .span3 {width:100%;}
		.row-fluid-custom4img .span2 {width:100%;}
	
	.row-fluid-custom4 [class*="span"] {margin-right:1.9%; margin-top:5px;}
		.row-fluid-custom4 .span4 {width:100%;}
	
	.row-fluid-custom2 [class*="span"] {margin-right:2.1%; margin-top:5px;}
		.row-fluid-custom2 .span2 {width:100%;}
	
	#footer .anmeldung {padding-left:0px; padding-right:25px;}
	#footer .span4 {padding-bottom:30px;}
	#footer .span4:last-child {padding-bottom:0px;}
		
	#portfolio-wrapper div > .left {
    	padding-right:0px;
	}
}	

@media (max-width: 570px) {

}

@media (max-width: 480px) {
	#header.navbar {height:80px !important;}
	#header .brand img {max-height:55px !important;}
	.header-image {height:96px !important; background:url(../img/header4-small.jpg) center center !important;}
	.suche-user-container {margin:170px 0 0 10px;}
	#header .sub-title {top:130px; background:#000000; padding:3px 6px; text-align:right; font-size:14px; line-height:25px; font-weight:500; letter-spacing:0.6px;}
	.breadcrumb {padding-top:40px;
		padding-left: 10px;
  		padding-right: 10px;
	}
	.suche-user-container.full-width .suchfeld {left: 20px !important;}
	
	li#header_notification_bar,
	.btn-lightbox
/*	a#Content_LB_AllFiles_Lightbox,
	a#Content_LB_Image_Lightbox,
	a#Content_R_Document_Documents_LB_Document_Lightbox_0*/ {display:none !important;}
}

/* Sondergröße 3 */
@media (min-width: 431px) { 
	.suche-user-container {
		margin-left:215px;
	}
	
	.suche-user-container.full-width  {
		margin-left:227px;
	}
}


/* Landscape phones and down */
@media (max-width: 430px) { 
	#page {
		padding-left:5px;
		padding-right:5px;
	}
	
	#header.navbar {
/*    	height: 60px;*/
    	margin-bottom: 0 !important;
	}
	.navbar-inner {
/*		height:60px !important;*/
	}
	
	.logo-container {
		width:135px;
	}
	
	.logo-container img {
/*		max-width:130px;*/
		margin-left:5px;
	}
	
	.suche-user-container {
		margin-left:135px !important;
	}
	
	.user.data {
		width:100% !important;
		padding:10px 0 0 0 !important;
	}
	
	.logo-container {width:auto}
	.logo-container img {max-width:auto; margin:0;}
	#container.row-fluid:before, #container.row-fluid:after {display:table;}
	.user-data {/*padding-top:20px;*/}
/*	#header.navbar {height:55px !important;}*/
	#header .sub-title {/*font-size:13px; line-height:20px; bottom:20px !important;*/}
/*	.sub-title {color:#FFFFFF !important; top:8px !important;}*/
}	

/* Landscape phones and down */
@media (max-width: 385px) {
	
	.page-title small {
		display: block;
		margin: 0px 0px 18px 0px;
	}
	
	#sidebar.in {
		margin-top: 7px !important;
	}

	#header .navbar-inner {
		padding-top: 0px !important;
		margin-top: 0px !important;
	}
	#header_notification_bar {
		display:none;
	}
	
	h2 {
		font-size:24px;
		line-height:30px;
		margin:0 0 15px 0 !important;
	}
	.suche-user-container  .suchfeld{
		right:160px;
	}
} 

@media (max-width: 319px) {
#header .sub-title {display:none;}
}

/* Sondergröße 2 */
@media (max-width: 1024px) { 
	#footer {
		/*margin-left:0px;
		padding-left:25px;*/
	}
}
@media (min-width:676px) and (max-width:767px) {
	figure {background:#EFEFEF; padding-top:15px;}
}
