:root {
  --colorA: #172D40;
  --colorB: #498FCC;
  --colorC: #498FCC;
  --colorD: #498FCC;
  --colorDlight: #ECF3F9;
  --colorE: #32628C; /*#122433;
  --colorD: #1C364D;*/
  --colorTitle: white;
  --colorHighlight: #EB6C00;
}

/* Global styles */
body {
  padding-top: 0;
  padding-bottom: 0;
  font-size: 22px;
  font-family: 'Alegreya', serif;
  background: rgb(255,255,255);
  background: linear-gradient(135deg,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(233,228,221,1) 100%);
  min-height: 100vh;
}
h1 {
  font-weight: 300;
  font-size: 60px;
  font-family: 'Lato', sans-serif;
  position: relative;
}
.hero h1 {
  color: white;
}
h2,
table caption {
  font-weight: 900;
  font-family: 'Lato', sans-serif;
}

h3 {
  font-weight: 900;
  font-family: 'Lato', sans-serif;
}

h4 {
  font-weight: 600;
  font-family: 'Lato', sans-serif;
  font-size: 22px;
}
p {
  margin: 0 0 30px;
  color: #444;
}

a, a:focus, a:visited {
  color: var(--colorD);
  text-decoration: none;
}

a:hover {
  color: var(--colorE);
  text-decoration: none;
}

a.btn {
  background-color: #d4566b;
  color: white;
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.15em;
  padding: 15px 20px;
  text-transform: uppercase;
}

a.btn:hover {
  background-color: #eb7400;
  color: white;
}

a.btn-sm {
  border-radius: 4px;
  font-size: 10px;
  line-height: normal;
  padding: 6px 8px;
}
.header input {
  border-radius: 3px;
  border: none;
  font-size: 18px;
  padding: 10px;
  width: 100%;
}
#extendedSearch .mvzsearch label {
  width: 14%;
  text-align: right;
  margin-top: 10px;
  margin-bottom: 0px;
}
.mvzsearch input {
  padding: 10px;
  width: 100%;
}
.mvzsearch select {
  width: 85%;
  float: right;
  max-width: none;
  padding: 10px;
}
#extendedSearch .mvzsearch input {
  width: 85%;
  float: right;
}
#extendedSearch .mvzsearch input[type='submit'] {
  width: 100%;
  float: none;
}


ul.nav{
  display: block;
}
/*ul.nav{
  display: grid;
}*/
ul {
  margin: 0 0 50px; /*30px;*/
}
figure {
  margin: 0 0 50px; /*30px;*/
  position: relative;
}

figcaption {
  background-color: rgba(99,33,13,0.8);
  bottom: 0;
  color: white;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 300;
  left: 0;
  padding: 10px;
  position: absolute;
  width: 75%;
}
img {
  display: block;
  /*width: 100%;*/
}





/* Generic detail page styles */
.stand-first {
  color: rgba(255,255,255,0.8);
  font-size: 26px;
  margin: 0;
}
.intro {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  margin: 0 0 60px; /*40px;*/
  font-size: 30px; /*22px;*/
}
/* Hero image area */
.hero {
  background-size: cover;
  background-position: center;
  padding: 20px 0 3px 0;
  position: relative;
  margin: 0 0 3px;
}
@media screen and (min-width: 768px) {
  .hero {
    padding: 20px 0 3px 0;
    margin: 0 0 4px;
  }
}
.hero-gradient-mask {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.01) 1%,rgba(0,0,0,1) 100%);
}


blockquote {
  border-left: 5px solid #d4566b;
  margin: 0 0 50px;
}
blockquote p {
  font-size: 30px;
  margin: 0 0 10px;
}
blockquote footer::before {
  display: none;
}
blockquote footer p {
  font-size: 1.8em;
  font-style: italic;
}
cite {
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  color: #888;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.15em;
}
img.artabanalogo.header {
    float: left;
    padding-right: 20px;
    padding-top: 0;
    height: 1.8em;
    width: unset;
}


/* Page header */
.header {
  padding: 15px 0 15px;
  width: 100%;
  background: var(--colorA);
  position: relative;
  z-index: 1001;
}
#header h2 {
  color: white;
}
.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}
/* Logo */
.logo, .logo:visited, .logo:focus,
.auth h1 {
  display: inline-block;
  padding: 0;
  color: var(--colorTitle);
  font-size: 30px;
  font-weight: 300;
  margin: 0 0 0;
}
.logo:hover {
  color: var(--colorE);
  text-decoration: none;
}


.search {
  display: inline-block;
  float: right;
  margin: 0 0 0 30px;
}
.search-icon {
    height: 20px;
    position: absolute;
    margin-left: -30px;
    margin-top: 11px;
}
.mvzsearch .search-icon {
  margin-top: 13px;
  margin-left: -33px;
}
.search-icon svg {
  fill: #d4566b;
  height: 20px;
  width: 20px;
}





/*@media (min-width: 768px)*/ 
  nav {
    margin: 15px 0 0 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: block;
  }


#main-navigation {
  padding-left: 0;
}
ul.dropdown-menu {
  /*position: relative;
  float: none;
  background-color: transparent;*/
  /*top: 0;*/

}


/***********************************/
/*           Menü-Navigation       */
/***********************************/





.nav-pills>li {
  padding: 0px 20px 0px 0px;
}

