:root {
    --custom-blue: #1C547C;
    --custom-blue-light: #2B8EBB;
    --custom-black: #000;
}


#maps {
    height: 0;
    overflow: hidden;
    padding-bottom: 56%;
    position: relative;
}

#map iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}


.carousel-showmanymoveone .carousel-control {
    width: 4%;
    background-image: none;
}

.carousel-showmanymoveone .carousel-control.left {
    margin-left: 0;
}

.carousel-showmanymoveone .carousel-control.right {
    margin-right: 0;
}

.carousel-showmanymoveone .cloneditem-1,
.carousel-showmanymoveone .cloneditem-2,
.carousel-showmanymoveone .cloneditem-3 {
    display: none;
}

.carousel .item .col-xs-12 {
    padding: 0 5px;
}

.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .icon-prev {
    font-size: 300%;
    color: #CCC;

}

/************************** index_searched **************************/

div.tx-indexedsearch-form, div.tx-indexedsearch-search-submit {
    display: inline;
}


div.tx-indexedsearch-res h3 {
    margin: 20px 0 4px 0;
}

p.tx-indexedsearch-description {
    margin-bottom: 0;
}

dl.tx-indexedsearch-info {
    margin: 4px 0 20px 0;
}


div.tx-indexedsearch-browsebox {
    margin: 0 auto;
    padding-top: 15px;
    width: 100%;
    text-align: center;
}


ul.tx-indexedsearch-browsebox {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.tx-indexedsearch-browsebox li {
    display: inline-block;
    margin: 0 5px;
}

#sword::placeholder {
    color: #FFF;
}

/* Medium Devices, Desktops */


@media only screen and (max-width: 992px) {
    .carousel .item .col-xs-12:nth-last-child(-n+2) {
        display: none;
    }
}

@media all and (min-width: 768px) {
    .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
        margin-right: 0;
    }

    .carousel-showmanymoveone .carousel-inner > .active.left,
    .carousel-showmanymoveone .carousel-inner > .prev {
        left: -50%;
    }

    .carousel-showmanymoveone .carousel-inner > .active.right,
    .carousel-showmanymoveone .carousel-inner > .next {
        left: 50%;
    }

    .carousel-showmanymoveone .carousel-inner > .left,
    .carousel-showmanymoveone .carousel-inner > .prev.right,
    .carousel-showmanymoveone .carousel-inner > .active {
        left: 0;
    }

    .carousel-showmanymoveone .carousel-inner .cloneditem-1 {
        display: block;
    }
}

@media all and (min-width: 768px) and (transform-3d), all and (min-width: 768px) and (-webkit-transform-3d) {
    .carousel-showmanymoveone .carousel-inner > .item.active.right,
    .carousel-showmanymoveone .carousel-inner > .item.next {
        -webkit-transform: translate3d(50%, 0, 0);
        transform: translate3d(50%, 0, 0);
        left: 0;
    }

    .carousel-showmanymoveone .carousel-inner > .item.active.left,
    .carousel-showmanymoveone .carousel-inner > .item.prev {
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0);
        left: 0;
    }

    .carousel-showmanymoveone .carousel-inner > .item.left,
    .carousel-showmanymoveone .carousel-inner > .item.prev.right,
    .carousel-showmanymoveone .carousel-inner > .item.active {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        left: 0;
    }
}

@media all and (min-width: 992px) {
    .carousel-showmanymoveone .carousel-inner > .active.left,
    .carousel-showmanymoveone .carousel-inner > .prev {
        left: -25.0%;
    }

    .carousel-showmanymoveone .carousel-inner > .active.right,
    .carousel-showmanymoveone .carousel-inner > .next {
        left: 25.0%;
    }

    .carousel-showmanymoveone .carousel-inner > .left,
    .carousel-showmanymoveone .carousel-inner > .prev.right,
    .carousel-showmanymoveone .carousel-inner > .active {
        left: 0;
    }

    .carousel-showmanymoveone .carousel-inner .cloneditem-2,
    .carousel-showmanymoveone .carousel-inner .cloneditem-3 {
        display: block;
    }
}

@media all and (min-width: 992px) and (transform-3d), all and (min-width: 992px) and (-webkit-transform-3d) {
    .carousel-showmanymoveone .carousel-inner > .item.active.right,
    .carousel-showmanymoveone .carousel-inner > .item.next {
        -webkit-transform: translate3d(25.0%, 0, 0);
        transform: translate3d(25.0%, 0, 0);
        left: 0;
    }

    .carousel-showmanymoveone .carousel-inner > .item.active.left,
    .carousel-showmanymoveone .carousel-inner > .item.prev {
        -webkit-transform: translate3d(-25.0%, 0, 0);
        transform: translate3d(-25.0%, 0, 0);
        left: 0;
    }

    .carousel-showmanymoveone .carousel-inner > .item.left,
    .carousel-showmanymoveone .carousel-inner > .item.prev.right,
    .carousel-showmanymoveone .carousel-inner > .item.active {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        left: 0;
    }
}

.blue {
    background-color: #1C547C;
}

.lightBlue {
    background-color: #2B8EBB;
}

.veryLightBlue {
    background: rgba(255, 255, 255, 0.5);
}

