/* Vantage Boxed Layout - 100% Width Menu, Header and Footer */
body.layout-boxed #page-wrapper {
  max-width: none;
  padding-top: 0;
}

header#masthead .full-container, #main-slider, #main, #colophon {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1080px;
}

#main {
	min-height:825px;
  height:auto !important;
  height:500px; 
}

.site-header .main-navigation .full-container {
  max-width: 100%;
}

body.responsive.layout-boxed #page-wrapper header#masthead .full-container {
  margin: 0 auto;
  max-width: 1080px !important;
}

body.responsive #page-wrapper {
  max-width: 100%;
  padding-top: 0;
}

#main-slider {
  margin: 0 auto;
  max-width: 1080px;
}

#main {
  margin: 0 auto;
  max-width: 1080px;
}

#colophon {
  margin: 0 auto;
  max-width: 100%;
}

#colophon #footer-widgets {
  margin: 0 auto;
  max-width: 1080px;
}

.mobilenav-main-link {
	font-size: 150%;
}

@media (max-width: 1549px) {
  #masthead.masthead-logo-in-menu .logo > img.logo-no-height-constrain {
    max-height: 50px;
    display: none;
  }
	.logo	{
  	padding: 0 !important;
    margin: 0 0 0 10px !important;
    background-image: url("../2016/03/fel_bw_wt.png");
    background-size: 80px auto;
    background-repeat: no-repeat;
    background-position: 0% 50%; 
    height: 50px;
    width: 80px;
  }
  .menu-item a {
    padding: 18px 30px !important;
  }
}

@media (min-width: 1550px) {
  #masthead.masthead-logo-in-menu .logo > img.logo-no-height-constrain {
    position: relative;
    left: -250px;
    top: -115px;
  }
  .logo {
  	position: absolute;
    height: 50px;
	}
}

@media (max-width: 480px) {
  .logo	{
  	margin-top: 4px !important;
  }
  .sow-carousel-title a.sow-carousel-previous{
     display: block !important;
}

.sow-carousel-title a.sow-carousel-next{
     display: block !important;
}
  
.ohjevideo {
  width: 256px;
  height: 144px;
  }
  
.bracket_team_slot {
  width: 120px !important;
  margin-bottom: 2px;
}

.bracket_team_slot.RO4 {
  margin-left: 90px !important;
}

.bracket_team_slot.RO4.bronze {
  margin-left: 90px !important;
}

.bracket_team_slot.RO2 {
  margin-left: 130px !important;
} 

.bracket_team_slot.RO1 {
  margin-left: 140px !important;
} 
  
.tournament-match-container {
  width: 16vw !important;
  font-size: 2vw !important;
}
}

#masthead.masthead-logo-in-menu .main-navigation {
  margin-top: 100px;
}

/* Päämenun fontti */
.main-navigation ul li a {
  font-size: 18px;
}

/* Fontin muotoilut sisältöalueella */
body {
  font-family: 'Roboto Condensed', sans-serif;
}

.site-main p {
  font-size: 16px;
  color: #b0b0b0;
}

.site-main h1 {
  color: #ffffff !important;
  font-weight: bold;
  font-size: 22px;
  letter-spacing: 1px;
}

.site-main h2 {
  color: #ffffff !important;
  font-weight: bold;
  font-size: 20px !important;
  letter-spacing: 1px;
}

.site-main h3 {
  color: #ffffff !important;
  font-weight: bold;
  font-size: 18px !important;
  letter-spacing: 1px;
}

.site-main h4 {
  color: #ffffff !important;
  font-weight: bold;
  font-size: 16px !important;
  letter-spacing: 1px;
}

.site-main ul li {
  font-size: 16px;
  color: #b0b0b0;
  list-style-type: disc;
}

.flexslider ul li {
  list-style-type: none; 
}

.site-main ol li {
  font-size: 16px;
  color: #b0b0b0;
}

.site-main ol {
  margin-left: 5px;  
}

.site-main ul {
  margin-left: 5px;
}


/* Footerin muotoilut */

.site-footer ul li {
  font-size: 16px;
}

.site-footer ul li a:hover {
  color: #ffffff !important;
}

/* Uutisen muotoilut */
.entry-meta {
  font-size: 14px !important;
}

.entry-meta a {
  font-size: 14px !important;
  color: #357ebf !important;
}

.share-buttons {
  background-color: #222222 !important;
  border: 0px !important;
}

.logged-in-as a {
  font-size: 12px;
}

.logged-in-as a:hover {
  font-size: 12px;
  color: #419cc6;
}

.artikkelisome {
 padding-bottom: 65px;
 padding-top: 20px;
 padding-left: 20px;
 padding-right: 20px;
 -webkit-border-radius: 3px;
 border-radius: 3px;
 -moz-box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0, rgba(0, 0, 0, 0.8) 0 1px 7px 0px inset;
 -webkit-box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0, rgba(0, 0, 0, 0.8) 0 1px 7px 0px inset;
 box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0, rgba(0, 0, 0, 0.8) 0 1px 7px 0px inset;
}

