/*   
Theme Name: Ei landling page Theme
Theme URI: https://landingpage.eborninteractive.se
Description: The official  Ei landling page Wordpress Theme
Author: Ola Eborn
Author URI: https://eborninteractive.se
Version: 1.0
*/

/* CSS Document */

/* 

Färger:



*/

@font-face {
    font-family: 'SF Pro Display Bold';
    src: url('fonts/SF-Pro-Display-Bold.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display Regular';
    src: url('fonts/SF-Pro-Display-Regular.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display Light';
    src: url('fonts/SF-Pro-Display-Light.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
}



* {
	box-sizing:border-box;
	-moz-box-sizing:border-box;
}

:root {
	--svart: #121212;
	--vit: #fff;
	--spotifygron: #20d760;
	--gul: #fec813;
	--border:#555;
}

body {
	background:var(--vit);
	color:var(--svart);
	padding:0;
	font-family:Helvetica ,Arial,  sans-serif;
	line-height:1.5;
	font-size:18px;
	margin: 0;
}

body.single {
	background:#0D0D0D;
	color:var(--vit);	
}

/*body.home {
	margin-top: -8vh;
	background:var(--svart);
	color:var(--vit);
}*/

h1,h2,h3,h4,h5,h6 {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong, h1 b, h2 b, h3 b, h4 b, h5 b, h6 b {
	/*font-weight:normal;*/
}

#page-wrap {
	width:100%;
	position:relative;
	overflow: hidden;
}

.inner-content {
	margin:0 auto;
	max-width:1000px;
	width:90%;
	position:relative;
}

header {
	
}

.preloader {
	position: fixed;
	width: 50px;
	height: 50px;
	top: calc(50% - 20px);
	left: calc(50% - 20px);
	z-index: 10;
}

#main-content {
	margin: 40px 0;
	position: relative;
}

.page-template-template-startpage #main-content, .single-submission #main-content  {
	margin: 0;
}

#main-content .inner-content {
	
}

footer {
	
}

/*.home #page-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
}*/

select {
	height: 50px;
	font-size: 16px;
	border-radius: 5px;
	padding: 0 15px;
	-webkit-appearance: none;
}

.statistik-data-container {
	margin: 30px 0 0 0;
	position: relative;
}

.statsheader {
	position: absolute;
	right:0;
	top:-115px;
	display: flex;
	font-size: 15px;
}

.statsheader .time {
	margin-right: 10px;
	position: relative;
	padding-left: 20px;
}

.statsheader .time:before {
	content:url(images/ikon_visits.svg);
	position: absolute;
	width: 19px;
	top: 0px;
	left: 0;
}

.statsheader .trend {
	position: relative;
	padding-left: 14px;
}

.statsheader .trend:before {
	content:url(images/ikon_up.svg);
	position: absolute;
	width: 13px;
	top: 3px;
	left: 0;
}

.statsheader .trend.down:before {
	transform: rotate(180deg);
	top: -3px;
}


.statistik-data-container .header {
	display: flex;
	padding: 8px 25px 8px 25px;
	background: #fec813;
	align-items: center;
	justify-content: space-between;	
	margin-bottom: 8px;
	font-size:16px;
}

.statistik-data-container .data .col-item {
	padding: 12px 25px 12px 25px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--border);
	position: relative;
}

.statistik-data-container .data .col-item.land {
	cursor: pointer;
}


.col {
	position: relative;
}



.col.place a {
	color: inherit !important;
}

.col.place a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.statistik-data-container .data .col-item.land:before {
	content:url(images/downarrow.svg);
	transform:rotate(-90deg);
	width: 15px;
	position: absolute;
	left: 0;
	top: 11px;
	transition:0.3s all ease;
}

.statistik-data-container .data .col-item.land.active:before {
	transform:rotate(0);
}

.statistik-data-container .totalt {
	align-items: flex-end;
	justify-content: space-between;
	margin: -10px 0 5px 0;
	display: flex;
}

