/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

html, body {
	height: 100%;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.428571429;
  padding-bottom: 0px;
  color: #494949;/*3f3f3f;/**/
  font-weight: 500;
}

/*
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Source Sans Pro', 'Libre Franklin', 'Maven Pro', "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    line-height: 1.1;
}/**/
h1, h2, h3, h3, h5, h6 {
	font-family: "Open Sans ExtraBold","Open Sans Bold","Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
	font-weight: 800;
	margin-top:0;
}/**/
h1 {
	color: rgb(0, 153, 204);/*#16738F;/*#005F6A;/*#565550;/**/
	/*color: rgb(0,95,106);/**/
	margin-bottom: 27px;/**/
}
h1::after {
	/*
    content: '';
    position: absolute;
    display: block;
    width: 410px;
    max-width: 80%;
    height: 2px;
    background-color: #565550;
    margin: 10px auto 0 auto;
    left: 50%;
    -webkit-transform: translate(-50%, 0px);
    transform: translate(-50%, 0px);
	/**/
}
a {
	color: #428bca;/*#1fa4cc;/**/
	text-decoration: underline;
}
a:hover {
	color: #3276b1;/*#16738F;/**/
	text-decoration: underline;
}

.container {
  min-width: 290px;/*320px - padding)*/
  /*padding-right: 15px;/**/
  /*padding-left: 15px;/**/
}

.text-faded {
  color: #666666;
}
.text-blue {
	color: rgb(0, 153, 204);
}

.container-content a {
	text-decoration: underline;
}
/* Sisällön kuvat responsiivisia */
.container-content img {
	/*display: block;/**/
	max-width: 100%;
	height: auto;
}
.jg-kentta a {
	color: #333333;
	text-decoration: underline;
}
.jg-kentta a:hover {
	color: rgb(0,0,238);
	text-decoration: underline;
}
.jg-kentta h4 {
	font-weight: bold;
}

/*
h1 + h2,
h2 + h3,
h3 + h4,
h4 + h5 {margin-top:0;}/**/
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 1em; /*0.5rem;/**/
    line-height: 1em;
}

/* table */
.table-hover tbody tr:hover td {
  background-color: rgba(0,0,0,0) !important;
}
.table-hover tbody tr:hover th {
  background-color: rgba(0,0,0,0) !important;
}
.table {
	margin-top: 1rem;
	margin-bottom: 1rem;
}


/* Header */
/* ------------------------- */

.header.header-transparent {
    background: transparent;
}
.header {
	/*
    position: fixed;
    height: 211px;
    width: 100%;
    transition: height .3s ease-out, background .3s ease-out, box-shadow .3s ease-out;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 1040;
	/**/
}
.header.header-small {
    height: 60px;
    box-shadow: 0 0 60px 0 rgba(0,0,0,.07);
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  width: 100%;
  position: absolute;
  z-index: 15;
}

/* Content menu */
/* ------------------------- */

.content-menu {
}
.content-menu h3 {
	color: rgb(0, 153, 204);
}
.content-menu h3:after {
	position: flex;
	background: rgba(0, 153, 204, 1);
	display: block;
	height: 3px;
	width: 25%;
	/*margin: 0 auto 1px auto;/**/
	margin: 10px auto 10px 0;/**/
	content: "";
	transition: all .3s ease-out;
	box-sizing: border-box;
}
.content-menu h3:hover:after {
	width: 50%;
	margin: 10px auto 10px 0;/**/
}

.content-menu ul {
	margin: 10px 0;
}
.content-menu a {
	color: rgb(0, 153, 204);
	text-decoration: none;
	line-height: 1.5rem;
}
.content-menu a:hover {
	color: rgb(0, 87, 128);
	text-decoration: none;
}
.content-menu a.active2,
.content-menu a.active3 {
	color: rgb(0, 87, 128);
	text-decoration: none;
}
.content-menu .drop_sign_left {
	color: rgb(0, 87, 128);
	font-size: 1.2rem;
	margin-left: 5px;
}
.ul-active {
	border-left: 3px solid rgba(0, 153, 204, 1);
	padding-left: 10px;
}
.content-menu-wide {
	padding-top: 30px;
}
@media (max-width: 991px) {
	.content-menu {
		padding-top: 30px;
	}
}

