h1 {
	text-align: center;
	font-weight: bold;
}

img, embed, object, video {
	max-width: 100%;
	height: auto;
}

/* figure styles used by the Lions logo in the navbar */
figure {
	display: table;
	width: 50px;
	#width: -webkit-min-content;
	#width: -moz-min-content;
	#width: min-content;
}

.figcaption {
	font-size: x-small;
	display: table-caption;
	caption-side: bottom;
	text-align: center;
	color: #F0C415;
	background-color: #343a40;
}

/* when printing ensure display is full width */
@media print {
	.wl-col-print-12 {
		max-width: 100%;
		flex: 0 0 100%;
	}
}

/* anchor <a> and btn-outlin-info tags colour by bootstrap is poor contrasts so lets set to a better blue for contrast */
a {color: #3333FF;}

.btn-outline-info {
	color: #00424b;
	border-color: #00424b;
}

.btn-outline-info:hover {
    color: #fff;
    background-color: #00424b;
    border-color: #00424b;
}

/* more contrast adjustments */
.btn-link {
	color: #005EC2;
}
.btn-link:hover {
	color:#003B7A;
}

/* shrink images but do not stretch to fit and center image */
.card-img-wl, .card-img-top-wl {
	width: auto;
	max-width: 100%;
	display: block;
	margin-left: auto;
	margin-right: auto
}

/*****************/
/* remove all empty divs - important to remove empty boxes from pages */
div:empty {
	display: none !important;
}

/* add spaces between boxes */
.wl-flex-gap > div {
	margin: 6px; /* HERE WE ADD THE SPACE */
}

/* carousel styles */
.carousel-indicators-wl {
	position: static;
	margin-top: 0px
}

.carousel-indicators>-wl li {
	width: 100px
}

.carousel-indicators-wl li img {
	display: block;
	opacity: 0.5
}

.carousel-indicators-wl li.active img {
	opacity: 1
}

.carousel-indicators-wl li:hover img {
	opacity: 0.75
}

.carousel-inner-wl img {
	width: 100%;
	height: 100%
}

.carousel-item-wl img {
	width: auto;
	height: 25vh;
}

.carousel-caption-wl {
	position: relative;
	left: 0;
	top: 0;
	bottom: 2px;
	padding-top: unset;
	padding-bottom: unset;
}

@media only screen and (max-width: 576px) {
	.carousel-caption-wl {
		font-size: 1rem;
	}
}

/* style used by img in content editor but not defined so lets define */
.justifyright {
	margin: 10px; 
	float: right;
}

.justifyleft {
	margin: 10px; 
	float: left;
}

/* set the minumum tap size to make accessible */
.wl-min-tap-size {
  min-width: 48px;
  min-height: 48px;
}

/* format list used on donation given page */
.wl-dropdown-toggle-ellipsis::after {
	display: none;
}

.wl-dropdown-toggle-ellipsis::before {
	display: inline-block;
	padding: 0.5rem;
	font: var(--fa-font-solid);
	/*font: normal normal normal 900 Font Awesome 5 Free;*/
	content: "\f142";
	font-weight: 900;
	float: right;
}

.wl-list1 {
	padding: 0;
}
.wl-list1 li:before {
	content: '\f005';
	font: var(--fa-font-solid);
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	float: left;
	margin-left: 0em;
	margin-right: 0.5em;
	color: #0000FF;
}
.wl-list1 li:after {
	content: '\1F603';
	float: right;
	margin-left: 0.5em;
	margin-right: 0em;
}
.wl-list1 li, .wl-list2 li { 
	border-radius: 10px;
	margin-bottom: 2px; 
	list-style-type:none; 
	list-style-position:inside;
	border: 1px solid black;
	padding: 3px 3px 3px 3px;
}
.wl-list1 li:nth-child(even), .wl-list2 li:nth-child(even) { 
	background:white; 
}
.wl-list1 li:nth-child(odd), .wl-list2 li:nth-child(odd) { 
	background:lightgray; 
}

/* login styles */
.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
	}

input[type=text].form-control.valid + label:after,
input[type=text].form-control:focus.valid + label:after,
input[type=text].form-control.invalid + label:after,
input[type=text].form-control:focus.invalid + label:after,
input[type=password].form-control.valid + label:after,
input[type=password].form-control:focus.valid + label:after,
input[type=password].form-control.invalid + label:after,
input[type=password].form-control:focus.invalid + label:after {
  top: 3.75rem !important;
}

span.field-icon {
  position: relative;
  display: inline-block;
  cursor: pointer;
  right: -7rem;
  top: -2rem;
  color: $input-label-color;
  z-index: 2;
}

@media print{
 .print-bottom{
     position:fixed;
     bottom:0;
     }
}

	/* for past presidents */
