:root {
  --bs-black: #000;
  --bs-grayDarker: #222;
  --bs-grayDark: #333;
  --bs-gray: #555;
  --bs-grayLight: #999;
  --bs-grayLighter: #ccc;
  --bs-grayLightest: #eee;
  --bs-white: #fff;
  --bs-blue: #049cdb;
  --bs-blueDark: #0064cd;
  --bs-green: #46a546;
  --bs-red: #9d261d;
  --bs-yellow: #ffc40d;
  --bs-orange: #f89406;
  --bs-pink: #c3325f;
  --bs-purple: #7a43b6;

  --bs-tabBorder: #ddd;

  --bs-dropdownMenuHighlightColor: #0081c2;
  --bs-dropdownMenuHighlightGradienet: linear-gradient(to bottom,#08c,#0077b3);

  --creek-pageBackground: #fbfbfb;
  --creek-linkColor: #00b3c5;

  --creek-text: var(--bs-black);
  --creek-offsetText: var(--bs-gray);
  --creek-textShadow: rgba(0, 0, 0, 0.1);

  --creek-background: var(--bs-white);
  --creek-lightOffsetBackground: var(--bs-grayLightest);
  --creek-offsetBackground: var(--bs-grayLighter);
  --creek-offsetBorder: var(--bs-grayLighter);
  --creek-highlightBorder: var(--bs-gray);
  --creek-subtleControlBackground: #fafafa;
  --creek-rowHighlightBackground: #ffa;
  --creek-rowHighlightText: var(--creek-text);

  --creek-selectBackgroundStart: var(--bs-white);
  --creek-selectBackgroundEnd: var(--bs-grayLightest);
  --creek-selectDropDownBackground: rgba(229, 230, 229, .9);

  --creek-inputBackground: var(--bs-white);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bs-blue: #33B5E5;
    --bs-blueDark: #0099CC;
    --bs-green: #669900;
    --bs-red: #CC0000;
    --bs-yellow: #ECBB13;
    --bs-orange: #FF8800;
    --bs-pink: #FF4444;
    --bs-purple: #9933CC;

    --bs-tabBorder: #444;

    --bs-dropdownMenuHighlightColor: #2ab2e4;
    --bs-dropdownMenuHighlightGradienet: linear-gradient(to bottom, #33b5e5, #1dade2);

    --creek-pageBackground: #10191c;

    --creek-text: var(--bs-white);
    --creek-textShadow: rgba(255, 255, 255, 0.25);
    --creek-offsetText: var(--bs-grayLight);

    --creek-background: #060606;
    --creek-lightOffsetBackground: var(--bs-grayDarker);
    --creek-offsetBackground: var(--bs-grayDarker);
    --creek-offsetBorder: var(--bs-grayDark);
    --creek-highlightBorder: var(--bs-gray);
    --creek-subtleControlBackground: var(--bs-grayDarker);
    --creek-rowHighlightBackground: var(--bs-yellow);
    --creek-rowHighlightText: var(--bs-black);

    --creek-selectBackgroundStart: var(--bs-grayDark);
    --creek-selectBackgroundEnd: var(--bs-grayDarker);
    --creek-selectDropDownBackground: rgba(85, 85, 85, 0.9);
    --creek-inputBackground: var(--creek-offsetBackground);
  }
}

/* FontAwesome extension; apply FontAwesome font to input placeholders  */
.fa-placeholder::placeholder {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: .2em;
}

/* Core HTML */
body {
  padding-top: 100px;
  padding-bottom: 20px;
  margin-bottom: 40px;
  background: var(--creek-pageBackground);
}

a {
  color: var(--creek-linkColor);
}

a:hover,
a:focus {
  color: inherit;
  text-decoration: underline;
}

a.enlargedTarget {
  display: inline-block;
  padding: 0 10px;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
  margin-top: 0;
}

h3 {
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 8px;
}
h4 {
  font-size: 18px;
}

details summary {
  cursor: zoom-in;
}

details[open] summary {
  margin-bottom: 10px;
  cursor: zoom-out;
}

dt {
  margin: 10px 0;
}
dd {
  margin: 10px 0 10px 20px;
}

/* Labels inside block level elements should revert to be inline */
h1 label,
h2 label,
h3 label,
h4 label,
h5 label,
h6 label {
  display: inline;
  font: inherit;
  color: inherit;
}

/* MARK: Layout */

/* Responsive Design Utilities */
@media (min-width: 1100px) {
  .rsp-hide-xl {
    display: none;
  }
}

@media (max-width: 1100px) {
  .rsp-show-xl {
    display: none;
  }
}

@media (min-width: 900px) {
  .rsp-show-mid {
    display: none;
  }

  .rsp-hide-wide {
    display: none;
  }
}

@media (max-width: 900px) {
  .rsp-hide-mid {
    display: none;
  }
}

@media (max-width: 500px) {
  .rsp-show-narrow {
    display: none;
  }
}

@media (max-width: 500px) {
  .rsp-hide-narrow {
    display: none;
  }
}

.u-fullWidth {
  box-sizing: border-box;
  width: 100%;
}

.u-noWrap {
  white-space: nowrap;
}

.u-hiddenVisually {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

/* a max-width region */
.content-narrow {
  margin: 0 auto;
  max-width: 20em;
}

.content-midi {
  margin: 0 auto;
  max-width: 36em;
}

.row-flex {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

div.media-audio-file ul {
  border:2px solid var(--creek-offsetBorder);
  background: var(--creek-background);
}

.pagination {
  text-align: center;
}

/* MARK: Forms */

fieldset {
  margin: 0 0 20px;
}

legend {
  font-size: 14px;
  font-weight: bold;
}

/* Max width on visible inputs */
input[type="text"], input[type="password"], input[type="datetime"],
input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"],
input[type="week"], input[type="number"], input[type="email"], input[type="url"],
input[type="search"], input[type="tel"], input[type="color"],
.uneditable-input {
  max-width: calc(100% - 14px);
}

/* Fix unclear Bootstrap focus styles for radio/checkboxes */
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: var(--bs-blue) solid 2px;
  box-shadow: 0 0 8px rgba(82,168,236,0.6);
}

/* Enhance bootstrap invalid form focus: */
input[type="text"]:invalid,
input:invalid,
textarea:invalid,
select:invalid {
  border-color: var(--bs-red);
}

input:focus:invalid:focus,
textarea:focus:invalid:focus,
select:focus:invalid:focus {
  border-color: var(--bs-red);
  box-shadow: 0 0 1px 3px var(--bs-red);
}

/* XL Font Input */
input.input-title {
  font-size: 24px;
  font-weight: bold;
  padding: 15px 9px;
  width: 100%;
}

input.input-bigText {
  font-size: 18px;
  height: 48px;
}

/* Technical font style */
input.input-technical {
  font-family: "American Typewriter", Courier, monospace;
}

input.input-fullWidth,
textarea.input-fullWidth {
  width: 100%;
}

textarea {
  height: 150px;
  padding: 4px 6px;
  box-sizing: border-box;
  max-width: 100%;
}

textarea.textarea-editor {
  padding: 20px 25px; /* Match indentation of rich text input styles */
}

textarea.textarea-short {
  height: 80px;
}

textarea.textarea-medium {
  height: 350px;
}

textarea.textarea-long {
  height: 600px;
}

/* Conjoined value + button control */
.value-button {
  display: inline-flex;
  margin-bottom: 10px;
  white-space: nowrap;
  vertical-align: middle;
  width: 100%;
}

.value-button .add-on {
  flex-grow: 10;
  display: inline-block;
  height: 20px;
  min-width: 16px;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  text-align: center;
  text-shadow: 0 1px 0 var(--creek-textShadow);
  background-color: var(--creek-lightOffsetBackground);
  border: 1px solid var(--creek-offsetBorder);
  margin-right: -1px;
  border-radius: 4px 0 0 4px;
}

.value-button .btn {
  flex-grow: 0;
  border-radius: 0 4px 4px 0;
  margin-bottom: 0;
  padding: 4px 12px;
  line-height: 20px;
  vertical-align: top;
}

/* To support .input-prepend.input-append with multiple inputs strung together
 * where you want .add-on + input + .add-on + input  with the final input rounded */
.input-append input.input-end {
  border-radius: 0 4px 4px 0;
}

/* input-append-below — For seamless attachment of controls under an input */
.input-append-below input,
.input-append-below input[type],
.input-append-below select,
.input-append-below textarea,
.input-append-below table,
.input-append-below .well,
.input-append-below .alert {
  margin-bottom: 0;
  border-bottom-left-radius: 0;
}

.input-append-below .add-on input,
.input-append-below .add-on input[type],
.input-append-below .add-on button,
.input-append-below .add-on select,
.input-append-below .add-on textarea,
.input-append-below .add-on .btn,
.input-append-below .add-on .add-on {
  margin-top: -1px;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.input-append-below .add-on input:last-child,
.input-append-below .add-on input[type]:last-child,
.input-append-below .add-on button:last-child,
.input-append-below .add-on select:last-child,
.input-append-below .add-on textarea:last-child,
.input-append-below .add-on .btn:last-child {
  border-bottom-right-radius: 4px;
}

/* Legacy submit container */
footer .submit_box {
  margin: 20px 0;
  padding: 20px 0;
  border-top: 1px solid var(--creek-offsetBorder);
  width: 100%;
}

.submit_box {
  padding: 0 20px;
}
.row .submit_box {
  margin-left: 40px;
}

.form-field-section {
  margin: 20px 0;
}

.checkbox.disabled,
.radio.disabled {
  cursor: not-allowed;
}

.control-spaced {
  margin-top: 15px;
}

.checkbox-aligned {
  padding-left: 20px;
}

/** Save State */
.saved-highlight {
  transition: border-color .5s, box-shadow .5s;
}

form.saved .saved-highlight {
  border-color: var(--bs-yellow);
  box-shadow: 0 0 8px var(--bs-yellow);
}

/*
120121
fix for bootstrap's bug with ajaxupload and mozilla:
text-select I-bar on hover on Upload button.
*/
#upload_images_box input {width:auto;}

/* Plain Button Style */

.btn-plain {
  background: var(--creek-subtleControlBackground);
  box-shadow: none;
  border-color: var(--creek-offsetBorder);
  color: var(--creek-offsetText);
}

.btn-plain:hover,
.btn-plain:focus,
.btn-plain:active,
.btn-plain.active,
.btn-plain.disabled,
.btn-plain[disabled] {
  color: var(--creek-text);
  border-color: var(--creek-highlightBorder);
  background: var(--creek-subtleControlBackground);
  box-shadow: none;
}

.btn-plain .caret {
  border-top-color: var(--creek-text);
  border-bottom-color: var(--creek-text);
}

@keyframes btnPulse-pulse {
  from {
    filter: hue-rotate(0) contrast(100%) saturate(80%);
  }
  to {
    filter: hue-rotate(-20deg) contrast(200%) saturate(100%);
  }
}

.btn-pulse {
  animation: btnPulse-pulse 2s ease-in-out infinite alternate;
}

.btn-menu-item {
  width: 100%;
  text-align: left;
}

.btn-menu-item:hover,
.btn-menu-item:focus {
  text-decoration: none;
}

/** Modal */

/* A mock-modal container for display modal content inline in a page */
.modal-inline {
  background-color: var(--creek-background);
  border: 1px solid var(--creek-offsetBorder);
  border-radius: 6px;
  background-clip: padding-box;
  margin: 20px 0;
}

.modal-inline .modal-body {
  max-height: none;
  overflow-y: visible;
}


/* Special inline modal where the modal-body is combined with .tab-content, with the tab <nav> above
   Makes modal transparent, recreates the border on the footer for consistency */
.modal-inline-tabs {
  background-color: transparent;
  border: 0;
}

.modal-inline-tabs .modal-body.tab-content {
  border-radius: 0;
}

.modal-inline-tabs .modal-footer {
  border: 1px solid var(--bs-tabBorder);
  border-width: 0 1px 1px;
  border-radius: 0 0 6px 6px;
}

/* Size modals dynamically with modern viewport CSS */
.modal-body {
  max-height: calc(80vh - 250px);
}

.modal-footer .pagination {
  margin: 0;
}

/* Dropdown bugfix for text alignment: */
.dropdown-menu {
  text-align: left;
}

.dropright .dropdown-menu {
  top: 0;
  left: 100%;
}

/* Support buttons and forms in bootstrap dropdown menus */

.dropdown-menu > li > form > button {
  -moz-appearance: none;
  -webkit-appearance: none;


  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 3px 20px;
  margin: 0;
  border: none;
  border-radius: 0 !important;
  width: 100%;

  clear: both;
  font-weight: 400;
  line-height: 20px;
  background: none;
  color: var(--creek-text);
  white-space: nowrap;
  text-align: left;
}

.dropdown-menu > li > form {
  margin: 0;
  padding: 0;
  display: inline;
}

.dropdown-menu > li > label {
  display: inline-block;
  margin: 0;
  margin-left: 20px;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-right: 20px;
  font-weight: 400;
  line-height: 20px;
  background: none;
  color: var(--creek-text);
  white-space: nowrap;
  text-align: left;
}

.dropdown-menu > li > form > button:focus,
.dropdown-menu > li > form > button:hover {
  color: #fff;
  text-decoration: none;
  background-color: var(--bs-dropdownMenuHighlightColor);
  background-image: var(--bs-dropdownMenuHighlightGradienet);
  background-repeat: repeat-x;
}

/* Support 'danger' link style for ...red links */
.link-important:link,
.link-important:visited,
.link-important:hover,
.link-important:focus {
  color: var(--bs-red);
}

/** Label enhancements */
.label-large {
  font-size: 21px;
  line-height: 30px;
}

/**
 * Badge enhancements
 */
.badge {
  text-decoration: none; /* Allow use of ABBR.badge without visual clutter */
}

/* Shrink to fit small text */
.badge-mini {
  font-size: inherit;
  line-height: inherit;
  padding: 0.1em 0.5em;
}

.badge-light {
  background-color: var(--creek-lightOffsetBackground);
  color: var(--creek-text);
  text-shadow: 0 -1px 0 var(--creek-textShadow);
}

/* Form layout */

form {
  margin: 0;
}

.form-section {
  margin: 10px 0 30px;
}

.form-controls {
  margin: 10px 0;
}

/* Help Block line length */
.help-block {
  max-width: 40em;
  color: var(--creek-offsetText);
}

/* Custom bootstrap/macOS style <select> */

select {
  display: inline-block;
  font-size: 14px;
  color: var(--creek-text);
  text-shadow: 0 1px 1px var(--creek-textShadow);
  line-height: 1;

  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--creek-offsetBorder);
  border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
  border-radius: 4px;
  transition: border linear .2s, box-shadow linear .2s;

  /* Space for arrow */
  padding-right: 25px;
  text-overflow: ellipsis;
  overflow-x: hidden;

  /* Custom arrow */
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--creek-selectBackgroundStart);
  background-image:
    url('data:image/svg+xml;charset=UTF-8,%3Csvg%20viewBox%3D%220%200%20243%20330%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22%23515151%22%20fill-rule%3D%22nonzero%22%3E%3Cpath%20d%3D%22M238.512%20197.502a14.607%2014.607%200%2000-10.803-4.5H15.29c-4.155%200-7.728%201.5-10.72%204.5A14.686%2014.686%200%20000%20208.17c0%204.166%201.496%207.75%204.488%2010.75L110.863%20325.5c2.991%203%206.482%204.5%2010.637%204.5s7.646-1.5%2010.637-4.5l106.375-106.665c2.909-2.916%204.488-6.5%204.488-10.666%200-4.167-1.579-7.667-4.57-10.667h.082zM4.488%20132.498a14.607%2014.607%200%200010.803%204.5H227.71c4.155%200%207.728-1.5%2010.72-4.5A14.686%2014.686%200%2000243%20121.83c0-4.166-1.496-7.75-4.488-10.75L132.137%204.5c-2.991-3-6.482-4.5-10.637-4.5s-7.646%201.5-10.637%204.5L4.488%20111.165C1.579%20114.08%200%20117.665%200%20121.83c0%204.167%201.579%207.667%204.57%2010.667h-.082z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E'),
    linear-gradient(to bottom, var(--creek-selectBackgroundStart), var(--creek-selectBackgroundEnd));
  background-repeat: no-repeat, repeat-x;
  background-position: right .7em top 50%, 0 0;
  background-size: .5em auto, 100%;
}

select::-ms-expand {
  display: none;
}

select:hover:not(:disabled),
select:focus:not(:disabled) {
  background-color: var(--creek-selectBackgroundEnd);
  background-position: right .7em top 50%, 0 -15px;
  text-decoration: none;
}

select:disabled {
  background-image: none, linear-gradient(to bottom, var(--creek-selectBackgroundStart), var(--creek-selectBackgroundStartEnd)); /* hide the dropdown arrows */
}

select:focus {
  border-color: rgba(82,168,236,0.8);
  box-shadow:
    inset 0 1px 1px rgba(0,0,0,0.075),
    0 0 8px rgba(82,168,236,0.6);
  color: var(--creek-text);
  outline: none;
}

select optgroup,
select option {
  color: var(--creek-text); /* Ensure not turned red by error */
  font-weight: normal;
}

/* Customized bootstrap styles for select2.js, which we generally use for multi-selection */

.select2-container .select2-choice {
  font-size: 14px;
  color: var(--creek-text);
  text-shadow: 0 1px 1px var(--creek-textShadow);
  line-height: 1;

  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--creek-offsetBorder);
  border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
  border-radius: 4px;
  transition: border linear .2s, box-shadow linear .2s;

  /* Space for arrow */
  padding-right: 25px;
  text-overflow: ellipsis;
  overflow-x: hidden;

  /* Custom arrow */
  background-color: var(--creek-selectBackgroundStart);
  background-image:
    url('data:image/svg+xml;charset=UTF-8,%3Csvg%20viewBox%3D%220%200%20243%20330%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22%23515151%22%20fill-rule%3D%22nonzero%22%3E%3Cpath%20d%3D%22M238.512%20197.502a14.607%2014.607%200%2000-10.803-4.5H15.29c-4.155%200-7.728%201.5-10.72%204.5A14.686%2014.686%200%20000%20208.17c0%204.166%201.496%207.75%204.488%2010.75L110.863%20325.5c2.991%203%206.482%204.5%2010.637%204.5s7.646-1.5%2010.637-4.5l106.375-106.665c2.909-2.916%204.488-6.5%204.488-10.666%200-4.167-1.579-7.667-4.57-10.667h.082zM4.488%20132.498a14.607%2014.607%200%200010.803%204.5H227.71c4.155%200%207.728-1.5%2010.72-4.5A14.686%2014.686%200%2000243%20121.83c0-4.166-1.496-7.75-4.488-10.75L132.137%204.5c-2.991-3-6.482-4.5-10.637-4.5s-7.646%201.5-10.637%204.5L4.488%20111.165C1.579%20114.08%200%20117.665%200%20121.83c0%204.167%201.579%207.667%204.57%2010.667h-.082z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E'),
    linear-gradient(to bottom, var(--creek-selectBackgroundStart), var(--creek-selectBackgroundEnd));
  background-repeat: no-repeat, repeat-x;
  background-position: right .7em top 50%, 0 0;
  background-size: .5em auto, 100%;
}