.statistik-data-container .totalt .col {
	padding: 0 0 15px 0;
}

.statistik-data-container .totalt .tot {
	font-size: 45px;
	font-weight: 550;
	padding: 0 12px 0 0;
}

.sub-columns .col-item {
	background: #f7f7f7;
}

.sub-columns {
	display: none;
}

.statistik-data-container .nodata {
	font-size: 32px;
	color: #999;
	margin-top: 40px;
	font-weight:300;
	text-align: center;
}

.streamchart {
	margin-top: 70px;
}

.streamchart h2 {
	margin-bottom: 40px;
}


/* landningssida */
.landningssida {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
}

.bgimage {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.albumcover {
	padding: 30px 30px 10px 30px;
}

.selectbox {
	width: 90%;
	max-width: 400px;
	background: rgba(13,13,13,0.8);
	backdrop-filter: blur(5px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.7);
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	z-index: 2;
}

.whitetheme .selectbox {
	background: rgba(253,253,253,1);
}

.copyright {
	text-align: center;
	font-size: 13px;
	margin: 25px 0 -25px 0;
}

.copyright a {
	color: inherit;
}

.copyright a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.whitetheme .copyright {
	color: #bbb;
}

.whitetheme .selectbox .title {
	color: var(--svart);
}

.selectbox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1px;
  height: 100%;
  width: 1px; /* Thickness of the border */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.10)); 
  border-radius	2px;
}

.selectbox::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  width: 100%;
  height: 1px; /* Thickness of the border */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1)); /* Gradient definition */
}

.button {
	display: flex;
	padding: 40px;
	font-family: 'SF Pro Display Bold',Helvetica ,Arial,  sans-serif;
}

video, .bgimage img {
	object-fit:cover;
	width: 100%;
	height: 100%;
}

.titlesection {
    padding: 5px 30px 20px 30px;
    color: var(--vit);
    font-size: 15px;
}

.titlesection .artist {
	font-family: 'SF Pro Display Regular',Helvetica ,Arial,  sans-serif;
	color: #888;
}

