/* ----------------------------------------------------------------
Copyright (c) Demosphere International Inc.
No permission is granted for any purpose without prior
written consent from Demosphere International Inc.
-------------------------------------------------------------------*/

/* PAGE STRUCTURE */
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #021c3d;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Wrapper */
#design-wrapper {
  margin: 0;
  padding: 0;
  width: 100%;
  background: #fff;
  overflow: hidden;
}

/* TOP LINKS */
#design-links {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 30px;
  background: #70bc1f;
  border-bottom: 1px solid #ffffff;
  text-align: right;
  box-sizing: border-box;
}

#design-links a {
  margin-left: 10px;
  font-family: 'Helvetica Neue';
  font-weight: 600;
  font-size: 12px;
  color: #ffffff;
  line-height: 30px;
  text-decoration: none;
  transition: all ease-in-out .3s;
}
#design-links a:hover { color: #021c3d; }
#design-links a.fa { font-family: 'FontAwesome'; font-weight: 400; font-size: 16px; }

/* Header */
#design-header-wrapper {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 135px;
  background: #021c3d url('../images/header-bg.jpg') repeat-x;
  border-bottom: 1px solid #70bc1f;
  box-sizing: border-box;
}

#design-logo { position: absolute; top: 0; left: 0; z-index: 201; }
#design-logo img { height: 135px; }

#design-leagues {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 201;
  display: flex;
  align-items: center;
  column-gap: 10px;
}
#design-leagues img { height: 70px; }

#design-nav-wrapper {
  position: absolute;
  top: 85px;
  left: 0;
  padding: 0 15px;
  width: 100%;
  height: 50px;
  text-align: right;
  box-sizing: border-box;
}
#design-nav-wrapper #design-container-main-nav { width: 100%; height: 50px; }

/* Main */
#design-page-title {
  padding: 20px 0;
  background: #021c3d;
  border-bottom: 1px solid #70bc1f;
}

#design-main-top {
  padding: 0;
  background: #021c3d;
}
#design-main-top .container-fluid { padding: 0; }

#design-main-1 {
  padding: 30px 0 0 0;
  background: #fff;
}

#design-main-2 {
  padding: 30px 0 0 0;
  background: linear-gradient(to bottom, #ebebeb 0%, #ffffff 100%);
  border-top: none;
  margin-top: -20px;
}

#design-main-3 {
  background: #021c3d;
  border-top: none;
}
#design-main-3 .container {
  padding: 10px 0 0 0;
  background: #021c3d;
  /* box-shadow: 12px 0 8px -8px rgba(0,0,0,0.2), -12px 0 8px -8px rgba(0,0,0,0.2); */
}

/* Sponsors */
#design-sponsors {
  padding: 30px 0;
  background: #fff;
  text-align: center;
}

#design-sponsors .dii-content-image { display: inline-block; margin: 10px; }
#design-sponsors .dii-content .dii-content-title-photo { margin: 0; border: none; }

#design-sponsors #design-container-2 .dii-content .dii-content-title-photo img,
#design-sponsors #design-container-3 .dii-content .dii-content-title-photo img { max-height: 120px; }

#design-sponsors #design-container-12 .dii-content .dii-content-title-photo img { max-height: 80px; }

#design-container-main { margin: 0 0 30px 0; padding: 0; }

#design-main-2 .dii-container { margin: 0 0 30px 0; min-height: 300px; background: #fff; }
#design-main-4 .dii-container { margin: 0 0 30px 0; min-height: 300px; background: #fff; box-shadow: 0px 0px 5px rgba(0,0,0,0.3); }

/* Footer */
#design-footer {
  margin: 0;
  padding: 15px 0;
  width: 100%;
  height: 100%;
  background: #021c3d;
  border-top: 5px solid #70bc1f;
}

#design-footer #design-footer-left { float: left; padding-left: 10px; }
#design-footer #design-footer-right { float: right; }

#design-footer #design-footer-left .design-copyright,
#design-footer #design-footer-left .design-copyright a {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  text-decoration: none;
}
#design-footer #design-footer-left .design-copyright:first-of-type { margin-top: 5px; font-weight: 700; }

#design-footer .dii-logo { height: 45px; }

/* CONTENT */