/* Navbar */
/* ------------------------- */

/* Navbar bottom margin and border */
.navbar{
	margin-bottom: 0px;
	border-bottom-width: 0px;
	padding: 0.5rem 0rem;
}

.navbar-logo {
    width: 120px;/*80px;*/
    height: 120px;/*66.5px;*/
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -60px;
    margin-top: 0px;
}
.navbar-logo img {
    width: 120px;/*80px;*/
    height: 120px;/*66.5px;*/
}
.footer-logo {
    width: 120px;
    height: 120px;
}
.footer-logo img {
    width: 120px;/*80px;*/
    height: 120px;/*66.5px;*/
}
@media (min-width: 576px) AND (max-width: 767px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 0px;
  }
  /* Navbar height*/
  .navbar-light .navbar-header, .navbar-light .navbar-collapse {
    padding-top: 15px;
	padding-bottom: 0px;
  }

	.navbar-logo {
		width: 120px;
		height: 120px;
		position: absolute;
		top: 0px;
		left: 50%;
		margin-left: -60px;
		margin-top: 0px;
	}
	.navbar-logo img {
		width: 120px;
		height: 120px;
	}
	.footer-logo {
		width: 120px;
		height: 120px;
	}
	.footer-logo img {
		width: 120px;
		height: 120px;
	}
}
@media (min-width: 768px) AND (max-width: 991px) {
	.navbar-light {
		padding-bottom: 0;
		margin-bottom: 0;
		/*border-bottom: 1px solid rgba(255, 255, 255, .1);/**/
	}
	.navbar-logo {
		width: 140px;
		height: 140px;
		position: absolute;
		top: 0px;
		left: 50%;
		margin-left: -70px;
		margin-top: 0px;
	}
	.navbar-logo img {
		width: 140px;
		height: 140px;
	}
	.footer-logo {
		width: 150px;
		height: 150px;
		margin-top: -20px;
	}
	.footer-logo img {
		width: 150px;
		height: 150px;
	}
	/**/
	.navbar-menu-2 > li:after {
		position: flex;
		background: rgba(255, 255, 255, .1);
		display: block;
		height: 1px;
		width: 50px;
		margin: 0 auto -1px auto;
		content: "";
		transition: all .3s ease-out;
		box-sizing: border-box;
	}
	.navbar-menu-2 > li:hover:after {
		background: rgba(255, 255, 255, .8);
		width: 92%;
		margin: 0 auto -1px auto;
	}
	/**/
}
@media (min-width: 992px) AND (max-width: 1199px) {
	.navbar-logo {
		width: 180px;
		height: 180px;
		position: absolute;
		top: 30px;
		left: 50%;
		margin-left: -90px;
		margin-top: 0px;
	}
	.navbar-logo img {
		width: 180px;
		height: 180px;
	}
	.footer-logo {
		width: 180px;
		height: 180px;
		margin-top: -30px;
	}
	.footer-logo img {
		width: 180px;
		height: 180px;
	}
}
@media (min-width: 1200px) {
	.navbar-logo {
		width: 180px;
		height: 180px;
		position: absolute;
		top: 40px;
		left: 50%;
		margin-left: -90px;
		margin-top: 0px;
	}
	.navbar-logo img {
		width: 180px;
		height: 180px;
	}
	.footer-logo {
		width: 180px;
		height: 180px;
		margin-top: -30px;
	}
	.footer-logo img {
		width: 180px;
		height: 180px;
	}
}


/* nav-bar fonts */
.navbar-light .navbar-brand {
	color: rgba(255, 255, 255, 1);
}
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:focus {
	color: rgba(255, 255, 255, 1);
}
.navbar-light .navbar-nav .nav-link {
	color: rgba(255, 255, 255, 1);
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
	color: rgba(255, 255, 255, 0.75);/**/
}
a.nav-link {
	text-decoration: none;
}
a.nav-link:hover {
	text-decoration: none;
}
.navbar-light .navbar-nav .nav-link.disabled {
  color: rgba(255, 255, 255, 0.3);
}

.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
  color: rgba(255, 255, 255, 0.9);
}