/* Hide this as the arrow is rendered using the SVG in the choice container */
.select2-container .select2-choice .select2-arrow {
  display: none !important;
}

.select2-container .select2-choice > .select2-chosen {
  line-height: 22px;
}

.select2-container-multi .select2-choices {
  font-size: 14px;
  color: var(--creek-text);
  text-shadow: 0 1px 1px var(--creek-textShadow);
  line-height: 1;

  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--creek-offsetBorder);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  border-radius: 4px;
  transition: border linear .2s, box-shadow linear .2s;

  /* Space for arrow */
  padding: 4px 25px 0px 2px;

  /* Custom arrow */
  background-color: var(--creek-inputBackground);
  background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20viewBox%3D%220%200%20243%20330%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22%23515151%22%20fill-rule%3D%22nonzero%22%3E%3Cpath%20d%3D%22M238.512%20197.502a14.607%2014.607%200%2000-10.803-4.5H15.29c-4.155%200-7.728%201.5-10.72%204.5A14.686%2014.686%200%20000%20208.17c0%204.166%201.496%207.75%204.488%2010.75L110.863%20325.5c2.991%203%206.482%204.5%2010.637%204.5s7.646-1.5%2010.637-4.5l106.375-106.665c2.909-2.916%204.488-6.5%204.488-10.666%200-4.167-1.579-7.667-4.57-10.667h.082zM4.488%20132.498a14.607%2014.607%200%200010.803%204.5H227.71c4.155%200%207.728-1.5%2010.72-4.5A14.686%2014.686%200%2000243%20121.83c0-4.166-1.496-7.75-4.488-10.75L132.137%204.5c-2.991-3-6.482-4.5-10.637-4.5s-7.646%201.5-10.637%204.5L4.488%20111.165C1.579%20114.08%200%20117.665%200%20121.83c0%204.167%201.579%207.667%204.57%2010.667h-.082z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right .7em top 50%;
  background-size: .5em auto;
}

