/*  COLOURS
Main blue: #7e779c;
Darker blue: #5e5584;
Light blue: #afabc0;
lightest blue: #e7e6eb;

New:
Darkest: #25465A;
Dark: #446274;
Main: #6B8290;
Light: #A0AEB6;
Lightest: #E2E6E8;
Lightester: #F7FCFE

*/
/* GENERAL STYLES __________________________________________________________*/
html {
  box-sizing: border-box;
}
  
*, *:before, *:after {
  box-sizing: inherit;
}
  
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #535353;
  line-height: 1.75;
  background-color: #F7FCFE;
}
  
main, aside {
  padding: 11em 0 5em;
  margin-left: 15px;
  margin-right: 15px;
}
  
button {
  cursor: pointer;
  border: none;
}
  
img {
  max-width: 100%;
  height: auto;
}

.flow > * + * {
  margin-top: 2rem;
}

.container {
  margin: 0;
  padding: 0;
  width: 100%;
}

.phone-alert {display: none;}

  /* Page headers */
.page-header {
  display: block;
  margin-bottom: 25px;
}

.page-header h1 {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 25pt;
  text-align: center;
  color: #535353;
}

.page-header h1 {
  margin-bottom: 25px;
}

.page-header h2, .eprime-news h2 {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 16pt;
  font-weight: bold;
  text-align: center;
  color: #535353;
}

.page-header ul {
  padding: 0;
  width: 50%;
  margin: auto;
  text-align: center;
}

.page-header li {
  font-size: 16px;
  list-style-type: none;
}

  /* NAVBAR STYLES __________________________________________________________*/
/* Logo */
.ep-logo {
  display: block;
  float: left;
  margin-top: 1px;
  margin-left: 2px;
  margin-right: 10px;
  cursor: default;
}

.logo {
  max-height: 50px;
  display: block;
}

/* Navbar */
.topnav-fixed {
  position:fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}

.navbar-container {
  margin: 0;
  padding-top: 10px;
  width: 100%;
}

.topnav-fixed .navbar-container {
  position: relative;
  background-color: #6B8290;
  min-height: 65px;
}

.navbar {
  margin: 10px 0 0 100px;
  overflow: hidden;
}

.navbar .nav-link {
  float: left;
  display: block;
  color: #f1f1f1;
  padding: 10px 16px;
  font-size: 16px;
  font-family: inherit;
  line-height: inherit;
  text-align: center;
  text-decoration: none;
}

.navbar .dropdown-container,
.watchlist-links .dropdown-container {
  margin: 0;
  float: left;
  overflow: hidden;
}

.navbar-header .navbar-toggle {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  float: right;
  font-size: 15px;
  padding: 9px 12px;
  background-color: #A0AEB6;
  color: #444;
  border: 1px solid #f1f1f1;
  border-radius: 4px;
}

.navbar-header .navbar-toggle:focus {
  background-color: #446274;
  color: #f1f1f1;
}

/* Nav Dropdown */
.navbar .dropdown-container .dropdown-btn,
.watchlist-links .dropdown-container .dropdown-btn{
  font-size: 16px;
  font-family: inherit;
  line-height: inherit;
  border: none;
  outline: none;
  color: #f1f1f1;
  background-color: #6B8290;
  padding: 10px 12px;
  min-width: 160px;
}

.navbar .dropdown-container .dropdown-btn,
.navbar .nav-link {
  border-radius: 7px 7px 0 0;
}

.caret-down:after {
  margin-left: 5px;
  content: "\25be";
  color: white;
}

.caret-up:after {
  margin-left: 5px;
  content: "\25b4";
  color: white;
}

.navbar .dropdown-content,
.watchlist-links .dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  border-top: 5px solid #446274;
  min-width: 160px;
  z-index: 98;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.navbar .dropdown-content a,
.watchlist-links .dropdown-content a {
  font-size: inherit;
  float: none;
  color: #535353;
  padding: 10px 16px;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  display: block;
  text-align: left;
}

.watchlist-links .dropdown-header,
.dropdown-content .dropdown-header {
  text-align: center;
  background-color: #A0AEB6;
  border-bottom: 2px solid #6B8290;
  color: #f1f1f1;
  font-size: 16px;
}

.watchlist-links .dropdown-header.sub-cat {
  background-color: #446274;
}