.navbar-light .navbar-toggler {
  color: rgba(255, 255, 255, 0.9);
  margin: 1.5em 1rem 1.75em 1rem;
  padding: 0.25rem 0.5rem;
  border-color: rgba(255, 255, 255, 0.9);
  border-width: 3px;
  border-radius: 0.1rem;
  /*border-radius: 0.2rem;/**/
}
.navbar-toggler-icon {
  width: 2em;
  height: 1.5em;
}
.nav-link-home {
	font-size: 1.3em;
	line-height: 30px;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.6)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-light .navbar-nav .nav-link img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.navbar-light .navbar-nav .nav-link img:hover {
	opacity: 0.70;
    filter: alpha(opacity=70);	
}
.navbar-light .navbar-nav .nav-link:hover img {
	opacity: 0.70;
    filter: alpha(opacity=70);	
}

.navbar-light .navbar-nav.navbar-menu-1 .nav-link {
	color: rgba(255, 255, 255, 0.75);
}
.navbar-light .navbar-nav.navbar-menu-1 .nav-link:hover,
.navbar-light .navbar-nav.navbar-menu-1 .nav-link:focus {
	color: rgba(255, 255, 255, 1);
}

.navbar-light .navbar-nav.navbar-menu-1 > li > a {
	font-size: 1.1rem;
	text-align: center;
}
.navbar-light .navbar-nav.navbar-menu-1 > li > a > span {
	display: block;
	font-size: 1rem;
	line-height: 1rem;
}

/* header-menu */
.navbar-menu-2 {
	padding-top: 60px;
}
.navbar-menu-1 {
	margin-left: 0px;
	margin-right: 0px;
}
.nav-item.col-md-auto {
	padding-left: 15px;
	padding-right: 15px;
}

.navbar-light .navbar-nav > li > a {
  font-size: 1.3em;
  line-height: 30px;
  color: #ffffff;
  outline: 0;
}
.navbar-light .navbar-nav > li > a:hover,
.navbar-light .navbar-nav > li > a:focus {
  color: #fff;
  background-color: transparent;
}

.navbar-light .navbar-nav > .active > a,
.navbar-light .navbar-nav > .active > a:hover,
.navbar-light .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: transparent;
}

.navbar-light .navbar-nav > .disabled > a,
.navbar-light .navbar-nav > .disabled > a:hover,
.navbar-light .navbar-nav > .disabled > a:focus {
  color: #444444;
  background-color: transparent;
}

.navbar-light .navbar-toggle {
  border-color: #eeeeee;
}

.navbar-light .navbar-toggle:hover,
.navbar-light .navbar-toggle:focus {
}

.navbar-light .navbar-toggle .icon-bar {
  background-color: #ffffff;
}

.navbar-light .navbar-collapse,
.navbar-light .navbar-form {
    border-color: #ffffff;/*border-color: #101010;/**/
	border: none;
}

.navbar-light .navbar-nav > .open > a,
.navbar-light .navbar-nav > .open > a:hover,
.navbar-light .navbar-nav > .open > a:focus {
  /*color: #ffffff;/**/
}

.dropdown-toggle::after {
}

.navbar-light .navbar-nav > .dropdown > a:hover .caret {
}

.navbar-light .navbar-nav > .dropdown > a .caret {
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}

.navbar-light .navbar-nav > .open > a .caret,
.navbar-light .navbar-nav > .open > a:hover .caret,
.navbar-light .navbar-nav > .open > a:focus .caret {
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}

/* dropdown-menu */
.dropdown-menu {
	background-color: rgba(255, 255, 255, 0.75);
	border: 3px solid
		rgba(255, 255, 255, 0.9);
		border-radius: 0.1rem;
}
.dropdown-item a {
	color: rgba(0, 0, 0, 0.8);
	text-decoration: none;
}
.dropdown-item a:hover {
	color: rgba(0, 0, 0, 1);
	text-decoration: none;
}
.dropdown-item a.active,
.dropdown-item a.active:hover {
	text-decoration:none;
	background-color: rgba(0, 0, 0, 0);
}

.dropdown-item:hover, .dropdown-item:focus {
	background-color: #f8f9fa;
}
.dropdown-item.active, .dropdown-item:active {
	background-color: #f8f9fa;
}
.dropdown-item.sel-item {
	background-color: rgb(0, 153, 204, 0.75);
}
.dropdown-item.sel-item:hover, .dropdown-item.sel-item:focus {
	background-color: rgb(0, 153, 204);
}

