@import "https://fonts.googleapis.com/css2?family=Graduate&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap";
@font-face {
  font-family: 'ds-digitalnormal';
  src: url("fonts/ds-digi.woff2") format("woff2"), url("fonts/ds-digi.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: url("../img/blackBG.jpg") no-repeat #000;
  background-size: cover;
  background-attachment: fixed;
  font-family: "Graduate", serif;
  margin: 0;
  padding: 0;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 0 auto;
  overflow: hidden;
  max-width: 100%;
  background-color: black;
}
.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

p {
  padding: 20px;
  font: 16px "Montserrat", sans-serif;
  text-align: center;
}
p a {
  color: #fff;
  text-decoration: none;
}
p a:hover {
  text-decoration: underline;
}

header {
  background: rgba(100, 26, 51, 0.5);
  text-align: center;
  padding-top: 60px;
}
header a img {
  display: inline-block;
  padding: 20px;
}
header #logo {
  max-width: 150px;
}

#home .homeGrid {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  column-gap: 5px;
  padding: 0 2vw;
}
#home .homeGrid#th .homeCol {
  text-transform: uppercase;
  font-weight: bold;
  background: #641A33;
  color: #fff;
  text-align: center !important;
  font: 16px "Graduate", serif !important;
  padding: 10px;
}
#home .homeGrid .homeCol {
  flex: 1;
  width: 25%;
  font: 14px "Montserrat", sans-serif;
  padding: 5px 0;
  border-bottom: 1px solid #9A9F9A;
}
#home .homeGrid .homeCol:nth-child(even) {
  text-align: left;
}
#home .homeGrid .homeCol ul {
  font: 14px "Montserrat", sans-serif;
  padding: 0;
  margin: 0;
}
#home .homeGrid .homeCol ul li {
  display: inline-block;
  position: relative;
  padding-left: 16px;
  margin: 0 5px;
  border-bottom: 2px solid transparent;
}
#home .homeGrid .homeCol ul li:hover {
  cursor: pointer;
  border-bottom: 2px solid #641A33;
}
#home .homeGrid .homeCol ul li:hover::before {
  filter: brightness(0) saturate(100%) invert(14%) sepia(47%) saturate(3030%) hue-rotate(316deg) brightness(97%) contrast(92%);
}
#home .homeGrid .homeCol ul li::before {
  background-position: left 8px;
  background-size: 15px;
  background-repeat: no-repeat;
  position: absolute;
  left: 0px;
  top: 2px;
  content: "";
  height: 30px;
  width: 30px;
  content: "";
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7498%) hue-rotate(158deg) brightness(92%) contrast(119%);
}
#home .homeGrid .homeCol ul li.photoLink::before {
  background-image: url(../img/photo.svg);
}
#home .homeGrid .homeCol ul li.ytLink::before {
  background-image: url(../img/yt.svg);
}
#home .homeGrid .homeCol ul li.lsLink::before {
  background-image: url(../img/ytls.svg);
}
#home .homeGrid .homeCol ul li a {
  color: #fff;
  padding: 9px 5px 5px;
  display: block;
  position: relative;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
#home .homeGrid .homeCol a.gameList {
  color: #fff !important;
  text-decoration: none;
  display: inline-block;
  padding: 9px 0 0 0;
}
#home .homeGrid .homeCol.loss {
  color: #641A33;
}
#home .homeGrid .homeCol.win {
  color: greenyellow;
}
#home .homeGrid .homeCol.draw {
  color: #0C0C0D;
}
#home .homeGrid .homeCol .ytIcon, #home .homeGrid .homeCol .photoIcon {
  height: 35px;
  filter: brightness(0) saturate(100%) invert(14%) sepia(47%) saturate(3030%) hue-rotate(316deg) brightness(97%) contrast(92%);
}
#home .homeGrid .homeCol .ytIcon:hover, #home .homeGrid .homeCol .photoIcon:hover {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7498%) hue-rotate(158deg) brightness(92%) contrast(119%);
}

#youTube {
  text-align: center;
}
#youTube img:hover {
  transform: scale(1.1);
  transition: .3s ease-in-out;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.scheduleForm {
  max-width: 1325px;
  margin: 0 auto;
}
.scheduleForm form {
  width: 100%;
}

#scheduleFrame {
  width: calc(100vw - 20px);
  height: 220vh;
  border: none;
  background: #fff;
  overflow: scroll;
  padding-bottom: 10vh;
  margin: 0 10px;
}

