/* t80 media services website CSS release 5.1.5 (c) t80 media services */

@charset "UTF-8";
@import url("https://use.typekit.net/nfx6zet.css");

body {
	font-family: 'jaf-cupidus-text', Helvetica, Arial; 
	font-weight: 500;
	font-style: normal;
	background: linear-gradient(oldlace, white); 
	font-size: calc(14px + 2 * ((100vw - 320px) / 690));
}

article {
	max-width: 920px;
	margin: 8px auto;
	background: #ffffff;
	border-radius: 18px;
}

nav {
	background: none; 
	display: block; 
	padding-top: 10px; 
	padding-left: 10px; 
	width: 98%;
}

nav a {
	text-decoration: none;
	color: black;
}

nav a:hover {
	background: bisque;
	color: black;
}

.mobonly { display: none; }

p { 
	color: black; 
	margin-top: 0; 
	margin-left: 3px; 
	line-height: 1.5em;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

a { color: saddlebrown; text-decoration: none; }
a:hover { background: #DEB887; color: black; }

h3 { 
	color: black; 
	margin-top: 0; 
	line-height: 1.5em;
}

.maingrid {
	display: grid;
	grid-template-columns: 3fr 1fr; 
	justify-content: space-evenly;
	grid-gap: 6px 6px; 
}
.a { grid-column: 1; max-width: 690px; margin-left: 10px; }
.b { grid-column: 2; max-width: 230px; }
.c { grid-column: 1 / span 2; }

.b { text-align: center; }

.titlegfx {
	max-width: 970px; 
	margin-top: 3px;
}
.titlegfx-noborder {
	border: 0;
	max-width: 970px; 
	margin-top: 3px;
}
.subtitle {
	border: 0;
	max-width: 670px; 	
}

.dettab { width: 100%; }
.dettab table { border: 1px solid black; }
.dettab th { background: tan; color: black; padding: 5px; border: 1px solid black; }
.dettab td { border: 1px solid black; padding: 5px; background: cornsilk; line-height: 1.5em; }
.tablel { width: 33%; }
.tabler { width: 67%; }

.video {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
}

.simg {
	width: 680px;
	max-width: 680px;
	border-radius: 18px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.simg2 {
	width: 656px;
	max-width: 656px;
	border-radius: 18px;
}

.imgcap {
	font-size: calc(12px + 2 * ((100vw - 320px) / 680));
	margin: auto; text-align: center;
	margin-bottom: 8px;
}

.image {
  opacity: 1;
  display: block;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
  max-width: 300px;
  border-radius: 18px;
  background: white;
  width: 100%;
}

.middle {
  transition: .2s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.ss {
  position: relative;
  width: 100%;
}

.ss:hover .image {
  opacity: 0.6;
}

.ss:hover .middle {
  opacity: 1;
}

.text {
  background-color: floralwhite; 
  color: black;
  font-weight: bold;
  font-size: calc(15px + 2 * ((100vw - 320px) / 690));
  padding: 12px 24px;
  border-radius: 18px;
  line-height: 1.2em;
}

.text a { text-decoration: none; color: black; }
.text a:hover { background: none; }

.pending { background: white; opacity: 0.3; height: auto; max-width: 300px; border-radius: 18px; display: block; width: 100%; }

.church {
	background: bisque; 
	border-radius: 18px;
	padding: 10px 8px 0 8px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.castle {
	background: tan; 
	border-radius: 18px;
	padding: 10px 8px 0 8px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.variants {
	background: sandybrown; 
	border-radius: 18px;
	padding: 10px 8px 0 8px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.skey { 
	border: 1px solid black; 
	padding: 1px 2px 1px 2px; 
	border-radius: 3px; 
	background: beige; 
	font-weight: bold;
	font-family: Courier, Arial;
}

.disclaim {
	grid-column: 1 / span 3;
}
.disclaim p { text-align: left; }

iframe:has(+p) {
   padding-bottom: 15px;
}

iframe:has(+img) {
   padding-bottom: 15px;
}

.nextprev {
  background-color: none; 
  border: 1px solid silver;
  color: black;
  padding: 5px;
  line-height: 1.2em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition-duration: 0.3s;
  width: 85%;
  margin-bottom: 2px;
}
.nextprev:hover {
  background-color: orange;
  color: black;
}
.lastnextp {
	margin-bottom: 7px;	
}
.ptitle { 
	font-size: 140%;
}
.flickr-link {
  background-color: saddlebrown; 
  border: 3px solid saddlebrown;
  border-radius: 15px;
  padding: 8px;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition-duration: 0.3s;
}
.flickr-link:hover {
 	background-color: white;
	color: brown;
	background: white;
	border: 3px solid brown;
}
@media screen and (max-width: 480px) {
	.image, .pending, .timage { max-width: 350px; margin-left: 10px; }
	.a, .c { width: 100%; }
    p { font-size: 1.05em; }
    .simg, .simg2 { max-width: 340px; border-radius: 12px; }
    .titlegfx, .titlegfx-noborder, .subtitle { width: 100%; padding-left: 10px; } 
    .b { display: none; }
    .video { width: 350px; height: 190px; }
    .mobonly { display: initial; color: black; text-decoration: none; }
    .nimg { display: none; }
	.text {
  		font-size: calc(16px + 2 * ((100vw - 320px) / 690));
	}
}

@media print {
	.a, .c { width: 100%; }
	.b, .video { display: none; }	
	nav, footer { display: none; }	
	a { color: black; }
}

/* status top bar */

.bottombit {
	position: absolute;
	top: 8px; right: 2px; 
	padding-left: 8px;
	padding-right: 8px;
    background: oldlace;
    border-radius: 0 0 18px 18px;
}
.bottombit p {
	padding-top: 7px;
	color: black;
	line-height: 0.7em;
	text-wrap: nowrap;
}
.bottombit b {
	color: brown;
}

@media screen and (max-width: 480px) {
  .bottombit, .biglogo { display: none; }
}

/* Inner page tabs */
/* Style the tab */
.tab {
  overflow: hidden;
}

/* buttons that are used to open the tab content */
.tab button {
  background-color: antiquewhite;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 10px;
  margin-right: 5px;
  transition: 0.3s;
  border-radius: 15px 15px 0 0;
  font-family: 'jaf-cupidus-text', Helvetica, Arial; 
  font-size: calc(13px + 2 * ((100vw - 320px) / 690));
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: darkkhaki;
}

/* active/current tablink class */
.tab button.active {
  background-color: khaki;
  border: none;
  color: black;  
  font-weight: bold;
}

/* tab content */
.tabcontent {
  max-width: 1200px;
  display: none;
  padding: 6px 12px;
  border-radius: 0 18px 18px 18px;
  border-style: none;
  background: khaki;
}
@media screen and (max-width: 480px) {
	.tab button {
		padding: 3px 3px;
		margin-left: 1px;
		border-radius: 0;
		font-size: calc(12px + 2 * ((100vw - 320px) / 690));
	}
	.tabcontent {
		border: none;
		background: none;
	}
}