/**
 * "Yet Another Multicolumn Layout" - YAML CSS Framework
 *
 * default screen stylesheet - PAGE-layout type layout
 *
 * @copyright       Copyright 2005-2012, Dirk Jesse
 * @license         CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
 *                  YAML-CDL (http://www.yaml.de/license.html)
 * @link            http://www.yaml.de
 * @package         yaml
 * @version         v4.0.1
 * @revision        $Revision: 733 $
 * @lastmodified    $Date: 2012-03-04 19:15:48 +0100 (So, 04 Mrz 2012) $
 */

@media screen {

    /* apply a natural box layout model to all elements */    
    * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
    
    /* force vertical scrollbar */
    body {
        overflow-y: scroll;
        background-color: #403f3b;
    }

    /* Layout Module Configuration & fallback for unsupported media queries */
    .ym-wrapper {
        min-width: 980px;
        max-width: 980px;
        margin: 0 auto;
    }

    .mainbordered {
        -webkit-box-shadow: 0 0 10px rgba(0,0,0,.8);
        -moz-box-shadow: 0 0 10px rgba(0,0,0,.8);
        box-shadow: 0 0 10px rgba(0,0,0,.8);
        background-color: #fff;
   }


    .ym-wbox { padding: 0 10px; }

   
    .logo{
         background: url("../img/logo-sprite.png") no-repeat scroll left top transparent;
    }
    .logo-ac{ background-position: 0 0; width: 268px; height: 68px; float:left; margin-left: 25px;} 
    .logo-hu{ background-position: 0 -73px; width: 85px; height: 85px; float:right; margin-right: 25px;} 

    #nav .ym-hlist{
        overflow: visible;
    }

    .topmenu{
        overflow: hidden;
        height: 120px;
        padding-top: 20px;
    }
    .topmenu .ym-hlist{
        float: right;
        width: 320px;
        font-family: 'Noto Sans';
    }
    .topmenu .ym-hlist a{
        font-size: 10px;
        color: #a7a5a0;
        text-transform: uppercase;
    }

    .topmenu h1{
        padding-top: 0;
        border: medium none;
        min-height: 0;
        margin-bottom: 0;
    }

    .mainMenu{
        position: relative;
       /* z-index: 1000; */
        border-top: 4px solid #4c4e41;
        margin-bottom: 10px;
        height: 40px;
        overflow: visible;
        zoom:1;
        background: #e8e6df; /* Old browsers */
        background: -moz-linear-gradient(top,  #e8e6df 0%, #d9d7d0 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e8e6df), color-stop(100%,#d9d7d0)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  #e8e6df 0%,#d9d7d0 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  #e8e6df 0%,#d9d7d0 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  #e8e6df 0%,#d9d7d0 100%); /* IE10+ */
        background: linear-gradient(to bottom,  #e8e6df 0%,#d9d7d0 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8e6df', endColorstr='#d9d7d0',GradientType=0 ); /* IE6-9 */
    }

    .mainMenu > ul {
        margin: -4px 0 0 0;
        display:inline;
        float:left;

    }

    .mainMenu > ul > li {
        border-top: 4px solid #4c4e41;
        display:inline;
        float:left; /* LTR */
        font-size:1.0em;
        line-height:1em;
        list-style-type:none;
        margin: 0;
        padding:0;
        height: 100%;
    }

    .mainMenu > ul > li.selected,
    .mainMenu > ul > li.active{
        border-top: 4px solid #F7CB53;
    }

    .mainMenu > ul > li:hover{
        background-color: #face47;
    }

    .mainMenu ul ul,
    .mainMenu ul li ul li{
        margin:0;
        list-style-type:none;
    }
    .mainMenu ul ul{
        /***/
        z-index: 2;
        position: absolute;
        top: -50em;
        opacity: 0;
        background-color: #face47;
        padding-bottom: 10px;
    }
    .mainMenu > ul > li:hover ul{
        top: 35px;
        opacity: 1;
        padding-top: 10px;
        display: block;
    }
    .mainMenu ul li ul li{
        width: auto;
    }
    .mainMenu ul li ul li:hover{
        background-color: #fff;
    }

    .mainMenu ul li a{
        font-family: 'Noto Sans';
        text-transform: uppercase;
        font-size: 14px;
        color: #3c4545;
        line-height: 2.5em;
        padding: 0 20px;
    }
    .mainMenu a,
    .mainMenu a:hover, 
    .mainMenu a:focus{
        text-decoration: none;
    }

    .mainMenu > ul > li > a{
        background: url("../img/main-nav-glue.png") no-repeat scroll right top transparent;
        display: block;
        margin-right:-1px; 
    }

    
    .mainMenu ul li ul li a{
        text-transform: none;
        font-size: 13px;
        line-height: 2em;
        padding: 0 15px;
    }

    .mainMenu ul li ul li a:before {
        content: "›";
        margin-right: 5px;

    }
    div.language,
    div#currentLanguage{
        width: 53px;
        float: right;
        display: inline-block;
    }
    div#currentLanguage{
        background: url("../img/main-nav-glue.png") no-repeat scroll left top transparent;
        font-family: 'Noto Sans';
        font-size: 14px;
        line-height: 2.5em;
        padding: 0 0 0 15px;
        text-transform: uppercase;
        cursor: pointer;
        float: right;
    }
    div#currentLanguage:after{
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowM0I3MTI3OTVGMkUxMUUyQUY5NjgxREExNjBBQzc3MyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowM0I3MTI3QTVGMkUxMUUyQUY5NjgxREExNjBBQzc3MyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjAzQjcxMjc3NUYyRTExRTJBRjk2ODFEQTE2MEFDNzczIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjAzQjcxMjc4NUYyRTExRTJBRjk2ODFEQTE2MEFDNzczIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+VeXTcwAAAFhJREFUeNpidHS0DWBgYDBgwA4usACJB0A8H4gF0CQ/ALEj0759hy4AGYVYdBeC5JhALCBjAZBagCS5ACrGwIKsA8ktcBMZ////D1fh5GRnADXxAkwMIMAAQdEa5wZxIBsAAAAASUVORK5CYII=") no-repeat scroll right 4px transparent;
        content: "";
        padding-left: 15px;
    }
    div.language{
        display: none;
        position: absolute;
        right: 0;
        top:35px;
        z-index: 2;
        background: #d9d7d0; /* Old browsers */
        background: -moz-linear-gradient(top,  #d9d7d0 0%, #e8e6df 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d9d7d0), color-stop(100%,#e8e6df)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  #d9d7d0 0%,#e8e6df 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  #d9d7d0 0%,#e8e6df 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  #d9d7d0 0%,#e8e6df 100%); /* IE10+ */
        background: linear-gradient(to bottom,  #d9d7d0 0%,#e8e6df 100%); /* W3C */
    }
    div.language ul{
        list-style-type: none;
        margin: 0;
        overflow: hidden;
        padding: 0;
        width: 100%;
    }
    div.language ul li{
        margin: 0;
    }
    div.language ul li:hover{
        background-color: #403F3B;
    }
    div.language ul li:hover a{
        color: #fff;
    }
    div.language ul li a{
        padding: 0 0 0 15px;
        display: block;
    }

.ym-searchform .ym-searchfield {
    border: medium none;
    display: block;
    float: left;
    font-size: 12px;
    height: 23px;
    margin: 0;
    padding: 0 0 0 10px;
    width: 143px;
    box-shadow: none;
    background-color: #FAFAF8;
}

.ym-searchform .ym-searchbutton {
    background: url("/fileadmin/ac/templates/img/main-searchsubmit.jpg") no-repeat scroll 0 0 transparent;
    border: medium none;
    color: transparent;
    cursor: pointer;
    display: block;
    float: left;
    height: 23px;
    margin: 0;
    padding: 0 0 0 23px;
    width: 30px;
    border-radius: 0;
    box-shadow: none;
}

    .subpageMenu{
        /***/
        z-index: 1;
        background-color: #f0eee9;
        border: 0 none;
        padding: 25px 0;

    }

    .subpageMenu ul {
        list-style-type:none;
        margin:0;
        padding:0;
        width:100%;
        overflow:hidden;
    }

    .subpageMenu > ul{
        width: 200px;
        margin: 0 auto;
    }
    .subpageMenu li {
        float: left;
        line-height: 1.2;
        margin: 0;
        padding: 6px 0;
        width: 100%;
    }

    .subpageMenu a{
        text-decoration:none;
        font-size: 12px;
        font-family: 'Noto Sans';
    }
    .subpageMenu a:hover,
    .subpageMenu a:focus,
    .subpageMenu a.selected{
        color: #53514a
    }

    /* Level 2 */
    .subpageMenu li ul li { margin-left: 5%; width: 95%; border-bottom: 1px dotted #53514a;} 
    .subpageMenu li ul li.last{ border:none;}

    .subpageMenu > ul > li.selected > ul,
    .subpageMenu > ul > li.active > ul {
        border-top: 2px solid #facd46;
        border-bottom: 2px solid #facd46;
        margin: 5px 0;
    } 

    /* Level 3 */
    .subpageMenu li ul li ul li{border:none; }

    .subpageMenu li ul li ul li{
        padding: 6px 0 6px 5px;
        text-indent: -5px;
        margin-left: 0;
        width: 100%;
    }

    .subpageMenu ul > li > ul > li.selected > ul,
    .subpageMenu ul > li > ul > li.active > ul{
        border-top:1px dotted #53514a;
        margin-top: 6px;
    }
    /*Contact unter Menu*/
    .contact {
        margin-top: 20px;
        padding-left: 16px;
    }
    .contact p.bodytext{
        margin: 0.5em 0 0;
    }

    .breadcrumb,
    .footerSingleLinks{
        list-style: none outside none;
        font-size: 12px;
        font-family: 'Noto Sans';
        padding-top: 30px;
        height:60px;
    }
    .breadcrumb{
         margin-bottom: 5px;
    }
    .breadcrumb ul,
    .footerSingleLinks ul{
        margin: 0;
    }

    .breadcrumb li,
    .footerSingleLinks li{
      display: inline-block;
      *display: inline;
      *zoom: 1;
      margin: 0;
      font-size: 12px;
      color: #53514a;
    }
    .breadcrumb li.first{
        display: none;
    }
    .breadcrumb li.last{
        color: #a09d92;
    }
    .breadcrumb li a,
    .footerSingleLinks li a{
        font-size: 12px;
        font-family: 'Noto Sans';
    }

    .breadcrumb span,
    .footerSingleLinks span {
      padding: 0 5px;
      font-size: 12px;
      color: #406b84;
    }

    .footerSingleLinks{
        padding-top: 0;
        text-align: right;
        height: 35px;
        padding-right:26px;
    }
    .footerSingleLinks li a{
        color: #00374e;
    }
    .footerCopyright a {
        color: #fff;
    }

    .ym-col1 h1{
        min-height:118px;
        height:auto !important;  /* für moderne Browser */
        height:118px;  /*für den IE */

        padding-top: 24px;
        border-bottom: 1px dotted #53514a;
        border-top: 1px dotted #53514a;
        color: #53514a;
        font-family: 'Utopia W01 Regular', Arial, Helvetica, sans-serif;
        margin-bottom: 30px;
        font-size: 36px;
    }

    /* maincontent*/
    p.bodytext{
        font-family: 'Noto Sans';
    }

    tbody td,table{
        border: none;
    }
    tbody tr:hover th, tbody tr:hover td{
        background: none;
    }

    p.csc-linkToTop{
        padding-top: 30px;
        border-top: 1px dotted #53514a;
    }
    p.csc-linkToTop a{
        text-transform: uppercase;
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAYAAABCxiV9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEVJREFUeNpidMhuYYCCNCBWAuIKmAALlJ4JlXwPxMZAnA7E95iAxDEgdgHiMCA2gSo+A8SKIJ1zgXgdVBcIuEJNuQ8QYAB3rAvm6+H3YQAAAABJRU5ErkJggg==") no-repeat scroll left 5px transparent;
        padding-left: 15px;
        font-size: 13px;
    }

    .csc-filelinks-fileext{
        text-transform: uppercase;
    }

    .csc-filelinks p {
        margin: 0.5em 0 0;
    }
    .teamSitemap{
        margin-top: 35px;
    }

    .teamSitemap ul{
        list-style-type: none;
        margin: 30px 0 0 0;
    }
    .teamSitemap ul li{
        line-height: 30px;
        margin-left: 0;
    }

    .teamSitemap ul li a {
        font-size: 15px;
        font-family: 'Utopia W01 Regular', Arial, Helvetica, sans-serif;
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAGCAYAAADkOT91AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADlJREFUeNpicMhuMQbiMwzIACiwG4hngtjMIELBzOkokJoIpBmYGNAAC5QGKd9zYGpNJwO6oQABBgBqOhCr15qptQAAAABJRU5ErkJggg==") no-repeat scroll left 3px transparent;
        padding-left: 10px;
    }

    /* startseite Anpassung der grid Abstaende*/
    #start .content .ym-grid .ym-gbox-left{
        padding-right: 25px;
    }
    #start .content .ym-grid .ym-gbox-right{
       /* padding-left: 24px;*/
        padding-left: 15px; 
    }
    #start .content .ym-grid .ym-gbox-left .ym-grid .ym-gbox-left,
    #start .content .ym-grid .ym-gbox-right .ym-grid .ym-gbox-left{
        padding-right: 11px;
    }
     #start .startMediaLeft{
        padding-right: 11px;
    }
    .startMediaLeft h4{
        width: 210px;
    }
    #start .content .ym-margin{
        /*margin-bottom: 20px; */
    }

    .welcomeMessage{
        padding-left: 20px;
    }

    /* frames*/
    .frame-custom-100,
    .colored-bg{
        background-color: #e9e7e1;
    }
    .frame-custom-100 h4,
    .colored-bg h4{
        background-color: #fff;
    }
    .frame-custom-100 h5,
    .colored-bg h5{
        margin-bottom: 15px;
    }
    .frame-custom-100 p.bodytext,
    .colored-bg p.bodytext{
        margin: 0;
    }
    .frame-custom-100 a,
    .colored-bg a,
    .tx-nipageteaser-pi1 a,
    .startToList a,
    .toList a,
    #start .tx-yag-thumb-caption a{
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAGCAYAAADkOT91AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADlJREFUeNpicMhuMQbiMwzIACiwG4hngtjMIELBzOkokJoIpBmYGNAAC5QGKd9zYGpNJwO6oQABBgBqOhCr15qptQAAAABJRU5ErkJggg==") no-repeat scroll right 6px transparent;
        padding-right: 10px;
    }
    .colored-bg .csc-textpic{
        padding: 20px;
    }
    .frame-custom-100 .ce-gallery {
        margin-right: 20px !important;
    }
    .colored-bg .csc-textpic-imagewrap{
        margin-right: 20px !important;
    }
    .colored-bg .csc-textpic-image{
        margin-bottom: 0 !important;
    }

    footer {
        margin: 0 -10px;
        background: #eeedea;
        color: #403f3b;
        font-family: 'Noto Sans';
        font-size: 12px;
    }

    footer p {
        margin: 0;
    }

    footer .ym-grid.footer {
        border-top: 4px solid #000;
        padding-top: 30px;
        margin-top: 60px;
        padding-left: 10px;
    }


    footer .footer a{
        color: #403f3b;
    }

    footer .footer ul{
         background: url("../img/footer-nav-glue.png") repeat-y scroll right top transparent;
         margin-top: 0;
    }

    footer .footer h5,
    footer .footer h5 a{
        font-weight: bold;
        margin-bottom: 15px;
        text-transform: uppercase;
        font-size: 12px;
        font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
    }

    footer .footer ul li{
      list-style-type: none;
    }



    .footerCopyright{
        height: 40px;
        border-top:1px solid #fff;
        background-color: #406b84;
        padding: 15px 20px 0 20px;
        font-size: 11px;
        color: #fff;
        position: relative;
    }
    .footerCopyright .right{
        position: absolute;
        bottom: 10px;
        right: 20px;
    }
    .footerCopyright .right a {
        padding-right: 10px;
    }
    .ym-col1 { float: right; width: 75%; } /* content */
    .ym-col3 { margin: 0 75% 0 0; } /* sidebar */
    
    .ym-cbox{padding: 0;}

    .ni-g72{
        width: 72%
    }
    .ni-g28{
        width: 28%;
    }
    .ni-g28 > div{
        padding-left: 20px;
    }

    .contenttable{
        color: #53514a;
        font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
    }
    table.contenttable caption{
        border-bottom: 3px solid #FFC600;
        margin-bottom: 15px;
        padding-bottom: 5px;
        text-align: left;
        text-transform: uppercase;
        color: #406B84;
    }
    .contenttable .td-0{
        width: 80px;
        font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
        font-size: 13px;
        font-weight: bold;
        padding-left: 0;
    }
    .contenttable th, .contenttable td {
        padding: 5px 7px;
    }
    .ym-col1 > .ym-cbox {
        margin: 0 auto;
        width: 640px;
    }

    .ym-gbox { padding: 0 1.5em 0 0; }

    /* skip links styling */
    .ym-skiplinks a.ym-skip:focus,
    .ym-skiplinks a.ym-skip:active {
        color:#fff;
        background:#333;
        border-bottom:1px #000 solid;
        padding:10px 0;
        text-align: center;
        text-decoration:none;
    }

    /* News */
    .news-list-view{
    }

    .news-img-wrap img,
    .page-navigation{
        border-top: 4px solid #ffc600;
    }
    .news-list-view h3{
        font-weight: normal;
        margin-top:15px; 
    }
    .news-list-view .more a{
        font-size: 13px;
    }
    .news-list-date{
        font-size: 13px;
        font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
    }
    .news-list-view .article{ 
        margin-bottom: 35px;
    }
    .news-single h1{

    }
    .news-related-files-size{font-size: 13px;}
    .teaser-text{
        font-weight: bold;
    }
    .news .mediaelement{
        margin-bottom: 20px;
    }
    .news-related-wrap{margin-top: 20px;}
    .news-related {margin: 10px 0;}
    .news-related h4{color: #53514A;}
    .news-related ul{list-style-type: square; }
    .news .social{margin-top: 20px;}
    .mediaelement-image{width: 285px;}
    p.news-img-caption{
        margin-top: 10px;
        color: #53514A;
        font-family: 'Noto Sans',Arial,Helvetica,sans-serif;
        font-size: 13px;
    }

    .no-media-element {
        border-top: 4px solid #FFC600;
        width: 120px;
    }

    .page-navigation{
        font-size: 13px;
        font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
        padding-top: 5px;
    }

    .page-navigation li.current{
        border-bottom: 4px solid #FFC600;
        color: #53514a;
    }
    .page-navigation li.current a{
          color: #53514a;
    }

    /*startseite*/
    ul.news{
        width: 210px;
        list-style-type: none;
        margin: 0;
    }
    ul.news span{
        display: block;
        font-size: 13px;
        font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
        color: #53514a;
    }
    ul.news li {
        margin-left: 0;
        margin-bottom: 30px;
    }
    ul.news li a{
        font-size: 16px;
        font-family: 'Utopia W01 Regular', Arial, Helvetica, sans-serif;
    }
    #start ul.news li{
        margin-bottom:20px; 
    }
    #start h4{
        margin-bottom: 0;
        margin-top: 0; 
    }

    #start h4 a{
        color: #406b84;
        text-transform: uppercase;
    }

    #start .content{
        width: 930px;
        margin: 0 auto;
    }

    #start .tx-yag-thumb-caption a{
        font-size: 13px;
    }

   /*.tx-nipageteaser-pi1*/
    .tx-nipageteaser-pi1 .pageTeaser,
    ul.news{
        margin-top:15px; 
    }

    .tx-nipageteaser-pi1 .text,
    .tx-nipageteaser-pi1 .text a{
        font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
        font-size: 13px;
        color: #44433f;
        margin: 0;
    }
    .tx-nipageteaser-pi1 .text a{
        color: #406b84;
    }

    .pageTeaser-element{
        width: 200px;
        height: 254px;
        border-top: 3px solid #facd46;
        float: left;
        margin-right: 20px;
        display: block;
        margin-bottom: 32px; 
    }
    .pageTeaser-element img{
        margin-top: 3px; 
    }
    .pageTeaser-element .text{
        width: 200px;
        height: 117px;
        background-color: #facd46;
        color: #53514a;
        padding: 15px;
        margin-top: -4px;
        font-size: 13px;

    }
    .pageTeaser-element a{
        background: transparent;
        padding: 0;
        display: block;
    }
    .pageTeaser-element.last{
        margin-right: 0px;
    }
    .tx-nimediathek-pi1{
        position: relative;
        margin-bottom: 60px;
    }    

    .tx-nimediathek-pi1 .audio,
    .tx-nimediathek-pi1 .files{
        margin-top: -30px;
        overflow: hidden;
    }

    .tx-nimediathek-pi1 .video{
        margin-top: -15px;
        overflow: hidden;
    }
    .tx-nimediathek-pi1 ul{
        list-style-type: none;
        margin: 0;
        min-height: 205px; 
        width: 310px;
        float: left;
   }

    .tx-nimediathek-pi1 ul li{
        margin: 0;
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 16px;
        color: #406b84;
        font-family: 'Utopia W01 Regular',Arial,Helvetica,sans-serif;
        border-top: 1px dotted #53514a;
        line-height: 20px;
    }
    .tx-nimediathek-pi1 ul li:first-child{
        border-top: none;
    }

    .tx-nimediathek-pi1 .audio ul li{
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAMAAAAolt3jAAAALVBMVEVTUUpTUUpTUUpOTEVTUUpRT0hTUUpQTkdTUUpTUUpTUUpTUUoAAABOTEVTUUqfquT4AAAADXRSTlMwcBDuULNgx6AggEAAJY97bAAAAFlJREFUeNp9z0sOwCAIBUC0Kh/R+x+3j6gx6aIsgFkAgfwGNd3UYjzm7EGt6BCbHc2XjzQ55KaodmjI/1TjYE4SLGuz4maQF20u1jjmlFCGYlRYspMby/3jBZjACKMIDV0dAAAAAElFTkSuQmCC") no-repeat scroll 0 18px transparent;
        padding-left:25px;
    }

    .tx-nimediathek-pi1 .files ul li{
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAARCAMAAAAxIdauAAAABlBMVEUAAABTUUr+NO29AAAAAXRSTlMAQObYZgAAAC9JREFUeNqdzEEKADAIA8Hs/z8tFYxUvLR7GyKKTOhkcYuSB+EW+dvf5au6VK9TAUtYAKXjX3MIAAAAAElFTkSuQmCC") no-repeat scroll 0 13px transparent;
        padding-left:25px;
   }
   .tx-nimediathek-pi1 .fileItem{
        margin: 10px 0;
        border: 0 none;
   }

   .tx-nimediathek-pi1 .fileItem p{
        margin: 0 0 10px 0;
   }
   .tx-nimediathek-pi1 .fileItem h5{

   }
   .tx-nimediathek-pi1 .fileItem a{
   }

   .tx-nimediathek-pi1 .video.slides > div{
        min-height: 190px;
        float: left;
   }
    .ym-grid.videoslides{
        width: 310px;
        height: 95px;
    }
    .ym-grid.videoslides .ym-g60.ym-gr{
        padding-left: 5px;
    }
    .startToList a{
        font-size: 13px;
    }

   .toList {
        border-top: 1px dotted #53514A;
        padding-top: 10px;
        text-align: right;
        font-size: 13px;
    }
    .tx-yag-items.caroufredsel{
        margin-top: -15px; 
    }
    .tx-yag-items.caroufredsel > div{
        float: left;
        display: block;
    }

    .tx-yag-items.caroufredsel .tx-yag-album-thumb-outerframe{float:none;width:280px;height:95px;}
    .tx-yag-pi1.theme-ac{position:relative}
    .pagination {
        position: absolute;
        right: 0;
        top: -23px;
    }
   .pagination-images,.pagination-video{top: -38px;}
   .pagination a {
        background: url("/fileadmin/ac/templates/img/jpcarousel-sprite.png") no-repeat scroll 0 0 transparent;
        display: inline-block;
        height: 8px;
        margin: 0 5px 0 0;
        width: 8px;
    }
   .pagination a span {
        display: none;
    }
   .pagination a.selected {
        background-position: 0 -13px;
        cursor: default;
        height: 8px;
        width: 8px;
    }
    .pagination a {
        display: inline-block;
        margin: 0 5px 0 0;
    }
    .pagination a span {
        display: none;
    }

    DIV.csc-textpic .csc-textpic-imagewrap .csc-textpic-image{margin-bottom: 30px;}
    figcaption.csc-textpic-caption {display: table-caption; margin-top: 5px;}

}

