:root {
  --primary-color: #1ECBE1; /* #00CFDD; */ 
  /* --primary-dark: #00A3AF;
  --primary-light: #66E2EA; */
  /* complementary palette */
  /* These colors contrast well with #1ECBE1, providing a pop of contrast */
  --complementary1: #E14B1E; /* #DD3400; */
  --complementary2: #E18A1E;
  /* analogous palette */
  /* These colors are adjacent to #1ECBE1 on the color wheel, creating a harmonious look */
  --analogous: #1EE196;  /* bright mint green */ /* Matthew's suggestion */
  --analogous1: #1EE1B4; /* aqua green */
  --analogous2: #1EA7E1; /* sky blue */
  --analogous3: #1E7CE1; /* cobalt blue */

  /* monochromatic palette */
  /* Variations of #1ECBE1 with different shades and tints: */  
  --monochromatic1: #3FD4E5; /* Light Cyan */
  --monochromatic2: #1BAFBF; /* Muted Teal */
  --monochromatic3: #178A99; /* Deep Teal  */
  --monochromatic4: #0F5C66; /* Dark Cyan  */

  /* triadic palette */
  /* This palette uses three evenly spaced colors on the color wheel */
  --triadic-magenta: #E11ECB; /* Vivid Magenta */
  --triadic-lime: #CBE11E; /* Lime Green    */


  --analogous-green: #00DD9F;
  --analogous-green5: #169F89; /* #005940;*/ /* Very Dark Pine Green   */
  --analogous-blue2:#0078AF;   /* Medium-dark blue     */

  --deep-blue:#006799;   /* Deep blue      */
  --navy-blue:#003D66;   /* Near-navy blue */ 

  --paperclip-main-color: var(--primary-color);
  --paperclip-secondary-color: var(--analogous); /*#B9FD4F;*/
  --paperclip-background-color: #17232D;

  --feature-text-color: #FFCC00;
  --nav-link-menu-text-color: rgba(255,255,255, 75%);
  --welcome-text-color: #B9FD4F;

  --vod-modal-color: linear-gradient(to bottom, 
                    var(--triadic-lime) 0%,
                    var(--complementary1) 0%,
                    var(--triadic-lime) 100%);

  --vod-header-color: var(--monochromatic3);
  --vod-starting-color: var(--paperclip-main-color);
  --vod-soon-color: var(--complementary1);
  --vod-views-color: var(--analogous2);
  --vod-live-color: #F80000;
  --vod-video-color: var(--analogous3); /* #1457EC; */
  --vod-clip-color: linear-gradient(to right, 
                    var(--triadic-lime) 0%,       /* Light left edge */
                    var(--complementary1) 50%, /* Dark center */
                    var(--triadic-lime) 100%);    /* Light left edge */
  --vod-clip-grid-color: var(--vod-clip-color);

  --sa-fn: linear-gradient(to bottom, 
           var(--paperclip-main-color) 0%,     /* Light edge */
           var(--navy-blue) 50%,               /* Dark center */
           var(--paperclip-main-color) 100%);  /* Light edge */  
}

/* --primary-color: #00CFDD;    */
/* --primary-dark: #00A3AF;     */
/* --primary-light: #66E2EA;    */
/* --complementary: #DD3400;    */
/* --analogous-green: #00DD9F;  */
/* --analogous-green1: #00C38F; */ /* Medium-dark Aqua Green */
/* --analogous-green2: #00AA80; */ /* Muted Deep Green-Teal  */
/* --analogous-green3: #009270; */ /* Forest Aqua            */
/* --analogous-green4: #007A60; */ /* Dark Teal Green        */
/* --analogous-green5: #005940; */ /* Very Dark Pine Green   */
/* --analogous-blue: #0099DD;   */ 
/* --analogous-blue1: #0089C6;  */ /* Slightly darker blue */
/* --analogous-blue2:#0078AF;   */ /* Medium-dark blue     */
/* --analogous-blue3:#006799;   */ /* Deep blue            */
/* --analogous-blue4:#005280;   */ /* Very dark blue       */
/* --analogous-blue5:#003D66;   */ /* Near-navy blue       */
/* --triadic-magenta: #DD00CF;  */
/* --triadic-lime: #CFDD00;     */ 

body{
  font-family: 'Inter';
  background-color: var(--paperclip-background-color);
}

/* disable scrolling when the page is loading */
body.loading {
  overflow: hidden;
}