#outer_table {
  margin: 0 auto;
  width: 100%;
  border-spacing: 0 !important;
}
#outer_table:nth-of-type(2), #outer_table tr:nth-child(1), #outer_table tr:nth-child(2), #outer_table td table tr:nth-child(5), #outer_table td.bcopy, #outer_table tbody tr td:nth-child(n+6) {
  display: none;
}
#outer_table tr:nth-of-type(3) > td:nth-of-type(3) {
  display: none;
}
#outer_table tbody tr:nth-child(4) td:nth-child(-n+5) {
  font: bold 18px "Graduate", serif;
  padding-top: 30px;
}
#outer_table tbody tr:nth-child(4) td:nth-child(1) {
  display: none;
}
#outer_table td {
  font: 14px "Montserrat", sans-serif;
  color: #fff;
  padding: 5px 10px 10px 10px;
}
#outer_table td.bgColorWhite {
  border: none;
}
#outer_table table {
  border-spacing: 0 !important;
}
#outer_table table tr:nth-child(3) {
  display: none;
}
#outer_table table tr td:first-child:not([colspan="13"]) {
  display: none;
}
#outer_table table tr td {
  padding: 0px 10px 30px 10px;
  width: 5%;
}
#outer_table table tr td[colspan="13"] {
  padding: 30px 10px 5px 10px;
  font-size: 12px;
  font-style: italic;
  color: #9A9F9A;
}
#outer_table table tr:nth-child(4n), #outer_table table tr:nth-child(4n-3) {
  background: rgba(100, 26, 51, 0.5);
}
#outer_table table tr:last-child {
  background: none;
}

.width100:nth-of-type(2) {
  display: none;
}

#galleryContainer .grid {
  margin: 0 auto;
  padding: 20px 0;
}
#galleryContainer .grid .row {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 5px;
  padding: 0 20px;
}
#galleryContainer .grid .row.home {
  justify-content: center;
  gap: 20px;
}
#galleryContainer .grid .row .col {
  flex-basis: 25%;
  -ms-flex: auto;
  position: relative;
  box-sizing: border-box;
  flex: 0 0 19%;
  display: flex;
  align-items: start;
  margin-bottom: 15px;
  cursor: pointer;
  align-self: center;
  border-radius: 20px;
  border: 3px solid #9A9F9A;
  overflow: hidden;
}
#galleryContainer .grid .row .col:hover {
  border-color: #641A33;
  box-shadow: 0 0 0 2px #000, 0 0 20px 10px #000;
  transition: .5s ease-out;
}
#galleryContainer .grid .row .col:hover img.thumb {
  transform: scale(1.2);
}
#galleryContainer .grid .row .col:hover span.controls {
  display: inline;
}
#galleryContainer .grid .row .col img.thumb {
  width: 100%;
  transform: scale(1.05);
  transition: .5s ease-out;
}
#galleryContainer .grid .row .col span.controls {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  display: none;
}
#galleryContainer .grid .row .col span.controls img {
  filter: invert(100%);
  cursor: pointer;
}

h1 {
  text-align: center;
  font: 40px "Graduate", serif;
  color: #ffffff;
  text-shadow: 2px 2px 2px #7a1f3d;
}

h2 {
  text-align: center;
  font: 34px "Graduate", serif;
  color: #fff;
}

h3 {
  text-align: center;
  font: 26px "Montserrat", sans-serif;
  color: #fff;
}

