/*nav {
    background-color: #333;
    height: 50px;
    display: block;
    float: left;
    TESTI
}
*/

@font-face {
  font-family: "Gotham SSm A", "Gotham SSm B", Arial, Helvetica, sans-serif;
  src: url("https://laatukenno.mehilainen.fi/testi/fonts/GothamSSm-Medium.otf") format("opentype");
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format('truetype');
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format('truetype');
  font-weight: bold;
}

/*.anchor::before {
	display: block; 
	content: " "; 
	margin-top: -100px; 
	height: 100px; 
	visibility: hidden; 
	pointer-events: none;
}

html {
  scroll-behavior: smooth;
}*/

.hd_l {
  background-image: url(../images/logo.svg);
  background-repeat: no-repeat;
  height: 48px;
  margin-top: 25px;
}

.hd_r {
  height: 48px;
  margin-top: 30px;
}

.header {
  background-color: #fff;
  height: 100px;
}

.navi {
  background-color: #fff !important;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 20px;
  /*color: #fff;*/
}

.linkit {
  font-size: 14;
  text-transform: uppercase;
  margin-top: 20px;
}

.bgc {
  background-color: #fff;
  border-color: #fff;
}

.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
  /*color: #fff;*/
  /* padding-right: 100px; */
  /* J */
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a {
  /* color: #368649; */
  /* padding-right: 100px; */
  /* J */
}

.highcharts-contextmenu > div > div:last-child {
  display: none;
}

.navbar {
  margin-bottom: 0;
}

.jumbotron-s {
  padding: 20px;
  margin-bottom: 10px;
}

.tooltip-inner {
  min-width: none;
  white-space: nowrap;
}

.valiotsikko {
  font-size: 16px;
  font-weight: 500;

  margin-top: 30px;
  margin-bottom: 30px;
}

.navirow {
  /*margin-bottom: 10px;
  margin-top: 10px;*/
}

.toprow {
  margin-top: 20px;
}

.panel {
  -webkit-box-shadow: unset;
  box-shadow: unset;
}

.popover {
  max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

.popover2 {
  max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

.infovalinnat {
}

a {
  color: #222;
}

.jumbotron-matala h1 {
  font-size: 38px;
}

.jumbotron-matala {
  padding-top: 2px;
  padding-bottom: 2px;
  margin-bottom: 10px;
}

html * {
  font-family: "Gotham SSm A", "Gotham SSm B", "Montserrat", Arial, Helvetica, sans-serif;
}

.kategoria_wrapper {
  /* background-color: #fff; */
  background-color: transparent;
  float: left;
  width: 560px;
  /* ALKUPERÄINEN LEVEYS width: 376px; */
  min-height: 400px;
  margin: 5px;
  margin-bottom: 50px;
  margin-top: 20px;
  position: relative;
}

.kategorian_otsikko {
  float: left;
  background-color: #f2f2f2;
  width: inherit;
  font-size: 20px;
  /* border-bottom: 1px solid #ccc;; */
  padding-bottom: 20px;
  padding-left: 25px;
}

.raportti_pallo {
  display: block;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #009a49;
  background-repeat: no-repeat;
  background-position: center 15px;
  text-align: center;
  color: white;
  padding-top: 17px;
  font-size: 16px;
}

.chart-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  /* top: 20px; */
  /* padding-top:20px; */
}

.full {
  width: 100%;
  background-color: #f2f2f2;
}

.nav,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover {
  font-size: 15px !important;
}

.panel-heading {
  background-color: #f2f2f2 !important;
  border-bottom: 0px !important;
  font-size: 24px !important;
  text-align: center !important;
  /* top: 20px; */
  padding-bottom: 30px !important;
}

.mnav__quick-links__link {
  font-size: 13px;
  display: inline-block;
  border: 2px solid #dddddd !important;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 0 0 5px 0;
  background: #fff;
}

.mnav__quick-links__link:hover {
  font-size: 13px;
  display: inline-block;
  border: 2px solid #009a49 !important;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 0 0 5px 0;
  color: #fff;
  background: #009a49;
  text-decoration: none;
}

.naviActive {
  font-size: 13px;
  display: inline-block;
  border: 2px solid #009a49 !important;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 0 0 5px 0;
  color: #fff;
  background: #009a49;
  text-decoration: none;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
}

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

/* auto-open */
@media (min-width: 1200px) {
  .navbar-default .navbar-nav > li > a:focus,
  .navbar-default .navbar-nav > li > a:hover {
    /* padding-right: 100px; */
  }
  .navbar-default .navbar-nav > li > a,
  .navbar-default .navbar-nav > li > a {
    /* padding-right: 100px; */
    padding-left: 15px;
  }
}

@media (max-width: 376px) {
  .panel-body,
  .col-lg-6,
  .container {
    padding-right: 0px;
    padding-left: 0px;
  }
  .row {
    margin-right: 0px;
    margin-left: 0px;
  }
  .panel-heading {
    background-color: unset !important;
    border-bottom: 0px !important;
    font-size: 18px !important;
    text-align: center !important;
    /* top: 20px; */
    /* padding-top:20px; */
  }
}

@media (max-width: 6000px) {
  .navbar-default .navbar-nav > li > a:focus,
  .navbar-default .navbar-nav > li > a:hover {
    color: #368649 !important;
  }

  .navbar-header {
    float: none;
  }
  .navbar-left,
  .navbar-right {
    float: none !important;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
  }
  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
    display: none !important;
  }
  .navbar-nav {
    float: none !important;
    margin-top: 7.5px;
  }
  .navbar-nav > li {
    float: none;
  }
  .navbar-nav > li > a {
    /*padding-top: 10px;
      padding-bottom: 10px;*/
  }
  .collapse.in {
    display: block !important;
  }
}

