#uid101 #header {
  z-index: 11;
}

#uid101 #body_inner {
  position: relative;
  z-index: auto;
}

.memorypage-details h1 {
  text-align: left;
}

.memorypage-details {
  text-align: left;
}

h4 {
  font-size: 14px;
  line-height: 16px;
  color: #000;
  
}

h4 small {
  display: block;
  margin-top: 10px;
}

.space-ce {
   height: 1px;
   display: block;
   margin-top: 170px;
   width: 100%;
}

/* Layout */

.row {
    display: flex;
    flex-wrap: wrap;  
    justify-content: space-between; 
    align-items: flex-start;
}

.col-md-8 {
    width: 74%;  
    padding: 0px;
    box-sizing: border-box;
}

.col-md-4 {
    width: 24%;  
    padding: 10px;
    background-color: #efece3; 
    border-radius: 8px;
    box-sizing: border-box;
    height: auto;
}


/* Navigation */

#navbar-responsive {
  margin-bottom: 50px;
  margin-top: -20px;
}


/* Stil für Forms */

form {
    float: left; 
    text-align: left;
}

.memorypage-details {
  width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* Stil für die DIV-Blöcke */

.intro .entry {
    border: 1px solid #ccc;
    padding: 15px 15px 5px;
    margin: 10px;
    text-align: center;
    width: 30%;
    min-height: 170px;
    display: inline-block;
    box-shadow: 0 0.5px 0 0 #ffffff inset, 0 1px 2px 0 #B3B3B3;
    position: relative;
    margin-bottom: 15px;
    box-sizing: border-box;

}

/* Stil für das Bild */

.entry .text {
  padding-left: 40px;
}

.intro .entry .media-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
}

.intro .entry .media-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.intro .entry.media-image {
  min-width: 117px;
}

.media-body, .media-left, .media-right {
  display: table-cell;
  vertical-align: top;
}

/* Stil für den Media Inhalt */

.media-body {
  padding: 20px 0px 0px 0px;
  text-align: left;
}

.media-body h3 {
  color: #bfb8a6;
}

.media-footer a.button {
  color: #bfb8a6;
  border: 2px solid #bfb8a6;
  display: block;
  text-align: center;
  font-size: 18px;
  line-height: 22px;
  padding: 3px 30px;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;

}

.media-footer a.button:hover {
  color: #fff;
  background: #bfb8a6;
  border: 2px solid #bfb8a6;
  text-decoration: none;
}

#startseite .text-right.more {
  display: none;
}

/* Detail Pages */

.memorypage-details {
  padding-bottom: 100px; 
}

.memorypage-details h1 {
  margin-top: 10px;
}

#startseite > .row > div, #kerzen .entry, #kondolenzen .entry, #landingpage .entry, #termine .entry {
  -webkit-box-shadow: 0 0.5px 0 0 #ffffff inset, 0 1px 2px 0 #B3B3B3;
  box-shadow: 0 0.5px 0 0 #ffffff inset, 0 1px 2px 0 #B3B3B3;
  background: #efece3;
}

.entry-wrapper {
  width: 100%;
  display: block;
}

#kerzen .entry,
#termine .entry,
#kondolenzen .entry {
  background: #efece3;
}

#termine .entry {
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

#termine .entry .list-inline {
  list-style: none;
}

.memorypage-details #kerzen .media, .media-body {
  padding: 10px;
  margin-top: 30px;
  margin-bottom: 20px;
}



#startseite .row {
   display: -webkit-flex;
   display: -ms-flex;
   display: flex;
   -webkit-flex-wrap: wrap;
   -ms-flex-wrap: wrap;
   flex-wrap: wrap;
}

#startseite .teaser {
  padding: 0px;
  padding-bottom: 0px;
  padding-bottom: 1rem;
  margin-bottom: 25px;
  background-color: #bfb8a6;
  display: -webkit-flex; 
  display: -ms-flexbox; 
  display: flex;

  width: 45%;
  padding: 0px;
  float: left;
  margin: 10px;
  border: 1px solid #aaa;
  box-sizing: border-box;

}