.sel-item {
}

@media screen and (min-width: 768px){
	/*
  .dropdown:hover .dropdown-menu, .btn-group:hover .dropdown-menu{
        display: block;
    }
	/**/
    .dropdown-menu{
        margin-top: 0px;
    }
    .dropdown-toggle{
        margin-bottom: 2px;
    }
    .navbar .dropdown-toggle, .nav-tabs .dropdown-toggle{
        margin-bottom: 0;
    }
}
@media (min-width: 768px) {

	.navbar-light .header-menu-2 .navbar-nav > li > a:after {
		position: absolute;
		background: rgba(255, 255, 255, .1);
		display: block;
		height: 1px;
		width: 30px;
		bottom: -1px;
		left: 50%;
		margin-left: -15px;
		content: "";
		transition: all .3s ease-out;
		box-sizing: border-box;
	}
	.navbar-light .header-menu-2 .navbar-nav > li > a:hover:after {
		background: rgba(255, 255, 255, .8);
		width: 100%;
		left: 0;
		margin-left: 0px;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	/* header-menu */
	.navbar-menu-2 {
		padding-top: 80px;
	}
	.navbar .container-fluid {
		padding-right: 5px;
		padding-left: 5px;
	}
	#jg-navbar-collapse-1.container-fluid {
		padding-right: 0px;
		padding-left: 0px;
	}
	.navbar-expand-md .navbar-nav .nav-link {
		padding-right: 0.4rem;
		padding-left: 0.4rem;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
}
@media (min-width: 1200px) {
}

@media (max-width: 575px) {
	#jg-navbar-collapse-1 .w-100 {
		display: -webkit-flex; /* Safari */
		display: flex;
		flex-direction: column;
	}
	#jg-navbar-collapse-1 .w-100 .navbar-menu-1 {
	  order: 2;
	}
	#jg-navbar-collapse-1 .w-100 .navbar-menu-2 {
	  order: 1;
	}
}
@media (max-width: 767px) {
	.navbar-menu-2 {
		padding-top: 20px;
	}
	.navbar-collapse {
		border-top: 0px solid transparent;
		box-shadow: inset 0 0px 0 rgba(255,255,255,0);
	}
	.navbar-light .navbar-collapse {
		background:transparent;
		/*background-color: rgba(0, 0, 0, .75);/**/
		background-color: rgba(255, 255, 255, .95);/**/
	}
	/* navbar fonts */
	.navbar-light .navbar-brand {
		color: rgba(0, 0, 0, 1);
	}
	.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus {
		color: rgba(0, 0, 0, 1);
	}
	.navbar-light .navbar-nav .nav-link {
		color: rgba(0, 0, 0, 1);
	}
.navbar-light .navbar-nav.navbar-menu-1 .nav-link {
	color: rgba(0, 0, 0, 0.75);
}
.navbar-light .navbar-nav.navbar-menu-1 .nav-link:hover,
.navbar-light .navbar-nav.navbar-menu-1 .nav-link:focus {
	color: rgba(0, 0, 0, 1);
}
	.navbar-light .navbar-nav.navbar-menu-1 > li > a > span {
		display: block;
		font-size: 1rem;
		font-weight:500;
		line-height: 0.9rem;
		color: rgba(0, 0, 0, 0.8);
	}
	.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
		color: rgba(0, 0, 0, 0.7);
	}
	.navbar-light .navbar-nav .nav-link.disabled {
		color: rgba(0, 0, 0, 0.3);
	}
	.navbar-light .navbar-nav .show > .nav-link,
	.navbar-light .navbar-nav .active > .nav-link,
	.navbar-light .navbar-nav .nav-link.show,
	.navbar-light .navbar-nav .nav-link.active {
		color: rgba(0, 0, 0, 0.9);
	}
	/* dropdown fonts */
	.navbar-light .navbar-nav .open .dropdown-menu > .dropdown-header {
		border-color: #ffffff;
	}
	.navbar-light .navbar-nav .open .dropdown-menu > li > a {
		color: #000000;
	}
	.navbar-light .navbar-nav .open .dropdown-menu > li > a:hover,
	.navbar-light .navbar-nav .open .dropdown-menu > li > a:focus {
		color: #080808;
		background-color: transparent;
	}
	.navbar-light .navbar-nav .open .dropdown-menu > .active > a,
	.navbar-light .navbar-nav .open .dropdown-menu > .active > a:hover,
	.navbar-light .navbar-nav .open .dropdown-menu > .active > a:focus {
		color: #ffffff;
	}
	.navbar-light .navbar-nav .open .dropdown-menu > .disabled > a,
	.navbar-light .navbar-nav .open .dropdown-menu > .disabled > a:hover,
	.navbar-light .navbar-nav .open .dropdown-menu > .disabled > a:focus {
		color: #444444;
		background-color: transparent;
	}
}