.form-control:disabled, .form-control[readonly]{
  background-color: #cbcbcb;
}

.hidden{
  display: none !important;
}

/*
| header / heading styles
*/

/* #region header / heading styles */

h1, h2, h3, h4, h5, h6
{
  color:#FFFFFF;
  /* font-family: 'League Gothic'; */
}

hr{
  background-color: #505050;
}

.sm-margin{
  margin: 0.5rem;
}

.main-heading{
  color: #ffffff;
}

.main-link{
  color: var(--paperclip-secondary-color) !important
}

.subheading{
  color: var(--paperclip-main-color);
}

.no-bottom-padding {
  padding-bottom: 0rem !important; /* Removes padding */
}

.sm-padding {
  padding: 0.25rem !important; /* Removes padding */
}

/* #endregion header / heading styles */

div.sa-fn {
  background-color: var(--complementary2);
  border-radius: 0.25rem;;
  padding: 0.5rem;
}

/*
| text styles
*/

/* #region text styles */

.text-main-color{
  color: var(--paperclip-main-color);
}

.text-secondary-color{
  color: var(--paperclip-secondary-color);
}

.text-bold{
  font-weight: bold;
}

.text-italic{
  font-style: italic;
}

/* #endregion text styles */

input:required {
  background-color: #fff3cd; /* Light yellow */
  border: 1px solid #ffc107; /* Gold */
}

select:required {
  background-color: #fff3cd; /* Light yellow */
  border: 1px solid #ffc107; /* Gold */
}

/* 
| border
*/

.border-secondary-color{
  border-color: var(--analogous) !important;
} 

/* 
| buttons
*/

/* #region buttons */

.btn-short{
  padding-top: 2px;
  padding-bottom: 2px;
}

/* primary */
.btn-primary, .btn-delete{
  font-size: 1rem;
  font-weight: 400;
  color: var(--paperclip-main-color);
  background-color: var(--navy-blue);
  border: 1px solid var(--deep-blue);
}
.btn-primary:hover{
  color: white;
  background-color: var(--analogous2);
  border: 1px solid var(--analogous2);
}
.btn-primary:focus{
  box-shadow: none !important;
  color: var(--paperclip-main-color) !important;
  background-color: var(--navy-blue) !important;
  border: 1px solid var(--paperclip-secondary-color) !important;
}
.btn-primary:active{
  box-shadow: none !important;
  color: var(--triadic-lime) !important;
  background-color: var(--navy-blue) !important;
  border: 1px solid var(--deep-blue) !important;
}
.btn-primary:disabled{
  background-color: gray !important;
  opacity: 0.5;
}
.btn-primary.sa-fn{
  border: 1px solid var(--paperclip-main-color);
  background: var(--sa-fn) !important;
  color: white;
  font-size: 0.75rem;
}
#btnCreateAutoClips

/* delete */
.btn-delete:hover{
  border: 1px solid red !important;
}

/* search */
.btn-search{
  border: 1px solid var(--analogous-green5);
  background-color: var(--monochromatic4) !important;
  font-weight: 500;
  color: white;
}
.btn-search:hover{
  border: 1px solid var(--triadic-lime);
  background-color: var(--monochromatic4) !important;
  color: var(--paperclip-main-color) !important;
}
.btn-search:focus{
  box-shadow: none !important;
  border: 1px solid var(--monochromatic4) !important;
}

/* back */
.btn-back{
  border: 1px solid var(--complementary1);
  background-color: var(--complementary1) !important;
  font-weight: 500;
  color: white;
}
.btn-back:hover{
  border: 1px solid var(--complementary2);
  background-color: var(--complementary2) !important;
  color: black !important;
}
.btn-back:focus{
  box-shadow: none !important;
  border: 1px solid var(--monochromatic4) !important;
}

/* text button (clear search) */
.btn-text{
  all: unset; /* Remove all default button styles */
  cursor: pointer;
  font-size: 16px;
  color: var(--analogous2);
}
.btn-text.sa-fn{
  color: var(--complementary2);
}

.btn-text:hover{
  text-decoration: underline;
  color: var(--analogous2);
}

.btn-text:focus{
  outline: none;
}

/* text button (clips more / less) */
.btn-text-highlight{
  all: unset; /* Remove all default button styles */
  cursor: pointer;
  font-size: 16px;
  color: var(--triadic-lime) !important;
}