/* General */
body .dii-content {
  overflow: visible;
  position: relative;
  margin: 0;
  padding: 8px;
  background: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #4a4a4a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body .dii-content a { color: #021c3d; text-decoration: none; }
body .dii-content a:hover { color: #70bc1f; }

/* Titles */
body .dii-content-title { padding: 4px; }
body .dii-content-title a {
  padding: 0;
  font-family: 'Neue Helvetica', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #000;
  line-height: 1.1;
  text-decoration: none;
  text-transform: none;
}
body .dii-content-title a:hover { color: #000; }

body .dii-content-calendar h2,
body .dii-content-rawcode h2 {
  margin-bottom: 6px;
  padding: 4px;
  font-family: 'Neue Helvetica', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #000;
  line-height: 1.1;
}

/* ======================================================
   SECTION HEADERS (UPDATED)
   - Green bar (#70bc1f)
   - White text
   - Bebas Neue
   - 30px
   - Width matches article links (Option A: same 10px side margin)
   ====================================================== */

body .dii-content-header {
  position: relative;
  margin: 15px 10px 10px 10px; /* match .dii-content-linkview */
  padding: 0;
  background: #70bc1f;
  border: none;
  text-align: center;
  box-sizing: border-box;
}

body .dii-content-header h2 {
  margin: 0;
  padding: 8px 14px;
  height: auto;                 /* avoid forced height issues */
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

/* Keep your page title override intact */
body #design-page-title .dii-content-header {
  height: 100%;
  min-height: 60px;
  background: #70bc1f;
  border: none;
  margin: 0; /* page title usually full width */
}
body #design-page-title .dii-content-header h2 {
  padding: 10px 14px;
  min-height: 60px;
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: none;
}

/* Main-1 header override: keep left-align but same look */
body #design-main-1 .dii-content-header { text-align: left; }
body #design-main-1 .dii-content-header h2 {
  padding: 8px 14px;
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  text-align: left;
}

/* Sponsors header: keep compact */
body #design-sponsors .dii-content-header {
  margin: 10px 10px 10px 10px; /* align width consistently */
}
body #design-sponsors .dii-content-header h2 {
  padding: 6px 14px;
  font-size: 30px;
  line-height: 1.2;
  text-align: center;
}

/* ======================================================
   LINKS (UPDATED ARTICLE/LINKVIEW ROWS)
   - Navy background (#021c3d)
   - White text
   - Hover: green background, navy text
   ====================================================== */

body .dii-content-linkview { margin: 0 10px; padding: 0; }

body .dii-content-linkview > a,
body .dii-content-linkview a.dii-content-linkview-link {
  display: block;
  margin: 0;
  padding: 14px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  background: #021c3d;
  border-bottom: none;
  transition: all ease-in-out .25s;
}

