/*
Theme name: HPK 2015
Author: Aucor
Author URL: http:///www.aucor.fi/
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

#content ol {
  list-style-type: decimal;
  margin: 0 0 1.8rem 3rem;
}

#content ol li {
  margin-bottom: 0.75rem;
}

#content ul {
  list-style-type: initial;
  margin: 0 0 1.8rem 3rem;
}

#content ul li {
  margin-bottom: 0.75rem;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/* =============================================================================
 *    CLEARFIX
 * ============================================================================ */
.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

.clearfix:before,
.clearfix:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* =============================================================================
 *    GENERAL
 * ============================================================================ */
html {
  font-family: 'Montserrat', 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif;
  font-size: 10px;
}

body {
  background-color: #000;
  color: #000;
  font-size: 1.4rem;
  padding-top: 170px;
}
@media (max-width: 1280px) {
  body {
    padding-top: 130px;
  }
}
@media (max-width: 768px) {
  body {
    padding-top: 110px;
  }
}

.wrapper {
  padding-left: 20%;
  padding-right: 20%;
  position: relative;
}
@media (max-width: 1920px) {
  .wrapper {
    padding-left: 100px;
    padding-right: 100px;
  }
}
@media (max-width: 1280px) {
  .wrapper {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 768px) {
  .wrapper {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* =============================================================================
 *    TYPE
 * ============================================================================ */
h1,
h2 {
  color: #d67e26;
  font-size: 2.1rem;
  font-weight: bold;
  padding-bottom: 1.8rem;
  word-wrap: break-word;
}

h3 {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 2.4rem;
  padding-bottom: 1.8rem;
}

p,
address {
  line-height: 1.8rem;
  padding-bottom: 1.8rem;
}

a {
  color: #d67e26;
  -webkit-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -ms-transition: color 0.3s;
  -o-transition: color 0.3s;
  transition: color 0.3s;
}

a:hover {
  color: #000;
}

i, em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

input,
textarea,
select {
  background: #fff;
  border: 1px solid #ddd;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: inherit;
  padding: 0.8rem 1rem;
}

select:after {
  content: 'asdasd';
}

input[type="submit"],
input[type="button"],
.button,
.ytc_link a {
  background: #d67e26;
  border: none;
  -moz-border-radius: 0.5em;
  -webkit-border-radius: 0.5em;
  border-radius: 0.5em;
  color: #fff;
  display: inline-block;
  font-family: inherit;
  font-size: 1.4rem;
  padding: 0.8rem 1rem;
  text-decoration: none;
  cursor: pointer;
}
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover,
.ytc_link a:hover {
  background: #dc8b3a;
  color: #fff;
}

mark {
  background: #d67e26;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: #fff;
  padding: 0.2rem;
}

.cta-button {
  background: #d67e26;
  border: none;
  -moz-border-radius: 0.5em;
  -webkit-border-radius: 0.5em;
  border-radius: 0.5em;
  color: #fff;
  display: inline-block;
  font-family: inherit;
  font-size: 1.4rem;
  line-height: 1.8rem;
  margin-bottom: 1.4rem;
  padding: 1rem 1.2rem;
  text-decoration: none;
  cursor: pointer;
}
.cta-button:hover {
  background: #dc8b3a;
  color: #fff;
}

/* Article images */
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
  height: auto;
  max-width: 100%;
}

img.size-large,
img.alignnone {
  max-width: 100%;
  width: auto;
}

.alignleft,
.alignleft a,
img.alignleft {
  display: inline;
  float: left;
  margin: 0 2.4rem 1rem 0;
}

.alignleft a {
  margin: 0;
}

.alignright,
.alignright a,
img.alignright {
  display: inline;
  float: right;
  margin: 0 0 1rem 2.4rem;
}

.alignright a {
  margin: 0;
}

.aligncenter,
.aligncenter a,
img.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto 1rem;
}

.aligncenter a {
  margin: 0;
}

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

.wp-caption a {
  margin-bottom: 0.5em;
}

.wp-caption p {
  color: #aaa;
  font-style: italic;
  padding: 0 0 1.25rem;
  text-align: center;
}

/* =============================================================================
 *    HEADER
 * ============================================================================ */
#header {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 99;
}

/* Headed top */
#top {
  background-color: #d67e26;
  height: 36px;
  line-height: 36px;
  padding-bottom: 13px;
  padding-top: 13px;
  text-align: right;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
@media (max-width: 1280px) {
  #top {
    text-align: left;
  }
}
@media (max-width: 768px) {
  #top {
    padding-bottom: 3px;
    padding-top: 3px;
  }
}

.sticky #top {
  height: 0;
  padding-bottom: 0;
  padding-top: 0;
  visibility: hidden;
}

#top .social {
  display: inline-block;
}
#top .social a, #top .social span {
  color: #fff;
  display: inline-block;
  font-size: 1.8rem;
  margin-right: 1.6rem;
}
#top .social a:hover {
  color: #000;
}
#top .social span {
  font-size: 1.4rem;
}
@media (max-width: 768px) {
  #top .social span {
    display: none;
  }
}

#top .search {
  display: inline-block;
  position: relative;
  text-align: left;
}
@media (max-width: 768px) {
  #top .search {
    display: none;
  }
}
#top .search input[type="text"] {
  background-color: #dd9042;
  border: none;
  color: #fff;
  display: block;
  height: 36px;
  line-height: 36px;
  padding: 0 3.6rem 0 1rem;
  width: 180px;
}
#top .search input[type="text"]::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #fff;
}
#top .search input[type="text"]:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #fff;
  opacity: 1;
}
#top .search input[type="text"]::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #fff;
  opacity: 1;
}
#top .search input[type="text"]:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #fff;
}
#top .search button {
  background: transparent none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  height: 36px;
  line-height: 36px;
  position: absolute;
  right: 0;
  top: 0;
  width: 36px;
  -webkit-appearance: none;
}

