/* SAHL CSS Document */

body {
  width: 100%;
  height: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing : border-box;
  background-image: url("../images/all.jpg");
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-origin: border-box;
  background-position: top left;
}

#main hr {
  background: #204d74;
  height: 2px;
  border: 0;
}

article header h2,
aside table h2 {
  font-size: 1.6em;
  line-height: 2em;
  text-align: center;
}

article h2 {
  text-align: center;
}

article a {
  transition: color 0.5s ease;
  -webkit-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
  color: #204d74;
}

article a:hover,
article a:focus,
article a:target,
main a:focus,
main a:hover,
main a:target {
  text-decoration: none;
  color: #ff9800;
}

article footer {
  background-color: transparent;
  color: #000;
}

.overflow-container {
  overflow-x: auto;
}

#main h1 {
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  line-height: 2em;
  font-size: 2em;
  margin-bottom: 1em;
}

table th {
  background-color: #337ab7;
  font-weight: bold;
  color: #fff;
}

table tr {
  background-color: #fff;
}

table caption {
  text-align: center;
  color: #fff;
  background-color: #337ab7;
}

table caption a {
  -webkit-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
  transition: color 0.5s ease;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

table caption a:hover,
table caption a:focus,
table caption a:target {
  color: #ff9800;
  text-decoration: none;
}

div.table-responsive .table {
  margin-top: 2em;
}

#main div.table-responsive {
  margin-bottom: 0;
  border: none;
}

#teams {
  padding: 1em 0;
  margin: 1em 0;
  width: 100%;
  clear: both;
  text-align: center;
}

#teams a h2 {
  font-size: 16px;
  margin: 5px 5px 0 5px;
}

#teams a {
  text-decoration: none;
}

#teams img {
  margin: 1.75em 1em;
}

#teams figure {
  margin-bottom: 2em;
}

#teams figure figcaption {
  margin-bottom: 0.5em;
  font-weight: bold;
  text-align: center;
  font-size: 1.25em;
}

#teams figure > div {
  margin-top: 0.5vh;
  height: 35vh;
}

#sponsors {
  width: 60%;
  margin: 2em 20%;
}

#sponsors figure {
  padding: 2rem;
  min-height: 20vh;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  color: #fff;
  overflow-y: scroll;
  z-index: 99;
  display: none;
}

#lightbox div#show-prev,
#lightbox div#show-next {
  -webkit-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
  transition: color 0.5s ease;
  color: #fff;
  cursor: pointer;
  margin: 1em 0 3em 0;
}

#lightbox #close {
  cursor: pointer;
}

#lightbox div#show-prev span:hover,
#lightbox div#show-prev span:focus,
#lightbox div#show-prev span:target,
#lightbox div#show-next span:hover,
#lightbox div#show-next span:focus,
#lightbox div#show-next span:target,
#lightbox #close:hover,
#lightbox #close:focus,
#lightbox #close:target {
  color: #898989;
}

#lightbox div {
  line-height: 2em;
  text-align: center;
}

#lightbox p {
  -webkit-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
  transition: color 0.5s ease;
  color: #fff;
  font-size: 1.5em;
  line-height: 2em;
  display: inline-block;
}

#lightbox div > span {
  vertical-align: middle;
  line-height: 12em;
  font-size: 3em;
}

#lightbox div#show-prev,
#lightbox div#show-next {
  text-align: center;
}

#lightbox img {
  -webkit-box-shadow:0 0 2em #111;
  -moz-box-shadow:0 0 2em #111;
  box-shadow:0 0 2em #111;
  max-width: 100%;
}

footer {
  background-color: #286090;
  width: 100%;
  color: #fff;
  padding: 2em;
}

footer a {
  transition: color ease 0.5s;
  -webkit-transition: color ease 0.5s;
  -moz-transition: color ease 0.5s;
  -o-transition: color ease 0.5s;
  color: #fff;
}

#main h2,
footer h2 {
  font-weight: bold;
  text-align: center;
  font-size: 1.5em;
  line-height: 1.5em;
  text-transform: uppercase;
  margin-bottom: 1em;
}

footer a:hover,
footer a:focus,
footer a:target {
  color: #ff9800;
  text-decoration: none;
}

nav.navbar {
  background-color: #286090;
  margin-bottom: 0;
  border-radius: 0;
  height: 4em;
  border: none;
}

nav.navbar > div {
  margin: 0 19vw;
}

nav.navbar ul.nav > li > a,
nav.navbar div.navbar-header a,
nav.navbar-default .navbar-nav > .open > a {
  transition : background-color 0.5s ease;
  -webkit-transition : background-color 0.5s ease;
  -moz-transition : background-color 0.5s ease;
  -o-transition : background-color 0.5s ease;
  background-color: #286090;
  color: #fff;
  text-align: center;
  font-size: 1em;
  line-height: 2em;
  height: 4em;
  z-index: 999;
}

