@charset "utf-8";
/* CSS Document */

header, nav, article, aside, section, footer {
	display: block;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Open Sans', arial, sans-serif;
}

html {
	font-size: 16px;
	font-family: 'Open Sans', arial, sans-serif;
	background: #e6e6e6;
	color: #2b2b2b;
}

body {
	background: #fff;
	color: #2b2b2b;
	font-size: 16px;
	font-family: 'Open Sans', arial, sans-serif;
}

/*  Globala block och grunddesign */
#header, #huvudmeny, #wrapper, #footer {
	width: 100%;
	margin: 0 auto;
	padding: 20px;
}

.wrapper {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 50px;
	overflow-wrap: break-word;
}

#main {
	min-height: 60vh;
	margin: 40px 0;
}

/* Sidhuvudets block */
#header {
	position: fixed;
	width: 100%;
	height: 50px;
	padding: 5px;
	background: rgba(255,255,255,0.98);
	border-bottom: 1px solid #ccc;
	z-index: 10;
}

#logo_header {
	float: left;
	width: 32%;
}
#logo_header:hover {
	opacity: 0.6;
}

#header_padding {
	width: 100%;
	height: 50px;
}

/* Huvudmenyn */
#huvudmeny {
	float: right;
	width: 68%;
	color: initial;
	padding: 5px;
}

#huvudmeny ul {
	margin: 0;
	padding: 0;
	text-align: right;
}

#huvudmeny li {
	display: inline-block;
	list-style: none;
	margin: 0 5px;
}

#huvudmeny li ul {
	margin: 0 8px;
	background: #f2f2f2;
}

#huvudmeny a {
	display: block;
	padding: 4px 8px;
	color: initial;
	font-weight: bold;
}
#huvudmeny a:hover, #huvudmeny .aktiv {
	color: #f700ff;
	text-decoration: none;
}

#huvudmeny #cta_knapp {
	background: rgb(18,29,87);
	color: #fff;
}
#huvudmeny #cta_knapp:hover, #huvudmeny #cta_knapp.aktiv {
	background: #f700ff;
}

/* Mobilmenym */
#mobilmeny_lista {
	display: none;
}
#mobilmeny_knapp {
	display: none;
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 10000;
	width: 35px;
	height: 35px;
	padding: 5px;
	border-radius: 5px;
	background: #fff;
	border: 1px solid #a8a8a8;
	cursor: pointer;
}
#mobilmeny_knapp:hover {
	/*background: #fff1c5;*/
}

#knapplinjer {
	position: relative;
	width: 22px;
	height: 25px;
	padding: 0;
	box-sizing: border-box;
}
#knapplinje_1, #knapplinje_2, #knapplinje_3 {
	height: 2px;
	margin-bottom: 8px;
	background: #a8a8a8;
	opacity: 1;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.clicked #knapplinje_1 {
	margin-top: 10px;
	-webkit-transform: rotate(45deg);
	 transform: rotate(45deg);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.clicked #knapplinje_2 {
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	-moz-transition: opacity 0.3s;
	transition: opacity 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.clicked #knapplinje_3 {
	margin-top: -20px;
	-ms-transform: rotate(-45deg); /* IE 9 */
	-webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
	transform: rotate(-45deg);
	-webkit-transition: rotate 0.3s;
	-moz-transition: rotate 0.3s;
	transition: rotate 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}




/* Footerns CSS */
#footer {
	background: rgb(18,29,87);
	color: #fff;
}

#footer ul {
	margin: 0;
	padding: 0;
}

#footer li{
	margin: 5px 0;
	list-style: none;
}

#footer a {
	color: #f7e1a2;
}



/* Startsidans CSS */
#hero_sektion, .start_sektion {
	min-height: 70vh;
	padding: 60px 0;
}

.start_sektion.mindre {
	min-height: 0;
}