/* Logo */
#logo img {
  bottom: -20px;
  display: block;
  height: auto;
  left: 20%;
  margin-left: -85px;
  position: absolute;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  z-index: 99;
  width: 140px;
}
@media (max-width: 1920px) {
  #logo img {
    left: 5%;
margin-left: -65px;
  }
}
@media (max-width: 1680px) {
  #logo img {
    left: 100px;
    margin-left: 0;
  }
}
@media (max-width: 1280px) {
  #logo img {
    bottom: -19px;
    left: auto;
    right: 60px;
    width: 130px;
  }
}
@media (max-width: 768px) {
  #logo img {
    right: 25px;
    width: 115px;
  }
}
@media (max-width: 480px) {
  #logo img {
    bottom: -15px;
    width: 100px;
  }
}
.sticky #logo img {
  margin-bottom: 6px;
}
@media (max-width: 1280px) {
  .sticky #logo img {
    bottom: -9px;
    margin-bottom: 0;
    width: 90px;
  }
}
@media (max-width: 768px) {
  .sticky #logo img {
    bottom: 5px;
    width: 60px;
  }
}

#header .logo-offset {
  margin-left: 70px;
}
@media (max-width: 1680px) {
  #header .logo-offset {
    margin-left: 160px;
  }
}
@media (max-width: 1280px) {
  #header .logo-offset {
    margin-left: 0;
  }
}

/* Navigation */
#header .menu {
  list-style: none;
}
#header .menu li {
  float: left;
  position: relative;
}
#header .menu a {
  display: block;
  text-decoration: none;
  text-transform: uppercase;
}

#header .sub-menu {
  -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  color: #151515;
  display: block;
  left: 50%;
  list-style: none;
  margin-left: -90px;
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 80%;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  visibility: hidden;
  width: 180px;
}
#header .sub-menu:before {
  bottom: 100%;
  border: solid transparent;
  border-bottom-color: #fff;
  border-width: 5px;
  content: '';
  left: 50%;
  height: 0;
  margin-left: -5px;
  position: absolute;
  top: -10px;
  width: 0;
}
#header .sub-menu:after {
  content: '';
  display: block;
  height: 10px;
  left: 0;
  position: absolute;
  right: 0;
  top: -10px;
}
#header .sub-menu li {
  display: block;
  width: 100%;
}
#header .sub-menu li.current-menu-item a {
  color: #d67e26;
}
#header .sub-menu a {
  background: #fff;
  color: #3a3838;
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  height: auto;
  line-height: 1.25;
  padding: 0.8rem 1.8rem;
  text-align: left;
  text-transform: none;
}
#header .sub-menu li:first-child a {
  padding-top: 1.8rem;
}
#header .sub-menu li:last-child a {
  padding-bottom: 1.8rem;
}
#header .sub-menu a:hover {
  color: #d67e26;
}

#header li:hover .sub-menu {
  opacity: 1;
  margin-top: 10px;
  top: 100%;
  visibility: visible;
}

#mobile-menu {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  left: 0;
  padding-bottom: 1.4rem;
  padding-top: 1.4rem;
}
@media (max-width: 1280px) {
  #mobile-menu {
    display: block;
  }
}

#mobile-menu-select {
  background-color: #d67e26;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAQBAMAAADpKDJvAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEX///////////////////////////////////8HBRbfAAAACHRSTlMA0e7L6eQGETGuCNIAAAABYktHRACIBR1IAAAACXBIWXMAAAsSAAALEgHS3X78AAAAIElEQVQI12MQUoIAZYYOGGDwgDJaGdLLIaCMARugg14AH/Urq1MzWIEAAAAASUVORK5CYII=");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  cursor: pointer;
  float: left;
  height: 40px;
  position: relative;
  width: 40px;
}
#mobile-menu-select label {
  color: #fff;
  display: block;
  line-height: 40px;
  position: absolute;
  left: 60px;
  text-transform: uppercase;
}
#mobile-menu-select select {
  cursor: pointer;
  display: block;
  left: 0;
  opacity: 0;
  position: absolute;
}

/* Primary navigation */
#primary-navigation {
  background-color: #d67e26;
  position: relative;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
@media (max-width: 1280px) {
  #primary-navigation {
    display: none;
  }
}
#primary-navigation li {
  display: inline;
  z-index: 10;
}
#primary-navigation a {
  color: #fff;
  height: 60px;
  line-height: 60px;
  font-size: 1.6rem;
  font-weight: bold;
  text-shadow: 0 0 transparent;
  -moz-transition: text-shadow 0.3s;
  -o-transition: text-shadow 0.3s;
  -webkit-transition: text-shadow 0.3s;
  transition: text-shadow 0.3s;
  padding: 0 1rem;
}
#primary-navigation > ul > li > a:hover, #primary-navigation > ul > li.current-menu-item > a, #primary-navigation > ul > li.current-menu-ancestor > a {
  text-shadow: 2px 2px #000;
}

/* Secondary navigation */
#secondary-navigation {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 1;
}
@media (max-width: 1280px) {
  #secondary-navigation {
    display: none;
  }
}
#secondary-navigation li {
  display: inline;
}
#secondary-navigation a {
  color: #777;
  font-size: 1.4rem;
  font-weight: bold;
  height: 48px;
  line-height: 48px;
  padding: 0 0.8rem;
}
#secondary-navigation a:hover,
#secondary-navigation li.current-menu-item > a,
#secondary-navigation li.current-menu-ancestor > a {
  color: #d67e26;
}

/* =============================================================================
 *    HERO
 * ============================================================================ */
