@charset "UTF-8";
/*
Theme Name: GP-Kentät: FGMA
Version: 1.0
Author: Golfpiste
Template: golfpiste-kentat
*/

p, hr, dl, pre, form, table, address, blockquote {
  margin: 1em 0;
}

ul {
  padding-left: 20px; }

label {
  font-weight: 400; }

b, strong {
  font-weight: 600; }

table h3 {
  margin-top: 0; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  font-size: 20px; }

h1, .category #content > h3 {
  font-size: 30px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 25px; }

article h2 {
  font-size: 24px; }
  
article h3 {
  font-size: 18px; }

a {
  font-weight: 400;
  text-decoration: none;
}

#container.simple {
	padding: 0;
	background-color: #ffffff;
	position: relative;
}

#content {
	float: right;
}

.home #content {
	margin-bottom: 0;
}

.widget-inner {
	padding: 15px;
}

.widget-title {
	background: #464645;
	color: #fff;
	padding: 10px 15px;
	text-transform: uppercase;
    font-size: 16px;
	font-weight: 400;
    letter-spacing: 1px;
	margin: -15px -15px 15px;
}

.post-entry .login-container {
	width: 100%;
    max-width: 400px;
}

@media screen and (max-width: 850px) {
	
	#content, #sidebar-left {
		float: none;
		width: 100%;
	}
	
	.category #sidebar-left {
		display: none;
	}
	
}

@media screen and (max-width: 650px) {
	
	.home #wrapper {
		padding: 0;
	}
	
	.home .widget-container {
		margin: 0;
	}
	
	.home .widget-container > .grid {
		padding: 0;
		margin: 0;
	}
	
}

/* Päävalikko */

.screen-reader-text {
	display: none;
}

.main-nav {
	background: #464645;
}

.main-nav .menu {
	text-align: left;
	font-size: 0;
}

.menu a {
	padding: 0 40px;
	font-size: 16px;
	color: #fff !Important;
	letter-spacing: 0.4px;
	font-weight: 500;
}

ul.menu > li:hover, ul.menu > li:active, .menu .current_page_item > a, .menu .current-menu-item > a, .menu .current-menu-parent > a, .menu .current-menu-ancestor > a, .menu a:hover {
	background-color: #75787b !important;
	color: #fff !important;
}

.menu li li {
    color: #fff;
	background: #464645;
 	border: none;
}

.menu li li a {
    color: #fff;
	font-size: 14px;
	font-weight: 500;
	padding: 7px 15px;
	border-bottom: 1px solid #0089cf;
}

.menu li li:last-child a {
	border-bottom: none !important;
}

.menu li li a:hover {
	color:#fff;
	border-bottom: 1px solid #0089cf;
	background-color: #75787b !important;
}

.menu li li.current-menu-item a {
 	border-left:none;
	border-right:none;
}

@media screen and (max-width: 1000px) {
	
	.menu a {
		padding: 0 30px;
	}
	
}

@media screen and (max-width: 850px) {
	
	.menu a {
		padding: 0 20px;
		font-size: 13px;
	}
	
	.menu li li a {
		font-size: 13px;
	}
	
}

@media screen and (max-width: 650px) {
	
	.header-carousel .carousel-item {
		padding-top: 55% !important;
	}
	
	.menu-button {
		color: white !important;
	}
	
	.menu-button:hover, .menu-button:active {
		background: #464645 !important;
	}
	
	.js .main-nav .menu li {
		background-color: #464645;
		border-bottom: 1px solid #0188cf;
	}
	
	.js .main-nav .menu li a {
		background: none;
		font-weight: 500;
		font-size: 14px;
		color: #ffffff;
		border: none;
	}
	
	.js .main-nav .menu li.current_page_item, .js .main-nav .menu li:hover, ul.menu > li:hover, ul.menu > li:active, .menu .current_page_item > a, .menu .current-menu-item > a, .menu .current-menu-parent > a, .menu .current-menu-ancestor > a, .menu a:hover {
		background-color: #464645 !important;
	}
	
	.js .main-nav .menu li.menu-item-has-children ul {
		background-color: #464645;
	}
	
	.js .main-nav .menu li.menu-item-has-children:after {
		font-size: 18px;
		color: #ffffff !Important;
	}
}