#hero_sektion {
	/*background: #121d57;*/
	background-color: rgb(18,29,87);
	background-color: linear-gradient(50deg, rgba(18,29,87,1) 45%, rgba(68,82,155,1) 100%);
	/*background-image: url(bilder/hero_bakgrund_sommarklippa.jpg);*/
	background-image: url(bilder/hero_bakgrund_datormote.jpg);
	background-repeat: no-repeat;
	background-position: center right;
	background-size: cover;
	color: #fff;
	font-weight: 600;
	font-size: 1.2rem;
	text-shadow:
    1px 1px 0 #333,
    -1px 1px 0 #333,
    -1px -1px 0 #333,
    1px -1px 0 #333;
}

#hero_rubrik {
	float: left;
	width: 40%;
}
#hero_rubrik h1 {
	font-family: 'Montserrat', sans-serif;
	font-size: 4vw;
	font-weight: 700;
	line-height: 125%;
}

#cta_hero, #merinfo_hero {
	display: inline-block;
	margin-right: 40px;
	background: #f700ff;
	font-weight: bold;
	text-shadow: none;
}
#cta_hero:hover {
	background: rgb(18,29,87);
}

#merinfo_hero {
	margin: 0;
	background: none;
}
#merinfo_hero:hover {
	background: #fff;
}
#merinfo_hero a {
	border: 1px solid #fff;
}

#startsida_tre_puffar {
	text-align: center;
}

#startsida_tre_puffar img {
	display: block;
	margin: 0 auto;
	background: #fff;
	padding: 0;
	border: 10px solid #1e3655;
	border-radius: 50%;
}

#startsida_tre_puffar.bla img {
	padding: 10px;
	border: none;
}


#cta_hero a, #cta_hero a:link, #cta_hero a:hover, #cta_hero a:active, #cta_hero a:visited, #merinfo_hero a, #merinfo_hero a:link, #merinfo_hero a:hover, #merinfo_hero a:active, #merinfo_hero a:visited {
	display: block;
	padding: 8px 12px;
	color: #fff;
}
#merinfo_hero a:hover {
	color: rgb(18,29,87);
}

#hero_bild {
	float: right;
	width: 50%;
}
#hero_bild img {
	max-height: 460px;
}

.sektion_vanster {
	float: left;
	width: 50%;
	padding-right: 40px;	
}

.sektion_hoger {
	float: right;
	width: 50%;
	padding-left: 40px;	
}

.ljusgra {
	background: #efefef;
}

.morkgra {
	background: #555;
	color: #fff;
}

.bla {
	background: #1e3655;
	color: #fff;
}

.bildkollage_startsida {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	width: 100%;
	/*height: 100%;*/
}

.bildkollage_startsida img {
	/*width: auto;*/
	object-fit: cover;
}

.kollagebild_1, .kollagebild_2, .kollagebild_3, .kollagebild_4, .kollagebild_5 {
	height: 160px;
	background: #ccc;
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
}

.kollagebild_1 {
	position: relative;
	grid-area: 1 / 1 / 2 / 3;
	border-radius: 0 0 65px 0;
	background-image: url(bilder/kollagebild_1.jpg);
}
.kollagebild_2 {
	grid-area: 1 / 3 / 2 / 4;
	border-radius: 0 65px 0 0;
	background-image: url(bilder/kollagebild_2.jpg);
}
.kollagebild_3 {
	grid-area: 2 / 1 / 3 / 2;
	border-radius: 65px 0 0;
	background-image: url(bilder/kollagebild_3.jpg);
}
.kollagebild_4 {
	grid-area: 2 / 2 / 3 / 4;
	border-radius: 0 0 0 65px;
	background-image: url(bilder/kollagebild_4.jpg);
}
.kollagebild_5 {
	grid-area: 3 / 1 / 3 / 4;
	border-radius: 0 0 65px 0;
	background-image: url(bilder/kollagebild_5.jpg);
	background-position: center;
}

.foreningstyp {
	/*position: absolute;
	top: 0;
	left: 0;*/
	width: 100%;
	height: 100%;
	padding: 40px 10px;
	opacity: 0;
	text-align: center;
	text-shadow:
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff;
}

.foreningstyp h3 {
	font-size: 1.2rem;
}

.kollagebild:hover {
	opacity: 0.85;
}