.navbar .nav-link:hover,
.navbar .dropdown-container:hover .dropdown-btn,
.watchlist-links a:hover,
.watchlist-links .dropdown-container:hover .dropdown-btn {
  background-color: #A0AEB6;
}

.navbar .dropdown-content a:hover,
.watchlist-links .dropdown-content a:hover  {
  background-color: #ddd;
}

.dropdown-content.expand {
  display: block;
}

/* SPONSOR STYLES __________________________________________________________*/
/* Inline sponsors */
.sponsor-container {
  width: 633px;
  margin: auto;
  margin-top: 5px;
}

.sponsor-container td {
  background-color: #F7FCFE !important;
  padding-top: 8px !important;
}

.sponsor-container:hover td {
  background-color: #F7FCFE !important;
  border-top: none !important;
  border-bottom: none !important;
}

.sponsor img {
  width: 120px;
  height: auto;
}

.sponsor.mobile {
  display: none;
}

/* Prime Sponsors */
.prime-sponsor-container {
  width:100%;
  margin-top: 15px;
  margin-bottom: 25px;
  padding: 20px;
}

.prime-sponsors {
  width: 50%;
  float: left;
  height: auto;
}

.prime-sponsor {
  padding: 5px;
  margin-left: 15px;
  margin-right: 15px;
}

#prime-sponsor-1, #prime-sponsor-3 {
  float: right;
}

#prime-sponsor-2, #prime-sponsor-4 {
  float: left;
}

#sponsor-1,
#sponsor-2,
#sponsor-3,
#sponsor-4 {
  width: 400px;
  height: auto;
}

/* ARTICLE STYLES __________________________________________________________*/
.eprime-news {
  width: 50%;
  margin: auto;
  /*margin-top: 15px;*/
}

.article-container {
  margin: auto;
  width: 50%;
}

.eprime-article {
  width: 100%;
  padding: 15px;
  margin: 0;
  margin-top: 20px;
  margin-bottom: 30px;
  color: #111;
}

.eprime-article .footnote {
  margin: auto;
  margin-top: 50px;
  padding: 10px;
}

.eprime-article h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 26px;
}

.eprime-article h4 {
  /*width: 100%;
  margin: auto;*/
  margin-bottom: 2px;
  text-align: left;
  font-size: 18px;
}

.eprime-article h4 a {
  color: #414141;
  font: inherit;
  font-weight: bold;
  font-size: 30px;
  line-height: 1.15;
  text-decoration: none;
}

.eprime-article h4 a:hover{
  color: #6B8290;
}

.eprime-article h5 {
  margin: 0;
  padding: 0;
  color: #888181;
  font-weight: normal;
}

.article-img {
  width: 150px;
  height: auto;
  margin: 0;
  margin-top: 5px;
  margin-right: 20px;
  float: left;
}

.article-text {
  font: inherit;
  padding: 10px;
  font-size: 16px;
}

/* WATCHLIST LINKS __________________________________________________________*/
.watchlist-links {
  width: 100%;
  margin-left: 10px;
  margin-right: 10px;
}

.watchlist-links .dropdown-container, .wl-link {
  margin: 5px;
}

.watchlist-links .dropdown-btn {
  width: 200px;
}

.watchlist-links .dropdown-content {
  min-width: 200px;
}