#hero {
  background-color: #000;
  line-height: 0;
  margin-bottom: -48px;
  min-height: 160px !important;
  overflow: hidden;
  position: relative;
  text-align: center;
  top: -48px;
}
@media (max-width: 1280px) {
  #hero {
    margin-bottom: -68px;
    top: -68px;
  }
}
@media (max-width: 480px) {
  #hero {
    top: -43px;
  }
}
#hero .rsArrow {
  background-color: #d67e26;
  background-color: rgba(214, 126, 38, 0.75);
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  color: #fff;
  font-size: 3rem;
  height: 48px;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
}
@media (max-width: 1280px) {
  #hero .rsArrow {
    margin-top: 10px;
  }
}
@media (max-width: 768px) {
  #hero .rsArrow {
    font-size: 2.1rem;
    height: 36px;
    width: 36px;
  }
}
#hero .rsArrow:before {
  display: block;
  font-family: 'FontAwesome';
  height: 100%;
  line-height: 44px;
}
@media (max-width: 768px) {
  #hero .rsArrow:before {
    line-height: 34px;
  }
}
#hero .rsArrowLeft {
  left: 48px;
}
@media (max-width: 768px) {
  #hero .rsArrowLeft {
    left: 30px;
  }
}
#hero .rsArrowLeft:before {
  content: '\f104';
}
#hero .rsArrowRight {
  right: 48px;
}
@media (max-width: 768px) {
  #hero .rsArrowRight {
    right: 30px;
  }
}
#hero .rsArrowRight:before {
  content: '\f105';
}
#hero .hero-item {
  position: relative;
}
#hero .hero-item:after {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjAiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC41Ii8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.5)));
  background-image: -moz-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  bottom: 0;
  content: '';
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
#hero .hero-caption {
  bottom: 0;
  color: #fff;
  font-size: 4.8rem;
  left: 20%;
  position: absolute;
  right: 20%;
  top: 48px;
  /* Next match slide */
}
@media (max-width: 1680px) {
  #hero .hero-caption {
    left: 100px;
    right: 100px;
  }
}
@media (max-width: 1280px) {
  #hero .hero-caption {
    font-size: 3.6rem;
    left: 60px;
    right: 60px;
    top: 68px;
  }
}
@media (max-width: 1024px) {
  #hero .hero-caption {
    font-size: 3rem;
  }
}
@media (max-width: 768px) {
  #hero .hero-caption {
    font-size: 2.1rem;
    left: 30px;
    right: 30px;
    top: 30px;
  }
}
@media (max-width: 480px) {
  #hero .hero-caption {
    font-size: 1.8rem;
    top: -10px;
  }
}
#hero .hero-caption h2 {
  color: #fff;
  font-size: 1em;
}
@media (max-width: 480px) {
  #hero .hero-caption h2 {
    padding-bottom: 0.5rem;
  }
}
#hero .hero-caption p {
  padding-bottom: 0.25em;
}
#hero .hero-caption a {
  color: #fff;
  text-decoration: none;
}
@media (max-width: 480px) {
  #hero .hero-caption .date {
    display: inline-block;
  }
}
#hero .hero-caption .button {
  -moz-box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
  font-size: 0.5em;
  padding: 0.75em 1.25em;
  text-shadow: none;
}
#hero .hero-caption .caption-outer {
  display: table;
  height: 100%;
  width: 100%;
}
#hero .hero-caption .caption-inner {
  display: table-cell;
  height: 100%;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  top: 50%;
  width: 100%;
  vertical-align: middle;
}
#hero .hero-caption .next-match h2 {
  font-size: 1.5em;
}
#hero .hero-img {
  height: auto !important;
  margin: 0 auto !important;
  width: 100% !important;
  z-index: 0;
}

/* =============================================================================
 *    NEXT MATCH
 * ============================================================================ */
#next-match {
  background-color: #000;
  color: #fff;
  display: inline-block;
  font-size: 1.2rem;
  padding: 0 1.6rem;
  text-transform: uppercase;
}

/* =============================================================================
 *    CONTENT AREA
 * ============================================================================ */
#content-container {
  background-color: #fff;
  padding-bottom: 40px;
  padding-top: 60px;
}
@media (max-width: 1024px) {
  #content-container {
    padding-top: 30px;
  }
}
@media (max-width: 768px) {
  .home #content-container {
    padding-top: 10px;
  }
}

.box {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 2rem;
  padding: 2rem 2rem 1rem;
}

.box-header h1,
.box-header h2,
.box-header h3 {
  color: #d67e26;
  font-size: 2.1rem;
  text-transform: uppercase;
}

#content-header h1, #content-header h2 {
  text-transform: uppercase;
}
#content-header h1 {
  font-size: 3rem;
  padding: 1.8rem 0 2.1rem;
}
@media (max-width: 480px) {
  #content-header h1 {
    font-size: 2.1rem;
  }
}
#content-header h2 {
  font-size: 2.1rem;
  padding: 2rem 0 3.6rem;
}

#content,
.sidebar {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline;
  float: left;
  height: auto;
  position: relative;
}
@media (max-width: 1024px) {
  #content,
  .sidebar {
    display: block;
    float: none;
  }
}

#content {
  margin-left: 21%;
  padding-left: 30px;
  padding-right: 30px;
  width: 58%;
}
@media (max-width: 1680px) {
  #content {
    margin-left: 25%;
    width: 50%;
  }
}
@media (max-width: 1024px) {
  #content {
    margin-left: 0;
    padding: 0;
    width: 100%;
  }
}

.sidebar {
  width: 21%;
}
@media (max-width: 1680px) {
  .sidebar {
    width: 25%;
  }
}
@media (max-width: 1024px) {
  .sidebar {
    width: 100%;
  }
}
.sidebar.left {
  margin-left: -79%;
}
@media (max-width: 1680px) {
  .sidebar.left {
    margin-left: -75%;
  }
}
@media (max-width: 1024px) {
  .sidebar.left {
    margin-left: 0;
  }
}

/* =============================================================================
 *    COMMON
 * ============================================================================ */
#content img {
  height: auto;
  max-width: 100%;
}

#breadcrumb {
  color: #aaa;
  font-size: 1.2rem;
  padding-bottom: 3rem;
}

#breadcrumb a {
  color: #aaa;
}

/* =============================================================================
 *    POSTS
 * ============================================================================ */
.post {
  padding-bottom: 2rem;
  position: relative;
}

#content .post-thumbnail img {
  display: block;
  height: auto;
  float: left;
  line-height: 0;
  margin: 0 2rem 0 0;
  width: 23%;
}
@media (max-width: 480px) {
  #content .post-thumbnail img {
    float: none;
    left: 0;
    position: absolute;
    top: 0;
  }
}

.post .post-content {
  border-bottom: 1px solid #eee;
  padding-left: 29%;
  padding-bottom: 0.6em;
}
@media (max-width: 480px) {
  .post .post-content {
    padding-left: 0;
  }
}

