/*!
Theme Name: popmedia2030
Theme URI: https://underscores.me/
Author: Niklas Koistinen
Author URI: https://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: popmedia2030
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

popmedia2030 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

ol li {
	counter-increment: list-counter;
}
ol li::before {
	content: counter(list-counter) ".";
	color: black; /* Change the color */
	font-weight: bold; /* If you want it to be bold */
	display: inline-block; /* Needed to add space between the bullet and the text */
	width: 1.2rem; /* Also needed for space (tweak if needed) */
	margin-left: -1.5rem; /* Also needed for space (tweak if needed) */
  }

.logo .letter-fill {
	fill:#fff ;
}
.logo svg {
	fill:#fff ;
}


.entry-content img, .entry-content svg, .entry-content video, .entry-content canvas, .entry-content audio, .entry-content iframe, .entry-content embed, .entry-content object {
    max-width: 100%;
}

.popbar li {
	display:block ;
	flex-grow:1 ;
}
.popbar li svg {
		width:85px ;
		height:24px ;
		vertical-align:middle ;
}

.wp-caption-text {
	padding-top:0!important;
	margin-top:-2rem!important;
}
.prose img, .prose embed, .prose figure {
	max-width:100%
}
.alignleft {
	float:left;
	padding:0 20px 20px 0;
}
.alignright {
	float:right;
	padding:0px 0px 20px 20px;
}
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
  }
/* Styles added by Michel Codeable */

[x-cloak] {
	display: none !important;
}
  
.mobile-menu,
.mobile-search-menu {
  display: none;
}

.search-menu-open,
.menu-open {
	-ms-overflow-style: none;
	scrollbar-width: none;
	margin: 0;
  height: 100%;
  overflow: hidden;
	top: 0;
	position: relative;
}
.search-menu-open::-webkit-scrollbar,
.menu-open::-webkit-scrollbar {
	display: none;
}

.burger-button {
  border: 0;
  margin: 0;
  padding: 0;
  outline: 0;
	position: relative;
	top: 2px;
}

.burger-icon {
  font-size: 10px;
  width: 3.2em;
  height: 3.2em;
  position: relative;
}

.burger-icon-wing {
  -webkit-transition: -webkit-transform 0.1s linear;
  -moz-transition: -moz-transform 0.1s linear;
  transition: transform 0.1s linear;
  position: absolute;
  width: 1.1em;
  height: 0.2em;
  background-color: #fff;
	pointer-events: none;
}
.burger-icon-wing--m {
  transform-origin: 1.1em 0.1em;
  top: 50%;
  left: 0.5em;
  width: 2.2em;
  margin-top: -0.1em;
}
.burger-icon-wing--tl {
  transform-origin: 0.4em 0.1em;
  top: 0.8em;
  left: 0.5em;
}
.burger-icon-wing--tr {
  transform-origin: 0.7em 0.1em;
  top: 0.8em;
  right: 0.5em;
}
.burger-icon-wing--br {
  transform-origin: 0.7em 0.1em;
  bottom: 0.8em;
  right: 0.5em;
}
.burger-icon-wing--bl {
  transform-origin: 0.4em 0.1em;
  bottom: 0.8em;
  left: 0.5em;
}

.burger-icon[data-burger-state=on] .burger-icon-wing--m {
  -webkit-transform: scale(0, 1);
  -moz-transform: scale(0, 1);
  -ms-transform: scale(0, 1);
  -o-transform: scale(0, 1);
  transform: scale(0, 1);
}
.burger-icon[data-burger-state=on] .burger-icon-wing--tl {
  -webkit-transform: rotate(45deg) translate(0.3em, 0);
  -moz-transform: rotate(45deg) translate(0.3em, 0);
  -ms-transform: rotate(45deg) translate(0.3em, 0);
  -o-transform: rotate(45deg) translate(0.3em, 0);
  transform: rotate(45deg) translate(0.3em, 0);
}
.burger-icon[data-burger-state=on] .burger-icon-wing--tr {
  -webkit-transform: rotate(-45deg) translate(-0.3em, 0);
  -moz-transform: rotate(-45deg) translate(-0.3em, 0);
  -ms-transform: rotate(-45deg) translate(-0.3em, 0);
  -o-transform: rotate(-45deg) translate(-0.3em, 0);
  transform: rotate(-45deg) translate(-0.3em, 0);
}
.burger-icon[data-burger-state=on] .burger-icon-wing--br {
  -webkit-transform: rotate(45deg) translate(-0.3em, 0);
  -moz-transform: rotate(45deg) translate(-0.3em, 0);
  -ms-transform: rotate(45deg) translate(-0.3em, 0);
  -o-transform: rotate(45deg) translate(-0.3em, 0);
  transform: rotate(45deg) translate(-0.3em, 0);
}
.burger-icon[data-burger-state=on] .burger-icon-wing--bl {
  -webkit-transform: rotate(-45deg) translate(0.3em, 0);
  -moz-transform: rotate(-45deg) translate(0.3em, 0);
  -ms-transform: rotate(-45deg) translate(0.3em, 0);
  -o-transform: rotate(-45deg) translate(0.3em, 0);
  transform: rotate(-45deg) translate(0.3em, 0);
}


