@font-face {
  font-family: York;
  src: url("Yorkville.ttf");
}

@font-face {
  font-family: finksans;
  src: url("FinkSans.ttf");
}

html,
body {
  height: 900px;
  padding: 0;
  margin: 0;
  font-family: York, arial, sans-serif;
  color: #ffffff;
  background: #2a7499 url("images/tilebg2.jpg") repeat-x;
}
html {
  background-color: #2a7499;
}

a {
  color: #c3f7ff;
  text-decoration: none;
}

a:hover {
  color: #c3f7ff;
  text-decoration: underline;
}

sup {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}

h2 {
  font-family: finksans, York, sans-serif;
  font-weight: 100;
}

h1 {
  font-family: finksans, York, sans-serif;
  font-weight: 100;
}

.rightSide h2 {
  margin: 0px;
}

.leftSide h1 {
  margin: 0px;
}

a img {
  border: 0px;
}

.banner {
  margin: 0px auto;
  width: 908px;
  position: relative;
  padding-top: 20px;
  max-width: 100%;
}

#mainbanner {
  max-width: 100%;
}

.backgrounds {
  width: 900px;
  margin: 0px auto;
}

.slider {
  width: 644px;
  /*height: 242px !important;*/
  background: grey;
  margin-bottom: 25px;
  border: 2px solid #506bbe;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.slider img {
  border-radius: 10px;
}

.newOnSBM p {
  padding-left: 1em;
  text-indent: -1em;
  margin: 0px;
  padding-bottom: 1px;
}

.newsLinks {
  float: left;
  margin-right: 10px;
  width: 350px;
}

.newsLinks p {
  text-indent: -20px;
  margin: 0px 20px;
  padding-bottom: 8px;
}

.newsLinks img {
  margin-right: 3px;
}

.quickLinks {
  float: left;
}

.quickLinks img {
  margin: 2px;
}

.quickLinks img:hover {
  filter: drop-shadow(0 0 3px rgba(125, 209, 234, 0.76));
}

.navigation {
  background: rgba(191, 173, 213, 0.4);
  border-radius: 20px 20px 0 0;
  height: 42px;
  padding: 0px 5px;
  border-bottom: 1px solid #5dbee2;
}

.navigation img {
  padding-left: 14px;
  padding-right: 14px;
  margin-top: 4px;
  padding-bottom: 3px;
  border: none;
}

.content {
  background: rgba(8, 213, 250, 0.45);
  max-width: 1015px;
  margin: 0 auto;
  height: 825px;
  border-radius: 20px;
  box-shadow: 0px 0px 15px #052636;
  position: relative;
  z-index: 1;
}

.innerContent {
  padding: 10px 13px;
  height: 751px;
  width: 97%;
  overflow-y: auto;
  overflow-x: hidden;
}

#user {
  width: 1015px;
  margin: 0px auto;
  position: relative;
  z-index: 1;
}

#user div {
  background-color: rgba(0, 191, 255, 0.3);
  padding: 3px;
  border-radius: 0px 0px 4px 4px;
}

#login {
  float: left;
}

#nowOn {
  float: right;
}

#rightNav {
  float: right;
}

/* NAVIGATION */
#nav {
  margin: 0;
  line-height: 100%;
  padding: 0px;
}
#nav li {
  float: left;
  position: relative;
  list-style: none;
  border: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

/* main level link */
#nav > li > a,
#nav > #rightNav > li > a {
  height: 40px;
  display: block;
  font-size: 32px;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.7));
  font-family: finksans;
  line-height: 33px;
  background: -webkit-linear-gradient(#eefdff, #87e0fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /*-webkit-text-stroke: 0.03125rem #0ea2e1;*/
}

#nav > li {
  margin: 3px 18px;
}

#nav > #rightNav > li {
  margin: 3px 12px;
}

#nav a:hover {
  color: #c1f6ff;
  text-decoration: none;
}

/* main level link hover */
#nav .current a,
#nav li:hover > a {
  color: #c1f6ff;
}

/* sub levels link hover */
#nav ul li:hover a,
#nav li:hover li a {
  border: none;
}
#nav ul a:hover {
}

/* dropdown */
#nav li:hover > ul,
#nav li > a:focus + ul,
#nav li:focus-within > ul {
  display: block;
}