.post .readmore {
  font-weight: bold;
  text-decoration: none;
}

.post h3 {
  padding: 0.2rem 0 0.4rem;
}
@media (max-width: 480px) {
  .post h3 {
    padding-left: 29%;
  }
}

.post h3 a {
  font-size: 1.8rem;
  padding: 0;
  text-decoration: none;
}

.post .date {
  color: #aaa;
  font-size: 1.2rem;
  padding-bottom: 1.8rem;
}
@media (max-width: 480px) {
  .post .date {
    padding-left: 29%;
  }
}

.post-share {
  padding-bottom: 30px;
  padding-top: 10px;
}
.post-share a {
  display: inline-block;
  color: #fff;
  font-size: 1.2rem;
  line-height: 3rem;
  height: 3rem;
  margin-right: 4px;
  margin-bottom: 6px;
  padding: 0 1rem;
  text-decoration: none;
}
.post-share a:hover {
  opacity: 0.8;
}
.post-share .fa {
  margin-right: 4px;
}
.post-share .share-facebook {
  background-color: #3b5998;
}
.post-share .share-twitter {
  background-color: #00aced;
}
.post-share .share-linkedin {
  background-color: #007bb6;
}
.post-share .share-googleplus {
  background-color: #dd4b39;
}

.paginate {
  text-align: center;
  padding-bottom: 2rem;
}

.paginate a,
.paginate span {
  background-color: #d67e26;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  display: block;
  color: #fff;
  display: inline-block;
  font-size: 1.4rem;
  height: 36px;
  line-height: 36px;
  margin: 0 0.25rem 0.5rem;
  text-decoration: none;
  text-align: center;
  width: 36px;
}

.paginate a:hover {
  color: #000;
}

.paginate .current {
  background-color: #eee;
  color: #aaa;
}

.paginate .icon,
.paginate .gap {
  background-color: transparent;
  color: #aaa;
}

/* =============================================================================
 *    ACF TABLES
 * ============================================================================ */
.hpk-table {
  margin-bottom: 2rem;
  width: 100%;
}
.hpk-table th,
.hpk-table td {
  line-height: 1.25;
  padding: 0.6rem 0.8rem;
  word-wrap: break-word;
}
.hpk-table th {
  background: #d67e26;
  color: #fff;
  font-weight: bold;
}

/* =============================================================================
 *    SCHEDULE
 * ============================================================================ */
.hpk-table.schedule {
  background-color: #f5f5f5;
}
.hpk-table.schedule tr:nth-child(2n+1) {
  background: #e5e5e5;
}
.hpk-table.schedule td.teams {
  font-weight: bold;
}

/* =============================================================================
 *    VIERASPELIMATKAT
 * ============================================================================ */
ul.vieraspelimatka li {
  line-height: 1.8rem;
  padding: 0.6rem 1rem;
}

ul.vieraspelimatka .title {
  font-size: 1.8rem;
}

ul.vieraspelimatka strong {
  color: #d67e26;
}

/* =============================================================================
 *    PLAYERS ARCHIVE
 * ============================================================================ */
.hpk-table.players {
  background-color: #f5f5f5;
}
.hpk-table.players tr:nth-child(2n) td {
  background-color: #e5e5e5;
}
.hpk-table.players .number {
  width: 2rem;
}
.hpk-table.players .name,
.hpk-table.players .pob {
  width: 30%;
}
@media (max-width: 480px) {
  .hpk-table.players .name {
    width: auto;
  }
  .hpk-table.players .dob, .hpk-table.players .pob, .hpk-table.players .contract {
    display: none;
  }
}

.hpk-table.players.valmentajat .number {
  display: none;
}

.postid-19376 .player-content .number,
.postid-19374 .player-content .number,
.postid-19372 .player-content .number,
.postid-19370 .player-content .number {
  display: none;
}

/* =============================================================================
 *    PLAYER POST
 * ============================================================================ */
.player-thumbnail {
  float: left;
  margin-bottom: 1.8rem;
  text-align: center;
  width: 30%;
}

.player-content.has-image {
  padding-left: 36%;
}

.player-content ul {
  margin-bottom: 1.8rem;
}

.player-content li {
  background-color: #f5f5f5;
  line-height: 1.25;
  padding: 0.6rem 0.8rem;
}

.player-content li:nth-child(2n+1) {
  background: #e5e5e5;
}

.player-content .number {
  font-size: 3.2rem;
  line-height: 3.6rem;
  padding: 0;
}

/* =============================================================================
 *    RESTAURANT
 * ============================================================================ */
.hpk-table.wines td {
  padding: 0.8rem 0;
}

.hpk-table.wines td.name {
  font-weight: bold;
}

.hpk-table.menu td.free {
  width: 3rem;
}

.hpk-table.menu td.name {
  font-weight: bold;
}

.hpk-table.menu td.price {
  width: 6rem;
}

.hpk-table.menu td.description {
  font-style: italic;
  line-height: 1.8rem;
}

/* =============================================================================
 *    TICKETS
 * ============================================================================ */
.hpk-table.tickets {
  float: left;
  width: 49%;
}

.hpk-table.tickets.left {
  margin-right: 2%;
}

.hpk-table.tickets tr:nth-child(2n) td {
  background: #e5e5e5;
}

.hpk-table.tickets td.name {
  font-weight: bold;
}

.hpk-table.tickets td.price {
  width: 6rem;
}

.hpk-table.tickets span.description {
  display: block;
  font-style: italic;
  font-weight: normal;
}

/* =============================================================================
 *    PARTNERS
 * ============================================================================ */
ul.partners {
  margin-bottom: 2rem;
}

ul.partners li {
  display: inline-block;
  padding-bottom: 0.2rem;
  width: 50%;
}

ul.partners.yhteistyokumppanit li {
  width: 33.333%;
}

/* =============================================================================
 *    KULTAKLUBI
 * ============================================================================ */
.hpk-table.members td {
  vertical-align: middle;
}

.hpk-table.members .toimiala {
  color: #787474;
}

/* =============================================================================
 *    CONTACTS
 * ============================================================================ */
ul.contacts li {
  padding-bottom: 1.8rem;
}

