/* base theme variables */
:root {
  /* theme base colors */
/*  --primary-color: #ca5421;*/
/*  --primary-color-highlight: #ee771c;*/
  --primary-color: #789f00;
/*  --primary-color-highlight: #73b900; */
  --primary-color-highlight: #82bb26;
  --active-color: #EDFF5E;
  --footer-color: #D5DECE;
  --light-bg-color: #fdf8e1;

  /* theme colors */
  --text-color: #212529;
  --heading-color: #408000;
  --link-color: var(--primary-color);
  --link-color-hover: var(--primary-color-highlight);
  --body-bg-color: #ffffff;
  --nav-color: #dddddd;
  --nav-bg-color: #1e3b00;
  --hamburger-menu-bg-color: #efe9ce;
  --main-bg-color: var(--body-bg-color);

  --footer-bg-color: var(--footer-color);
  --footer-link-color: #1e3b00;
  --footer-link-hover: var(--text-color);
  --footer-link-weight: bold;

  --control-bg-color: #fffdf2;
  --control-border: 1px solid var(--footer-color);
  --control-border-radius: .25rem;
  --control-border-highlight: 1px solid var(--primary-color);

  --button-text-color: white;
  --button-text-transform: none; /* uppercase | lowercase | none */
  --button-border-radius: 20px;
  --button-border: 1px solid var(--primary-color);
  --button-bg-color: var(--primary-color);
  --button-color-highlight: white;
  --button-bg-highlight: var(--primary-color-highlight);
  --button-border-highlight: 1px solid var(--primary-color-highlight);

  --text-font: 'Barlow', sans-serif;
  --header-font: 'Barlow Condensed', sans-serif;
  --button-font: 'Barlow Condensed', sans-serif;
}