/* Joukkuesivun muotoilu */
.team-table tr td {
  font-size: 16px;
  padding-left: 10px;
  padding-right: 10px;
}

.team-table-team-name {
  font-size: 18px !important;
  font-weight: 700;
}

.team-table-player-select {
 		background-color: #1c1c1c;
    border-color: #191919;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
  	color: #ffffff;
		height: 32px;
    margin-bottom: 15px;
    background: url(../2016/04/arrow_down.png);
    background-repeat: no-repeat;
    background-position: 97% 50%; 
    -webkit-appearance:none;
}

/* Ottelutsivun muotoilut */

.current-tournament {
  color: #22b14c;
  font-size: 18px;
  font-weight: bold;
  padding: 15px;
}

/* Tekstikenttien muotoilu */
input[type=text] {
 		background-color: #1c1c1c;
    border-color: #191919;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
  	color: #ffffff;
}

input[type=password] {
 		background-color: #1c1c1c;
    border-color: #191919;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
  	color: #ffffff;
}

input[type=text]:focus {
		border-color:#357ebf !important;
		-webkit-box-shadow: 0px 0px 5px 3px rgba(53,126,191,0.4) !important;
		-moz-box-shadow: 0px 0px 5px 3px rgba(53,126,191,0.4) !important;
		box-shadow: 0px 0px 5px 3px rgba(53,126,191,0.4) !important;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
  	color: #ffffff;
}

input[type=password]:focus {
		border-color:#357ebf !important;
		-webkit-box-shadow: 0px 0px 5px 3px rgba(53,126,191,0.4) !important;
		-moz-box-shadow: 0px 0px 5px 3px rgba(53,126,191,0.4) !important;
		box-shadow: 0px 0px 5px 3px rgba(53,126,191,0.4) !important;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
  	color: #ffffff;
}

label {
  font-size: 16px;
}

.blue-info {
  color: #ffffff;
}

/* Twitter widgetin tyylit */
.atf-static-tweets .atf-inner-wrapper .atf-tweet-wrapper {
  background-color: #1c1c1c;
  border-color: #191919;
  border-left-width: 6px;
  border-left-color: #357ebf;
  border-radius: 3px;
}

/* Uutiskarusellin muotoilut */

.sow-carousel-container .sow-carousel-wrapper .sow-carousel-thumbnail a {
	width: 231px !important;
	height: 122px !important;
	background-size: 231px 122px !important;
}

.sow-carousel-container .sow-carousel-wrapper h3 {
  font-size: 16px !important;
  letter-spacing: 0px !important;
}


/* Facebook widgetin tyylit */

.cff-item {
  background-color: #1c1c1c !important;
  border-top-width: 1px !important;
  border-top-color: #191919 !important;
  border-bottom-width: 1px !important;
  border-bottom-color: #191919 !important;
  border-right-width: 1px !important;
  border-right-color: #191919 !important;
  border-style: solid !important;
  border-left-width: 6px !important;
  border-left-color: #357ebf !important;
  border-radius: 3px !important;
  padding: 10px !important;
  margin-bottom: 15px !important;
}

.cff-item a:hover {
  color: #419cc6;
}

.cff-page-name {
  color: #357ebf !important;
}


/* Instagram widgetin tyylit */
.wdi_feed_container {
  background-color: #1c1c1c !important;
  border-top-width: 1px;
  border-top-color: #191919;
  border-bottom-width: 1px !important;
  border-bottom-color: #191919 !important;
  border-right-width: 1px;
  border-right-color: #191919;
  border-style: solid;
  border-left-width: 6px;
  border-left-color: #357ebf;
  border-radius: 3px;
  padding: 10px;
}

.wdi_feed_wrapper {
  background-color: #1c1c1c;
}

.wdi_pagination_ctrl {
  color: #357ebf;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: bold;
}


/* Bracket */
.bracket_team {
  background-color: #1c1c1c;
  border-top-width: 1px;
  border-top-color: #357ebf;
  border-bottom-width: 1px;
  border-bottom-color: #357ebf;
  border-right-width: 1px;
  border-right-color: #357ebf;
  border-style: solid;
  border-left-width: 6px;
  border-left-color: #357ebf;
  font-weight: bold;
  text-align: center;
  width: 100px;
  padding-left: 5px;
}

.bracket_empty {
  border-left: 1px solid #357ebf !important;
}

.bracket_heading {
  text-align: center;
}

.left_bracket {
  float: left;
  width: 650px; 
  margin-left: 50px;
  padding-top: 120px;
}

/* Uutisissa käytettävä pienempi bracket */
.bracket_team_slot.news {
  background-color: #1c1c1c;
  border-style: solid;
  border-radius: 4px;
  border-left-width: 6px;
  border-left-color: #357ebf;
  border-right-width: 1px;
  border-right-color: #357ebf;
  border-top-width: 1px;
  border-top-color: #357ebf;
  border-bottom-width: 1px;
  border-bottom-color: #357ebf;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
  width: 110px;
  min-height: 20px;
  padding-left: 2px;
  padding-right: 2px;
  line-height: 20px;
  vertical-align: middle;
}

.bracket_team_slot.news.RO8 {
  width: 200px;
}

