@import url("header.css?version=1");

@import url("footer.css?version=1");

/*
 * Media-independent styling
 * -------------------------
 */
body {
	font: 100%/1.5 Open Sans,Helvetica,Arial,sans-serif;
	color: #4d4f53;
	margin: 0;
	padding: 0;
}

/*a:focus,
input:focus,
select:focus,
button:focus {
	outline-offset:0.25em;
	outline:2px solid #0065bd;
	z-index: 100;
	position:relative;
}*/

:focus {
	outline-offset:0.25em;
	outline:2px solid #0065bd;
	z-index: 100;
	position:relative;
}

:focus:hover {outline:none}

input[type=submit]:focus {outline-color:#fecb00;}
     

#huvudrubrik {
	font-size: 1.5rem;
	font-weight: bold;
	letter-spacing: -0.03em;
	color: #002857;
}

.rubrik-arende-info,
.rubrik-pnr,
 h1 {
	font-size: 2.3rem;
	font-weight: bold;
	letter-spacing: -0.03em;
	color: #002857;
	margin: 0;
	padding: 0;
	line-height: normal;
}

h2, h1>span, .rubrik {
	font-size: 1.5rem;
	font-weight: bold;
	letter-spacing: -0.03em;
	color: #002857;
	margin: 0;
	line-height: normal;
}

h3 {
	font-size: 1.1rem;
	font-weight: bold;
	color: #002857;
	line-height: normal;
	margin: 0;
}

span {
	font-size: 1em, 16px;
	font-weight: regular;
	color: #4d4f53;
}

a {
	font-size: 1em;
	font-weight: normal;
	color: #0065db;
}

#rubrik h1 {
	font-weight: bold;
	font-size: 1.5em;
	color: #4d4f53;
}

.no-bullet-list {
	list-style-type: none;
	padding-left: 1em;
}

.no-style-list {
	list-style-type: none;
	padding: 0;
	margin-left: 0;
	margin-top: 0;
}

.hidden {
	display: none;
}

label {
	font-size: smaller;
}

#sida {
	border: none;
	padding: 0em;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 1em;
}

#sok-fieldset {
	margin: 0;
	padding: 0em 1em 1em 1em;
	border: none;
}

#sok-fieldset p {
    display: flex;
    flex-flow: row wrap;
    margin: 0;
}


#sok-fieldset h1 {
	font-size: 1.5rem;
	font-weight: bold;
	letter-spacing: -0.03em;
	color: #002857;
	margin-top: 0.1em;
}

#terms {
	margin-left: 1em;
}

#arsred-info {
	margin-top: 0.2em;
}

input[type=submit] {
	box-sizing: border-box;
	margin: 0em;
	border-radius: 0.25em;
	padding: 0.5em 2em;
	background: #002857;
	color: #fff;
	font: inherit;
	font-weight: bold;
	line-height: normal;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	border-style: none;
}

main {
	display: flex;
	justify-content: center;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

.sok-info-detaljer {
	margin-top: 1em;
}

.sok-info-detaljer details div {
	margin-left: 1.15em;
	margin-top: 1em;
}


.sok-info-detaljer details ul {
	margin-top: 0;
}

.sok-info-detaljer li {
	padding: 0;
	margin-left: 0;
}



details {
	display: block;
}

details ul {
	padding-left: 1em;
}

summary {
	text-indent: -1.15em;
	margin-left: 1.15em;
	font-weight: bold;
	cursor: default;
}

.miniheader {
	color: #002857;
	font-weight: bold
}

#innehallsskal {
	flex: 1 1
}

.sidoram {
	margin: 0 0 1.5em
}

.search-result h2 span {
	float: right;
	font-weight: normal
}

.search-result ul li dt {
	float: left;
	clear: left;
	margin: 0;
	font-weight: normal;
	width: 15em
}

.search-result ul li dt::after {
	content: ":"
}

.search-result ul li dd {
	min-height: 1.5em;
}

.search-result ul li dd.namn {
	margin: 0 0 0.75em
}

resultat ul {
	list-style-type: none;
	padding: 0;
}

.search-result {
	list-style-type: none;
	padding: 0;
}

.resultat dl.orginfo {
	margin-bottom: 1em;
	margin-top: 0;
}

.arendelink,
.foretaglink {
	font-size: 1.2em;
	font-weight: bold;
	color: #002857;
}