ul.contacts img {
  float: left;
  height: auto;
  width: 25%;
}

ul.contacts p {
  margin-left: 30%;
}

/* =============================================================================
 *    STRATEGY
 * ============================================================================ */
dl.strategy {
  counter-reset: brewcess-counter;
  text-align: center;
}

dl.strategy dt::before {
  background: #ee820f;
  border-radius: 32px;
  color: #fff;
  content: counter(brewcess-counter,decimal);
  counter-increment: brewcess-counter;
  display: block;
  font-size: 16px;
  font-weight: normal;
  height: 32px;
  line-height: 32px;
  margin: 28px auto 10px;
  text-align: center;
  width: 32px;
}

dl.strategy dt {
  color: #ee820f;
  font-family: 'BebasNeue', sans-serif;
  font-size: 2.1rem;
  font-weight: normal;
  line-height: 2.4rem;
  padding-bottom: 1rem;
  text-transform: uppercase;
}

dl.strategy dd {
  margin-bottom: 8px;
}

dl.strategy dd strong {
  font-family: "BebasNeue",sans-serif;
  text-transform: uppercase;
  font-size: 1.8rem;
  font-weight: normal;
  padding-top: 10px;
  display: block;
}

/* =============================================================================
 *    SIDEBAR
 * ============================================================================ */
/* Sidebar items */
.sidebar .box {
  background-color: #f5f5f5;
}

.sidebar .centered-widget {
  text-align: center;
}

.sidebar .banner {
  line-height: 0;
  margin-bottom: 2rem;
}
.sidebar .banner a {
  text-decoration: none;
}
.sidebar .banner h3 {
  background-color: #d67e26;
  color: #fff;
  line-height: 1.125;
  padding: 2rem;
  text-transform: uppercase;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.sidebar .banner h3 .fa {
  float: right;
}
.sidebar .banner a:hover h3 {
  background-color: #000;
}
.sidebar .banner img {
  height: auto;
  width: 100%;
}

.sidebar .hpk-tv img {
  height: auto;
  width: 100%;
}

.sidebar .instagram iframe {
  margin-bottom: 2rem;
}

/* Sidebar menus */
.sidebar .menu {
  padding-bottom: 1.4rem;
}

.sidebar .menu li {
  display: block;
  padding-bottom: 0.8rem;
}

.sidebar .menu a {
  color: #000;
  display: block;
  text-decoration: none;
}
.sidebar .menu a:before {
  color: #d67e26;
  content: '\f061';
  font-family: 'FontAwesome';
  margin-right: 1.4rem;
}

.sidebar .menu a:hover {
  color: #d67e26;
}

/* Newsletter signup */
.newsletter.widget .gform_wrapper {
  margin: 0 0 1em;
}
.newsletter.widget .gform_wrapper input[type="text"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  margin-bottom: 1rem;
  width: 100%;
  padding: 0.8em 0.5em;
}
.newsletter.widget .gform_wrapper .top_label .gfield_label {
  display: none;
}
.newsletter.widget .gform_wrapper .gform_footer {
  margin-top: 0;
  padding: 0;
  text-align: center;
}

.elofest-banner {
  display: inline-block;
  margin-bottom: 2rem;
}

/* Standings */
#sarjataulukko .ajax-loader {
  text-align: center;
  width: 100%;
}

#sarjataulukko .ajax-loader img {
  margin: 159px auto;
}

#sarjataulukko .header {
  margin: -20px -20px 0;
}

#sarjataulukko table {
  border-collapse: collapse;
  font-size: 11px;
  margin: 0;
  width: 100%;
}

#sarjataulukko p {
  padding: 0;
}

#sarjataulukko p.ajax-error {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  padding: 20px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  color: #000;
}

#sarjataulukko a {
  color: #fff;
  cursor: text !important;
  text-decoration: none;
}

#sarjataulukko table th {
  padding-top: 5px;
}

#sarjataulukko table td {
  padding: 5px;
}

#sarjataulukko table th {
  color: #fff;
  padding:5px;
}

#sarjataulukko table td.index {
  width: 25px;
}

#sarjataulukko table tr:nth-child(even) {
  background: #e5e5e5;
}

#sarjataulukko table tr.separate {
  border-bottom: 1px solid #555;
}

#sarjataulukko table tr.separate td {
  padding-bottom: 3px;
}

#sarjataulukko table th tr td:nth-child(6), #sarjataulukko table thead tr td:nth-child(7), #sarjataulukko table thead tr td:nth-child(8) {
  display: none;
}

#sarjataulukko table th tr td:nth-child(9) {
  display: block;
}

#sarjataulukko table tr td:nth-child(7), #sarjataulukko table tr td:nth-child(8), #sarjataulukko table tr td:nth-child(9) {
  display: none;
}

#sarjataulukko table th {
  background: #d67e26;
}

#sarjataulukko table thead td {
  font-weight: bold;
}

#sarjataulukko table tr th {
  font-weight: bold;
}

#sarjataulukko .center {
  text-align: center;
  width: 30px;
}

#sarjataulukko .right {
  float: none !important;
  padding-right: 20px;
  text-align: right;
}

.rtTable .rtTableRowHeadLink {
  background: #797777;
  color: #1b1918;
  font-weight: bold;
}

.rtTable tr.odd {
  background: #302e2e;
}

.rtTable .rtTableRow td {
  padding-top: 5px;
}

.rtTable td.rtLegend {
  background: #3a3838;
}

#sarjataulukko table p {
  margin-bottom: 5px !important;
}

#sarjataulukko #content-boxes {
  display: none;
}

.tilastot a {
  clear: both;
  display: block;
  font-size: 1.4rem;
  height: 3.4rem;
  line-height: 1.6rem;
  padding: 1.5rem 0;
  text-decoration: none;
}

.tilastot a img {
  float: left;
  height: auto;
  margin-right: 1rem;
  width: 4.5rem;
}