.header-carousel .carousel-item {
	height: 0;
	padding-top: 38.6%;
}

#logo {
	float: none;
	width: 200px;
	margin: 20px;
}

#widget-area-top {
	position: absolute;
	right: 20px;
	top: 20px;
}

.loginWrapper .widget-inner {
	padding: 0;
	text-align: right;
}

.loginWrapper a {
	text-transform: uppercase;
	font-weight: 500;
}

.loginWrapper #loginform {
	margin: 0;
}

.loginWrapper label {
	font-weight: 500;
}

.login-username, .login-password {
    float: left;
    width: calc(50% - 10px);
    margin: 0 0 15px;
	text-align: left;
}

.login-username {
	margin-right: 20px;
}

.login-remember {
  width: 20%;
  float: left;
  display: none; }

#loginform input[type="text"], #loginform input[type="password"] {
  width: 100%;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background-clip: padding-box;
  padding: 6px;
  background-color: #efefef;
  color: #3c3c3b;
}

#loginform  input[type="submit"] {
	color: #fff;
	background: #0089d0;
	border-color: #0273ad;
	border-radius: 5px;
}

.loginWrapper input[type="submit"]:hover {
    background: #0273ad;
}

.login-submit {
	display: block;
    float: none;
    text-align: right;
    width: 100%;
    margin: 0;
	clear: both;
}

@media screen and (max-width: 830px) {

	#widget-area-top {
		width: calc(100% - 300px);
	}

}

@media screen and (max-width: 650px) {
	
	#logo {
		width: 120px;
		margin: 30px auto;
	}

	#widget-area-top {
		position: static;
		width: 300px;
		margin: 0 auto;
	}
	
	.loginWrapper .widget-inner {
		text-align: center;
	}
	
	.login-username, .login-password {
		width: 100%;
		margin: 0 0 10px !important;
		text-align: center;
	}
	
	.login-submit {
		text-align: center;
	}

}

/* Etusivu */

#gptexteditorwidget-6 {
	max-height: 131.5px;
	overflow: hidden;
}

.slick-slide img {
	margin: 0 auto;
	max-height: 65px;
}

.post-list-title a {
	color: #2c2a29;
    font-size: 16px;
}

.post-list-title a:hover, .post-list-title a:focus , .post-list-title a:active  {
	color: gray;
}

.all-post-link {
	padding: 10px 0px;
    color: #0089d0;
    text-transform: uppercase;
    font-weight: 500;
}

#gptexteditorwidget-5 {
	height: 0;
	margin: 0;
}

@media screen and (max-width: 650px) {
	
	#gptexteditorwidget-6 {
		margin-bottom: 10px !important;
	}

	.post-list-title a {
		font-size: 14px;
	}

}

/* Kategoria */

.news-list-ul {
	list-style-type: none;
    padding: 0;
    margin: 0;
}

.news-list-ul li {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid lightgray;
	position: relative;
    padding-left: 80px;
}

.news-list-ul .post-date {
	width: 80px;
    display: inline-block;
	position: absolute;
    left: 0;
    top: 0;
}

.news-list-ul a {
	color: #2c2a29;
    font-size: 16px;
}

.navigation a {
    padding: 10px 0px;
    color: #0089d0;
    text-transform: uppercase;
    font-weight: 500;
}

@media screen and (max-width: 650px) {
	
	.news-list-ul li {
		padding-left: 0;
	}
	
	.news-list-ul .post-date {
		position: static;
		display: block;
	}
	
}

/* Footer */
	
#footer-wrapper {
    max-width: none;
    background: #75787b;
    text-align: center;
}	

#footer-wrapper .textwidget{
	margin: 0;
}

#footer-wrapper .grid.col-940 img {
	width: 200px;
}