.wl-link {
  display: block;
  float: left;
  background-color: #6B8290;
  color: #f1f1f1;
  padding: 10px 20px;
  width: 200px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

/* WATCHLIST STYLES */
.watchlist-item {
  display: block;
  position: relative;
  font-style: inherit;
  background-color: #f1f1f1;
  color: #535353;
  width: 100%;
  margin: auto;
  padding: 12px 10px;
  text-align: left;
  border: none;
  outline: none;
  border-bottom: 1px solid #c1c1c1;
}

.watchlist-item:hover {
  background: #e5e5e5;
}

.watchlist-header {
  height: 45px;
  font-weight: bold;
  background-color: #e1e1e1;
  border: 1px solid #a0aeb6;
  cursor: default;
}

.watchlist-header:hover {
  background: #e1e1e1;
  color:#535353;
}

.watchlist-sub {
  float: right;
  width: 57%;
  margin-right: 20px;
}

.sub-item {
  float: left;
  text-align: right;
}

.sub-item.exchange{
  width: 50%;
}
.sub-item.chat{
  width: 25%;
}
.sub-item.sedi{
  width: 25%;
}

.ceo-link {
  display: inline-block;
  text-decoration: none;
  padding: 0 5px;
  border: none;
  background: rgba(120, 200, 240, 0.3);
  color: #0c5583;
  cursor: pointer;
}

.ceo-link:hover {
  background: rgba(120, 200, 240, 0.75);
}

.watchlist-mobile {
  display: none;
}

/* CONTEST STYLES __________________________________________________________*/
/* Contest Tables */
.spc-table {
  width: 50%;
  margin: auto;
  border-collapse: collapse;
}
.spc-table.raw-data {
  width: 25%;
  min-width: 200px;
  text-align: center;
}
.spc-table.prev-year {
  width: 100%;
}

.spc-table th {
  color: #D5DDE5;
  background: #1b1e24;
  border-bottom:4px solid #9ea7af;
  border-right: 1px solid #343a45;
  font-size:16px;
  font-weight: 100;
  padding: 2px 5px;
  margin: 0;
  text-align:left;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  vertical-align:middle;
}

.spc-table th:last-child {
  border-right: 0;
}

.spc-table tr {
  border-top: 1px solid #C1C3D1;
  border-bottom: 1px solid #C1C3D1;
  color:#666B85;
  font-size:16px;
  font-weight:normal;
  text-shadow: 0 1px 1px rgba(256, 256, 256, 0.1);
}

.spc-table th:first-child,
.spc-table td:first-child,
.spc-table.raw-data th,
.spc-table.raw-data td  {text-align: center;}

.spc-table tr:hover td {
  background: #4E5066;
  color:#FFFFFF;
  border-top: 1px solid #22262e;
  border-bottom: 1px solid #22262e;
}

.spc-table tr:nth-child(odd) td {
  background:#EBEBEB;
}

.spc-table tr:nth-child(odd):hover td {
  background:#4E5066;
}

.spc-table tr:last-child td:first-child {
  border-bottom-left-radius:3px;
}

.spc-table tr:last-child td:last-child {
  border-bottom-right-radius:3px;
}

.spc-table td {
  background:#FFFFFF;
  padding: 2px 5px;
  margin: 0;
  text-align:left;
  vertical-align:middle;
  font-weight:300;
  font-size:14px;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1);
  border-right: 1px solid #C1C3D1;
}

/* Table spacing */
.spc-table.three-picks th:nth-of-type(1),
.spc-table.three-picks td:nth-of-type(1) {width:10%;}
.spc-table.three-picks th:nth-of-type(2),
.spc-table.three-picks td:nth-of-type(2) {width:25%;}
.spc-table.three-picks th:nth-of-type(3),
.spc-table.three-picks td:nth-of-type(3) {width:15%;}
.spc-table.three-picks th:nth-of-type(4),
.spc-table.three-picks td:nth-of-type(4) {width:15%;}
.spc-table.three-picks th:nth-of-type(5),
.spc-table.three-picks td:nth-of-type(5) {width:15%;}
.spc-table.three-picks th:nth-of-type(6),
.spc-table.three-picks td:nth-of-type(6) {width:20%; text-align: center;}

.spc-table.three-picks.wgain {width: 70%;}
.spc-table.three-picks.wgain th:nth-of-type(1),
.spc-table.three-picks.wgain td:nth-of-type(1) {width:5%;}
.spc-table.three-picks.wgain th:nth-of-type(2),
.spc-table.three-picks.wgain td:nth-of-type(2) {width:15%;}
.spc-table.three-picks.wgain th:nth-of-type(3),
.spc-table.three-picks.wgain td:nth-of-type(3) {width:13.333%;}
.spc-table.three-picks.wgain th:nth-of-type(4),
.spc-table.three-picks.wgain td:nth-of-type(4) {width:10%; text-align: center;}
.spc-table.three-picks.wgain th:nth-of-type(5),
.spc-table.three-picks.wgain td:nth-of-type(5) {width:13.333%;}
.spc-table.three-picks.wgain th:nth-of-type(6),
.spc-table.three-picks.wgain td:nth-of-type(6) {width:10%; text-align: center;}
.spc-table.three-picks.wgain th:nth-of-type(7),
.spc-table.three-picks.wgain td:nth-of-type(7) {width:13.333%;}
.spc-table.three-picks.wgain th:nth-of-type(8),
.spc-table.three-picks.wgain td:nth-of-type(8) {width:10%; text-align: center;}
.spc-table.three-picks.wgain th:nth-of-type(9),
.spc-table.three-picks.wgain td:nth-of-type(9) {width:10%; text-align: center;}