.kollagebild:hover .foreningstyp {
	opacity: 1;
}


/* Testsidans CSS */
#testsida #hero_sektion {
	position: relative;
	/*min-height: 80vh;*/
	min-height: 0;
	padding-bottom: 0;
	text-align: center;
	background-image: url(bilder/hero_bakgrund_datormote_suddig.jpg);
	background-attachment: fixed;
	text-shadow: 1px 1px 30px #333;
}

#testsida #hero_sektion .wrapper {
	padding: 0 20px;
}

#testsida #hero_rubrik {
	float: none;
	width: 90%;
	margin: 0 auto;
	text-align: center;
}

#testsida #hero_rubrik h1 {
	font-size: 3vw;
	font-size: clamp(40px, 3vw, 60px);
}

#testsida #hero_rubrik .hero_ingress {
	width: 70%;
	margin: 20px auto;
}

#testsida .rubrikmarkering {
	display: inline-flex;
	margin: 5px 0;
	overflow-wrap: initial;
}

#testsida #hero_bild {
	/*position: absolute;
	bottom: 0;
	left: 0;*/
	float: none;
	width: 80%;
	width: auto;
	max-width: 1600px;
	margin: 20px auto 0 auto;
}

#testsida #hero_bild img {
	max-height: 100%;
}

/* Undersidors CSS */
.sektion {
	padding: 60px 0;
}

.sektion.centrerad {
	width: 100%;
	margin: 0 auto;
}
.sektion.centrerad .wrapper{
	max-width: 800px;
	margin: 0 auto;
}

#faq {
	padding: 60px 0;
}

#registreringsformular {
	float: left;
	width: 50%;
	padding: 20px;
	background: #fcfcfc;
	border: 1px solid #b8b8b8;
}

#registrering_bild_sida {
	float: right;
	width: 50%;
	padding-left: 40px;
}

.fraga {
	margin: 15px 0 0 0;
	padding: 5px 10px;
	font-size: 1.3rem;
	font-weight: bold;
	background: rgb(18,29,87);
	color: #fff;
	border-radius: 5px 5px 0 0;
}

.svar {
	margin: 0 0 30px 0;
	padding: 5px 10px;
	background: #f6f6f6;
	border: 1px solid #555;
	border-top: none;
	border-radius: 0 0 5px 5px;
}

.svar p {
	margin: 5px 0;
}

/* Formulär */
form label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
}

form ul {
	margin: 0;
	padding: 0;
}

form li {
	list-style: none;
	margin: 0 0 20px 0;
}

form input[type=text], form input[type=email], form input[type=date], form input[type=datetime], form input[type=password], form textarea, form select {
	display: block;
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 5px 10px;
	font-family: inherit;
}

form select {
	background: #fff;
	padding: 8px 12px;
}

form input[type=submit] {
	padding: 8px 12px;
	background: rgb(18,29,87);
	color: #fff;
	font-size: inherit;
	font-weight: bold;
	cursor: pointer;
	border: none;
}
form input[type=submit]:hover {
	background: #f700ff;
}

form fieldset {
	padding: 15px;
	border: 1px solid #333;
}

form legend {
	margin: 0 10px;
	font-weight: bold;
}

.form_infotext {
	font-size: 80%;
}

form #forening_lank {
	display: inline-block;
	width: 60%;
}

#form_webbsida_lank {
	display: inline-block;
	width: 40%;
}

#forening_lank_status {
	display: block;
}

/* Flex och grid */
.flex {
	display: flex;
	gap: 10px 20px;
	justify-content: space-evenly;
	align-itrems: flex-start;
	align-content: flex-start;
}
.flex div {
	flex: 1 1 0px;
}
.flex.fast div {
	flex: initial;
}


/* Clear och float */
.clear {
	clear: both;
}

.left {
	float: left;
}

.right {
	float: right;
}

.vanster {
	float: left;
	width: 49.5%;
}

.hoger {
	float: right;
	width: 49.5%;
}

/* Rubriker, text och länkar */
h1, h2, h3, h4, h4, h5, h6 {
	margin: 0 0 5px 0;
	font-size: 2.5rem;
}