.nav-pills>li>a {
  border-radius: 0;
  border-top: 1px solid transparent;
  color: var(--colorTitle);
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-top: -1px;
  padding: 10px 0; /*10px;*/
}
.nav-pills>li>a, .nav-pills>li>a:focus, .nav-pills>li>a:hover,
.nav-pills>li, .nav-pills>li, .nav>li>a, .nav>li>a {
  border-top: 1px solid transparent;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover,
.nav-pills>li.active, .nav-pills>li:hover, .nav>li>a:focus, .nav>li>a:hover {
  color: var(--colorB);
  background-color: transparent;
  /*border-top: 1px solid var(--colorB);
  font-weight: 400;*/
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover,
.nav>li>a:focus, .nav>li>a:hover {
  border-top: 1px solid var(--colorB);
}
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
  background-color: transparent;
  border-top: 1px solid var(--colorB);
}


/* Custom page footer */
.footer {
  padding-top: 19px;
  color: #777;
}
.footer {
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  padding: 20px 0;
  margin: 40px 0 0;
  font-weight: 300;
  background-color: white;
}
.footer p {
  margin: 0;
}




div[role="alertdialog"] ul {
  margin: 0;
  padding-inline-start: 0;
}
div[role="alertdialog"] ul li {
  display: block;
}
div[role="alertdialog"] .messages .error {
  color: #d01212;
}
div[role="alertdialog"] .messages .info {
  color: #eec036;
}
div[role="alertdialog"] .messages .warning {
  color: #ff9334;
}
div[role="alertdialog"] .messages .success {
  color: #9fdb18;
}
.container-narrow > hr {
  margin: 30px 0;
}
div[role="alertdialog"] {
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
  background-color: #EEEEEE;
  padding: 20px;
}
.container,
div[role="alertdialog"] {
  width: unset;
  padding-left: 40px;
  padding-right: 40px;
}


/* Breadcrumbs */
.breadcrumb-container {
  background: linear-gradient(to right, rgba(21,38,44,0.8) 0%,rgba(0,0,0,0.9) 100%);
  margin-top: -1px;
  position: relative;
  z-index: 3;
}
.breadcrumb-container + content > .hero {
  margin-top: -36px;
}
.breadcrumb {
  background-color: transparent;
  color: #ccc;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  margin-bottom: 2px;
  padding-left: 0px;
}
.breadcrumb a, .breadcrumb .active {
  color: #ccc;
}
.breadcrumb .active {
  font-weight: bold;
}
.breadcrumb a:hover {
  color: #fff;
  text-decoration: none;
}
.breadcrumb>li+li:before {
  content: "\00BB";
}

/* Location detail page */
.template-location-page .intro {
  margin-bottom: 0;
}
.location-opening h3 {
  margin-top: 0;
}
span.day {
  font-weight: bold;
  font-family: 'Lato', sans-serif;
}
time.location-time {
  display: block;
}


.map-container {
  height: 550px;
}
.map.pflegekarte {
  
}
.location-address {
  background-color: rgba(233,228,221,1);
  padding: 10px 30px;
  margin-bottom: -200px;
  position: relative;
  z-index: 1;
}

/* Miscellaneous helper styles */
/* No gutters */
.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
  padding-right: 0;
  padding-left: 0;
}

/* Bootstrap Equal height rows */
.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}

@media (min-width: 970px) {
  .hidden-md-up {
    display: none;
  }
}
@media (max-width: 970px) {
  .hidden-md-down {
    display: none;
  }
}

/* From Wagtail core */
/* Responsive image/video classes */
.rich-text img {
    max-width: 100%;
    height: auto;
}
.richtext-image.left{
    float:left;
}
.richtext-image.right{
    float:right;
}
.responsive-object {
    position: relative;
}
.responsive-object iframe,
.responsive-object object,
.responsive-object embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/************************************/
/*            Login                 */
/************************************/
.auth #header {
    width: 100%;
    background: var(--colorA);
    z-index: 10;
    text-align: center;
}
.auth {
    margin: 0;
}
.auth #content,
.auth #header {
    padding: 15px 0;
}
.auth h1 {
    font-family: 'Alegreya', serif;
}
.auth th {
    width: 275px;
    text-align: left;
}
.auth .submit-row input[type="submit"]{
    background-color: var(--colorD);
    border: none;
    margin-top: 10px;
    font-size: 22px;
}
.auth input {
    font-family: 'Alegreya', serif;    
    padding: 15px 25px;
    font-size: 22px;
}
.auth table {
    margin: 0 auto;
    text-align: center;
}
.auth td:nth-child(2) {
    display: grid;
}
/*New password*/
.auth #ft-password-reset-confirm tr:nth-child(2) th:first-child {
    vertical-align: baseline;
    padding-top: 15px;
}
.auth span.helptext {
    font-style: italic;
    text-align: left;
}
.auth span.helptext ul {
    list-style-type: none; 
    padding-inline-start: 0px;
}
/*.auth*/ ul.errorlist {
    list-style-type: none; 
    padding-inline-start: 0px;
    color: red; /*var(--colorC);*/
    font-weight: 600;
}
.auth ul.errorlist {
    color: var(--colorC);
}
/*.auth*/ ul.errorlist li {
    display: table;
}
.auth #ft-password-reset-confirm tr:nth-child(3) th:first-child {
    vertical-align: bottom;
    padding-bottom: 20px;
}
.auth p.errornote {
    text-align: center;
    color: var(--colorC);
    font-weight: 600;
}
.auth tbody {}


