body {
  padding-top: 50px;
  height:100%;
}

html {
	height:100%;
}

.starter-template {
	padding-top: 50px;
/***  text-align: center; ***/
}

.bb-alert {
    position:fixed;
    bottom:50%;
    right:0;
    margin-bottom:0;
    font-size:1.2em;
    padding:1em 1.3em;
    z-index:2000;
}

/**
.fade {
    opacity: 0;
    -webkit-transition: opacity 1s linear;
    -moz-transition: opacity 1s linear;
    -o-transition: opacity 1s linear;
    transition: opacity 1s linear;
}
.fade.in {
    opacity: 1;
}
**/




.pop-div .popover-content {
    max-width: 310px;
    height: 250px;
    overflow-y:scroll;
}

.popover {
  max-width: 1000px;
}

.carousel {
	height:100%;
}

.item,
.active,
.carousel-inner {
	height:100%;
}

.fill {
	width:100%;
	height:100%;
	background-position: center;
	background-size: cover;
}


.carousel-caption {
	color: yellow;
}


.tales {
  width: 100%;
}


.carousel-control.left, .carousel-control.right {
    background-image: none
}

.carousel .item {
    -webkit-transition: opacity 5s;
    -moz-transition: opacity 5s;
    -ms-transition: opacity 5s;
    -o-transition: opacity 5s;
    transition: opacity 5s;
}

.carousel .active.left, .carousel .active.right {
    left:0;
    opacity:0;
    z-index:2;
}
.carousel .next, .carousel .prev {
    left:0;
    opacity:1;
    z-index:1;
}


.table-hover>tbody>tr:hover>td, .table-hover>tbody>tr:hover>th {
  background-color: #00473c;
  color:#fafafa;
}

.table th {
   text-align: center;   
}

 
.modal-header {
    color: #ffffff;
	background-color: #00473c;
	border-color: #00473c;
	background-image: linear-gradient(to bottom, #00b79c 0%, #00473c 100%);
	background-repeat: repeat-x;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.navbar-custom {
  background-color: #00473c;
  border-color: #00473c;
  background-image: linear-gradient(to bottom, #00b79c 0%, #00473c 100%);
  background-repeat: repeat-x;
}
.navbar-custom .navbar-brand {
  color: #ffffff;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
  color: #e6e6e6;
  background-color: transparent;
}
.navbar-custom .navbar-text {
  color: #ffffff;
}
.navbar-custom .navbar-nav > li:last-child > a {
  border-right: 1px solid #00473c;
}
.navbar-custom .navbar-nav > li > a {
  color: #ffffff;
  border-left: 1px solid #00473c;
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
  color: #c0c0c0;
  background-color: transparent;
}
.navbar-custom .navbar-nav > .active > a,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus {
  color: #ffffff;
  background-color: #00473c;
  background-image: linear-gradient(to bottom, #00473c 0%, #00b79c 100%);
  background-repeat: repeat-x;
}
.navbar-custom .navbar-nav > .disabled > a,
.navbar-custom .navbar-nav > .disabled > a:hover,
.navbar-custom .navbar-nav > .disabled > a:focus {
  color: #cccccc;
  background-color: transparent;
}
.navbar-custom .navbar-toggle {
  border-color: #dddddd;
}
.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
  background-color: #dddddd;
}
.navbar-custom .navbar-toggle .icon-bar {
  background-color: #cccccc;
}
.navbar-custom .navbar-collapse,
.navbar-custom .navbar-form {
  border-color: #00473c;
}
.navbar-custom .navbar-nav > .dropdown > a:hover .caret,
.navbar-custom .navbar-nav > .dropdown > a:focus .caret {
  border-top-color: #c0c0c0;
  border-bottom-color: #c0c0c0;
}
.navbar-custom .navbar-nav > .open > a,
.navbar-custom .navbar-nav > .open > a:hover,
.navbar-custom .navbar-nav > .open > a:focus {
  background-color: #00473c;
  color: #ffffff;
}
.navbar-custom .navbar-nav > .open > a .caret,
.navbar-custom .navbar-nav > .open > a:hover .caret,
.navbar-custom .navbar-nav > .open > a:focus .caret {
  border-top-color: #c0c0c0;
  border-bottom-color: #c0c0c0;
}
.navbar-custom .navbar-nav > .dropdown > a .caret {
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}
@media (max-width: 767) {
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
    color: #ffffff;
  }
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #c0c0c0;
    background-color: transparent;
  }
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #c0c0c0;
    background-color: #0072ab;
  }
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #cccccc;
    background-color: transparent;
  }
}
.navbar-custom .navbar-link {
  color: #ffffff;
}
.navbar-custom .navbar-link:hover {
  color: #c0c0c0;
}

