body {
height: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
font-family: 'Raleway', sans-serif;
}
.center {
	text-align: center;
}

.joukkueet {
	padding-bottom: 30px;
}

.img-responsive {
	width: 100%;
	height: auto;
}
.row.display-flex {
  display: flex;
  flex-wrap: wrap;
}
.luelisaa {
	background: #000;
	color: #fff;
	padding: 15px 30px 15px 30px;
	-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
font-size: 130%;
}

.luelisaa:hover {
	background: #ff0015;
	color: #fff;
	padding: 10px 25px 10px 25px;
	text-decoration: none;
}
.luelisaaiso {
	background: #ff0015;
	color: #fff;
	margin-top: 20px;
	padding: 15px 30px 15px 30px;
	-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
font-size: 130%;
text-transform: uppercase;
display: inline-block;
}

.luelisaaiso:hover {
color: #000;
text-decoration: none;
}

h1 {
	font-size: 170%;
	line-height: 110%;
	margin-bottom: 35px;
	margin-top: 25px;
	font-weight: bold;
	color: #000;

	}
h2 {
	font-size: 155%;
	line-height: 110%;
	margin-bottom: 25px;
	margin-top: 20px;
	font-weight: bold;
	color: #000;

}
h3 {
	font-size: 135%;
	line-height: 106%;
	margin-bottom: 15px;
	margin-top: 10px;
	color: #000;


}
p, li {
	font-size: 109%;
	margin-bottom: 15px;
	line-height: 123%;
	color: #000;

}
strong, b {
	font-weight: bold;
}
em, i {
  font-style: italic;
}
.fas {
	margin-right: 10px;
}
a {
	text-decoration: none;
	color: #DB0000;
}
#logot {

	padding-bottom: 10px;
	margin-bottom: 20px;
	margin-top: 10px;
}
#logot .row {
	border-bottom: 1px solid #666;
	
}
#logot img {
margin-bottom: 10px;
	width: 100%;
	height: auto;
}

.ownteam {
  color: #1b1c85;
  font-weight: bold;
}


#header {
	background-color: #ffffff;
    position:fixed;
    top:0;
    width:100%;
    z-index:100;
}
#header input {
	padding: 4px 8px 4px 8px;
}

#header .haku {
	

}
#header .right {
	float: left;
	margin-top: 10px;
}


#header .submit {
	background: #ff0015;
	padding: 7px 15px 7px 15px;
	color: #fff;
	border: none !important;
	transition: all 0.5s ease;
}
#header .submit:hover {
	background: #000;
}
#logo img {

margin-bottom: 10px;
	width: 100%;
	height: auto;
}

.menuwrapper {
	background-color: #1b1c85;
	display: none;
	
}
#navbar ul {

	padding: 0;
	margin: 0;
}

#navbar li a {
	color: #fff;
	font-weight: bold;

	text-transform: uppercase;
}
#navbar li a:hover,
#navbar li.active a {
	background: none;
	color: #ff0015;
}

.maximenu {
  background-color: #1b1c85;
  min-height: 250px;
  width: 100%;
  position: absolute;
  top:0;
  z-index: 999;
  display: none;
  padding-left: 20px;
  padding-top: 10px;
  padding-right: 20px;
  padding-bottom: 10px;
  color: #fff;
}
.maximenu a {
	color: #fff;
	font-size: 14px;
	line-height: 17px;
}
.maximenu h3 {color: #fff;}


#mobilemenu .menu-button {
color: #000 !important;
cursor:pointer;
font-size:2rem;
padding:.75rem 1.55rem;
position:fixed;
right:5px;
top: 5px;

}
 
.open-menu {
color:#fff;
cursor:pointer;
font-size:1rem;
padding:1rem;
position:absolute;
right:0;
top:0;
transition:transform 250ms ease;
}


/*  mobiilimenu */

.collapse {
        display: none;
     }


.mobilemenus .mh-btns-left a {
  color: #830b4d;
}
.mobilemenus .mh-btns-left {
        float: right;
        margin-top: 25px;
        margin-right: 10px;
        -ms-transition: 0.4s ease-in-out;
   -webkit-transition: 0.4s ease-in-out;
   transition: 0.4s ease-in-out;
}
.mobilemenus .mh-btns-left a:hover {
        text-decoration: none;
        -ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
        -ms-transition: 0.4s ease-in-out;
   -webkit-transition: 0.4s ease-in-out;
   transition: 0.4s ease-in-out;
}

