/* Viewport fix */
@-webkit-viewport,
@-moz-viewport,
@-ms-viewport,
@-o-viewport,
@viewport {
	width: device-width;
}

/* CCM-UI */
/* Coren ja teeman bootstrapit */
.ccm-ui,
.ccm-ui * {
	-webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
}

/* Nivo Slider edit-fix */  
div#ccm-highlighter {  
	z-index: 100;  
} 

.nivoSlider {
   box-shadow: none !important;
}

/* Addthis */

#addthis {
	text-align: right;
}

#addthis .addthis_toolbox {
	width: 260px !important;
	display: inline-block;
}

#addthis a {
	margin-bottom: 0;
}


#_page-wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -60px;
	padding-bottom: 60px;
}

/* Golden Button */

.btn-gold { 
  color: white; 
  background-color: rgb(51, 55, 57); 
  border-color: rgb(51, 55, 57);
} 
 
.btn-gold:hover, 
.btn-gold:focus, 
.btn-gold:active, 
.btn-gold.active, 
.open .dropdown-toggle.btn-gold { 
  color: white; 
  background-color: rgb(51, 55, 57); 
  border-color: rgb(51, 55, 57); 
} 
 
.btn-gold:active, 
.btn-gold.active, 
.open .dropdown-toggle.btn-gold { 
  background-image: none; 
} 

.btn-gold.disabled, 
.btn-gold[disabled], 
fieldset[disabled] .btn-gold, 
.btn-gold.disabled:hover, 
.btn-gold[disabled]:hover, 
fieldset[disabled] .btn-gold:hover, 
.btn-gold.disabled:focus, 
.btn-gold[disabled]:focus, 
fieldset[disabled] .btn-gold:focus, 
.btn-gold.disabled:active, 
.btn-gold[disabled]:active, 
fieldset[disabled] .btn-gold:active, 
.btn-gold.disabled.active, 
.btn-gold[disabled].active, 
fieldset[disabled] .btn-gold.active { 
  background-color: rgb(51, 55, 57); 
  border-color: rgb(51, 55, 57); 
} 
 
.btn-gold .badge { 
  color: #ECC829; 
  background-color: #000000; 
}

/* Lomakkeet */

.miniSurveyView #msg {
	padding: 15px;
	margin-bottom: 30px;
}

/* Image-lohkot */

.ccm-image-block {
	padding: 10px;
}

/* Header Banner */

#header-banner {
	overflow: hidden;
}

.slider-wrapper {
	padding: 0px !important;
}

.nivoSlider {
	margin-bottom: 0px !important;
}

/* Navigation - NavItems */
#nav-top .hide_from_top_nav {
	display: none;
}

#nav-main .hide_from_main_nav,
#nav-main-mobile .hide_from_main_nav {
	display: none;
}

/* Navigation - mobile view */
/* CHECK Käytetään media querya koska ulkoasu poikkeaa merkittävästi muista näkymistä.. */
/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {

	#header-banner .col-xs-12 {
		padding: 0px;
	}

	#nav-mobile-toggle-target {
		background-color: rgb(211, 211, 211);
		border-bottom: 1px solid Black;
	}

	#nav-main-mobile,
	#navigation-top	{
		margin-left: -15px;
		margin-right: -15px;
	}

	#nav-main-mobile {
		padding-top: 25px;
		background-color: White;
		border-right: 2px solid Black;
	}

	#navigation-top {
		padding-top: 40px;
		background-color: rgb(211, 211, 211);
	}



	#nav-main-mobile a {
		font-size: 20px;
		color: Black;
		text-transform: uppercase;
		font-weight: 700;
		font-style: italic;
	}
	
	#nav-main-mobile a:hover,
	#nav-main-mobile a:focus,
	#nav-main-mobile a.nav-selected,
	#nav-main-mobile a.nav-path-selected {
		background-color: rgb(211, 211, 211);
	}
	
	#nav-main-mobile ul ul {
		padding-left: 0px;
		padding-top: 5px;
	}

	#nav-main-mobile ul ul a {
		display: block;
		font-size: 16px;
		padding: 5px 15px;
		font-weight: 400;
		text-transform: none;
	}
	
	#nav-main-mobile ul ul a:hover,
	#nav-main-mobile ul ul a:focus,
	#nav-main-mobile ul ul a.nav-selected,
	#nav-main-mobile ul ul a.nav-path-selected {
		background-color: transparent;
		font-weight: 700;
		text-decoration: none;
	}
	
	#nav-main-mobile ul ul ul {
		padding-left: 15px;
		padding-top: 0px;
	}
	
	#navigation-top ul a {
		font-size: 14px;
		color: Black;
		font-weight: 700;
		font-style: italic;
		padding: 5px 15px;
	}
	
	#navigation-top ul a:hover,
	#navigation-top ul a:focus,
	#navigation-top a.nav-selected,
	#navigation-top a.nav-path-selected {
		background-color: White;
	}
	
	#search {
		margin: 15px 10px;
	}
	
	#some-links {
		text-align: center;
	}
	
	#some-links a {
		display: inline-block;
		padding: 0px;
	}
	
}