.select2-container-multi.select2-container-active .select2-choices,
.select2-container-multi.select2-dropdown-open .select2-choices {
  border-color: var(--bs-blueDark);
  box-shadow:
    inset 0 1px 1px rgba(0,0,0,0.075),
    0 0 8px rgba(82,168,236,0.6);
  color: var(--creek-text);
  outline: none;
}

.select2-container-multi .select2-choices .select2-search-choice {
  background: var(--bs-blue);
  color: var(--bs-white);;
  display: inline-block;

  box-shadow: none;
  border: 1px solid var(--creek-offsetBorder);

  border-radius: 9px;
  padding: 2px 9px 2px 20px;
  font-size: 11.844px;
  font-weight: bold;
  line-height: 14px;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
  white-space: nowrap;
  vertical-align: baseline;
}

.select2-container-multi .select2-choices .select2-search-choice-focus {
  color: HighlightText;
  background: Highlight;
  border-color: rgba(82,168,236,0.8);
  box-shadow: 0 0 8px rgba(82,168,236,0.6);
}

.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close {
  width: 0;
  height: 0;
}

.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close::after {
  display: block;
  position: absolute;
  top: -1px;
  left: 4px;
  content: '✖';
  font-size: 10px;
  color: var(--bs-white);;
}

.select2-drop.select2-drop-above,
.select2-drop.select2-drop-above.select2-drop-active,
.select2-drop.select2-drop-active {
  margin-top: -4px;
  margin-left: 10px;
  background: var(--creek-selectDropDownBackground);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--creek-offsetBorder);
  color: var(--creek-text);
  border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
  border-radius: 4px;
}

.select2-drop.select2-drop-above.select2-drop-active {
  margin-top: 10px;
}

.select2-results .select2-highlighted {
  color: HighlightText;
  background: Highlight;
}

/* MARK: Alerts */

.alert h4 {
  margin-bottom: 10px;
}

.alert ul {
  margin-top: 15px;
}

.alert .actions {
  margin-top: 20px;
}