/* Dropdown menu */

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
}

/* Jumbotron
------------------------- */
.row {
	/*
	margin-right: -15px;
	margin-left: -15px;
	/**/
}
.row:before, .row:after {display: none !important;}/* ios fix */
.justify-content-center {
    -ms-flex-pack: center !important;
	-webkit-justify-content: center !important;
    justify-content: center !important;
}

.jumbotron {
	font-size: 18px;
	padding: 30px 0px;
	margin-bottom: 0;/*30px;/**/
	background-color: #eeeeee;
}
.jumbotron.image-background {
	color: #ffffff;
	min-height: 720px;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment:fixed;
    background-size: cover;
}
.jumbotron .container {
  padding-right: 0px;
  padding-left: 0px;
}
.jumbotron address h1 {
  padding-top: 0px;
  margin-top: 0px;
}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .jumbotron {
	padding: 48px 0px;
  }
  .jumbotron h1 {
    font-size: 45px;
    margin-top: 0;
  }
  .jumbotron {
	font-size: 21px;
  }
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .jumbotron h1 {
    font-size: 54px;
	margin-top: 0;/*48px;/**/
  }
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Pad the edges of the mobile views a bit */
.marketing {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
  padding-bottom: 15px;
}
.marketing-etusivu {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.container.marketing {
  /*color: #697176;/**/
  line-height: 1.6;
  font-size: 1.3em;
  font-weight: 400;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 90px;
  padding-bottom: 90px;
}
.container.marketing-etusivu {
  /*color: #697176;/**/
  line-height: 1.6;
  font-size: 1.3em;
  font-weight: 400;
}
.row-content {
	font-size: 1.2em;
	/*margin-bottom: 2em;/**/
}
.container.marketing .row-content {
	color: #303030;
	/*margin-bottom: 3em;/**/
}
.container.marketing-etusivu .row-content {
	color: #303030;
}
.container.marketing .row-content blockquote, 
.container.marketing-etusivu .row-content blockquote {
	/*color: #16738F;/**/
	color: #1fa4cc;/**/
	/*color: rgba(22,115,143,.6);/**/
	font-size: 1.8em;
	line-height: 1.2em;
	margin-top: 1em;
}
.container.marketing .row-content h1, 
.container.marketing-etusivu .row-content h1 {
	margin-bottom: 1em;
}

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  text-align: left;
  margin-bottom: 20px;
}
/*
h1{font-size: 36px;}
h2{font-size: 30px;}
h3{font-size: 24px;}
h4{font-size: 18px;}
h5{font-size: 14px;}
h6{font-size: 12px;}
/**/
.marketing h2 {
}
.marketing li {
	font-size: 0.9em;
}
.marketing .col-lg-4 p {
  margin-left: 10px;
  margin-right: 10px;
}

/* Extra extra small devices (mobile, 640px and down) */
@media (max-width: 640px) {
	.marketing h2 {
	}
	/*
	.jumbotron .container.marketing {
	  padding-right: 10px;
	  padding-left: 10px;
	}
	/**/
}
/* Extra small devices (mobile, 767px and down) */
@media (max-width: 767px) {
	.marketing h2 {
	}
	.jumbotron .container.marketing {
	  padding-right: 10px;
	  padding-left: 10px;
	}
	.marketing {
		font-size: 18px;
	}
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.marketing h2 {
	}
	.marketing {
		font-size: 16px;
	}
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.marketing h2 {
	}
	.marketing {
		font-size: 18px;
	}
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.marketing {
		font-size: 20px;
	}
}