#startseite .col-md-6 {
  width: 45%;
  margin: 4% 0% 4% 0%;
  box-sizing: border-box;
  display: inline-block;
  padding: 0px;
  position: relative;
}

#startseite .col-md-6:nth-of-type(1) {
  padding-right: 0px;
}

#startseite .col-md-6:nth-of-type(odd) {
  margin-right: 1%;
}

#startseite .col-md-6:nth-of-type(even) {
 margin-left: 1%; 
}

#startseite > div > div {
  position: relative;
}

#startseite .h3 {
  font-size: 100%;
  font-weight: normal;
  padding: 0px 15px;
  margin-top: 0px;
  width: 100% !important;
  display:block;
  clear: both;
}

#startseite .col-lg-6.teaser {
  display: flex;       
  flex-wrap: wrap;     
  align-items: flex-start; 
}

#startseite .h3 {
  background: #bfb8a6;
  margin-bottom: 20px;
}
	
#startseite .h3 a {
  padding: 10px;
  font-size: 1.5rem;
  display: block;
  background-size: 40px;
  color: #ffffff;
  text-decoration: none;
}

#startseite .h3 a {
  background-position: 95% center;
  background-repeat: no-repeat;
  background-size: auto 65%;
  padding: 15px 25px 15px 0px;
  text-decoration: none;
}

#startseite .h3 a:hover {
  text-decoration: none;
}

#startseite .more {
  position: absolute;
  bottom: 0px;
  left: 0px;
  height: 40px;
  width: 100%;
  display: block;
  background: #bfb8a6;
}

#startseite .more a {
  padding: 12px 20px 5px 20px;
  text-align: right;
  display: block;
  color: #fff;
}

#stage .memorypage-details img {
  display: none;
}

#stage .memorypage-details #lightbox img {
  display: block;
}

#stage .memorypage-details #kerzen img,
#stage .memorypage-details #kondolenzen img {
  display: inline-block;
  padding: 30px;
  min-width: 150px;
  height: auto;
}

#stage .memorypage-details #kerzen .entry-creator img,
#stage .memorypage-details #kondolenzen .entry-creator img {
  display: none;
}

#stage .memorypage-details #anzeigen img,
#stage .memorypage-details #bilder img {
  display: inline-block;
  padding: 0px;
  width: 100%;
  height: auto;
}

#stage .memorypage-details #anzeigen .entry img,
#stage .memorypage-details #bilder .entry img {
  display: inline-block;
  padding: 0px;
  max-width: 100%;
  height: auto;
}

#stage .memorypage-details #info-social img {
  display: none;
}

.memorypage-details #startseite .row .col-md-6 img {
  display: block;
  max-width: 120px;
}

.memorypage-details #startseite .entry.media > .media-left.image {
  min-width: 117px;
}

.memorypage-details #startseite .media-body, .media-left, .media-right {
  display: table-cell;
  vertical-align: top;
}

.memorypage-details .media, .media-body {
  overflow: hidden;
  zoom: 1;
  padding: 0px 20px 20px 20px;
}

#startseite .entry {
  height: 220px;
  position: relative;
  overflow: hidden;
  padding-bottom: 15px;
  display: block;
}

#startseite .kondolenzen .media .media-body,
#startseite .kerzen .media .media-body {
  height: 220px;
  overflow: hidden;
}

#startseite .kondolenzen .media:after, 
#startseite .kerzen .media:after {
  background-image: -o-linear-gradient(bottom, white, rgba(255, 255, 255, 0));
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(white));
  background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0), white);
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), white);
}

#startseite .kondolenzen .media:after, 
#startseite .kerzen .media:after {
  content: '';
  pointer-events: none;
  position: absolute;
  height: 100px;
  width: 100%;
  bottom: 0;
  left: 0;
  visibility: visible;
  background-image: -moz-linear-gradient(top,rgba(255,255,255,0) 0,white 84%);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(255,255,255,0)),color-stop(84%,white));
  background-image: -webkit-linear-gradient(top,rgba(255,255,255,0) 0,white 84%);
  background-image: -o-linear-gradient(top,rgba(255,255,255,0) 0,white 84%);
  background-image: -ms-linear-gradient(top,rgba(255,255,255,0) 0,white 84%);
  background-image: linear-gradient(to bottom,rgba(255,255,255,0) 0,white 84%);
}