.form-control {
    color: #555;
}


#sitemap a {
    color: #555;
}

#sitemap > ul > li > a {
    color: #555;
    font-weight: bold;
}

section#corona .border {
    border: 1px solid #e3e3e3;
    border-radius: 5px;
}

section#corona .panel-heading {
    font-size: 17px;
    font-weight: 400;
    text-transform: uppercase;
    color: #A81E3F;
}

/****************** Slider **************************/

.hero-area {
    top: 0px;
    margin-bottom: 0;
}

.hero-slider {
    height: 400px;
}

.hero-slider.flexslider ul.slides li {
    height: 400px;
}

.flex-caption {
    left: 60%;
}

.flex-direction-nav {
    display: none;
}

search-find-results, .dd-menu > ul > li > ul li:hover, .flex-caption {
    border-left-color: none;
}

.flex-caption, .page-header > div.flex-caption {
    background-color: transparent;
    color: #FFF;
    border-left: 0px solid transparent;
    width: 500px;
    top: 62%;
    text-align: left;
}

.flex-caption h2 {
    font-size: 65px;
    line-height: 1;
    font-weight: 500;
    text-shadow: 2px 2px 2px #444;

}

#skiplinks {
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    white-space: nowrap;
}


/******************* Header *****************************/

.page-header {
    background: url(../images/Rathaus.jpg) top center no-repeat;
    background-color: rgba(0, 0, 0, 0);
    background-size: cover;
    background-color: #ccc;
    color: #fff;
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    min-height: 400px;
}


.site-logo {
    background: transparent;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: 0;
    box-shadow: none;

}

.site-logo a:focus {
    background-color: #CCC;
}

.site-logo img {
    position: absolute;
}

.site-logo #logo2 {
    opacity: 0;
    margin: 0 0 0 0px;
}


.site-header {
    background: transparent;
    background-color: #FFF;
    background: rgba(255, 255, 255, 0.95);
}

/***************** navbar ****************/


.navbar-right .dropdown-menu {
    right: auto;
    left: 0;
}

.main-navigation {
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.3s ease 0.1s;
}

div.is-sticky .main-navigation {
    margin-top: 0;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.3s ease 0.1s;
}

.site-header.sticky {
    border-bottom: 0px solid #EEE;
    padding-top: 0;
    height: 54px;
    position: fixed;
}

.site-header.sticky #logo1 {
    opacity: 0;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.3s ease 0.1s;
}

.site-header.sticky #logo2 {
    opacity: 1;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.3s ease 0.1s;
}

#undefined-sticky-wrapper {


}


div.is-sticky #menu-toggle {
    line-height: 54px;
}

/********************** Menu4 ***********************/

ul.menu4 {
    margin: 0;
}

ul.menu4 li {
    float: left;
    margin: 0 10px;
    padding: 0;
    color: #1C547C;
}


ul.menu4 li a {
    display: block;
    color: #1C547C;
    font-size: 110%;
}

ul.menu4 li a:focus {
    background-color: #2B8EBB;
    color: #FFF;
}

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

div#google_maps {
    height: 0;
    overflow: hidden;
    padding-bottom: 56%;
    position: relative;
}

div#google_maps iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/*********************** Menu 2 ***********************/


ul.menu2, ul.menu2 ul {
    list-style-type: none;
    margin: 0;
    padding: 0
}

ul.menu2 > li > ul {
    list-style-type: none;
    padding: 0 0 0 15px;
    margin: 0;
}

ul.menu2 li {
    border-bottom: 1px solid #EEE;
}


ul.menu2.in, ul.menu2.collapsing {
    display: block !important;
}

ul.menu2 li a {
    color: #222;
}


ul.menu2 li a.active, ul.menu2 li.active i, ul.menu2 li a:focus {
    color: #222;
    font-weight: bold;
}

ul.menu2 > li > a > i {

    font-size: 120%;
    padding: 0px 6px;

}


ul.menu2 li a:focus i {
    background-color: #CCC;
    font-size: 150%;
}

ul.menu2 li a.child3 {
    padding-left: 10px;
}

ul.menu2 li a.child4 {
    padding-left: 20px;
}

ul.menu2 li a.child5 {
    padding-left: 30px;
}


h3#menu2Mobile > a:before {
    font-family: FontAwesome;
    content: "\f07c";
    padding-right: 5px;
}

h3#menu2Mobile > a.collapsed:before {
    content: "\f07b";
}

section#breadcrumb {
    padding: 10px 0;
    background: #EEE;
}


section#breadcrumb ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

section#breadcrumb ul li {
    margin: 0;
    padding: 0;
    float: left;
}

section#breadcrumb ul li a {
    font-size: 17px;
}

section#breadcrumb ul li a:hover, section#breadcrumb ul li a:focus {
    font-weight: bold;
    text-decoration: underline;
}

section#breadcrumb ul li a i {
    margin: 0;
    padding: 0 10px;
    font-size: 17px;
}

/******************* Startseite ********************/

.startAktuelles > .container > .row > .col-md-3 {
    color: #1C547C
}