h1 { 
	margin: 0;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.8rem;
}

h4 {
	font-size: 1.6rem;
}

h5 {
	font-size: 1.4rem;
}

h6 {
	font-size: 1.2rem;
}

p {
	margin: 10px 0 15px 0;
	line-height: 140%;
}

a, a:link, a:active, a:hover, a:visited {
	color: #2969bc; 
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.rubrikmarkering {
	background: #f700ff;
	padding: 0 10px;
	margin-left: -10px;
	text-shadow: none;
}


/* Knappar */
.knapp {
	display: inline-block;
	background: rgb(18,29,87);
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
}

.knapp a {
	display: block;
	padding: 8px 12px;
	color: #fff;
}

.knapp.block {
	display: block;
}

.knapp.rosa {
	background: #f700ff;
}

.knapp.vit {
	background: #fff;
	color: #2b2b2b;
}
.knapp.vit a {
	color: #2b2b2b;
}


/* Listor */
ul, ol {
	margin: 10px 0 30px 10px;
	padding: 0 0 0 10px;
}

li {
	margin: 5px 0;
}

ul.mobiler li {
	list-style-type: square;
	list-style-type: "\1f4f1";
	padding-left: 5px;
}
ul.snart li {
	list-style-type: square;
	list-style-type: "\1f51c";
	padding-left: 5px;
}

.stor_lista ul {
	font-size: 1.2rem;
}

/* Bilder, film och annan media */
img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	font-style: italic;
}

a img {
	border: none;
}

.youtube {
	position: relative;
	margin: 0;
	padding-bottom: 56.25%;
	padding-top: 0;
	height: 0;
	overflow: hidden;
}
 
.youtube iframe,
.youtube object,
.youtube rembed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

iframe {
	width: 100%;
}

.bubbla_vanster, .bubbla_vanster img {
	border-radius: 50% 50% 50% 0;
}

.bubbla_hoger, .bubbla_hoger img {
	border-radius: 50% 50% 0 50%;
}



/* Övrig CSS */
.dold, .osynlig {
	display: none;
}

.synlig, .visas {
	display: block!important;
}

.success, .error, .info, .ratt, .fel {
	margin: 5px 0;
	padding: 5px;
}

.success, .ratt {
	border: 1px solid #6dac09;
	background: #ecffe0;
}

.error, .fel {
	border: 1px solid: #d00;
	background: #ffe0e0;
}

.info {
	border: 1px solid #094fac;
	background: #e0f5ff;
}



/* Responsiv design */
/* --- För skärmar med bredden MAX 800px --- */
@media screen and (max-width: 800px) {
	.flex {
		flex-direction: column;
		gap: 60px;
	}
	
	#logo_header {
	width: auto;
	/*max-width: 50%;*/
	}
	
	#mobilmeny_knapp {
		display: block;
	}
	
	#huvudmeny {
		display: none;
		position: absolute;
		right: 0;
		top: 50px;
		z-index: 9000;
		float: none;
		width: 100%;
		background: #fff;
		border-bottom: 1px solid #ccc;
	}
	
	#huvudmeny ul {
		text-align: left;
		margin: 30px 15px 15px 15px;
		margin: 15px;
	}
	
	#huvudmeny li {
		display: block;
		margin: 10px 0;
	}
	
	#hero_rubrik, #hero_bild, .sektion_vanster, .sektion_hoger {
		float: none;
		width: 100%;
		padding: 0;	
	}
	
	#registreringsformular, #registrering_bild_sida {
		float: none;
		width: 100%;
		padding: 20px;
	}
	
	#hero_sektion {
		background-image: none;
		background: rgb(18,29,87);
		background: linear-gradient(50deg, rgba(18,29,87,1) 45%, rgba(68,82,155,1) 100%);
	}
	
	#hero_rubrik h1 {
		font-size: 4rem;
		font-size: 12vw;
	}
	
}

/* --- För skärmar med bredden MAX 480px --- */
@media screen and (max-width: 480px) {
	#cta_hero, #merinfo_hero {
		margin: 0 20px 20px 0;
	}
}