/* base theme styles */
body {
  font-size: 1.2rem;
  color: var(--text-color);
  font-family: var(--text-font);
  background-color: var(--body-bg-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

*, *:focus, *:hover{
  outline: none;
}
button:focus:not(:focus-visible) {
  outline: none !important;
}

p {
  line-height: 1.5;
  margin: 0 0 1rem 0;
}
p a {
  text-decoration: none;
}
p a:hover, p a:active, p a:focus {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  font-family: var(--header-font);
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
h1 {
	font-size: 2.5rem;
  padding-top: 1rem; /* padding instead of margin prevents grey body background from showing above H1 in margin area */
  margin-bottom: 1rem;
  color: var(--heading-color);
}
h2 {
	font-size: 2rem;
  color: var(--heading-color);
}
h3 {
	font-size: 1.75rem;
  color: var(--heading-color);
}
h4 {
	font-size: 1.5rem;
  color: var(--heading-color);
}

a {
  color: var(--link-color);
}
a:focus, a:hover {
  color: var(--link-color-hover);
}

blockquote {
  font-style: italic;
  color: #868e96;
}

hr {
	background-color: var(--primary-color-highlight);
	opacity: 1;
	margin: 2em 0;
}

/* radio buttons */
input[type=radio] {
  display: none;
}
input[type=radio] + label::before {
  content: '';
  display: inline-block;
  background-color: var(--control-bg-color);
  border: var(--control-border);
  border-radius: 50%;
  margin: 0 0.65rem -.4rem 0;
  width: 2rem;
  height: 2rem;
}
input[type=radio]:checked + label::before {
  background-color: var(--primary-color);
}
.radio-label {
  display: block;
  margin-bottom: .75rem;
}

/* checkbox */
input[type=checkbox] {
  display: none;
}
input[type=checkbox] + label::before {
  content: '';
  display: inline-block;
  background-color: var(--control-bg-color);
  border: var(--control-border);
  border-radius: 25%;
  margin: 0 0.65rem -.4rem 0;
  width: 2rem;
  height: 2rem;
}
input[type=checkbox]:checked + label::before {
  background-color: var(--primary-color);
}
input.remove[type=checkbox]:checked + label::before {
  background-color: red;
}
.checkbox-label {
  display: block;
  margin-bottom: .75rem;
}

input, textarea, select {
  font-family: var(--button-font);
  font-size: 1.2rem;
  background-color: var(--control-bg-color);
  border: var(--control-border);
  border-radius: var(--control-border-radius);
  padding: .5rem 1rem;
  margin-bottom: .5rem;
}
input:hover, input:active, input:focus, textarea:hover, textarea:active, select:hover, select:active {
  border: var(--control-border-highlight);
}
input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 0.2rem var(--control-border-highlight) !important;
}

input[type=submit], input[type=button], button {
  font-family: var(--button-font);
  color: var(--button-text-color);
  background-color: var(--button-bg-color);
  text-transform: var(--button-text-transform);
  border: var(--button-border);
  border-radius: var(--button-border-radius);
  padding: .5rem 1rem;
  margin-right: .5rem;
  margin-bottom: .5rem;
}
input[type=submit]:hover, input[type=submit]:active, input[type=submit]:focus,
input[type=button]:hover, input[type=button]:active, input[type=button]:focus, 
button:hover, button:active, button:focus {
  color: var(--button-color-highlight);
  background-color: var(--button-bg-highlight);
  border: var(--button-border-highlight);
}
input[type=submit][disabled], input[type=button][disabled], button[disabled] {
  background-color: #ccc !important;
  border-color: #ccc !important;
}
.input-group input, .input-group textarea, .input-group select, .input-group button {
  margin-bottom: 0;
}

/* for highlighting text */
::selection { /* WebKit Browsers */
  background: #BFCE48;
}
::-moz-selection { /* Gecko Browsers */
  background: #BFCE48;
}


/* navigation */
nav { /* bootstrap override */
  background-color: var(--bg-color);
}
.navbar-nav { /* bootstrap override - top menu items */
  margin-top: 0px;
}

.nav-link {
  color: var(--primary-color);
}
.nav-link:hover, .nav-link:focus, .nav-link:active {
  color: black;
}

@media (max-width: 991.98px) {
  .sitemenu-collapse {
    position: fixed;
    top: 85px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1.5rem;
    padding-left: .5rem;
    margin: 1rem;
    border: 1px solid #ddd;
    border-radius: .25rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: var(--hamburger-menu-bg-color);
    z-index: 100;
  }
  .sitemenu-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
  .navbar-nav .open .dropdown-menu {
    padding-top: 0;
  }
  .navbar-nav .nav-link {
    padding-left: .5rem;
  }
  .navbar-nav .nav-item:hover {
    background-color: var(--primary-color);
    border-radius: .25rem;
  }
  .nav-link.dropdown-toggle.show { /* classes must all be present (no spaces) */
    color: white !important;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-bottom: 0;
  }
  .navbar-expand-lg .navbar-nav .nav-item .btn {
	 font-size:1.5rem;
	 padding-top: 0;
	 padding-bottom: .15rem;
	 padding-right: 1rem;
	 padding-left: 1rem;
	 white-space: nowrap;
  }
}

/* main content area */
main {
  background-color: var(--main-bg-color);
  padding-bottom: 2rem;
  flex: 1;
}
.breadcrumb {
  background-color: inherit;
  font-size: .9rem;
  margin: 0;
  padding: 0;
}
.breadcrumb > li + li:before {
  content: "\2192" !important; /* right arrow - other options at: https://unicode-table.com/en/sets/arrow-symbols/ */
}
.breadcrumb-item a {
  text-decoration: none;
  font-weight: bold;
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}


/* footer */
footer {
  padding: 2rem 2rem 5rem 2rem; /* extra padding on bottom to give room for buttons */
  background-color: var(--footer-bg-color);
}

footer a {
  text-decoration: none;
  color: var(--footer-link-color);
  font-weight: var(--footer-link-weight);
}
footer a:hover, footer a:active, footer a:focus {
  text-decoration: none;
  color: var(--footer-link-hover);
}

footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  font-size: .9rem;
  margin-bottom: 0;
  text-align: center;
}
footer .footer-links {
  text-align: center;
}
footer .footer-links a {
  font-size: 1rem;
  font-weight: var(--footer-link-weight);
  text-decoration: none;
  margin-right: 1rem;
  color: var(--footer-link-color);
}
footer .footer-links a:last {
  margin-right: 0;
}
footer .footer-links a:hover, footer .footer-links a:active, footer .footer-links a:focus {
/*  text-decoration: underline; */
  color: var(--footer-link-hover);
}


/* bootstrap overrides */
.form-control {
  font-size: 1.3rem;
  background-color: var(--control-bg-color);
}
.form-control:focus {
  border-color: var(--primary-color-highlight);
}
.form-select {
  font-size: 1.3rem;
  background-color: var(--control-bg-color);
}
.form-select:focus {
  border-color: var(--primary-color-highlight);
}
input[type=number][step].form-control {
  padding-right: 0;
}

.btn {
/*  font-size: .9rem; */
/*  font-weight: 800; */
  font-size: inherit;
  color: var(--button-text-color);
  padding: .5rem 1rem;
  text-transform: var(--button-text-transform);
  border-radius: var(--button-border-radius);
  font-family: var(--button-font);
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  margin-bottom: .5rem;
  margin-right: .5rem;
}
.btn[disabled] {
  background-color: #ccc !important;
  border-color: #ccc !important;
}
.btn:active, .btn:hover, .btn:focus {
  color: var(--button-color-highlight);
  text-decoration: none;
  background-color: var(--button-bg-highlight);
  border: var(--button-border-highlight);
}
.btn-short {
  padding: .2rem 1rem;
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
/* background-color: var(--primary-color-highlight) !important;*/
  brightness: 1.2;
  border-color: var(--primary-color-highlight) !important;
}
.btn-secondary {
  background-color: var(--primary-color-highlight) !important;
  border-color: var(--primary-color-highlight) !important;
}
.btn-secondary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  filter: brightness(1.2);
}