.btn-text-highlight:hover{
  text-decoration: underline;
  color: var(--triadic-lime) !important;
}

.btn-text-highlight:focus{
  outline: none;
}

/* #endregion buttons */

/*
| table
*/

/* #region table */

.table-fixed-container{
  background-color: #1f2d39;
  border-radius: 0.25rem;
  padding: 0.5rem !important;
}
.table-fixed{
  width: 100%;
  table-layout: fixed;   /* Ensures the table stays within the card's width */
  word-wrap: break-word; /* Prevents content from overflowing the cells */
}

.table-simple-med{
  border-collapse: collapse; /* Ensures borders don't double up */
}
.table-simple-med th, .table-simple-med td {
  border: 1px solid silver;
  padding: 8px; /* Adds spacing inside cells */
}

/* #endregion table */

/*
| navigation bar
*/

/* #region navigation bar */

.navbar{
  font-weight: bold;
  background: var(--paperclip-background-color);
  border-bottom: 2px solid var(--paperclip-secondary-color);
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  /*background: rgba(155, 0, 0) /* Green background with 30% opacity */
  padding-top: 2px;
}

.nav-link{
  color: var(--nav-link-menu-text-color);
}

.nav-link:hover{
  /* color: rgba(255,255,255, 95%) !Important; */
  color: var(--paperclip-main-color) !important;
}

.nav-item.dropdown .dropdown-item {
  font-weight: bold;
  color: var(--nav-link-menu-text-color);
}

.nav-item.dropdown .dropdown-item:hover {
  color: var(--paperclip-main-color) !important;
  background-color: transparent;
}

.nav-item .dropdown-menu{
  /* color: rgba(255,255,255, 75%) !Important; */
  background-color: rgb(37 56 73)
}

/* nav-link drop down menu is showing items */
.nav-item.dropdown.show .nav-link.dropdown-toggle {
  color: var(--paperclip-main-color)  !important;
}

.navbar-bottom{
  background-color: #17232D !important;
  border-top: 2px solid var(--paperclip-secondary-color);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  /*background: rgba(155, 0, 0) /* Green background with 30% opacity */
  z-index: 5;  /* allows 4 layers beneath it */
}

.navbar-brand{
  margin-top: 5px;
}

#navbarSupportedContent{
  line-height: 1rem;
}

.navbar-toggler {
  padding-top: 1rem;
  padding-bottom: .5rem;
  padding-left: .5rem;
  padding-right : .8rem;
  font-size: 1.25rem;
  line-height: 1;
  border-color: transparent !important;
  border: 1px solid transparent;
  border-radius: .25rem;
  color: var(--paperclip-main-color) !important;
}

.navbar-logo-img{
  width: 70%;
  max-width: 200px;
}

.navbar-ad-img{
  width: 350px;
  padding-bottom: 4px;
  padding-top: 4px;
}

@media (max-width: 576px){ /* For screens 768px or smaller */
  .navbar-ad-img{
    width: 250px;
  }
}

/* #endregion navigation bar */

/*
| modal dialogs
*/

/* #region modal dialogs */

.model-partial-content{
  background-color: var(--paperclip-background-color);
}

.modal-content .close{
  color: white;
}

/* close button on dialog - remove the border when focused */
button[data-dismiss="modal"]:focus {
  outline: none;
}

.modal-confirm{
  border-radius: 1.25rem;
  background-color: var(--paperclip-background-color);
  color: white;
}

.modal-search{
  border-radius: 1.25rem;
  background-color: var(--paperclip-background-color);
  color: white;
}

.modal-inform{
  border-radius: 1.25rem;
  background: var(--vod-modal-color);
  color: white;
}

/* #endregion modal dialogs */

/*
| field sets
*/

/* #region field sets */

fieldset {
  border: 1px solid;
  padding: 10px;
  margin-top: 10px;
}

legend {
  font-size: 1.2rem;
  padding: 0 10px; 
  width: auto;     
  margin-bottom: -0.5rem;
}

/* #endregion field sets */

/*
| draggable
*/

/* #region draggable */

/* Draggable icon */
.draggable-icon {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  cursor: grab;
  display: none; 
  font-size: 18px;
  color: var(--paperclip-background-color);
}
/* Show the draggable icon when hovering over the input field */
.form-group .col-md-6:hover .draggable-icon {
  display: inline;
}
/* Add grab cursor when dragging */
.draggable-icon:active {
  cursor: grabbing;
}