/************************************/
/*            Colors                */
/************************************/
.searchcolorholder {
    float: right;
}
.colorranges {
    float: left;
}
.colorranges input[type=range] {
    width: 140px;
    height: 20px;
    border: 1px solid white;
    -webkit-appearance: none;
}
.colorranges input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background-image: linear-gradient(to right, red,orange,yellow,green,blue,indigo,violet,red);
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}
.colorranges input#blackwhiterange[type=range]::-webkit-slider-runnable-track {
    background-image: linear-gradient(to right, white,black);
}
.colorranges input[type=range]::-webkit-slider-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 20px;
    width: 10px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6px;
}
.colorranges input[type=range]::-moz-range-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: #3071a9;
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}
.colorranges input[type=range]::-moz-range-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 20px;
    width: 10px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}
.colorranges input[type=range]::-ms-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}
.colorranges input[type=range]::-ms-fill-lower {
    background: #2a6495;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
.colorranges input[type=range]::-ms-fill-upper {
    background: #3071a9;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
.colorranges input[type=range]::-ms-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 20px;
    width: 10px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}
/************************************/
/*            Tabellen              */
/************************************/
.block-table thead {
  background-color: var(--colorA);
  color: var(--colorTitle);
}
.block-table th,
.block-table td {
  padding: 5px 10px;
  border: 1px solid black;
}
.htCenter {
    text-align: center;
}
.htRight {
    text-align: right;
}
.marker {
  font-weight: bold;
}
.searchresult {
  font-weight: bold;
  color: var(--colorHighlight);
}

hr {
  border-top: 1px solid #777;
}
table#adminFunktionsTabelle {
  margin-bottom: 20px;
  max-width: none;
}
table#adminFunktionsTabelle td {
  border: 0;
  padding: 0px 30px 15px 0px;
}
.row.half {
  max-width: unset;
  display: block;
  width: 50%;
  float: left;
  overflow-x: auto;
  min-height: unset;
}
.row.secondhalf {
  width: 50%;
/*  height: 80vh;*/
  overflow: hidden;
  float: right;
  right: unset;
  position: unset;
}
.row.half .mvz table {
  max-height: 65vh;
  display: block;
  max-width: unset;
  overflow: auto;
}
.row.secondhalf.noNegativeMargin {
  margin-top: 0;
}

/*.block-table tr:nth-child(even) {
  background-color: var(--colorB);
}*/
/***********************************/
/*            Editelements         */
/************************************/
/* Style the header */
#myHeader.header {
  padding: 10px 16px;
  background: #555;
  color: #f1f1f1;
}


/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 102px;
}

table.function-block {
  width: 100%;
}
table.function-block td, table.function-block th {
  width: 33.3%;
  padding: 6px;
  border: 1px solid black;
}
table.function-block tr:nth-child(even) {
    background-color: #F0F0F0F0;
}

/***********************************/
/*            MVZ-Memberedit       */
/***********************************/
.col-md-10 form p label,
.container.group form label {
  text-align: right;
  padding-right: 1%;
  width: 19%;
  margin-top: 1.5px;
}
.container.group form label {
  float: left;
  padding-right: 4%;
}
.container.group form .vereinssitzcontainer p label {
  font-weight: normal;
}
.col-md-10 form p input[type=text],
.col-md-10 form p textarea {
  width: 80%;
  height: 40px;
  /*vertical-align: middle;
  float: right;*/
}

.col-md-10 form p select {
  display: inline-block;
  width: 80%;
  max-width: none;
}
.container.group form .vereinssitzcontainer p:nth-child(2) {
  width: 31%;
}
.container.group form .vereinssitzcontainer p:nth-child(2) label {
  width: 15%;
}

.col-md-10 form p input#id_postalCode {
  width: 55%;
}
.container.group form .vereinssitzcontainer p:nth-child(3) {
  width: 15%;
}
.container.group form .vereinssitzcontainer p:nth-child(3) label {
  width: 30%;
}
.container.group form .vereinssitzcontainer p:nth-child(4) {
  width: 34%;
}
.container.group form .vereinssitzcontainer p:nth-child(4) label {
  width: 14%;
}
.container.group form .vereinssitzcontainer p:nth-child(4) input {
  width: 86%;
}
/*
.col-md-10 form p input[type=text]:required:not(:placeholder-shown),
.col-md-10 form p textarea:required:not(:placeholder-shown) {
  background-color: lightsalmon;
}*/