.startHeader, .startInfo h1, .startInfo h2, .startInfo h3, .startInfo h4 {
    font-weight: 300;
    font-size: 52px;
    text-transform: uppercase;
    margin: 0 0 52px 0;
    line-height: 1;
    padding: 0;
}

.startInfo h1:nth-of-type(1) {
    font-size: 40px;
}

.startAktuelles h2 {
    color: #2B8EBB;
    margin: 0 15px 52px 15px;
}

.carousel .item .col-xs-12 .no-gap {
    padding-right: 5px;
    padding-left: 5px;
}

.startAktuellesItemWrap {
    width: 100%; /*full width*/
    height: 80px;
    text-align: center;
    display: table; /*acts like a table*/
}


.startAktuellesItem h3 {
    background-color: #2B8EBB;
    color: #FFF;
    font-size: 17px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    padding: 4px 5px 4px 15px;
    position: relative;
    text-align: left;
    vertical-align: middle; /*middle centred*/
    display: table-cell; /*acts like a table cell*/
}

.startAktuelles .startAktuellesItem {
    background-color: #1C547C;
    height: 350px;
    transition: all 0.1s linear;
}


.startAktuelles .startAktuellesItem:focus-within {
    background-color: #274E8D;
    opacity: 1;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.5s ease 0.1s;
    font-weight: normal;
    text-decoration: none;
}


.startAktuelles .startAktuellesItem > a {
    opacity: 1;
    background-color: #FFF;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.5s ease 0.1s;
}


.startAktuellesWrapper {
    /*height: 80px;
    overflow: hidden;*/
    margin: 10px 0 60px 0;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: height 0.5s ease 0.1s;

}

.startAktuellesWrapper.showStart {
    height: 385px;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.5s ease 0.1s;

}

.startAktuelles a.switch {
    color: #1C547C;
    font-size: 590%;
    position: relative;
    top: -33px;
}

.startAktuelles .startAktuellesBodytext {
    padding: 15px;
    color: #FFF;
}

.startAktuelles .startAktuellesBodytext a {
    text-decoration: underline;
    color: #FFF;
}

.startAktuelles .b-mehr {
    background-color: #2B8EBB;
    min-height: 45px;
}

.startAktuelles .btn {
    background-color: #2B8EBB;
}

.inhaltInfo {
    background-color: #2B8EBB;
    color: #FFF;
}

.inhaltInfo h1, .inhaltInfo h2, .inhaltInfo h3, .inhaltInfo h4 {
    color: #FFF;
}

.inhaltInfo p {
    font-size: 18px;
    line-height: 1.4em;
}

.inhaltInfo a {
    color: #FFF;
    text-decoration: underline;
}

.startVeranstaltungen {
    background-color: #EC7B35;
}

.startVeranstaltungen .grid-item {
    transition: all 0.1s linear;
}


.startVeranstaltungen .grid-item-content {
    background-color: #FFF;
    -webkit-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -ms-transition: all 0.3s ease 0.2s;
    -o-transition: all 0.3s ease 0.2s;
    transition: all 0.5s ease 0.1s;
    border: 0;
}

.startBuergerdiensteItem {
    margin-bottom: 15px;
    background-color: var(--custom-blue-light);
    padding: 15px;
}

.startBuergerdiensteItem:hover {
    transition: all 0.1s linear;
    transform: scale(1.02);
}

.buerger-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.startBuergerdiensteItem .textMore {
    max-height: 0;         /* Squashes the element */
    opacity: 0;            /* Makes it invisible */
    overflow: hidden;      /* Prevents text from spilling out while closed */
    transform: translateY(10px); /* Moves it slightly down for the "up" effect */
    transition: all 0.4s ease-out; /* Makes the movement smooth */
    color: white;

}

.startBuergerdiensteItem .textMore a {
    color: white;
}