/* ComUnify teal theme overrides for Bootstrap buttons */
.btn-primary {
  background-color: #00b79c;
  border-color: #00473c;
  color: #ffffff;
  background-image: linear-gradient(to bottom, #00b79c, #009680);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
  background-color: #009680;
  border-color: #00473c;
  background-image: none;
}
.btn-success {
  background-color: #00b79c;
  border-color: #00473c;
  background-image: linear-gradient(to bottom, #00b79c, #009680);
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
  background-color: #009680;
  border-color: #00473c;
  background-image: none;
}
.btn-info {
  background-color: #0e2d36;
  border-color: #1a4f5e;
  background-image: linear-gradient(to bottom, #193841, #0e2d36);
}
.btn-info:hover, .btn-info:focus, .btn-info:active {
  background-color: #193841;
  border-color: #1a4f5e;
  background-image: none;
}
.btn-danger {
  background-color: #00473c;
  border-color: #001f27;
  background-image: linear-gradient(to bottom, #00473c, #001f27);
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
  background-color: #001f27;
  border-color: #001f27;
  background-image: none;
}

/* Table header rows */
.bb-header {
  background: linear-gradient(to bottom, #00b79c, #00473c) !important;
  color: #ffffff !important;
}
.bb-header th {
  color: #ffffff !important;
  border-color: #00473c !important;
}
.bb-header th a {
  color: #ffffff !important;
  text-decoration: none;
}
.bb-header th a:hover {
  color: #d0f0ea !important;
}

/* ===== Landing Page ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;600;700&display=swap');

#Home {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #001f27;
  color: #fafafa;
  padding-top: 50px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10;
}
.landing-bg {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at center, rgba(0,183,156,0.06) 0%, transparent 70%),
    linear-gradient(90deg, transparent 49.5%, rgba(0,183,156,0.04) 49.5%, rgba(0,183,156,0.04) 50.5%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(0,183,156,0.04) 49.5%, rgba(0,183,156,0.04) 50.5%, transparent 50.5%);
  background-size: 100% 100%, 80px 80px, 80px 80px;
  z-index: 0;
  pointer-events: none;
}
.landing-ball {
  font-size: 80px;
  line-height: 1;
  margin: 30px 0 10px;
  animation: landing-float 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}
@keyframes glow {
  from { text-shadow: 0 0 8px #ffd700, 0 0 16px #ff8c00; }
  to { text-shadow: 0 0 16px #ffd700, 0 0 32px #ff8c00, 0 0 48px #ff6600; }
}
@keyframes landing-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
.landing-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 20px 40px;
}
.landing-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.2em;
  color: #00b79c;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 5px;
  line-height: 1;
}
.landing-title {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 3em !important;
  line-height: 0.95 !important;
  letter-spacing: 3px !important;
  margin-bottom: 15px !important;
  color: #fafafa !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}
.landing-title span {
  color: #00b79c !important;
}
.landing-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.15em;
  color: #a1a1a1;
  font-weight: 300;
  margin-bottom: 45px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.landing-countdown-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2em;
  color: #00b79c;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.landing-countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 45px;
}
.landing-flip-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.landing-flip-card {
  background: linear-gradient(to bottom, #0e2d36, #193841);
  border: 1px solid #1a4f5e;
  border-radius: 10px;
  padding: 15px 20px;
  min-width: 80px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.landing-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3em;
  font-weight: 700;
  color: #00b79c;
  line-height: 1;
}
.landing-flip-unit .landing-label {
  font-size: 0.75em;
  color: #a1a1a1;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Inter', sans-serif;
}
.landing-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 25px;
}
.landing-btn {
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  display: inline-block;
  font-family: 'Inter', sans-serif;
}
.landing-btn-primary {
  background: linear-gradient(to bottom, #00b79c, #009680);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(0,183,156,0.3);
}
.landing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,183,156,0.4);
  text-decoration: none;
  color: #fff !important;
}
.landing-btn-outline {
  background: transparent;
  color: #00b79c !important;
  border: 2px solid #1a4f5e;
}
.landing-btn-outline:hover {
  background: rgba(0,183,156,0.1);
  border-color: #00b79c;
  text-decoration: none;
  color: #00b79c !important;
}
.landing-features {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 50px;
}
.landing-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.landing-card {
  background: #0e2d36;
  border: 1px solid #1a4f5e;
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.landing-card:hover {
  border-color: #00b79c;
  transform: translateY(-3px);
}
.landing-card .landing-card-icon {
  font-size: 2.2em;
  margin-bottom: 12px;
}
.landing-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4em;
  letter-spacing: 1px;
  margin-bottom: 6px;
  color: #00b79c;
}
.landing-card p {
  font-size: 0.85em;
  color: #a1a1a1;
  line-height: 1.5;
}
.landing-stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  padding: 35px 20px;
  border-top: 1px solid #1a4f5e;
  border-bottom: 1px solid #1a4f5e;
}
.landing-stat-item { text-align: center; }
.landing-stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2em;
  color: #00b79c;
}
.landing-stat-label {
  font-size: 0.8em;
  color: #a1a1a1;
}
.landing-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 25px;
  color: #a1a1a1;
  font-size: 1.05em;
}

@media (max-width: 600px) {
  .landing-eyebrow { font-size: 2.5em; letter-spacing: 3px; }
  .landing-title { font-size: 1.8em !important; }
  .landing-countdown { gap: 8px; }
  .landing-flip-card { min-width: 60px; padding: 10px 14px; }
  .landing-number { font-size: 2em; }
  .landing-card-grid { grid-template-columns: 1fr; }
  .landing-stats { gap: 30px; flex-wrap: wrap; }
  .landing-ball { font-size: 50px; }
}

/* Jukebox Game */
.jukebox-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  margin-bottom: 8px;
  background: #0e2d36;
  border: 1px solid #1a4f5e;
  border-radius: 8px;
  transition: border-color 0.2s;
}
.jukebox-row:hover {
  border-color: #00b79c;
}
.jb-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3em;
  color: #00b79c;
  min-width: 80px;
  letter-spacing: 1px;
}
.jb-player {
  flex: 0 0 auto;
  width: 100%;
  max-width: 300px;
}
.jb-player audio {
  height: 40px;
  width: 100%;
  min-width: 250px;
  border-radius: 18px;
  display: block;
}
.jb-guess {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.jb-select {
  background: #193841;
  color: #fafafa;
  border: 1px solid #1a4f5e;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 0.9em;
  min-width: 180px;
}
.jb-select:focus {
  border-color: #00b79c;
  outline: none;
}
.jb-btn {
  background: linear-gradient(to bottom, #00b79c, #009680);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 5px 16px;
  font-weight: 600;
}
.jb-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0,183,156,0.3);
}
.jb-correct {
  color: #4caf50;
  font-weight: bold;
  font-size: 0.95em;
}
.jb-wrong {
  color: #f44336;
  font-weight: bold;
  font-size: 0.95em;
}
.jb-answer {
  color: #a1a1a1;
  font-size: 0.85em;
  font-style: italic;
  margin-left: 5px;
}
@media (max-width: 768px) {
  .jukebox-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .jb-player {
    max-width: 100%;
  }
  .jb-player audio {
    width: 100%;
    min-width: unset;
  }
  .jb-guess {
    width: 100%;
  }
  .jb-select {
    width: 100%;
  }
}