/* level 2 list */
#nav ul {
  display: none;
  margin: 0;
  padding: 1px;
  position: absolute;
  top: 40px;
  left: -2px;
  background: #288acd;
  border: 1px solid #1670ad;
  border-radius: 4px;
  opacity: 0.95;
  z-index: 1;
}
#nav ul li {
  float: none;
  margin: 0;
  padding: 4px;
  white-space: nowrap;
}

#nav ul li:hover {
  float: none;
  margin: 0;
  padding: 4px;
  background: #219ad9;
}

#nav ul a {
}

/* level 3+ list */
#nav ul ul {
  top: -3px;
  left: 100%;
}

/* clearfix */
#nav:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#nav {
  display: inline-block;
}
html[xmlns] #nav {
  display: block;
}

* html #nav {
  height: 1%;
}

.backButton {
  font-size: 0.8em;
  position: relative;
  bottom: 3px;
}

.randomPic img {
  width: 135px;
}

dl {
  margin-top: 0px;
  margin-bottom: 8px;
}

dt {
  font-size: 0.9em;
}

table td {
  padding-top: 0px;
  padding-bottom: 0px;
}

.pictures {
  border: none;
  margin-right: 2px;
  margin-bottom: 2px;
  width: 237px;
}

.leftSide {
  float: left;
  width: 660px;
}

.rightSide {
  float: left;
  height: 99%;
  margin-left: 8px;
  width: 297px;
  padding: 0px;
  font-size: 0.9em;
  position: relative;
}

.sideHead {
  font-size: 1em;
  font-weight: bold;
}

.affiliates img {
  width: 88px;
  padding: 1px;
  margin: 0px auto;
  display: block;
}

.picDiv {
  position: absolute;
  padding: 9px;
  width: 240px;
  background: url("images/trans.png");
  font-size: 0.9em;
  color: white;
  opacity: 0.95;
}

.picContainer {
  float: left;
  position: relative;
  min-height: 195px;
}

.pagination {
  border: 1px solid #36afe3;
  padding: 3px;
  background: #32b7c9;
  margin: 1px;
}

.pageSelected {
  color: #ffffff;
}

#search {
  margin-top: 6px;
  margin-right: 12px;
  border-radius: 5px;
  max-width: 130px;
  position: relative;
  z-index: 1;
}

#search > input {
  border: 1px solid #3972b7;
  border-radius: 5px;
  height: 22px;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
}

#search > input:focus {
  background: rgba(255, 255, 255, 0.93);
}

#advsearch {
  padding: 0px;
  margin-top: 15px;
  margin-left: -3px;
}

#searchresults a {
  display: block;
}

#livesearch {
  background-color: #2897cd;
  position: absolute;
  width: 230px;
  opacity: 0.95;
  border-radius: 6px;
  box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.5);
}

#livesearch div {
  padding: 2px 4px;
}

#livesearch a {
  padding: 2px 4px;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  display: block;
}

.characterDiv {
  float: left;
  text-align: center;
  width: 300px;
  height: 200px;
}

.characterDiv:hover {
  opacity: 0.8;
}

.characterDiv img {
  vertical-align: top;
  margin: 3px;
  border-radius: 40px;
  width: 190px;
  height: 140px;
  object-fit: cover;
  clear: both;
  border: 1px solid #ffffff;
}

.characterDiv div {
  font-size: 1.5em;
  font-family: finksans;
  margin-top: 5px;
}

.castDiv {
  float: left;
  text-align: center;
  width: 225px;
  height: 200px;
}

.castDiv:hover {
  opacity: 0.8;
}

.castDiv img {
  vertical-align: top;
  margin: 3px;
  border-radius: 40px;
  width: 190px;
  height: 140px;
  object-fit: cover;
  clear: both;
  border: 1px solid #ffffff;
}

.castDiv div {
  font-size: 1.5em;
  font-family: finksans;
  margin-top: 5px;
}

.charactersDiv {
  float: left;
  text-align: center;
  width: 225px;
  height: 200px;
}

.charactersDiv:hover {
  opacity: 0.8;
}

.charactersDiv img {
  vertical-align: top;
  margin: 3px;
  border-radius: 40px;
  width: 190px;
  height: 140px;
  object-fit: cover;
  clear: both;
  border: 1px solid #ffffff;
}