.form-error {border-color:#d33;}
.form-error input {border-color:#d33;}

/* MARK: Tabbed UI */

/* Override nav-tabs to sit flush to .tab-content */
.nav-tabs {
  margin-bottom: 0;
}

.nav-stacked .divider {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px var(--creek-offsetBorder) solid;
}

.tab-content-fill {
  background: var(--creek-background);
  /* padding: 20px; */
  border: 1px solid var(--bs-tabBorder);
  border-width: 0 1px 1px 1px;
  border-radius: 0 0 6px 6px
}

/* !!! Toolbar Additions */

/* Allow POST buttons within toolbars */
.navbar .nav > li button.btn-link {
  float: none;
  padding: 10px 15px 10px;
  color: var(--creek-offsetText);
  text-decoration: none;
  text-shadow: 0 1px 0 var(--creek-textShadow);
  border: none;
}

/* Navbar enhancements */
.navbar-fixed .navbar {
  margin: 0;
}

.navbar-fixed .navbar-inner {
  border-radius: 0;
}

.navbar-inner {
  padding-right: 5px;
  padding-left: 5px;
}

.navbar-form label {
  display: inline-block;
  vertical-align: bottom;
}

/* .well-navbar - navbars nested inside .well containers */
.well-navbar {
  margin: -20px -20px 10px;
  /* padding: 10px 10px 0; */
  border-radius: 4px 4px 0 0;
}

.well-navbar .navbar-inner {
  border-radius: 4px 4px 0 0;
}


/* Image Upload Component */

.featured_image_container.featured_image_default .image img {
  margin-bottom: 10px;
  border: 3px solid var(--creek-background);
  box-shadow: 0px 1px 6px rgba(0, 0, 0, .2);
  display:inline-block;
}

.featured_image_container.featured_image_default .no-image {
  border: 2px dashed var(--creek-offsetBorder);
  margin:0 0 10px 0;
  padding:50px 20px;
  text-align: center;
  text-transform: uppercase;
  color: var(--creek-offsetBackground);
  font-size: 16px;
}

.featured_image_container.gradient-placeholder .no-image {
  background-image: repeating-linear-gradient(45deg,
    rgba(255,255,255,0) 0px,
    var(--creek-offsetBorder) 1px,
    rgba(255,255,255,0) 2px,
    rgba(255,255,255,0) 10px
  );
}

/* fixing horizontal scrollbar from flash container, and fix crazy offset position in ie9  */
 .featured_image_container .image_upload_container,
 .plupload.html5 {
   position: absolute;
   top: 0 !important;
   left: 0 !important;
   overflow: hidden;
}

/*
bootstrap quirk: prevent input from shifting down if
error class is applied to clearfix div
*/
.form-stacked div.clearfix.error { padding-top: 0px; }

.error-message {
  font-size:14px;
  color: var(--bs-red);
  padding:5px;
  padding-top:0px;
}

.hasPlaceholder { color: var(--creek-offsetText); }

p.grey { color: var(--creek-offsetText); }

.notes {font-size:12px; color: var(--creek-offsetText); }
.greylink {
  text-decoration:underline;
  color: var(--creek-offsetText);
}
.greylink:hover {
  color: var(--creek-linkColor);
}

/* Tables */

.table {
  background: var(--creek-background);
}

table caption {
  margin: 10px 0;
}

.table thead th {
  background: var(--creek-background);
  color: var(--creek-text);
}

.table thead th a:not(.btn) { color: var(--creek-text); }
.table thead th a:not(.btn):hover, .table a:not(.btn):focus { color: var(--creek-linkColor); }

.table-bordered td,
.table-striped tbody > tr:nth-child(2n+1) > td {
  border-left-width: 0px;
}

.table-bordered thead th:first-child, .table-bordered td:first-child,
.table-striped tbody > tr > td:first-child, .table-striped tbody > tr > th:first-child {
  border-left-width: 1px;
}

.table-mid-aligned td {
  vertical-align: middle;
}

.table-sticky {
  position: relative;
}

.table-sticky thead th {
  position: sticky;
  border-bottom: 1px solid var(--creek-offsetBorder);
  top: 71px; /* HACK: This is the height of the top nav bar, which isn't reliably fixed */
  z-index: 1; /* Ensure appears over pos:relative buttons contained within the table */
}

.modal-body .table-sticky thead th {
  top: -15px; /* HACK: Aligns with modal-body; might need a better generic solution */
}

.table-sticky tbody tr:first-child td {
  border-top-width: 0;
}

.broadcast-table-date {
  font-weight: bold;
}

.broadcast-table-time {
  display: block;
  font-size: 80%;
}

td.cell-numeric, th.cell-numeric {
  text-align: center;
}

.box_title {font-size:14px; font-weight:bold;}

.status_checkboxes .checkbox_container {display:block;}
.status_checkboxes input {display:inline-block;margin-top:0px}
.status_checkboxes label {display:inline-block;margin-top:3px;margin-right:15px;padding-left:2px;}

.preview {margin-top:20px;}
.preview h4 {margin-bottom:5px;}
.preview input {display:inline-block;margin-top:0px}
.preview label {display:inline-block;margin-top:3px;padding-left:2px;}

.delete_box .prompt {padding:5px;}
.delete_box .spacer {padding:5px;}
.delete_box .delete_button {display:inline;}
.delete_box .delete_help {display:inline;}
.delete_box .delete_help_link {margin-left:10px;}

/*
----------------------
Main Admin Pages
----------------------
*/

.Program .error-message {}

.social-layout-image-upload {
  position: relative;
  height: 350px;
  margin: 0 0 20px;
}

.social-layout-image-upload .logo-preview {
  position: absolute;
  bottom: 0px;
  left: 20px;
  display: inline-block;
  padding: 4px;
  background: var(--creek-background);
  border: 4px solid var(--creek-offsetBorder);
  border-radius: 8px;
}

.social-layout-image-upload .logo-preview .no-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 10px;
  border: 2px var(--creek-offsetBorder) dashed;
  border-radius: 4px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-layout-image-upload .logo-preview .image {
  width: 200px;
  height: 200px;
  overflow: hidden;
  margin: 0 auto 10px;
  border-radius: 4px;
}

.social-layout-image-upload .logo-preview .image img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.social-layout-image-upload .header-preview {
  position: relative;
}

.social-layout-image-upload .header-preview .image {
  max-height: 250px;
  overflow-y: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}
.social-layout-image-upload .header-preview .image img {
  width: 100% !important;
  object-fit: cover;
}

.social-layout-image-upload .header-preview .no-image {
  height: 250px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-layout-image-upload .logo-preview .no-image.hide,
.social-layout-image-upload .header-preview .no-image.hide {
  display: none;
}

.social-layout-image-upload .header-preview .btn-group {
  position: absolute;
  top: 10px;
  right: 10px;
}

#Tracks #add_tracks {padding-top:25px;border-radius:0 0 6px 6px;}
#Tracks .status-buttons { text-align: right; }
#Tracks .lookup_box {padding: 0 20px 15px 0; }

.playlist-editor-header {
  margin-bottom: 20px;
}

.track-editor-row {
  display: flex;
  align-items: stretch;
  align-content: stretch;
}

/* Maintain max-height scroll for track editor suggestion boxes: */
.track-list-scroll-box {
  max-height: 350px;
  overflow: scroll;
}

.add-track-column {
  flex-basis: 50%;
  position: relative;
}

/* Auto Complete Suggestions */
.track-suggestions {
  position: absolute;
  top: 20px;
  left: 100%;
  width: 100%;
  box-sizing: border-box;

  background: var(--creek-lightOffsetBackground);
  box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.2);
  padding: 20px;
  border-radius: 10px;
  z-index: 500;
}

.track-suggestions .track-suggestions-title {
  margin: 0 0 15px;
}

.track-suggestions-arrow,
.track-suggestions-arrow::after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-right-color: transparent;
  border-style: solid;
}

.track-suggestions-arrow {
  top: 50px;
  left: -11px;
  margin-top: -11px;
  border-width: 11px;
  border-right-color: var(--creek-offsetBorder);
  border-right-color: rgba(0, 0, 0, 0.2);
  border-left-width: 0;
}

.track-suggestions-arrow::after {
  border-width: 10px;
  border-left-width: 10px;
  content: "";
  bottom: -10px;
  left: 1px;
  border-right-color: var(--creek-background);
  border-left-width: 0;
}

.track-suggestions-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 24px;
  color: #333;
}

.track-suggestions-working,
.track-suggestions-results:empty {
  display: none;
}

.track-suggestions-results:empty + .track-suggestions-working {
  display: block;
  text-align: center;
  margin: 50px 0;
}

#autobox {
  border:1px solid var(--creek-offsetBorder);
  background: var(--creek-background);
  min-height:280px;
  border-radius: 4px;
}
#autobox .records-inner,
#autobox .record {
  margin: 0;
  list-style: none;
}
#autobox .btn-link {
  border: none;
  border-bottom:1px solid var(--creek-offsetBorder);
  font-size:13px;
  padding: 0;
  background: none;
}
#autobox .btn-link:hover,
#autobox .btn-link:focus {
  border-bottom:1px solid var(--creek-text);;
  text-decoration: none;
}
#autobox .album-cover { float: left; margin-right: 5px; }
#autobox .btn.all { float: right; }

/* Preloaded Buffer List */
.saved-tracks-column {
  position: relative;
  margin-left: 10px;
  flex-basis: 50%;
}