.titlesection .title {
	 font-family: 'SF Pro Display Bold',Helvetica ,Arial,  sans-serif;
	font-size: 28px;
	line-height: 1.15;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.selectbuttons {
    padding: 0 30px 40px 30px;
}

.selectbuttons .button {
	border: 1px solid #444;
	border-radius: 3px;
	padding: 12px 10px 0 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	margin-bottom: 5px;
	height: 67px;
	transition:0.3s all ease;
}

.whitetheme .selectbuttons .button {
	background: var(--vit);
	border: 1px solid #ddd;
}

/*.landningssida:not('.whitetheme') .selectbuttons .button:hover {
	background: rgba(255,255,255,0.07);
}*/

.selectbuttons .button:last-child {
	margin-bottom: 0;
}

.selectbuttons .button .logo {
	width: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.selectbuttons .button .logo.spotify {
	padding-top: 3px;
}

.selectbuttons .button .logo.applemusic {
	margin-top: -15px;
	margin-left: 7px;
	width: 84px;
}

.selectbuttons .button .logo.youtube {
	margin-top: -15px;
	margin-left: 8px;
}

.selectbuttons .button .btn {
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.15);
	color: #ddd;
		border-radius: 25px;
	padding: 6px 45px 6px 25px;
	font-weight: 800;
	text-transform: uppercase;
	margin-top: -11px;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	transition:0.3s all ease;
}

.whitetheme .selectbuttons .button .btn {
	background: #000;
	color: #fff;
	border-radius: 25px;
}


.selectbuttons .button .btn:after {
	content:url(images/play-symbol.svg);
	width: 18px;
	position: absolute;
	right: 15px;
	top: 9px;
	opacity: 0.7;
	transition:0.3s all ease;
}

.landningssida:not('.whitetheme') .selectbuttons .button:hover .btn {
	background: rgba(255,255,255,0.2);
	border: 1px solid rgba(255,255,255,0.25);
	color: #fff;
}

.selectbuttons .button:hover .btn:after {
	opacity: 1;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #222;
	z-index: 2;
}

.blur {
	filter: blur(30px);
}



/* tillägg extrastatistik */


.statistik-data-container .data .col-item.extraheight {
	padding: 25px 25px 8px 25px;
}

.statistik-data-container .data .col-item.extraheight.land:before {
    top: 16px;
}

.clickstats {
	position: absolute;
	right: 0;
	top: -20px;
	font-size: 13px;
	font-weight: 550;
	display: flex;
	gap: 10px;
}

.clickstats.totalcount {
	position: relative;
	top: unset;
	right: unset;
	font-size: 16px;
}

.extraheight .col.place {
    margin-top: -15px;
}

.clickstats div {
	position: relative;
	padding-left: 15px;
}

.clickstats div.apple-music {
	position: relative;
	padding-left: 15px;
}

.clickstats div.youtube {
	position: relative;
	padding-left: 19px;
}

.clickstats .spotify:before {
	content:url(images/spotify-symbol.svg);
	width: 12px;
	position: absolute;
	top: 1.5px;
	left: 0;
}

.totalt.columns .clickstats .spotify:before {
	top: 0;
}

.clickstats .apple-music:before {
	content:url(images/apple-symbol.svg);
	width: 13px;
	position: absolute;
	top: 1px;
	left: 0.5px;
}

.totalt.columns .clickstats .apple-music:before {
	top: 0;
}

.clickstats .youtube:before {
	content:url(images/youtube-symbol.svg);
	width: 16px;
	position: absolute;
	top: 2px;
	left: 0;
}

.totalt.columns .clickstats .youtube:before {
	top: 3px;
}

/* end tillägg extra statistik */
.page-template-template-startpage-php {
  background: linear-gradient(
    30deg,
    hsl(214deg 80% 4%) 0%,
    hsl(211deg 44% 7%) 8%,
    hsl(212deg 39% 10%) 16%,
    hsl(211deg 41% 13%) 24%,
    hsl(211deg 42% 15%) 32%,
    hsl(211deg 42% 15%) 40%,
    hsl(211deg 42% 15%) 48%,
    hsl(211deg 42% 15%) 57%,
    hsl(211deg 42% 15%) 65%,
    hsl(211deg 43% 13%) 74%,
    hsl(211deg 44% 11%) 83%,
    hsl(211deg 50% 8%) 92%,
    hsl(211deg 84% 5%) 100%
  );
}



.page-template-template-startpage-php main {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	height: 100vh;

}

.page-template-template-startpage-php main .inner-content {
	margin-bottom: 50px;
}

.page-template-template-startpage-php main .inner-content h1 {
	text-align: center;
	margin-top: 50px;
	margin-bottom: 30px;
	font-family: 'SF Pro Display Bold';
	background-image: linear-gradient(143deg, rgba(15,51,73,1) 0%, rgba(232,215,137,1) 44%, rgba(39,39,39,1) 100%);
    color: transparent;
    background-clip: text;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 1px;
}

.page-template-template-startpage-php main .inner-content .subtext {
	font-family: 'SF Pro Display Light';
	background-image: linear-gradient(143deg, rgba(15,51,73,1) 0%, rgba(232,215,137,1) 44%, rgba(39,39,39,1) 100%);
    color: transparent;	
     background-clip: text;
     text-align: center;
     letter-spacing: 0.5px;
     font-size: 24px;
     max-width: 800px;
     margin: 0 auto 0 auto;
     padding-bottom: 50px;
}

.backimage {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	opacity: 0.05;
}

.backimage img {
	width: 100%;
	height: 100%;
	object-fit:cover;
}

/* Single submission */



body.single.single-submission  {
	background: #0c0c0c !important;
}

body.single.single-submission .backimage {
	width: 100%;
	height: 100%;
	opacity: 0.1;
}

body.single.single-submission .top-section {
	background: #101d2a !important;
	position: relative;
}


.single-submission .inner-content {
	max-width: 1400px;
	color: #eee;
}

.single-submission .inner-content .gold:is(h1,h2,h3,h4,h5,h6) {
    background-image: linear-gradient(143deg, rgb(112 122 84) 0%, rgba(232, 215, 137, 1) 44%, rgb(210 57 57) 100%);
    color: transparent;
    background-clip: text;
}

.single-submission .inner-content .submission-group .gold:is(h1,h2,h3,h4,h5,h6), .single-submission .inner-content .submission-group .gold {
    background-image: linear-gradient(143deg, rgba(232, 215, 137, 1) 0%, rgb(112 122 84) 44%, rgb(210 57 57) 100%);
    color: transparent;
    background-clip: text;
}

.silver {
    background-image: linear-gradient(143deg, rgb(40, 40, 40) 25%, rgba(255, 255, 255, 1) 50%, rgb(40, 40, 40) 70%) !important;
    color: transparent;
    background-clip: text;
}

.single-submission .submission h3.silver {
    background-image: linear-gradient(143deg, rgb(130,130,130) 0%, rgba(210, 210, 210, 1) 35%, rgb(120, 120, 120) 100%) !important;
    color: transparent;
    background-clip: text;
}

.single-submission .inner-content :is(h1,h2,h3,h4,h5,h6) {
	color: #eee;
}

.single-submission #main-content .inner-content {
	padding: 40px 0 50px 0;
}

