@media screen and (max-width: 1194px) {
    body.commblue #logo-inner,
    body.commblue #wrapper-content-right-left,
    body.commblue #footer-inner,
    body.commblue #keyvisual-inner,
    body.commblue #toolbar-inner,
    body.commblue #footer    {
        width: 100%;
        border:none;
        box-sizing: border-box;
    }
    body.commblue #wrapper-content-right-left {
        padding: 0px 20px;
    }
    body.commblue #wrapper-content-right {
        width: calc(100% - 325px);
    }
    body.commblue #content {
        margin-left:0;
        width: 100%;
    }    
    body.commblue #content-cleaner {
        width: 100%;
    }
    body.commblue #right-outer {
        float: left;
        width:100%;
    }
        body.commblue #right {
            margin-top: 40px;
        width:100%;
    }
}

@media screen and (max-width: 980px) {
    body.commblue #logo-inner,
    body.commblue #footer-inner,
    body.commblue #keyvisual-inner,
    body.commblue #toolbar-inner,
    body.commblue #content,
    body.commblue #content-cleaner,
    body.commblue #wrapper-content-right-left,
    body.commblue #wrapper-content-right,
    body.commblue #footer    {
        width: 100%;
        border:none;
        box-sizing: border-box;
    } 
    body.commblue dl.zend_form dt {
    	float: none;
    }
    body.commblue #content-cleaner {
        width: 100%;
        margin-top: -10px;    }
        
            #bottom-line {
	border-bottom: none;
	}
    
    /****CONTAINER_DEFINITIONEN*****/
    body.commblue #container {
        max-width:100%;
    }
    
    body.commblue div.image, div.image-center {
        height:auto;
        max-width:100%
    }

    body.commblue div.image img {
        height:auto;
        max-width:100%;
    }
    
    /*****SUCHE*********/   
    body.commblue table.filter td.input {
        text-align:left;
    }
    

    /*****MANUELLERLAYOUTWECHSEL*****/
    .manueller-layout-wechel {
        display:block;
    }
    
    /****CONTAINER_DEFINITIONEN*****/
    /*body.commblue #content {
        margin-right:0;
        margin-right:12px;
    }
    
    body.commblue #right {
        margin-left:259px;
        width: auto;
    }*/
    
    
    
    body.commblue #left {
        display:none;
    }
    
    body.commblue .hamburger-button {
        display:block;
    }
    
	body.commblue-oeffentlich .hamburger-button {
        display:none;
    }
    
    body.commblue .topopen {
        display:block;
        width: 24px; 
        height: 24px;
        background: url("/static/img/hamburger-button-0.png") no-repeat top left #fff;
        color: transparent;
        cursor: pointer;
        margin-left: 0px;
        margin-top: 3px;
        position:absolute;
        z-index:5;
    }
    
    body.commblue .topopen:hover {
        background: url("/static/img/hamburger-button-1.png") no-repeat top left #fff;
    }
    
    body.commblue .topclose {
        display:block;
        width: 24px; 
        height: 24px;
        background: url("/static/img/hamburger-button-1.png") no-repeat top left #fff;
        color: transparent;
        cursor: pointer;
        margin-left: 0px;
        margin-top: 3px;
        position:absolute;
        z-index:10;
    }
    
    body.commblue #left {
        padding: 10px 5px;
        background: none repeat scroll 0 0 #fff;
        box-shadow: 1px 1px 1px 1px rgba(127, 127, 127, 0.75);
        width: 85%;
    }
    
    body.commblue input#menuopen + #left {
        display: block;
        position: absolute;
        left: -1500px;
        top: 35px;
    }
    
    body.commblue input#menuclose:checked + .hamburger-button > .topclose{
           z-index:1;
    }
    
    body.commblue input#menuopen:checked + #left {
        transition: 1s;
        left: 0;
    }
    
    @-webkit-keyframes left {
        100% { left: 0; }
    }
    @keyframes left {
        100% { left: 0; }
    }
}
@media screen and (max-width: 980px) {
    
    /************NAVIGATION SMARTPHONE *****************************/
    #hauptnavigation {
        display: none;
    }
    body.commblue #logo-inner {
    height:76px;
    padding-left: 10px;
    margin-top: 15px;
    margin-bottom: 0px;
}
    body.commblue #toolbar {
    	background-color:#969495;
    	height: 35px;
    }
    body.commblue #toolbar-inner ul li,
    body.commblue #toolbar-inner ul li.first 
    body.commblue #toolbar-inner ul li.last {
    	width: 30px;
    	padding-left:5px;
    	padding-right: 5px;
    	margin: 0px;
    	overflow: hidden;
    	background-color:#969495;
    	height: 32px;
    }
    body.commblue #toolbar-inner ul li.last {
    margin-right: 0px;
    float: right;
    padding-top: 3px;
    border-left: 2px solid #fff;
    border-right: none;
    padding-left: 3px;
    padding-right: 2px;
    height: 32px;
}	
    body.commblue #toolbar-inner ul li a {
    	text-indent:-999999px;
    	display: inline-block;
    }
    
    body.commblue #toolbar-inner ul li.item-0 a {
    height: 30px;
    width: 30px;
    margin-left: 0px;
    background: url("/static/img/icon-home.png") no-repeat top center;
		}
		
		body.commblue #toolbar-inner ul li.item-1 a {
    height: 30px;
    width: 30px;
    background: url("/static/img/icon-suche.png") no-repeat top center;
		}
		
		body.commblue #toolbar-inner ul li.item-2 a {
    height: 30px;
    width: 30px;
    background: url("/static/img/icon-hilfe.png") no-repeat top center;
		}
		
		body.commblue #toolbar-inner ul li.item-3 a {
    height: 30px;
    width: 30px;
    background: url("/static/img/icon-datenpflege.png") no-repeat top center;
		}
		
		body.commblue #toolbar-inner ul li.item-4 a {
    height: 30px;
    width: 30px;
    background: url("/static/img/icon-verteilerpflege.png") no-repeat top center;
		}
		
		body.commblue #toolbar-inner ul li.item-5 a {
    height: 30px;
    width: 30px;
    background: url("/static/img/icon-logout.png") no-repeat top center;
		}
		
    .smartphone {
       display:block !important;
    }
    #smartphone-hauptnavigation ul.first-level{
    	width: 100%
    	float: none;
    	margin-top: 10px;
    	margin-bottom: 10px;
    	border-top: 1px solid gray;
    	border-bottom: 1px solid gray;
    	padding: 10px 0px 10px 0px;
    	position: relative;
    	right: 0px;
    	background-color: #fff;
    	z-index: 0;
    }

    .smartphone li{
        width:100%;
        border-top:1px solid #fff;
    }
    .smartphone ul li.farbschema-orange {
        background: url("/static/img/bg-stripe-blue.gif") repeat-y top left rgba(0, 0, 0, 0);
    }
    .smartphone ul li.farbschema-gruen {
        background: url("/static/img/bg-stripe-grey.gif") repeat-y top left rgba(0, 0, 0, 0);
    }
    .smartphone ul li.farbschema-lila {
        background: url("/static/img/bg-stripe-red.gif") repeat-y top left rgba(0, 0, 0, 0);
    }
    .smartphone ul li.farbschema-braun {
        background: url("/static/img/bg-stripe-green.gif") repeat-y top left rgba(0, 0, 0, 0);
    }
    .smartphone ul li.farbschema-blau {
        background: url("/static/img/bg-stripe-lightblue.gif") repeat-y top left rgba(0, 0, 0, 0);
    }

    .smartphone a,
    .smartphone a.active {
        color:#3d3c3b;
        text-decoration:none;
        display:inline-block;
        float:left;
    }
    