/* Buttons */

a.btn {
	text-decoration: none;
}

.btn {
  border-width: 3px;
  border-radius: 2px;
}
.btn-primary {
  color: #ffffff;
  background-color: #428bca;
  border-color: #357ebd;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  color: #ffffff;
  background-color: #3276b1;
  border-color: #285e8e;
}
/* .btn-nextgolf */
.btn-nexgolf {
  color: #ffffff;
  background-color: #92b936;
  border-color: #92b936;
}
.btn-nexgolf:hover,
.btn-nexgolf:focus,
.btn-nexgolf:active,
.btn-nexgolf.active,
.open .dropdown-toggle.btn-nexgolf {
  color: #ffffff;
  background-color: #83a630;
  border-color: #83a630;
}
/* .btn-teetime */
.btn-teetime {
  color: #ffffff;
  background-color: #92b936;
  border-color: #92b936;
}
.btn-teetime:hover,
.btn-teetime:focus,
.btn-teetime:active,
.btn-teetime.active,
.open .dropdown-toggle.btn-teetime {
  color: #ffffff;
  background-color: #83a630;
  border-color: #83a630;
}
/* .btn-toptracer */
.btn-toptracer {
  color: #ffffff;
  background-color: #47a3d8;
  border-color: #47a3d8;
}
.btn-toptracer:hover,
.btn-toptracer:focus,
.btn-toptracer:active,
.btn-toptracer.active,
.open .dropdown-toggle.btn-toptracer {
  color: #ffffff;
  background-color: #094d8d;
  border-color: #094d8d;
}

/* Extra extra small devices (mobile, 640px and down) */
@media (max-width: 640px) {
	.btn, .btn-primary {
		margin-bottom: 15px;
	}
}

.btn-white {
	font-size: 1.1rem;
	color: #ffffff;
	border-color: #ffffff;
	border-width: 3px;
	padding: 0.375rem 1.5rem;
}
.btn-white b {
}
.btn-white:hover,
.btn-white:focus,
.btn-white:active,
.btn-white.active,
.open .dropdown-toggle.btn-white {
  color: rgb(23, 162, 184);
  background-color: #ffffff;/**/
}


/* card */

.album .card {
	background-color: transparent;
	border-width: 0;
	border-radius: 0;
	margin: 20px 0;
}

.card-title {
	color: #16738F;
}
.card h3 {
	font-size: 1.6rem;
}
.card, 
.card .card-text {
	font-size: 1rem;
}
.card b, 
.card .card-text b {
	font-size: 1.1rem;
}
.card-text.card-news {
	margin-bottom: 0.75em;
	line-height: 1.3em;
}

.album .card.card-ajanvaraus {
}
.album .card.card-kentta {
}
.album .card.card-ajankohtaista {
}
/* Extra small devices (mobile, 575px and down) */
@media (max-width: 575px) {
	.album .card.card-ajankohtaista,
	.album .card.card-ajankohtaista.text-left {
		text-align: center !important;
	}
}
/* Extra small devices (mobile, 767px and down) */
@media (min-width: 576px) and (max-width: 767px) {
	.album .container {
		max-width: 767px;
	}
	.album .card.card-kentta {
		border-left-width: 1px;
	}
	.album .card.card-ajankohtaista,
	.album .card.card-ajankohtaista.text-left {
		text-align: center !important;
	}
}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
	.album .container {
		max-width: 991px;
	}
	.album .card.card-kentta {
		border-left-width: 1px;
	}
	.album .card.card-ajankohtaista,
	.album .card.card-ajankohtaista.text-left {
		text-align: center !important;
	}
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
	.album .container {
		max-width: 1199px;
	}
	.album .card.card-kentta {
		border-right-width: 1px;
		border-left-width: 1px;
	}
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.album .container {
		max-width: 1200px;
	}
	.album .card.card-kentta {
		border-right-width: 1px;
		border-left-width: 1px;
	}
}

/* Embed media */
/* ------------------------- */

.embed-container {
	display: block;
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}
.embed-container iframe, 
.embed-container object, 
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Facebook feed
------------------------- */
.fb-page {
	margin: 15px auto;
}
.fb-page.col {
	padding: 0;
}