/* #endregion draggable */

/*
| flash-message
*/

/* #region flash message */

.flash-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 20px;
  color: #155724;
  background-color: #d4edda;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  z-index: 9999;
}

.flash-message.error {
  color: #a94442;
  background-color: #f2dede;
}

.flash-message.success {
  color: #155724;
  background-color: #d4edda;
}
/* #endregion flash message */

/*
| banner
*/

.banner{
  background: url("<?php echo  asset('images/banners/img-2.jpg')?>");
  border-radius: 0px;
  background-repeat: no-repeat;
  background-size: contain;
  height: 706px;
}

/*
| video on demand
*/

/* #region video on demand */

.vod-item{
  padding: 3px !important;
  margin: 8px !important;
  min-width: 300px !important; 
  max-width: 300px !important;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  justify-content: flex-start; /* Start from the top */
}
.vod-item img {
  width: 100%; /* Fill the width of the container */
  max-height: 165px; /* Set a maximum height to control stretching */
  height: auto; /* Allow height to auto-adjust based on width */
  object-fit: cover; /* Cover the area without distortion */
  display: block; /* Prevents extra space below the image */
}
.vod-image-row {
  background-color: var(--vod-header-color);
  overflow: hidden; /* Hide any overflow */
}

.vod-item a:hover{
  text-decoration: none;
  color: #808080;
  -webkit-box-shadow: 0px 3px 15px rgba(0,0,0,0.2); /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
  -moz-box-shadow:    0px 3px 15px rgba(0,0,0,0.2); /* Firefox 3.5 - 3.6 */
  box-shadow:         0px 3px 15px rgba(0,0,0,0.2); /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}
.vod-header{
  width: 100%; 
  height: 100%;
  table-layout: fixed; /* Prevent columns from resizing */
  color:white;
  text-align: center;
  vertical-align: middle;  
  font-size: 0.85rem;
}
.vod-grid{
  width: 100%; 
  height: 100%;
  color:white;
  text-align: center;
  vertical-align: middle;  
  font-size: 0.85rem;
  border-collapse: separate; /* Use 'separate' to allow rounded borders */
  border-spacing: 0; /* Remove gaps between cells */
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-radius: 0.25rem;
  overflow: hidden; /* Ensure content stays within the rounded border */
}
.vod-grid th, .vod-grid td {
  padding: 10px;
  border-bottom: 1px solid #ddd;  
}
.vod-grid td {
  cursor: pointer;
}

.vod-header-top-round{
  border-top-left-radius: 45% 100px;
  border-top-right-radius: 45% 100px;
  background-color: var(--vod-header-color);
  font-size: 1rem;
  font-weight: bold;
}
.vod-header-top{
  background-color: var(--vod-header-color);
}
@media (max-width: 768px){ /* For screens 768px or smaller */
  .vod-grid{
    border: 2px solid #ddd;
  }
  .vod-grid-cell{
    border-bottom: none !important; /* Remove border */
  }
  .vod-grid-cell-block{
    display: none;
  }
  .vod-grid th, .vod-grid td {
    border-bottom: 2px solid #ddd;
  }  
}
@media (min-width: 769px){ /* For screens 769px or bigger */
  .vod-grid-cell-small{
    display: none;
  }  
}
.vod-footer{
  width: 100%; 
  color:white;
  text-align: center;
  vertical-align: middle;  
  /* font-size: 0.85rem; */
}
.vod-footer-left-round{
  border-bottom-left-radius: 45% 100px;
  width: 50%;
}
.vod-footer-right-round{
  border-bottom-right-radius: 45% 100px;
  width: 50%;
}
.vod-type-starting{
  background-color: var(--vod-starting-color);
}
.vod-type-views{
  background-color: var(--vod-views-color);
}
.vod-type-soon{
  background-color: var(--vod-soon-color);
}
.vod-type-live{
  background-color: var(--vod-live-color);
}
.vod-type-clip{
  background: var(--vod-clip-color);
}
.vod-type-clip-grid{
  background: var(--vod-clip-grid-color);
}
.vod-type-video{
  background-color: var(--vod-video-color);
}
.vod-type-favourite{  
  background-color: var(--vod-views-color);
  color: red;
}

/* #endregion video on demand */

/* #region videos */

.play-icon{ 
  font-size: 24px;
  color: #ffffff;
  position: absolute;
  top: 5px;
  right: 5px;
}