#modal {
  background: rgba(0, 0, 0, 0.85);
  position: fixed;
  height: 98vh;
  width: 100vw;
  z-index: -1;
  display: block;
  align-content: center;
  text-align: center;
  top: 0;
  left: 0;
  padding: 2vh 0;
  opacity: 0;
  transition: .5s ease-in-out .05s;
  cursor: zoom-out;
}
#modal img#zoomed {
  max-height: 96vh;
  margin: 0 auto;
  border-radius: 20px;
  border: 3px solid #641A33;
  cursor: default;
}
#modal a.closeX {
  cursor: pointer;
  position: relative;
  display: inline-block;
}
#modal a.closeX:after {
  filter: invert(100);
  height: 24px;
  width: 24px;
  content: url("../img/x-circle.svg");
  position: absolute;
  top: 15px;
  right: 15px;
}
#modal.on {
  z-index: 1000;
  opacity: 1;
}
#modal #zoomFrame {
  display: inline-block;
  position: relative;
  transform: scale(0);
  transition: .5s ease-in;
}
#modal #zoomFrame.on {
  transform: scale(1);
}
#modal #zoomFrame span {
  border: solid #fff;
  border-width: 0 10px 10px 0;
  display: inline-block;
  padding: 10px;
  position: absolute;
  top: 50%;
  cursor: pointer;
}
#modal #zoomFrame span#arrowRight {
  right: -10%;
  transform: rotate(-45deg);
}
#modal #zoomFrame span#arrowLeft {
  left: -10%;
  transform: rotate(135deg);
}
#modal #zoomFrame #slideNumber {
  width: calc(100% - 20px);
  border-radius: 20px;
  background: rgba(100, 26, 51, 0.9);
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 10px 0;
  position: absolute;
  bottom: 10px;
  margin: 0 auto;
  left: 10px;
  display: block;
  text-decoration: none;
}
#modal #zoomFrame #slideNumber:after {
  position: absolute;
  filter: invert(100%);
  content: url("../img/download.svg");
  height: 24px;
  width: 24px;
  right: 16px;
  top: 6px;
}
#modal #zoomFrame #slideNumber:hover {
  background: #641a33;
}

/* Nav */
nav {
  margin: 0 auto;
  padding: 0;
  position: fixed;
  top: 0px;
  width: 100vw;
  height: 60px;
  z-index: 200;
  background: url(../img/Stateliners-FC-Shield.svg) 10px center no-repeat;
  background-size: 45px;
}
nav.show {
  transition: .3s;
  background: url(../img/Stateliners-FC-Shield.svg) 10px center rgba(100, 26, 51, 0.95) no-repeat;
  background-size: 45px;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
}
nav:after {
  content: "";
  display: table;
  clear: both;
}
nav ul {
  display: inline-block;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  position: relative;
}
nav ul li {
  margin: 0px;
  display: inline-block;
  float: left;
}
nav ul li ul li:hover {
  background: #0C0C0D;
}
nav ul li:hover > ul {
  display: inherit;
}
nav ul ul {
  display: none;
  position: absolute;
  top: 60px;
}
nav ul ul a {
  font: 14px "arial", san-serif;
  padding: 10px;
  text-align: left;
  background-color: #0C0C0D;
  border: solid #641A33;
  border-width: 0 1px 1px 1px;
}
nav ul ul li {
  width: 250px;
  float: none;
  display: list-item;
  position: relative;
}
nav a {
  display: block;
  padding: 0 20px;
  color: #fff;
  font-size: 20px;
  line-height: 60px;
  text-decoration: none;
}
nav a:hover {
  background-color: #641A33;
}
nav a#homeBtn {
  display: inline-block !important;
  position: absolute;
  top: 0;
  left: 0;
  height: 55px;
  width: 55px;
  padding: 0;
}
nav a#homeBtn:hover {
  background: none;
}
nav a#homeBtn span {
  display: none;
}

li > a {
  position: relative;
}
li > a:after {
  content: ' &#9660;';
  font-size: 50%;
  position: absolute;
  top: 2px;
  right: 7px;
  transform: scale(0.8, 0.4);
}
li > a:only-child:after {
  content: '';
}
li label {
  position: relative;
}
li label:after {
  content: ' &#9660;';
  font-size: 50%;
  position: absolute;
  top: 2px;
  right: 20px;
  transform: scale(1.2, 0.8);
}
li label:only-child:after {
  content: '';
}

.toggle {
  display: none;
}

[id^=drop] {
  display: none;
}

/* Games Cards Grid */
.gamesGrid {
  max-width: 1325px;
  margin: 0 auto;
}
.gamesGrid #sorter {
  padding: 10px 40px;
  text-align: right;
  font: 16px "Montserrat", sans-serif;
  cursor: pointer;
  color: #fff;
}
.gamesGrid #sorter .order {
  display: inline-block;
  padding: 10px;
  border: 1px solid #9A9F9A;
  border-radius: 12px;
}
.gamesGrid #sorter .order.off {
  display: none;
}
.gamesGrid #sorter .order:hover {
  color: #ffea00;
  border-color: #ffea00;
}