.wlpresidents {
	    border: double;
}

	.wlpresidents dt::after {
		content: ":";
	}

	.wlpresidents dt {
		float: left;
		clear: left;
		width: 110px;
		font-weight: bold;
		color: green;
	}

	.wlpresidents dt {
		float: left;
		clear: left;
		width: 110px;
	}

	.wlpresidents dd {
		margin: 0 0 0 6em;
		padding: 0 0 0 0;
	}

	@media all and (min-width: 600px) {
		.wlpresidents {column-count: 2;}
	}

	@media all and (max-width: 599px) {
		.wlpresidents {column-count: 1;}
	}

.wlfont-size-unset {
	font-size: unset;	
}

    .navbar-dark .navbar-toggler-icon {
        background-image: none;
    }

    .navbar-dark .navbar-toggler-icon::after {
        content: "\f0c9";
        font-family: "Font Awesome 5 Free";
        font-size: 22px;
		font-weight: 900;
        color: white;
		padding-top: 5px;
    }

pre {border: none}

.wlcards, tbody {
  counter-reset: sectionCounter rowCounter;
}

.card, tbody tr {
  counter-increment: sectionCounter;
}

#countmembers::after { content: counter(sectionCounter) }

/* Bit cludgy but tinymce keeps seeting width and height
so need to clear these erroneous settings */
table[style].wltableresponsive {
	width: 100% !important;
	height: unset !important;
}
table.wltableresponsive>thead[style], 
table.wltableresponsive>tbody[style], table.wltableresponsive>thead>tr>th[style], 
table.wltableresponsive>tbody>tr>td[style], table.wltableresponsive>tbody>tr[style] {
	width: unset !important;
	height: unset !important;
}
/*
Max width before this PARTICULAR table gets nasty. This query will take effect for any screen smaller than 760px and also iPads specifically.
*/
@media
only screen 
and (max-width: 760px), (min-device-width: 768px) 
and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table.wltableresponsive, table.wltableresponsive>thead, 
	table.wltableresponsive>tbody, table.wltableresponsive>thead>tr>th, 
	table.wltableresponsive>tbody>tr>td, table.wltableresponsive>tbody>tr {
		display: block;
		width: unset !important;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	table.wltableresponsive>thead {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	table.wltableresponsive>tbody>tr {
	margin: 0 0 1rem 0;
	}

	table.wltableresponsive>tbody>tr:nth-child(odd) {
	background: #ccc;
	}
	table.wltableresponsive>thead>tr>th {
	padding: 0px;
	}
	table.wltableresponsive>tbody>tr
	{
	border-top: 3px solid black;
	border-bottom:3px solid black
	}

	table.wltableresponsive>tbody>tr>td {
	/* Behave  like a "row" */
	border-style:solid solid none solid;
	/*! border-bottom: 1px solid #b71717; */
	position: relative;
	padding-left: 30% !important;
	/*! border-collapse: unset; */
	/*! border-top: 3px aquamarine; */
	padding: 0px;
	/*! border-top-style: solid; */
	/*! border-top:  3px; */
	}

	table.wltableresponsive>tbody>tr>td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 0;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
	}

	/*
	Label the data
	You could also use a data-* attribute and content for this. That way "bloats" the HTML, this way means you need to keep HTML and CSS in sync. Lea Verou has a clever way to handle with text-shadow.
	*/
	table.wlfriends>tbody>tr>td:nth-of-type(1):before { content: "Friend"; }
	table.wlfriends>tbody>tr>td:nth-of-type(2):before { content: "Phone"; }
	table.wlfriends>tbody>tr>td:nth-of-type(3):before { content: "Info"; }

	table.wlmembers>tbody>tr>td:nth-of-type(1):before { content: "Role"; }
	table.wlmembers>tbody>tr>td:nth-of-type(2):before { content: "Name"; }
}

ol.festivaltandcs>li:not(:last-child) {
    margin-bottom: 15px;
}

.xwatermarkSold img { width: 100%; }
.xwatermarkSold { position: relative; }
.watermarkSold::after {
  content: "SOLD";
  position: absolute;
  bottom: 25%;
  right: 10%;
  opacity: 0.5;
  font-size: 4.5em;
  color: red;
  transform: rotate(-45deg);
}

.pdocrud-actions {
	font-size: x-large;
}

.lionsblue { color: #00338D}
.lionsyellow { color: #EBB700}
.lionsgray { color: #766A62}
.wlpeMessage { color: red}

@media print {
	.qmEditor .cboxElement {
		display: none !important;
	}
}

ul.sponsersandsupporters>li {margin-bottom: 1.5em;}

body { padding-top: 80px; }

#XXnavbarCollapse {
	overflow: hidden;
	overflow-y: auto;
	max-height: calc(100vh - 150px);
  }