@import url('https://fonts.googleapis.com/css?family=Lato|Source Sans Pro:700|"Source Sans Pro"');
#fixedbody {
  background: none;
}
.navbar .container {
  padding-left: 0;
  padding-right: 0;
}
.navbar {
  background: none;
}
.navbar-header {
  background: #ffffff;
  color: #000000;
}
#header-banner img {
  width: 100%;
}
.torneopal-template {
  /*  background:@content-bg;*/
}
#navbar ul {
  margin: 0px;
}
#navbar,
#navbar ul,
.lohko th {
  background: not;
  background-color: #3d428a;
  color: #ffffff;
}
#footer {
  background-color: #3d428a;
  color: #ffffff;
  margin-top: 1em;
}
#navbar,
#navbar ul {
  background-color: not;
}
.navbar-fixed-top #navbar {
  background: #3d428a;
}
.dropdown-menu > li > a {
  color: #ffffff;
}
.dropdown-menu > li > a:hover {
  color: #343434;
}
#navbar ul.dropdown-menu {
  background: #3d428a;
}
.navbar-brand {
  font-family: "Source Sans Pro";
  font-size: 2em;
  color: #000000;
  vertical-align: middle;
}
@media (max-width: 480px) {
  .navbar-brand span {
    font-size: 80%;
  }
}
body {
  color: #000000;
  font-family: Lato;
  background-color: #ffffff;
  background-size: cover;
  background-image: url('/img/bg.jpg');
  background-position-y: 100px !important;
  padding-top:150px;
  background-attachment: scroll;
}
#main-content {
  background: #ffffff;
}
h1,
h2 {
  color: #000000;
  font-family: Source Sans Pro 700;
}
img.headerbg {
  width: 100%;
}
.navbar-header {
  background-color: #ffffff;
  background:none;
}
.navbar-inverse .navbar-brand {
  color: #000000;
}
.navbar-inverse .navbar-brand {
  display: static;
}
.navbar-inverse .navbar-dates {
  display: none;
}
.navbar-inverse .navbar-brand:hover {
  color: #000000;
}
.navbar-inverse .navbar-nav > li > a,
.navbar-nav > li > a {
  color: #ffffff;
  text-transform: uppercase;
  font-family: "Source Sans Pro";
}
a:hover,
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
  color: #343434;
  background-color: transparent;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
  color: #ffd700;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .open > a {
  color: #ffd700;
  background: inherit;
  background-color: inherit;
}
.awesome,
a.awesome,
input.awesome {
  background-color: #3d428a;
  color: #ffffff;
}
.awesome:hover,
a.awesome:hover {
  color: #ffd700;
}
.lohko th {
  background: #3d428a;
  color: #ffffff;
}
.mlhead {
  background: #3d428a;
  color: #ffffff;
}
table.lohko {
  border: 1px solid #3d428a;
}
.ilmoittautumisryhma .col-md-6 {
  float: none;
  width: 50%;
  display: inline-block;
}
.kenttali {
  white-space: nowrap;
}
#lmap {
  width: 100%;
}
.cup th {
  background-color: #3d428a;
}
.bannersponsor img {
  float: left;
  margin: 0 1em 0 0;
  max-height: 80px;
  max-width: 200px;
}
.bannersponsor_right img {
  float: right;
}
.sponsorleft {
  float: left;
}
.sponsorcenter {
  display: none;
  width: 100%;
  text-align: center;
}
.sponsorright img,
.sponsorleft img,
.sponsorcenter img {
  max-height: 40px;
}
.sponsorright {
  float: right;
}
#navbar{
  padding-left:15px !important;
}
@media (max-width: 768px) {
  body{
    padding-top:70px;
  }
  #navbar {
    background: #3d428a;
  }
  .sponsorcenter {
    display: block;
  }
  .sponsorright,
  .sponsorleft {
    display: none;
  }
  .navbar-header {
    background: #ffffff;
    color: #3d428a;
    border-bottom: 1px solid #3d428a;
  }
  .navbar-brand {
    white-space: normal;
  }
  .navbar-inverse .navbar-brand {
    color: #3d428a;
  }
  /*
  .navbar-header when (@header-bg = none){
    background:@menu-bg-mobile;
    color:#000;
    border-bottom:1px solid #000;
  }
  .navbar-header when (@header-bg = #fff){
    background:@menu-bg-mobile;
    color:#000;
    border-bottom:1px solid #000;
  }
*/
  .navbar-inverse .navbar-toggle .icon-bar {
    background: #3d428a;
  }
  .navbar-brand img {
    max-height: 50px;
    vertical-align: top;
    max-width: 50%;
    display: static;
  }
  .bannersponsor img {
    max-height: 50px;
    max-width: 100px;
    float: right;
    margin: 0;
  }
  .bannersponsor_copy {
    display: none;
  }
}
@media (min-width: 768px) {
  .widedropdown ul {
    width: 30em !important;
  }
  .widedropdown li {
    width: 14em;
    display: inline-block;
  }
  .widedropdown .divider {
    display: none;
  }
}
@media (min-width: 992px) {
  .lohkoclass {
    float: none;
/*    display: inline-block;*/
    width: 48%;
  }
  .sijoitustaulukko .lohkoclass {
    width: 32%;
  }
  .tuplalohko {
    float: none;
    width: 48%;
    display: inline-block;
    vertical-align: top;
  }
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .open > a {
  box-shadow: none;
}
.fdialog {
  display: none;
}
.aluekartta {
  float: right;
  max-width: 80%;
}
.bannerimage {
  vertical-align: middle;
}
#sponsors{
  position:absolute;
  top:-80px;
  height:100px;
  width:1200px;
  background:none;
  margin-left: min(450px,50%);
  margin-right: auto;
}
