/*
Theme Name: Earton Media Transparens
Theme URI: https://wonderfour.se
Author: WONDERFOUR W4 Webbyrå Stockholm
Author URI: https://wonderfour.se/
*/


@font-face {
	font-family: 'Roboto-Regular';
	src: url('fonts/Roboto-Regular.eot');
	src: url('fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
		url('fonts/Roboto-Regular.woff2') format('woff2'),
		url('fonts/Roboto-Regular.woff') format('woff'),
		url('fonts/Roboto-Regular.ttf') format('truetype'),
		url('fonts/Roboto-Regular.svg#Roboto-Regular') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto-Medium';
	src: url('fonts/Roboto-Medium.eot');
	src: url('fonts/Roboto-Medium.eot?#iefix') format('embedded-opentype'),
		url('fonts/Roboto-Medium.woff2') format('woff2'),
		url('fonts/Roboto-Medium.woff') format('woff'),
		url('fonts/Roboto-Medium.ttf') format('truetype'),
		url('fonts/Roboto-Medium.svg#Roboto-Medium') format('svg');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto-Bold';
	src: url('fonts/Roboto-Bold.eot');
	src: url('fonts/Roboto-Bold.eot?#iefix') format('embedded-opentype'),
		url('fonts/Roboto-Bold.woff2') format('woff2'),
		url('fonts/Roboto-Bold.woff') format('woff'),
		url('fonts/Roboto-Bold.ttf') format('truetype'),
		url('fonts/Roboto-Bold.svg#Roboto-Bold') format('svg');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}


/**
 * Table of Contents:
 * -----------------------------------------------------------------------------
 */

/**
 * 1.0 Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine
 * work of Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal
 * http://necolas.github.com/normalize.css/ and Blueprint
 * http://www.blueprintcss.org/
 *
 * -----------------------------------------------------------------------------
 */
 
 
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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	font-variant-ligatures: none;
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

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

audio,
canvas {
	display: inline-block;
	max-width: 100%;
}

html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body,
button,
input,
textarea {
	border:none;
	color: black;
	font-size: 18px;
	letter-spacing: 0.05em;
	line-height: 1.5;
	-webkit-appearance: none;
	border-radius: 0;
}
input[type="radio"]{
	-webkit-appearance: radio;
}

body {
	background-color: #e9ecea;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: 'Roboto-Regular';
	font-weight: 400;
	font-size: 16px;
	line-height: 18px;
	position: relative;	
	-webkit-font-feature-settings: 'lnum';
	-moz-font-feature-settings: 'lnum';
	-ms-font-feature-settings: 'lnum';
	padding-top: 0px;
	color: black;
	
}

a {
	color: #000;
	text-decoration: none;
}

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}

a:active,
a:hover {
	
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin: 36px 0 12px;
}

h1 {
	font-size: 26px;
	line-height: 1.3846153846;
}

h2 {
	font-size: 24px;
	line-height: 1;
}

h3 {
	font-size: 22px;
	line-height: 1.0909090909;
}

h4 {
	font-size: 20px;
	line-height: 1.2;
}

h5 {
	font-size: 18px;
	line-height: 1.3333333333;
}

h6 {
	font-size: 16px;
	line-height: 1.5;
}

address {
	font-style: italic;
	margin-bottom: 24px;
}

abbr[title] {
	border-bottom: 1px dotted #2b2b2b;
	cursor: help;
}

b,
strong {
	font-family: 'Roboto-Bold',sans-serif;
}

cite,
dfn,
em,
i {
	font-style: italic;
}

mark,
ins {
	text-decoration: none;
}

p {
	margin-bottom: 24px;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: monospace, serif;
	font-size: 15px;
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	line-height: 1.6;
}

pre {
	border: 1px solid rgba(0, 0, 0, 0.1);
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	margin-bottom: 24px;
	max-width: 100%;
	overflow: auto;
	padding: 12px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	quotes: none;
}

small {
	font-size: smaller;
}

big {
	font-size: 125%;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

dl {
	margin-bottom: 24px;
}

dt {

}

dd {
	margin-bottom: 24px;
}

ul,
ol {
	list-style: none;
	margin: 0 0 24px 20px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin: 0 0 0 20px;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}

figure {
	margin: 0;
}

fieldset {
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 0 24px;
	padding: 11px 12px 0;
}

legend {
	white-space: normal;
}

button,
input,
select,
textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
	color: white;
	background-color: black;
}

button,
input {
	line-height: normal;
}

.flex-holder {
	display: flex;
}


button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="radio"] {
	padding: 0;
}