header.component-title {
	overflow:hidden;
	text-align:center;
}

header.component-title h3 {



		display:inline;

		position:relative;
    text-transform: uppercase;
}
header.component-title h3:before {
  content:"";
			position:absolute ;
			right:100% ;
			margin-right:1rem ;
			top:50% ;
			height:1px ;
			width:500px ;
			margin-top:-2px ;
			border-top:3px double #ccc ;
}

header.component-title h3:after {
  content:"";
			position:absolute ;
			left:100% ;
			margin-left:1rem ;
			top:50% ;
			height:1px ;
			width:500px ;
			border-top:3px double #ccc ;
			margin-top:-2px ;
}


.twitter-tweet {
  padding-left:1.75rem;
  padding-right:1.75rem;
}


aside.alays {
  position:relative ;
  float:left ;
  width:100% ;
  margin:1rem 1rem 1rem 1rem ;
}
aside.alays:before {
    content:"\201D" ;
    font-size:6rem ;
    font-weight:700 ;
    color:#e57285 ;
    position:absolute ;
    line-height:6rem ;
    left:0rem ;
    top:0 ;
    z-index:0 ;
}

aside.alays blockquote {
  font-size:2rem ;
  line-height:2.4rem;
  z-index:1 ;
  border-left:0 ;
  padding:0 ;
  margin:0 0 0 3rem ;
  font-style: italic;
  position: relative;
}

.prose ol {
  margin-left:1.75em;
}

/* Monica - Codeable */

/* Adding stars in the sidebar */

.term[data-term-slug="5"], 
.term[data-term-slug="4"], 
.term[data-term-slug="3"], 
.term[data-term-slug="2"], 
.term[data-term-slug="1"] {
  font-size: 0;
  margin-bottom:10px;
}
.term[data-term-slug="5"]:before,
.term[data-term-slug="4"]:before,
.term[data-term-slug="3"]:before,
.term[data-term-slug="2"]:before,
.term[data-term-slug="1"]:before{
  content: '';
  height: 18px;
  /*background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="21" height="18"><image width="17" height="18" xlink:href="data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJzdGFyIiBjbGFzcz0idy00IHRleHQteWVsbG93LTUwMCBtci0xIiByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDU3NiA1MTIiPgo8cGF0aCBmaWxsPSIjZjU5ZTBiIiBkPSJNMjU5LjMgMTcuOEwxOTQgMTUwLjIgNDcuOSAxNzEuNWMtMjYuMiAzLjgtMzYuNyAzNi4xLTE3LjcgNTQuNmwxMDUuNyAxMDMtMjUgMTQ1LjVjLTQuNSAyNi4zIDIzLjIgNDYgNDYuNCAzMy43TDI4OCA0MzkuNmwxMzAuNyA2OC43YzIzLjIgMTIuMiA1MC45LTcuNCA0Ni40LTMzLjdsLTI1LTE0NS41IDEwNS43LTEwM2MxOS0xOC41IDguNS01MC44LTE3LjctNTQuNkwzODIgMTUwLjIgMzE2LjcgMTcuOGMtMTEuNy0yMy42LTQ1LjYtMjMuOS01Ny40IDB6Ij48L3BhdGg+Cjwvc3ZnPg==" /></svg>');*/
  background-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="star" class="w-4 text-yellow-500 mr-1" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>');
  background-repeat: repeat-x;
  display: block;
  position: absolute;
  color:rgba(245, 158, 11, var(--tw-text-opacity));
  left: 21px;
  top: 0px;
  background-position: left;

}
.term[data-term-slug="5"]:before {
  width: 101px;
}
.term[data-term-slug="4"]:before {
  width: 81px;
}
.term[data-term-slug="3"]:before {
  width: 60px;
}
.term[data-term-slug="2"]:before {
  width: 41px;
}
.term[data-term-slug="1"]:before {
  width: 18px;
}