@media (min-width: 768px) {
  ul.nav li.dropdown:hover ul.dropdown-menu {
    display: block;
  }
}

@media only screen and (min-width: 768px) {
  .collapse {
    display: block;
  }

  .navbar-header {
    /*  display: none;*/
  }
}

@media only screen and (max-width: 768px) {
  .collapse {
    display: none;
  }

  .navbar-header {
    display: block;
  }
}

@media only screen and (min-width: 1px) {
  ul.navbar-nav li {
    width: 100%;
  }
}

@media only screen and (min-width: 768px) {
  ul.navbar-nav li {
    width: inherit;
  }
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
  color: #f2f2f2;
}

.dropdown-menu > li > a {
  background-color: #333;
}

.dropdown-menu > li > a {
  /*color: #fff;*/
}

hr.pysty {
  width: 1px;
  height: 10px;
  background-color: #ccc;
  margin-top: 0;
}

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
  background-color: #444;
}

.luelisaa1 {
}

.luelisaa2 {
  box-sizing: border-box;
  color: rgb(0, 154, 73);
  display: inline-block;
  height: 60px;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 180px;
  perspective-origin: 89.9688px 30px;
  transform-origin: 89.9688px 30px;
  border: 2px solid rgb(0, 154, 73);
  outline: rgb(0, 154, 73) none 0px;
  overflow: hidden;
  padding: 19px 20px;
}

.luelisaa1 a {
  text-decoration: none;
}

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

.raportti_arvo {
  width: 200px;
  border: 1px solid #ccc;
  float: right;
  padding: 8px 10px 4px 10px;
}

.dropdown-menu > li > a {
  width: 393px;
}

.dropdown-menu {
  /* top: 55px; */
}

.truncate {
  width: 94px;
  /* white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
}

/*
.custom_1 {
	padding-right: 6px;
	padding-left: 4px;
}
*/

.ohjeet {
  width: 700px !important;
  max-width: 700px !important;
}

#kehityslista tr td:nth-child(1) {
  width: 30%;
}

#kehityslista tr td:nth-child(2) {
  /*width:30%;*/
}

#kehityslista tr td:nth-child(3) {
  width: 20%;
}

#kehityslista tr td:nth-child(4) {
  width: 10%;
}

.kennologo {
  width: 488px;
}

@media (max-width: 1200px) {
  .kennologo {
    width: 400px;
  }
}

@media (max-width: 500px) {
  .hd_l {
    width: 70px;
  }
}

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/laatukenno.png");
  height: 250px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
body,
html {
  /*height: 100%;*/
  margin: 0;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

li a {
  border-bottom: 3px solid white !important;
}

.aktiivinen-sivu {
  /* border-bottom: 3px solid#368649 !important; */
  color: #368649 !important;
  font-weight: 500 !important;
  font-size: 15px;
  cursor: pointer;
}
.menun-linkki {
  /* border-bottom: 3px solid#368649 !important; */
  font-weight: 500 !important;
}

/*.modal {
  text-align: center;
  padding: 0!important;
}
.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}
.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}*/

a div {
  color: #368649;
}

.panel-body,
body {
  background-color: #f2f2f2;
}
.panel {
  border: none !important;
  background-color: #f2f2f2;
}
.aloitussivun-mittari {
  padding-top: 20px;
  top: 27px;
  padding-left: 25px;
}

div.highcharts-container,
.mittari-container {
  border-radius: 5px !important;
  box-shadow: 0px 2px 5px 0px #888888;
}

/* @media only screen and (max-width: 580px) {
  div.highcharts-container{
    width: 450px !important; 
  }
  g.highcharts-legend-item{
    float: left;
  }
} */

.otsikko {
  font-size: 51px;
}
.leipateksti {
  font-size: 17px;
}
/* .linkkiValikossa{
  font-weight: bold !important;
} */
.linkkiPalkissa {
  /*font-weight: bold !important;*/
  padding-top: 15px;

  /* float: left; */
}
.navbar-toggle {
  float: unset;
}

@media only screen and (max-width: 1200px) {
  .kategoria_wrapper {
    width: 680px;
  }
  .kategorian_otsikko {
    font-size: 17px;
  }
  .otsikko {
    font-size: 41px;
  }
  .leipateksti {
    font-size: 15px;
  }
}

@media only screen and (max-width: 739px) {
  .kategoria_wrapper {
    width: 340px;
  }
  .kategorian_otsikko {
    font-size: 17px;
  }
  .otsikko {
    font-size: 31px;
  }
  .leipateksti {
    font-size: 13px;
  }
}

@media only screen and (max-width: 767px) {
  .linkkiValikossa {
    display: none !important;
  }
  .menun-linkki,
  .aktiivinen-sivu {
    font-size: 13px;
  }
  .valiotsikko {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .linkkiPalkissa {
    /* display:none !important;*/
  }
}
.highcharts-title {
  font-weight: 500 !important;
}

.fa-sort-down {
  display: inline-block;
  vertical-align: middle;
  height: 30px;
  width: 20px;
  padding-bottom: 10px;
}
.fa-caret-right {
  display: inline-block;
  vertical-align: middle;
  height: 23px;
  width: 23px;
}

.linkkiPalkissa[aria-expanded="true"] .fa-sort-down {
  transform: rotate(180deg);
}
.col-lg-12 {
  align: center;
}
