a,
a>*,
#footer-top a,
#footer-bottom a,
.widget ul.menu li>a:hover,
.widget ul.menu li.current-menu-item>a,
.entry-title a:hover {
    color: #a81d16;
}

ul#navlist li.current a,
.ddsubmenustyle li a:hover,
.infobox {
    border-color: #9F1C19;
}

.hauptbild {
    width: 100%;
    max-width: 960px;
}

.headerbild {
    margin-top: -1px;
    margin-bottom: 20px;
}

#main a {
    text-decoration: underline;
}

#main a:hover {
    color: #a81d16;
}

a.grau {
    color: #777;
}

#footer-bottom a.grau {
    color: #777;
    text-decoration: underline;
}

#main h1 a,
#main h2 a,
#main h3 a {
    text-decoration: none;
}

.columns-container { /* Use the actual class of the parent div */
  display: flex;
  align-items: stretch; /* This is the default, makes flex items (columns) same height */
  /* You might want a gap between columns if not already handled */
  /* gap: 20px; */ /* Example gap */
}

#main ul:not(.no-bullets) { /* Selects ul elements that are descendants of #main AND do NOT have the class "no-bullets" */
    margin-bottom: 20px;
}

#main ul:not(.no-bullets) li { /* Selects li elements inside ul elements that are descendants of #main AND ul does NOT have "no-bullets" */
    background: url(../bilder/bullet.png) no-repeat left 0.5em;
  /* 6px */
    padding-left: 13px;
	margin-bottom: 4px;
}

/* Basic styling to remove bullets and any default padding/margin */
ul.no-bullets {
  list-style-type: none; /* Remove bullets */
  padding: 0;
  margin: 0px 0px 20px;
}

ul.no-bullets a {
  color: #a81d16;
}

#main ul.no-bullets li a {
    display: block;       /* make the entire width clickable */
    padding: 4px 0;       /* ~16px vertical padding */
}

#main ul.no-bullets li:last-child a {
    margin-bottom: 0;     /* no extra gap after last item */
}

.datum {
    font-style: italic;
}

article.post {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}


/* bilder */

.entry-content img {
    margin: 0 0 10px 0;
}

.entry-image a img {
    border-bottom: none;
}

.entry-image:hover {
    border: 1px solid #B2130F;
}

.alignleft,
img.alignleft {
    margin-right: 10px;
    display: inline;
    float: left;
}

.alignright,
img.alignright {
    margin-left: 10px;
    display: inline;
    float: right;
}

.aligncenter,
img.aligncenter {
    margin: 0 auto;
    display: block;
    clear: both;
}

.wp-caption {
    text-align: center;
    padding: 4px;
    border: 1px solid #ddd;
    background-color: #F0F0F0;
    margin-bottom: 15px;
    max-width: 95%;
}

.wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
    border: 1px solid #F0F0F0;
}

.wp-caption p.wp-caption-text {
    padding-top: 5px;
    font-size: 12px;
    line-height: 17px;
    margin: 0;
}


/* grraue box */

.ansprech {
    background: #F0F0F0;
    padding: 20px 20px 10px 20px;
    margin: 20px 0;
    text-align: center;
}

.ansprech h3 {
    color: #B81311;
}

#main .ansprech .phone:before {
    content: "\260E";
    margin-right: 0.5em;
}


/* widget */

.widget h3 {
    padding: 5px 0;
    background: transparent url(../bilder/menu-top.png) bottom repeat-x;
}

.widget h3.rpwe-title,
.widget h3.rpwe-title a {
    color: #777;
    font-size: 14px;
    background: none;
    padding: 0;
}

.rpwe-summary {
    margin-bottom: 15px;
}

.widget_nav_menu h3 {
    color: #9F1C19;
    background: none;
}

.widget_nav_menu {
    background: #f0f0f0;
    padding: 20px;
}


/* footer */

#footer img.alignleft {
    margin-bottom: 10px;
}

#footer h4 {
    font-weight: 800;
    font-size: 1.4em;
}

#footer .kontakt-info .tel {
    background-image: url(../bilder/top-tel-grau.png);
    padding-left: 30px;
}

#footer .kontakt-info .mob {
    background-image: url(../bilder/top-mob-grau.png);
    padding-left: 30px;
}

#footer .kontakt-info h5 {
    background-repeat: no-repeat;
    background-position: left center;
    margin-left: 0px;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.333em;
    /* 16px */
    line-height: 1.375em;
    /* 22px/16px */
}

#footer .kontakt-info p {
    background-repeat: no-repeat;
    background-position: left center;
    margin-left: 6px;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 12px;
}


/* ---------------------------------------------------------------------- */


/* Navigation Bar
/* ---------------------------------------------------------------------- */

#navbar {
    background: #fff url(../bilder/menu-top.png) top repeat-x;
    margin-bottom: 1px;
    height: 40px;
    font-size: 12px;
    line-height: 1.5em;
}


/* Navigation */

#nav {
    float: left;
    height: 40px;
    position: relative;
    top: -1px;
    left: -1px;
}