.single-submission .cols {
	display: flex;
	position: relative;
}

.single-submission .cols .col.left-col {
	width: 350px;
	border: 1px solid rgba(255,255,255,0.3);
}

.single-submission .cols .col.right-col {
	margin-left: 30px;
	flex:1;
	padding: 30px;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
}

.single-submission .cols .col.right-col h1 {
	font-size: 50px;
	font-weight: 50;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/*color: rgba(255,255,255,0.7);*/
}

.single-submission .preheading {
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: 4px;
	opacity: 0.7;
	font-size: 14px;
	margin-bottom: 40px;
	text-align: center;
}

.single-submission .submission-group {
	background: #000;
	padding: 20px 20px;
	border-radius: 5px;
	margin-bottom: 40px;
}

.single-submission .submission
{
	background: #000;
	padding: 20px 30px;
	background: #102432;
	margin-bottom: 3px;
	font-weight: 100;
	font-size: 14px;
	color: rgba(255,255,255,0.8);
	position:relative;
	transition:0.3s all ease;
}

.single-submission .submission:before
{
	content:"";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.03);
	z-index: 1;
	position: absolute;
	opacity: 0;
	transition:0.3s all ease;
}

.single-submission .submission:hover:before {
	opacity: 1;
}


.single-submission .submission.added {
	background:#616a4e;
}

.single-submission .submission.denied {
	background:#333;
}


.single-submission h2
{
	font-weight: 200;
}

.single-submission .submission h3
{
	font-size: 19px;
	font-weight: 600;
	/*text-transform: uppercase;*/
	margin-bottom: 7px !important;
}