.memorypage-details .infos.media img {
  display: inline-block;
}

.memorypage-details .infos.media #profileimage .img-thumbnail {
  display: block;
  margin-left: -10px;
  margin-right: auto;
  max-height: 300px;
  max-width: 450px;
  padding-right: 10px;
}

.infos > .share-page {
    float: right;
}

.deceased-text > p {
  margin: 0;
}

#stage .memorypage-details #startseite .entry.media img {
  min-width: 117px;
  display: block;
}

/* Termine */

#termine-wrapper .entry {
  box-shadow: 0 0.5px 0 0 #ffffff inset, 0 1px 2px 0 #B3B3B3;
  display: block;
  margin-bottom: 15px;
  margin-top: 15px;
  padding: 0px 0px 10px 0px;
  background: #fff;
}

#termine-wrapper .entry ul.list-inline:first-child {
  background-color: #bfb8a6;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  color: #ffffff;
}

#termine-wrapper .entry ul li {
  display: inline-block;
}

#termine-wrapper .list-inline {
  padding-left: 0;
  list-style: none;
}

#termine-wrapper a,
#termine-wrapper a:hover {
  color: #706F6F;
  text-decoration: none;
}

.infobox {
  padding-bottom: 50px;
}

.col-md-4 .infobox {
  padding-bottom: 0px;
}

.infobox small {
  display: block;
}

small, .small {
  font-size: 80%;
  font-weight: 400;
}

/* Buttons */

.memorypage-details .btn,
.memorypage-details-inner .btn{
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
  background: #bfb8a6;
}

.memorypage-details .btn a,
.memorypage-details-inner .btn a {
  color: #fff;
  text-decoration: none;
}

.memorypage-details .btn-primary:hover, 
.memorypage-details .btn-primary:active,
.memorypage-details-inner .btn-primary:hover, 
.memorypage-details-inner .btn-primary:active{
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  outline: none;
  background-color: #a29981 !important;
  border-color: #a29981 !important;
}

.memorypage-details .tags,
.memorypage-details-inner .tags {
  display: none;
}

.memorypage-details .teaser-thumbnails img {
  padding-right: 5px;
}

/* Forms */

.memorypage-details-inner form {
  padding-bottom: 200px;
  margin-bottom: 300px;
  display: block;
}

.memorypage-details-inner form fieldset {
  border: 0;
  padding: 0px;
}

.memorypage-details-inner form fieldset label {
  width: 100%;
  display: block;
  font-weight: 700;
  color: #706f6f;
  margin-top: 25px;
  margin-bottom: .5rem;
}

.memorypage-details-inner form fieldset input[type="text"] {
  width: 70%;
  display: block;
}

.selectable-candle-image {
  max-width: 200px;
  display: inline-block;
}

#color-picker div.selectable-color-outer {
  width: 40px;
  cursor: pointer;
  vertical-align: bottom;
  padding-left: 0;
  border-bottom: 3px solid transparent;
  -moz-transition: border 500ms linear;
  -o-transition: border 500ms linear;
  -webkit-transition: border 500ms linear;
  transition: border 500ms linear;
  display: inline-block;
}

#selectable-color-blue div.selectable-color-inner {
  background-color: #51658e;
}

#selectable-color-yellow div.selectable-color-inner {
  background-color: #ecc069;
}

#selectable-color-green div.selectable-color-inner {
  background-color: #64a96c;
}

#selectable-color-lightblue div.selectable-color-inner {
  background-color: #7ab2c7;
}

#selectable-color-purple div.selectable-color-inner {
  background-color: #8f77a2;
}

#selectable-color-red div.selectable-color-inner {
  background-color: #a76262;
}