.cards {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
  justify-content: center;
}
.cards li {
  font: 18px "Montserrat", sans-serif;
  width: 375px;
  margin: 30px;
  padding: 0;
  box-sizing: border-box;
  border-radius: 12px;
  color: #0C0C0D;
}
.cards li.upcoming {
  display: none;
  filter: grayscale(100%);
  pointer-events: none;
  opacity: .5;
}
.cards li .date {
  text-align: center;
  font-weight: bold;
  background: #641A33;
  border-radius: 12px 12px 0 0;
  color: #fff;
  padding: 10px;
  position: relative;
}
.cards li .date:before {
  position: absolute;
  content: " ";
  width: 65px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/phillipsburg-logo.png") no-repeat;
  background-size: cover;
  left: 6px;
  top: -15px;
}
.cards li .date.collegeachieveLogo:after {
  width: 80px;
  height: 77px;
  background: url("https://pburg.club/2025/img/logos/college-achieve-central-logo.png") no-repeat;
  top: -19px;
  right: -5px;
}
.cards li .date.newtonLogo:after {
  width: 69px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/newton-logo.png") no-repeat;
  top: -15px;
  right: 2px;
}
.cards li .date.shunterdonLogo:after {
  width: 101px;
  height: 53px;
  background: url("https://pburg.club/2025/img/logos/south-hunterdon-logo.png") no-repeat;
  top: -5px;
  right: -9px;
}
.cards li .date.hackettstownLogo:after {
  width: 90px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/hackettstown-logo.png") no-repeat;
  top: -15px;
  right: -11px;
}
.cards li .date.franklinLogo:after {
  width: 54px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/franklin-logo.png") no-repeat;
  top: -15px;
  right: 9px;
}
.cards li .date.delvalLogo:after {
  width: 69px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/del-val-logo.png") no-repeat;
  top: -15px;
  right: 2px;
}
.cards li .date.voorheesLogo:after {
  width: 96px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/voorhees-logo.png") no-repeat;
  top: -15px;
  right: -1px;
}
.cards li .date.nhunterdonLogo:after {
  width: 69px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/north-hunterdon-logo.png") no-repeat;
  top: -13px;
  right: 4px;
}
.cards li .date.rutgersprepLogo:after {
  width: 98px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/rutgers-prep-logo.png") no-repeat;
  top: -15px;
  right: -10px;
}
.cards li .date.mtoliveLogo:after {
  width: 52px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/mt-olive-logo.png") no-repeat;
  top: -15px;
  right: 9px;
}
.cards li .date.somervilleLogo:after {
  width: 63px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/somerville-logo.png") no-repeat;
  top: -15px;
  right: 3px;
}
.cards li .date.eastonLogo:after {
  width: 74px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/easton-logo.png") no-repeat;
  top: -15px;
  right: 6px;
}
.cards li .date.warrenhillsLogo:after {
  width: 85px;
  height: 85px;
  background: url("https://pburg.club/2025/img/logos/warren-hills-logo.png") no-repeat;
  top: -23px;
  right: 1px;
}
.cards li .date.montgomeryLogo:after {
  width: 66px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/montgomery-logo.png") no-repeat;
  top: -12px;
  right: 3px;
}
.cards li .date.northwarrenLogo:after {
  width: 70px;
  height: 69px;
  background: url("https://pburg.club/2025/img/logos/north-warren-logo.png") no-repeat;
  top: -12px;
  right: 3px;
}
.cards li .date.opponentLogo:after {
  position: absolute;
  content: " ";
  background-size: cover;
}
.cards li .scoreBoard {
  padding: 20px 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  background: #fff;
  width: 100%;
  border-radius: 0 0 12px 12px;
}
.cards li .scoreBoard .teamName {
  position: absolute;
  font: bold 10.5px "Montserrat", sans-serif;
  top: 12px;
  white-space: nowrap;
}
.cards li .scoreBoard .pburgScore {
  position: relative;
}
.cards li .scoreBoard .pburgScore .teamName {
  left: 60px;
}
.cards li .scoreBoard .opponentScore {
  position: relative;
}
.cards li .scoreBoard .opponentScore .teamName {
  right: 60px;
  text-align: right;
}
.cards li .scoreBoard .score {
  display: block;
  height: 50px;
  width: 50px;
  border-radius: 12px;
  background: linear-gradient(180deg, #000 0%, #1D1D1D 100%);
  color: #FFEA00;
  text-align: center;
  text-shadow: 0px 0px 12px #FFEA00;
  font: 32px "ds-digitalnormal", sans-serif;
  box-sizing: border-box;
  padding: 9px 0 0 0;
  position: relative;
}
.cards li .scoreBoard .score .pk {
  position: absolute;
  right: -9px;
  bottom: -11px;
  font: normal normal 12px "Montserrat", sans-serif;
  background: #000;
  padding: 5px;
  width: 15px;
  height: 15px;
  border-radius: 25px;
  border: 1px solid #ffea00;
}
.cards li .scoreBoard .vs {
  background: #641A33;
  width: 50px;
  height: 50px;
  padding: 11px 0 0 0;
  border-radius: 25px;
  text-align: center;
  color: #fff;
  font: 24px "Graduate", serif;
  text-transform: uppercase;
  box-sizing: border-box;
}
.cards li .heroPhoto {
  max-width: 100%;
  margin: 10px 0;
  max-height: 250px;
}
.cards li .result {
  display: block;
  position: relative;
}
.cards li .result:before {
  position: absolute;
  top: 0 !important;
  background: #641A33;
  right: 0 !important;
  padding: 10px 0;
  color: #fff;
  width: 40px;
  font-size: 22px;
  display: inline-block;
  border-radius: 0 0 0 12px;
  font-weight: bold;
  text-align: center;
}
.cards li .result.W:before {
  content: "W";
}
.cards li .result.L:before {
  content: "L";
}
.cards li .result.D:before {
  content: "D";
}
.cards li .scrimmage {
  display: block;
  position: relative;
}
.cards li .scrimmage:after {
  content: "Scrimmage";
  position: absolute;
  bottom: 0 !important;
  background: #ffea00;
  left: 0 !important;
  padding: 10px;
  color: #000;
  font-size: 12px;
  display: inline-block;
  border-radius: 0 12px 0 0;
}
.cards li .media {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  background: #fff;
  width: 100%;
}
.cards li .media a {
  text-align: center;
  display: block;
  text-decoration: none;
  font: 12px "Montserrat", sans-serif;
  color: #641A33;
}
.cards li .media a img {
  margin-top: 5px;
  display: block;
  height: 45px;
  width: 64px;
  filter: brightness(0) saturate(100%) invert(14%) sepia(16%) saturate(6499%) hue-rotate(310deg) brightness(95%) contrast(96%);
}
.cards li .media a.disabled {
  filter: brightness(0) saturate(100%) invert(68%) sepia(0%) saturate(0%) hue-rotate(270deg) brightness(92%) contrast(90%);
  pointer-events: none;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: -40px;
  right: 40px;
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: #641A33;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  opacity: 0;
  -webkit-transform: scale(0.3);
  -ms-transform: scale(0.3);
  transform: scale(0.3);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.back-to-top:focus {
  color: #fff;
}

.back-to-top.show {
  bottom: 40px;
  right: 40px;
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.back-to-top.show:hover {
  color: #fff;
  bottom: 50px;
  opacity: 1;
}

.arrow {
  background-image: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHN0eWxlPi5zdDB7ZmlsbDojZmZmfTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MCIgZD0iTTMxOS4xIDIxN2MyMC4yIDIwLjIgMTkuOSA1My4yLS42IDczLjdzLTUzLjUgMjAuOC03My43LjZsLTE5MC0xOTBjLTIwLjEtMjAuMi0xOS44LTUzLjIuNy03My43UzEwOSA2LjggMTI5LjEgMjdsMTkwIDE5MHoiLz48cGF0aCBjbGFzcz0ic3QwIiBkPSJNMzE5LjEgMjkwLjVjMjAuMi0yMC4yIDE5LjktNTMuMi0uNi03My43cy01My41LTIwLjgtNzMuNy0uNmwtMTkwIDE5MGMtMjAuMiAyMC4yLTE5LjkgNTMuMi42IDczLjdzNTMuNSAyMC44IDczLjcuNmwxOTAtMTkweiIvPjwvc3ZnPg==);
  position: absolute;
  width: 12px;
  height: 12px;
  background-size: contain;
  transform: rotate(-90deg);
  top: 30%;
  left: 40%;
}

.arrow:nth-child(2) {
  top: 42%;
}

@keyframes bounceAlpha {
  0% {
    opacity: 1;
    transform: rotate(-90deg) translateX(0px) scale(1);
  }
  25% {
    opacity: 0;
    transform: rotate(-90deg) translateX(10px) scale(0.9);
  }
  26% {
    opacity: 0;
    transform: rotate(-90deg) translateX(-10px) scale(0.9);
  }
  55% {
    opacity: 1;
    transform: rotate(-90deg) translateX(0px) scale(1);
  }
}
.back-to-top:hover .arrow {
  animation-name: bounceAlpha;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.back-to-top:hover .arrow:nth-child(2) {
  animation-name: bounceAlpha;
  animation-duration: 1.4s;
  animation-delay: 0.2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@media only screen and (max-width: 575px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

  .back-to-top.show {
    bottom: 10px;
    right: 10px;
  }

  .back-to-top.show:hover {
    bottom: 10px;
  }

  .arrow {
    top: 27%;
    left: 37%;
  }
}
@media (max-width: 768px) {
  /* nav {
  	margin: 0;
  	ul {
  		li {
  			display: block;
  			width: 100%;
  			border-bottom: 1px solid #9A9F9A;
  			background-color: $garnet;
  			ul {
  				li {
  					.toggle {
  						background-color: $dgrey;
  						padding: 20px;
  						font-size: 18px;
  					}
  				}
  			}
  			&:hover {
  				>ul {
  					display: none;
  				}
  			}
  		}
  		ul {
  			.toggle {
  				padding: 0 40px;
  			}
  			a {
  				padding: 0 40px;
  				background-color: $dgrey;
  				padding: 20px;
  				font-size: 18px;
  			}
  			float: none;
  			position: static;
  			color: #fff;
  			li {
  				display: block;
  				width: 100%;
  			}
  		}
  	}
  	a {
  		&:hover {
  			background-color: $dgrey;
  		}
  	}
  }
  .toggle {
  	+ {
  		a {
  			display: none;
  		}
  	}
  	display: block;
  	background-color: $dgrey;
  	padding: 0 20px;
  	color: #fff;
  	font-size: 20px;
  	line-height: 60px;
  	text-decoration: none;
  	border: solid #9A9F9A;
  	border-width: 1px 0;
  	&:hover {
  		background-color: $dgrey;
  	}
  }
  .menu {
  	display: none;
  }
  [id^=drop] {
  	&:checked {
  		+ {
  			ul {
  				display: block;
  			}
  		}
  	}
  }
  li {
  	>.toggle {
  		background-color: $garnet;
  		&:hover {
  			background-color: $lgarnet;
  		}
  	}
  } */
  a {
    padding: 0px 10px;
    font-size: 16px;
  }

  .gamesGrid #sorter {
    text-align: center;
  }

  .cards li {
    margin: 20px 0;
  }
  .cards li .scoreboard .vs {
    margin-top: 15px;
    width: 25px;
    height: 25px;
    padding: 5px 0 0 0;
    border-radius: 13px;
    font: 12px "Graduate", serif;
  }
  .cards li .scoreboard .teamname {
    font-size: 10.5px;
  }
  .cards li .scoreboard .pburgScore .teamname {
    left: 55px;
  }
  .cards li .scoreboard .opponentScore .teamname {
    right: 55px;
    text-align: left;
  }
}
@media (max-width: 330px) {
  nav ul li {
    display: block;
    width: 94%;
  }
}
@media (max-width: 1333px) {
  #galleryContainer .col {
    flex-basis: 33.33%;
    flex: 0 0 25%;
  }
}
@media (max-width: 1073px) {
  #outer_table {
    max-width: 95vw;
    margin: 0 auto;
  }
  #outer_table td {
    padding: 5px 0 10px 0 !important;
  }
  #outer_table table tr td {
    padding: 5px 5px 10px 5px !important;
  }
  #outer_table table tr td[colspan="13"] {
    padding: 30px 5px 10px 5px !important;
    font-size: 12px;
    font-style: italic;
    color: #9A9F9A;
  }

  #galleryContainer .grid .row {
    display: block;
    padding: 0 15px;
  }
  #galleryContainer .grid .row .col {
    display: block !important;
    margin-bottom: 15px;
  }
  #galleryContainer .grid .row .col span.controls {
    display: block !important;
    position: absolute;
    bottom: 10px !important;
    right: 10px !important;
    top: auto;
    left: auto;
    z-index: 5;
  }
  #galleryContainer .grid .row .col span.controls img.zoom {
    display: none !important;
  }
  #galleryContainer .grid .row .col span.controls a {
    display: inline-block;
    padding: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
  }
  #galleryContainer .grid .row .col span.controls a img {
    width: 28px;
  }
  #galleryContainer .grid .row img.thumb {
    max-width: none !important;
    width: 100%;
  }

  #modal {
    display: none;
  }
}