.spc-table.one-pick {width: 50%;}
.spc-table.one-pick th:nth-of-type(1),
.spc-table.one-pick td:nth-of-type(1) {width:10%;}
.spc-table.one-pick th:nth-of-type(2),
.spc-table.one-pick td:nth-of-type(2) {width:40%;}
.spc-table.one-pick th:nth-of-type(3),
.spc-table.one-pick td:nth-of-type(3) {width:25%;}
.spc-table.one-pick th:nth-of-type(4),
.spc-table.one-pick td:nth-of-type(4) {width:25%; text-align: center;}

.spc-table.pickdata {width: 40%;}
.spc-table.pickdata th:nth-of-type(1),
.spc-table.pickdata td:nth-of-type(1) {width: 24%;}
.spc-table.pickdata th:nth-of-type(2),
.spc-table.pickdata td:nth-of-type(2){width: 19%; text-align: center;}
.spc-table.pickdata th:nth-of-type(3),
.spc-table.pickdata td:nth-of-type(3) {width: 19%; text-align: center;}
.spc-table.pickdata th:nth-of-type(4),
.spc-table.pickdata td:nth-of-type(4) {width: 19%; text-align: center;}
.spc-table.pickdata th:nth-of-type(5),
.spc-table.pickdata td:nth-of-type(5) {width: 19%; text-align: center;}

.spc-table td:last-child {
  border-right: 0px;
}

.space-under > td {
  border-bottom: 3px solid 4
}

/* Sorting Controls */
.sort-control-container {
  width: 70%;
  margin: auto;
}

.sort-control-container.narrow {
  width: 40%;
}

.sort-control-container .sort-controls {
  width: 30%;
}

.sort-control-container.narrow .sort-controls {
  width: 55%
}

.sort-controls {
  font-size: 0;
  text-align: center;
  background-color: #6B8290;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.sort-controls p {
  margin: 5px 0px;
  font-size: 16px;
  font-size: 16px;
  color: #f1f1f1;
}

.sort-btn {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 12px;
  background-color: #414a50;
  color: #f1f1f1;
}

.sort-btn.two {
  width: 50%;
}

.sort-btn.three {
  width: 33%;
}

.sort-btn:hover {
  background-color: #5b6266;
}

.sort-btn.sel {
  background-color: #6B8290;
}

/* Stat styles */
.stat-box {
  margin-bottom: 30px;
}

.stat-box .stats {
  width: 40%;
  margin: auto;
  padding: 5px 0px;
  background-color: #1b1e24;
  color: #d5dde5;
  border: 2px solid #9ea7af;
  border-radius: 3px;
}

.stat-box .stats div {
  text-align: center;
  font-size: 16px;
}

.stats span {
  margin-left: 10px;
}

.stats .positive {
  color: #C7FDC1;
}

.stats .negative {
  color: #FFC2C5;
}

.stat-links {
  min-width: 315px;
  width: 25%;
  margin: auto;
  text-align: center;
}

.stat-links a {
  font-size: inherit;
  font-family: inherit;
  display: block;
  margin: 10px 0;
  padding: 8px 20px;
  width: 100%;
  text-decoration: none;
}

/* FOOTER STYLES __________________________________________________________*/
.footer-container {
  position: relative;
  bottom: 0;
  width: 100%;
  background-color: #eee;
}

.footer-container p {
  padding: 10px 25px 0;
  font-size: 11pt;
  margin: 0;
}

/* CLEARFIX __________________________________________________________*/
.clearfix {
  content: "";
  clear: both;
  display: table;
}