.col-md-10 form p textarea {
  display: inline-block;
  margin-bottom: -10px;
  resize: vertical;
  max-width: none;
  min-height: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='30px' width='20px'><text font-size='20px'><tspan x='0' y='20'>⇓</tspan></text></svg>");
  background-position: right bottom;
  background-repeat: no-repeat;
}
.col-md-10 form p {
  display: block; /*flex;*/
  margin-bottom: 15px;
}
.rollen, .funktionen {
  margin-left: 19%;
  margin-top: -50px;
}
div.rolle, div.funktion {
  position: relative;
}
span.extra {
  position: absolute;
  left: 50%;
}
.affiliationButtons {
  margin-left: 0;
  margin-top: 0;
}
.affiliationButtons button {
  margin-bottom: 5px;
  margin-right: 5px;
}
.affiliationButtons button.buttonSelected {
  background-color: var(--colorB);
  color: white;
  border-color: var(--colorB);
}
.rollen input, .funktionen input {
  margin-right: 1%;
}
.rollen label, .funktionen label {
  font-weight: normal;
}
.rollen-ro::after, .funktionen-ro::after {
  content: " ";
  display: block;
  height: 1px;
  background: grey;
  width: 100%;
  margin-bottom: 24px;
}
input[type=submit], input[type=reset].okcancel {
  background-color: var(--colorD);
  color: white;
  width: 100%;
  border: none;
  padding: 8px;
}
input[type=reset].okcancel {
  background-color: #8d8d8d;
  width: 40%;
}
input[type=submit].okcancel {
  width: 59%;
}
.ansprechpartner {
  background-color: var(--colorDlight);
}
h4.ansprechpartner {
  line-height: 2;
  width: 175px;
}


/* new member */
input:required,
textarea:required {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='15px' width='15px'><text x='0' y='20' fill='black' font-size='20'>*</text></svg>");
  background-repeat: no-repeat;
  background-position: right top;
  background-color: var(--colorDlight);
  border-color: black;
  border-radius: 1px;
  border-width: 1px;
}
textarea:required,
.col-md-10 form p textarea:required {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='40px' width='30px'><text font-size='20px'><tspan x='15' y='20'>*</tspan><tspan x='0' y='30'>⇓</tspan></text></svg>");
  background-position: right bottom;
  background-color: var(--colorDlight);
}
input[type=checkbox] {
  margin-top: 10px;
}
span.helptext, span.preHelptext {
  margin-left: 19%;
  line-height: normal;
  display: block;
  font-size: 17px;
}
span.helptext {
  font-style: italic;  
}
.col-md-10.mvz a {
  text-decoration: underline;
}
.col-md-7 {
  width: 90%;
}





.expandableView {
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: .5em .5em 0;
    margin: 1em 0;
    background-position: left top;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='40px' width='35px'><text x='15' y='32' fill='black' font-size='15'>▶</text></svg>")
}

.summary {
    font-weight: bold;
    margin: -.5em -.5em 0;
    padding: .5em 1.5em;
}

.expandableView.opened {
    padding: .5em;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='40px' width='35px'><text x='15' y='32' fill='black' font-size='15'>▼</text></svg>")

}

.expandableView.opened .summary {
    border-bottom: 1px solid #aaa;
    margin-bottom: .5em;
}

.expandableView form {
    display: none;
}
.expandableView.opened form {
    display: block;
}

@media (orientation: portrait) {
  .container.group form label {
    text-align: left;
    margin-bottom: 0;
    width: 100%;
  }
  .col-md-10 form p input[type=text],
  .col-md-10 form p input[type=date],
  .col-md-10 form p input[type=checkbox],
  .col-md-10 form p textarea {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
  }
  .col-md-10 form p textarea {
    display: inline-block;
    resize: vertical;
    min-height: 40px;
    min-width: 100%;
  }
  .col-md-10 form p {
      display: block;
  }
  .col-md-10 form p select {
    min-width: 100%;
  }
  .container.group form .vereinssitzcontainer p:nth-child(2) {
    width: 100%;
  }
  .container.group form .vereinssitzcontainer p:nth-child(2) input {
    margin-bottom: 0;
  }
  .container.group form .vereinssitzcontainer p:nth-child(3) {
    width: 30%;
    float: left;
  }
  .container.group form .vereinssitzcontainer p:nth-child(3) label,
  .container.group form .vereinssitzcontainer p:nth-child(4) label {
    width: 50%;
  }
  .container.group form .vereinssitzcontainer p:nth-child(3) input {
    width: 88%;
  }
  .container.group form .vereinssitzcontainer p:nth-child(4) {
    width: 70%;
  }
  .container.group form .vereinssitzcontainer p:nth-child(4) input {
    width: 100%;
  }
}






#main-navigation {
  padding-left: 0;
}
ul.dropdown-menu {
  /*position: relative;
  float: none;
  background-color: transparent;*/
  /*top: 0;*/

}


/***********************************/
/*           Menü-Navigation       */
/***********************************/

/* on smartphones. */ 
@media (max-width: 768px) {
  ul.nav {
    display: grid !important;
  }
  .has-submenu .dropdown-menu {
    position: relative;
    top: 0;
    width: 100%;
    padding-left: 2em;
  }
  .has-submenu.active .dropdown-menu {
    display: block;
  }
}





.dropdown-menu {
  background-color: rgba(25,17,18,1);
  border-radius: 0;
  border: transparent;
  margin: 0;

  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 10;
}

.dropdown-menu > li> a,
.dropdown-menu-deeper  li a {
  border-bottom: 1px solid var(--colorB);
  color: #fff;
  font-family: 'Lato', sans-serif;
  padding: 10px 20px;
}

.dropdown-menu > li> a:hover,
.dropdown-menu-deeper li a:hover {
  background-color: transparent;
  color: var(--colorB);
}

.has-submenu {
  position: relative;
  display: inline-block;
}