.single-submission .submission .cols {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.single-submission .submission .cols .right-column {
	display: flex;
}

.statsvalue {
	margin-left: 15px;
	font-weight: 600;
}

.single-submission .submission .cols .right-column span {
	color: rgba(255,255,255,0.6);
	font-weight: normal;
}

.single-submission .submission a.contact, .single-submission .submission a.lyssningar {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	z-index: 5;
	position: relative;
	color: rgba(255,255,255,0.6);
}

.submission-group .heading-cols {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.submission-group .heading-cols .col.humandate {
	font-size: 14px;
	margin-right: 4px;
}

.songselect {
	position: absolute;
	z-index: 10;
	float: right;
	top: 0;
	right: 0;
	background: transparent;
	color: rgba(255,255,255,0.6);
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 3px;
	height: 35px;
	-webkit-appearance:none !important;
	font-size: 12px;
	
}
/* end single submission */

/* toplist */

body.page-template-template-topplista {
	background:#f1f1f1;
	font-family:"Figtree", Helvetica ,Arial,  sans-serif !important;
	line-height:1.5;
	font-size:18px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.page-template-template-topplista h1 {
	padding-top: 10px !important;
	margin-bottom: 10px;
}


.toplist {
	margin-top: 40px;
}

.toplist .song {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px 0 25px;
	background: #fff;
	margin-bottom: 8px;
	border-radius: 5px;
	position: relative;
}

.toplist .monitize {
    position: absolute;
    width: 24px;
    height: 24px;
    top: 7px;
    right: -13px;
    text-align: center;
    background: #f1f1f1;
    border-radius: 50%;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.toplist .monitize.dollar {
    font-size: 16px;
    color: var(--vit);
    background: var(--svart);
}

.toplist .cover {
	width: 90px;
}

.toplist .group {
	display: flex;
	align-items: center;
	justify-content: center;
}

.toplist .group.monetizing {
	margin-left: 7px;
}

.toplist .artist {
    margin-left: 30px;
    font-weight: 350;
}

.toplist .latnamn {
    font-weight: 550;
    font-size: 20px;
}

.toplist .artistnamn {
    font-size: 16px;
}

.toplist .number {
	padding: 11px 10px;
	line-height: 1;
	background: var(--spotifygron);
	border-radius: 50%;
	color: var(--vit);
	margin-left: -40px;
	text-align: center;
	margin-right: 10px;
	width: 40px;
	height: 40px;
	font-weight: 600;
}

.toplist .popcontainer {
	position: relative;
}

.toplist .popularity {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid transparent;
	background: #f4f4f4;
	text-align: center;
	line-height: 1;
	padding-top: 11px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
}

.toplist .popularity.streams {
    width: auto;
    height: auto;
    border-radius: 20px;
    padding: 6px 10px 4px 10px;
    cursor: pointer;
}

.toplist .popularity.peakpop {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background: #e7d5e5;
}

.toplist .popcontainer.notrising.peakvalue {
	cursor: pointer;
}

.artists {
	display: flex;
	gap:30px;
	margin: -70px 0 30px 0;
	align-items: center;
	justify-content: flex-end;
}

.artists .popartist {
    border-radius: 30px;
    overflow: hidden;
    background: #bcbcbc;
    display: flex;
    width: auto;
    align-items: center;
    justify-content: space-between;
    padding-right: 15px;
}

.artist-logo {
	width: 50px;
	border-radius: 50%;
	overflow: hidden;
}

.popnr {
	width: 40px;
	border-radius: 50%;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	color: var(--vit);
}

.fa.fa-user {
	display: inline-block;
	font-size: 17px;
	margin-right: 5px;
	margin-left: 4px;
}

.playlist-container {
	margin:-10px 0 30px 0;
	display: inline-block;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.playlist {
    border-radius: 30px;
    overflow: hidden;
    background: #bcbcbc;
    display: flex;
    width: auto;
    align-items: center;
    justify-content: space-between;
    padding-right: 15px;
    color: var(--vit);
}

.playlist .listname {
	white-space: nowrap;        /* Ingen radbrytning */
	overflow: hidden;           /* Dölj överskjutande text */
	text-overflow: ellipsis;    /* Visa "..." vid overflow */	
}

.streaming-box {
    border-radius: 30px;
    background: #bcbcbc;
    display: flex;
    width: auto;
    align-items: center;
    justify-content: space-between;
    padding-right: 8px;
    color: var(--vit);
    margin-left: 10px;
}

.streaming-box .streaming-icon {
	background: var(--svart);
	flex: 0 0 40px;
	height: 40px;
	padding:  6px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	display: flex;
}

.streaming-box .streaming-icon.dollar {
	padding: 5px 9px;
}


.streaming-count {
	font-size: 18px;
	padding-left: 8px;
	padding-right: 10px;
	font-weight: 500;
	flex: 1;
	cursor: pointer;
}

.monetizing .streaming-count {
	font-size: 18px;
	padding-left: 5px;
	padding-right: 7px;
	position: relative;
}

.monetizing .streaming-count:before {
    content: url(images/icon-in.svg);
    width: 20px;
    top: -20px;
    left: 10px;
    z-index: 1;
    position: absolute;
}

.monetizing .streaming-count.out:before {
    content: url(images/icon-out.svg);
}

.monetizing .streaming-count.sum:before {
    content: url(images/icon-sum.svg);
    left: 16px;
}

.greenback {
	background: var(--spotifygron) !important;
}

.flex {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.playlist .artist-logo {
	width: 40px;
}

.playlist .listname {
	width: auto;
	padding: 0 20px 0 10px;
}

.popularity.rising {
	background: #b6ecc1 !important;
}

.trendarrow {
	width: 20px;
	margin-right: 5px;
	opacity: 0;
}

.trendarrow.up {
	opacity: 0.2;
}

.trendarrow.down {
	opacity: 0.2;
	transform:rotate(180deg);
}

.streaming-box .trendarrow {
	opacity: 1 !important;
}

.tabs-section {
	background: #444;
	height: 45px;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
}

#topplista_streams {
	margin-top: 0;
}

.page-template-template-topplista #main-content {
	margin-top: 0;
}
.page-template-template-topplista #main-content h1 {
	margin-top: 15px;
}

.tabs {
	display: flex;
}

.tabs .tab {
	padding: 8px 15px;
	background: #d9d9d9;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.tabs .tab.selected {
	background: #f1f1f1;
}

/* meta summary */
.meta-summary {
	margin: 40px 0;
}

.meta-summary .cols {
	display: flex;
}

.meta-summery tr th {
	text-align:left !important;
}

.meta-summary .cols .col {
	flex: 1;
}

.ad-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ad-card {
  flex: 1 1 calc(33.333% - 1rem); /* max 3 per rad med mellanrum */
  max-width: calc(33.333% - 1rem);
  background: transparent;
  padding: 1rem;
  border: 1px solid var(--border);
  box-sizing: border-box;
  position: relative;
}

.ad-card .badge {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background:#a1a1ff;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--vit);
	font-size: 28px;
	flex-direction: column;
	padding-top: 6px;
	font-family: 'SF Pro Display Bold';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.ad-card .badge.aktiv {
	background: var(--spotifygron);
}

.ad-card .badge span {
	display: block;
	font-size: 10px;
	text-transform: uppercase;
	margin-bottom: -10px;
}

.toppercent {
	font-size: 18px;
}

.daily-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.daily-card {
  flex: 1 1 calc(33.333% - 1rem);
  max-width: calc(33.333% - 1rem);
  background: #f1f1f1;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}


/* Jämför kampanj */
.table-wrapper {
	overflow-x:auto;
	max-width: 100vw;
}

.kampanjtabell {
  border-collapse: collapse;
  font-family: sans-serif;
}
.kampanjtabell th, 
.kampanjtabell td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: center;
}
.kampanjtabell th {
  padding: 12px 12px;
}
.kampanjtabell th {
  background: #a6e6bf;
}
.kampanjtabell td:first-child {
  font-weight: bold;
  text-align: left;
  background: #fafafa;
}

.kampanjtabell .spacer td {
  border: none;
  height: 15px; /* avståndet */
  background: #fff !important;
}

.kampanjtabell td.highlight {
  background: #aaffbe /* ljusgrön bakgrund */
}

.kampanjtabell tr td:first-child {
	font-size: 14px;
	font-weight: 400;
	width: 180px;
	background: #ededed;
}

.kampanjtabell td {
	width: 220px;
	font-size: 16px;
}

.kampanjtabell h2 {
	font-size: 18px;
	white-space: nowrap;       /* tvinga allt i en rad */
	overflow: hidden;          /* göm överflödig text */
	text-overflow: ellipsis;   /* visa "..." */
	display: block;            /* eller inline-block */
	width: 200px;   
	margin-bottom: 2px !important;
}

.kampanjtabell th {
	font-size: 15px;
	font-weight: 400;
}

.headingrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.page-template-template-compare .compare .inner-content {
	max-width: unset;
	width: 100%;
	margin-left: 30px;
}

.page-template-template-compare .headingrow {
	margin-bottom: 50px;
}

.headingrow div {
    margin-right: 20px;
    transform: translate(20px, 25px);
}

.headingrow a {
    color: inherit;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-template-template-topplista .headingrow div {
	margin-bottom: 40px;
}

/* Gör första kolumnen sticky */
.kampanjtabell th:first-child,
.kampanjtabell td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;            /* så den ligger ovanpå andra celler */
  background: #ededed;   /* bakgrund så att text inte överlappar */
}
.kampanjtabell thead th:first-child {
  z-index: 3;            /* högre än vanliga td:first-child */
}
/* end jämför kampanj */


@media (max-width: 900px) {
  .daily-card {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}
@media (max-width: 600px) {
  .daily-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


/* Dashboard layout – flytta gärna till ditt theme senare */
.campaign-dashboard {
  margin: 2rem 0 3rem;
}

.campaign-dashboard h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.campaign-dashboard .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.campaign-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  border: 1px solid #eee;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.campaign-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-color: #ddd;
}

.campaign-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.campaign-card .kampanjnamn {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.8rem;
}

.card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  font-size: 0.85rem;
}

.card-metrics .value {
  font-weight: 600;
  color: #222;
}

.card-metrics .label {
  opacity: 0.7;
}

/* badges */
.badge-rating {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.4rem;
}

.badge-svag {
  background: #ffecec;
  color: #b94a48;
}

.badge-okej {
  background: #fff8e5;
  color: #977015;
}

.badge-stark {
  background: #e7f8ec;
  color: #2f7a42;
}

.badge-mycket-stark {
  background: #e4f0ff;
  color: #235a97;
}

/* Scatter plot wrapper */
.scatter-wrapper {
  margin-top: 2rem;
  background: #fff;
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  border: 1px solid #eee;
  box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}

.scatter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.scatter-header h3 {
  margin: 0;
  font-size: 1rem;
}

.scatter-legend {
  font-size: 0.8rem;
  color: #777;
}

.scatter-canvas {
  width: 100%;
  max-width: 700px;
  height: 260px;
}


/* Tooltip for scatter */
.scatter-tooltip {
  position: absolute;
  pointer-events: none;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  transform: translate(-50%, -120%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.1s ease;
  z-index: 10;
}

/* small helper text */
.dashboard-subtitle {
  font-size: 0.85rem;
  color: #777;
  margin: 0 0 1.3rem;
}

/* end dashborad */


/* streams chart */
.streams-chart-icon {
	position: absolute;
	right: 0;
	top:-30px;
	width: 36px;
	padding: 5px;
	background: var(--vit);
	border-radius: 4px;
	cursor: pointer;
}

.chart-popup-container {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	z-index: 20;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events:none;
	transition:0.3s all ease;
	opacity: 0;
}

.chart-popup-container .canvas-container {
	height:100%;
	width: 100%;
	overflow-x: auto;
	overflow-y:hidden;
}

.chart-popup-container.show-chart-popup {
	pointer-events:auto;
	opacity:1;
}

.chart-popup .closebtn {
	position: absolute;
	right: 20px;
	top: 20px;
	width: 20px;
	cursor: pointer;
}

.chart-popup {
	background: var(--vit);
	border-radius: 4px;
	padding: 50px 30px 30px;
	position: relative;
	max-height: 800px;
	height: 80vh;
	width: 90%;
	max-width: 1500px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* end streams chart */