.track-list-scroll-box {
  border:1px solid var(--creek-offsetBorder);
  padding:12px 14px;
  border-radius: 4px;
}
.track-list-scroll-box .none-preloaded {
  color: var(--creek-offsetText);
}
.track-list-scroll-box .none-preloaded h4 {
  display:inline-block;
  font-size:14px;
  color: inherit;
  margin: 0 0 8px 0;
}
.track-list-scroll-box .Track_preloaded {
  position: relative;
  display:block;
  padding:6px 6px 6px 9px;
  border-bottom:1px solid var(--creek-offsetBorder);
  background: var(--creek-background);
  border-radius: 4px;
  margin-bottom: 5px;
  overflow:auto;
}
.track-list-scroll-box .Track_preloaded:last-child {
  margin: 0;
}

.saved-tracks-column .playlist-import {
  position: absolute;
  top: 10px;
  right: 0;
}
.saved-tracks-column .playlist-import a {
  color: var(--creek-offsetText);
  display:inline-block;
  padding:0 0 2px 0;
  font-size: 13px;
}
.saved-tracks-column .playlist-import a:hover {
  color: var(--creek-text);
  text-decoration: none;
}

.Track_preloaded .record {
  display: block;
  color: var(--creek-offsetText);
  padding: 3px 6px 2px 24px;
}
.Track_preloaded .record:hover,
.Track_preloaded .record:focus { text-decoration: none; color: var(--creek-text); }

.Track_preloaded .prefix-icon {
  color:transparent;
  position: absolute;
  left: 10px;
  top: 10px;
}

.Track_preloaded .record:hover .prefix-icon,
.Track_preloaded .record:focus .prefix-icon {
  color:inherit;
}

.Track_preloaded a.delete {
  display:block;
  float:right;
  padding:2px 6px;
  margin-left:8px;
  color: var(--creek-offsetText);
  font-size: 17px;
}
.Track_preloaded a.delete:hover { color: var(--bs-red); }

.import-modal .upload-control {
  text-align: center;
}
.import-modal .example-table {
  font-size: 80%;
}

#Tracks .lookup_records .record {
  color: var(--creek-offsetText);
  display:block;
  padding:6px 6px 6px 6px;
  background: var(--creek-background);
  border-bottom:1px solid var(--creek-offsetBorder);
  font-size:13px;
}
#Tracks .lookup_records .record .title {font-weight: bold}
#Tracks .lookup_records .record a.all {float:right; padding:8px; border-radius: 8px; border: 1px solid var(--creek-offsetBorder); color: var(--creek-offsetText); text-decoration: none; display: block;}
#Tracks .lookup_records .record a.all:hover {background: var(--creek-offsetBackground); }
#Tracks .no_records {padding:5px;}
#Tracks .lookup_box .locked { font-size:18px;margin-bottom:10px; }

.TrackTimeShift .instructions {margin: 0 0 30px 0}
.TrackTimeShift .instructions h4 {line-height:130%}
.TrackTimeShift .offset-input { width: 30px; }
.TrackTimeShift .playlist {
  background-color: var(--creek-background);
}

.creek-playlist ul { margin:0; padding:0; }
.creek-playadd_media_linklist .creek-track { list-style: none; padding:0 0 8px 0; margin:0; }
.creek-playlist .creek-track-time { margin-right:10px; color: var(--creek-offsetText); }
.creek-playlist .creek-track-title { font-weight:bold; }
.creek-playlist .creek-track-artist { font-weight:bold; }

#Settings div.tab-pane {display:none;}
#Settings div.active {display:block;}

#Settings .settings {
  margin-top: 0;
}

#Settings .submit {
  margin: 20px 0 0 0;
}

#Settings .info {color: var(--creek-offsetText);margin:0px 0 8px 0;}
#Settings .small-text {color: var(--creek-offsetText); font-size:13px;}
#Settings .storage-info {margin:20px 0 20px 0;}
#Settings .s3-test-container {margin:30px 0 0 0; }
#Settings .s3-test-container .status { line-height:140%; padding:20px 0; margin:0px 0 0 0; font-size:18px; }
#Settings .back-up .info {color:var(--creek-offsetText);margin:10px 0 0px 0;}

#Settings .codemirror .controls {background:var(--creek-background);border:1px solid var(--creek-offsetBorder);}
#Settings .highlight {background: var(--bs-yelllow); border:1px solid var(--creek-offsetBorder); display:inline-block; padding:7px 10px; margin: 10px 10px 10px 0px}
#Settings .highlight-small {background: var(--bs-yellow); display:inline-block; padding:2px 4px;}

.api-key-tool .prompt {
  display:none;

}

.Page .codemirror_container {background: var(--creek-background); border:1px solid var(--creek-offsetBorder); margin-bottom:20px;}
.Page .editor_warning {padding:8px 12px; border-radius:8px;margin-bottom:20px;}


.uploads_disabled { padding:30px; border: 2px solid var(--creek-offsetBorder); }