/* Instagram feed
------------------------- */
.instaimg {
	margin: 15px 0;
}
.instaimg img {
	width: 300px;
	height: 300px;
	object-fit: cover;
}
.instaimg img:hover {
	opacity: 0.8;
	-moz-opacity: 0.8;
	-webkit-opacity: 0.8;
}
@media (max-width: 575px) {
	#instafeed {
		text-align: center;
		padding-right: 15px;
		padding-left: 15px;
	}
	.instaimg img {
		width: 360px;
		height: 360px;
		object-fit: cover;
	}
}
@media (min-width: 575px) and (max-width: 639px) {
	#instafeed .col-xxs-12 {
		width: 50%;
	}
	.instaimg {
		margin: 15px 0;
	}
	.instaimg img {
		width: 280px;
		height: 280px;
		object-fit: cover;
	}
}
@media (min-width: 640px) and (max-width: 767px) {
	.instaimg {
		margin: 15px 0;
	}
	.instaimg img {
		width: 255px;
		height: 255px;
		object-fit: cover;
	}
}
@media (min-width: 1200px) {
	.instaimg {
		margin: 15px 0;
	}
	.instaimg img {
		width: 360px;
		height: 360px;
		object-fit: cover;
	}
}

/* Featurettes
------------------------- */

.marketing hr {
margin: 20px 0; /* Space out the Bootstrap <hr> more */
}
.featurette-heading, 
.featurette-heading-top {
}
.featurette {
	font-size: 16px;
	line-height: 1.3;
}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .marketing hr {
    margin: 20px 0; /* Space out the Bootstrap <hr> more */
  }
  .featurette-heading, 
  .featurette-heading-top {
    font-size: 2.5em;
  }
  .featurette {
    font-size: 17px;
  }
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .marketing hr {
    margin: 30px 0; /* Space out the Bootstrap <hr> more */
  }
  .featurette-heading {
    font-size: 2.8em;
    margin-top: 0;/*80px;/**/
  }
  .featurette-heading-top {
    font-size: 2.8em;
    margin-top: 0;/*30px;/**/
  }
  .featurette {
    font-size: 19px;
  }
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .marketing hr {
    margin: 45px 0; /* Space out the Bootstrap <hr> more */
  }
  .featurette-heading {
    font-size: 3em;/*50px;/**/
    margin-top: 0;/*120px;/**/
  }
  .featurette-heading-top {
    font-size: 3em;/*50px;/**/
    margin-top: 0;/*30px;/**/
  }
  .featurette {
    font-size: 21px;
  }
}

/* Footer
------------------------- */
#footer-logot {
  color: #ffffff;
  background-color: #A9AFB0;
  padding: 50px 0 50px 0;
  margin-top: 0;/* 30px; /**/
}
#footer-logot a {
  color: #ffffff;
}
#footer-logot a:hover,
#footer-logot a:focus {
  color: #333333;
  text-decoration: none;
}
/* Extra extra small devices (mobile, 640px and down) */
@media (max-width: 640px) {
	#footer-logot .logot-row-2 {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	#footer-logot .logot-row-2 img {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	#footer-logot .row img {
		padding-top: 15px;
		padding-bottom: 15px;
	}
}
#footer-logot .logot-row-2 img {
	padding-top: 10px;
	padding-bottom: 10px;
}

/* Footer
------------------------- */
#footer {
  background-color: #333333;
  color: #ffffff;
  padding: 50px 0 50px 0;
  margin-top: 0;/* 30px; /**/
}
#footer h3,
#footer h4,
#footer h5,
#footer h6 {
    margin-top: 0px;
    margin-bottom: 10px;
}
.text-up {
	font-size: 1.5rem;
}

#footer .nav-footer {
	margin-top: 20px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
#footer .nav-footer .nav-link img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#footer .nav li a h4 {
  padding: 0;
  margin: 0;
}
#footer .nav li {
	display: inline-block;
}
#footer .footer-logo {
}
#footer .nav a {
  color: #ffffff;
  background-color: none;
}
#footer .nav a:hover,
#footer .nav a:focus {
  color: #999;
  background-color: none;
}
#footer .nav > li > a {
	position: relative;
	padding: 5px 15px;
}
#footer .nav > li > a:hover,
#footer .nav > li > a:focus {
  background-color: #333;
}