.bracket_team_slot.news.RO4 {
  margin-left: 210px;
}

.bracket_team_slot.news.RO4.bronze {
  margin-left: 120px;
}

.bracket_team_slot.news.RO2 {
  margin-left: 330px;
}

.bracket_team_slot.news.RO1 {
  margin-left: 440px;
}


/* Koko sivun bracket */
.bracket_team_slot.full_width {
  background-color: #1c1c1c;
  border-style: solid;
  border-radius: 4px;
  border-left-width: 6px;
  border-left-color: #357ebf;
  border-right-width: 1px;
  border-right-color: #357ebf;
  border-top-width: 1px;
  border-top-color: #357ebf;
  border-bottom-width: 1px;
  border-bottom-color: #357ebf;
  font-weight: bold;
  color: #b0b0b0;
  text-align: center;
  width: 180px;
  min-height: 30px;
  padding-left: 5px;
  padding-right: 5px;
  line-height: 30px;
  vertical-align: middle;
}

.bracket_team_slot.full_width.RO8.single {
  margin-bottom: 30px;
}

.bracket_team_slot.full_width.RO8.double {
  margin-bottom: 57px;
}

.bracket_team_slot.full_width.RO4 {
  margin-left: 220px;
}

.bracket_team_slot.full_width.RO2 {
  margin-left: 440px;
}

.bracket_team_slot.full_width.RO1 {
  margin-left: 660px;
}

/* Info laatikko */
.info-box-shadow {
 -webkit-border-radius: 3px;
 border-radius: 3px;
 -moz-box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0, rgba(0, 0, 0, 0.8) 0 1px 7px 0px inset;
 -webkit-box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0, rgba(0, 0, 0, 0.8) 0 1px 7px 0px inset;
 box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0, rgba(0, 0, 0, 0.8) 0 1px 7px 0px inset;
}

.info-box-shadow .fel-homepage-info {
 -moz-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
 -webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
 box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
 border-bottom: 1px solid #121212;
 padding-bottom: 15px;
 font-size: 16px;
 color: #b0b0b0;
}

/* Uutiset sivu */
article.category-uutiset {
 -moz-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
 -webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
 box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
 border-bottom: 1px solid #121212;
}

/* Poista sponsorisliderin kontrollit */
.so-widget-sow-slider .sow-slider-pagination {
	display: none !important;
}

.so-widget-sow-slider .sow-slide-nav {
	display: none !important;
}

/* New bracket */
  .tournament-bracket {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
	  width: 100%
  }

  .tournament-round {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .tournament-match-container {
    display: flex;
    flex-direction: column;
    height: 50px;
    width: 150px;
  }

  .tournament-match {
    background-color: rgba(13, 13, 13, 0.8);
    border: 1px solid #1a1a1a;
    border-radius: 2px;
    color: #fff;
    height: 100%;
  }

  .tournament-match .team1-data {
    border-bottom: 1px dotted #2c2c2c;
    background-color: rgba(13, 13, 13, 0.8);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 5px;
    padding-right: 5px;
    height: 24px;
  }

  .tournament-match .team2-data {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 5px;
    padding-right: 5px;
    height: 24px;
  }

  .tournament-match .team1-data .team1-name {
    overflow: hidden;
    margin-right: 5px;
  }

  .tournament-match .team2-data .team2-name {
    overflow: hidden;
    margin-right: 5px;
  }

  .tournament-round-divider {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .tournament-match-connector {
    display: flex;
    flex-direction: row;
    width: 30px;
  }

  .tournament-match-connector.loser-bracket {
    display: flex;
    flex-direction: row;
    width: 25px;
  }

  .tournament-match-connector .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
  }

  .tournament-match-connector .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
  }

  .tournament-match-connector.loser-bracket .right {
    width: 100%;
  }

  .tournament-match-connector.loser-bracket .left {
    width: 100%;
  }

  .tournament-match-connector .left .top {
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
  }

  .tournament-match-connector .left .bottom {
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
  }

  .tournament-match-connector.loser-bracket .left .top {
    border-top: 1px solid #fff;
    border-right: 0;
  }

  .tournament-match-connector.loser-bracket .left .bottom {
    border-bottom: 1px solid #fff;
    border-right: 0;
  }

  .tournament-match-connector .right .middle {
    border-bottom: 1px solid #fff;
    height: 0;
  }

  .tournament-round-divider.ro-4 .tournament-match-connector {
    height: 149px;
  }

  .tournament-round-divider.ro-4 .tournament-match-connector .left .top {
    height: 37px;
  }

  .tournament-round-divider.ro-4 .tournament-match-connector .left .bottom {
    height: 36px;
  }

  .tournament-round-divider.ro-2 .tournament-match-connector .left .top {
    height: 75px;
  }

  .tournament-round-divider.ro-2 .tournament-match-connector .left .bottom {
    height: 74px;
  }

  .tournament-round.ro-8 .tournament-match-divider {
    height: 25px;
  }

  .tournament-round.ro-8 .tournament-group-divider {
    height: 25px;
  }

  .tournament-round.ro-4 .tournament-match-divider {
    height: 98px;
  }