.btn-table-row {
  color: var(--primary-color) !important;
  background-color: white !important;
  border-color: var(--primary-color) !important;
  margin: 0;
}
.btn-table-row:hover, .btn-table-row:focus, .btn-table-row:active {
  color: white !important;
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}
.btn-clear.btn-clear {
  background-color: transparent;
  color: var(--primary-color);
}
.btn-lg, .btn-large {
  font-size: 1.5rem;
  padding: .75rem 2rem;
}
.btn-sm, .btn-small {
  font-size: .8rem;
  padding: .25rem .5rem;
}
.btn-shorter {
  font-size: 1.35rem;
  padding: 0 .25rem .1rem .25rem;
}
.btn-check:focus+.btn, .btn:focus {
  outline: 0;
  box-shadow: none !important;
}
.btn.paypal-btn {
	padding: 0 !important;
	margin: 0;
	border: 0;
}
.btn.paypal-btn:hover {
	filter: brightness(1.2);
}

.dropdown-item.active, .dropdown-item:active, .dropdown-item.focus, .dropdown-item:focus {
  color: #fff;
  text-decoration: none;
  background-color: var(--primary-color-highlight);
}
.dropdown-item.hover, .dropdown-item:hover {
  text-decoration: none;
  background-color: var(--primary-color-highlight);
  color: white;
}
.dropdown-menu[data-bs-popper] {
  margin: 0; /* make sure we don't lose the menu as mouse moves down to it */
  padding: 0 0;
  top: auto;
}
.dropdown-menu {
    background-color: var(--light-bg-color);
}

.table tr th {
  text-align: left;
  font-weight: normal;
  font-size: 1rem;
  padding-top: 3px;
  padding-bottom: 3px;
}

/*
.form-control:focus {
  border-color: #E2F7FB;
  box-shadow: 0 0 0 0.2rem rgba(226,247,251,.75)
}
*/

.accordion, .accordion-item, .accordion-button {
  background-color: var(--light-bg-color);
}

.accordion-media .accordion-body {
  padding-top: 0;
}
.accordion-button {
  font-size: inherit;
  border: none !important;
}
.accordion-button:not(.collapsed) {
  color: inherit;
  background-color: inherit;
  box-shadow: none;
}
.accordion-button:focus {
  border-color: inherit;
  box-shadow: none;
}
.accordion-button:not(.collapsed)::after { /* change chevron to black */
  filter: brightness(0);
}