input[type="checkbox"]{
	-webkit-appearance: checkbox;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

table,
th,
td {
	border: 1px solid rgba(0, 0, 0, 0.1);
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin-bottom: 24px;
	width: 100%;
}

caption,
th,
td {
	text-align: left;
}

th {
	border-width: 0 1px 1px 0;
}

td {
	border-width: 0 1px 1px 0;
}

del {
	color: #767676;
}

hr {
	background-color: #c7c6bd;
	border: 0;
	height: 1px;
	margin-bottom: 20px;
}

::selection {
	background: #000;
	color: #fff;
	text-shadow: none;
}

::-moz-selection {
	background: #000;
	color: #fff;
	text-shadow: none;
}

/**
*TRANSITIONS
*/
.bgtransition{
	-webkit-transition : background 150ms ease-out;
	  -moz-transition : background 150ms ease-out;
	  -o-transition : background 150ms ease-out;
	  transition : background 150ms ease-out;
}
.widthtransition{
	-webkit-transition : width 250ms ease-out;
	  -moz-transition : width 250ms ease-out;
	  -o-transition : width 250ms ease-out;
	  transition : width 250ms ease-out;
}
.heighttransition{
	-webkit-transition : height 250ms ease-out;
	  -moz-transition : height 250ms ease-out;
	  -o-transition : height 250ms ease-out;
	  transition : height 250ms ease-out;
}
.bgcolortransition{
	-webkit-transition : background-color 250ms ease-out;
	  -moz-transition : background-color 250ms ease-out;
	  -o-transition : background-color 250ms ease-out;
	  transition : background-color 250ms ease-out;
}
.colortransition{
	-webkit-transition : color 250ms ease-out;
	  -moz-transition : color 250ms ease-out;
	  -o-transition : color 250ms ease-out;
	  transition : color 250ms ease-out;
}
.bordercolortransition{
	-webkit-transition : border-color 250ms ease-out;
	  -moz-transition : border-color 250ms ease-out;
	  -o-transition : border-color 250ms ease-out;
	  transition : border-color 250ms ease-out;
}

.opacitytransition{
	-webkit-transition : opacity 250ms ease-out;
	  -moz-transition : opacity 250ms ease-out;
	  -o-transition : opacity 250ms ease-out;
	  transition : opacity 250ms ease-out;
}
.toptransition{
	-webkit-transition : top 250ms ease-out;
	  -moz-transition : top 250ms ease-out;
	  -o-transition : top 250ms ease-out;
	  transition : top 250ms ease-out;
}


/**
 * 2.0 Repeatable Patterns
 * -----------------------------------------------------------------------------
 */

input,
textarea {
	background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0));
	text-align: left;
	border-style: none;
	color: #000;
	padding: 10px 18px 10px;
	padding-left: 18px;
	padding-right: 18px;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.1em;
	border: solid 2px #dadada;
	text-transform: left;
	background: none;
	font-family: 'Roboto-Regular';
	font-weight: 600;
	background-color: white;
}

textarea {
	width: 100%;
	line-height: 16px;
}

input:focus,
textarea:focus {
	outline: 0;
}

button,
.button,
.entry-content .button,
.wpcf7-submit,
input[type="submit"],
input[type="button"],
input[type="reset"]{
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 0em;
	padding: 12px 25px 12px;
	border:none;
	cursor: pointer;
	background-color: #e30613;
	color: white;
	vertical-align: bottom;
	display: inline-block;
	  border-color: #e30613;
	  position: relative;
	font-family: 'Roboto-Regular',sans-serif;	
	font-weight: 600;
}
button:hover,
.button:hover,
.entry-content .button:hover,
.wpcf7-submit:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover{
	color: #e30613;
	background-color: #FFF;
	border-color: #FFF;
}

.button.nobg{
	color: #000;
	background-color: transparent;
	border-color: #cfd2d7;
	min-width: 140px;
}
.button.nobg:hover{
	background-color: inherit;
	border-color: #cfd2d7;
	color: #e30613;
}

.button.to-home {
	box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05);
	border-radius: 5px;
	color: #000;
	background: #f0efe7;
	padding: 20px 60px 16px;
	margin-top: 20px;
	margin-bottom: 40px;
	border: 1px solid transparent;
}

.button.to-home:hover {
	background: #FFF;
	color: #e30613;
	border: 1px solid #f0efe7;
}

.button.red{
	background-color: #e30613;
	color: white;
	border-color: #e30613;
}
.button.red:hover{
	color: #e30613;
	background-color: white;
	border-color: #000;
}

.button.outlinehover:before{
	content: '';
	position: absolute;
	border: #e7e7e8 solid 2px;
	top: -2px;
	right: -2px;
	bottom: -2px;
	left: -2px;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
	-webkit-transition-property: top, right, bottom, left;
	transition-property: top, right, bottom, left;
}
.button.outlinehover:hover:before{
	top: -9px;
	right: -9px;
	bottom: -9px;
	left: -9px;
}


button:active,
.button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: #000;
}


::-webkit-input-placeholder {
	color: #000;
}

::-moz-placeholder {
	color: #000;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #000;
}

.comment-content img,
.entry-content img,
.entry-summary img,
#site-header img,
.widget img,
.wp-caption {
	max-width: 100%;
	height: auto;
}

.entry-content .embed-container iframe {
	max-width: 100%;
}

.comment-content img[height],
.entry-content img,
.entry-summary img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
#site-header img {
	height: auto;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
	height: auto;
	max-width: 100%;
}