/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */


body {
	background-color: Black;
	color: White;
	font-family: "ff-dagny-web-pro", helvetica, sans-serif;
}


/* Nav Mobile */

#nav-mobile-toggle  {
	text-align: right;
	height: 50px;
	line-height: 50px;
	margin: 25px -15px 0px -15px;
	background-color: White;
	color: Black;
	padding-right: 30px;
	cursor: pointer;
	font-size: 22px;
	font-style: italic;
	font-weight: 700;
}

#nav-mobile-toggle  span {
	display: inline-block;
	padding-right: 15px;
}

#nav-mobile-toggle-target {
	display: none;
}

#logo-mobile {
	display: block;
	position: absolute;
	left: 30px;
	top: 2px;
	width: 88px;
	height: 88px;
	z-index: 200;
}

#logo-mobile img {
	width: 90px;
	height: 90px;
}

.ccm-spacer {
	border-width: 0px !important;
}

/* Search */
	
#search {
	height: 36px;
}

#search form {
	display: inline-block;
	font-style: italic;
}

#search-query {
	margin: 2px auto;
	height: 32px;
	color: Black;
	border-radius: 0px;
	padding: 0px 5px;
	width: 140px;
	line-height: 30px;
}

/* Sarjataulukko */

.league-table {
	max-width: 700px !important;
}

.league-table table {
	width: 100%;
	background-color: #e0e0e0;
	color: Black;
}

.league-table thead {
	background-color: rgb(51, 55, 57);
	color: White;
}

.league-table thead th,
.league-table thead td{
	padding-top: 10px;
	padding-bottom: 10px;
}

.league-table .spacer {
	width: 6px;
}

.league-table th {
	padding-left: 10px;
	font-style: italic;
}

.league-table td {
	text-align: center;
}

.league-table .td-numeric {
	background-color: #c6c7c7;
	width: 40px;
}

.league-table .row-7,
.league-table .row-8,
.league-table .row-9,
.league-table .row-10 {
	background-color: #cccbcb;
}

.league-table .row-7 .td-numeric,
.league-table .row-8 .td-numeric,
.league-table .row-9 .td-numeric,
.league-table .row-10 .td-numeric {
	background-color: #b5b5b5;
}

/* News */

#news {
	margin-bottom: 15px;
}

#news .news-item {
	background-color: White;
	margin: 0px 0px 10px 0px;
	padding: 15px;
	color: Black;
}

#news .news-item .image {
	margin-bottom: 10px;
}

#news .news-item .date {
	float: right;
	display: inline-block;
	padding: 2px 5px;
	margin: 2px 5px;
	font-style: italic;
	font-weight: 700;
	background-color: Black;
	color: White;
}

#news .news-item .title {
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
	line-height: 1.2em;
}

#news .news-item a {
	color: Black;
}

#news .news-item a:hover {
	text-decoration: none;
}

#news .footer {
	font-size: 22px;
	font-weight: 700;
}

/* headerit ja footerit */

.sub-header {
	background-color: rgb(51, 55, 57);
	color: White;
	font-style: italic;
	padding: 0px 15px;
	margin-bottom: 0px;
	text-transform: uppercase;
	font-weight: 700;
	height: 50px;
	line-height: 50px;
	font-size: 26px;
	margin-top: 0px;
}

#some {
	margin-bottom: 15px;
}

#some .sub-header {
	padding: 0px 10px;
}

.sub-footer {
	background-color: rgb(51, 55, 57);
	color: white;
	text-align: right;
	padding: 0px 15px;
	font-style: italic;
	text-align: right;
	text-transform: uppercase;
	font-size: 26px;
	font-weight: 700;
	height: 50px;
	line-height: 50px;
	margin-bottom: 0px;
}

.sub-footer a {
	color: white;
}

/* Game picker */

