/*
	Theme Name: fagexperten
	Author: fagexperten
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

*,
*:after,
*:before {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

html {
	font-size: 62.5%;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: #000;
	margin: 0;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

a {
	color: #000;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
}

a:hover {
	color: #666;
}

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

h1,
h2,
h3,
h4 {
	margin: 0 0 20px;
	line-height: 1.3;
	font-weight: 700;
	color: #000;
}

h1 {
	font-size: 32px;
}

h2 {
	font-size: 26px;
}

h3 {
	font-size: 21px;
}

h4 {
	font-size: 18px;
}

p {
	margin: 0 0 16px;
}

p:last-child {
	margin-bottom: 0;
}

/* Clearfix */
.clear:before,
.clear:after {
	content: ' ';
	display: table;
}

.clear:after {
	clear: both;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.wrapper {
	max-width: 1200px;
	width: 100%;
	padding: 0 15px;
	margin: 0 auto;
	position: relative;
}

/*------------------------------------*\
    HEADER AREA
\*------------------------------------*/

.header-area {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #e9e9e9;
	min-height: 220px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.header {
	background: rgba(255, 255, 255, 0.92);
}

.header .wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.logo a {
	display: inline-block;
	font-size: 24px;
	font-weight: 700;
	color: #000;
	text-decoration: none;
	letter-spacing: 0.5px;
}

.logo a:hover {
	color: #666;
}

/*------------------------------------*\
    NAV
\*------------------------------------*/

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

.nav > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
}

.nav ul li {
	position: relative;
}

.nav ul li a {
	display: block;
	padding: 6px 0;
	color: #000;
	font-size: 16px;
	text-decoration: none;
}

.nav ul li a:hover {
	color: #666;
}

.nav > ul > li.current-menu-item > a,
.nav > ul > li.current_page_item > a {
	font-weight: 700;
	box-shadow: inset 0 -2px 0 #000;
}

/* Dropdown */
.nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 9;
	min-width: 200px;
	background: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
	white-space: nowrap;
}

.nav ul li:hover > ul {
	display: block;
}

.nav ul ul li a {
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
}

.nav ul ul li:last-child a {
	border-bottom: none;
}

.nav ul ul li a:hover {
	background: #f6f6f6;
}

/*------------------------------------*\
    WELCOME
\*------------------------------------*/

.welcome {
	padding: 40px 0;
}

.page h1{
	font-size: 24px;
	margin-top: 20px;
}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/

/* .footer {
	padding: 30px 0;
	background: #f6f6f6;
} */


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width: 768px) {

	h1 {
		font-size: 40px;
	}

	.header-area {
		min-height: 300px;
	}

	.welcome {
		padding: 60px 0;
	}

}

@media only screen and (min-width: 960px) {

	.header-area {
		min-height: 380px;
	}

	.header .wrapper {
		flex-wrap: nowrap;
	}

	.nav > ul {
		gap: 30px;
	}

	.welcome {
		padding: 80px 0;
	}

}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

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

.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%;
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone,
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	a,
	a:visited {
		text-decoration: underline;
	}
	img {
		max-width: 100% !important;
		page-break-inside: avoid;
	}
	@page {
		margin: 0.5cm;
	}
	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}
	h2,
	h3 {
		page-break-after: avoid;
	}
}