/* Editor */
.wysihtml5-toolbar {
  position: relative;
  background: var(--creek-background);
  padding: 0 6px;
  margin-bottom: -1px;
  border: 1px solid var(--creek-offsetBorder);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.wysihtml5-toolbar .btn-plain.wysihtml-command-active,
.wysihtml5-toolbar .btn-plain.wysihtml-action-active {
  background: #baefff;
  color: #000;
}

.wysihtml5-toolbar .btn-menu-item {
  color: var(--creek-text);
}

.wysihtml5-toolbar .btn-menu-item:hover,
.wysihtml5-toolbar .btn-menu-item:focus {
  background: var(--bs-blue);
}

.wysihtml5-toolbar .editor-active-check {
  opacity: 0;
}

.wysihtml5-toolbar .btn-menu-item.wysiwyg-highlight-command.wysihtml-command-active,
.wysihtml5-toolbar .btn-menu-item.wysiwyg-highlight-command.wysihtml-action-active {
  font-weight: bold;
}

.wysihtml5-toolbar .btn-menu-item.wysihtml-command-active .editor-active-check,
.wysihtml5-toolbar .btn-menu-item.wysihtml-action-active .editor-active-check {
  opacity: 1;
}

.editor-toolbar-url.wysihtml-command-active {
  display: none;
}

.editor-toolbar-deurl {
  display: none;
}

.editor-toolbar-deurl.wysihtml-command-active {
  display: inline-block;
}

.wysihtml5-toolbar-container {
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.wysihtml5-toolbar .wysihtml5-create-link {
  /* Position the link editor always in the top-right of the text editor */
  position: absolute;
  top: 110%;
  right: 10px;

  z-index: 999;
  padding: 5px 7px;
  border-radius: 4px;
  background: var(--creek-lightOffsetBackground);
  box-shadow: 0 0 3px rgba(0, 0, 0, .2);
}

@media (prefers-color-scheme: dark) {
  .wysihtml5-toolbar .wysihtml5-create-link {
    border: 2px solid #333;
  }
}

.wysihtml5-toolbar .wysihtml5-create-link .input-append {
  margin: 0;
}

.wysihtml-sandbox,
.wysiwyg-editor {
  border: 1px solid var(--creek-offsetBorder) !important;
  border-top: 0 !important;
  border-radius: 0 0 4px 4px !important;
  background: var(--creek-background) !important;
}

.wysiwyg-editor {
  display: block;
  padding: 12px 8px 8px 8px;
  box-sizing: border-box;
  width: 100%;
  height: 150px;
  max-height: 75vh;
}

.wysiwyg-medium-editor {
  height: 350px;
}

.wysiwyg-long-editor {
  height: 600px;
}

.with-rich-text-editor .wysiwyg-editor {
  font-family: monospace;
}

.validation {
  display:none;
  background: var(--creek-background);
  padding:8px 12px;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, .1);
  border-radius:6px;
  color:#c33;
  border: 1px solid #f99;
  margin:0 0 20px 0;
}

.publish_status {color:#999;font-size:16px;margin:0px 0 20px 0;}

#content_locked { position:absolute; width:100%; background: rgba(0, 0, 0, .5); z-index:20000; text-align:center;}
#content_locked .message {
  font-size:30px;
  margin:100px;
  padding:20px 30px;
  color: var(--bs-grayLightest);
  background: var(--bs-black);
  line-height:1.5;
  border-radius:10px;
  display:inline-block;
}
#content_locked a.unlock { font-size:20px; color:#fff; text-decoration:underline; background:#000; padding:10px; border-radius:10px;}

.Event .categories {padding-bottom:10px;}
.Event #event_times_container {margin:20px -20px 20px -20px; padding:20px; border-top:1px solid var(--creek-offsetBorder);border-bottom:1px solid var(--creek-offsetBorder);}
.Event #event_times_container .box_title {padding:0;margin:0;margin-bottom:20px;font-size:16px;}
.Event #event_times_container .box_title span{padding-left:20px;color:var(--creek-offsetText); font-weight:normal;font-size:14px;}
.Event #event_times_container .title {margin-right:-30px;}
.Event #event_times_container .time {width:70px;}
.Event #event_times_container .optional {margin:20px 0 0 70px; color: var(--creek-offsetText); font-size:14px}
.Event #time_form {padding:0;margin:0}
.Event #time_error {padding:10px;line-height:135%;font-size:14px;}
.Event #time_error .close_error {padding:5px;}
.Event #event_times {margin:0px 0 20px 0; padding-top:0px;}
.Event #event_times li {color: var(--creek-text);}
.Event #event_time_add {padding-bottom:10px; }
.Event #event_time_add .title{padding-top:4px;}
.Event .event_time {padding:10px;font-size:16px;line-height:135%;}
.Event .event_time_times {}
.Event .event_time_delete {padding:5px;font-size:14px;}
.Event .extra1 {float:left; padding-left:20px; padding-right:20px;}
.Event .delete_box {margin-bottom:10px;}
.Event .help_button_container {height:40px;}

.Broadcast .title_reminder {margin-bottom:20px;padding: 8px 8px 8px 8px;border: 1px dashed var(--creek-offsetBorder);}
.Broadcast .title_reminder .a {margin: 0 0 5px 0;}
.Broadcast .title_reminder .b {color: var(--creek-offsetText);}
.Broadcast .program {padding:14px 20px 13px 20px;margin:-20px -20px 8px -20px;border-bottom: 1px solid var(--creek-offsetBorder); background: var(--creek-background); border-radius:4px 4px 0 0;}
.Broadcast .program .error-message {margin:10px 0 0 0}
.Broadcast .single_program {font-size:24px;line-height:1.4}
.Broadcast .just_date {font-size:18px;padding:5px;}
.Broadcast .headline_image_container {margin:10px 0 30px 0; }
.Broadcast #copy-broadcast-box {margin:10px 0 10px 0; padding:14px; border:1px solid var(--creek-offsetBorder); }
.Broadcast #copy-broadcast-container { display: inline-block; margin:10px 0 0 0;}

.Broadcast .delete_box {display: inline-block; margin-top:25px;}
.Broadcast .error input {border-color: var(--bs-red);}

/* for post and broadcast */
.title_container {margin-bottom:10px;}
.text_container {margin-bottom:20px; clear:both;}
.text_container {margin-bottom:20px;}

.Media {padding-bottom:10px;}
.Media .input_title {font-size:18px}
.Media #MediaDescription {height:160px;}
.Media .link_to_file {margin-bottom:20px}
.Media .delete_box {display:inline-block;padding:0px 0 0 30px;}
.Media .media_info {padding-left:20px; margin-right:-20px;}
.Media .youtube_embed_container iframe {max-width:100% !important}
.Media .current_image {margin:0 0 10px 0;}

#Media .close_link {margin-left:10px;}
#Media .close_media {margin-bottom:-10px;text-align:right;}
#Media .links {margin-bottom:5px;}
#Media .tips_box {color: var(--creek-offsetText);}
#Media .find_media {float:right;}

#Media .program_for_media_container { margin:10px 0 0 0 }
#Media .program_for_media_container .single { margin:20px 0 0 0; line-height:180% }

#Media table td.title {max-width:350px;overflow:hidden;}

.media_types .help {margin-top:10px;font-size:13px;color: var(--creek-offsetText); }
.media_types .documents {margin:0 0 0 10px}
.media_types .i_v_a {margin:0 0 0 0px}
.media_types .ask_manager { color: var(--creek-offsetText); margin-top:10px;}
.media_types #add_documents_link {padding:10px;border:1px solid color: var(--creek-offsetBorder);border-radius:10px;display:inline-block;height:80px;text-align:center;}
.media_types #add_documents_link .inner {margin-top:20px;}
.media_types #add_documents_link:hover {background: color: var(--creek-background);border:1px solid color: var(--creek-offsetBorder);text-decoration:none;}
.media_types #add_documents_link .d {font-size:18px}
.media_types #add_i_v_a_link {padding:10px;border:1px solid color: var(--creek-offsetBorder);border-radius:10px;display:inline-block;height:80px;text-align:center;}
.media_types #add_i_v_a_link .inner {margin-top:20px;}
.media_types #add_i_v_a_link:hover {background: color: var(--creek-background);border:1px solid color: var(--creek-offsetBorder);text-decoration:none;}
.media_types #add_i_v_a_link .d {font-size:18px}

.media_types #upload_container {
  border: 2px dashed var(--creek-offsetBorder);
  border-radius: 10px;
  margin: 20px 0;
  padding: 20px 25px;
  text-align: center;
}
.media_types #upload_container.hover { border:2px solid var(--bs-green); background: var(--creek-background); }
.media_types #upload_files_container {position:static !important; display:block !important;}
.media_types #upload_files_container div.error {padding:0 0 10px 0;border-bottom:1px solid var(--creek-offsetBorder); margin-bottom:10px}
.media_types #upload_files_container div.error b {color: var(--bs-orange); background: var(--creek-background); }

/* #browse_media {padding:18px 0 0 0;border: 0;} */
#browse_media.panel {padding:20px}
#browse_media table.table {padding:0;margin:0;}
#browse_media table.table td {border:0; border-top:1px solid var(--creek-offsetBorder); padding:15px;}
#browse_media table.table td.title {  }
/* #browse_media table.table tr:first td {border:0;} */
#browse_media .info {padding: 0 0 0 10px; overflow:hidden}
#browse_media .info div {margin-bottom:8px;}
#browse_media td .title {font-size:16px;}
#browse_media td .type {font-size:14px;color: var(--creek-offsetText);}
#browse_media td .subtype {font-size:14px;color: var(--creek-offsetText);}
#browse_media td .program_title {font-size:13px;color: var(--creek-offsetText);}

#browse_media #add_media_panel {
  margin: 0 0 20px;
}
#browse_media #attached {
  margin: 20px 0 0;
}

#browse_media #add_media_panel .drag_and_drop {white-space:nowrap; color: var(--creek-text); }
#browse_media .attached-preview { text-align: center; }
#browse_media span.thumbnail { margin: 20px 20px 10px; }
#browse_media img.thumbnail {padding:0; border-radius:3px; border:3px solid var(--creek-offsetBorder); box-shadow: 0px 1px 6px rgba(0, 0, 0, .3); }
#browse_media a i.icon-doc {font-size: 70px; color: var(--creek-offsetText)}
#browse_media a i.icon-doc:hover {color: var(--creek-offsetText); }
#browse_media .media-audio-file ul {border:2px solid var(--creek-offsetBorder);background: var(--creek-background);}

#Users #rows_type_button {min-width:100px}

.User { padding-top:20px; padding-left:40px;}
.User .change_password {margin-top:10px;margin-bottom:20px;}
.User .change_password .error {color: var(--bs-red); margin-bottom:10px;}
.User .group_id_admin {margin: 0 0 10px 0; }
.User .group_id_admin span {color: var(--creek-offsetText); }
.User .admin_error {color: var(--bs-red); margin-bottom:10px;}
.User .edit_programs { margin-top:10px; margin-bottom:20px; margin-right:10px;}
.User .edit_programs .two { max-height:200px; overflow:auto; border: 1px solid var(--creek-offsetBorder); }
.User .edit_programs .programs { padding:8px; }
.User .delete_box {margin-top:20px;}
.User .activate_label {margin-left:5px;}

#Today .programs {
  padding:0 0 0px 0;
  margin-bottom:20px;
  background: var(--creek-lightOffsetBackground);
  border: 0;
  border-radius: 6px 18px 6px 6px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}