.carousel-control-next {
    right: 0;
    margin: 0;
    border-radius: 0;
}
.carousel-control-prev {
    left: 0;
    margin: 0;
    border-radius: 0;
}
.carousel-inner {
  border-radius: .25rem;
}

.alert ul {
  margin-bottom: 0;
}

/* dataTables overrides */
.dataTables_wrapper .dataTables_info {
    padding-top: .25rem !important;
}
.dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_paginate {
  text-align: left !important;
  float: none;
}
.dataTables_wrapper .dataTables_paginate .pagination {
  margin-top: 2rem !important;
  margin-bottom: 0 !important;
  justify-content: left !important;
}

.dataTables_wrapper .dataTables_paginate .pagination .paginate_button {
  padding: 0px;
}
.dataTables_wrapper .dataTables_paginate .pagination .paginate_button.page-item .page-link {
  color: #777 !important;
  background-color: white;
  outline: none;
}
.dataTables_wrapper .dataTables_paginate .pagination .paginate_button.page-item .page-link:active, 
.dataTables_wrapper .dataTables_paginate .pagination .paginate_button.page-item .page-link:focus {
  outline: none;
  box-shadow: none;
}
.dataTables_wrapper .dataTables_paginate .pagination .paginate_button.page-item .page-link:hover {
  color: var(--text-color);
  background-color: var(--primary-color-highlight);
  border-color: var(--primary-color-highlight);
}
.dataTables_wrapper .dataTables_paginate .pagination .paginate_button.page-item.active .page-link {
  color: #fff !important;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.dataTables_wrapper .dataTables_paginate .pagination .paginate_button.page-item.disabled .page-link {
  background-color: #dee2e6;
}
table.dataTable tbody tr:hover {
  background-color: var(--primary-color-highlight);
  border-color: var(--primary-color-highlight);
  cursor: pointer;
}
table.dataTable thead th {
  font-weight: normal;
  font-size: .9rem;
  border-bottom: 1px solid #ccc;
  background-color: var(--primary-color);
  color: white;
}
table.dataTable tbody td {
  padding: .5rem;
  vertical-align: middle;
  line-height: 110%;
  border-bottom: 1px solid #eee;
}
table.dataTable tbody tr.focusedRow {
  background-color: var(--active-color);
}
table.dataTable tbody tr.focusedRow td a:hover {
  color: black;
}
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control {
  padding-left: 35px;
}
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
  height: .85em;
  width: .85em;
  background-color: var(--primary-color);
}
.dataTable a:hover {
  color: white;
}
.dataTable tr:hover button:hover {
  border-color: white;
}
table.dataTable.stripe tbody>tr.odd.selected, table.dataTable.stripe tbody>tr.odd>.selected, table.dataTable.display tbody>tr.odd.selected, table.dataTable.display tbody>tr.odd>.selected {
  background-color: var(--primary-color);
}
table.dataTable.stripe tbody>tr.even.selected, table.dataTable.stripe tbody>tr.even>.selected, table.dataTable.display tbody>tr.even.selected, table.dataTable.display tbody>tr.even>.selected {
  background-color: var(--primary-color);
}
table.dataTable.display tbody>tr.odd.selected>.sorting_1, table.dataTable.order-column.stripe tbody>tr.odd.selected>.sorting_1 {
  background-color: var(--primary-color);
}
table.dataTable.display tbody>tr.selected>.sorting_1, table.dataTable.order-column.hover tbody>tr.selected>.sorting_1 {
  background-color: var(--primary-color);
}
table.dataTable.display tbody>tr.selected:hover>.sorting_1, table.dataTable.order-column.hover tbody>tr.selected:hover>.sorting_1 {
  background-color: var(--primary-color);
}
table.dataTable tbody tr.selected a, table.dataTable tbody th.selected a, table.dataTable tbody td.selected a {
  color: white;
}
table.dataTable>tbody>tr.child span.dtr-title {
  font-weight: normal;
  font-size: 70%;
}


/* sortabe overrides */
.sortable-handle { cursor: pointer; }


