/*

 Theme Name: Mestar Ympäristöraportti
 Theme URI:
 Description:
 Author: CTA
 Author URI:
 Template: kadence
 Version: 1.0

*/

body {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

p, h1, h2, h3, h4, h5, h6 {
  hyphens: auto;
}

.gform_required_legend {
	display: none;
}

.cta {
	width: 100%;
	background-color: #212121;
	color: #ffffff;
	text-align: center;
	padding: 1em 0;
	font-size: 10px;
	line-height: 1;"
}

.cta a{
	color: #ffffff80;
	text-decoration: none;
}

.cta a:hover{
	color: #ffffff;
	text-decoration: underline;
}

h2 {
  position: relative;
  text-align: center; 
}

h2.valkea::before {
  content: "";
  display: block;
  width: 60px;          /* viivan pituus */
  height: 4px;          /* viivan paksuus */
  background-color: #fff;
  margin: 0 auto 20px;  /* keskitys + väli otsikkoon */
}

h2.vihrea::before {
  content: "";
  display: block;
  width: 60px;          /* viivan pituus */
  height: 4px;          /* viivan paksuus */
  background-color: var(--global-palette1);
  margin: 0 auto 20px;  /* keskitys + väli otsikkoon */
}

h2.vasen {
    position: relative;
    padding-top: 20px; /* tilaa viivalle */
}

h2.vasen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60px; /* viivan pituus */
    height: 4px; /* viivan paksuus */
    background-color: var(--global-palette1);
}

.header span {
	color: rgba(255, 255, 255, 0.6);
	font-size: 1rem;
}

.greentext p {
	color: var(--global-palette1);
}

.greentext ul {
	color: var(--global-palette1);
}

.site-footer h2 {
	text-align: left;
}

.gform_button {
	background-color: var(--global-palette3) !important;
	border-radius: 0 !important;
	text-transform: uppercase !important;
	padding: 0,8775rem 1,75rem !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.gform_button:hover {
	background-color: var(--global-palette6) !important;
}

.single-post .entry.single-entry {
	margin-top: 1rem !important;
	margin-bottom: 3rem !important;
	border-radius: 0;
	border: 1px solid var(--global-palette8) !important;
}

.loop-entry h2 {
	text-align: left;
}

.zoomin .kt-inside-inner-col {
    background-size: 100%;
    transition: background-size 0.5s ease;
}

.zoomin .kt-inside-inner-col:hover {
	background-size: 110%;
}

.single-post h2 {
	text-align: left;
}

.single-content .wp-block-post-terms {
	margin-bottom: 20px;
}

.header a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
}

.header a:hover {
	color: #ffffff;
}

.apexcharts-toolbar {
	display: none !important;
}

/*Toteuma haitarin leipäteksti*/
.small-text {
	font-size: 14px;
}