.buerger-link:hover + .textMore, .textMore:hover {
    max-height: 500px;     /* Set this larger than your content will ever be */
    opacity: 1;            /* Fade in */
    transform: translateY(0); /* Slides up to its original position */
}


    .buerger-link:hover {
        color: white;
    }

    .buerger-link .telefon {
        font-size: 3rem;
        margin-right: 12px;
        width: 30px; /* Feste Breite für bündige Ausrichtung */
        text-align: center;
    }

    .buerger-title {
        font-size: 17px;
        font-weight: 400;
        line-height: 1.2;
        display: block;
    }


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

    a.grid-itemA {
        color: #000;
    }

    a.grid-itemA:hover div, a.grid-itemA:focus div {
        background-color: #EEE;
        -webkit-transition: all 0.3s ease 0.2s;
        -moz-transition: all 0.3s ease 0.2s;
        -ms-transition: all 0.3s ease 0.2s;
        -o-transition: all 0.3s ease 0.2s;
        transition: all 0.5s ease 0.1s;
    }


    .startVeranstaltungen h2 {
        color: #FFF;
    }

    .startVeranstaltungen h3 {
        color: #EC7B35;
    }

    .grid-item-date {
        right: 0;
        left: 15px;
        background-color: #FFF;
    }

    .grid-item-day, .grid-item-month {
        color: #EC7B35;
    }

    .grid-item-content a.mehr {
        position: absolute;
        bottom: 15px;
        left: 25px;
        color: #EC7B35;
    }

    /******************* Suchleiste ********************/

    #searchgroup {
        background: rgba(255, 255, 255, 0.5);
        opacity: 1;
        color: #000;

    }

    #basic-addon1 {
        background-color: transparent;
        border: none;
        padding: 2px 6px;
    }

    #basic-addon2 {
        background-color: transparent;
        border: none;
        padding: 2px 6px;
    }

    #mailform, #searchboxMobile form {
        padding: 0;
        margin: 0;
        border-top: 0;
        box-shadow: none;
    }

    .mailformsword {
        text-align: left;
        padding: 10px 10px 10px 3px;
        height: auto;
        background: none;
        -webkit-user-select: auto;
        font-size: 16px;
    }

    .mailformsword:focus {
        border: none!important;
    }

    .suchLeisteRechts {
        padding: 0;
    }

    .suchleiste a {
        background-color: transparent;
        border: none;
        margin: 0px 0 0 0;
        padding: 2px 16px;
        font-size: 16px;
        letter-spacing: 0.03em;
        color: #FFF;
        display: inline-block;
    }

    .suchleiste a#kontakt {
        background-color: #2B8EBB;
        padding: 10px 6px 10px 6px;
    }

    .suchleiste i.fa {
        padding: 0px 5px;
        font-size: 21px;
        vertical-align: middle;
    }

    .suchleiste i.fa.telefon {
        font-size: 30px;
    }

    .suchleiste i.fa.mail {

    }


    .tx-sucheneu div.well h3, .tx-sucheneu div.well p {
        margin: 0;
    }


    .panel-default > .panel-heading {

        color: #FFF;
        background-color: #2B8EBB;
        border-color: #ddd;

    }

    .ce-gallery figcaption {
        font-size: 90%;
    }

    /********************* Forms *********************/

    legend {
        font-weight: bold;
        width: auto;
    }

    fieldset {
        border: 1px solid #CCC;
        padding: 5px 10px;
    }


    .form-control:focus {
        border-color: transparent;
    }

    fieldset {
        margin-bottom: 10px;
    }

    /********** Standardtabelle *******************/
    table caption {
        font-size: 1.1em;
        margin-bottom: 4px;
        width: 100%;
    }

    table.contenttable, table.htmlarea-showtableborders, table.veranstaltungskalender {
        border-collapse: collapse;
        margin: 0px 0 20px -8px;
        width: 100%;
        font-size: 0.96em;
    }

    table.contenttable tr.tr-even {
        background-color: #DEDEDE;
    }

    table.contenttable tr.tr-odd {
        background-color: #F4F4F4;
    }

    table.contenttable p.bodytext, table.htmlarea-showtableborders p.bodytext {
        margin: 0px;
        padding: 0px;
    }

    table.contenttable tr td ul, table.htmlarea-showtableborders tr td ul {
        margin: 0px !important;
    }

    table.contenttable td, table.contenttable th, table.htmlarea-showtableborders td {
        vertical-align: text-top;
        margin: 0px;
        padding: 4px;
        text-align: left;
        padding: 8px;
        line-height: 1.42857143;
    }

    table.contenttable th {
        font-size: 18px;
    }

    table.contenttable tr, table.htmlarea-showtableborders tr {
        margin: 0px;
        padding: 0px;
        border-top: 1px solid #ddd;

    }


    table.veranstaltungskalender thead tr, table.sommerferienprogramm tr.head {
        background-color: #AA1F40 !important;
        color: #FFF;
    }

    table.organisationen thead tr, table.organisationen tr.head {
        background-color: #EC7B35;
        color: #FFF;
    }

    table.vereine thead tr, table.vereine tr.head {
        background-color: #AA1F40;
        color: #FFF;
    }

    table.organisationen h2, table.vereine h2 {
        margin: 0;
        background-color: transparent !important;
    }


    .tx-organisationen-pi1 h4 {
        margin: 0;
    }

    /************* Tabelle Entsorgung **********************/

    table.entsorgung {
        border-collapse: collapse;
        margin: 0px 0 20px -8px;
        width: 101%;
        font-size: 0.96em;
    }

    table.entsorgung td.td-0 {
        width: 80%;
        padding-left: 10px;
    }

    table.entsorgung td.td-1 {
        width: 20%;
        text-align: right;
        padding-right: 20px;
    }

    /************************* Schuelerferien programm *******************/

    div.tx-schuelerferienprogramm-pi1 {
        margin-top: 8px;
    }


    table.sommerferienprogramm tr td.ueberschrift {
        font-size: 15px;
    }

    .content {
        padding: 50px 0 0 0;
    }

    .content a:focus, .widget li a:focus, .inhaltInfo a:focus {
        font-weight: bold;
        text-decoration: underline;
    }

    /* menu styes */
    .list-unstyled,
    .list-unstyled ul {
        min-width: 120px;

    }

    .yamm .nav,
    .yamm .collapse,
    .yamm .dropup,
    .yamm .dropdown {
        position: static;
    }

    .yamm .container {
        position: relative;
    }

    .yamm .dropdown-menu {
        left: auto;
    }

    .yamm .dropdown.yamm-fw .dropdown-menu {
        left: 0;
        right: 0;
    }

    #accordion .panel-title > a:before, #accordion .panel-title > a.collapsed:before {
        position: absolute;
        font-family: FontAwesome;
        content: "\f078";
        left: 23px;
    }

    #accordion .panel-title > a[aria-expanded=true]:before {
        float: left !important;
        content: "\f077";
    }

    .panel-title > a:hover,
    .panel-title > a:active,
    .panel-title > a:focus {
        text-decoration: none;
        font-weight: normal;
    }


    #accordion .panel-title a {
        color: #FFF;
        padding-left: 15px;
        display: block;
    }

    .cookie-consent-container {
        position: fixed;
        top: 0;
        left: 0;
    }

    .pegelstand a, .pegelstand span {
        font-weight: bold;
    }


    .pegelstand canvas {
        margin-top: 15px;
    }

    @media only screen and (min-width: 1600px) {

        .hero-slider {
            height: 540px;
        }

        .hero-slider.flexslider ul.slides li {
            height: 540px;
        }

    }

    @media only screen and (min-width: 1200px) {

        .grid-item-content {
            height: 320px;
        }

    }


    @media only screen and (min-width: 993px) {

        .startAktuelles .startAktuellesItem:hover {
            transition: all 0.1s linear;
            -webkit-transform: scale(1.02);
            transform: scale(1.02);
            box-shadow: 0 1px 15px 2px rgba(0, 0, 0, 0.1);
        }

        .startVeranstaltungen .grid-item:hover {
            /*  transition: all 0.1s linear;
               -webkit-transform: scale(1.02);
            transform: scale(1.02);
            box-shadow: 0 1px 15px 2px rgba(0, 0, 0, 0.1); */
        }


        ul.menu2.collapse {
            display: block !important;
            visibility: visible !important;
        }

        #searchbox {
            margin-left: 21px;
        }

        .mailformsword {
            font-size: 14px;
            -webkit-font-size: 13px;
        }

        input.mailformsword {
            box-shadow: none !important;
            min-width: 180px;
        }

        input.mailformsword:focus {
            background-color: #1C547C;
            box-shadow: 0;
        }

        .suchleiste a:focus {
            background-color: #2B8EBB;
        }

        .suchleiste a#kontakt {
            margin: 0 30px 0 15px;
        }

        .suchleiste a#kontakt:focus {
            background-color: #1C547C;
            border: 1px solid #FFF;
        }


        /************************* Megamenu ***************************/
        .yamm .yamm-content {
            padding: 20px 30px;
        }


        .main-navigation {
            margin-top: 0px;
        }

        .main-navigation > ul > li {
            font-weight: 400;
            font-size: 16px;
            position: relative;
            display: inline-block;
            min-width: 135px;
            max-width: 140px;
            margin-left: 0;
        }

        .site-header.sticky .main-navigation > ul > li > a {
            padding: 0px 5px 2px 5px;
        }

        .main-navigation > ul > li > a {
            line-height: 24px;
            color: #000;
            padding: 12px 15px 13px 8px;
            transition: all 0.1s ease 0.1s;
        }

        .main-navigation > ul > li:last-child {
            width: 120px;
        }


        .dd-menu > ul > li.megamenu > ul {


            left: 0px !important;

        }


        div#menublock {

        }

        div.megamenu-container > .row > .col-md-3:nth-child(4) {
            border-right: 0;
        }

        .main-navigation > ul > li#mainitem0 > ul.dropdown {

        }

        .main-navigation > ul > li#mainitem0:hover > ul.dropdown {
            opacity: 1;
            visibility: visible;
        }

        .main-navigation > ul > li ul.dropdown div.col-md-3 {
            border-right: 1px solid black;
        }

        .main-navigation > ul > li ul.dropdown div.col-md-3 menulast {
            border-right: 0px solid black;
        }

        .main-navigation > ul > li a:hover {
            color: #FFF;
        }


        .main-navigation > ul > li#mainitem0 {
            border-bottom: 4px solid #1C547C;
        }

        .main-navigation > ul > li#mainitem0 a:hover, .main-navigation > ul > li#mainitem0 a:focus, .main-navigation > ul > li#mainitem0 a.active {
            background-color: #1C547C;
            color: #FFF;
            transition: all .3s ease;
        }

        .main-navigation > ul > li#mainitem0 a.level2:hover span, .main-navigation > ul > li#mainitem0 a.level2:focus span, .main-navigation > ul > li#mainitem0 a.level2.active span {
            color: #1C547C;
        }

        .main-navigation > ul > li#mainitem1 {
            border-bottom: 4px solid #2C8CBC;
        }

        .main-navigation > ul > li#mainitem1 a:hover, .main-navigation > ul > li#mainitem1 a:focus, .main-navigation > ul > li#mainitem1 a.active {
            background-color: #2C8CBC;
            color: #FFF;
        }

        .main-navigation > ul > li#mainitem1 a.level2:hover span, .main-navigation > ul > li#mainitem1 a.level2:focus span, .main-navigation > ul > li#mainitem1 a.level2.active span {
            color: #2C8CBC;
        }

        .main-navigation > ul > li#mainitem2 {
            border-bottom: 4px solid #43B033;
        }

        .main-navigation > ul > li#mainitem2 a:hover, .main-navigation > ul > li#mainitem2 a:focus, .main-navigation > ul > li#mainitem2 a.active {
            background-color: #43B033;
            color: #FFF;
        }

        .main-navigation > ul > li#mainitem2 a.level2:hover span, .main-navigation > ul > li#mainitem2 a.level2:focus span, .main-navigation > ul > li#mainitem2 a.level2.active span {
            color: #43B033;
        }

        .main-navigation > ul > li#mainitem3 {
            border-bottom: 4px solid #AEDC08;
        }

        .main-navigation > ul > li#mainitem3 a:hover, .main-navigation > ul > li#mainitem3 a:focus, .main-navigation > ul > li#mainitem3 a.active {
            background-color: #AEDC08;
            color: #FFF;
        }

        .main-navigation > ul > li#mainitem3 a.level2:hover span, .main-navigation > ul > li#mainitem3 a.level2:focus span, .main-navigation > ul > li#mainitem3 a.level2.active span {
            color: #AEDC08;
        }

        .main-navigation > ul > li#mainitem4 {
            border-bottom: 4px solid #A81E3F;
        }

        .main-navigation > ul > li#mainitem4 a:hover, .main-navigation > ul > li#mainitem4 a:focus, .main-navigation > ul > li#mainitem4 a.active {
            background-color: #A81E3F;
            color: #FFF;
        }

        .main-navigation > ul > li#mainitem4 a.level2:hover span, .main-navigation > ul > li#mainitem4 a.level2:focus span, .main-navigation > ul > li#mainitem4 a.level2.active span {
            color: #A81E3F;
        }


        .main-navigation > ul > li#mainitem5 {
            border-bottom: 4px solid #EC7B35;
        }

        .main-navigation > ul > li#mainitem5 a:hover, .main-navigation > ul > li#mainitem5 a:focus, .main-navigation > ul > li#mainitem5 a.active {
            background-color: #EC7B35;
            color: #FFF;
        }

        .main-navigation > ul > li#mainitem5 a.level2:hover span, .main-navigation > ul > li#mainitem5 a.level2:focus span, .main-navigation > ul > li#mainitem5 a.level2.active span {
            color: #EC7B35;
        }

        .main-navigation i.fa {
            display: none;
        }

        .nav > li > a {

        }


        .dd-menu ul.submenu {
            display: none;

        }

        .dd-menu > ul > li ul, .yamm > ul > li ul.dropdown-menu {
            opacity: 0;
            visibility: hidden;
            display: block;
            -webkit-transition: all .35s ease;
            -moz-transition: all .35s ease;
            -ms-transition: all .35s ease;
            -o-transition: all .35s ease;
            transition: all .35s ease;
        }

        .dd-menu > ul > li:hover ul, .yamm > ul > li:hover ul.dropdown-menu, .dd-menu > ul > li:focus-within ul, .yamm > ul > li:focus-within ul.dropdown-menu {
            opacity: 1;
            visibility: visible;
            left: 0;
            width: 100%;
        }


        .dd-menu > ul > li ul > li:hover ul.submenu, .dd-menu > ul > li ul > li:focus ul.submenu {
            -webkit-animation-name: fadeInUp;
            -moz-animation-name: fadeInUp;
            -o-animation-name: fadeInUp;
            animation-name: fadeInUp;
        }

        .dd-menu .megamenu-container {
            padding: 25px 25px;
        }

        .navbar-nav .megamenu-sub-title {
            display: block;
            padding-bottom: 0px;
            min-height: 67px;
            margin-bottom: 0;
            margin-top: 0px;
            font-weight: 400;
            font-size: 17px;
            color: #333;
            font-weight: 700;
            text-align: left;
        }


        .navbar-nav a[href="/Staedtebauliche-Entwicklungsma.356.0.html"] .megamenu-sub-title {
            font-size: 15px;
        }

        .navbar-nav a[href="/Behindertenbeauftragter.405.0.html"] .megamenu-sub-title {
            font-size: 15px;
        }

        .dd-menu ul.level3 {
            display: none !important;
            text-align: right !important;
        }


        .dd-menu .megamenu-container ul.sub-menu li a {
            white-space: normal;
            padding: 7px 0;
        }


        ul.list-unstyled > li.level3 {
            display: none;
        }


        .infoLeft.startInfo p:nth-of-type(1) {
            margin: -15px 0px 55px 100px;

        }

        .infoLeft.startInfo p:nth-of-type(1):before {
            content: "\f05a";
            font-family: FontAwesome;
            font-size: 100px;
            padding: 0 0 0 0px;
            position: absolute;
            left: 0;
            top: 115px;
            color: #1C547C;
        }


    }


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


    @media only screen and (min-width: 768px) {

        ul.menu4 li:nth-child(1) {
            list-style-type: none;
            margin-left: 0;
        }

        .startAktuelles {
            background-color: #F5F5F5;

        }


        input.mailformsword::placeholder {
            color: #FFF;
            opacatity: 1;

        }

        #mailform, #searchboxMobile form {
            height: 0;
        }

        .suchleiste {
            background-color: #1C547C;
            color: #000;
        }

        .suchleiste i.fa {
            color: #FFF;
        }

        .mailformsword, .mailformsword:focus, .mailformsword:hover {
            color: #FFF;
            box-shadow: none !important;
        }

        .suchleiste i.fa.telefon {

        }


        .list-unstyled, .list-unstyled ul {
            border-right: 1px solid #000;
            margin: 0;
        }

        a.level2:focus span {
            /*text-decoration: underline;
            font-size: 130%;*/
        }

        ul.list-unstyled:nth-of-type(4) {
            border-right: 0px solid #000;
        }

        .navbar-default .navbar-nav > li:hover > ul.dropdown-menu {

            display: block;

        }

        .startVeranstaltungen .grid-item-content {
            min-height: 333px;
        }


        .form-control.plz {
            width: auto;
            display: initial;
        }

    }

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


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

        .site-header .container {
            width: auto;
        }

    }

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

        ul.nav.navbar-nav {

        }

        .main-navigation {
            float: none;
            margin-top: 86px;
        }

        .main-navigation > ul > li {
            display: block;
            width: 100%;
        }

        .main-navigation > ul > li > a {
            font-size: 120%;
        }

        .main-navigation > ul > li#mainitem0 > a {
            color: #1C547C;
        }

        .main-navigation > ul > li#mainitem1 > a {
            color: #2C8CBC;
        }

        .main-navigation > ul > li#mainitem2 > a {
            color: #43B033;
        }


        .main-navigation > ul > li#mainitem3 > a {
            color: #AEDC08;
        }

        .main-navigation > ul > li#mainitem4 > a {
            color: #A81E3F;
        }


        .main-navigation > ul > li#mainitem5 > a {
            color: #EC7B35;
        }


        .main-navigation > ul > li > a br {
            display: none;
        }

        .main-navigation a.level2 {
            font-weight: bold;
        }

        .main-navigation div.yamm-content li {
            margin-left: 15px;
        }

        .main-navigation div.yamm-content li.level3 {
            margin-left: 30px;
        }

        .navbar-nav .open .dropdown-menu {
            position: static;
            float: none;
            width: auto;
            margin-top: 0;
            background-color: transparent;
            border: 0;
            -webkit-box-shadow: none;
            box-shadow: none;
        }

        body {
            font-size: 16px;
        }

        /****************** Header *****************************/
        .site-header.sticky .container.sp-cont {
            background: rgba(255, 255, 255, 095);
        }

        .site-header.sticky #menu-toggle {
            line-height: 60px;
        }

        .flex-control-paging {
            display: none;
        }


        /******************* Nav ***********************/
        .main-navigation {
            transition: none;
            display: none;
            max-height: 340px;
            overflow-y: auto;
            overflow-x: hidden;
        }

        .main-navigation > ul {
            border-top: 1px solid #EEE;
            margin-top: 10px;
        }

        .dd-menu {
            top: 53px;
            padding: 0px 20px 0 0;
            background: rgba(255, 255, 255, 1);
            max-height: 444px;
        }


        .site-header.sticky .dd-menu {
            top: 33px;
        }

        .dd-menu .row {
            margin: 0 0 0 0;
        }

        .dd-menu .col-xs-12.nix, ul.col-md-3.list-unstyled.nix {
            display: none;
        }

        .dd-menu .col-xs-12, .dd-menu li {
            border-bottom: 1px solid #eee;
        }

        .dd-menu > ul > li.megamenu {
            display: block;
        }

        .dd-menu > ul > li a {
            color: #555;
            display: inline-block;
            padding: 5px 3px 5px 5px;
            font-size: 120%;
        }


        .dd-menu > ul > li br::after {
            content: 'goodbye';
        }

        .dd-menu > ul > li br {

        }

        nu > ul > li.megamenu i {
            font-size: 180%;
            padding: 1px 9px;
            cursor: pointer;
            color: #222;
            position: relative;
            border-bottom: 0px solid #eee;
        }

        .dd-menu div.menulast {
            border-bottom: 1px solid #eee;
        }

        .dd-menu > ul > li > ul li a {
            display: inline-block;
            padding-right: 9px;
        }

        .dd-menu > ul > li > ul li > a {
            padding: 5px 3px 5px 5px;
            color: #222;
        }

        ul.dropdown.level3 {
            border-top: 1px solid #eee;
            padding-right: 22px;
        }

        span.megamenu-sub-title {
            display: inline-block;
            color: #333;
            font-size: 120%;
        }

        h3#menu2Mobile {
            cursor: pointer;

        }


        h3#menu2Mobile > i.visible-xs {
            display: inline !important;
            padding: 0 6px;
        }


        .suchleiste.visible-xs {
            -webkit-transition: all 0.3s ease 0.2s;
            -moz-transition: all 0.3s ease 0.2s;
            -ms-transition: all 0.3s ease 0.2s;
            -o-transition: all 0.3s ease 0.2s;
            transition: all 0.3s ease 0.1s;
        }

        .suchleiste.visible-xs.sticky {
            position: fixed;
            top: 54px;
            z-index: 22;
            width: 100%;
            -webkit-transition: all 0.3s ease 0.2s;
            -moz-transition: all 0.3s ease 0.2s;
            -ms-transition: all 0.3s ease 0.2s;
            -o-transition: all 0.3s ease 0.2s;
            transition: all 0.3s ease 0.1s;
        }

        /****************** Startseite *****************/
        .startAktuellesWrapper {
            height: auto;
            overflow: inherit;
            margin-top: 0;
        }

        .startAktuelles a.switch {
            display: none;
        }

        .startAktuellesItem h3 {

            padding-left: 25px;
        }

        .startAktuelles .startAktuellesBodytext {
            padding: 15px 25px;
        }

        #searchbox #basic-addon1 {
            padding: 2px 6px 2px 13px;
        }


    }

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


        .ce-textpic, .ce-image, .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div {

            overflow: initial;

        }

        .hero-slider.flexslider ul.slides li {

            height: 250px;

        }

        .page-header {
            min-height: 250px;

        }

        .page-header > div.flex-caption {

            height: auto;

        }

        .flex-caption {
            top: 77%;
            max-width: 300px;
            left: 75%;
        }

        .flex-caption h2 {
            font-size: 26px;
        }

        .no-gap {
            padding-left: 0 0 0 0;
        }

        .suchleiste > .container > .row > div.col-xs-12 {
            padding: 0;
        }

        /**************** Startseite *********/
        .startHeader {
            font-size: 28px;
        }

        .startVeranstaltungen .carousel-wrapper {
            overflow: initial;

        }

        .startAktuelles h2 {
            margin: 30px 0 22px 25px;
        }

        .startAktuelles .col-md-3.col-sm-12 {
            display: none;
        }

        .startAktuelles .startAktuellesItem {
            height: auto;
        }

        .startAktuelles > .container > .row > .col-sm-12 {
            padding: 0;
        }

        .startAktuelles .col-md-4.col-sm-6, .startVeranstaltungen .col-md-3.col-sm-6 {
            padding: 0 0 20px 0;
            background-color: #FFF;
        }


        .content.full.startAktuelles {
            padding: 0 0 0 0;
        }

        .inhalt-right.start.inhaltInfo.padding-tb45 {
            padding: 60px 0 0 0;
        }

        .start.inhaltInfo {
            background-color: #fff;
            color: #2B8EBB;
            margin-top: -55px;
        }

        .start.inhaltInfo h1, .start.inhaltInfo h2, .start.inhaltInfo h3, .start.inhaltInfo h4 {
            color: #2B8EBB;
            font-size: 28px;
            margin-bottom: 33px;
        }

        .content {
            padding: 0;
        }

        /*************** Suchleiste ******************/
        .suchleiste i {
            color: #FFF;
        }

        .suchleiste button {
            margin: 0;
            padding: 3px 0;
        }

        .suchleiste button.btn-last {
            display: none;
        }

        .suchleiste i.fa.telefon {
            font-size: 41px;
            padding: 5px 5px;
        }

        .suchleiste i.mail, .suchleiste i.search {
            font-size: 29px;
            padding: 9px 0px 2px 0px;
        }

        .suchleiste #searchgroup {
            background: transparent;
            display: block;
            border-top: 1px solid #FFF;
            display: block;
        }

        .suchleiste .mailformsword {
            margin: 8px 30px;
            padding: 2px;
            color: #FFF;
            font-size: 18px;
            display: block;
            border: 0px solid #FFF;
            width: 80%;
            box-shadow: none;
        }


        #searchbox, #searchboxMobile {
            display: none;
        }

        #searchboxMobile div.col-xs-12 {
            border-top: 1px solid #FFF;
        }

        h1 {
            font-size: 22px;
        }

        h2 {
            font-size: 20px;
        }


        div#menu2 {

            padding: 0 0 20px 0;

        }

        div#menu2 > ul.menu2 {
            padding: 0 15px;

        }


        h3#menu2Mobile {
            color: #fff;
            background: #1C547C;
            margin-bottom: 5px;
            padding: 12px 15px;
            font-size: 22px;
        }

        h3#menu2Mobile i.fa-bars {
            margin-left: 6px;
            font-size: 24px;
        }

    }


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


        .csc-textpic-intext-right-nowrap-250 .csc-textpic-text {

            margin-right: 0;

        }

        div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap, .csc-textpic-imagewrap {
            float: none;
            margin: 0;
        }

        div.csc-textpic .csc-textpic-imagewrap figure, div.csc-textpic figure.csc-textpic-imagewrap {
            display: block;
        }


        div.csc-textpic .csc-textpic-imagewrap img, .ce-textpic img {
            width: 100%;
            height: auto;

        }


        /************************** Tabellen ***********************/
        table tr td, table tr th {
            float: left;
        }

    }


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

        .hero-slider.flexslider ul.slides li {
            height: 180px;
        }

        .hero-slider.flexslider, .hero-slider.flexslider ul.slides li {
            height: 180px;
        }

        .page-header {
            min-height: 180px;
        }

        .dd-menu {
            padding-right: 20px;
        }

        .dd-menu > ul > li.megamenu i {

            position: relative;
            border-bottom: 0px solid #eee;
        }

    }
}