/* tinymce overrides */
.tox-tinymce {
  border-radius: .25rem !important;
  font-family: inherit;
}
.tox {
  border-radius: .25rem;
  font-family: inherit;
  margin-bottom: 1rem;
}
.mce-menubtn.mce-fixed-width span { width: 50px !important; }
.mce-container, .mce-container-body { border-radius: .25rem !important; }
.mce-edit-area iframe { border-radius: .25rem !important; }


/* select2 overrides */
.select2-container--default .select2-selection--single {
  /* change proportions/styles to match bootstrap5 */
  border: 1px solid #ccc;
  height: auto;
  font-family: var(--button-font);
  font-size: 1.3rem;
  padding: .5rem .25rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  /* changes display to bootstrap5 chevron-down icon */
  display: inline-block;
  content: "";
  vertical-align: -.125em;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-size: 16px 12px;
  border: 0;
  margin-left: -18px;
  margin-top: 3px;
  height: 1rem;
  width: 1rem;
}
.select2-container .select2-search--inline .select2-search__field {
  box-sizing: border-box;
  border: none;
  font-size: 100%;
  margin-top: 5px;
  margin-left: 5px;
  padding: 0;
  max-width: 100%;
  resize: none;
  height: 18px;
  vertical-align: bottom;
  font-family: var(--button-font);
}
.select2-results__option {
  padding: .25rem .5rem .25rem .75rem;
}
.select2-results__option--selectable {
  font-family: var(--button-font);
  font-size: 1.3rem;
}


/* customer pick-image Bootstrap modal dialog */
.pick-image-container-div {
  float: left;
  width: 202px;
  height: 245px;
  margin: 1rem;
  cursor: pointer;
  border: 1px solid #eee;
  border-radius: .25rem;
}
.pick-image-div {
  width: 200px;
  height: 200px;
  display: table-cell;
  text-align: center;
  vertical-align: bottom;
  border-radius: .25rem;
}
.pick-image-div img {
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
}
.pick-image-div:hover {
  background-color: #eee;
  opacity: 0.5;
}


/* site specific styles */

.form-checker {
  display: none;
}

.ul-msg-div {
  margin-bottom: 0;
}

.ul-li-p {
  margin: 0;
  padding-left: 2rem;
}

.badge-span {
  display: inline-block;
  padding: .5rem 1rem;
  font-size: 75%;
/*  font-weight: 700; */
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
  background-color: white;
  border: 1px solid #eee;
  cursor:pointer;
  margin-right: .25rem;
  margin-bottom: .35rem;
}
.badge-span:hover, .badge-span:focus {
  border: 1px solid #aaa;
}
.badge-selected {
  background-color: var(--primary-color-highlight);
  color: white;
}
.badge-selected:hover, .badge-selected:focus {
  border: 1px solid #aaa;
}


.form-tags {
  min-height: 2.81rem;
  margin-bottom: 1rem;
}
.form-tags .form-control {
  min-height: 2.81rem;
}
.form-tags-select {
  float: left;
  margin-left: -.4rem;
  margin-right: 1rem;
  margin-top: 0;
  padding-left: .5rem;
  padding-right: .5rem;
  font-size: 1.2rem;
}
.form-tags-sample {
  display: none;
  padding: .05rem .4rem;
}
.form-tags-options {
  display: none;
  margin-top: .5rem;
}
.form-tags-tags {
  display: inline-block;
}
.form-tags-tags .badge-span {
  font-family: var(--button-font);
}
.form-tags-new {
  font-size: 75%;
  padding: .25rem .75rem;
  transform: lower;
}
.form-tags-add {
  font-size: 75%;
  margin-top: .35rem;
  padding: .25rem .75rem;
}


.h1-subtitle {
  font-size: 1.5rem;
}
.h2-subtitle {
  font-size: 1.5rem;
}
.h2-subtitle2 {
  font-size: 1rem;
  color: #aaa;
  margin: -.5rem 0 2rem 1rem;
}
h1 button, h2 button, h3 button, h4 button, h5 button, h6 button {
  font-size: 1.1rem;
}

.section-heading {
  margin-top: 2rem;
}

.subtext {
  font-size: 85%;
  font-style: italic;
}

.tinytext {
  font-size: 60%;
}
.tinytext2 {
  font-size: 60%;
  font-style: italic;
  color: #aaa;
}