/* Instagram feed */
.instagram-feed {
  margin: 0 -5px 10px;
}
.instagram-feed .item {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  padding: 0 5px 10px;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-backface-visibility: hidden;
  width: 33.3333%;
}
.instagram-feed .item:hover {
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.instagram-feed .item img {
  display: block;
  height: auto;
  width: 100%;
}
.instagram-feed .item-content {
  display: none;
}

/* =============================================================================
 *    KERHOSHOP
 * ============================================================================ */
/* Products */
.woocommerce-tabs {
  clear: both;
}
.woocommerce-tabs .tabs li {
  display: inline;
}
.woocommerce-tabs .tabs a {
  background: #e5e5e5;
  color: #999;
  display: block;
  float: left;
  padding: 1rem;
  text-decoration: none;
  font-weight: bold;
  margin-right: 0.3rem;
}
.woocommerce-tabs .tabs a:hover {
  color: #d67e26;
}
.woocommerce-tabs .tabs .active a {
  background: #f5f5f5;
  color: #d67e26;
}
.woocommerce-tabs .panel {
  clear: both;
  background: #f5f5f5;
  padding: 1.4rem 2rem 0;
  margin-bottom: 2rem;
}

.shop_attributes {
  padding-bottom: 2rem;
  width: 100%;
}

.shop_attributes th,
.shop_attributes td {
  padding-bottom: 0.8rem;
}

.shop_attributes th {
  font-weight: bold;
  width: 20%;
}

/* Products list */
.orderby {
  margin-bottom: 2rem;
}

ul#products {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

ul#products:after {
  content: "";
  width: 30%;
}

li.product {
  background: #f5f5f5;
  display: inline-block;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  text-align: center;
  width: 30%;
}

li.product img {
  border: none !important;
  margin-bottom: 1rem;
  width: 100%;
}

li.product h4 {
  font-size: 1.4rem;
  font-weight: bold;
  padding: 0 1.4rem 1.4rem;
}

li.product .price {
  color: #000;
  display: block;
  padding-bottom: 1.8rem;
}
li.product .price ins {
  font-weight: bold;
  text-decoration: none;
}

li.product a {
  text-decoration: none;
}

li.product .button {
  display: block;
  margin: 0 2rem;
}

#products .onsale {
  display: none;
}

/* Single product */
div.product .images {
  float: left;
  width: 23%;
}

div.product .summary {
  padding-bottom: 2.4rem;
  padding-left: 29%;
}

div.product .price {
  font-size: 1.8rem;
}

div.product .stock {
  display: none;
}

.variations_button {
  margin-top: 2.4rem;
}

.quantity-text {
  float: left;
  margin-right: 1rem;
  height: 3.2rem;
  line-height: 3.2rem;
}

.quantity {
  float: left;
  margin-right: 1rem;
  position: relative;
}

.quantity .minus,
.quantity .plus,
.quantity .qty {
  height: 3.2rem;
  line-height: 3.2rem;
  padding: 0;
}

.quantity .minus,
.quantity .plus {
  background-color: #272523;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iaGF0MCIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHgxPSI1MCUiIHkxPSIxMDAlIiB4Mj0iNTAlIiB5Mj0iLTEuNDIxMDg1NDcxNTIwMmUtMTQlIj4KPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzE5MTcxNyIgc3RvcC1vcGFjaXR5PSIxIi8+CjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzJkMmIyYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgIDwvbGluZWFyR3JhZGllbnQ+Cgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);
  background-image: -moz-linear-gradient(bottom, #191717 0%, #2d2b2b 100%);
  background-image: -o-linear-gradient(bottom, #191717 0%, #2d2b2b 100%);
  background-image: -webkit-linear-gradient(bottom, #191717 0%, #2d2b2b 100%);
  background-image: linear-gradient(to top, #191717 0%, #2d2b2b 100%);
  display: block;
  float: right;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  width: 3rem;
}

.quantity .plus {
  border-right: 1px solid #302e2e;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.quantity .minus {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}

.quantity .qty {
  padding: 0 0.8rem;
  width: 4rem;
}

.variations_form {
  margin-bottom: 2rem;
}

.variations_form table {
  width: 100%;
}

.variations_form td {
  padding-bottom: 1rem;
}

.variations_form .label {
  font-weight: bold;
  width: 25%;
}

.addon-name {
  padding: 1.8rem 0 1rem 0;
}

.product-addon .form-row input {
  display: block;
  float: none;
}

.product-addon .form-row label {
  display: block;
  float: none;
  width: 100%;
}

.woocommerce .product .out-of-stock {
  display: block;
  margin-top: 1rem;
}

.woocommerce-message .wc-forward {
  margin-right: 1rem;
}

.product-addon .chars_remaining,
.product_meta .sku_wrapper,
.product_meta .posted_in,
.product .onsale,
.product .added_to_cart {
  display: none;
}

/* Checkout */
.count {
  display:none;
}

.woocommerce-loop-category__title {
  font-size: 1.6rem;
}

.form-row {
  clear: both;
  overflow: hidden;
  padding-bottom: 0.4rem;
}

#customer_details .form-row label {
  color: #aaa;
  display: inline-block;
  float: left;
  padding-top: 0.8rem;
  width: 30%;
}

#customer_details .form-row input,
#customer_details .form-row textarea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  float: right;
  width: 70%;
}

#shiptobilling {
  padding-bottom: 2rem;
}

#shiptobilling label, .terms label {
  width: auto;
}

#shiptobilling input, .terms input, #createaccount {
  float: left;
  width: auto;
  margin-top: 1rem;
}

#order_comments_field {
  padding-bottom: 2rem;
}

#order_comments_field textarea {
  height: 8rem;
}

#order_review th {
  font-weight: bold;
}

.shop_table {
  width: 100%;
}

.shop_table th,
.shop_table td {
  padding-bottom: 1rem;
}

ul.order_details {
  margin-bottom: 2rem;
}

ul.order_details li {
  line-height: 1.8rem;
}

.woocommerce .checkout-banks {
  background-color: #302e2e;
  border: none;
  font-weight: bold;
  margin: 0 1% 1rem;
  padding: 1rem 0;
  text-align: center;
  -webkit-transition: background-color 0.2s linear;
  -moz-transition: background-color 0.2s linear;
  -ms-transition: background-color 0.2s linear;
  -o-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
  width: 31.333%;
}