/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-menu a:hover,
.dropdown-menu-deeper a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.has-submenu:hover .dropdown-menu {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.has-submenu:hover {background-color: #3e8e41;}


/* second level of navi submenu */
ul.dropdown-menu-deeper {
    right: -200px;
    width: 199px;
    margin-top: -41px;
    position: absolute;
    background-color: var(--colorA);
    color: white;
    padding-left: 0;
    display: none;
}
li:hover > ul.dropdown-menu-deeper {
  display: block;
}
.dropdown-menu-deeper li {
  display: grid;
}


/* Custom page footer */
.footer {
  padding-top: 19px;
  color: #777;
}
.footer {
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  padding: 20px 0;
  margin: 40px 0 0;
  font-weight: 300;
  background-color: white;
}
.footer p {
  margin: 0;
}

/* Breadcrumbs */
.breadcrumb-container {
  background: linear-gradient(to right, rgba(21,38,44,0.8) 0%,rgba(0,0,0,0.9) 100%);
  margin-top: -1px;
  position: relative;
  z-index: 3;
}
.breadcrumb-container + content > .hero {
  margin-top: -36px;
}
.breadcrumb {
  background-color: transparent;
  color: #ccc;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  margin-bottom: 2px;
  padding-left: 0px;
}
.breadcrumb a, .breadcrumb .active {
  color: #ccc;
}
.breadcrumb .active {
  font-weight: bold;
}
.breadcrumb a:hover {
  color: #fff;
  text-decoration: none;
}
.breadcrumb>li+li:before {
  content: "\00BB";
}

/* Mobile nav */
.navbar-toggle .icon-bar {
  background-color: #fff;
}

/* Pagination navigation */
nav[role=pagination] {
  margin-top: 50px;
  text-align: center;
}

/* Location list page */
.location-list-item {
  text-align: center;
  margin-bottom: 30px;
}
.location-list-title {
  line-height: 270px;
  height: 270px;
  background-color: #eb7400;
}
.location-list-title img {
  background-color: rgba(233,228,221,1);
  height: 270px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.location-list-title:hover img {
  opacity: 0.3;
}
.location-list-title span.title {
  color: white;
  display: inline-block;
  font-weight: 300;
  position: relative;
  text-shadow: 0px 0px 30px rgba(0, 0, 0, 1);
}
.location-list-title:hover span.title {
  text-shadow: none;
}
.location-list-item address {
  font-weight: 300;
  font-family: 'Lato', sans-serif;
  font-size: 1.4em;
  padding: 10px 40px;
}

/* Blog list view */
.blog-tags>li {
  border-right: 1px solid rgba(0,0,0,0.1);
  font-size: 0.9em;
  margin-left: -6px;
  padding: 4px 18px;
  text-transform: uppercase;
}
.blog-tags>li:first-child {
  margin-left: 0;
  border-left: 1px solid rgba(0,0,0,0.1);
}
.blog-tags>li:hover {
  background-color: rgba(0,0,0,0.1);
}
.blog-list li {
  list-style: none;
}

@media (min-width: 1025px) {
.blog-list li:first-of-type, .blogpage-listing li:first-of-type,
.blog-list li:nth-child(6), .blogpage-listing li:nth-child(6),
.blog-list li:nth-child(7), .blogpage-listing li:nth-child(7),
.blog-list li:nth-child(12), .blogpage-listing li:nth-child(12) {
      width: 50%;
    }
}
.blog-list-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.blog-list-item a {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}
.blog-list-item:hover img {
    opacity: 0.3;
}
.blog-list-item .image {
  overflow: hidden;
  background-color: #eb7400;
  flex: 1 0 auto;
}
.blog-list-item .image img {
  min-height: 510px;
  width: auto;
  min-width: 100%;
}
.blog-list-item .text {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 23%,rgba(0,0,0,1) 50%);
  margin-top: -150px;
  padding: 20px;
  position: relative;
  z-index: 1;
}
.blog-list-item .text h2 {
  color: #fff;
  font-weight: 200;
  margin-top: 0;
}
.blog-list-item .text p {
  color: #e3e3e3;
  font-size: 0.8em;
  margin-bottom: 0;
}
.blog-list-item .footer {
  background-color: #333;
  color: #fff;
  margin-top: 0;
  padding: 20px;
  position: relative;
  z-index: 1;
}
/* used to style tags on blog */
span.outline {
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 0.8em;
  padding: 3px 6px;
  text-transform: uppercase;
}

/* Blog detail page */
.blog-meta {
    margin-top: -40px;
    margin-bottom: 20px;
}
.blog-avatar {
    border-radius: 100%;
    display: inline;
    width: unset;
}
.blog-avatars {
    margin-bottom: 20px;
}
.blog-avatars .author {
  display: inline-block;
  margin-right: 30px;
}

/* Bread styles */
/* Bread listview */
.bread-list-item {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 3px;
  margin: 12px;
  overflow: hidden;
}

.bread-list-item h2 {
  font-weight: 300;
}

@media (min-width: 992px) {
  .bread-list-item {
    width: 47%;
  }
}

.bread-list-item .image {
  background-color: #eb7400;
  margin: 0;
  max-width: 180px;
  max-height: 180px;
  min-width: 180px;
  min-height: 180px;
  padding: 0;
}
.bread-list-item .image:hover img {
  opacity: 0.3;
}

.bread-list-item img {
  margin: 0;
  width: auto;
}

.bread-list-item ul {
  padding-left: 2px;
}

.bread-list-item li {
  list-style: none;
}

.bread-list-item li span {
  color: #777;
  display: inline-block;
  font-weight: 600;
  width: 70px;
}

/* Bread detail page */
.bread-detail .introduction {
  color: #777;
  font-size: 1.4em;
  margin-top: 40px;
}
.bread-detail figure {
  margin: 35px auto 20px auto;
  overflow: hidden;
}
.bread-detail figure img {
  width: auto;
}
.bread-detail ul.bread-meta {
  list-style: none;
  padding-left: 0;
}
.bread-detail ul.bread-meta li ul {
  padding-left: 0;
}
.bread-detail ul.bread-meta li ul li {
  border-bottom: 1px solid #ccc;
  list-style: none;
  max-width: 450px;
}

/* Forms */
/* Form detail page */
.form-page input, textarea, select {
  display: block;
  min-width: 450px;
  max-width: 450px;
}
.form-page li input[type=checkbox], input[type=radio] {
  display: inline-block;
  margin-right: 10px;
}
.form-page .fieldWrapper ul, 
.form-page .fieldWrapper li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.form-page .required {
  color: red;
}
.form-page .fieldWrapper {
  margin-bottom: 30px;
}
.form-page .help {
  color: #999;
  font-family: 'Lato', sans-serif;
  font-size: 0.8em;
  margin-top: 10px;
  max-width: 350px;
}
.container.group form .vereinssitzcontainer p {
  width: 26.8%;
  display: inline-block;
}

/* Form thank you page */
.form-page-thanks h1 {
  margin-bottom: 30px;
}
input[disabled] {
    border-color: rgba(118, 118, 118, 0.1);
    color: lightgrey;
}

/* Generic title image header include */
.base-header img {
  height: auto;
  margin-top: 20px;
  max-width: 100%;
  width: auto;
}

@media (max-width: 970px) {
  .base-header img {
    width: 100%;
  }
}

/* Homepage */
.homepage .hero {
  margin: 0;
  padding: 20px 0 3px 0;
}

.homepage .hero h1 {
  font-size: 2.2em;
  text-transform: uppercase;
}

.homepage .hero h1:after {
  background-color: rgba(255,255,255, 0.7);
  content: "";
  display: block;
  height: 5px;
  margin: 20px auto;
  width: 250px;
}
.homepage .home-hero {
  margin-bottom: 0;
  padding-bottom: 60px;
  text-align: center;
}
.homepage .home-hero .lead {
  color: #ddd;
  font-size: 1.6em;
  margin: 40px auto;
}
.homepage .home-hero .hero-cta-link {
  color: #fff;
  border: 1px solid #aaa;
  border-radius: 4px;
  padding: 10px 34px 10px 10px;
  display: inline-block;
  vertical-align: middle;
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  transition-duration: 0.1s;
}
.homepage .home-hero .hero-cta-link:before {
  content: "\f18e";
  font-family: FontAwesome;
  font-size: 1.2em;
  font-weight: 200;
  opacity: 0.8;
  padding: 0 1px;
  position: absolute;
  right: 0.2em;
  top: 0.2em;
  transform: translateZ(0);
  transition-duration: 0.1s;
  transition-property: transform;
  transition-timing-function: ease-out;
}
.homepage .home-hero .hero-cta-link:hover:before,
.homepage .home-hero .hero-cta-link:focus:before,
.homepage .home-hero .hero-cta-link:active:before {
  transform: translateX(4px);
}
.homepage .streamfield {
  background: linear-gradient(45deg, rgba(170,170,170,1) 0%,rgba(238,238,238,1) 44%);
}
.homepage .streamfield-column {
  padding: 60px;
  margin: 0 auto;
  float: none;
}
.homepage .streamfield-column h1,
.homepage .streamfield-column h2,
.homepage .streamfield-column h3,
.homepage .streamfield-column h4,
.homepage .streamfield-column h5 {
  text-align: center;
}
.homepage .promo-row {
  padding: 40px 0 40px 0;
}
.homepage .promo {
  background: linear-gradient(190deg, rgba(0,4,8,1) 0%,rgba(55,28,25,1) 100%);
  border-radius: 0px 0px 10px 10px;
  color: #fff;
  height: 100%;
  margin-bottom: 20px;
  margin-top: -40px;
  padding: 40px 60px;
  text-align: center;
}
.homepage .promo h1,
.homepage .promo h2,
.homepage .promo h3,
.homepage .promo h4 {
  color: #eb7400;
  font-weight: 200;
}
.homepage .promo p,
.homepage .promo li {
  color: #ccc;
  line-height: 1.6em;
}
.homepage .promo a {
  color: #fff;
}
@media (max-width: 970px) {
  .homepage .promo {
    padding: 30px 40px;
  }
  .homepage .promo figure img {
    max-width: 120px;
    height: auto;
  }
  .homepage .promo p {
    color: #fff;
    font-size: 1em;
  }
}
@media (max-width: 766px) {
  .homepage .promo {
    margin-left: 15px;
    margin-right: 15px;
  }
}
.homepage .promo figure img {
  border-radius: 100%;
  margin: auto;
  width: auto;
}
.homepage .feature-1 h2 {
  margin-top: 0;
  margin-bottom: 20px;
}
.homepage .feature-1 .featured-children li {
  border: 1px solid #ccc;
  border-radius: 3px;
  list-style: none;
  margin-bottom: 10px;
}
.homepage .feature-1 .featured-children li figure {
  width: 100%;
  overflow: hidden;
  margin: 0;
}
.homepage .feature-1 .featured-children li img {
  width: auto;
}
.homepage .feature-1 .featured-children li h3 {
  margin-top: 40px;
  font-weight: 300;
  font-size: 1.4em;
}
.homepage .feature-2 {
  padding: 40px 0 20px;
}
.homepage .feature-2 .feature-2-row {
  display: flex;
  flex-wrap: wrap;
}
.homepage .feature-2 h2,
.homepage .feature-3 h2 {
  text-align: center;
  margin: 20px;
}
.homepage .feature-2 .feature-2-item {
  display: flex;
  flex-direction: column;
  margin: 0 auto 20px;
}
.homepage .feature-2 .featured-children li {
  list-style: none;
}
.homepage .feature-2 .feature-2-item figure {
  margin-bottom: 0;
}
.homepage .feature-2 .feature-2-item img {
  min-height: 210px;
}
.homepage .feature-2 .feature-2-item .feature-2-text {
  background-color: #dfdfdf;
  border-radius: 0 0 10px 10px;
  padding: 0 20px;
  flex: 1;
}
.homepage .feature-2 figure,
.homepage .feature-3 figure {
  background-color: #eb7400;
  margin: 0;
}
@media (max-width: 766px) {
  .homepage .feature-2 .feature-2-row {
    display: inline-block;
  }
}
.homepage .feature-3 .featured-children li {
  list-style: none;
}
.homepage .feature-3 h3 {
  color: #fff;
  font-weight: 300;
  font-size: 1.8em;
  margin-bottom: 135px;
  margin-top: -145px;
  position: relative;
  text-align: center;
  text-shadow: 0px 0px 30px rgba(0, 0, 0, 1);
  z-index: 1;
}
.homepage .feature-2 li:hover img,
.homepage .feature-3 li:hover img {
  opacity: 0.3;
}

/* Miscellaneous helper styles */
/* No gutters */
.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
  padding-right: 0;
  padding-left: 0;
}

/* Bootstrap Equal height rows */
.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}