#color-picker div.selectable-color-inner {
  height: 30px;
  vertical-align: bottom;
  margin-bottom: 5px;
}

fieldset.kondolenz .selector {
  max-width: 200px;
  display: inline-block;
}

.memorypage-details .entry-creator img {
  display: none;
}

/* Fotobuch */

#startseite .erinnerungsbuch .more a {
  display: none;
}

/* AGBs */

#termsofuse,
#email-explanation,
#select-quotation-dialog {
  display: none;
}


/* SVG Icons */

#startseite .kerzen h3 a {
  background-image: url("../images/Icons/svg/gt_icon_kerzen_white.svg");
}

#startseite .kondolenzen h3 a {
  background-image: url("../images/Icons/svg/gt_icon_kondolenzen_white.svg");
}

#startseite .bilder h3 a {
  background-image: url("../images/Icons/svg/gt_icon_bilder_white.svg");
}

#startseite .termine h3 a {
  background-image: url("../images/Icons/svg/gt_icon_termine_white.svg");
}

#startseite .erinnerungsbuch h3 a {
  background-image: url("../images/Icons/svg/gt_icon_erinnerungsbuch_white.svg");
}

/* Gedenkportal Navigation */

#gp-nav__collapse {
  margin-bottom: 40px;
  margin-top: 10px;
  /*background: #bfb8a6;*/
  padding-bottom: 15px;
}

.navbar-nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  display: inline-block;
  
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.navbar-nav li {
  display: inline-block;
  border-right: 1px solid #fff;
}

.navbar-nav li:last-child {
  border-right: 0;
}

.navbar-nav li a {
  padding: 0px 15px;
}

.navbar-nav li a,
.navbar-nav li a:hover {
  color: #706F6F;
  text-decoration: none;
}

/* Social Media */

.share-page {
  display: none;
}

#stage .share-page a {
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
  -moz-hyphens: none;
  -o-hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  color: transparent; 
  width: 40px;
  height: 30px;
  display: inline-block;
  vertical-align: top; 
}

.memorypage-details .container .infobox .share-page {
  display: block;
}

.facebook-share,
.mail-share {
  display: inline-block;
}

.facebook-share a {
  background: url(../images/Icons/icon-facebook.png) top left no-repeat;
  background-size: 25px;
  min-height: 30px;
}

.mail-share a {
  background: url(../images/Icons/icon-mail.png) top 2px left no-repeat;
  background-size: 30px;
  min-height: 30px;
}

/* */

/*
.memorypage-details .col-lg-9 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.memorypage-details .col-lg-3 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding:10px 0%;
    margin-top: 30px;
    margin-bottom: 30px;
}

*/


@media (min-width: 768px) {
#startseite .col-md-6 {
    -ms-flex: 0 0 49%;
    flex: 0 0 49%;
    max-width: 49%;
  }
}



@media (max-width: 800px) {

#startseite .col-md-6 {
  width: 100%;
  display: block;
  margin-left: 0px;
  margin-right: 0px;
}  
  
}

@media (min-width: 576px) {
  .memorypage-details .container {
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .memorypage-details .container {
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .memorypage-details .container {
    max-width: 100%;
  }
}

@media (max-width: 500px) {

.media-body, .media-left, .media-right {
  display: block;
  width: 100%;
}  
  
.media-body {
  padding: 20px 0px;
}  
  
.memorypage-details .infos.media #profileimage .img-thumbnail {
  margin-left: 0px;
  max-width: 100%;
  padding-right: 00px;
}  
  
.col-lg-3,
.col-lg-9 {
  padding-right: 0px;
  padding-left: 0px;
}  
  
}

/* PageBrowser */

.intro .page-navigation a {
  margin-right: 5px;
  border: 1px solid #bfb8a6;
  padding: 5px 20px;
}

.intro .page-navigation .next {
  
}

/* Edit Actions */

.media-footer,
figcaption {
  display: none;
}

.entry .media-footer,
.entry figcaption {
  display: block;
}

#startseite .entry .media-footer {
  display: none;
}

