* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body{
	background-color: #292929;
	color: #dee3eb;
	font-family: Arial, Helvetica-sans-serif;
	margin: 0;
	padding: 0;
	border: 0;
}

/*Kehys ja rakenne*/

.wrapper{
	max-width: 1020px;
	margin: auto;
	margin-top: 30px;
	min-height: 100vh;
	position: relative;
	background-color: #404040;
	border-top-left-radius: 13px;
	border-top-right-radius: 13px;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.header{
	height: auto;
	width: 100%;
}

.header2{
	display: block;
  	margin-left: auto;
  	margin-right: auto;
	max-width: 100%;
  	height: auto;
}

.logo{
	max-width: 100%;
  	height: auto;
}

.container-md{
	max-width: 100%;
	width: 1000px;
}

.btn-outline-warning{
	color: #fff;
	border: 1px solid white;
}

.btn-outline-warning:hover{
	color: #ffffff;
	border: 1px solid white;
}

.container {
  	overflow: hidden;
  	background-color: #404040;
}

.page {
  	width: 100%;
  	margin: 0 auto;
  	overflow: hidden;
}

.content{
  	max-width: 1000px;
  	width: 100%;                
  	margin: 0 auto;
  	margin-top: 40px;
  	margin-bottom: 40px;
}

.footer{
	background: linear-gradient(#292929, #252525);
	max-width: 100%;
	width: 1000px;
	margin: 0 auto;
	padding: 10px;
	border-bottom-left-radius: 13px;
	border-bottom-right-radius: 13px;
	border-top-left-radius: 13px;
	border-top-right-radius: 13px;
	margin-top: 60px;
	margin-bottom: 20px;
}

.footer2{
	background: linear-gradient(#292929, #252525);
	max-width: 100%;
	width: 1000px;
	margin: 0 auto;
	padding: 10px;
	border-bottom-left-radius: 13px;
	border-bottom-right-radius: 13px;
	border-top-left-radius: 13px;
	border-top-right-radius: 13px;
	margin-top: 60px;
	margin-bottom: 30px;
}

.footer-content{
  	max-width: 1000px;
 	width: 100%;
  	margin: 0 auto;
}

/*Teksti*/

.content p{
	margin-top: 20px;
	font-size: 12pt;
	line-height: 1.8;
	padding: 10px;

}

.footer-content p {
  	color: #fff;
  	margin-top: 10px;
  	margin-bottom: 10px;
  	text-align: center; 	
}

h1.page-title{
	padding: 10px;
  	font-weight: bold;
}

h1.title{
	font-weight: bold;
	margin-bottom: 20px;
	border-left: 4px solid #9fa2a4;
	padding-left: 15px;
}

h2.post-title{
	margin-top: 20px;
	padding: 10px;
  	font-weight: bold;
}

h2.featured-image-title{
	color: #ffffff;
	font-size: 30pt;
	padding: 15px;
	margin-top: 400px;
	text-shadow: 2px 2px #000;
	transform: uppercase;
	letter-spacing: 1px;
}

h2.featured-image-title a {
	color: #ffffff;
	text-decoration: none;
}

h2.featured-image-title a:hover {
	color: #ffffff;
	text-decoration: none;
}


h3.section{
	font-size: 15pt;
	padding: 5px;
  	font-weight: bold;
	border-left: 4px solid #9fa2a4;
	padding-left: 15px;
}

h4.post-meta{
	margin-top: 20px;
	padding: 10px;
  	font-weight: normal;
  	background: linear-gradient(#292929, #252525);
  	color: #fff;
  	max-width: 980px;
  	margin: 0 auto;
  	width: 100%;
  	font-size: 15px;
}

h4.blogpost{
	font-weight: bold;
	margin-left: 3px;
	margin-top: 60px;
	letter-spacing: 1px;
}

h4.blogpost a {
	color: #9fa2a4;
	text-decoration: none;
	-o-transition:color .2s ease-out, background 1s ease-in;
	-ms-transition:color .2s ease-out, background 1s ease-in;
	-moz-transition:color .2s ease-out, background 1s ease-in;
	-webkit-transition:color .2s ease-out, background 1s ease-in;
	/* ...and now override with proper CSS property */
	transition:color .2s ease-out, background 1s ease-in;
}

h4.blogpost a:hover {
	color: #ffffff;
	text-decoration: none;
}

h5.date{
	color: #ffffff;
	margin-left: 3px;
}

h6{
	font-weight: bold;
	margin-top: 50px;
	margin-left: 12px;
	font-size: 14pt;
	margin-left:;
}

blockquote {
    font-family: Arial,sans-serif;
    font-size: 18px;
    font-style: italic;
    font-weight: bold;
    width: 100%;
    margin: 0.25em 0;
    padding: 0.25em 40px;
    line-height: 1.45;
    position: relative;
    color: #fff;
    background:transparent;
}
 
blockquote:before {
    display: block;
    content: "\201C";
    font-size: 80px;
    position: absolute;
    left: 0;
    top: -10px;
    color: #9fa2a4;
}
 
blockquote cite {
    color: #999999;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}
 
blockquote cite:before {
    content: "\2014 \2009";
}

/*Postaukset*/

.article-card {
	border: 0px;
}

.article-card-img p {
	font-size: 10pt;
}

.pagination-container{
	border-top: 1px solid #424649;
	padding-top: 20px;
	width: 100%;
}

.postdata{
	color: #9fa2a4;
}

.featured-image-heading{
	background: #424649;
	color: #ffffff;
	padding-left: 25px;
	padding-right: 25px;
	padding-top: 5px;
	padding-bottom: 5px;
	display: inline-block;
	font-size: 14pt;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
	transition-duration: 0.4s;
	cursor: pointer;
}

/*Kuvat*/

.slide{
	max-width: 100%;
	height: auto;
}

.featured-image {
	max-width: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	height: 551px;
	cursor: pointer;
}

img.post-single{
  	display: block;
  	margin-left: auto;
  	margin-right: auto;
  	margin-top: 20px;
  	max-width: 980px;
  	width: 100%;
  	height: auto;
}

img.post-archive{
	max-width: 282px;
	width: 100%;
	margin: auto;
	float: right;
	padding: 10px;
	height: 159px;
}

/*Videot*/

.youtube-responsive-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.youtube-responsive-container iframe, .youtube-responsive-container object, .youtube-responsive-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

/*Linkit*/

.nav-item a:hover{
	color: #fff;
	text-decoration: none;
}

.content a {
	color: #9fa2a4;
	text-decoration: none;
	-o-transition:color 0.2s ease-out, background 0.2s ease-in;
	-ms-transition:color 0.2s ease-out, background 0.2s ease-in;
	-moz-transition:color 0.2s ease-out, background 0.2s ease-in;
	-webkit-transition:color 0.2s ease-out, background 0.2s ease-in;
	/* ...and now override with proper CSS property */
	transition:color 0.2s ease-out, background 0.2s ease-in;
}

.content a:hover {
	color: #ffffff;
	text-decoration: none;
}

.pagelink {
	font-weight: bold;
}

.pagelink a {
	padding: 7px 10px;
	margin: 5px;
	color: #9fa2a4;
	text-decoration: none;
	font-weight: normal;
	-o-transition:color 0.2s ease-out, background 0.2s ease-in;
	-ms-transition:color 0.2s ease-out, background 0.2s ease-in;
	-moz-transition:color 0.2s ease-out, background 0.2s ease-in;
	-webkit-transition:color 0.2s ease-out, background 0.2s ease-in;
	transition:color 0.2s ease-out, background 0.2s ease-in;
}

.pagelink a:hover{
	color: #ffffff;
	background-color: #424649;
}

.pagelink .current {
	background-color: #424649;
	padding: 7px 10px;
	margin: 5px;
	font-weight: bold;
	color: #fff;
}

.pagelink .next,
.pagelink .prev {
	text-decoration: none;
	padding: 7px 10px;
	margin: 0px;
}

/*Media Quaries*/

@media screen and (min-width: 344px) {

h2.featured-image-title{
	margin-top: 85px;
}
}

@media screen and (min-width: 360px) {
	
h3.section{
	margin-top: -360px;
}

h2.featured-image-title{
	font-size: 13pt;
	text-shadow: 2px 2px #000;
	margin-top: 93px;
}
}

@media screen and (min-width: 375px) {

h2.featured-image-title{
	font-size: 14pt;
	text-shadow: 2px 2px #000;
	margin-top: 98px;
}
}

@media screen and (min-width: 390px) {

h2.featured-image-title{
	font-size: 15pt;
	text-shadow: 2px 2px #000;
	margin-top: 103px;
}
}

@media screen and (min-width: 412px) {

h2.featured-image-title{
	font-size: 16pt;
	text-shadow: 2px 2px #000;
	margin-top: 113px;
}

h3.section{
	margin-top:-330px;
}
}

@media screen and (min-width: 414px) {

h2.featured-image-title{
	font-size: 16pt;
	text-shadow: 2px 2px #000;
	margin-top: 115px;
}
}

@media screen and (min-width: 430px) {

h2.featured-image-title{
	font-size: 17pt;
	text-shadow: 2px 2px #000;
	margin-top: 121px;
}
}

@media screen and (min-width: 540px) {

h2.featured-image-title{
	font-size: 17pt;
	text-shadow: 2px 2px #000;
	margin-top: 209px;
}
}

@media screen and (min-width: 768px) {

h2.featured-image-title{
	font-size: 21pt;
	text-shadow: 2px 2px #000;
	margin-top: 257px;
}

h3.section{
	margin-top: -150px;
}
}

@media screen and (min-width: 820px) {

 h2.featured-image-title{
	font-size: 22pt;
	text-shadow: 2px 2px #000;
	margin-top: 106px;
}
}


@media screen and (min-width: 853px) {

 h2.featured-image-title{
	font-size: 22pt;
	text-shadow: 2px 2px #000;
	margin-top: 107px;
}
}

@media screen and (min-width: 1024px) {

h2.featured-image-title{
	font-size: 23pt;
	text-shadow: 2px 2px #000;
	margin-top: 190px;
}

h3.section{
	margin-top: 40px;
}
}

@media screen and (min-width: 1280px) {

h2.featured-image-title{
	font-size: 23pt;
	text-shadow: 2px 2px #000;
	margin-top: 400px;
}
}

	