.woocommerce .checkout-banks:hover {
  background-color: #d67e26;
  border: none;
}

.woocommerce .checkout-banks form {
  margin: 0 auto;
  width: 120px;
}

.woocommerce .checkout-banks form span {
  height: 100px;
  width: 120px;
}

.woocommerce .checkout-banks form span input {
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  border: none;
}

.woocommerce .checkout-banks:hover form span input {
  border: none;
  -webkit-box-shadow: 0 0 10px #8e4e09;
  -moz-box-shadow: 0 0 10px #8e4e09;
  box-shadow: 0 0 10px #8e4e09;
}

.shop_table.order_details {
  margin-bottom: 1.8rem;
}

.shop_table.order_details th {
  font-weight: bold;
}

.customer_details {
  line-height: 1.8rem;
  margin-bottom: 1.8rem;
}

.payment_methods {
  margin: 2rem 0;
}

#payment .payment_methods img {
  display: block;
  border: none;
  margin: 0.5rem 0;
}

#payment .place-order .button {
  cursor: pointer;
  margin: 2rem 0;
  float: none;
}

/* Cart */
.shop_table.cart {
  margin-bottom: 1.8rem;
}
.shop_table.cart th,
.shop_table.cart td {
  padding: 1rem;
  vertical-align: middle;
}
.shop_table.cart th {
  font-size: 1.8rem;
  padding-bottom: 2rem;
}
.shop_table.cart tbody tr {
  background-color: #f5f5f5;
}
.shop_table.cart tbody tr:nth-child(2n+1) td {
  background: #e5e5e5;
}
.shop_table.cart .product-thumbnail,
.shop_table.cart .product-thumbnail img {
  width: 75px;
}
.shop_table.cart .product-remove {
  text-align: center;
}
.shop_table.cart .product-remove a {
  background: #d67e26;
  color: #fff;
  display: block;
  font-weight: bold;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  text-decoration: none;
  width: 2rem;
}
.shop_table.cart .quantity .minus,
.shop_table.cart .quantity .plus {
  display: none;
}
.shop_table.cart .actions {
  padding: 1.8rem 2rem 2rem;
  text-align: right;
}

.cart_totals th,
.cart_totals td {
  padding: 0 1rem 1rem 0;
}

/* Messages */
.woocommerce-message {
  background: #d67e26;
  font-style: italic;
  margin-bottom: 2rem;
  padding: 2rem;
}

.woocommerce-error {
  background: #e1200b;
  margin-bottom: 2rem;
  padding: 2rem 2rem 1.2rem;
}

.woocommerce-error li {
  padding-bottom: 0.8rem;
}

/* KerhoShop sidebar */
.sidebar .product-categories {
  margin: 0 0 0.5em;
}
.sidebar .product-categories li {
  border-bottom: 1px solid #e5e5e5;
  display: block;
}
.sidebar .product-categories li:last-of-type {
  border: none;
}
.sidebar .product-categories a {
  color: #000;
  display: block;
  font-size: 1.4rem;
  padding: 1em 0;
  text-decoration: none;
}
.sidebar .product-categories a:after {
  color: #ddd;
  content: '\f138';
  display: inline-block;
  float: right;
  font-family: 'FontAwesome';
  -moz-transition: color 0.3s;
  -o-transition: color 0.3s;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
.sidebar .product-categories a:hover {
  color: #d67e26;
}
.sidebar .product-categories a:hover:after {
  color: #bbb;
}
.sidebar .product-categories li.current-cat a {
  color: #d67e26;
  font-weight: bold;
}
.sidebar .product-categories li.current-cat a:after {
  color: #d67e26;
}

.widget_product_search form {
  padding-bottom: 1rem;
}

.widget_product_search label {
  display: none;
}

.widget_product_search input[type="search"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  margin-bottom: 1rem;
  width: 100%;
}

.widget_product_search button {
  background: #d67e26;
  border: none;
  border-radius: 0.5em;
  color: #fff;
  display: inline-block;
  font-family: inherit;
  font-size: 1.4rem;
  padding: 0.8rem 1rem;
  text-decoration: none;
  cursor: pointer;
}

.widget_product_search button:hover {
  background: lighten(#d67e26, 5%);
  color: #fff;
}

.widget_shopping_cart.box {
  padding-bottom: 0;
}

.widget_shopping_cart .buttons .button {
  display: inline-block;
  margin-bottom: 1rem;
  margin-right: 5px;
}

.widget_shopping_cart .cart_list {
  margin-top: -2rem;
  padding-bottom: 1rem;
}

.widget_shopping_cart .cart_list li {
  line-height: 1.4rem;
  overflow: hidden;
  margin: 0 -2rem;
  padding: 2rem;
}

.widget_shopping_cart .cart_list li:nth-child(2n) {
  background: #dddddd;
}

.widget_shopping_cart .cart_list img {
  float: left;
  height: auto;
  margin-right: 1.4rem;
  margin-bottom: 1rem;
  width: 30%;
}

.widget_shopping_cart .total {
  clear: both;
}

.widget #loginform .input {
  width: 100%;
}

.widget #loginform label {
  color: #999;
  display: block;
  margin-bottom: 0.4rem;
}

.widget #loginform #rememberme {
  float: left;
  margin: 0.2rem 1rem 0 0;
}

/* =============================================================================
 *      VIDEOKOOSTEET
 * ============================================================================ */
.video-player-container,
#video-player {
  width: 100% !important;
  min-height: 330px !important;
}

#video-title {
  color: #d67e26;
  font-weight: bold;
  padding-top: 1em;
  text-transform: uppercase;
}

#video-player-container object {
  width: 100%;
  max-width: 460px;
}

#video-list {
  list-style-type: none;
  margin: 20px -2% 0;
  overflow: hidden;
}

#video-list li {
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  display: inline-block;
  margin: 0 2% 20px;
  min-height: 120px;
  position: relative;
  vertical-align: top;
  width: 29.3333%;
}
@media (max-width: 1024px) {
  #video-list li {
    width: 29.3333%;
  }
}
@media (max-width: 768px) {
  #video-list li {
    width: 46%;
  }
}
@media (max-width: 480px) {
  #video-list li {
    width: 96%;
  }
}