/*.smartphone ul.first-level > li {
				padding-bottom: 2px;
        border-bottom: 1px solid grey;
    }
    .smartphone ul.first-level > li:first-child {
				margin-top: 2px;
        border-top: 1px solid grey;
    }*/

    .smartphone ul.first-level > li > div > a{
        padding-left: 20px;
        width:60% !important;
        font-weight: bold;
        font-size: 15px ;
        padding-top: 15px;
        padding-bottom: 10px;
        min-height: 32px;
    }

    
.smartphone ul li.farbschema-orange ul.second-level > li{
        background: #012b81;
        display: inline-block;
        position: relative;
        z-index:98;
    }

.smartphone ul li.farbschema-gruen ul.second-level > li{
        background: #969495;
        display: inline-block;
        position: relative;
        z-index:98;
}

.smartphone ul li.farbschema-lila ul.second-level > li{
        background: #cf2820;
        display: inline-block;
        position: relative;
        z-index:98;
}

.smartphone ul li.farbschema-braun ul.second-level > li{
        background: #539b33;
        display: inline-block;
        position: relative;
        z-index:98;
}

.smartphone ul li.farbschema-blau ul.second-level > li{
        background: #abc9e1;
        display: inline-block;
        position: relative;
        z-index:98;
}
    
    
    
    
.smartphone ul.second-level > li > div > a{
        padding-left: 0px;
        width:60% !important;
        font-weight: bold;
        font-size: 15px ;
        padding-top: 15px;
        padding-bottom: 10px;
        min-height: 32px;
        color: #fff;
    }
    
  /*  .smartphone ul.second-level > li > div > a{
        margin-left:5%;
        width:72.5% !important;
        color: #fff;
        font-weight: bold;
    }*/
    
    .smartphone ul.third-level > li{
        display: block;
        position: relative;
        z-index:99;
    }
    
    .smartphone ul.third-level > li > div > a{
        padding-left: 20px;
        width:70% !important;
        color: #fff;
        text-transform: uppercase;
        padding-top: 15px;
        padding-bottom: 10px;
        min-height: 32px;
    }

    .smartphone ul.first-level > li > div > a{
        color:#3d3c3b !important;
    }

    .smartphone ul li ul{
        /*display:none;*/

    }
    /*.smartphone-no-script ul li.active > ul {
        display:block;
    }

    .smartphone-no-script ul li.active ul li.active > ul {
        display:block;
    }

    .smartphone-no-script span.plus{
        width:20%;
        height:20px;
        background:red;
        display:block;
        float:right;
    }

    .smartphone-no-script span.minus{
        width:20%;
        height:20px;
        background:orange;
        display:block;
        float:right;
    }*/
    

    /********************************/

    .smartphone-script ul.first-level > li > div > a {
        margin-left:2.5%;
        /*width:60% !important;*/
        display:inline-block;
    }

    .smartphone-script ul.second-level > li > div > a{
        margin-left:5%;
        /*width:60% !important;*/
        display:inline-block;
    }

    .smartphone-script ul.third-level > li > div > a{
        margin-left:7.5%;
        /*width:60% !important;*/
        display:inline-block;
    }

    .smartphone-script span.smartphone-plus{
        width:29px;
        height:55px !important;
        content:'+';
        display:inline-block;
        /*float:right;*/
        cursor:pointer;
        /*background: rgba(255, 255, 255, 0.50);
        -ms-filter: "progid:D:DXImageTransform.Microsoft.gradient(startColorstr=#7fffffff, endColorstr=#7fffffff)";*/
        max-height: 100%;
        text-align: center;
        float:right;
        background:url("/static/img/smartphone-navi-plus.png") no-repeat scroll center center;
        padding-right: 25px;
    }

    .smartphone-script span.smartphone-minus{
        width:29px;
        height:55px !important;
        /*content:'-';
        color:white;*/
        display:inline-block;
        /*float:right;*/
        cursor:pointer;
        font-size: 24px;
        /*background: rgba(255, 255, 255, 0.50);
        -ms-filter: "progid:D:DXImageTransform.Microsoft.gradient(startColorstr=#7fffffff, endColorstr=#7fffffff)";*/
        max-height: 100%;
        text-align: center;
        float:right;
        background:url("/static/img/smartphone-navi-minus.png") no-repeat scroll center center ;
        padding-right: 25px;
    }
    .smartphone.hamburger-toggle {
        margin-bottom:15px;
    }

    .hamburger-button {
    	  margin-top: 10px;
        display: block;
        height: 40px;
        top: 0px;
        left: -10px;
        width: 40px;
        background:url("/static/img/hamburger-button-0.jpg") no-repeat scroll 0 0 #fff;
        float: right;
    }

    .hamburger-button.active {
        background:url("/static/img/hamburger-button-1.jpg") no-repeat scroll 0 0 #fff;
    }
}                                 
                                      