/*****************/
/* MOBILE STYLES __________________________________________________________*/
@media only screen and (min-width: 100px) and (max-width: 767px) {
  /* GENERAL */
  main {
    padding: 6em 0;
  }

  /* NAVBAR / HEADERS */
  .navbar-header .navbar-toggle {
    display: block;
  }

  .topnav {
    margin-top: 55px;
    border-top: 1px solid #f1f1f1;
    border-bottom: 2px solid #aaa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

  .navbar {
    margin: 0;
    margin-top: 10px;
  }

  .topnav .navbar .nav-link {
    float: none;
    display: block;
    text-align: left;
  }

  .topnav .dropdown-container {float: none;}

  .topnav .dropdown-content {
    position: relative;
    border: none;
  }

  .topnav .dropdown-container .dropdown-btn {
    display: block;
    width: 100%;
    text-align: left;
  }

  .navbar .dropdown-container .dropdown-btn,
  .navbar .nav-link {
    border-radius: 0;
  }

  .topnav .sponsor-container {
    display: table;
  }

  .page-header h1 {
    font-size: 18px;
  }

  .page-header h2 {
    font-size: 16px;
  }

  /* ARTICLE STYLES */
  .eprime-news,
  .article-container {
    width: 100%;
  }

  /* STAT STYLES */
  .stat-box .stats {
    width: 100%;
    margin: auto;
  }

  .stat-box .stats div {
    font-size: 12px;
  }

  /* WATCHLIST LINKS */
  .watchlist-links {width:90%; margin:auto;}

  .watchlist-links .dropdown-container, .watchlist-links a {
    float: none;
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .watchlist-links .dropdown-container, .watchlist-links .wl-link {
    margin-bottom: 5px;
    margin-top: 5px;
  }

  .watchlist-links .dropdown-btn {
    width: 100%;
  }

  .watchlist-links .dropdown-content {
    position: relative;
    width: 100%;
  }

  /* WATCHLIST STYLES */
  .watchlist-header {
    display: none;
  }

  .watchlist-item {
    font-size: 13px;
  }

  .watchlist-sub {
    margin-top: 5px;
    float: none;
    width: 100%;
  }

  .sub-item {
    text-align: left;
  }

  .watchlist-mobile {
    display: inline;
  }

  .sub-item.exchange, .sub-item.chat, .sub-item.sedi {
    display: block;
    float: none;
    width: 100%;
    margin: 10px 0;
  }

  .sub-item.exchange {
    text-align: right;
  }

  .sub-item.exchange .watchlist-mobile {
    display: block;
    width: 20%;
    float: left;
    text-align: left;
  }

  .sub-item.chat a, .sub-item.sedi a {
    float: right;
    padding: 0 10px;
  }

  /* SPONSORS */
  .sponsor img {
    width: 100%;
    height: auto;
  }

  .sponsor-container.vmobile {
    max-width: 325px;
  }

  /* PRIME SPONSORS */
  .prime-sponsor-container {
    margin-top: 0;
    margin-bottom: 0;
  }

  .prime-sponsor-container .prime-sponsors {
    margin-top: 0;
    margin-bottom: 5px;
    width: 100%;
  }

  #prime-sponsor-1,
  #prime-sponsor-2,
  #prime-sponsor-3,
  #prime-sponsor-4 {
    float: none;
    min-width: 200px;
    max-width: 400px;
    margin: auto;
  }

  #sponsor-1,
  #sponsor-2,
  #sponsor-3,
  #sponsor-4  {
    width: 100%;
    height: auto;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  body {
    font-size: 13px;
  }
  main {
    padding: 10em 0 6em;
  }

  .spc-table {
    padding: 1px;
    width: 75%;
    margin: auto;
  }

  .spc-table.one-pick {width: 75%;}

  /* NAVBAR / HEADERS*/
  .navbar-header .navbar-toggle {
    display: block;
  }

  .topnav {
    margin-top: 55px;
    border-top: 1px solid #f1f1f1;
    border-bottom: 2px solid #aaa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

  .navbar {
    margin: 0;
    margin-top: 10px;
  }

  .topnav .navbar .nav-link {
    float: none;
    display: block;
    text-align: left;
  }

  .topnav .dropdown-container {float: none;}

  .topnav .dropdown-content {
    position: relative;
    border: none;
  }

  .topnav .dropdown-container .dropdown-btn {
    display: block;
    width: 100%;
    text-align: left;
  }

  .navbar .dropdown-container .dropdown-btn,
  .navbar .nav-link {
    border-radius: 0;
  }

  /* ARTICLE STYLES */
  .eprime-news,
  .article-container {
    width: 100%;
  }

  /* STATS STYLES */
  .stat-box .stats {
    width: 60%;
  }

  /* WATCHLIST STYLES */
  .watchlist-item {
    font-size: 12px;
  }

  .watchlist-sub {
    width: 52%;
  }

  .sub-item.exchange{
    width: 48%;
  }
  .sub-item.chat, .sub-item.sedi {
    width: 26%;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1367px) {
  main {
    padding: 16em 0 6em;
  }

  .spc-table {
    padding: 1px;
    width: 75%;
    margin: auto;
  }

  .spc-table.one-pick {width: 75%;}
  .spc-table.three-picks.wgain{width: 95%;}
  .spc-table.pickdata {width: 95%;}

  /* ARTICLE STYLES */
  .eprime-news,
  .article-container {
    width: 100%;
  }

  /* SORT CONTROLS */
  .sort-control-container,
  .sort-control-container.narrow {
    width: 95%;
  }
}

@media only screen and (max-width: 500px) {
  .spc-table {
    padding: 1px;
    width: 95%;
    margin: auto;
  }

  .spc-table,
  .spc-table th,
  .spc-table td {
    font-size: 12px;
  }

  .spc-table.raw-data {
    width: 100%;
  }

  .spc-table.pickdata {width: 95%;}

  .spc-table.three-picks th:nth-of-type(3),
  .spc-table.three-picks td:nth-of-type(3) {display:none;}
  .spc-table.three-picks th:nth-of-type(4),
  .spc-table.three-picks td:nth-of-type(4) {display:none;}
  .spc-table.three-picks th:nth-of-type(5),
  .spc-table.three-picks td:nth-of-type(5) {display:none;}

  .spc-table.three-picks.wgain{width: 95%;}
  .spc-table.three-picks.wgain th:nth-of-type(6),
  .spc-table.three-picks.wgain td:nth-of-type(6) {display:none;}
  .spc-table.three-picks.wgain th:nth-of-type(7),
  .spc-table.three-picks.wgain td:nth-of-type(7) {display:none;}
  .spc-table.three-picks.wgain th:nth-of-type(8),
  .spc-table.three-picks.wgain td:nth-of-type(8) {display:none;}

  .spc-table.one-pick {width: 100%;}
  .spc-table.one-pick th:nth-of-type(3),
  .spc-table.one-pick td:nth-of-type(3) {display:none;}

  .phone-alert {
    display: block;
    text-align: center;
    color: red;
  }

  .sort-control-container,
  .sort-control-container.narrow {
    width: 95%;
  }

  .sort-control-container .sort-controls,
  .sort-control-container.narrow .sort-controls {
    width: 100%;
  }
  
}

@media only screen and (max-width: 1023px) {
  .spc-table.prev-year th:nth-of-type(4),
  .spc-table.prev-year td:nth-of-type(4),
  .spc-table.prev-year th:nth-of-type(5),
  .spc-table.prev-year td:nth-of-type(5),
  .spc-table.prev-year th:nth-of-type(6),
  .spc-table.prev-year td:nth-of-type(6),
  .spc-table.prev-year th:nth-of-type(8),
  .spc-table.prev-year td:nth-of-type(8),
  .spc-table.prev-year th:nth-of-type(9),
  .spc-table.prev-year td:nth-of-type(9),
  .spc-table.prev-year th:nth-of-type(10),
  .spc-table.prev-year td:nth-of-type(10),
  .spc-table.prev-year th:nth-of-type(12),
  .spc-table.prev-year td:nth-of-type(12),
  .spc-table.prev-year th:nth-of-type(13),
  .spc-table.prev-year td:nth-of-type(13),
  .spc-table.prev-year th:nth-of-type(14),
  .spc-table.prev-year td:nth-of-type(14) {
    display: none;
  }

  .spc-table.prev-1-pick {width:100%;}

  .spc-table.three-picks.wgain{width: 95%;}
  .spc-table.three-picks.wgain th:nth-of-type(4),
  .spc-table.three-picks.wgain td:nth-of-type(4) {display:none;}
  .spc-table.three-picks.wgain th:nth-of-type(6),
  .spc-table.three-picks.wgain td:nth-of-type(6) {display:none;}
  .spc-table.three-picks.wgain th:nth-of-type(8),
  .spc-table.three-picks.wgain td:nth-of-type(8) {display:none;}

  .spc-table.pickdata {width: 95%;}

  .sort-control-container,
  .sort-control-container.narrow {
    width: 95%;
  }

  .sort-control-container .sort-controls,
  .sort-control-container.narrow .sort-controls {
    width: 100%;
  }
}

@media only screen and (max-width: 1023px) {
  .topnav.open {
    overflow: auto;
  }
}

/*--------------------------*/
/* SPC pick page            */
/*--------------------------*/

.pick-entry--spc .error {
  font-weight: 600;
  font-size: 0.9rem;
  color: red;
}

.alert {
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  width: 100%;
  color: red;
}

.picks-form {
  padding-top: 2rem;
}

.picks-form input:not([type="checkbox"]) {
  min-width: 15rem;
  margin-right: 1rem;
}

.picks-form select {
  border: none;
}

.picks-form input:not([type="checkbox"]),
.picks-form select  {
  padding: 0.25rem 1rem;
}

.newsletter-check {
  display: block;
  position: relative;
  padding-left: 2rem;
  margin: 0.8rem 0;
  max-width: 25rem;
  cursor: pointer;
  font-size: 1.25rem;
  background-color: #446274;
  color: #E2E6E8;
  border-radius: 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.newsletter-check input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0.4rem;
  left: 0.3rem;
  height: 1.5rem;
  width: 1.5rem;
  background-color: #f1f1f1;
  border-radius: 20%;
}

.newsletter-check:hover input ~ .checkmark {
  background-color: #c3d8e2;
}

.newsletter-check input:checked ~ .checkmark {
  background-color: #e02d2d;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.newsletter-check input:checked ~ .checkmark:after {
  display: block;
}

.newsletter-check .checkmark:after {
  left: 9px;
  top: 6px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg); 
}

.newsletter-check > input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 1rem;
}

.picks-form label {
  margin-right: 0.5rem;
}

.picks-form [type="submit"] {
  padding: 0.5rem 2rem;
}

.autocomplete {
  display: inline-block;
  position: relative;
}

.autocomplete-items {
  position: absolute;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 1rem;
  text-align: center;
  border: 1px solid #6B8290;
  border-top: 0;
  max-height: 25rem;
  overflow-y: auto;
}

.autocomplete-items div {
  cursor: pointer;
  padding: 0.3rem;
  background-color: #f1f1f1;
  border-bottom: 1px solid #6B8290;
}

.autocomplete-items div:hover,
.autocomplete-items div:focus {
  background-color: #E2E6E8;
}

.autocomplete-active {
  background-color: #6B8290 !important;
  color: #f1f1f1;
}

@media (max-width: 48em) {
  .pick-entry--spc .error {
    text-align: center;
  }

  .picks-form label:not([for="newsletter-check"]) {
    display: block;
    min-width: 100%;
    text-align: center;
  }

  .picks-form input:not([type="checkbox"]),
  .picks-form select,
  .picks-form label:not([for="newsletter-check"])  {
    margin-right: 0;
    min-width: 100%;
  }

  .autocomplete {
    display: block;
  }

  .autocomplete-items {
    right: 0;
  }
}


/*--------------------------*/
/* SPC Allowed Picks        */
/*--------------------------*/
.main--allowed-picks h1 {
  text-align: center;
}

.container--allowed-picks {
  max-width: 25rem;
  margin: auto;
}

.allowed-picks-header {
  cursor: pointer;
  text-align: center;
  margin: 0;
  margin-top: 0.5rem;
  padding: 1rem 2rem;
  max-width: 25rem;
  color: #f1f1f1;
  background-color: #6B8290;
  border-radius: 5px;
}

.allowed-picks {
  text-align: center;
  list-style-type: none;
  margin: auto;
  padding: 0;
  max-width: 24.5rem;
  border: 1px solid #6B8290;
  border-top: 0;
}

.allowed-picks[data-visible = "false"] {
  display: none;
}

.allowed-picks li:hover {
  background: #4E5066;
  color:#FFFFFF;
}

.allowed-picks li:nth-child(odd) {
  background:#EBEBEB;
}

.allowed-picks li:nth-child(odd):hover {
  background:#4E5066;
}

.allowed-picks li > span {
  font-weight: 700;
  letter-spacing: 1px;
}

@media (max-width: 48em) {
  .allowed-picks {
    max-width: 98%;
  }
}