.field-label {
  font-size: 1rem;
  color: #666;
}

.deemphasize {
  font-size: 85%;
  color: #999;
}

.inactive-span {
  color: #999;
}

.deleted-span {
  color: red;
}

figure {
  display: table;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 1em;
}
figure.align-left {
  float: left;
}
figure.align-right {
  float: right;
}
figure figcaption {
  display: block;
  margin-top: 0.25rem;
  text-align: center;
}

img {
  max-width: 100%;
  border-radius: 20px;
}

.img-full-size {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
}

.banner-div {
	position:relative;
	width: 100vw;
	max-width: none;
	height: auto;
	left: calc(-50vw + 50%);
	overflow: hidden;
}

.background-image-div {
  position: relative; 
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover; 
  overflow: hidden;
}

.with-background-blur {
  display:inline-block;
}

.with-background-blur:before {
  content: "";
  background: inherit;
  background-size: cover;
  background-position: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  filter: blur(10px);
}

.section-div {
  margin-top: 2rem;
  border-top: 1px solid var(--primary-color-highlight);
  padding-top: 2rem;
}

/* video divs/styles */
.youtube-video-div {
  position: relative; 
  width: 100%; 
  height: 0; 
  padding-bottom: 56.25%; 
  margin-bottom: 1rem;
}
.youtube-video-div iframe {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%;
  height: 100%;
}

.vplayer {
    margin-bottom: 30px;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
}
.vplayer img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vplayer .plybtn {
    box-shadow: 0 0 30px rgba( 0, 0, 0, 0.6);
    width: 90px;
    height: 60px;
    background-color: #333;
    z-index: 1;
    opacity: 0.8;
    border-radius: 6px;
}
.vplayer .plybtn:before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26.0px;
    border-color: transparent transparent transparent #fff;
}
.vplayer img,
.vplayer .plybtn {
    cursor: pointer;
}
.vplayer img,
.vplayer iframe,
.vplayer .plybtn,
.vplayer .plybtn:before {
    position: absolute;
}
.vplayer .plybtn,
.vplayer .plybtn:before {
    top: 50%;
    left: 50%;
    transform: translate3d( -50%, -50%, 0);
}
.vplayer iframe {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.list-group, .list-group-item {
  background-color: var(--light-bg-color);
}
.list-group-item:hover {
  background-color: var(--primary-color-highlight);
  /* maybe try #ffb780 ? */
  color: white;
}

/* list table */
.list-table {
  border-collapse: collapse;
  width:100%;
  background-color: var(--light-bg-color);
}
.list-table thead {
  position: -webkit-sticky; /* this is for all Safari (Desktop & iOS), not for Chrome */
  position: sticky;
  top: 0;
  z-index: 1; /* any positive value, layer order is global */
  background: #fff;
}
.list-table tr {
  border-bottom: 1px solid #f3f1f5;
}
.list-table tr:hover {
  background-color: var(--primary-color-highlight);
}
.list-table tr:hover button:hover {
  border-color: white;
}
.list-table tr.active {
  background-color: var(--active-color);
}
.list-table th {
  padding: .25rem .5rem;
  background-color: var(--primary-color);
  color: white;
  font-size: .8rem;
  font-weight: normal;
  text-transform: lowercase;
  text-align: left;
  vertical-align: bottom;
  border-bottom: 1px solid #f3f1f5;
}
.list-table th:first-of-type {
  border-top-left-radius: .25rem;
}
.list-table th:last-of-type {
  border-top-right-radius: .25rem;
}
.list-table td {
  padding: .25rem .5rem;
  vertical-align: top;
}
.list-table td a:hover {
  color: white;
}


/* edit table */
.edit-table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}
.edit-table tr {
}
.edit-table th {
  padding: .55rem 1rem .4rem;
  font-size: .9rem;
  text-transform: lowercase;
  color: #888;
  font-weight: normal;
  text-align: right;
  border-top: 0;
  vertical-align: top;
  white-space: nowrap;
}
.edit-table td {
  font-size: 1.2rem;
  padding: .25rem .5rem;
  border: 0;
  vertical-align: top;
}