#Today .programs .program {margin:0 0 0px 0; padding:26px; border-bottom:1px solid var(--creek-offsetBorder); }
#Today .programs .program:last-child {margin:0; border-bottom:0}
#Today .programs .program h3 { font-size:28px;margin: 0 10px 20px 0; line-height:1.4; display: inline-block; max-width: 220px; background: var(--creek-background); padding: 0px 6px; margin-left: -6px; border:1px solid var(--creek-offsetBorder);}
#Today .programs .program .program_image { float:right; margin:0 0 0px 20px; border:3px solid var(--creek-background); box-shadow: 0px 1px 6px rgba(0, 0, 0, .3); }
#Today .programs .program .no_image { float:right; margin:0 0 20px 20px; border:3px dashed var(--creek-offsetBorder); color: var(--creek-offsetText);font-size:15px;font-weight:bold;text-align:center;padding:20px 20px;line-height: 180%}
#Today .programs .program .no_image a {white-space: nowrap; color: var(--creek-offsetText);text-decoration:underline;}
#Today .programs .program .no_image a:hover {color: var(--creek-text);}
#Today .programs .program .toolbar {margin: 0 0 20px 0}
#Today .programs .program .description {margin:0 0 8px 0;}

#Today .broadcasts .broadcast_add { float:left;}

.ProgramSimpleEdit h4 {margin: 0 0 6px 0 !important;}
.ProgramSimpleEdit .program_container {position:relative;z-index:2;}
.ProgramSimpleEdit .submit_container {margin:0 -30px 0 -30px; padding:20px 30px 20px 20px; text-align:center; border-radius:10px 0 0 10px;border-right:0;}
.ProgramSimpleEdit .submit_container .cancel {margin:10px 0 0 0;display:block;}
.ProgramSimpleEdit .title_container {margin:0 0 30px 0;display:block;}
.ProgramSimpleEdit .short_description {margin:0 0 30px 0;display:block;}
.ProgramSimpleEdit .short_description h4 {margin: 0 0 10px 0; font-weight: normal;}
.ProgramSimpleEdit .full_description {margin:0 0 30px 0;display:block;}
.ProgramSimpleEdit .full_description h4 {font-size: 18px; margin: 0 0 10px 0; font-weight: normal;}

/* TinyMCE Styles */

body.mceContentBody {
   background: var(--creek-background);
   color: var(--creek-text);
   font: 15px Arial;
   line-height:140%;
}

.container-fluid {
  max-width:940px;
  min-width:720px;
  margin: 0 auto;
}

.container-fluid-bleed {
  max-width: none;
}

/**
 * DataGrid
 */

.datagrid .datagrid-header {
  margin-bottom: 30px;
}

.datagrid table thead th {
  vertical-align: middle;
}

.datagrid table thead th.abbr {
  text-align: center;
}

.datagrid table thead td.abbr {
  vertical-align: middle;
  text-align: center;
}

.datagrid .datagrid-edit-row td {
  padding: 0;
}

.datagrid .datagrid-edit-loading {
  padding: 20px;
  text-align: center;
}

.datagrid tbody tr.datagrid-clickableRow td {
  transition: background-color .2s ease-in-out;
}

.datagrid tbody tr.datagrid-clickableRow:focus:not([data-editing=expanded]) td,
.datagrid tbody tr.datagrid-clickableRow:hover:not([data-editing=expanded]) td {
  cursor: pointer;
  background-color: var(--creek-rowHighlightBackground);
  color: var(--creek-rowHighlightText);
}

.datagrid-searchFunnel {
  cursor: alias;
}

.datagrid tbody tr.datagrid-editInline:focus:not([data-editing=expanded]) td,
.datagrid tbody tr.datagrid-editInline:hover:not([data-editing=expanded]) td {
  cursor: context-menu;
}

.datagrid .datagrid-edit-container form,
.datagrid .datagrid-create-content form {
  margin: 0;
}

.datagrid .datagrid-edit-container .modal-body {
  max-height: none;
}

.datagrid-edit-row--expanded td {
  border-top: 3px solid var(--creek-linkColor) !important;
}

.datagrid-edit-row--expanded td:first-child {
  border-left: 3px solid var(--creek-linkColor) !important;
  border-radius: 4px 0 0 0;
}

.datagrid-edit-row--expanded td:last-child {
  border-right: 3px solid var(--creek-linkColor) !important;
  border-radius: 0 4px 0 0;
}

.datagrid-edit-row--expanded + tr td {
  border: 3px solid var(--creek-linkColor) !important;
  border-width: 0 3px 3px 3px !important;
  border-radius: 0 0 4px 4px;
}

/* Invert alignment of action menus */
.datagrid td:last-child .dropdown-menu {
  left: auto;
  right: 0;
}

.datagrid-empty {
  margin: 20px 0;
  padding: 20px 20px 10px;
  text-align: center;
  border: 1px solid var(--creek-offsetBorder);
  border-radius: 4px;
  background: var(--creek-lightOffsetBackground);
}

/* Search bar */
.datagrid-search-bar {
  display: none;

  background: var(--creek-lightOffsetBackground);
  box-shadow: inset 0 0 20px -5px var(--creek-offsetBackground);
  border-width: 0 1px 1px 1px;
  padding: 5px 10px 8px;
  margin: 0 5px 0 20px;
  border-radius: 0 0 5px 5px;
}

.datagrid-search-bar.active {
  display: block;
}

/**
 * Wrapping Row is a flexbox-based responsive construct for column UI
 */

.wrapping-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-wrap: wrap;
}
.wrapping-column {
  flex: 1 0 33%;
  min-width: 280px;
  padding-right: 10px;
  padding-bottom: 10px;
  box-sizing: border-box;
}

.wrapping-column:last-child {
  padding-right: 0;
}

.wrapping-column-scale-25 { min-width: 25%; }
.wrapping-column-scale-33 { min-width: 33%; }
.wrapping-column-scale-50 { min-width: 50%; }
.wrapping-column-scale-75 { min-width: 75%; }
.wrapping-column-scale-100 { min-width: 100%; }


/**
 * Media Choose is a global dialog for picking media
 */

.media-chooser {
  width: 950px;
  margin-left: -475px;
}

.media-chooser-loading {
  margin: 20px;
  text-align: center;
}

/**
 * Scheduld
 * Grid calendar layout
 */

.schedule-grid {
  display: flex;
  width: 100%;
  min-height: 1600px;
  height: calc(100vh - 300px);

  border: 1px var(--creek-offsetBorder) solid;
  background: var(--creek-lightOffsetBackground);
  border-radius: 4px;
}

.schedule-column {
  border-right: 1px var(--creek-offsetBorder) solid;
  height: 100%;

  flex-grow: 100;

  display: flex;
  flex-direction: column;

  transition: background .3s ease-in-out;

  position: relative; /* for position: sticky headers, below */
}

.schedule-time-column {
   flex-grow: 0;
   min-width: 5em;
}

.schedule-column:hover {
  background: var(--creek-background);
}

.schedule-column:last-child {
  border: none;
}

.schedule-time-list {
  background: var(--creek-background);
}