/* mobiilimenun canvas */

.mobilemenus {
	display: block;
}


.mm-btn_close::after {
        width: 20px;
        height: 20px;
        border-color: #830b4d;
        border-width: 4px;
}
.mm-btn_close::before {
        width: 20px;
        height: 20px;
        border-color: #830b4d;
        right: -3px;
        border-width: 4px;
}

.mm-btn_close:hover {
-ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
        -ms-transition: 0.4s ease-in-out;
   -webkit-transition: 0.4s ease-in-out;
   transition: 0.4s ease-in-out;
}

.mm-listitem_opened a.mm-listitem__text {
        padding-bottom: 4px;
        padding-top: 4px;
}

.mm-listitem {
  line-height: 30px;
}


/*alasivun tyylit*/


.nav > li > a:focus, .nav > li > a:hover {
    text-decoration: none;
    background-color: #ff0015;
    color: #fff;
}


.kappale {
	padding: 20px;
	margin-bottom: 30px;
}

.kappale h2,
.kappale h3,
.kappale h4,
.kappale p {
	color: #fff;
}

.news-frame:hover {
	box-shadow: 0px 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.unpublished {
	/*background-color: #EEEEEE;*/
	/*border: 2px #DB0000 dotted;*/
	box-shadow: 0px 0px 2px 4px rgba(222, 0, 0, 0.1);
}
.infuture {
	/*background-color: #EEEEEE;*/
	/*border: 2px #DB0000 dotted;*/
	box-shadow: 0px 0px 2px 4px rgba(0, 222, 0, 0.1);
}

.pelaajat {

}
/*taulukot*/

.event-category {
	display: inline-block;
	border: 1px solid #000;
	border-radius: 5px 5px;
	width: 10px;
	height: 10px;
}

.tapahtumataulukko {
	max-width: 100%;
}

.tapahtumataulukko tr {
}

.tapahtumataulukko td {
	vertical-align: top;
	padding-left: 10px;
	padding-bottom: 20px;
}

.tapahtumataulukko td:nth-child(1) {
	width: 15%;
	padding-left: 0px;
	white-space: nowrap;
}

.tapahtumataulukko td:nth-child(2) {
	width: 25%;
}

.sarjataulukko {
	
	color: #fff;
	width: 100%;
}
.sarjataulukko tbody {
	
width: 100%;
}
.sarjataulukko td {
	margin-bottom: 6px;
}
.sarjataulukko tr {
	margin-bottom: 2px;
	margin-top: 2px;
}
.sarjataulukko_iso {
	
	color: #000;
	width: 100%;
}
.sarjataulukko_iso tbody {
	
width: 100%;
}
.sarjataulukko_iso td {
	margin-bottom: 6px;
}
.sarjataulukko_iso tr {
	margin-bottom: 2px;
	margin-top: 2px;
}
#hero {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 700px;
	max-height: 800px;
	  display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	background: url(../images/hero.jpg) 50% 50% no-repeat scroll;
}
.bannertitle {
	color: #fff;
	font-size: 180%;
	text-transform: uppercase;
	margin-bottom: 30px;
}
.bannertxt {
	color: #fff;
	font-size: 150%;
}
p.ingressi {
	font-style: italic;
	color: #616161;
	font-size: 140%;
}

#video .video {
	display: inline-block;
	
	border: 3px solid #000;
}


#ottelu {
	color: #fff;
}
#ottelu h4 {
	text-transform: uppercase;
	font-size: 190%;
	font-weight: bold;
}

#content img {
	max-width: 100%;
}

#footer {
	padding-top: 30px;
	margin-top: 50px;
	padding-bottom: 50px;
	width: 100%;
}
#ajankohtaista h2 {
	margin-bottom: 40px;
}
#footer {
	min-height: 350px;
}
#footer a {
color: #fff;
}
#footer a:hover {
	text-decoration: underline;
}
#footer p, #footer li, #footer h2, #footer h3 {
color: #fff;
list-style: none;
}
#footer li a:hover {
background: none;	
}
#footer li {
	margin-bottom: 2px;
	padding-bottom: 0;
}