.game-picker {
	background-color: White;
	color: Black;
	padding-bottom: 10px;
	max-width: 345px;
	margin: 0px auto 15px auto;
}

.game-picker .sub-header {
	font-size: 18px;
}

.game-picker .image {
	text-align: center;
	padding: 0px 10px;
}

.game-picker .game-data {
	padding: 5px;
}

.game-picker .title,
.game-picker .result {
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
	padding: 0px;
	margin: 0px;
}

.game-picker .title {
	margin-bottom: 5px;
	font-size: 24px;
}

.game-picker .result {
	font-size: 40px;
	line-height: 45px;
	padding-left: 5px;
}

.game-picker .date {
	margin: 5px 0px;
	font-size: 16px;
}

.game-picker .link,
.game-picker-vertical .link {
	display: inline-block;
	color: white;
	background-color: rgb(51, 55, 57);
	font-weight: 700;
	font-style: italic;
	margin-right: 2px;
	margin-top: 5px;
	width: 95px;
	text-align: center;
}

.game-picker .link a,
.game-picker-vertical .link a {
	display: block;
	color: white;
	padding: 2px 8px;
}

.game-picker-vertical {
	margin-left: -15px;
	margin-right: -15px;
	overflow: hidden;
	background-color: White;
	color: Black;
	margin: 0px auto 15px auto;
	padding: 0px;
}

.game-picker-vertical .sub-header,
.game-picker-vertical .image,
.game-picker-vertical .title,
.game-picker-vertical .date {
	display: inline-block;
	height: 40px;
	line-height: 40px;
	margin: 0px;
	padding: 0px 5px;
}

.game-picker-vertical .sub-header {
	font-size: 14px;
	padding: 0px 15px;
	display: block;
}

.game-picker-vertical .link {
	width: auto;
	margin-bottom: 10px;
}
.game-picker-vertical .image img {
	max-height: 40px;
}

.game-picker-vertical .title {
	font-size: 16px;
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
}

.game-picker-vertical .date {
	padding-right: 15px;
}

.game-picker-vertical .cell-tablet {
	padding: 0px 10px;
}

/* infobox */
.infobox {
	padding-bottom: 0 !important;
}

.infobox .infobox-content {
	padding: 10px;
}

/* Starting points, nostot */

.starting-point  {
	margin: 0px auto 15px auto;
	max-width: 368px;
}

#Lohkot.starting-point img {
	padding: 0;
	width: 100%;
	height: auto;
}

/* Facebook, Twitter, Instagram */

#facebook,
#twitter,
#instagram {
	background-color: rgb(42, 46, 47);
}

.facebook-post,
.tweet,
.instagram-img {
	padding: 10px 0px;
}

#facebook h3,
#twitter h3,
#instagram h3 {
	background-color: rgb(33, 37, 41);
	margin: 0px;
	padding-left: 15px;
	height: 50px;
	line-height: 50px;
	font-size: 20px;
	font-weight: 400;
	font-style: italic;
}

#facebook h3 a,
#twitter h3 a,
#instagram h3 a {
 color: White;
}

.facebook-post img,
.tweet img {
	float: left;
	display: inline-block;
	margin-right: 15px;
	margin-bottom: 10px;
}

#instagram-imgs img {
	margin-top: 15px;
	margin-bottom: 15px;
	border: 3px solid #fdfdfd;
	margin-left: auto;
	margin-right: auto;
}

/* youtube feedit */

.bt-youtube-feed .videos-title {
	display: none;
}


/* TPS Shop */

#tps-shop  {
	background-color: White;
	padding-top: 30px;
}


#tps-shop .images-wrapper {
	margin: 0px 30px;
	overflow-hidden;
}

/* Sidebar / Subnav */

#sidebar {
	background-color: rgb(225, 225, 225);
	margin: 0px -15px;
}

#nav-sidebar .title {
	color: White;
	text-transform: uppercase;
	font-style: italic;
	font-weight: 700;
	padding: 10px 15px;
	margin: 0px;
	background-color: rgb(33, 37, 41);
	height: 53px;
	line-height: 33px;
}


#nav-sidebar .title a {
	color: White;
}

#nav-sidebar .title a:hover,
#nav-sidebar .title a:focus {
	text-decoration: none;
	color: rgb(236, 200, 41);
}

#nav-sidebar ul {
	background-color: rgb(225, 225, 225);
	padding-left: 0px;
	list-style-type: none;
	padding-bottom: 40px;
}