body .dii-content-linkview > a *,
body .dii-content-linkview a.dii-content-linkview-link * { color: #ffffff; }

body .dii-content-linkview > a:hover,
body .dii-content-linkview a.dii-content-linkview-link:hover {
  background: #70bc1f;
  color: #021c3d;
  text-decoration: none;
}
body .dii-content-linkview > a:hover *,
body .dii-content-linkview a.dii-content-linkview-link:hover * { color: #021c3d; }

body .dii-content-linkview a.dii-content-linkview-link span { background-image: none; }
body .dii-content-linkview a.dii-content-linkview-link i { display: none; }

/* Preserve your special main-1 linkview styling */
body #design-main-1 .dii-content-linkview > a {
  padding: 10px;
  font-size: 30px;
  font-weight: 800;
  color: #3a3a3a;
  line-height: 1.0;
  border: none;
  text-align: center;
  text-transform: uppercase;
  background: none; /* keep original style */
}
body #design-main-1 .dii-content-linkview { margin: 0; background: url('../images/title-bg.jpg') repeat-x; }

/* Articles */
body .dii-content h3 { padding: 3px 4px; font-size: 16px; font-weight: 400; color: #666; }

body .dii-content .dii-content-story {
  margin-top: 0;
  padding: 6px 4px;
  border-top: none;
  font-size: 14px;
  color: #000;
}
body .dii-content .dii-content-story,
body .dii-content .dii-content-story * { line-height: 1.5; }

body .dii-content .dii-content-story a { color: #021c3d; }
body .dii-content .dii-content-story a:hover { color: #70bc1f; text-decoration: none; }

body .dii-content-continue {
  margin: 0;
  padding: 0 4px;
  margin-bottom: 4px;
  text-align: left;
  text-transform: uppercase;
}
body .dii-content-continue a {
  font-weight: 700;
  font-size: inherit;
  color: #021c3d;
  text-decoration: none;
}
body .dii-content-continue a:hover { color: #70bc1f; background: none; }
body .dii-content-continue a::before { content: "read more "; }
body .dii-content-continue a::after { content: ""; }

body .dii-content.dii-content-event { margin-top: 4px; padding: 8px; }

/* Calendars */
body #dii-full-calendar { margin: 6px 28px; }
body .dii-calendar-wall table td { padding: 0; }
body .dii-calendar-wall .fc-button { margin-bottom: 2px; }
body .dii-calendar-wall .fc-header-title { padding: 2px 4px; font-size: 16px; font-weight: 700; color: #021c3d; }

body .dii-calendar-upcoming-events { font-size: 14px; color: #000; }
body .dii-calendar-upcoming-events .dii-bold { font-weight: 400; }
body .dii-calendar-upcoming-events li { margin: 0 5px; padding: 5px 8px; font-weight: 400; }

body .dii-calendar-upcoming-events li h4 {
  padding: 2px 0 0 0;
  background: none;
  font-size: 14px;
  font-weight: 700;
  color: #021c3d;
  line-height: 1.2;
  text-align: center;
}

body .dii-calendar-upcoming-events li h3 a {
  padding: 2px 0 0 0;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.2;
}
body .dii-calendar-upcoming-events li h3 a:hover {
  background: none;
  font-weight: 400;
  color: #70bc1f;
}

/* Rawcode */
body .dii-content.dii-content-rawcode > iframe { padding: 0; }

/* Responsive Rotator */
body .dii-content.dii-content-rotator { margin: 0; box-sizing: border-box; }
body .dii-content.dii-content-rotator article { background-color: #021c3d; }

body .dii-content-rotator .list-none { min-height: 100px; }
body .dii-content-rotator article h2 { margin: 0 0 10px 0 !important; }

body .dii-content-rotator article h2.no-url,
body .dii-content-rotator article h2 a {
  font-family: 'Neue Helvetica', sans-serif;
  font-size: 45px;
  font-weight: 800;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body .dii-content-rotator article h2 a:hover { background: none; color: #70bc1f; text-decoration: none; }

body .dii-content-rotator article h3 {
  margin-bottom: 10px;
  padding: 6px 0 0 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

body .dii-content-rotator article .article-story {
  padding: 0 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

body .dii-content-rotator article .article-more {
  font-family: 'Neue Helvetica', sans-serif;
  font-size: 18px;
  color: #70bc1f;
  transition: all 0.3s ease-in-out;
}
body .dii-content-rotator article .article-more:hover { background: none; border: none; color: #70bc1f; text-decoration: none; }
body .dii-content-rotator article .article-more:before { content: "read more"; }
body .dii-content-rotator article .article-more:after { content: ""; }

body .dii-content-rotator .dii-rotator-nav {
  top: auto;
  left: auto;
  bottom: 10px;
  width: 100%;
  background: none;
  border: none;
  text-align: center;
}
body .dii-content-rotator .dii-rotator-nav i { margin: 0 5px; font-size: 14px; color: rgba(255, 255, 255, 0.4); }
body .dii-content-rotator .dii-rotator-nav i.rotator-active { color: #fff; }
body .dii-content-rotator .dii-rotator-nav i:hover:not(.fa-circle) { color: #70bc1f; }

body .dii-content-rotator .rotator-group .group-nav:hover { background: none; text-decoration: none; }
body .dii-content-rotator .rotator-group .group-item span {
  opacity: 1.0;
  background: rgba(255, 255, 255, 0.7);
  font-family: 'Neue Helvetica', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #000;
  line-height: 1.0;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body .dii-content-rotator .rotator-group .group-item span:hover { background: rgba(255, 255, 255, 1.0); color: #db0828; }

body #design-sponsors .dii-content.dii-content-rotator article { background-color: #fff; }

/* MENUS */
#design-container-main-nav .dii-content-nav-menu > ul > li > a.dii-sub-menu-link {
  display: block;
  height: 50px;
  margin: 0;
  padding: 0 12px;
  background: none;
  border: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 50px;
  letter-spacing: 1px;
  text-shadow: 0px 0px 4px rgba(0,0,0,0.5);
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}
#design-container-main-nav .dii-content-nav-menu > ul > li:hover > a.dii-sub-menu-link { background: #021c3d; color: #fff; cursor: pointer; }
#design-container-main-nav .dii-content-nav-menu.theme-none ul li:hover { background: none; }
#design-container-main-nav .dii-content-nav-menu > ul ul { padding: 0; background-color: #021c3d; }
#design-container-main-nav .dii-content-nav-menu ul ul li a { padding: 14px; box-sizing: border-box; }
#design-container-main-nav .dii-content-nav-menu > ul > li:hover > ul { top: 50px; }
#design-container-main-nav .dii-content-nav-menu > ul ul li > a { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 400; color: #fff; line-height: 1.2; text-align: left; transition: all 0.2s ease-in-out; }
#design-container-main-nav .dii-content-nav-menu > ul ul li:hover > a.dii-sub-menu-link { background: #70bc1f; color: #021c3d; }
#design-container-main-nav .dii-content-nav-menu li.dii-menu-item-sub-menu > a.dii-sub-menu-icon::before { content: "\f054"; color: rgba(255, 255, 255, 0.4); }

/* MOBILE */

/* min */
@media screen and (min-width: 1700px) {
  #design-wrapper .container { width: 1600px; }
}

@media screen and (min-width: 1600px) {
  #design-wrapper .container { width: 1400px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #design-wrapper .container { width: 100%; }
}

/* max */
@media screen and (max-width: 1400px) {
  body #design-main-top .dii-content.dii-content-rotator .dii-rotator-wrapper,
  body #design-main-top .dii-content-rotator .list-none article { max-height: 430px; }
}

@media screen and (max-width: 1200px) {
  body #design-main-top .dii-content.dii-content-rotator .dii-rotator-wrapper,
  body #design-main-top .dii-content-rotator .list-none article { max-height: 380px; }
}

@media screen and (max-width: 1024px) {

  #design-header-wrapper { height: 110px; }
  #design-logo { top: 10px; }
  #design-logo img { height: 90px; }
  #design-leagues img { height: 55px; }

  #design-nav-wrapper { top: 60px; }
  #design-container-main-nav .dii-content-nav-menu > ul > li > a.dii-sub-menu-link { padding: 0 10px; font-size: 17px; }

  body #design-main-top .dii-content.dii-content-rotator .dii-rotator-wrapper,
  body #design-main-top .dii-content-rotator .list-none article { max-height: 320px; }
}

@media screen and (max-width: 900px) {

  #design-nav-wrapper,
  #design-nav-wrapper #design-container-main-nav { padding: 0; }

  #design-nav-wrapper #design-container-main-nav #ww-btn-main-nav {
    padding: 0 5px;
    height: 50px;
    background: none;
    border: 0 none;
    font-family: 'Neue Helvetica', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 50px;
    text-align: right;
    text-shadow: 0px 0px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
    box-sizing: border-box;
  }

  #design-nav-wrapper #design-container-main-nav #ww-btn-main-nav i {
    margin: 0 15px 0 0;
    height: 50px;
    font-size: 16px;
    line-height: 50px;
  }
  #design-nav-wrapper #design-container-main-nav #ww-btn-main-nav i.caret { display: none; }

  #design-nav-wrapper #design-container-main-nav .dii-content-nav-menu > ul {
    padding: 5px 10px;
    width: 100%;
    background: #021c3d;
    z-index: 100;
    box-sizing: border-box;
  }

  #design-nav-wrapper #design-container-main-nav .dii-content-nav-menu > ul > li > a.dii-sub-menu-link {
    padding: 0 10px;
    height: auto;
    background-image: none;
    color: #fff;
    line-height: 30px;
    text-align: left;
    text-shadow: none;
  }

  #design-nav-wrapper #design-container-main-nav .dii-content-nav-menu > ul > li:hover > a.dii-sub-menu-link {
    background: #70bc1f;
    color: #021c3d;
  }

  #design-nav-wrapper #design-container-main-nav .dii-content-nav-menu > ul > li > a:after,
  #design-nav-wrapper #design-container-main-nav .dii-content-nav-menu > ul > li.dii-menu-item-sub-menu > a::after { content: ""; }

  #design-nav-wrapper #design-container-main-nav .dii-content-nav-menu > ul > li:hover > ul { top: 30px; }

  #design-nav-wrapper #design-container-main-nav .dii-content-nav-menu > ul li.dii-menu-item-sub-menu > ul {
    background: #021c3d;
    color: #fff;
    text-shadow: none;
  }

  #design-nav-wrapper #design-container-main-nav .dii-content-nav-menu > ul li.dii-menu-item-sub-menu:hover > a {
    background: #70bc1f;
    color: #fff;
    text-shadow: none;
  }

  #design-nav-wrapper #design-container-main-nav .dii-content-nav-menu.horizontal li.dii-menu-item-sub-menu > a.dii-sub-menu-icon::before {
    line-height: 30px !important;
  }
}

@media screen and (max-width: 850px) {

  body #design-main-top .dii-content.dii-content-rotator .dii-rotator-wrapper,
  body #design-main-top .dii-content-rotator .list-none article { max-height: 280px; }

  .dii-content-nav-menu.horizontal:not(.theme-none) > ul > li,
  .dii-content-nav-menu.horizontal > ul,
  .dii-content-nav-menu.horizontal > ul > li,
  .dii-content-nav-menu.horizontal > ul > li > a.dii-sub-menu-link { display: block; }

  .dii-content.dii-content-nav-menu > ul > li.dii-menu-item-sub-menu > .dii-sub-menu-icon { display: block; height: 100%; }

  #design-container-main-nav .dii-content-nav-menu.horizontal li.dii-menu-item-sub-menu > .dii-sub-menu-icon::before {
    top: 0;
    font-size: 30px;
    right: 10px;
  }

  #design-container-main-nav .dii-content-nav-menu ul ul a.dii-sub-menu-link::after,
  #design-container-main-nav .dii-content-nav-menu.horizontal ul ul li.dii-menu-item-sub-menu > a::after {
    display: none;
    content: none;
  }
}

@media screen and (max-width: 768px) {

  #design-header-wrapper { height: 110px; }
  #design-logo { top: 10px; }
  #design-logo img { height: 90px; }
  #design-leagues img { height: 55px; }

  body #design-page-title .dii-content-header { text-align: center; }
  body #design-page-title .dii-content-header { min-height: 40px; }
  body #design-page-title .dii-content-header h2 { min-height: 40px; font-size: 30px; text-align: center; }
}

@media screen and (max-width: 667px) {

  #design-footer { margin: 0; width: 100%; }
  #design-footer #design-footer-left {
    display: block;
    margin: 0;
    padding-top: 15px;
    width: 100%;
    text-align: center;
  }
  #design-footer #design-footer-right {
    display: block;
    margin: 5px 0 0 0;
    width: 100%;
    text-align: center;
  }

  body #design-main-top .dii-content.dii-content-rotator .dii-rotator-wrapper,
  body #design-main-top .dii-content-rotator .list-none article { max-height: 230px; }

  #design-sponsors #design-container-12 .dii-content .dii-content-title-photo img { max-height: 60px; }
}

@media screen and (max-width: 480px) {

  #design-header-wrapper { height: 100px; }
  #design-logo { top: 10px; }
  #design-logo img { height: 80px; }
  #design-leagues img { height: 50px; }

  #design-nav-wrapper { top: 50px; }

  body #design-main-top .dii-content.dii-content-rotator .dii-rotator-wrapper,
  body #design-main-top .dii-content-rotator .list-none article { max-height: 180px; }
}

@media screen and (max-width: 420px) {

  #design-header-wrapper { height: 90px; }
  #design-logo img { height: 70px; }
  #design-leagues { top: 12px; }
  #design-leagues img { height: 40px; }

  #design-nav-wrapper { top: 45px; }
}

@media screen and (max-width: 375px) {

  body #design-main-top .dii-content.dii-content-rotator .dii-rotator-wrapper,
  body #design-main-top .dii-content-rotator .list-none article { max-height: 150px; }
}

/* Full-width section header above containers */

/* Center and space out the three containers below */
#design-main-1 .row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

#design-main-1 .col-md-3 {
  max-width: 300px; /* keeps the containers uniform in width */
}

/* Ensure Demosphere content centers properly */
#design-main-1 .dii-container { text-align: center; }