#video-list li span {
  background-color: rgba(0, 0, 0, 0.5);
  bottom: 0;
  display: block;
  color: #fff;
  font-size: 0.875em;
  font-weight: bold;
  line-height: 1.25;
  padding: 10px;
  position: absolute;
}

#video-list li:hover span {
  color: #d67e26;
}

/* =============================================================================
 *      HPK TV
 * ============================================================================ */
#hpktv .youtube_channel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#hpktv .youtube_channel .ytc_video_container {
  width: 48% !important;
}
@media (max-width: 500px) {
  #hpktv .youtube_channel .ytc_video_container {
    width: 100% !important;
  }
}
#hpktv .youtube_channel .ytc_video_container .ytc_description {
  display: none;
}
#hpktv .youtube_channel .ytc_video_container .ytc_title {
  padding-top: 0.625rem;
}
#hpktv .youtube_channel .ytc_video_first {
  width: 100% !important;
}
#hpktv .youtube_channel .ytc_video_first .ytc_description {
  display: block;
}
#hpktv .youtube_channel .clearfix {
  width: 100%;
}
#hpktv .youtube_channel .ytc_link {
  text-align: center;
  padding: 2rem 0 4rem;
}

/* =============================================================================
 *      Ruutu-video embed
 * ============================================================================ */
.ruutu-embed {
  margin: 1.2rem 0 3rem 0;
  padding-top: 56.25%;
  position: relative;
  width: 100%;
}
.ruutu-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ruutu-embed-content {
  margin: 0 0 1.8rem 0;
  padding-top: 56.25%;
  position: relative;
  width: 100%;
}
.ruutu-embed-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* =============================================================================
 *    Lightbox popup
 * ============================================================================ */
#lbx_light {
  padding: 20px 30px;
}

#lbx_light #closediv {
  border: none;
  position: absolute;
}

#wmpci-popup-wrp .wmpci-popup-body {
  background-color: #fff;
}

#wmpci-popup-wrp .wpmci-popup-cnt-inr-wrp {
  padding: 0;
}

#wmpci-popup-wrp .wpmci-popup-cnt-inr-wrp p {
  padding: 0;
}

/* =============================================================================
 *    Partners
 * ============================================================================ */
#partners {
  background: #3a3838;
  padding-bottom: 30px;
  padding-top: 30px;
  text-align: center;
}

#partners a {
  background-position: 0 -40px;
  background-repeat: no-repeat;
  display: inline-block;
  height: 40px;
  margin: 7px 15px;
  padding-left: 10px;
  z-index: 1;
}

#partners a:hover {
  background-position: 0 0;
}

/* =============================================================================
 *    WP-Polls
 * ============================================================================ */
.wp-polls .wp-polls-ul {
  margin-left: 0;
}

.wp-polls .wp-polls-ul li {
  margin-bottom: 1rem;
}

.wp-polls .button {
  margin-top: 1.5rem;
  padding: 0.8rem 1rem;
}

/* =============================================================================
 *    Gravity Forms
 * ============================================================================ */
.gform_wrapper .gform_body h2.gsection_title {
  margin-bottom: 1rem !important;
}

.gform_wrapper .gform_fields .gsection {
  border-bottom: 2px solid #CCC;
}

/* =============================================================================
 *    FOOTER
 * ============================================================================ */
#footer {
  background-color: #000;
  color: #555;
  height: 48px;
  line-height: 48px;
  text-align: right;
}
#footer .copy {
  float: left;
  margin-right: 3rem;
}
#footer .policy {
  float: left;
}
#footer .policy a {
  text-decoration: none;
}
#footer .policy a:hover {
  color: #d67e26;
}
#footer .credits img {
  height: 14px;
  width: auto;
}

/* =============================================================================
 *    PRINT
 * ============================================================================ */
@media print {
  .page-id-5614 #header, .page-id-5614 #breadcrumb, .page-id-5614 .sidebar, .page-id-5614 #footer {
    display: none;
  }

  .page-id-5614 .box-header {
    padding: 0 2rem;
  }

  .page-id-5614 #content {
    margin-top: 0;
    color: #000000;
  }

  .page-id-5614 #content h2, .page-id-5614 #content h3 {
    padding-bottom: 0.5rem;
  }

  .page-id-5614 .hpk-table {
    margin-bottom: 1rem;
  }

  .page-id-5614 #wrap {
    border: none;
  }
}
/* =============================================================================
 *    LANDING PAGE
 * ============================================================================ */
.campaign-overlay-on {
  height: 100%;
  overflow: hidden;
  position: fixed;
  width: 100%;
  padding-top: 0;
}

.campaign-overlay-on #header, .campaign-overlay-on #hero {
  display: none;
}

.campaign-overlay {
  background-color: #ff7800;
  z-index: 99999999;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  overflow-y: scroll;
  height: 100%;
  background-image: url(images/campaign-osakeanti.jpg);
  background-size: cover;
  background-position: 50% 50%;
}

.campaign-content {
  position: relative;
  max-width: 720px;
  height: auto;
  min-height: 100%;
  margin: 0 auto;
}

.campaign-inner {
  position: absolute;
  height: 440px;
  width: 100%;
  top: 50%;
  margin-top: -220px;
}

.campaign-col-1 {
  float: left;
}

.campaign-col-2 {
  float: right;
  padding-left: 35px;
}

.btn-liity {
  background: #1d1d1b;
  color: #fff;
  display: block;
  margin-top: 10px;
}

.to-content-page, .to-front-page {
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 18px;
  font-weight: bold;
  display: block;
  margin: 40px 0 20px 0;
  text-decoration: none;
  text-transform: uppercase;
}

a.to-front-page {
  margin: 37px 0 20px 0;
}

/* =============================================================================
 *    Cookie consent
 * ============================================================================ */
.cc-container .cc-btn {
  background-color: #d67e26;
  -moz-border-radius: 0.5em;
  -webkit-border-radius: 0.5em;
  border-radius: 0.5em;
  color: #fff;
  padding: 0.8rem 1rem;
}
.cc-container .cc-btn:hover {
  background: #dc8b3a;
  color: #fff;
}