#nav-sidebar ul ul {
	padding-bottom: 0px;
}

#nav-sidebar ul a {
	display: block;
	color: Black;
	background-color: White;
	margin-top: 10px;
	text-transform: uppercase;
	font-style: italic;
	font-weight: 700;
	padding: 10px 15px;
}

#nav-sidebar ul a:hover,
#nav-sidebar ul a:focus,
#nav-sidebar a.nav-selected,
#nav-sidebar a.nav-path-selected {
	background-color: rgb(51, 55, 57);
	color: white;
	text-decoration: none;
}

#nav-sidebar div.nav-selected,
#nav-sidebar div.nav-path-selected {
	
}

#nav-sidebar div.nav-selected.with-subpages,
#nav-sidebar div.nav-path-selected.with-subpages {
	background-image: url('../img/nav_sidebar_bg-grey.png');
	background-repeat: no-repeat;
	background-position: center 35px;
	padding-bottom: 20px;
}

#nav-sidebar ul ul div.nav-selected.with-subpages,
#nav-sidebar ul ul div.nav-path-selected.with-subpages {
	background-image: none;
	padding-bottom: 5px;
}


#nav-sidebar ul ul a {
	padding: 5px 10px 5px 30px;
	margin-top: 0px;
	background-color: transparent;
	text-transform: none;
	font-weight: 400;
}

#nav-sidebar ul ul a.nav-selected,
#nav-sidebar ul ul a.nav-path-selected,
#nav-sidebar ul ul a.nav-selected:hover,
#nav-sidebar ul ul a.nav-path-selected:hover {
	background-color: rgb(199, 200, 200);
	font-weight: 700;
	color: black;
}

#nav-sidebar ul ul a:hover,
#nav-sidebar ul ul a:focus {
	background-color: transparent;	
	font-weight: 700;
	color: black;
}

#nav-sidebar ul ul div.nav-selected,
#nav-sidebar ul ul div.nav-path-selected {
	background-image: none;
	padding-bottom: 0px;
}

#nav-sidebar ul ul ul a {
	padding-left: 50px;
}


/* Main */

#main-wrapper {
	margin-top: 15px;
}

#content {
	background-color: White;
	color: Black;
	min-height: 100px;
	padding: 15px;
	margin: 0px -15px;
}

.home #content {
	background-color: Black;
	color: White;
	margin: 0px;
	padding: 0px;
	padding-bottom: 15px;
	border-top: none;
}

.single_page #content{
	overflow: hidden;
}

.main-outer.default p {
	font-size: 16px;
}

.main-outer h1,
.main-outer h2,
.main-outer h3,
.main-outer h4,
.main-outer h5,
.main-outer h6 
.main-outer .heading {
	font-family: "ff-dagny-web-pro", helvetica, sans-serif;
}

.main-outer h1 {
	font-weight: 700;
	text-transform: uppercase;
	font-style: italic;
	margin-bottom: 30px;
	font-size: 24px;
}

.main-outer h2 {
	font-size: 22px;
}

.main-outer h3 {
	font-size: 18px;
}

.main.home {
	margin-top: 0px;
}

.main.single_page {
	padding-top: 15px;
}


.main.default img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}

.main.default .news-item-date {
	position: relative;
	height: 20px;
}

.main.default .news-item-date .news-date {
	position: absolute;
	right: 0;
	margin-top: 20px;
	color: #666;
}

/* Player */

.player-info {

}

.player-info h1 {
	text-transform: none;
}

.player-info .image {
	margin-right: 50px;
}

.player-info .info {
	font-size: 1.2em;
}

/* Game */

.game-info {
	margin-bottom: 15px;
	overflow: hidden;
}

.logo.home,
.logo.away,
.game-info .info {
	text-align: center;
	padding-bottom: 15px;
}

.logo.home,
.logo.away {
	background-color: rgb(225, 225, 225);
	width: 20%;
	max-width: 130px;
	line-height: 180px;
}

.logo.home img,
.logo.away img {
	vertical-align: middle;
}

.game-info .info {
	background-color: Black;
	color: White;
	width: 100%;
	padding: 0px 5px;
}

.game-info .time {
	font-size: 1em;
	margin-bottom: 5px;
}

.game-info .info h2 {
	font-size: 26px;
	font-style: italic;
	padding-top: 20px
}

.game-info .result {
	font-size: 46px;
	font-style: italic;
	font-weight: 700;
	padding-bottom: 15px;
}

.game-info .tickets {
	font-style: italic;
	margin: 25px auto;
}