/* Hide the play icon */
#card-view .vod-image-row a > i {
  display: none;
}
/* Show the play icon on hover */
#card-view .vod-image-row:hover a > i {
  display: block;
}
.fixture-date-time, .fixture-venue, .fixture-date-time-venue
{
  color: var(--feature-text-color);
}
.fixture-date-time-venue
{
  text-align: center;
}

/* #endregion videos */

/*
| Card
*/

.card{
  color: #ffffff; 
  background-color: transparent;
  border: none;
}

/*
| Footer
*/

#footer {
  clear: both;
  position: relative;
  height: 233px;
  margin-top: -200px;
}

/*
| page navigation
*/
.page-link{
  color: var(--navy-blue);
  border-width: 2px;  
}
.page-link:hover{
  color: var(--paperclip-main-color);
  background-color: var(--navy-blue);
  border-color: var(--triadic-lime);
  
}
.page-item.active .page-link{
  background-color: var(--analogous2);
  border-color: var(--analogous2);
}

/*
| slider switch (checkbox)
*/

/* #region slider switch (checkbox) */

/* The outer switch container */
.switch-container {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.switch {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider track */
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

/* Circle (thumb) inside the slider */
.switch-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

/* When checked, change background to 'on' color */
input:checked + .switch-slider {
  background-color: var(--paperclip-main-color);
}

/* Move the circle (thumb) to the right when checked */
input:checked + .switch-slider:before {
  transform: translateX(36px);
}

/* Optional: Add a subtle box shadow for a more realistic feel */
.switch-slider {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

/* #endregion slider switch (checkbox) */

/*
| spinner
*/

/* #region spinner */

/* Restrict overlay to content container */
#content-container {
  position: relative;
  /* width: 100%;
  height: 100vh;
  overflow: hidden; */
}

/* Spinner overlay covering the entire screen */
.spinner-overlay {
  position: absolute; /* Change from sticky to absolute */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust for center alignment */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-out, visibility 0.5s;
}

/* Hide spinner smoothly */
.spinner-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Logo animation */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;  
  animation: pulse 2s infinite ease-in-out;
}

.logo {
  width: 100px;
  height: auto;
  animation: rotate 3s linear infinite;
}

.spin-icon {
  animation: rotate 3s linear infinite;
}

/* Content fade-in effect */
.content-hidden {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.content-visible {
  opacity: 1;
}


/* Create a gradient background with color scrolling effect */
.color-scroll {
  background: linear-gradient(270deg, var(--complementary1), var(--complementary2), var(--analogous), var(--monochromatic1), var(--complementary1));
  background-size: 1000% 100%; /* Extend gradient width for scrolling */
  border-radius: 1.25rem;
  border: none;
  color: white;
  padding: 10px 20px;
  transition: transform 0.3s;

  animation: scrollColors 3s linear infinite; /* Infinite scrolling */
  transform: scale(1.05); /* Slightly enlarge button on hover */
}

/* Keyframes for rotation */
@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Keyframes for pulse animation */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Color scrolling animation */
@keyframes scrollColors {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* #endregion spinner */

/*
| scrollbar for class "scroll-container"
*/

/* Custom scrollbar for Webkit-based browsers (Chrome, Safari) */
.scroll-container::-webkit-scrollbar {
  width: 12px;
}

/* Scrollbar Handle */
.scroll-container::-webkit-scrollbar-thumb {
  background-color:var(--deep-blue);
  border-radius: 10px;
}

/* Scrollbar Handle on Hover */
.scroll-container::-webkit-scrollbar-thumb:hover {
  background-color: var(--deep-blue);
}

/* Scrollbar Track Background */
.scroll-container::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

/* Custom scrollbar colors for Firefox */
.scroll-container {
  scrollbar-color: var(--deep-blue) #f1f1f1;
}

/*
| media
*/

/* Media Queries for Responsiveness */
/* height <= 600px */
@media only screen and (max-height: 600px) and (orientation: landscape) {
  .navbar-bottom {
    display: none;  /* Or use any other styles to collapse it */
  }
} 

/* screens <= 915px The newer phones have more pixels than the traditional 768px */
/* Hide the bottom navbar in landscape mode */
/* @media only screen and (max-width: 915px) and (orientation: landscape) {
  .bottom-navbar {
    display: none;
  }
} */


/* 
576px sm
768px md
992px lg
1200px xl
1400px 
*/