@media (min-width: 970px) {
  .hidden-md-up {
    display: none;
  }
}
@media (max-width: 970px) {
  .hidden-md-down {
    display: none;
  }
}

/* From Wagtail core */
/* Responsive image/video classes */
.rich-text img {
    max-width: 100%;
    height: auto;
}
.richtext-image.left{
    float:left;
}
.richtext-image.right{
    float:right;
}
.responsive-object {
    position: relative;
}
.responsive-object iframe,
.responsive-object object,
.responsive-object embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/************************************/
/*            Tabellen              */
/************************************/
.block-table thead {
  background-color: var(--colorA);
  color: var(--colorTitle);
}
.block-table th,
.block-table td {
  padding: 5px 10px;
  border: 1px solid black;
}
.htCenter {
    text-align: center;
}
.htRight {
    text-align: right;
}
.marker {
  font-weight: bold;
}
.searchresult {
  font-weight: bold;
  color: var(--colorHighlight);
}

hr {
  border-top: 1px solid #777;
}
table#adminFunktionsTabelle {
  margin-bottom: 20px;
  max-width: none;
}
table#adminFunktionsTabelle td {
  border: 0;
  padding: 0px 30px 15px 0px;
}

th[onclick] {
  background-repeat: no-repeat;
  background-position: right top;
  padding-right: 25px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='30px' width='20px'><text x='3' y='20' fill='lightgrey' font-size='10'>▲</text>  <text x='3' y='29' fill='lightgrey' font-size='10'>▼</text></svg>");
}
th[onclick]:nth-child(1) {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='30px' width='20px'><text x='3' y='20' fill='black' font-size='10'>▲</text>  <text x='3' y='29' fill='lightgrey' font-size='10'>▼</text></svg>"); /*↑▲*/
}
th[onclick].arrowUp {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='30px' width='20px'><text x='3' y='20' fill='black' font-size='10'>▲</text>  <text x='3' y='29' fill='lightgrey' font-size='10'>▼</text></svg>"); /*↑▲*/
}
th[onclick].arrowDown {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='30px' width='20px'><text x='3' y='20' fill='lightgrey' font-size='10'>▲</text>  <text x='3' y='29' fill='black' font-size='10'>▼</text></svg>"); /*↑▲*/
}
th[onclick].no-arrow {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='30px' width='20px'><text x='3' y='20' fill='lightgrey' font-size='10'>▲</text>  <text x='3' y='29' fill='lightgrey' font-size='10'>▼</text></svg>");
}
th[onclick].noBackgroundImage {
  background-image: unset;
}