#footer-copy {
  color: #999;
  background-color: #333333;
  padding-top: 10px;
}
#footer-copy a {
  color: #ffffff;
}
#footer-copy a:hover,
#footer-copy a:focus {
  color: #999;
  text-decoration: none;
}

/* Extra extra small devices (mobile, 640px and down) */
@media (max-width: 640px) {
	#footer .col-xxs-12 address {
		padding: 15px 15px;
	}
	#footer .footer-map {
		padding: 15px 15px;
	}
}

/* RESPONSIVE CSS
-------------------------------------------------- */

.col-xxs-1,
.col-xxs-2,
.col-xxs-3,
.col-xxs-4,
.col-xxs-5,
.col-xxs-6,
.col-xxs-7,
.col-xxs-8,
.col-xxs-9,
.col-xxs-10,
.col-xxs-11,
.col-xxs-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.visible-xxs {
  display: none !important;
}
tr.visible-xxs {
  display: none !important;
}
th.visible-xxs,
td.visible-xxs {
  display: none !important;
}

.hidden-xxs {
  display: block !important;
}
tr.hidden-xxs {
  display: table-row !important;
}
th.hidden-xxs,
td.hidden-xxs {
  display: table-cell !important;
}

/* Extra extra small devices (mobile, 640px and down) */
@media (max-width: 640px) {
	.col-xxs-1,
	.col-xxs-2,
	.col-xxs-3,
	.col-xxs-4,
	.col-xxs-5,
	.col-xxs-6,
	.col-xxs-7,
	.col-xxs-8,
	.col-xxs-9,
	.col-xxs-10,
	.col-xxs-11 {
	  float: left;
	}
	.col-xxs-1 {
	  width: 8.333333333333332%;
	}
	.col-xxs-2 {
	  width: 16.666666666666664%;
	}
	.col-xxs-3 {
	  width: 25%;
	}
	.col-xxs-4 {
	  width: 33.33333333333333%;
	}
	.col-xxs-5 {
	  width: 41.66666666666667%;
	}
	.col-xxs-6 {
	  width: 50%;
	}
	.col-xxs-7 {
	  width: 58.333333333333336%;
	}
	.col-xxs-8 {
	  width: 66.66666666666666%;
	}
	.col-xxs-9 {
	  width: 75%;
	}
	.col-xxs-10 {
	  width: 83.33333333333334%;
	}
	.col-xxs-11 {
	  width: 91.66666666666666%;
	}
	.col-xxs-12 {
	  width: 100%;
	}

	.visible-xxs {
		display: block !important;
	}
	tr.visible-xxs {
		display: table-row !important;
	}
	th.visible-xxs,
	td.visible-xxs {
		display: table-cell !important;
	}

	.hidden-xxs {
		display: none !important;
	}
	tr.hidden-xxs {
		display: none !important;
	}
	th.hidden-xxs,
	td.hidden-xxs {
		display: none !important;
	}
}

@media (min-width: 641px) AND (max-width: 767px) {
	.col-xs-1,
	.col-xs-2,
	.col-xs-3,
	.col-xs-4,
	.col-xs-5,
	.col-xs-6,
	.col-xs-7,
	.col-xs-8,
	.col-xs-9,
	.col-xs-10,
	.col-xs-11 {
	  float: left;
	}
	.col-xs-1 {
	  width: 8.333333333333332%;
	}
	.col-xs-2 {
	  width: 16.666666666666664%;
	}
	.col-xs-3 {
	  width: 25%;
	}
	.col-xs-4 {
	  width: 33.33333333333333%;
	}
	.col-xs-5 {
	  width: 41.66666666666667%;
	}
	.col-xs-6 {
	  width: 50%;
	}
	.col-xs-7 {
	  width: 58.333333333333336%;
	}
	.col-xs-8 {
	  width: 66.66666666666666%;
	}
	.col-xs-9 {
	  width: 75%;
	}
	.col-xs-10 {
	  width: 83.33333333333334%;
	}
	.col-xs-11 {
	  width: 91.66666666666666%;
	}
	.col-xs-12 {
	  width: 100%;
	}
}

@media (min-width: 768px) {


}

@media (min-width: 768px) and (max-width: 991px) {
}

@media (max-width: 992px) {
}