#nav1 {
    float: left;
    height: 3.166em;
    /* 38px */
    position: relative;
    top: -1px;
    left: -1px;
}

#header {
    z-index: 100;
}

#content {
    z-index: 1;
}


/* GLOBAL - Navigation */

.sf-menu,
.sf-menu * {
    margin: 0;
    list-style: none;
    font-size: 1.1em;
}

.sf-menu {
    margin-top: 1px;
    position: absolute;
    right: 0;
}

.sf-menu ul {
    position: absolute;
    top: -999em;
    z-index: 10;
    width: 18.5em;
    /* left offset of submenus need to match (see below) */
}

.sf-menu ul li {
    width: 100%;
}

.sf-menu li {
    float: left;
    position: relative;
}

.sf-menu li a {
    display: block;
    font-size: 15px;
    font-weight: normal;
    padding: 11px 10px;
    text-align: center;
    color: #777;
    border-left: none;
    background: url(../bilder/menu-right.png) center right no-repeat;
    font-weight: 600;
    text-transform: uppercase;
}

.sf-menu li:first-child a {
    border-left: none;
}

.sf-menu li.current-menu-ancestor a,
.sf-menu li.current-menu-item a,
.sf-menu .current {
    text-decoration: solid underline #991A14 4px;
    color: #991A14;
}

.sf-menu li:hover>a {
    color: #991A14;
}

.sub-menu li a {
    text-decoration: unset!important
}

.sf-menu li.current-page-parent ul li.current-menu-item a,
.sf-menu li.current-page-parent ul li a:hover {
    background: #fff;
    color: #991A14;
}

.sf-menu li.current-page-parent ul li a {
    background: none;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

.sf-menu li:hover>a .highlight {
    background-color: #fff;
    color: #1da5ff;
}

.sf-menu a {
    display: block;
    position: relative;
    border-left: 0;
    padding: 10px 18px;
}

.sf-menu a.border-left,
.sf-menu ul li a {}

.sf-menu ul li a {
    padding: 12px 18px;
    border-bottom: 0;
    border-top: 1px solid #eee;
}

.sf-menu ul li:first-child a,
.sf-menu ul li ul li:first-child a {
    border-top: 1px solid #eee;
}

.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
    position: absolute;
    width: 200px;
    left: 0;
    top: 2.5em;
    /* match top ul list item height */
}

.sf-menu li ul li a,
.sf-menu li.current-menu-item ul li a {
    font-size: 13px;
    box-shadow: none;
    background-image: none;
    display: block;
    text-transform: none;
    color: #333;
    padding: 8px 15px;
    border-bottom: 1px solid #eee;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: left;
}

.sf-menu li ul li.current,
.sf-menu li ul li:hover>a,
.sf-menu li ul li a:hover {
    color: #991A14;
    border-bottom: 1px solid #eee;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    box-shadow: none;
    display: block;
    text-transform: none;
    padding: 8px 15px;
    background: #fff;
    text-align: left;
}

ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
    top: -999em;
}

ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
    left: 18.5em;
    /* match ul width */
    top: 0;
}

ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
    top: -999em;
}

ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
    left: 18.5em;
    /* match ul width */
    top: 0;
}

.sf-sub-indicator,
#jump,
#back {
    display: none;
}


/* ---- */


/* Toggle, Accordion
/* ---- */

.ui-accordion {
    line-height: 1.5em;
    /* 18px */
}

.ui-accordion .ui-helper-reset {
    line-height: 1.5em;
    /* 18px */
}

.ui-accordion .ui-widget-content {
    color: #383838;
}

.toggle,
.accordion {
    margin-bottom: 20px;
}

.ui-accordion .ui-accordion-header {
    display: block;
    position: relative;
    /* sets the initial position for the icon */
    padding: 10px 10px 10px 40px;
    cursor: pointer;
    background: none;
    background-color: #F0F0F0;
    border: 1px solid #e2e2e2;
    margin: 0;
    border-radius: 0;
    color: #383838;
}

.ui-accordion[data-disabled="true"] .ui-accordion-header,
.ui-accordion[data-disabled="true"] .ui-accordion-header:hover {
    color: #888;
    cursor: default;
}

.ui-accordion>div:first-child>.ui-accordion-header {
    border-top: 1px solid #e2e2e2;
}

.ui-accordion .ui-accordion-header.accordion-title {
    border-top: none;
}

.ui-accordion .ui-accordion-content {
    padding: 15px 10px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0;
    overflow: hidden;
}

.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
    position: absolute;
    top: 9px;
    left: 10px;
    background: url(../bilder/ac-plus.png) no-repeat left top;
    width: 20px;
    height: 20px;
    margin: 0;
}

.ui-accordion .ui-accordion-header.ui-state-active .ui-accordion-header-icon {
    background-image: url(../bilder/ac-minus.png);
}


/* - */


/* contact form 7 styles
/* - */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    background-color: #fff;
    color: #000;
    width: 90%;
    border: 1px solid #DBDCDC;
    padding: 5px 2px;
}

.wpcf7 {
    margin-top: 10px;
}