#footer h3 {
	font-size: 130%;
	text-transform: uppercase;
	padding-bottom: 0;
	margin-top: 15px;
	margin-bottom: 20px;
	color: #fff;
}

#login {
  margin-top: 10px;
}
#login input[type="text"],
#login input[type="password"] {
  border: 4px solid #DB0000;
  border-radius: 10px;
  padding: 5px 5px 4px;
  color: #1b1C85;
  font-size: 110%;
}

#login input[type="submit"],
.jjbutton {
	cursor: pointer;
	border: 4px solid #1B1C85;
	border-radius: 10px;
	text-transform: uppercase;
	padding: 5px 15px 4px;
	background-color: #DB0000;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	line-height: 40px;
}
.navbar-nav li .jjbutton {
	padding-top: 10px;
	padding-bottom: 10px;
	margin-left: 5px;
}

#footer input[type="submit"],
#footer .jjbutton {
	border: 4px solid #DB0000;
	line-height: 23px;
	background-color: #1B1C85;
}
.jjbutton.active {
	cursor: not-allowed;
	background-color: #1B1C85;
	border: 4px solid #666666;
}
.jjbutton.passive {
	cursor: not-allowed;
	background-color: #DB0000;
	border: 4px solid #666666;
}

.edit_date {
  display: block;
  margin: 0px 0px 10px;
  border: none;
}

.edit_hide,
.kuva_hide {
  display: none;
}

#user .forgot,
#user .info {
	padding-top: 5px;
}

#siteby {
	
}
#siteby a {
	font-size: 90%;
	color: #fff;
	text-align: center;
	margin-top: 20px;
}

.uutinen {
	padding-top: 50px;
}

@media (min-width: 500px) {	
	#header {
		position: relative;
	}
}

@media (min-width: 768px) {	
	.container .row {
		padding-left:5px;
	}
	#header {
		position: relative;
	}
}


@media (min-width: 992px) {

	.mobilemenus {
		display: none;
	}

	.menuwrapper {
		background-color: #1b1c85;
		display: block;
		
	}
	

	#header .right {
		float: right;
		margin-top: 10px;
	}

	#navbar li a {
		color: #fff;
		font-weight: bold;

		text-transform: uppercase;
		font-size: 15px;
	}

	h1 {
		font-size: 290%;
		line-height: 110%;
		margin-bottom: 35px;
		margin-top: 25px;
		font-weight: bold;
		color: #000;
	}
	h2 {
		font-size: 160%;
		line-height: 110%;
		margin-bottom: 25px;
		margin-top: 20px;
		font-weight: bold;
		color: #000;
	}
	h3 {
		font-size: 145%;
		line-height: 106%;
		margin-bottom: 15px;
		margin-top: 10px;
		color: #000;


	}
	p, li {
		font-size: 115%;
		margin-bottom: 15px;
		line-height: 130%;
		color: #666;
	}
	#navbar li {
		display: inline-block;
		line-height: 60px;
	}

	#navbar li a {
		
		padding-left: 10px;
		padding-right: 10px;
	}

}
@media (min-width: 1200px) {


	#navbar li a {

		font-size: 17px;
		padding-left: 14px;
		padding-right: 14px;
	}
	.bannertitle {
		color: #fff;
		font-size: 480%;
		text-transform: uppercase;
		margin-bottom: 30px;
	}
	.bannertxt {
		color: #fff;
		font-size: 250%;
	}
}

@media (min-width: 1900px) {

	#hero {
		height: 60vh;
		min-height: 700px;
		max-height: 800px;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		background-position: fixed;
		background-position: 50% 50%;
		margin-top: -10px;
	}
}

#joukkue_uutinen_uusi {
  padding-bottom: 20px;
}

.joukkue_uutinen_edit {
	margin: 8px 0px;
}
.joukkue_uutinen_edit a,
.joukkue_uutinen_edit span {
  margin-right: 5px;
}
.joukkue_uutinen_edit a:hover {
  color: #ffffff;
  text-decoration: none;
}

.hide { display: none; }