.sok-resultat, .arende-info {
	padding: 1em;
}

.arende-info details {
	padding-bottom: 1em;
}

.logo {width:12em; height:2.07em}
	
input.betalaknapp {
	background-image: url('../resources/images/box-arrow-up-right.svg');
	background-position: top 10px right 9px;
	background-repeat: no-repeat;
	padding: 0.5em 2em 0.5em 1em;
}
span.liten-info {
	margin-top: 0.2em;
	font-size: 12px;
	display: block;
}

	
	
	main {
		display: flex;
		justify-content: center;
		flex-direction: column;
	}
	main form {
		justify-content: left;
		flex-direction: column;
		margin-bottom: 1em;
	}
	input[type=search],
	input[type=text] {
		
		font:inherit;
		box-sizing: border-box;
		width: 100%;
		border: 1px solid #e2e2e2;
		padding: 0.25em;
		margin-bottom: 1em;
		background: #f6f6f6;
		line-height: normal;
	}
	input[type=submit] {
		width: 100%;
	}
	.orginfo dt {
		margin: 0;
		font-weight: bold;
	}
	.orginfo ul li dt {
		margin: 0;
		font-weight: bold;
		float: inherit;
	}
	.orginfo dt::after {
		content: ":";
	}
	.orginfo dt:empty():after {
		content: "tom";
	}
	.orginfo dd {
		margin-left: 0em;
		margin-bottom: 1em;
	}
	.orginfo ul {
		list-style-type: none;
		padding: 0;
		margin: 0;
	}
	
	.sok-resultat > .search-result > li {
		border-top: 1px solid #e2e2e2;
		padding-top: 0.5em;
	}

	.sok-resultat > .search-result > li:first-child {
		border-top: none;
	}
	
	/*.error-field { 
		border-left: 6px solid #c00 !important;
	}*/
		
	.felmeddelanden ul.error {
		border-color: #c00;
		background-image: url('../resources/images/error.svg');
	}
	.felmeddelanden ul.warn {
		border-color: #0065bd;
		background-image: url('../resources/images/warning.svg');
	}
	.felmeddelanden ul.info {
		border-color: #0065bd;
		background-image: url('../resources/images/info.svg');
	}
	.meddelanden ul.ok {
		border-color: #61c250;
		background-image: url('../resources/images/ok.svg');
	}
	
	.felmeddelanden ul {
		min-height: 3em;
		border: 1px solid;
		padding: 1em 1em 1em 5em;
		background: none no-repeat 1em 1em/3em;
	}
	.felmeddelanden ul li {
		list-style-type: none;
	}

	.felmeddelanden {
		padding-left: 1em;
		padding-right: 1em;
	}

	
	.col2-indented {
		margin-left: 1em;
	}

/*
 * Screen-only styling 
 * --------------------------------
 */
@media screen {
	
	

	/* Fix for edge */
	details summary:focus {
		outline: none;
	}
	details summary:focus::after {
		width: 100%;
		height: 100%;
		content: '';
		outline: #0065bd 2px solid;
		outline-offset: 0.25em;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 99999;
	}
	details summary:hover:after {
		outline: 0;
	}
	
	


}

/*
 * Two-column screen styling
 * -------------------------
 */
@media screen and (min-width:32em), print {
	
	.felmeddelanden {
		padding: 0;
	}

	main {
		max-width: 52em;
		margin: 0 auto;
	}
	main form {
		justify-content: left;
		flex-direction: row;
	}
	
	#sok-fieldset {
		border: 1px solid #e2e2e2;
		border-radius: 0.25em;
	padding-top: 1em;
	}
	

	input[type=text],
	input[type=search] {
		margin-bottom: 0;
		width: 70%;
		flex:1 1 50%;
		
	}
	input[type=submit] {
		width: auto;
		flex:0 0 auto; margin-left:0.25em;
	}
	.orginfo dt {
		float: left;
		clear: left;
		margin: 0;
		font-weight: normal;
		width: 15em
	}
	
	.orginfo ul li dt {
		float: left;
		clear: left;
		margin: 0;
		font-weight: normal;
		width: 15em
	}
	.orginfo dd {
		margin-left: 15em;
		margin-bottom: 0;
	}
	.orginfo ul {
		list-style-type: none;
		padding: 0;
	}
	.orginfo input[type=submit] {
		margin-left: 0;
	}

	.col2-indented {
		margin-left: 15em;
	}
}