.schedule-time {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  padding: 2px 4px;
  border-top: 1px var(--creek-offsetBorder) solid;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

.schedule-time:first-child {
  border: none;
}

.schedule-column-header {
  background: var(--creek-background);
  border-bottom: 1px var(--creek-offsetBorder) solid;
  position: sticky;
  top: 71px;
  z-index: 50; /* sticky headers appear over events */
}

.schedule-heading {
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  margin: 5px 0;
}

.schedule-event-list {
  flex-grow: 100;
  position: relative;
}

.schedule-puck {
  position: absolute;
  box-sizing: border-box;
  width: 50%;
}

.schedule-puck-every-week {
  width: 100%;
}

.schedule-puck-biweek-b {
  left: 50%;
}

.schedule-puck-indent-1 { margin-left: 20px; width: calc(50% - 20px); }
.schedule-puck-indent-2 { margin-left: 30px; width: calc(50% - 30px); }
.schedule-puck-indent-3 { margin-left: 40px; width: calc(50% - 40px); }
.schedule-puck-indent-1.schedule-puck-every-week { width: calc(100% - 20px); }
.schedule-puck-indent-2.schedule-puck-every-week { width: calc(100% - 30px); }
.schedule-puck-indent-3.schedule-puck-every-week { width: calc(100% - 40px); }

.schedule-puck-content {
  box-sizing: border-box;
  height: calc(100% - 1px);
  border: 1px solid var(--bs-blue);
  padding: 4px;

  background: var(--creek-background);
  border-radius: 4px;
  font-size: 12px;
  line-height: 15px;

  overflow: hidden;

  box-shadow: rgba(0,0,0,.2) 3px 3px 3px;

  transition: background .2s ease-in-out, opacity .2s ease-in-out;
}

.schedule-grid .schedule-puck.open .schedule-puck-content,
.schedule-grid .schedule-puck:hover .schedule-puck-content {
  background-color: var(--creek-rowHighlightBackground);
  color: var(--creek-rowHighlightText);
  opacity: 1;
}

.schedule-grid .schedule-puck:hover .schedule-puck-content {
  cursor: pointer;
}

.schedule-puck-content .schedule-puck-content-header {
  font-size: 10px;
  line-height: 12px;
  margin-bottom: 5px;
}

.schedule-puck-time {
  font-weight: bold;
}

.schedule-puck-title {
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-is-week-a .schedule-puck-biweek-b .schedule-puck-content,
.schedule-is-week-b .schedule-puck-biweek-a .schedule-puck-content {
  background: var(--creek-lightOffsetBackground);
  color: var(--creek-text);
  border-color: var(--creek-offsetBorder);
}

.schedule-is-week-a .schedule-puck-conflict .schedule-puck-content,
.schedule-is-week-b .schedule-puck-conflict .schedule-puck-content,
.schedule-puck-conflict .schedule-puck-content {
  border-color: var(--bs-red);
  background: rgba(255, 170, 170, 1);
  border-width: 2px;
}

.schedule-puck-diminished .schedule-puck-content {
  opacity: .25;
}

.schedule-puck-overflow-in .schedule-puck-content {
  border-top: 2px var(--bs-orange) dashed;
  border-radius: 0 0 4px 4px;
}

.schedule-puck-overflow-out .schedule-puck-content {
  border-bottom: 2px var(--bs-orange) dashed;
  border-radius: 4px 4px 0 0;
}

.schedule-puck-overflow-in .schedule-puck-content::after {
  display: block;
  position: absolute;
  top: 0;
  right: 10px;
  content: '↩';
  color: var(--bs-orange);
  font-size: 36px;
  line-height: 34px;
}

.schedule-puck-overflow-out .schedule-puck-content::after {
  display: block;
  position: absolute;
  top: 100%;
  right: -15px;
  content: '↪';
  color: var(--bs-orange);
  font-size: 36px;
  line-height: 34px;
}

.schedule-puck-oneoff {
  z-index: 20; /* Appear above other events */
  left: 20px;
  padding-top: 20px;
}

.schedule-puck-oneoff.schedule-puck-biweek-b {
  right: 20px;
  left: auto;
}

.schedule-puck-oneoff .schedule-puck-content {
  border-color: var(--creek-offsetBorder);
  background: var(--bs-purple);
  color: var(--bs-white);
}

.schedule-puck .dropdown-menu {
  left: 80%;
  top: 10px;
}

.schedule-column:last-child .schedule-puck .dropdown-menu {
  left: auto;
  right: 80%;
}

/** Admin Home Page */
.creek-main-nav .navbar-inner {
  padding: 0 10px 0 20px;
  min-width: 400px;
}

.creek-main-nav li {
  line-height: 50px;
}

.navbar .Logo { padding: 2px 16px 0; color: var(--creek-text); }
.navbar .Logo:hover { text-decoration: none; background: var(--creek-lightOffsetBackground); }
.navbar .Logo-image { max-height: 30px; }

.navbar .breadcrumb {
  font-size: 14px;
  padding: 10px 15px 10px;
  margin: 0;
  background: none;
}

/* add some space after drop down icons */
.nav .dropdown .fa {
  margin-right: 5px;
}

/* Support generic content inside Bootstrap dropdowns */
.dropdown-menu > li > span {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 20px;
  color: var(--creek-offsetText);
  white-space: nowrap;
}

.nav .user-icon-image {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 15px;
  margin-right: 5px;
  border: 1px solid var(--creek-offsetBorder);
}

.broadcast-date {
  position: relative;
}

.broadcast-date-reloading {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: var(--creek-lightOffsetBackground);
  z-index: 500;
}

.broadcast-date.reloading .broadcast-date-reloading {
  display: flex;
}

/* Login Page */
.login-page {
  margin: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-height: calc(100vh - 20px);
}

.login-page .login-modal {
  max-width: 400px;
  margin: 20px auto;
}

.login-page .login-logo {
  max-width: 100%;
}

.login-page .login-google-sso {
  margin: 20px 0;
}

.login-page .google-sign-in-container {
  margin: 20px 0;
}

.login-page .user-tiles {
  margin: 20px 0;
}

.login-page .user-tile {
  display: block;
  margin: 10px 0;
  padding: 10px;

  display: flex;
  flex-direction: row;
  align-items: center;
}

.login-page .user-tile-radio,
.login-page .user-tile-avatar {
  padding-right: 10px;
}

.login-page .user-tile-avatar {
  width: 50px;
  height: 50px;
}

.login-page .user-tile-avatar-placeholder {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  border: 1px solid var(--creek-offsetBorder);
  background: repeating-linear-gradient(45deg, var(--bs-orange) 10px, var(--bs-yellow) 11px, var(--bs-orange) 12px, var(--bs-yellow) 20px);
}

.login-page .user-tile-avatar img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 25px;
  border: 1px solid #333;
}

.login-page .user-tile-name,
.login-page .user-tile-shows {
  display: block;
}

.login-page .user-tile-display {
  font-weight: bold;
}

/* Insights */

.stat-block {
  box-sizing: border-box;
  margin: 2px;
  padding: 10px;
  border-radius: 10px;
}

.stat-label {
  text-transform: uppercase;
  font-size: 12px;
  line-height: 14px;
  font-weight: bold;

}

.stat-value {
  display: block;
  font-size: 100px;
  line-height: 100px;
  font-weight: lighter;
  text-align: center;
  padding: 5px;
}

.stat-subValue {
  display: block;
  font-size: 12px;
  text-align: right;
}

/* Admin Home */

.home-show-tile {
  display: flex;
  margin: 0 0 20px 0;
}

.home-show-logo {
  flex-shrink: 0;
}

.home-show-image {
  max-width: 100%;
  height: 60px;
  border: 3px solid var(--bs-grayLightest);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  object-fit: cover;
}

.home-show-details {
  padding: 5px 10px;
  flex-grow: 100;
}

.home-show-actions {
  flex-shrink: 0;
}

.home-feed-item {
  position: relative;
  margin-left: 80px;
}

.home-feed-item-biglabel {
  position: absolute;
  top: 20px;
  left: -80px;
  width: 60px;
  padding: 10px;
  border-radius: 5px 0 0 5px;
  background: var(--bs-grayLight);
  color: var(--bs-white);
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
}

.home-feed-item-bigtime {
  background: var(--bs-pink);
  color: var(--bs-white);
}

.home-feed-item-bigpod {
  background: var(--bs-purple);
  color: var(--bs-white);
}

.home-feed-item-bigpost {
  background: var(--bs-yellow);
  color: var(--bs-grayDarker);
}

.home-feed-broadcast {
  position: relative;
  padding: 20px 20px 10px 180px;
  min-height: 160px;
}

.home-feed-thumbnail {
  position: absolute;
  top: 15px;
  left: 20px;
  width: 140px;
}

.home-feed-thumbnail-image {
  max-width: 100%;
  height: 130px;
  border: 3px solid var(--bs-grayLightest);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  object-fit: cover;
}

.home-split-container {
  display: flex;
}

.home-split-left {
  order: 0;
  flex-basis: 60%;
  padding-right: 20px;
}

.home-split-right {
  order: 1;
  flex-basis: 40%;
}

@media (max-width: 1100px) {
  .home-split-container {
    display: block;
  }
}

.read-only-wysiwyg-preview {
  border-radius: 5px;
  border: 1px solid var(--creek-offsetBorder);
  background: --creek-lightOffsetBackground;
  padding: 20px;
  margin: 10px 0;
}

.user-face {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 15px;
  margin-right: 5px;
  border: 1px solid var(--creek-offsetBorder);
}

ul.structural-inline,
ol.structural-inline {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.structural-inline li {
  display: inline-block;
  padding: 0;
  margin: 0;
}

/* Markdown Link Editor */
.md-link-hidden-fields { display: none; }