/*.block-table tr:nth-child(even) {
  background-color: var(--colorB);
}*/
/***********************************/
/*            Editelements         */
/************************************/
/* Style the header */
#myHeader.header {
  padding: 10px 16px;
  background: #555;
  color: #f1f1f1;
}


/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 102px;
}


/***********************************/
/*            MVZ-Memberedit       */
/***********************************/
.col-md-10 form p label,
.container.group form label {
  text-align: right;
  padding-right: 1%;
  width: 19%;
  margin-top: 1.5px;
}
.container.group form label {
  float: left;
  padding-right: 4%;
}
.container.group form .vereinssitzcontainer p label {
  font-weight: normal;
}
.col-md-10 form p input[type=text],
.col-md-10 form p textarea {
  width: 80%;
  height: 40px;
  /*vertical-align: middle;
  float: right;*/
}

.col-md-10 form p select {
  display: inline-block;
  width: 80%;
  max-width: none;
}
.container.group form .vereinssitzcontainer p:nth-child(2) {
  width: 31%;
}




.mvz tbody {
  height: 100%;
  width: 100%;
  display: block;
}
.header,
.footer {
  padding-right: 0;
  padding-left: 0;
}
#textfieldElement {
  width: 90%;
} 
ul.dropdown-menu {
  background-color: var(--colorA);
}