/* reset fallback values in modern browsers */
@media screen and ( min-width: 0px ) {
    .ym-wrapper {
        min-width: 0px;
    }
}

@media screen and ( max-width: 740px ) {

    /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-1 */
    .linearize-level-1,
    .linearize-level-1 > [class*="ym-g"],
    .linearize-level-1 > [class*="ym-col"] {
        display: block;
        float: none;
        padding: 0;
        margin: 0;
        width: 100% !important;
    }

    .linearize-level-1 > [class*="ym-g"] > [class*="ym-gbox"],
    .linearize-level-1 > [class*="ym-col"] > [class*="ym-cbox"] {
        overflow: hidden; /* optional for containing floats */
        padding: 0;
        margin: 0;
    }

    nav .ym-hlist ul {
        padding-right: 10px;
    }

    .ym-searchform {
        display:block;
        float: none;
        width: auto;
        padding-right: 10px;
        text-align: right;
    }

    .ym-searchform input[type="search"] {
        width: 14%;
    }
}

@media screen and ( max-width: 480px) {

    .ym-wbox {
        padding: 0;
    }

    header {
        padding: 0.75em 10px;
    }

    header h1 {
        font-size: 1.5em;
        line-height: 1em;
        margin: 0;
    }

    footer,
    #main,
    .ym-searchform,
    nav .ym-hlist ul {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-2 */
    .linearize-level-2,
    .linearize-level-2 > [class*="ym-g"],
    .linearize-level-2 > [class*="ym-col"] {
        display: block;
        float: none;
        padding: 0;
        margin: 0;
        width: 100% !important;
    }

    .linearize-level-2 > [class*="ym-g"] > [class*="ym-gbox"],
    .linearize-level-2 > [class*="ym-col"] > [class*="ym-cbox"] {
        overflow: hidden; /* optional for containing floats */
        padding: 0;
        margin: 0;
    }

    .ym-searchform,
    nav .ym-hlist ul,
    nav .ym-hlist li {
        display:block;
        float: none;
        width: auto;
        text-align: left;
    }

    .ym-searchform input[type="search"] {
        width: 75%;
    }


}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}