﻿/* adds the required asterisk */
.requiredLabel:before {
  content: " *";
  color: red;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
html {
  position: relative;
  min-height: 100%;
}

.bodyDefaultTheme {
  background-image: url("/images/background-right.jpg");
  background-repeat: repeat;
}

.bodyDarkTheme {
  background-image: none;
}

.main-min-height {
  min-height: 1000px;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
}

.noUnderline {
  text-decoration: none;
}

.link_cursor {
  cursor: pointer;
}

.picWidths {
  width: 100%;
  max-width: max-content;
}

tr.table-info {
  background-color: #cff4fc !important;
}

/* A special fix class to reset striping */
tr.table-striped-fix:nth-child(odd) {
  background-color: var(--bs-table-bg);
}

tr.table-striped-fix:nth-child(even) {
  background-color: var(--bs-table-accent-bg);
}

/* ============= Theme options ============= */
.darkTheme {
  background-color: rgb(47, 79, 79);
}

.darkThemeSecondary {
  background-color: #212529;
}

.defaultTheme {
  background-color: rgb(255, 228, 196);
}

.defaultHeaderTheme {
  background-color: rgb(95, 158, 160);
}

.defaultTextBlue {
  color: rgb(95, 158, 160);
}

.accordianTheme {
  background-color: burlywood;
}

.defaultVideoBorder {
  border: 5px solid rgb(95, 158, 160);
  border-radius: 5px;
}

.darkVideoBorder {
  border: 5px solid #212529;
  border-radius: 5px;
}

/* Loading Spinner */
.overlay {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  opacity: 0.5;
  transform: translate(-50%, -50%);
}

.loading-spinner-size {
  width: 3rem;
  height: 3rem;
}

/* ------------------ add text on horizontal line ------------------ */
.separator {
  display: flex;
  align-items: center;
  text-align: center;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #000;
}

.separator:not(:empty)::before {
  margin-right: 0.25em;
}

.separator:not(:empty)::after {
  margin-left: 0.25em;
}

/* ------------------ ------------------ ------------------ ------------------ */
.addDropDownScroll {
  overflow-y: auto;
  max-height: calc(100vh - 280px);
}

/*Dropdown arrow color*/
.dropdown-toggle::after {
  color: white;
}

/*Dropdown arrow color*/
.blackCaret::after {
  color: black;
}

.blackCaretDarkTheme::after {
  color: rgba(255, 255, 255, 0.55);
}

.UpperNavAnchorDarkTheme {
  color: rgba(255, 255, 255, 0.55) !important;
}

.UpperNavAnchorDefaultTheme {
  color: rgba(0, 0, 0, 0.55) !important;
}

/* Add/edit Calendar events */
.floatButtonsAtBottom {
  position: sticky;
  top: 5rem;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
  background-color: rgb(255, 228, 196);
  box-shadow: gray 0px 0px 20px 5px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.floatButtonsAtBottomDarkTheme {
  position: sticky;
  top: 5rem;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
  background-color: rgb(47, 79, 79);
  box-shadow: gray 0px 0px 20px 5px;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* CAT Music Photos */
.carouselContainer { /* div surrounding carousel */
  background-color: rgb(95, 158, 160);
  border-radius: 10px;
  height: 414px;
  overflow: hidden; /* this keeps the image from overflowing */
  padding-top: 7px;
  padding-bottom: 7px;
}

.carouselContainerDarkTheme { /* div surrounding carousel */
  background-color: #212529;
  border-radius: 10px;
  height: 414px;
  overflow: hidden; /* this keeps the image from overflowing */
  padding-top: 7px;
  padding-bottom: 7px;
}

.carouselDivUnderContainer {
  height: 414px; /* this makes it so the indicators stay in place - in relation to the size of this */
}

.carouselLandscape { /* carousel-inner */
  overflow: hidden;
  margin: auto;
  align-content: center;
  height: 400px;
}

.carouselPortrait { /* carousel-inner */
  overflow: hidden;
  margin: auto;
}

.carousel-itemLandscape { /* carousel-item img */
  max-height: 400px;
  max-width: 98%;
  overflow: hidden;
  margin: auto;
}

.carousel-itemPortrait { /* carousel-item img */
  max-height: 400px;
  max-width: 98%;
  overflow: hidden;
  margin: auto;
}

.RoundedPhoto {
  width: 150px;
  height: auto;
  border-radius: 50%;
  box-shadow: 5px 10px 25px grey;
}

/* Used for adding disabled numbers as placeholders in forms */
select:invalid,
select option[value=""] {
  color: #999999;
}

.UserSettingsNav {
  padding: 4px 16px 4px 16px;
  margin-bottom: 1rem;
}

#UserSettingSaveBtn {
  width: 80%;
  margin: auto;
}

.DeleteAnnouncement {
  color: #f00;
  border: 0px #000 solid;
  background-color: rgb(255, 228, 196);
}

.DeleteAnnouncementDarkTheme {
  color: #f00;
  border: 0px #000 solid;
  background-color: rgb(47, 79, 79);
}

.tableHeaderDarkTheme {
  border-color: rgb(47, 79, 79);
  background-color: #212529;
}

.tableHeaderDefaultTheme {
  border-color: rgb(255, 228, 196);
  background-color: rgb(95, 158, 160) !important;
}

/* removes bullets from validation summary */
.validation-summary-errors ul {
  padding-left: 0;
  list-style: none;
}

/* casues all headers to freeze in place */
tr.tableHeaderBKGRD th {
  border-right-width: thick;
  position: sticky;
  top: 0;
  border-bottom: 1px solid;
  color: white;
}

.heightRestrictionTables {
  /* Used on Song Library, Schedule, Release Notes, and Index Tables */
  width: calc(100vw - 50px);
  max-height: 600px;
  overflow: scroll;
  overflow-y: auto;
}

/* Prevents seeing things slightly above the frozen header pane */
table {
  border-collapse: separate;
  border-spacing: 0;
  border-color: transparent;
}

td {
  background-color: transparent !important;
  border-color: transparent !important;
}

tr.setMaxCellHeight td div {
  max-height: 215px;
  max-width: 250px;
  overflow: hidden;
}

.sundayRow {
  border: solid;
  border-color: rgb(95, 158, 160);
}

.songDetailTable {
  /* Used on Song Details Table */
  overflow: scroll;
  overflow-y: auto;
  max-height: 300px;
}

.membersTable {
  /* Used on Members Table */
  width: calc(100vw - 50px);
  height: calc(100vh - 200px);
  overflow-x: auto;
  overflow-y: auto;
}

.MainImageBG {
  background: rgb(255, 255, 255);
  background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 11%, rgb(95, 158, 160) 100%);
  overflow: hidden;
  border: transparent;
  box-shadow: 5px 10px 35px grey;
  height: 100%;
  width: 100%;
  border-radius: 15px 15px 15px 15px;
}

.imageShadow {
  box-shadow: 5px 10px 25px grey;
}

.blueRoundOutline picWidths {
  border: solid;
  border-radius: 10px;
  border-color: rgb(95, 158, 160);
}

ul.no-bullets {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Used to allow \n character in Tooltips */
.tooltip-inner {
  white-space: pre-wrap;
}