@media screen and (max-width: 640px) {
/****CONTAINER_DEFINITIONEN*****/
    
    body.commblue #header {
        /*overflow:hidden;
        position:relative;
        -moz-border-bottom-colors: none;
        -moz-border-left-colors: none;
        -moz-border-right-colors: none;
        -moz-border-top-colors: none;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        border-color: -moz-use-text-color #cbcbcb #cbcbcb;
        border-image: none;
        border-right: 1px solid #cbcbcb;
        border-style: none solid solid;
        border-width: 0 1px 1px;
        margin-left:12px;
        margin-right:12px;*/
        border: none;
        margin-bottom: 10px;
        height: 90px;
        background-image: none;
        width: 78%;
    }
    body.commblue #header-wrapper {
        padding-top:0px;
    }
    
    body.commblue #header img{
        max-width:80%;
        height:auto;
    }
    
    body.commblue #wrapper-content-right-left {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    body.commblue #content {
        margin-left:0px;
        margin-right:0px;
    }
    
    body.commblue #right-outer {
        float: left;
    }
    
    body.commblue #right {
        margin-left:0px;
        width: auto;
    }

}
@media screen and (max-width: 520px) {
/****CONTAINER_DEFINITIONEN*****/
body.commblue table.filter td.label {
    display: block;
    width: 90%;
}
}

@media screen and (max-width: 460px) {
/****CONTAINER_DEFINITIONEN*****/
    #userProfileEditForm label.label {
    	float: none;
    }
    body.commblue table.archivliste .icons {
        float: right;
        width: 100%;
        margin-bottom:5px;
    }
    body.commblue table.archivliste .icons a{
        float:left;
    }
    body.commblue table.archivliste .icons a img{
        margin-left:0;
        margin-right: 8px;
    }
}