embed,
iframe,
object {
	margin-bottom: 0px;
	max-width: 100%;
}

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
	margin-bottom: 0;
}


.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}


.wp-smiley {
	border: 0;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}


/* =========================
   Index – formulär per säljare
   ========================= */

.index-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 16px;
  min-height: 70vh;
}

.index-header {
  margin-bottom: 32px;
}

.index-header h1 {
  margin: 0 0 8px;
}

.seller-block {
	background-color: white;
	cursor: pointer;
	display: block;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px 22px;
  margin-bottom: 22px;
}
.seller-block:hover {
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.64);
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.64);
	-moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.64);
}

.seller-header {
  margin-bottom: 5px;
}

.seller-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.seller-email {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 0;
}

.formular-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.formular-item {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.formular-item:last-child {
  border-bottom: none;
}

.formular-item a {
  text-decoration: none;
  font-weight: 500;
}


/* =========================
   Header / Footer
   ========================= */

.site-header {
	background-color: #3d1f36;
    border-bottom: 1px solid #e5e5e5;
	color: white;
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

.site-nav a {
  margin-left: 14px;
  text-decoration: none;
  opacity: 0.9;
}

.site-footer {
  border-top: 1px solid #e5e5e5;
  background-color: #3d1f36;
  color: white;
  margin-top: 40px;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 16px;
  padding-bottom: 10px;
  font-size: 0.9rem;
  opacity: 0.85;
  position: relative;
}
.site-footer__inner img {
	position: absolute;
	width: 80px;
	height: auto;
	right: 0;
	top: 20px;
}




.wf-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px;
}

.wf-header h1 {
  margin-bottom: 8px;
}

.wf-content {
  margin-bottom: 18px;
}

.wf-alert {
  padding: 12px 14px;
  border: 1px solid;
  margin: 14px 0;
  border-radius: 5px;
}

.wf-alert--error {
  border-color: #b00020;
}

.wf-alert--success {
  border-color: #1b5e20;
}

.wf-add-more {
  margin-top: 12px;
}

.wf-add-more a {
  text-decoration: underline;
  font-weight: 500;
}

.wf-form {
  margin-top: 14px;
}

.wf-field {
  margin-bottom: 16px;
}

.wf-field label {
  display: block;
  font-family: 'Roboto-Bold';
  margin-bottom: 6px;
}

.wf-required {
  color: #b00020;
}

.wf-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.wf-field .wf-radio{
	clear: both;
}
.wf-field .wf-radio input{
	display: inline-block;
	width: auto;
}

select{
	padding: 10px 10px;
	border: 1px solid #ccc;
	background-color: white;
	border-radius: 5px;
	color: black;
}

.wf-help {
  display: block;
  margin-top: 6px;
  opacity: 0.85;
}

.wf-error {
  margin-top: 6px;
  color: #b00020;
  font-size: 0.95em;
  min-height: 1.2em;
}

.wf-field--has-error input {
  border-color: #b00020;
}

.wf-btn {
  padding: 15px 24px;
  border: 1px solid #333;
  font-size: 20px;
  line-height: 22px;
  background: black;
  border-radius: 5px;
  cursor: pointer;
  color: white;
  font-family: 'Roboto-Bold';
}

/* =========================
   Visningsperiod (start/slut)
   ========================= */

.wf-field--period .wf-period-row {
  display: flex;
  gap: 12px;
}

.wf-period-col {
  flex: 1;
}

.wf-period-col input {
  width: 100%;
}


/* =========================
   Transparens – single post
   ========================= */

.tp-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 16px;
}

.tp-article {
  border: 1px solid #ddd;
  background-color: white;
  border-radius: 5px;
  padding: 28px 28px 24px;
}

.tp-header {
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 20px;
  padding-bottom: 14px;
}

.tp-title {
  margin: 0 0 6px;
  font-size: 1.8rem;
}

.tp-meta {
  font-size: 0.9rem;
  opacity: 0.8;
}

.tp-content h2 {
  margin: 0 0 16px;
  font-size: 1.3rem;
}

.tp-definition-list {
  margin: 0;
}

.tp-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.tp-row:last-child {
  border-bottom: none;
}

.tp-row dt {
  font-weight: 600;
}

.tp-row dd {
  margin: 0;
}

.tp-footer {
  margin-top: 24px;
  font-size: 0.9rem;
  opacity: 0.85;
}


/* =========================
   Index – transparensposter
   ========================= */

.transparens-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.transparens-item {
  border-bottom: 1px solid #eee;
}

.transparens-item:last-child {
  border-bottom: none;
}

.transparens-link {
  display: block;
  background-color: white;
  cursor: pointer;
	display: block;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 10px 22px;
  text-decoration: none;
  margin-bottom: 10px;
}
.transparens-link:hover{
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.64);
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.64);
	-moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.64);
}

.transparens-title {
  font-weight: 600;
}

.transparens-annonsor {
  opacity: 0.85;
  margin-left: 4px;
}