/*PORTRAIT STUFF FOR SCREEN OR MOBILE; LANDSCAPE IS HANDLED IN DEFAULTS */
@media (orientation: portrait) {
/* Main menu */
  nav {
    margin: 15px 0 5px;
    display: none;
  }

  .container,
    div[role="alertdialog"] {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  div[role="alertdialog"] {
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    background-color: #EEEEEE;
    padding: 20px;
  }
  .search {
    display: none;
    margin: 15px 0 0 0;
    position: relative;
  }
  button.okcancel {
    width: 39%;
  }
  .affiliationButtons, .rollen, .funktionen {
    margin-left: 0;
  }

  .container.group form label {
    text-align: left;
    margin-bottom: 0;
    width: 100%;
  }
  .col-md-10 form p input[type=text],
  .col-md-10 form p input[type=date],
  .col-md-10 form p input[type=checkbox],
  .col-md-10 form p textarea {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
  }
  .col-md-10 form p textarea {
    display: inline-block;
    resize: vertical;
    min-height: 40px;
    min-width: 100%;
  }
  .col-md-10 form p {
      display: block;
  }
  .col-md-10 form p select {
    min-width: 100%;
  }
  .container.group form .vereinssitzcontainer p:nth-child(2) {
    width: 100%;
  }
  .container.group form .vereinssitzcontainer p:nth-child(2) input {
    margin-bottom: 0;
  }
  .container.group form .vereinssitzcontainer p:nth-child(3) {
    width: 30%;
    float: left;
  }
  .container.group form .vereinssitzcontainer p:nth-child(3) label,
  .container.group form .vereinssitzcontainer p:nth-child(4) label {
    width: 50%;
  }
  .container.group form .vereinssitzcontainer p:nth-child(3) input {
    width: 88%;
  }
  .container.group form .vereinssitzcontainer p:nth-child(4) {
    width: 70%;
  }
  .container.group form .vereinssitzcontainer p:nth-child(4) input {
    width: 100%;
  }
  button.okcancel {
    width: 39%;
  }
  .affiliationButtons, .rollen, .funktionen {
    margin-left: 0;
  }
  .row.half {
      width: 100%;
      float: none;
      min-height: unset;
  }
  .row.secondhalf {
      position: fixed;
      bottom: 0;
      top: unset;
      width: 100%;
      height: 50%;
      background-color: white;
      z-index: 1000;
      margin: 0 0 0 -20px;
  }
  .row.half .mvz table {
      max-width: unset;
      /*max-width: 100%;*/
      height: 26vh;
      overflow-y: auto;
      display: block;
  }
  .row.half .mvz table#lokaleTabelle {
      height: 17vh;
  }
  #map.map {
      float: none;
      margin-top: 20px;
      margin-left: 10px;
  }
  #textfieldElement {
      float: none;
      margin-left: 10px;
  }
  .navbar-collapse.collapse {
    display: none !important;
  }
  .navbar-collapse.collapse[aria-expanded="true"] {
    display: block !important;
  }
  button.navbar-toggle {
     display: block !important;
  }

  ul.nav {
    display: grid !important;
  }
  .has-submenu .dropdown-menu {
    position: relative;
    top: 0;
    width: 100%;
    padding-left: 2em;
  }
  .has-submenu.active .dropdown-menu {
    display: block;
  }
}
option:disabled {
  color: lightgrey;
}
@media (min-width: 992px) {
    .col-md-11.mvz {
        max-width: 1106px;
    }
}
.mvz-emoji {
    float: left;
}
.mvz-emoji.legende-item {
  float: none;
}
button.mvz-emoji {
  float: right;
  margin-top: -3em;
}
.mvz-emoji.legende.popup.closed,
.mvz-emoji-popup.background.closed {
  display: none;
}
.mvz-emoji.legende.popup {
    display: block;
    position: fixed;
    width: 54%;
    height: 20em;
    background-color: white;
    border: 1px solid black;
    padding: 28px;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 20px;
}
.mvz-emoji-popup.background {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
}


table.funktionen td,
table.rollen td {
  border: none;
}
table.rollen td {
  padding: 1px 10px;
}
div#bereich-buttons[name="mailFunktionen_1"] {
  width: 80%;
  float: right;
  margin-top: -68px;
}
div#bereich-buttons[name="abUserRole_1"] {
  width: 80%;
  float: right;
}
div[name="abUserRole_0"] {
  width: 80%;
  float: right;
  margin-top: -50px;  
}