

/* Site */

html {
	--gutter-width: 16px;
	--gutter-half-width: 8px;
}

body {
	font-family: "inter", sans-serif;
	font-size: 18px;
	line-height: 26px;
	background-color: #171717;
	color: #D1D0D0;
}

.site {
	padding-left: 4px;
	padding-right: 4px;
}

/* Links */

a {
	color: #D1D0D0;
}

a:hover {
	text-decoration: underline;
	color: #D1D0D0;
}

a:active {
	text-decoration: underline;
	color: #D1D0D0;
}

/* Header */

header.site-header {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	padding-top: var(--gutter-width);
	z-index: 100000000;
	// background: linear-gradient(rgba(23,23,23,0.5) 0%, rgba(0,0,0,0) 100%);
}

/*header::after {
	content: "";
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 15px;

	background: linear-gradient(rgba(23,23,23,0.65) 0%, rgba(0,0,0,0) 100%);
}*/

/* Inputs */

input {
	-webkit-appearance: none;
	border-radius: 0;
	border: 1px solid #D1D0D0;
	font-family: inherit;
	padding: 1em 1em;
	max-width: 165px;
	font-size: 18px;
	background-color: transparent;
	color: #D1D0D0;
	text-align: center;
}

input[type=submit]:hover,
input[type=submit]:focus {
	background-color: #D1D0D0;
	color: #171717;
}

input:focus {
	outline: 1px dotted rgba(0, 0, 0, 0.3);
}

/* Password */

body.password-protected {
	overflow: hidden;
}

body.password-protexted .site {
	display: none;
}

.password-prompt,
.password-prompt-inner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100vh;
	z-index: 10000;
	background-color: #171717;
}

/* Typography */

h1, h2, h3, h4, h5, h6, p, ul {
	font-size: 18px;
	line-height: 26px;
	font-weight: 300;
	margin-top: 0;
	margin-bottom: var(--gutter-width);
}

/* Mobile */
@media (max-width: 768px) {
	h1, h2, h3, h4, h5, h6, p, ul {
		font-size: 15px;
		line-height: 22px;
	}
}

h2 {
	text-transform: uppercase;
}

h2 + p {
	margin-top: calc(var(--gutter-width) * -1);
}

ul + h2 {
	margin-top: 30px;
}

ul {
	list-style: none;
	padding-left: 0;
}

ul li {
	margin-bottom: 8px;
}

/*p.medium {
	font-size: 18px;
}*/

/*.shadow {
	text-shadow: 0px 0px 30px rgba(23,23,23,0.5);
}*/

p.small,
small {
	font-size: 15px;
}

p.small,
small {
	line-height: 22px;
}

small.x-small {
	font-size: 13px;
	/* line height funkar inte här eftersom small bara är "inline" inuti ett block, blocket bestämmer radhöjden */
}

p.x-small {
	font-size: 13px;
	line-height: 20px; /* line height funkar här för att det är en paragraph som är ett block */
}


/* Mobile */
@media (max-width: 768px) {
	p.small,
	small {
		font-size: 13px;
	}

	p.small {
		line-height: 20px;
	}

	small.x-small {
		font-size: 11px;
	}
}

.divider {
	height: 10vw;
}

.small-divider {
	height: 9vw;
}

@media (max-width: 768px) {
	.divider {
		height: 25vw;
	}

	.small-divider {
		height: 21vw;
	}
}

/* Sections */

@media (min-width: 767px) {
	section {
		margin-bottom: var(--gutter-width);
	}
}

/* Text */

/* Image/Video */

.image,
.video {
}

@media (max-width: 768px) {
	.image,
	.video {
		margin-bottom: var(--gutter-width);
	}
}

.image-fluid,
.video-fluid {
	display: block;
	width: 100%;
	height: auto;
}

/* Slider */

.slider {
	position: relative;
}

.slider .image,
.slider .video {
	margin-bottom: 0 !important;
}

@media (max-width: 768px) {
	.slider {
		margin-bottom: var(--gutter-width);
	}
}

.slider[class^='content-'] .swiper-container,
.slider[class*=' content-'] .swiper-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Embed */

@media (max-width: 768px) {
	.embed {
		margin-bottom: var(--gutter-width);
	}
}

/* Content */

@media (max-width: 768px) {
	.content-f-16-9-mobile {
		padding-bottom: 56.25%;
	}

	.content-f-4-3-mobile {
		padding-bottom: 75%;
	}

	.content-f-1-1-mobile {
		padding-bottom: 100%;
	}

	.content-f-3-4-mobile {
		padding-bottom: 133.33%;
	}
}

@media (min-width: 767px) {
	.content-h-50-desktop {
		height: calc(50% - var(--gutter-half-width));
		padding-bottom: 0;
	}

	.content-h-100-desktop {
		height: 100%;
	}

	.content-h-50-desktop + .content-h-50-desktop {
		margin-top: var(--gutter-width);
	}
}

/* Helpers */

.nowrap {
	white-space: nowrap;
}

.bg-cover {
	background-size: cover;
	background-position: center;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

/*@media (max-width: 768px) {
	.text-center,
	.text-right {
		text-align: left;
	}
}*/

/* Bootstrap */

.container {
	padding-left: var(--gutter-half-width);
	padding-right: var(--gutter-half-width);
}

.row {
	margin-right: calc(-1 * var(--gutter-half-width));
	margin-left: calc(-1 * var(--gutter-half-width));
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
	padding-left: var(--gutter-half-width);
	padding-right: var(--gutter-half-width);
}

button {
    appearance: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: 15px;
    line-height: inherit;
    color: #D1D0D0;
    background-color: #171717;
    
}

button { outline: none !important; }
 
.expandable-content:not(.active) .expandable-content-inner {
    position: relative;
    height: 100%;
    max-height: 120px;
    overflow: hidden;
    cursor: pointer;
}
 
.expandable-content:not(.active) .expandable-content-inner::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 150px;
    z-index: 1;
    background: linear-gradient(0deg, rgba(23, 23, 23,1) 10%, rgba(23, 23, 23, 0) 100%);
}
 
button[data-action="toggle-expandable-content"] span { 
    display: none; 
}
 
button[data-action="toggle-expandable-content"]:not(.active) span[data-state="initial"] {
    display: inline-block;
}
 
button[data-action="toggle-expandable-content"].active span[data-state="active"] {
    display: inline-block;
}
