
body, a, .btn-link {
	font-family: "Open Sans";
	font-weight: normal;
	color: #646464;
}

h4 {
	color: #5a5a5a;
}

.btn-link:hover, a:hover {
	color: #646464;
}

.btn-link:focus {
	text-decoration: none;
}

/* fix the arrow to work on mobile, remove col-1 padding */
.col-1 {
	padding: 0;
}

.breakMainentanceP {
	margin-block-start: 0.5em;
	margin-block-end: 0.5em;
}

/* background image for header */
#header {
	background: url('img/bk-image-new-blurred_2.jpg') no-repeat; 
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
}

.headerText {
	color: #fff;
	font-weight: bold;
}

/* hide mobile logo pic */
.logoPicMobile {
	display: none;
	visibility: hidden;
}

/* statusYellow, Red, Green balloons */
#statusYellow {
	background-image: url('img/iso_o.png');
	background-repeat: no-repeat;
	height: 60px;
	max-width: 60px;
	margin: 0px 10px;
}

#statusYellow p {
	display: flex;
	font-size: 12px;
	align-items: center;
	justify-content: center;
	height: 100%;
	text-align: center;
	
}
#statusRed {
	background-image: url('img/iso_p.png');
	background-repeat: no-repeat;
	height: 60px;
	max-width: 60px;
	margin: 0px 10px;
}

#statusRed p {
	display: flex;
	font-size: 12px;
	align-items: center;
	justify-content: center;
	height: 100%;
	text-align: center;
}
#statusGreen {
	background-image: url('img/iso_v.png');
	background-repeat: no-repeat;
	height: 60px;
	max-width: 60px;
	margin: 0px 10px;
}

#statusGreen p {
	display: flex;
	font-size: 12px;
	align-items: center;
	justify-content: center;
	height: 100%;
	text-align: center;
}

/* katko.rss styling */

.popup-position { 
	display: none; 
	position: fixed; 
	top: 0; 
	left: 0; 
	background-color: rgba(0,0,0,0.5); 
	width: 100%; 
	height: 100%; 
	z-index: 5;
}

#popup-wrapper { 
	max-width: 500px; 
	max-height: 900px;
	margin: 0px auto; 
	text-align: left; 
}

#popup-container { 
	background-color: #FFF; 
	overflow: hidden;
	z-index: 10;
}

#katkoilmot p {
	font-weight: lighter;
	color: #454545;
}

#katkoilmot a {
	font-weight: lighter;
	color: #454545;
}

#katkoilmot {
	padding-bottom: 0.5em;
}

#title {
	padding-bottom: 0.5em;
}

/* scheduled title */

#scheduledTitle {
	padding-bottom: 0.5em;
}

/* Bootstrap card styling */

.card {
	background: #f4f4f4;
	border: 0px;
	border-radius: 0;
}

.card-header {
	background: #f4f4f4;
    padding: .5rem 1.25rem;
}


.card-header .fa {
  transition: .3s transform ease-in-out;
  font-size: 10px;

}

.card-header .collapsed .fa {
  transform: rotate(-90deg);
}


.card-body {
	background: #fff;
	padding: 1.25rem 2rem;
}

/* footer/header styling */
#footer {
	background: #f4f4f4;

}

.twitterImg {
	margin: auto; 
	display: block; 
	position: absolute; 
	bottom: 5px;
}

.cardHeaderPadding {
	padding: .5rem 1.25rem;
}

#statusheader {
	padding-bottom: 11px;
}

.dataOld {
	border: 2px solid #ff0000; 
}

/* applies to header and footer jumbotron */
.jumbotron {
	background: #f4f4f4;
	border-radius: 0;
}

#footer #statusFooterBalls p {
	margin-bottom: 0.5em;
}

.footer-jumbotron {
	padding: 3rem 2rem;
}

@media only screen and (max-width: 1025px) {
	.scroll-wrapper {
		-webkit-overflow-scrolling: touch;
		overflow-y:scroll;
		overflow-x:auto;
	}
	#popup-container { 
		background-color: #FFF; 
		overflow: auto;
	}

}

@media screen and (max-width:850px) and (orientation: landscape) {
	.scroll-wrapper {
		-webkit-overflow-scrolling: touch;
		overflow:scroll;
	}
	#popup-container {
		max-height: 200px;
	}
}

@media only screen and (max-width: 767px) { 
	.headerText {
		color: #000;
		font-weight: normal;
	}
	
	.twitterImg {
		position: none;
		margin: auto; 
		display:none; 
	}
	
	#header {
		background: #f4f4f4;
		text-align: center;
		padding: 20px 10px;
	}
	
	#services {
		display: none;
		visibility: hidden;
	}
	
	#statusheader {
		font-size: 20px;
		font-weight: bold;
	}
	
	#dataUpdated {
		visibility: hidden;
		display: none;
	}
	
	#dataUpdatedOld {
		visibility: hidden;
		display: none;
		color: red;
	}
	
	#rightDiv {
		padding-top: 25px;
	}
	
	#huollot {
		padding-top: 20px;
	}

	.bottomPadding {
		padding-bottom: 20px;
	}
	/* status balls in header color for mobile */
	.balls {
		color: #fff;
		font-weight: bold;
	}
	/* hide white logo pic for mobile and show back */
	.logoPic {
		display: none;
		visibility: hidden;
	}
	.logoPicMobile {
		display: block;
		visibility: visible;
	}
	
	.justify-content-center-mobile
	{
		-webkit-box-pack:center!important;
		-ms-flex-pack:center!important;
		justify-content:center!important
	}
	
	#title {
		padding-top: 15px;
	}
	.scroll-wrapper {
		-webkit-overflow-scrolling: touch;
		overflow-y:scroll;
		overflow-x:auto;
	}
	#popup-container { 
		background-color: #FFF; 
		overflow: auto;
	}
}
		