.navbar ul.nav li > a:hover,
.navbar ul.nav > li > a:focus,
.navbar ul.nav > li > a:target,
.navbar div.navbar-header a:focus,
.navbar div.navbar-header a:hover,
.navbar div.navbar-header a:target,
nav.navbar-default .navbar-nav > .open > a:hover,
nav.navbar-default .navbar-nav > .open > a:focus,
nav.navbar-default .navbar-nav > .open > a:target {
  background-color: #204d74;
  color: #e5e5e5;
}

nav.navbar-default .navbar-nav > .open .dropdown-menu {
  background-color: #5b94c5;
  z-index: 999;
}

nav.navbar-default .navbar-nav > .open .dropdown-menu > li > a {
  transition: background-color 0.5s ease;
  -webkit-transition: background-color 0.5s ease;
  -moz-transition: background-color 0.5s ease;
  -o-transition: background-color 0.5s ease;
  color: #fff;
  z-index: 999;
}

nav.navbar-default .navbar-nav > .open .dropdown-menu > li.dropdown-header {
  color: #c0c0c0;
  z-index: 999;
}

nav.navbar-default .navbar-nav > .open .dropdown-menu > li > a:hover,
nav.navbar-default .navbar-nav > .open .dropdown-menu > li > a:focus,
nav.navbar-default .navbar-nav > .open .dropdown-menu > li > a:target {
  color: #fff;
  background-color: #204d74;
}

.navbar div.navbar-header button {
  transition: background-color 0.5s ease;
  -webkit-transition: background-color 0.5s ease;
  -moz-transition: background-color 0.5s ease;
  -o-transition: background-color 0.5s ease;
}

.navbar div.navbar-header button:hover,
.navbar div.navbar-header button:focus,
.navbar div.navbar-header button:target {
  background-color: #204d74;
}

#main {
  padding: 0;
  width: 100%;
  min-height: 60vh;
}

#main > main {
  width: 60%;
  padding: 0;
  margin: 0 20%;
  clear: both;
}

.content {
  background-color: #fff;
  padding: 3rem;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
}

.content article {
  padding: 1.5rem;
}

.content article main {
  padding-bottom: 1.5rem;
}

.content article header {
  padding-bottom: 0.75rem;
}

.content article main figure img {
  padding-bottom: 1rem;
}

.article-content {
  overflow-wrap: break-word
}

.image-centered {
  display: block;
  margin: 0 auto;
}

main figure img {
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}

#main ul,
footer ul {
  padding: 0;
  list-style: none;
}

table.leaderbord th {
  color: #c9302c;
}

table.leaderboard tr:nth-child(9) {
  border-top: 5px solid #c9302c;
}

.borrowed-player {
  border: 5px solid #c9302c;
}

.first {
  font-weight: bold;
}

#scroll-to-top {
  width: 50px;
  height: 50px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 98;
  border: 1px solid #286090;
  outline: none;
  background-color: #FFFFFF;
  color: #286090;
  cursor: pointer;
  padding: 15px;
  border-radius: 50px;
}

#forum article {
  padding: 2em;
}

#pictures img {
  cursor: pointer;
}

#pictures figure {
  padding: 1.5em;
  margin-top: 2em;
}

#side-fights {
  padding-left: 0;
}

#main aside {
  padding: 0;
  margin-bottom: 1em;
}

#authors > div,
footer > section {
  padding: 0.75rem;
  clear: both;
}

#players-wrapper {
  margin-top: 25px;
  background: white;
}

#players-wrapper .row:first-child {
  padding: 10px 10px 0 10px;
}

#players-wrapper .row:last-child {
  padding: 0 10px 0 10px;
}

@media screen and (min-width: 280px) and (max-width: 800px) {

  #main {
    background-image: none;
    background-color: #fff;
  }

  #side-fights {
    padding: 0;
    margin-bottom: 2em;
  }

  nav.navbar > div {
    margin: 0;
  }

  nav div.navbar-collapse {
    position: relative;
    z-index: 999;
  }

  #main > main {
    width: 100%;
    padding: 0;
    margin: 0;
    clear: both;
  }

  .content article {
    padding: 1em;
  }

}

@media screen and (min-width: 800px) and (max-width: 1100px) {

  nav.navbar > div {
    margin: 0;
  }

  section#sponsors {
    width: 90%;
    margin: 2em 5%;
  }

  #main > main {
    width: 90%;
    padding: 0;
    margin: 0 5%;
    clear: both;
  }

}