/* CSS file for Bolton Metro Swim Squad
   Webpages created by SportsSystems
   Styled by BMSS */

/* ================================================================================ */
/*                                                                                  */
/*                     @@   @@   @@     #@   ,@(   @&                               */
/*                     @@@@@@@@@@@@     #@@@@@@@@@@@&                               */
/*                     /@@@@@@@@@@/     ,&@@@@@@@@@@*                               */
/*                     @@@@@@@@@@@%      @@@@@@@@@@@                                */
/*                     @@@@   .@@@@*@@@@%@@@@   @@@@@                               */
/*                    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.                              */
/*                   ,@@@@@   .@@@@@@@@@@@@@@   @@@@@@                              */
/*                   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*  .*(%&*                     */
/*                  #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@(                 */
/*                @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%               */
/*              @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@              */
/*            &@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%     (@@@   */
/*           (@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@(    #@@    */
/*           @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@       @@@ */
/*           @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.     %@@ */
/*           @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@        *@@@@@    %@@@ */
/*           @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.           (@@@@@@@@@@@ */
/*    /@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@               @@@@@@@@* */
/*            @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                         */
/*           @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                       */
/*         @@@@@@@@@@,.@@@@@@@@               @@@@@@@@@@@@@@@@@.                    */
/*        ,@@@@@@@.   ,@@@@@@@*               @@@@@@@   &@@@@@@@@                   */
/*        @@@@@@@     @@@@@@@                 @@@@@@*       @@@@@                   */
/*       @@@@@@@     .@@@@@@                 @@@@@@@       *@@@@@#                  */
/*      /@@@@@@@.    @@@@@@@                 @@@@@@@,      @@@@@@@                  */
/*                                                                                  */
/* ================================================================================ */

/* ================================================================================ */
/* CSS Variables                                                                    */
/* ================================================================================ */

:root {
  /* ============================================================================ */
  /* Primitives - Raw palette values                                             */
  /* ============================================================================ */
  --black-100: #110F11;
  --black-200: #1A1A1A;
  --black-300: #2A2A2A;

  --white-100: #ffffff;
  --white-200: #C7C4C3;
  --white-300: #9E9E9E;

  /* ============================================================================ */
  /* Semantic - Purpose-based assignments                                        */
  /* ============================================================================ */

  /* Backgrounds */
  --bg-page: var(--black-100);
  --bg-row-odd: var(--black-100);
  --bg-row-even: var(--black-200);
  --bg-header: var(--black-300);

  /* Text */
  --text-primary: var(--white-100);
  --text-secondary: var(--white-200);
  --text-muted: var(--white-300);

  /* Typography */
  --font-family: Helvetica, Arial, sans-serif;
  --font-size-base: 76%;
  --font-size-small: 12px;

  /* Spacing */
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 20px;
  --spacing-xl: 24px;
  --spacing-xxl: 40px;

  /* Table */
  --table-row-height: 30px;
}

/* ================================================================================ */
/* Base Styles                                                                      */
/* ================================================================================ */

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-page);
  margin-top: 64px;
  text-align: center;
  height: 100%;
}

/* ================================================================================ */
/* Typography                                                                       */
/* ================================================================================ */

h1, h2, h3, h5 {
  font-family: var(--font-family);
  text-align: center;
  color: var(--text-primary);
  font-weight: 400;
  margin-block-start: 0;
  margin-block-end: 0.4em;
}

h1 {
  padding-bottom: var(--spacing-xxl);
}

h3 {
  font-size: 16px;
}

h5 {
  text-align: center;
}

a {
  color:red;
}

p.caption {
  font-size: var(--font-size-small);
  color: var(--text-muted);
}

/* ================================================================================ */
/* Links                                                                            */
/* ================================================================================ */

a:link,
a:visited {
  text-decoration: none;
  color: var(--text-primary);
}

a:hover {
  text-decoration: underline;
}

/* ================================================================================ */
/* Layout Components                                                                */
/* ================================================================================ */

.logo {
  margin: var(--spacing-xxl) auto;
  text-align: center;
  display: block;
}

#welcome {
  text-align: center;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ================================================================================ */
/* Tables - Base                                                                    */
/* ================================================================================ */

.table-container {
  padding: 0 var(--spacing-sm) var(--spacing-xl) var(--spacing-sm);
}

tr {
  height: var(--table-row-height);
}

td {
  padding: var(--spacing-md);
  color: var(--text-secondary);
  vertical-align: middle;
  font-size: var(--font-size-base);
  height: var(--spacing-lg);
}

/* ================================================================================ */
/* Tables - SportSys Generated Classes                                              */
/*                                                                                  */
/* The system generates these class patterns:                                       */
/* - t2: Header cells                                                               */
/* - t1_*: Odd rows (transparent background)                                        */
/* - t4_*: Even rows (zebra stripe - grey background)                               */
/* - t5_*: Alternate odd rows                                                       */
/* - t6_*: Alternate even rows                                                      */
/* - Suffixes: _left, _right, _centre, _split                                       */
/* ================================================================================ */

/* Header cells */
td.t2 {
  font-weight: normal;
  background: var(--bg-header);
  text-align: center;
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
}

/* Text alignment - Left */
td.t1_left,
td.t4_left,
td.t5_left,
td.t6_left {
  text-align: left;
}

/* Text alignment - Right */
td.t1_right,
td.t1_split,
td.t4_right,
td.t4_split,
td.t5_right,
td.t6_right {
  text-align: right;
}

/* Text alignment - Center */
td.t1_centre,
td.t4_centre,
td.t5_centre,
td.t6_centre {
  text-align: center;
}

/* Background - Odd rows (transparent) */
td.t1_left,
td.t1_right,
td.t1_centre,
td.t1_split,
td.t5_left,
td.t5_right,
td.t5_centre {
  background: var(--bg-row-odd);
}

/* Background - Even rows (zebra stripe) */
td.t4_left,
td.t4_right,
td.t4_centre,
td.t4_split,
td.t6_left,
td.t6_right,
td.t6_centre {
  background: var(--bg-row-even);
}

/* ================================================================================ */
/* Tables - Width Classes                                                           */
/* ================================================================================ */

td.wide { width: 100%; }
td.half { width: 50%; }
td.three-quarters { width: 68%; }
td.one-sixth { width: 16%; }

/* ================================================================================ */
/* Services Section (before.htm sidebar)                                            */
/* ================================================================================ */

#services td {
  padding-top: 0;
  padding-bottom: 0;
}

/* ================================================================================ */
/* Utility Classes                                                                  */
/* ================================================================================ */

.center {
  text-align: center;
}

.padding-top-20 {
  padding-top: var(--spacing-lg);
}