.game-info .tickets a,
.game-info .tickets a:hover {
	display: inline-block;
	padding: 8px 25px;
	background-color: rgb(51, 55, 57);
	color: white;
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
}

.game-info .place {
	font-style: italic;
	font-size: 16px;
	color: rgb(120, 120, 120);
	font-weight: 700;
	/* text-transform: uppercase; */
	padding-bottom: 15px;
}


/* Player Nav, Game Nav */

.fixed-nav {
	margin-top: 25px;
	padding: 0px;
}

.fixed-nav li {
	display: inline-block;
	text-align: center;
	margin-bottom: 2px;
}

#game-nav li {
	min-width: 130px;
}

#player-nav li {
	min-width: 105px;
}

.fixed-nav li a,
.fixed-nav li span {
	display: block;
	color: Black;
	text-decoration: none;
	text-transform: uppercase;
	font-style: italic;
	font-weight: 700;
	background-color: rgb(199, 200,200);
	padding: 3px 5px;
}

.fixed-nav span.disabled {
	color: rgb(170, 170, 170);
}

.fixed-nav li a:hover,
.fixed-nav li a.active {
	background-color: rgb(51, 55, 57);
	color:white;
}

/* Game Statistics */

.game-statistics .header {
	text-align: center;
}

.game-statistics .period {
	text-align: center;
	padding: 10px;
	margin: 30px 0px 5px 0px;
	background-color: #E1E1E1;
	text-transform: uppercase;
	font-style: italic;
	font-weight: 700;
}

.game-statistics .game-time {
	height: 200px;
	text-align: center;
	background-color: rgb(51, 55, 57);
	color: white;
	padding: 10px 5px;
}

.game-statistics .event {
	margin-bottom: 5px;
	position: relative;
	overflow: hidden;
}

.game-statistics .formatted {
	border: 1px solid #E1E1E1;
	padding: 10px;
}

.game-statistics .event.goal .formatted {
	font-weight: bold;
}

.game-statistics .event.home  {
	text-align: left;
}

.game-statistics .event.away  {
	text-align: right;
}

/* */

.game-statistics .event.home {
	margin-right: 73px;
}

.game-statistics .event.away {
	margin-left: 73px;
}

.game-statistics .event .game-time {
	width: 73px;
	position: absolute;
}

.game-statistics .event.home .game-time {
	left: 0px;
}

.game-statistics .event.home .formatted {
	border-left: none;
	padding-left: 83px;
}

.game-statistics .event.away .game-time {
	right: 0px;
}

.game-statistics .event.away .formatted {
	border-right: none;
	padding-right: 83px;
}



/* Footer */

#kumppanit-wrapper {
	background-color: rgb(42, 46, 47);
	border-bottom: 25px solid rgb(51, 55, 57);
}	

#kumppanit {
	padding: 25px 15px;
	text-align: center;
}

.kumppanit-link {
	display: inline-block;
	padding: 5px 8px;
}

#footer {
	background-color: Black;
	padding-bottom: 40px;
}

.footer-page-list {
	border-left: 1px solid rgb(42, 46, 47);
	padding-left: 10px;
	padding-top: 0px;
	margin-bottom: 20px;
}

.footer-page-list a {
	color: White;
}

.footer-page-list h2 {
	font-size: 14px;
	font-style: italic;
	text-transform: uppercase;
	font-weight: 700;
	padding-left: 20px;
	background: url('../img/footer_bullet.png');
	background-repeat: no-repeat;
	background-position: left center;
}


.footer-page-list ul {
	list-style-type: none;
	padding-left: 20px;
}

.footer-page-list li {
	padding-bottom: 7px;
	line-height: 16px;
}

#sofis-signature {
	position: absolute;
	bottom: -40px;
	right: 45px;
}

/*  Navigation Mobile muokkaukset Pick */

@media (max-width: 767px){

	#nav-main-mobile .sub-items {
		position: absolute;
		display: none;
		background-color: black;
		width: 201%;
		z-index: 100;
	}

	.nav-dropdown {
		position: relative;
	}

	.nav-dropdown .clickable {
		position: absolute;
		color: #000000;
		right: 10px;
		top: 15px;
		cursor: pointer;
	}

	#nav-main-mobile .sub-items.nav-sub-click-show {
		display: block;
	}

	#nav-main-mobile .sub-items li a {
		color: #ffffff;
	}

	#nav-mobile-toggle-target {
		max-height: 80%;
		overflow-y: auto!important;
	}
	
	#logo-mobile.img-scrolled {
		height: 48px;
		width: 48px;
		top: 1px;
	}
	
	#logo-mobile.img-scrolled img {
		height: 48px;
		width: 48px;
	}
	
	#logo-mobile {
		transition: 0.3s;
	}

	#logo-mobile img {
		transition: 0.3s;
	}

	#navigation-top-wrapper {
		position: fixed;
		top: 0;
		z-index: 100;
		width: 100%;
	}

	.menu-scrolled {
		margin-top: 0!important;
	}


	#header-banner {
		margin-top: 75px;
	}
}