.entry {
  position: relative;
}

#anzeigen .album .entry,
#bilder .album .entry {
  width: 400px;
  min-height: 200px;
  padding: 0px;
  position: relative;
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
}


.entry .media-footer, .album figure figcaption {
    position: absolute;
    padding: .5em;
    left: 0;
    height: 0;
    width: 99%;
    bottom: -60px;
    background-color: rgba(255,255,255,.6);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    text-align: right;
}

.entry:hover .media-footer, .album .entry:hover figcaption {
    bottom: 0;
    height: auto;
}

.glyphicons-edit {
  background: url(../images/Icons/icon-bearbeiten.png) center no-repeat;
  background-size: 26px;
  height: 40px;
  width: 40px;
  display: inline-block;
}

.glyphicons-circle-exclamation-mark {
  background: url(../images/Icons/icon-melden.png) center no-repeat;
  background-size: 30px;
  height: 40px;
  width: 40px;
  display: inline-block;
}

.glyphicons-circle-remove {
  background: url(../images/Icons/icon-loeschen.png) center no-repeat;
  background-size: 20px;
  height: 40px;
  width: 40px;
  display: inline-block;
}

.unmarkentry {
  display: none;
}

.media-heading {
  padding-top: 20px;
}

/* */
#stage #bilder .row .entry,
#stage #anzeigen .row .entry{
  margin: 0;
  margin-bottom: 0px;
  margin-bottom: 1rem;
}

#bilder .album .entry {
  width: 33%;
}

#anzeigen .album .entry {
  width: 45%;
  display: inline-block;
}

#bilder .album .entry figure,
#anzeigen .album .entry figure {
  padding: 0px;
  margin: 0px;
  width: 100%;
  height: auto;
  display: block;
}

#stage #anzeigen .row .album .entry {
  margin: 15px;
  margin: 15px 1.5%;
}

.album .entry {
  width: 27%;
  min-height: 150px;
  padding: 4px;
  position: relative;
  margin: 20px;
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
}


@media (min-width: 768px) {
  .album .entry {
    width: 200px;
    margin: 15px;
  }
  
  #anzeigen .album .entry img {
    width: 200px;
  }
}


#lightbox {
    display: none;
    position: fixed;
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    text-align: center;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    margin: 0; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
}

.lightbox .close, .lightbox .prev, .lightbox .next {
    color: white;
    font-size: 36px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    cursor: pointer;
    user-select: none;
    z-index: 99999; 
}

.lightbox .close {
    top: 5%;
    right: 5%;
}

.lightbox .prev {
    left: 5%;
}

.lightbox .next {
    right: 5%;
}

#stage .slideshow {


}

/* Style für die Thumbnails */
.album .img-thumbnail {
    cursor: pointer;
}

#uid101 #stage .memorypage-details #bilder img.img-thumbnail {
  width: 95%;
  display: block;
}

#stage .memorypage-details #bilder figcaption {
  max-width: 95%;
  display: block;
}

#stage .memorypage-details #bilder .row .album,
#stage .memorypage-details #anzeigen .row .album {
  width: 100%;
  display: block;
}


/* */

@media (max-width: 920px) {

#uid101 #stage_outer {
  background-image: none;
  background-repeat: no-repeat;
}

.memorypage-details {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.intro {
  width: 100%;
}

.col-md-8 {
    width: 100%; 
    order: 2; 
}

.col-md-4 {
    width: 100%;  
    order: 1;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.space-ce {
  margin-top: 80px;
}

#navbar-responsive {
  margin-bottom: 30px;
  margin-top: 0px;
}

.memorypage-details .media {
  padding: 0px 0px 20px 0px;
}

#startseite .entry {
  padding: 20px;
}

#affiliates h3 {
  display: none;
}

}

@media (max-width: 767px) {

.intro .entry {
  width: 100%;
  min-height: 170px;
}

}

#uid101 #main_navigation ul {
  padding-left: 60px;
}

.slideshow {
  width: auto;
}