/*
Theme Name: Off-Canvas Elementor Theme
Author: Carsten A. Pedersen // mediegrafikeren.dk
Description: A WordPress theme with off-canvas navigation, compatible with Elementor and widget areas.
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Cutive&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

h1, h2, h3 {font-family: "Cutive", serif!important;}
p, span, a, td, tbody {font-family: "Nunito", sans-serif!important;}

body {
    margin: 0;
    padding: 0;
	background: #fff;
	box-sizing: border-box;
}

#container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
	position: relative;
	z-index: 3!important;
}

#header {
	width: 100%;
	text-align: left;
	padding: 10px 0;
	position: fixed;
	background: rgba(255, 255, 255, .7);
	z-index: 9998!important;
	border-bottom: 1px solid #3952A3;
}
#navheader {
	width: 60%;
	margin: 0 auto; 
	display: flex; 
	flex-direction: row;
	justify-content: space-between;
	height: 80px;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
	position: relative;
	z-index: 9999!important;
}
#navheader a img {width: 26%;}


#content {
    flex: 1;
 	position: relative;
	z-index: 5!important;
}

.nopadding {padding: 0!important}
.mapcontainer {margin: 0!important; padding: 0!important;}

#footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 50px 0 0 0;
}

.elementor-widget-container ul li {font-weight: normal!important}

#footer .inner {
	width: 75%; 
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

#footer aside section {text-align: left!important;}
#footer aside section a {text-decoration: underline; color: #ccc!important;}
#footer aside section p.madeby {color: #666!important;}
#footer aside section p.madeby a {text-decoration: underline; color: #666!important;}
#footer aside {width: 25%;text-align: left;}
#footer aside table {
	text-align: left;
	display: table-cell;
	padding: 0!important; 
	margin: 0!important;
}
#footer aside table img {width: 80%!important; height: auto!important;}

.socialicons {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.socialicons {
	width: 65%!important;
}
.socialicons figure {
	width: 20%;
	margin: 0 10px 0 0;
	padding: 0;
	text-align: left;
}
.socialicons figure img {
	width: 100%!important;
	height: auto!important;
}

#off-canvas-menu {
    position: fixed;
    left: -250px;
    top: 0;
    width: 250px;
    height: 100%;
    background: #444;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1000;
}

#off-canvas-menu.active {
    left: 0;
	width: 260px; 
	background: #fff;
	box-shadow: 5px 0 10px #333;
}

#off-canvas-menu nav a {
    display: block;
    color: #333;
    padding: 10px;
    text-decoration: none;
	font-weight: bold;
}

#off-canvas-menu nav a:hover {
    background: #f1f1f1;
}

#menu-toggle {
    cursor: pointer;
    padding: 10px;
    background: #3952A3;
    color: #fff;
	border: 2px solid #fff;
    position: fixed;
    left: 10px;
    top: 10px;
    z-index: 1001;
}

#menu-toggle.active {
    left: 260px;
}

#page-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#page-overlay.active {
    display: block;
}

.widget {
    margin-bottom: 20px;
}

.widget-title {
    font-size: 1.2em;
    margin-bottom: 10px;
}
.custom-logo {
    max-width: 50%;
    height: auto;
	margin: 2% 0 0 0%;
}

#off-canvas-menu ul, #navheader ul {list-style: none;}

#navheader nav {
	width: 60%;
	padding-right: 10px;
}
#navheader nav div, 
#navheader nav div ul {
	width: 100%;
	display: flex; 
	flex-direction: row; 
	justify-content: space-between;
	padding: 0;
}

#navheader nav div ul a {color: #000; font-weight: bold; font-size: 1em;position: relative; padding: 0.5em 0.8em; margin: 0.2em 0;}
#navheader nav div ul a:before,
#navheader nav div ul a:after {
  height: 14px;
  width: 14px;
  position: absolute;
  content: '';
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  opacity: 0;
}
#navheader nav div ul a:before {
  left: 0;
  top: 0;
  border-left: 3px solid #3952A3;
  border-top: 3px solid #3952A3;
  -webkit-transform: translate(100%, 50%);
  transform: translate(100%, 50%);
}
#navheader nav div ul a:after {
  right: 0;
  bottom: 0;
  border-right: 3px solid #3952A3;
  border-bottom: 3px solid #3952A3;
  -webkit-transform: translate(-100%, -50%);
  transform: translate(-100%, -50%);
}
#navheader nav div ul a:hover,
#navheader nav div ul .current-menu-item a {
  color: #3952A3;
}
#navheader nav div ul a:hover:before,
#navheader nav div ul .current-menu-item a:before,
#navheader nav div ul a:hover:after,
#navheader nav div ul .current-menu-item a:after {
  -webkit-transform: translate(0%, 0%);
  transform: translate(0%, 0%);
  opacity: 1;
}


@media screen and (min-width: 325px) and (max-width: 768px) {
  button#menu-toggle {
    display: block!important;
  }
	div#header {
		display: none!important;
	}
	#footer {padding: 0!important}
	#footer .inner {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 40px 0 0 0!important;
	}
	#footer aside {
		width: 60%;
	}
}

a {text-decoration: none;}



@media screen and (min-width: 769px) {
  #menu-toggle {
    display: none!important;
	background: #3952A3!important;
  }
	#footer {padding: 0!important}
	#footer .inner {padding: 40px 0 0 0!important;}
}

@media screen and (min-width: 769px) and (max-width: 1400px) {
	#navheader {width: 100%}	
}

@media screen and (min-width: 769px) and (max-width: 950px) {
	#navheader nav {
		width: 100%!important;
		padding-right: 20px;
	}
	a.custom-logo-link {width: auto!important}
	.custom-logo {margin: 0!important}
}

h1, h2, h3, h4, p {margin: 0!important; padding: 0!important;}