.hoverbrighten img:hover,
img.hoverbrighten:hover {
	filter: brightness(1.2);
}


nav.menu {
	display: flex;
	gap: 1rem;
	align-items: center;
	position:relative;
	width: 100vw;
	max-width: none;
	height: auto;
	left: calc(-50vw + 50%);
	padding-left: 1em;
	padding-top: 5px;
	padding-bottom: 5px;
	color: var(--nav-color);
	background-color: var(--nav-bg-color);
}
nav.menu p {
	margin: 0;
}
nav.menu .fmf-logo {
	background: #dddddd;
	border-radius: 20px;
}
nav.menu .mobile {
	display: none;
}
nav.menu > ul {
	display: flex;
	align-items: center;
	list-style-type: none;
	padding: 0;
	line-height: 1.2;
	gap: .5rem;
	margin-top: 0;
	margin-bottom: 0;
}
nav.menu > ul li {
	cursor: pointer;
}
nav.menu > ul > li {
	padding: 3px;
	border: thin solid transparent;
	border-radius: 5px;
	white-space: nowrap;
}
nav.menu > ul > li.dropdown:not(:has(.btn)) {
	border: thin solid var(--primary-color);
}
nav.menu a:not(.btn) {
	text-decoration: none;
	color: inherit;
	display: inline-block;
	height: 100%;
	width: 100%;
}
nav.menu > ul .btn {
	margin: 0;
	font-size: 1.5rem;
	white-space: nowrap;
	padding: 0 1rem 0.15rem 1rem;
}

nav.menu > ul  ul {
	display: none;
}
nav.menu > ul > li:hover:not(.dropdown):not(:has(.btn)) {
	background-color: var(--primary-color);
	color: white;
}
/*
nav.menu > ul li:has(ul)::after {
	content: "▼";
	font-size: 13px;
	position: relative;
	top: -3px;
}
*/
nav.menu > ul li.dropdown:not(:has(.btn)) {
	background-color: var(--primary-color);
	color: white;
}
nav.menu > ul li ul {
	position: absolute;
	flex-direction: column;
	list-style-type: none;
	padding: 0;
	background-color: var(--light-bg-color);
	border: thin solid var(--primary-color);
	border-radius: 5px;
	margin-left: -4px;
}
nav.menu > ul li.dropdown  ul {
	display: flex;
	z-index: 11;
}
@media (min-width: 991.98px) {
	nav.menu > ul li:hover  ul {
		display: flex;
		z-index: 11;
	}
}
nav.menu > ul  ul li {
	line-height: 38px;
	padding: 0 1rem;
	color: #212529;
	white-space: nowrap;
}
nav.menu > ul  ul li:hover {
	background-color: var(--primary-color-highlight);
	color: white;
}
@media (max-width: 991.98px) {
	nav.menu {
		position: relative;
		align-items: start;
	}
	nav.menu .mobile {
		display: block;
		position: absolute;
		right: 1em;
	}
	nav.menu .mobile .btn {
		margin-right: 0;
	}
	nav.menu > ul {
		display: none;
		-visibility: hidden;
		width: 300px;
		margin-top: 50px;
		margin-left: auto;
		line-height: 38px;
		flex-direction: column;
		align-items: start;
		gap: 0;
		background-color: var(--nav-bg-color);
		border: 5px solid var(--primary-color);
		border-radius: 20px;
	}
	nav.menu > ul.show-mobile {
		display: flex;
		position: absolute;
		z-index: 1;
		right: 5px;
		padding-bottom: 7px;
	}
	nav.menu > ul > li {
		padding: 0;
		padding-left: 1rem;
		width: 100%;
	}
	nav.menu > ul > li:after {
		display: none;
	}
	nav.menu > ul > li.dropdown {
		border: thin solid var(--primary-color);
		border-radius: 5px;
	}
	nav.menu > ul ul {
		margin-left: -1rem !important;
		position: static !important;
		border: none !important;
		border-radius: 5px;
	}
}

.outer_message_div {
	position:relative;
}

.outer_message_div .message_closer {
	position: absolute;
	top: 0px;
	right: 9px;
}

.outer_message_div:has(div:empty) .message_closer {
	display:none;
}