.charactersDiv div {
  font-size: 1.4em;
  font-family: finksans;
  margin-top: 5px;
}

.gadgetsDiv {
  float: left;
  text-align: center;
  width: 225px;
  height: 190px;
  margin-top: 10px;
}

.gadgetsDiv:hover {
  opacity: 0.8;
}

.gadgetsDiv img {
  vertical-align: top;
  margin: 3px;
  border-radius: 40px;
  width: 190px;
  height: 140px;
  object-fit: cover;
  clear: both;
  border: 1px solid #ffffff;
}

.gadgetsDiv div {
  font-size: 1.2em;
  font-family: finksans;
  margin-top: 5px;
}

.inventionsDiv {
  float: left;
  text-align: center;
  width: 225px;
  height: 190px;
  margin-top: 20px;
}

.inventionsDiv:hover {
  opacity: 0.8;
}

.inventionsDiv img {
  vertical-align: top;
  margin: 3px;
  border-radius: 40px;
  width: 190px;
  height: 140px;
  object-fit: cover;
  clear: both;
  border: 1px solid #ffffff;
}

.inventionsDiv div {
  font-size: 1.1em;
  font-family: finksans;
  margin-top: 5px;
}

.locationsDiv {
  float: left;
  text-align: center;
  width: 225px;
  height: 200px;
}

.locationsDiv:hover {
  opacity: 0.8;
}

.locationsDiv img {
  vertical-align: top;
  margin: 3px;
  border-radius: 40px;
  width: 190px;
  height: 140px;
  object-fit: cover;
  clear: both;
  border: 1px solid #ffffff;
}

.locationsDiv div {
  font-size: 1.3em;
  font-family: finksans;
  margin-top: 5px;
}

#tranPics {
  float: right;
  min-height: 50px;
}

#tranText {
  overflow: auto;
}

.transcriptPics {
  height: 140px;
  margin: 1px 0px 2px 1px;
  display: block;
}

.new {
  color: red;
  font-size: 0.7em;
  vertical-align: top;
}

.newsFrame {
  width: 615px;
  height: 100%;
  float: left;
}

.wallpapers {
  padding: 2px;
  width: 230px;
}

.ywp-hdr-logo {
  visibility: hidden;
}

.menuRaquo {
  position: absolute;
  right: 0;
  padding-right: 2px;
  font-size: 0.8em;
}

.tagCheck {
  color: #27ac1d;
  font-size: 80px;
  padding-left: 62px;
  position: absolute;
  text-shadow: 0 0 4px black;
  opacity: 0.9;
}

.videogamestable {
  border-collapse: collapse;
}

.videogamestable tr th {
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 3px;
}

.videogamestable tr td,
.videogamestable tr th {
  padding: 3px 10px;
}

.upcomingepisode-header {
  font-weight: bold;
  margin-top: 6px;
  display: block;
}

.lower-spacing {
  line-height: 0.9em;
}

@media (max-width: 1000px) {
  html,
  body {
    height: unset;
  }

  body {
    background-position-y: calc(-175px + 18vw);
    font-size: 1.2rem;
  }

  #leftTop,
  #rightTop {
    display: none;
  }

  .content {
    height: unset;
  }

  .navigation {
    height: unset !important;
    display: flex;
    justify-content: center;
  }

  #nav {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
  }

  #search {
    max-width: 100%;
    width: 98%;
  }

  #search > input {
    font-size: 1rem;
  }

  #rightNav {
    width: 100%;
  }

  #nav li {
    float: unset;
  }

  .innerContent {
    width: unset;
    height: unset;
    overflow-x: auto;
  }

  .leftSide {
    width: 100%;
  }

  .slider {
    width: 100%;
  }

  .slider img {
    width: 100%;
  }

  .bjqs-caption {
    font-size: 0.7em;
  }

  .newsLinks {
    width: unset;
  }

  #nav ul {
    z-index: 100;
    top: 28px;
  }

  #nav > li > a,
  #nav > #rightNav > li > a {
    font-size: 24px;
    height: 28px;
  }

  #user {
    width: 100%;
  }

  #musicTable img {
    display: none;
  }

  .albums img {
    width: 140px !important;
  }

  .calendar {
    font-size: 0.6em;
  }

  .calendar form {
    height: 45px;
  }
}