/*  Some osion mobile muokkaukset Pick */

@media (max-width: 767px){
	#some-block-wrapper {
		display: block;
	}
	#some-block-wrapper .face-block-wrapper {
		max-width: 500px;
		margin-left: auto;
		margin-right: auto;
	}

}

@media (max-width: 450px){
	#some-block-wrapper .insta-block-inner-wrapper {
		height: 700px;overflow-y: overlay;
	}
}

@media (min-width: 768px){
	.news-item.news-item-nostot .flex {
		display: flex;
	}
}

/* Nosto muokkaukset Pick */

#news .news-item.news-item-nostot .date {
	font-size: 19px;
	float: none;
	margin-left: 0;
	margin-bottom: 15px;
}

#news .news-item.news-item-nostot .title {
	font-size: 25px;
}

#news .news-item.news-item-nostot .read-more-button {
	background-color: #333739;
	padding: 10px 0;
}

#news .news-item.news-item-nostot .read-more-button-link {
	text-transform: uppercase;
    text-align: center;
    font-size: 18px;
    color: white;
    width: 100%;
    font-weight: 600;
    font-style: italic;
}




/* Nosto muokkaukset Pick */

#footer-wrapper {
	position: relative;
}

#sofis-signature {
	bottom: 0;
}

#Lohkot.starting-point a img {
	margin-bottom: 20px;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

	/* Nav Mobile */

	#nav-mobile-toggle-target {
		display: block;
	}

	/* Navigation Top */

	#navigation-top {
		height: 36px;
		line-height: 36px;
		position: relative;
		font-size: 13px;
	}
	
	#nav-top,
	#search,
	#some-links {
		display: block;
	}

	#nav-top {
		float: left;
	}
	
	#search {
		float: right;
		margin: 0px 0px 0px 10px;
	}
	
	#some-links {
		height: 36px;
		position: absolute;
		right: 15px;
		bottom: -40px;
		z-index: 200;
	}
	
	#nav-top ul ul {
		display: none;
	}
	
	#nav-top li {
		display: inline;
	}
	
	#nav-top a {
		display: inline-block;
		padding: 0px 7px;
		font-style: italic;
		color: Black;
		background-color: White;
		font-weight: 700;
	}
	
	#nav-top a:hover,
	#nav-top a:focus,
	#nav-top a.nav-selected,
	#nav-top a.nav-path-selected	{
		background-color: rgb(211, 211, 211);
	}
	
	/* Header Banner */

	#header-banner {
		height: 240px;
	}

	#header-banner .nivo-main-image {
		min-height: 240px;
	}

	/* Navigation Main */
	
	#navigation-main-wrapper {
		background-color: White;
		height: 55px;
		line-height: 55px;
		margin-bottom: 40px;
	}
	
	#logo {
		position: absolute;
		top: -40px;
		left: 20px;
		z-index: 15;
		width: 120px;
		height: 120px;
	}
	
	#logo img{
		width: 120px;
		height: 120px;
	}
	
	#nav-main {
		margin-left: 130px;
	}
	
	#nav-main li {
		display: inline-block;
	}
	
	#nav-main a {
		display: inline-block;
		padding: 0px 6px;
		font-size: 16px;
		text-transform: uppercase;
		color: Black;
		font-style: italic;
		font-weight: 700;
	}
	
	#nav-main a:hover,
	#nav-main a:focus,
	#nav-main a.nav-selected,
	#nav-main a.nav-path-selected {
		background-color: rgb(225, 225, 225);
	}

	/*  Navigation Main muokkaukset Pick */
	#nav-main li ul {
		display: none;
		position: absolute;
		top: 55px;
		background-color: White;
		margin: 0px;
		min-width: 215px;
		text-align: left;
		border: none;
		padding-bottom: 0px;
		z-index: 100;
		padding-left: 0; 
	}
	
	#nav-main li:hover ul {
		display: block;
	} 

	#nav-main li ul li {
		display: block;
	}

	#nav-main li ul li a {
		width: 100%;
		line-height: 1;
		padding: 10px 15px;
		font-size: 18px;
		font-weight: 500;
		text-transform: initial;
	}

	.sub-items li {
		line-height: 0;
	}

	.nav-dropdown .clickable {
		display: none;
	}

	#navigation-main-wrapper {
		position: sticky;
		top: 0;
		z-index: 100;
	}

	#navigation-main-wrapper #logo img {
		transition: 0.3s;
	}

	#navigation-main-wrapper #logo {
		transition: 0.3s;
	}

	#navigation-main-wrapper .img-scrolled {
		height: 50px;
		width: 50px;
		top: 0;
		left: 90px;
	}

	#navigation-main-wrapper .img-scrolled img {
		height: 50px;
		width: 50px;
	}

	/*  Some osion muokkaukset Pick */

	#some-block-wrapper {
		display: inline-flex;
	}

	#some-block-wrapper .face-block-wrapper {
		width: 400px;
		margin-right: 20px;
	}

	#some-block-wrapper .insta-block-inner-wrapper {
		width: 330px;
		height: 450px;
		overflow-y: overlay;
	}

	@media (max-width:1200px){
		#some-block-wrapper {
			display: block;
		}
		#some-block-wrapper .face-block-wrapper {
			width: auto;
			max-width: 500px;
			margin-left: auto;
			margin-right: auto;
			margin-bottom: 30px;
		}
		#some-block-wrapper .insta-block-inner-wrapper {
			width: 100%;
			height: 100%;
		}
	}

	/* Sidebar / Subnav */

	#sidebar {
		margin-left: 0px;
	}
	
	/* News */
	#news .news-item .image {
		margin-bottom: 0px;
	}
	
	/* Main */
	
	#main-wrapper {
		margin-top: 15px;
	}
	
	.main.home,
	.main-outer.single_page {
		margin-top: 30px;
	}
	
	#content {
		margin-right: 0px;
		padding: 0px 15px 15px 15px;
		_border-top: 53px solid rgb(33, 37, 41);
	}
	
	.main-outer h1 {
		font-size: 36px;
	}

	.main-outer h2 {
		font-size: 30px;
	}

	.main-outer h3 {
		font-size: 24px;
	}

	
	.top-band {
		height: 53px;
		background-color: rgb(33, 37, 41);
		margin: 0px -15px;
	}
	
	.home .top-band {
		display: none;
	}

	/* Game picker */

	.game-picker {
		background-color: White;
		color: Black;
		padding-bottom: 10px;
		max-width: 360px;
		margin: 0px 0px 15px 0px;
	}

	
	.game-picker-vertical {
		height: 40px;
		margin-left: 0px;
		margin-right: 0px;
	}
	
	.game-picker-vertical .sub-header {
		display: inline-block;
	}

	/* Game picker verticel */
	
	.game-picker-vertical {
		display: table;
		width: 100%;
	}
	
	.game-picker-vertical .row-tablet {
		display: table-row;
	}
	
	.game-picker-vertical .cell-tablet {
		display: table-cell;
		padding: 0px 10px;
	}
	
	.game-picker-vertical .sub-header {
		display: table-cell;
		width: 160px;
	}
	
	/* Starting points, nostot */

	.starting-point  {
		width: 340px;
		float: left;
		margin: 0px 20px 15px 0px;
	}

	#Lohkot.starting-point, #tps-shop.starting-point {
		margin: 0 auto;
    	float: none;
	}

	#tps-shop.starting-point {
		margin-bottom: 20px;
	}

	#Lohkot.starting-point a img {
		margin-bottom: 20px;
	}
	
	/* Game */

	.logo.home,
	.logo.away,
	.game-info .info {
		float: left;
	}

	.logo.home,
	.logo.away {
		width: 100px;
	}

	.game-info .info {
		background-color: Black;
		color: White;
		width: 250px;
	}

	.game-info .info h2 {
		padding-top: 0px
	}

	/* Game Statistics */
	
	.game-statistics .event.home {
		margin-right: 73px;
	}

	.game-statistics .event.away {
		margin-left: 73px;
	}

	.game-statistics .event .game-time {
		width: 73px;
		position: absolute;
	}
	
	.game-statistics .event.home .game-time {
		left: 0px;
	}
	
	.game-statistics .event.home .formatted {
		border-left: none;
		padding-left: 83px;
	}
	
	.game-statistics .event.away .game-time {
		right: 0px;
	}

	.game-statistics .event.away .formatted {
		border-right: none;
		padding-right: 83px;
	}
	
	/* headerit ja footerit */

	#some .sub-header {
		padding: 0px 15px;
	}
	
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

	/* Header Banner */

	#header-banner {
		width: 970px;
		height: 313.333px;
	}
	
	#header-banner .nivo-main-image {
		min-height: 313.333px;
	}


	/* Navigation Top */

	#navigation-top {
		text-align: right;
		font-size: 14px;
	}

	#nav-top,
	#search,
	#some-links {
		display: inline-block;
	}

	#nav-top, 
	#search {
		float: none;
	}
	
	#some-links {
		position: static;
	}
	
	#nav-top a {
		padding: 0px 10px;
	}
	
	/* Navigation Main */
	
	#navigation-main-wrapper {
		margin-bottom: 15px;
	}

	
	#logo {
		top: -60px;
		left: 30px;
		width: 160px;
		height: 160px;
	}
	
	#logo img {
		width: 162px;
		height: 162px;
	}

	
	#nav-main {
		margin-left: 180px;
	}
	
	#nav-main a {
		padding: 0px 7px;
		font-size: 21px;
	}
	
	/* Starting points, nostot */

	.starting-point  {
		width: auto;
		float: none;
		margin: 0px 0px 15px 0px;
	}
	
	/* Game Picker */
	
	.next-homegame-vertical {
		padding-left: 220px;
	}
	
	/* Main */
	
	#content {
		padding-left: 45px;
	}
	
	.main.home,
	.main-outer.single_page {
		margin-top: 50px;
	}
	
	.top-band {
		margin: 0px -15px 0px -45px;
	}
	
	/* Player */

	.player-info .image {
		float: right;
	}
	
	/* Game */

	.logo.home,
	.logo.away {
		width: 120px;
	}
	
	.game-info .info {
		width: 280x;
	}
	
	/* Game Statistics */
	
	.game-statistics .event.home {
		width: 363px;
		margin-right: 0px;
	}

	.game-statistics .event.away {
		width: 363px;
		margin-left: 290px;
	}
	
	.game-statistics .event .game-time {
		width: 73px;
		position: absolute;
	}
	
	.game-statistics .event.home .game-time {
		left: auto;
		right: 0px;
	}
	
	.game-statistics .event.home .formatted {
		border: 1px solid #E1E1E1;
		border-right: none;
		padding-left: 10px;
		padding-right: 83px;
	}
	
	.game-statistics .event.away .game-time {
		left: 0px;
		right: auto;
	}

	.game-statistics .event.away .formatted {
		border: 1px solid #E1E1E1;
		border-left: none;
		padding-left: 83px;
		padding-right: 10px;
	}

	/* Player Nav, Game Nav */

	.fixed-nav li {

	}

	.fixed-nav li.active {
		background-image: url('../img/nav_sidebar_bg-grey.png');
		background-repeat: no-repeat;
		background-position: center 18px;
		padding-bottom: 20px;
	}
	
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

	/* Header Banner */

	#header-banner {
		width: 1170px;
		height: 380px;
	}
	
	#header-banner .nivo-main-image {
		min-height: 380px;
	}

	/* Navigation Main */
	
	#logo {
		top: -75px;
		left: 30px;
		width: 180px;
		height: 180px;
	}
	
	#logo img{
		width: 180px;
		height: 180px;
	}

	
	#nav-main {
		margin-left: 200px;
	}
	
	#nav-main a {
		padding: 0px 13px;
		font-size: 24px;
	}
	
	/* Main */
	
	.main.home,
	.main-outer.single_page {
		margin-top: 55px;
	}
	
	/* Game Statistics */
	
	.game-statistics .event.home {
		width: 438px;
	}

	.game-statistics .event.away {
		width: 438px;
		margin-left: 365px;
	}

	.game-statistics .formatted {
		border: 1px solid #E1E1E1;
	}
	
	.game-statistics .event .game-time {
		width: 73px;
		position: absolute;
	}
	
	.game-statistics .event.home .game-time {
		right: 0px;
	}
	
	.game-statistics .event.home .formatted {
		border-right: none;
		padding-right: 83px;
	}
	
	.game-statistics .event.away .game-time {
		left: 0px;
	}

	.game-statistics .event.away .formatted {
		border-left: none;
		padding-left: 83px;
	}
	
}
