/*
* Copyright 2025 Adam Lawson
* https://www.edapb.org
* css/obituary.css
*/

.great-vibes {font-family: "Great Vibes", cursive!important;}

.align-left {text-align: left;}
.align-right {text-align: right;}

.obituary-container {
  position: relative;
  width: 100%;
  height: 50vh;
  margin-top: 44px;
  text-align: center;
  color: white;
}

@media screen and (max-width: 1328px) {
  .obituary-container {
    height: 60vh;
  }
  .obituary-container h1 {
    font-size: 1.5em;
  }
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; /* Ensures content is above the overlay */
}

.overlay-photo {
  width: 25vh;
  height: 25vh;
  border-radius: 5%;
  border: 2px solid white;
  display: block;
  margin: 0 auto 20px;
}

.content p {
  font-family: 'san_francisco_textlight', sans-serif;
  margin: 0;
}

.content h1 {
  font-family: 'san_francisco_textlight', sans-serif;
  font-size: 1.8em!important;
  margin: 0;
}

.obituary-content {
  font-family: 'san_francisco_textlight', sans-serif;
  background-color: #ffffff;
  color: #000000;
}

.obituary-content p {
  width: 80%;
  margin-left: 10vw;
  padding: 10px;
}

@media screen and (max-width: 1328px) {
  .obituary-content p {
    width: 90%;
    margin-left: 2vw;
    padding: 5px;
  }
}

/* Obituary Preview */

.obit-preview-title {
  color: grey;
  text-align: center;
  font-size: 15px;
  padding-top: 20px!important;
}

.obit-preview-button {
  font-family: 'san_francisco_textlight', sans-serif;
  position: absolute;
  bottom: 5px;;
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: #ffffff;
  font-size: 16px;
  background-color: #202040;
  border-radius: 18px;
  text-align: center;
  cursor: pointer;
  width: 80%;
}

.obit-preview-button:hover {
  background-color: #404080;
}


.obit_span_1_of_3 {
  width: 32%;
  padding-left: 10px;
  padding-right: 10px;
  border: 1px solid #ccc;
}
.obit_span_1_of_3 img {
  width: 12vw;
  height: 200px;
  border-radius: 8px;
}
.obit_span_1_of_3 p {
  padding: 2px;
}

.frame-container {
  display: flex;
  height: 200px;
  border: 0;
}

.frame-one, {
  flex: auto;
  width: 10%;
  padding: 20px;
  text-align: center;
}

.frame-two {
  position: relative;
  flex: auto;
  width: 90%;
  padding: 20px;
}

.frame-two h5 {
  text-align: center;
  font-size: 18px;
}

.frame-one {
  background-color: #fff;;
}

.frame-two {
  background-color: #fff;
}

@media screen and (max-width: 768px) {
  .obit_span_1_of_3 {
    width: 99%;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .obit_span_1_of_3 img {
    width: 40vw;
  }
  .frame-two h5 {
    font-size: 16px;
  }
}

.obit-years {
  font-family: 'san_francisco_textlight', sans-serif;
  font-size: 18px;
}

.obit-years a {
  text-decoration: none;
  color: #0071E3;
}

.obit-years a:hover {
  text-decoration: underline;
}

.outline-black {
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/*  SECTIONS  */
.section {
	clear: both;
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
  overflow: hidden;
}

/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: .5%;
}
.edapb-col {
  display: block;
  float:left;
  margin: .5%;
}

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

/*  GRID OF TWO  */
.span_2_of_2 {
	width: 100%;
}

.span_1_of_2 {
	width: 49%;
}
.span_1_of_2 img {
  width: 100%;
  padding-left: 4px;
  padding-right: 2px;
}
.span_1_of_2 p {
  padding-top: 10px;
  padding-bottom: 10px;
}
@media screen and (max-width: 600px) {
  .social_1_of_2 img {
    width: 100%;
  }
}

.span_right {
  padding-left: 15px;
}

.span-ssl-logo {
	width: 49.2%;
}
.span-ssl-logo p {
  padding-top: 20px;
  padding-bottom: 20px;
}

.span_1_of_3 {
	width: 32%;
  padding-left: 10px;
  padding-right: 10px;
}
.span_1_of_3 img {
  width: 100%;
  height: 200px;
  border-radius: 24px;
}
.span_1_of_3 p {
  padding: 2px;
}
.span_1_of_3 iframe {
  width: 100%;
  height: 235px;
  border-radius: 24px;
}

.span_1_of_4 {
	width: 23.8%;
  padding-left: 8px;
  padding-right: 8px;
}
.span_1_of_4 img {
  width: 100%;
  height: 200px;
  border-radius: 24px;
}
.span_1_of_4 p {
  padding: 2px;
}
.span_1_of_4 iframe {
  width: 100%;
  height: 235px;
  border-radius: 24px;
}

.social_1_of_3 {
  width: 32%;
  padding-left: 9.3vw;
  padding-right: 9.3vw;
}
.social_1_of_3 img {
  width: 100%;
  height: 200px;
  border-radius: 24px;
}
.social_1_of_3 p {
  padding: 2px;
}
.social_1_of_3 iframe {
  width: 100%;
  height: 235px;
  border-radius: 24px;
}
.social_1_of_3 img:first-child {
  padding-right: 20px;
  padding-left: 0px;
}
.social_1_of_3 img:last-child {
  padding-left: 20px;
  padding-right: 0px;
}
@media screen and (max-width: 600px) {
  .social_1_of_3 img {
    width: 80%;
  }
}

.span-union-meeting {
  width: 32%;
  padding-left: 10px;
  padding-right: 10px;
}
.span-union-meeting img {
  width: 100%;
}

.list-unstyled {
  padding-left: 40px;
  list-style: none;
  text-align: left;
  line-height: 200%;
}

.list-unstyled a {
  color: #000000;
  font-weight: 700;
  font-size: 14px;
}

.list-unstyled a:hover {
  text-decoration: underline;
}

.obituary-list-style-none {
  list-style: none;
}

.obituary-list-style-none li {
  padding: 5px;
}

.spanyear {
  color: #000000;
  font-size: 24px;
  padding: 10px;
  text-align: center;
  position: absolute;
  left: 10%;
  right: 10%;
}

.spanyear:before, .spanyear:after {
    position: absolute;
    top: 51%;
    overflow: hidden;
    width: 50%;
    height: 1px;
    content: '\a0';
    background-color: #000;
}
.spanyear:before {
    margin-left: -50%;
    text-align: right;
}