.term[data-term-slug="5"] .ep-checkbox,
.term[data-term-slug="4"] .ep-checkbox,
.term[data-term-slug="3"] .ep-checkbox,
.term[data-term-slug="2"] .ep-checkbox, 
.term[data-term-slug="1"] .ep-checkbox{
  font-size: 16px;
}
.term[data-term-slug="5"],
.term[data-term-slug="4"],
.term[data-term-slug="3"],
.term[data-term-slug="2"],
.term[data-term-slug="1"] {
  position: relative;
}

/* End - Adding stars in the sidebar */

/* Styling the sidebar */

.custom-widget-title {
  font-family: "Montserrat", normal;
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: #000;
  color: #fff;
  text-transform: uppercase;
  padding-left: 10px;
  margin-bottom: 11px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 800;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-right: 10px;
  margin-top:20px;
  margin-top: 13px;
}
.custom-widget-title:after {
  content: '+';
  font-weight: 800;
  font-size:18px;
}
.custom-widget-title.active:after {
  content: '-';
}
.custom-widget-title ~ div {
  margin-top: 14px;
}
.terms.searchable .facet-search {
  letter-spacing: 0.05em;
  font-size: 14px;
}
.terms.searchable a {
  font-family: 'Montserrat';
  font-size: 15px;
  margin-bottom: 7px;
  font-weight: 500;
}
.terms.searchable .ep-checkbox {
  font-size: 17px;
}
.terms.searchable .inner {
  overflow-y: scroll;
  overflow-x: hidden;
}
.sidebar-enter-transition{
  max-height:500px;
  transition: all .4s ease;
}
.sidebar-leave-transition{
  max-height:0px;
  transition: all .4s ease;
}
.custom-widget-title ~ div {
  overflow: hidden;
}
/* End - Styling the sidebar */

/* Add a mobile-only sidebar*/

#sidebar-mobile-widget-area {
  display: none;
}
@media only screen and (max-width: 768px) {
  #secondary{
    display:none;
  }
  #sidebar-mobile-widget-area {
    display: block;
  }
}

#sidebar-mobile-widget-area .inner , #sidebar-mobile-widget-area input{
  margin-left: 17px;
  }
  #sidebar-mobile-widget-area .custom-widget-title {
  padding-left: 20px;
  }

/* End - Add a mobile-only sidebar */

/* End - Monica - Codeable */

@media only screen and (min-width: 768px) {
  .single-vkl #page {
    background:url('assets/img/Rustica-Episodi-Tapetti_uusi.jpg') no-repeat center 276px #000;
  }
  .post-type-archive-vkl #page {
    background:url('assets/img/Rustica-Episodi-Tapetti_uusi.jpg') no-repeat center 276px #000;
  }
}

/* korjaa prose luokan bbw rikkovan määrittelyn */
.prose video {
  margin-top:0!important;
  margin-bottom:0!important;
}
.bb-clickthrough img, .bb-controls-layer img {
  margin-top:0!important;
  margin-bottom:0!important;
}


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

.star {
  width: 24px; /* Adjust size as needed */
  height: 24px; /* Adjust size as needed */
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 2px; /* Adjust spacing between stars as needed */
}

.star-small {
  width: 18px; /* Adjust size as needed */
  height: 18px; /* Adjust size as needed */
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 2px; /* Adjust spacing between stars as needed */
}

.full-star {
  background-image: url('assets/img/mz_rotate_star.svg');
}

.empty-star {
  background-image: url('assets/img/mz_star_bright_off-ae020d97eb66253d2737fe534659ca45.svg');
}

.float-left {
  float: left;
  margin-right: 16px; /* Adjust spacing as needed */
  margin-bottom: 16px; /* Adjust spacing as needed */
}

.post-content::after {
  content: "";
  display: table;
  clear: both;
}
.no-margin-img {
  margin-top: 0.5em !important;
  margin-bottom: 0 !important;
}