body {
  font-family: "Roboto Slab";
  background-color: #fff;

  background-image: url("/wp-content/themes/twentythirteen/images/FGR_background.webp");

  background-attachment: fixed;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;

  /* background click */
  /*	z-index: -2; */

  @media only screen and (min-width: 1920px) {
    background-size: cover;
  }

  /* background click */
}

.wrapper {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 9px;
  background-color: #fff;
}

header {
  height: 170px;
  background: #43b3fc; /* Old browsers */
  background: -moz-linear-gradient(top, #43b3fc 0%, #ffffff 100%); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #43b3fc),
    color-stop(100%, #ffffff)
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #43b3fc 0%,
    #ffffff 100%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #43b3fc 0%,
    #ffffff 100%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #43b3fc 0%, #ffffff 100%); /* IE10+ */
  background: linear-gradient(to bottom, #43b3fc 0%, #ffffff 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#43b3fc', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

footer {
  margin-top: 60px;
  background: #0083d7; /* Old browsers */
  background: -moz-linear-gradient(top, #6ec6ff 0%, #43b3fc 100%); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #6ec6ff),
    color-stop(100%, #43b3fc)
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #6ec6ff 0%,
    #43b3fc 100%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #6ec6ff 0%,
    #43b3fc 100%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #6ec6ff 0%, #43b3fc 100%); /* IE10+ */
  background: linear-gradient(to bottom, #6ec6ff 0%, #43b3fc 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6ec6ff', endColorstr='#43b3fc',GradientType=0 ); /* IE6-9 */
}

.wp-caption {
  max-width: 100% !important;
}

.copyright {
  color: #c5e7fe;
  padding: 10px;
  text-align: right;
}

a {
  color: #00aeef;
}
.logo {
  padding-top: 10px;
  padding-left: 15px;
}

.menu-paavalikko-container {
  padding: 0 0 0 0px;
}

.navi ul {
  margin: 0px;
  list-style: none;
  list-style-type: none;
}

.navi ul li {
  list-style: none;
  float: left;
  background-color: #0083d7;
  height: 50px;
  list-style-type: none;
  width: 20%;
  line-height: 50px;
  text-align: center;
  border-right: 1px solid #4fb8fc;
  position: relative;
  z-index: 100;
}

.menu-last-item {
  border-right: 0px !important;
}

.navi ul ul {
  height: 0;
  left: 0;
  position: absolute;
  top: 51px;
  visibility: hidden;
  width: 149px;
  background-color: #6ec6ff;
  transition-property: all;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
* html .navi ul ul {
  top: 51px;
}
/*@media only screen and (max-width: 1023px) {*/
@media only screen and (max-width: 767px) {
  .navi ul li:hover ul,
  .navi ul a:hover ul {
    visibility: hidden;
  }
  .navi ul *:hover ul *:hover ul {
    visibility: hidden;
  }
  .sub-menu {
    display: none;
  }
  .logged-in-info.show-for-medium-up {
    display: none !important;
  }
  .logged-in-info.show-for-medium-down {
    position: initial;
    margin-left: 15px;
    margin-bottom: 20px;
  }
}

.navi ul li:hover ul,
.navi ul a:hover ul {
  visibility: visible;
}
.navi ul *:hover ul ul {
  visibility: hidden;
}
.navi ul *:hover ul *:hover ul {
  visibility: visible;
}
.navi ul ul li {
  display: block;
  float: none;
  width: 207px;
  border-bottom: 1px solid #ceebfe;
  background-color: #6ec6ff;
  height: auto;
  line-height: 1.2em;
  transition-property: all;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
  font-size: 0.9em;
}
.navi ul ul li:hover {
  background-color: #4db7fc;
}
.navi ul ul li a {
  padding: 10px 10px;
}

.navi ul li:last-child {
  border-right: 0px;
}

.navi ul li a {
  display: block;
  width: 100%;
  height: 100%;
}
.dgsContainer {
  padding-left: 0;
  padding-right: 0;
}
@media only screen and (max-width: 1023px) {
  .navi ul li {
    width: 20%;
  }

  .logged-in .navi ul ul li,
  .navi .navi ul ul li {
    width: 207px;
  }

  .sidebar_box {
    margin-left: 15px !important;
    margin-right: 15px !important;
  }
  .sidebar_dgs.sidebar_box,
  .show-for-small-only .sidebar_ratings {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .localWeather,
  .dgsContainer {
    padding-left: 0.9375rem !important;
    padding-right: 0.9375rem !important;
  }
  .sidebar_wishplays .sidebar_played,
  .sidebar_wishplays .sidebar_wishlist {
    text-align: center;
  }
  .sidebar_wishplays .sidebar_wishlist {
    margin-top: 10px;
  }
  .favoriteRow {
    text-align: center;
  }
}

.parkdly-ad {
  display: block;
  margin: 1rem 0;
  padding: 0.5rem;
}

.parkdly-ad img {
  max-width: 100%;
  height: auto;
  display: block;
}

.top-course-info {
  margin-bottom: 20px;
}

.top-course-info .sidebar-title {
  margin-bottom: 15px;
}

.top-course-info .top-course-title-link {
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
}

.top-course-info .top-course-icon {
  margin-right: 8px;
  width: 20px;
}

.top-course-info .top-course-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.top-course-info .top-course-bullets li {
  margin-bottom: 10px;
  line-height: 1.5;
  position: relative;
  padding-left: 20px;
  font-size: 0.9em;
}

.top-course-info .read-more {
  display: inline-block;
  margin-top: 10px;
  text-decoration: underline;
  color: #007bff; /* or any color that fits your design */
  font-size: 0.9em;
}

.top-course-info .top-course-bullets li:before {
  content: "✓";
  color: #4caf50; /* Green checkmark color */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}

.top-course-cover-photo {
  height: 200px; /* Adjust as needed */
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 10px;
  overflow: hidden; /* Ensures that the logo doesn't spill outside the cover photo */
}

.overlay-logo {
  height: 100%;
  position: relative;
}
.overlay-logo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mobinavi {
  display: none;
  padding: 0;
}

.opennavi {
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 3px 3px 3px 3px;
  padding: 5px;
  text-align: center;
  display: inline-block;
  margin-top: 1em;
  margin-top: 10px;
}

.opennavi:hover {
  color: #008cba;
  border-color: #008cba;
}

.badge {
  width: 115px;
}
@media only screen and (max-width: 767px) {
  .navi {
    display: none;
  }

  .mobinavi {
    display: block;
  }

  .navi ul li,
  .logged-in .navi ul li {
    position: inherit;
    width: 100%;
    margin: 0;
    border-right: 0px;
    border-bottom: 1px solid #4fb8fc;
  }

  .navi ul li:last-child {
    border-bottom: 0px;
  }
  .popout_login {
    display: block;
    position: static;
    z-index: 999;
  }
}

.navi ul li a {
  color: #ffffff;
}

.no-padding {
  padding: 0px;
}

.align-right {
  text-align: right;
}

.slogan {
  color: #ffffff;
  display: block;
  font-size: 1.2em;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 130, 214, 0.3);
}

.logged-in-info.show-for-large-up {
  position: absolute;
  top: 103px;
  left: 20px;
  z-index: 10;
}

@media (max-width: 767px) {
  .logged-in-info.show-for-large-up {
    position: absolute;
    top: 10px;
    right: 10px;
    left: none;
  }
}

.facebook_link,
.twitter_link,
.instagram_link,
.youtube_link {
  width: 29px;
  height: 29px;
  display: inline-block;
  background-image: url("images/social_icons.png");
  background-repeat: no-repeat;
}

.facebook_link {
  background-position: 0px 0px;
}

.facebook_link:hover {
  background-position: 0px -78px;
}

.twitter_link {
  background-position: 0px -312px;
}

.twitter_link:hover {
  background-position: 0px -390px;
}

.instagram_link {
  background-position: 0px -156px;
}

.instagram_link:hover {
  background-position: 0px -234px;
}

.youtube_link {
  background-position: 0px -468px;
}

.youtube_link:hover {
  background-position: 0px -546px;
}

.fgr-avatar-navi {
  position: absolute;
  top: 70px;
  right: 20px;
  text-align: right;
  color: #00aeef;
}
.navi ul ul.profile-sub-menu {
  right: 57px;
  left: auto;
}
@media only screen and (min-width: 960px) {
  .frisbee-bg1 {
    background: url(images/frisbee1.png) no-repeat;
    width: 102px;
    height: 50px;
    left: 60px;
    top: 47px;
    position: absolute;
  }
  .frisbee-bg2 {
    background: url(images/frisbee2.png) no-repeat;
    width: 102px;
    height: 50px;
    right: 100px;
    top: 72px;
    position: absolute;
  }
}
.realSearchArea {
  margin-left: 160px;
  text-align: left;
}

@media only screen and (max-width: 1023px) {
  .slogan {
    display: none;
  }
  .realSearchArea {
    margin-left: 0;
  }
  .logged-in-info {
    top: 15px;
    right: 15px;
    left: initial;
    position: absolute;
  }
}

@media only screen and (max-width: 767px) {
  .logged-in-info {
    position: static;
  }
}

.search_dropdowns {
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px;
}

@media only screen and (max-width: 1023px) {
  .search_dropdowns {
    margin-top: 15px;
  }
}

.search_dropdowns select,
.search_dropdowns input {
  width: auto;
  text-align: left;
  font-size: 0.7em;
  padding-right: 10px;
  display: inline-block;
  height: 32px;
  float: left;
  margin-right: 5px;
}
.search_dropdowns select {
  height: 33px;
}
.search_dropdowns input {
  height: 33px !important;
  padding: 8px;
}
.search_dropdowns .selectRata {
  max-width: 120px;
}

.search_dropdowns select {
  max-width: 150px;
}

@media only screen and (max-width: 1023px) {
  .search_dropdowns select {
    max-width: none;
    display: inline;
  }
  .search_dropdowns {
    text-align: left;
  }
}
@media only screen and (max-width: 480px) {
  .tab_wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  table.listing {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  table.seura-listing th.seura-nimi,
  table.listing th.rataCol,
  table.listing td.rataCol {
    width: 100px !important;
    max-width: 100px !important;
  }
  table.listing th.paikkaCol,
  table.listing td.paikkaCol {
    width: 80px !important;
    max-width: 80px !important;
  }
  table.seura-listing th.seura-city {
    width: 90px !important;
    max-width: 90px !important;
  }
  table.seura-listing th,
  table.listing th {
    font-weight: normal;
  }
  table.seura-listing th {
    font-size: 0.7em !important;
  }

  table.seura-listing td,
  table.listing td {
    font-size: 0.6em !important;
  }

  .sidebar-etusivu {
    padding-left: 0 !important;
  }

  .search_dropdowns select {
    width: 100%;
    max-width: none;
    display: block;
  }
  input.search {
    display: inline;
    width: auto;
  }
  .search_dropdowns {
    text-align: left;
  }
}
.search_dropdowns input.search_term {
  display: inline-block;
  width: 150px;
}

input.search {
  height: 2rem;
  background-color: #0083d7;
  border: 0px;
  color: #ffffff;
  padding-left: 10px;
  font-family: "Roboto Slab", "Helvetica Neue", "Helvetica", Helvetica, Arial,
    sans-serif;
}

.popout_login {
  float: right;
  padding: 10px;
  background-color: #6ec6ff;
  width: 250px;
  line-height: 2.7em;
  display: none;
}

.login-form form {
  margin-bottom: 0;
}

.login-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.login-form .login-form-fb {
  position: relative;
  height: 46px;
  background: #3b5998;
  line-height: 46px;
  cursor: pointer;
}

.login-form .login-form-fb img {
  height: 31px;
  top: 8px;
  left: 15px;
  position: absolute;
}

.login-form .login-form-fb span {
  margin-left: 15px;
  color: #fff;
  text-shadow: 0px 2px 2px rgba(51, 51, 51, 0.75);
}

.login-form .login-form-fb h2 {
  color: #000;
  font-size: 1.125em;
  margin-bottom: 20px;
  line-height: 1.55em;
  margin-bottom: 10px;
}

.login-form .login-form-or {
  position: relative;
  text-align: center;
  height: 46px;
}

.login-form .login-form-divider {
  width: 100%;
  height: 1px;
  position: absolute;
  top: 23px;
  background: #fff;
  z-index: 1;
}

.login-form .login-form-or span.or-label {
  position: relative;
  background: #6ec6ff;
  padding: 0 10px;
  z-index: 100;
}

.login-form input {
  text-align: center;
}

.login-form input[type="text"] {
  margin: 0;
}

.login-form input[type="password"] {
  margin: 10px 0 0;
}

.login-form .login-form-remember {
  height: 30px;
  line-height: 30px;
  margin-top: 10px;
}

.login-form .login-form-btn {
  height: 46px;
  line-height: 46px;
  text-align: center;
  margin-top: 10px;
}

.login-form .login-form-btn input {
  background: #09aef0;
  height: 46px;
  line-height: 46px;
  font-family: "Roboto Slab";
  font-size: 1em;
  border: none;
  color: #fff;
  width: 100%;
  cursor: pointer;
}

.login-form .login-form-btn a {
  background: transparent;
}

.login-form .login-form-btn a:hover {
  background: #09aef0;
}

.popout_login ​a {
  line-height: 1em !important;
}

.error {
  color: red;
}
input[type="checkbox"] {
  width: auto;
  display: inline-block;
}

.newspiece {
  margin-top: 20px;
  clear: both;
  margin-bottom: 10px;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
}

.flex-item {
  flex: 1 0 50%;
  box-sizing: border-box;
  align-self: start;
}

.fgm-header-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.seuraBlogit .newspiece,
.rataBlogit .newspiece,
.hatGuy .newspiece,
.fgrNews .newspiece {
  padding-left: 0;
  padding-right: 0;
}

.newspiece.featured {
  clear: none;
}

.newspiece h2 {
  font-size: 1.4em;
  font-family: "Roboto Slab";
  color: #339cdf;
  margin-top: 3px;
  word-wrap: break-word;
}

.newspiece .author,
.newspiece .date {
  font-size: 0.8em;
  font-family: "Roboto Slab";
}

.newspiece .author {
  font-weight: bold;
  color: #828282;
  display: inline-block;
  margin-right: 7px;
}

.newspiece .date {
  color: #828282;
  display: inline-block;
  margin-left: 7px;
}

.newspiece p {
  font-family: "Roboto Slab";
  font-size: 0.9em;
  word-wrap: break-word;
}

.newspiece img {
  width: 100%;
}

.first-news h2 {
  font-size: 1.6em; /* adjust as needed */
}

.first-news img {
  width: 100%; /* adjust as needed */
}

.first-news p {
  font-size: 1em; /* adjust as needed */
}

.smallernews {
  background: #cceafe; /* Old browsers */
  background: -moz-linear-gradient(top, #cceafe 0%, #ffffff 35%); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #cceafe),
    color-stop(25%, #ffffff)
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #cceafe 0%,
    #ffffff 35%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #cceafe 0%,
    #ffffff 35%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #cceafe 0%, #ffffff 35%); /* IE10+ */
  background: linear-gradient(to bottom, #cceafe 0%, #ffffff 35%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cceafe', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

.smallernews h2 {
  margin-top: 10px;
  word-wrap: break-word;
}

.fgr_background {
  background-image: url("images/background_fgr.png"),
    linear-gradient(to bottom, #cceafe 0%, #ffffff 35%);
  background-position: top right, top right;
  background-repeat: no-repeat;
}

.news_background {
  background-image: url("images/background_news.png"),
    linear-gradient(to bottom, #cceafe 0%, #ffffff 35%);
  background-position: top right, top right;
  background-repeat: no-repeat;
}

.frisbeegolfmedia_background {
  background-image: linear-gradient(to bottom, #f0f0f0 0%, #ffffff 35%);
  background-position: top right, top right;
  background-repeat: no-repeat;
}

.course-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 468px) {
  .course-heading {
    flex-direction: column;
    align-items: start;
  }
}

.course-heading-title {
  display: flex;
  flex-direction: column;
}

.course-heading h1 {
  margin: 0px;
  margin-top: -5px;
}

.read_ratings {
  font-size: 0.8em;
}

.smallernews h1 {
  font-size: 1.6em;
  font-family: "Roboto Slab";
  color: #2a2f33;
}

.map-icon-image {
  width: auto; /* Adjust the width as needed */
  height: 20px !important; /* This will maintain the aspect ratio of the image */
}

table.listing {
  margin: 1em;
  margin-top: 0px;
  border-collapse: collapse;
  z-index: 30;
}

table.listing th {
  text-align: left;
}

table.listing tbody tr:nth-child(even) {
  background-color: #ffffff;
}

table.listing tbody tr:nth-child(odd) {
  background-color: #cceafe;
}

table.listing td {
  font-size: 0.8rem;
}

table.listing td img {
  width: 100%;
}

table.listing td:nth-child(1) {
  width: 3%;
}

table.listing td:nth-child(2) {
  width: 7%;
}
table.tapahtuma-listing td:nth-child(2) {
  width: 50%;
}

table.listing td:nth-child(3) {
  display: flex;
  gap: 10px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
table.tapahtuma-listing td:nth-child(3) {
  width: 25%;
}

table.listing td:nth-child(4) {
  width: 15%;
}

table.listing td:nth-child(5) {
  width: 10%;
}

.jasen-content {
  padding-right: 10px;
}

.jasen-listing {
  width: 100%;
  margin-right: 10px;
}

div.tab_wrapper {
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

ul.tabs {
  width: 100%;
  padding: 0px;
  margin: 0px;
  margin-left: 1px;
}

li.tab {
  float: left;
  margin: 0px;
  box-sizing: border-box;
  list-style-type: none;
}

.course-tags {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.rating {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (max-width: 428px) {
  table.listing td:nth-child(3) {
    width: 100%;
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 600px) {
  li.tab {
    width: 50%;
  }
  table.listing td:nth-child(1),
  table.listing th:nth-child(1) {
    display: none;
  }
  table.listing td,
  table.listing th {
    font-size: 0.7em;
    padding: 2px;
  }
  .tabs-vaylat li.tab {
    width: auto;
  }

  .search_dropdowns .selectCity,
  .search_dropdowns .selectRata {
    width: 100%;
    max-width: 100%;
  }
}

li.tab a {
  display: block;
  padding: 0.1em 0.5em;
  border-left: 1px solid #c0c0c0;
  border-top: 2px solid #c0c0c0;
  border-right: 1px solid #c0c0c0;
  margin-left: -1px;
}

li.tab:last-child a {
  border-right: 1px solid #c0c0c0;
}

li.tab a:hover,
li.tab a.active,
li.tab.active a {
  border-bottom: 1px solid #ffffff;
  border-top: 2px solid #0083d7;
  margin-bottom: -1px;
}

h1 {
  font-family: "Roboto Slab";
  font-size: 1.6em;
  margin: 0px;
  color: #4c4c4c;
  margin: 0 0px 15px 0;
}

h2 {
  font-family: "Roboto Slab";
  font-size: 1.25em;
  color: #4c4c4c;
  margin-top: 25px;
  line-height: 1.2em;
}

h3 {
  font-family: "Roboto Slab";
  font-size: 1.1em;
  color: #4c4c4c;
  margin-top: 18px;
}

p {
  color: #4c4c4c;
  font-family: "Roboto Slab";
  font-size: 0.9em;
}
table tbody tr td,
p,
li {
  line-height: 1.6em;
  color: #4c4c4c;
}

.rating_image {
  float: left;
  margin-right: 5px;
  width: auto;
  max-height: 35px;
}

.description {
  display: none;
}

.editfield .description {
  display: block;
}

.date {
  color: #4ca8e3;
  font-size: 1.2em;
}

ul.course_info {
  margin: 0px;
}

ul.course_info li {
  list-style-type: none;
  background-color: #c6e8fe;
  margin: 0px;
  margin-top: 2px;
  padding: 8px;
  color: #4c4c4c;
  font-family: "Roboto Slab";
  font-size: 0.8em;
}

.group {
  clear: both;
  zoom: 1;
  overflow: auto;
  display: block;
  margin-top: 2px;
}

.blue.group {
  background-color: #c6e8fe;
}

.group:before,
.group:after {
  content: "";
  display: table;
}

ul.course_info li.course_info_left {
  float: left;
  width: 60%;
}

ul.course_info li.course_info_right {
  float: left;
  width: 40%;
}

ul.course_info p {
  margin: 0px;
}

div.layout_tab {
  border: 1px solid #c0c0c0;
  padding: 5px;
  box-sizing: border-box;
  display: none;
}

div.layout_tab.active {
  display: block;
}

.layout-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.layout-desc {
  margin-top: 10px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sidebar-widget ul {
  padding: 0px;
  margin: 0px;
}

.sidebar-widget ul li {
  list-style-type: none;
  margin: 3px;
}

.sidebar-widget ul a {
  display: block;
  width: 100%;
  background-color: #d1e8f8;
  border: none;
  color: #5b5b5b;
  font-size: 0.85em;
  padding: 3px 5px;
}

.sidebar-widget ul a:hover {
  background-color: #ffffff;
  color: #0083d7;
}

.sidebar_box {
  border: 1px solid #8c8c8c;
  margin-bottom: 4px;
}

.sidebar_map {
  background: #fff url("images/print_map.png") no-repeat center left;
  min-height: 25px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 60px;
  margin-right: 2px;
  position: relative;
}

.sidebar_sc {
  background: #fff url("images/print_scorecard.png") no-repeat center left;
  min-height: 25px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 60px;
  margin-left: 2px;
}

.sidebar_dgs {
  background: #fff url("images/DiscGolfMetrix_logo_77x46.png") no-repeat 10px
    50%;
  min-height: 50px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 100px;
  font-size: 0.9em;
  width: 100%;
}
.sidebar_wishlist {
  padding-left: 10px;
}
.sidebar_played {
  padding-right: 10px;
  text-align: right;
}

.sidebar_wishlist .user_vote {
  background: #fff url("img/haluanpelata.png") no-repeat center left;
  padding-left: 25px;
  margin-left: -10px;
}

.sidebar_played .user_vote {
  background: #fff url("img/merkitsepelatuksi.png") no-repeat center left;
  padding-left: 25px;
}

.sidebar_wishplays {
  padding: 10px 10px;
  font-size: 0.85em;
}
.loglog {
  font-size: 0.82em;
}
.sidebar_favorite {
  min-height: 25px;
  padding-top: 10px;
  padding-bottom: 10px;

  position: relative;
}
.sidebar_favorite .vote_counter {
  background: #fff url("images/like.png") no-repeat center right;
  font-size: 1.3em;
  color: #737373;
  display: inline-block;
  padding-left: 10px;
  padding-right: 45px;
  margin-right: 5px;
  min-height: 35px;
  text-align: center;
  display: inline-block;
  min-width: 100px;
}

.multiple_maps {
  display: none;
  position: absolute;
  z-index: 10;
  background-color: #ffffff;
  border: 1px solid #8c8c8c;
  padding: 10px;
}

.multiple_cards {
  display: none;
  position: absolute;
  z-index: 10;
  background-color: #ffffff;
  border: 1px solid #8c8c8c;
  padding: 10px;
}

.comment-respond h3 {
  font-size: 1.3em;
}

textarea#comment {
  height: 8em;
}

.fairway {
  display: flex;
  margin-top: 1em;
  flex-direction: row;
}

@media (max-width: 468px) {
  .fairway {
    flex-direction: column;
  }
}

.fairway_image {
  float: left;
  padding-right: 1em;
  width: min-content;
}

.fairway_image img {
  min-width: 150px;
}

.fairway_desc {
  float: left;
  padding-right: 1em;
}

.sidebar_social_link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: small;
}

.sidebar_social_links {
  padding: 10px;
  margin-bottom: 4px;
}

.sidebar_social_icon {
  width: 18px;
}

.sidebar_travel_info {
  padding: 10px;
  text-align: center;
}

.sidebar_travel_info h2 {
  margin-top: 0px;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sidebar_travel_info p {
  margin-bottom: 0px;
}

.partners_box {
  border: 1px solid #8c8c8c;
  margin-bottom: 4px;
  margin-top: 4px;
}

.sidebar_ratings {
  padding: 25px 15px 0px;
  margin-bottom: 4px;
  text-align: center;
}
.sidebar_ratings strong {
  color: #737373;
  font-size: 1.6em;
  padding: 0 10px;
}
.rata-comment-link {
  margin-top: 10px;
}

.post-ratings img {
  margin-left: 8px !important;
  width: 24px;
  margin-bottom: 10px;
}

.rata-comment-link a {
  padding: 0 5px;
}
.sidebar-link {
  background: url("images/h2_bg_suosituimmat.png") no-repeat;
  height: 30px;
  padding-left: 60px;
  padding-top: 5px;
}
.ratamestari-link {
  margin-top: 20px;
  height: 46px;
  background: url("img/icon_haetaan_ratamestaria.png") no-repeat;
}
.luokitukset-link {
  margin-top: 20px;
  height: 32px;
  background: url("img/icon_rataluokitukset.png") no-repeat;
}

/* COMMENTS */
footer.comment-meta {
  background: none;
  margin-top: 0;
  min-height: 0;
}
.comment-author {
  border: none !important;
  display: inline;
}
.comment-author img {
  float: left;
  margin-right: 20px;
}
.comment-body {
  padding-bottom: 20px;
  padding-top: 15px;
  display: flex;
  flex-direction: column;
}
.says {
  display: none;
}
.comment-respond {
  border-top: 15px solid #ffffff;
  clear: left;
  padding: 0 20px 20px;
}
.comments-area {
  background-color: #ebf4fb;
  margin-top: 40px;
}
.comments-title {
  padding: 10px 20px;
  background-color: #c6e8fe;
}
.comment-list {
  padding: 5px 0px;
}
.comment {
  padding-top: 10px;
}
.depth-2 {
  margin-top: -10px;
  margin-left: 24px;
}
.comment-content {
  margin-right: 10px;
  margin-top: 10px;
  word-wrap: break-word;
}
.comment-metadata {
  bottom: 0;
  left: 110px;
  font-size: 0.8em;
}
.comment-metadata a {
  color: #999;
}
.reply {
  bottom: 0;
  right: 20px;
}

.vcard {
  padding: 0px;
}

/* INFOPAGES */
.alignright {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
}
.alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}
.infopage-content table {
  border: none;
}

/* SEURAT */
.seura-content {
  padding: 0 20px 0 0;
  margin-top: 20px;
  margin-left: 10px;
}
.seura-content h1 {
  margin: 0 0 15px 10px;
}
.seura-blogit p {
  line-height: 1.3em;
}
.seura-blogit p a {
  color: #4c4c4c;
}
.seura-blogit p a:hover {
  color: #008cba;
}
.seura-blogit h3 {
  margin-bottom: 0;
}
.seura-blogit h2 {
  margin-top: 15px;
}
.sfl-logo {
  background: url(images/liitto_logo.png) no-repeat center center;
  min-width: 26px;
  min-height: 26px;
}
.seura-nimi {
  width: 50%;
}
.seura-city {
  width: 30%;
}
.seura-sfl {
  width: 20%;
}
table.seura-listing {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

table.seura-listing tbody tr:nth-child(2n) {
  background-color: #cceafe;
}

.club-header {
  margin-bottom: 20px;
}
.seura-sidebar {
  line-height: 26px;
}

/* FOOTER */
.footer-items {
  padding: 20px;
}
.footer-items ul {
  margin: 0;
}
.footer-items li {
  list-style-type: none;
}
.footer-items li a {
  color: white;
}

/* GOOGLE MAPS */
#gmaps h4 {
  font-size: 14px;
  line-height: 20px;
}
#gmaps img {
  max-width: inherit;
}

.link-to-map {
  padding-top: 30px;
}

/* SITEMAP */
.sivukartta li {
  list-style-type: none;
  margin-left: 20px;
}
.form-fieldset input {
  max-width: 300px;
}
.form-fieldset textarea {
  max-width: 500px;
  height: 150px;
}
.form-fieldset h3 {
  font-size: 1em;
  margin-bottom: 5px;
}
.form-fieldset .lat,
.form-fieldset .long {
  display: inline-block;
  margin-left: 5px;
  margin-right: 10px;
  vertical-align: middle;
  width: 130px;
}
.form-fieldset select {
  height: auto;
  width: 200px;
}
.form-fieldset p {
  clear: left;
}
.wpcf7-number {
  width: 60px;
}
.form-radan-nimi {
  display: none;
}
.form-hidden-fieldset {
  display: none;
}
.form-submit input,
.submit input {
  background-color: #0083d7;
  border: 0 none;
  color: #ffffff;
  /* height: 2rem; */
}

/* SIDEBAR */
.sidebar-etusivu {
  padding-left: 20px;
}
.sidebar-fgr h2 {
  color: #00aeef;
  font-size: 1.25em;
}

.sidebar-profile-link {
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.sidebar-profile-link:before,
.sidebar-profile-link:after {
  content: " ";
  position: absolute;
  bottom: 47px;
  width: 0;
  height: 0;
  border: 15px solid;
  z-index: 1;
}

.sidebar-profile-link:before {
  border-color: transparent #405278 transparent transparent;
  left: -15px;
}

.sidebar-profile-link:after {
  border-color: transparent transparent transparent #405278;
  right: -15px;
}

.profile-link-top-wrap {
  padding: 0 15px;
  z-index: 10;
}

.profile-link-top-content {
  margin-top: 10px;
  padding: 8px 0;
  background: #d1e8f8;
  border-bottom: 0px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.sidebar-profile-link:hover .profile-link-top-content {
  margin-top: 0;
  padding-bottom: 18px;
}

.profile-link-top-content h3 {
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 5px;
  padding-top: 0;
}

.profile-link-top-content p {
  margin-bottom: 0;
  padding-bottom: 0;
}

.profile-link-button,
.profile-link-button:hover,
.profile-link-button:focus,
.profile-link-button:active,
.profile-link-button:visited {
  color: #fff;
}

.profile-link-button-wrap {
  background: #3b5998;
  line-height: 60px;
  position: relative;
  z-index: 10;
  -webkit-box-shadow: 0px -5px 10px 0px rgba(55, 55, 55, 0.4);
  -moz-box-shadow: 0px -5px 10px 0px rgba(55, 55, 55, 0.4);
  box-shadow: 0px -5px 10px 0px rgba(55, 55, 55, 0.4);
}

.profile-link-button img {
  height: 52px;
  top: 5px;
  left: 30px;
  position: absolute;
}

.profile-link-button span {
  vertical-align: middle;
  margin-left: 30px;
  text-shadow: 0px 2px 2px rgba(51, 51, 51, 0.75);
}

.profile-link-button h2 {
  color: #000;
  font-size: 1.125em;
  margin-bottom: 20px;
  line-height: 1.55em;
  margin-bottom: 10px;
}

a.profile-link-btn {
  color: white;
  background-color: #ff6000;
  padding: 14px 20px;
  font-size: 0.875em;
  display: inline-block;
  transition-property: all;
  transition-duration: 0.5s;
}
a.profile-link-btn:hover {
  background-color: #d95200;
}
a.profile-link-btn:active {
  padding: 15px 19px 13px 21px;
}

.sidebar-suosituimmat h2,
.sidebar-uusimmat h2,
.sidebar-courses h2,
.sidebar-listing h2,
.sidebar-map-link h2,
.seura-blogit h2 {
  font-size: 1.25em;
  text-align: left;
}

.sidebar-uusimmat h2 {
  background: url(images/h2_bg_uusimmat.png) no-repeat;
  padding-left: 60px;
  padding-top: 5px;
  height: 48px;
  color: #00aeef;
  margin-bottom: 10px;
}
.sidebar-uusimmat,
.sidebar-courses {
  margin-bottom: 25px;
}
.sidebar-uusimmat li,
.sidebar-courses li {
  padding-left: 65px;
  list-style-type: none;
  margin-bottom: 3px;
}

.sidebar-suosituimmat h2 {
  background: url(images/icon_parhaat_radat.png) no-repeat;
  padding-left: 60px;
  padding-top: 5px;
  height: 48px;
}

.sidebar-listing li a {
  font-size: 0.875em;
  color: #5d6870;
  background-color: #d1e8f8;
  display: block;
  padding: 8px 2px 8px 5px;
  margin-left: 3px;
}
.sidebar-listing li a:hover {
  background-color: #bddcef;
  color: #222;
}
.sidebar-listing ul {
  margin: 0;
}

.sidebar-tapahtumat {
  margin-bottom: 20px;
}
.sidebar-tapahtumat li {
  list-style-type: none;
  font-size: 0.875em;
  line-height: 1.4em;
}
.sidebar-tapahtumat p {
  font-weight: normal;
  font-size: 0.9em;
  padding: 0;
  margin-bottom: 10px;
  color: #999;
}
.sidebar-tapahtumat li a {
  background: none;
  display: inline;
  padding: 0;
  margin-left: 3px;
  font-size: 1em;
  color: #00aeef;
}
.sidebar-tapahtumat li a:hover {
  background: none;
}
.sidebar-tapahtumat p a {
  color: #999;
}

.sidebar-suosituimmat li,
.sidebar-aktiivisimmat li {
  list-style-type: none;
  margin-bottom: 3px;
  clear: left;
}
.sidebar-suosituimmat strong,
.sidebar-aktiivisimmat strong {
  font-size: 1.5em;
  width: 50px;
  float: left;
  display: inline-block;
  padding-top: 5px;
  color: #737373;
}
.sidebar-suosituimmat li a,
.sidebar-aktiivisimmat li a {
  margin-left: 50px;
}

.sidebar-top-course ul {
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.sidebar-top-course li {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.sidebar-top-course li:last-child {
  border-bottom: none;
}

.sidebar-top-course a {
  text-decoration: none;
}

.sidebar-top-course .post-tag {
  font-size: 0.8em;
  color: #333;
}

.sidebar-top-course h2 {
  background: url(images/h2_bg_top_courses.png) no-repeat;
  padding-left: 60px;
  padding-top: 5px;
  height: 48px;
  color: #68a924;
  margin-bottom: 10px;
}

.sidebar-read-more h2 {
  background: url(images/news.png) no-repeat;
  padding-left: 60px;
  padding-top: 5px;
  height: 48px;
  margin-bottom: 10px;
  color: #00aeef;
}

.sidebar-read-more ul {
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.sidebar-read-more li {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.sidebar-read-more li:last-child {
  border-bottom: none;
}

.sidebar-read-more a {
  text-decoration: none;
}

@media only screen and (max-width: 800px) {
  .tapahtuman-tiedot {
    padding: 0;
  }
}

.register-section .field-visibility-settings,
.field-visibility-settings-toggle,
.field-visibility-settings-notoggle {
  display: none;
}
.register-section {
  max-width: 500px;
}
.submit input {
  font-size: 1.4em;
  padding: 10px 20px;
}

.more-blogs {
  font-size: 22px;
}

.security-question-section {
  display: inline-block;
  width: 100%;
}

.standard-form > .submit {
  float: none !important;
  display: block !important;
}

/* JAVASCRIPT TABLE SORTER */

table.tablesorter thead span {
  padding-right: 20px;
}

table.tablesorter thead tr .header span {
  background-image: url(images/bg.gif);
  background-repeat: no-repeat;
  background-position: center right;
  cursor: pointer;
}

table.tablesorter thead tr .headerSortUp span {
  background-image: url(images/asc.gif);
}
table.tablesorter thead tr .headerSortDown span {
  background-image: url(images/desc.gif);
}

.fgr_meta {
  margin-bottom: 20px;
  font-size: 0.8em;
  color: #444;
  line-height: 22px;
}
.single-rata .fgr_meta {
  display: inline;
  margin: 0;
  margin-left: 10px;
}

/* overdrive buddypress styles */
#buddypress table.profile-fields tr td.label {
  width: 100%;
}

ins.adsbygoogle {
  margin: 1rem 0;
}

.show-mobile {
  display: none;
}

@media (max-width: 468px) {
  .hide-mobile {
    display: none !important;
  }

  .show-mobile {
    display: block !important;
  }
}

/* MAP PAGE */
.filter_image {
  filter: invert(100%);
  vertical-align: middle;
  margin-right: 5px;
  /* Add more styling as needed */
}

.map-filter-button {
  /* flex end*/
  display: flex;
  justify-content: flex-end;
}

.map-locate-button {
  background-color: #d1e8f8;
  color: #4c4c4c;
  border: none;
  padding: 8px 15px;
  margin-left: 10px;
  font-size: 0.8em;
  cursor: pointer;
}

#toggleFiltersButton {
  background-color: #0083d7;
  border: 0px;
  color: #ffffff;
  font-family: "Roboto Slab", "Helvetica Neue", "Helvetica", Helvetica, Arial,
    sans-serif;
  font-size: 0.8em; /* Smaller font size */
  padding: 0.5em;
}
.map-filters {
  margin-top: 10px;
  margin-bottom: 10px;
}
.map-filters-header {
  /* flex end*/
  display: flex;
  justify-content: flex-end;
}

.map-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Adjust the spacing between items */
  align-items: center; /* Align items vertically */
  margin-bottom: 10px; /* Space for the reset button */
}

.filter-section {
  margin-bottom: 15px;
}

.map-filter label {
  display: flex;
  align-items: center; /* Align checkbox and label text */
  cursor: pointer;
}

.map-filter label input[type="checkbox"] {
  vertical-align: middle;
  margin: 0 10px 0 0; /* Adjust the spacing between checkbox and label text */
}

.reset-filters-button {
  background-color: #d1e8f8;
  color: #4c4c4c;
  border: none;
  padding: 8px 15px;
  font-size: 0.8em;
  cursor: pointer;
}

/* ARCHIVE */

.archive-header {
  display: flex;
  flex-direction: column;
  background: none;
}

.open-map-badge {
  display: inline-block;
  background-color: #007bff; /* Blue background */
  color: white; /* White text */
  padding: 5px 10px; /* Padding around the text */
  border-radius: 20px; /* Rounded corners */
  font-weight: bold; /* Bold font */
  text-decoration: none;
}

.open-map-badge:hover {
  background-color: #0056b3; /* Darker blue on hover */
  color: white;
  text-decoration: none; /* Remove underline from link on hover */
}

/* LATEST COMMENTS */
ul.latest-comments {
  list-style-type: none;
  padding: 0;
}

ul.latest-comments li {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

ul.latest-comments li:last-child {
  border-bottom: none;
}

.comment-title {
  font-size: 14px; /* Larger font for comment content */
  color: #333;
  margin-bottom: 5px;
  display: block; /* Ensures title takes its own line */
  word-wrap: break-word;
}

.comment-meta {
  font-size: 12px; /* Smaller font for meta information */
  color: #666;
}

.comment-on-post a {
  color: #0073aa;
  text-decoration: none;
}

.comment-on-post a:hover {
  text-decoration: underline;
}

.banner-container {
  margin-top: 10px;
  margin-bottom: 10px;
}
