/*
Theme Name: Magnolia
Author: KANT designstudie
Author URI: https://kantdesignstudie.dk/
Description: Magnolia er et onepage tema til WordPress, med et stilrent og minimalistisk design. Oplever du problemer med teamet, så tag kontakt til hej@kantdesignstudie.dk
Version: 1.0.0
*/

body, .elementor-widget-text-editor {
	overflow-x: hidden !important;
	padding:0;
	margin:0;
  color: #000;
font-family: var( --e-global-typography-text-font-family ), Sans-serif;
font-weight: var( --e-global-typography-text-font-weight );
	font-size: 16px;
}

body .row {
    margin-right: 0;
}

a {
	color: #000;
}

a:focus, a:hover {
    text-decoration: none;
}

a:active, a:focus {
    outline: 0;
  border: none;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .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-md-1, .col-md-10, .col-md-11, .col-md-12, .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-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .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-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding-right: 0;
    padding-left: 15px;
}

.clear {clear:both;}




/* HEADER */

header.masthead {
  position: fixed;
  width: 100%;
  padding: 17px 5%;
  z-index: 9999;
  overflow: visible;
  transition: all 0.3s ease-in-out;
  height: 70px;
  top: 0;
}

header.masthead:hover, header.masthead:hover:active {
  background: #fff;
}

.logoNav {
  float: left;
  max-width: 160px;
  margin-top: 5px;
}

.custom-logo a:hover {
    border: none;
}

.custom-logo img {
    width: 100%;
	height: auto;
}

.custom-logo h1 {
  padding: 0;
  margin: 0;
  color: var( --e-global-color-text );
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
  font-weight: var( --e-global-typography-primary-font-weight );
  text-transform: var( --e-global-typography-primary-text-transform );
  font-size: 35px !important;
}

.navigation {
  padding: 0;
  float: right;
  margin-top: -20px;
}

.menu-primaer-menu-container {
    float: left;
}

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

nav .menu li {
    display: inline-block;
    padding: 25px 8px;
	position: relative;
}

.menu li a {
  font-family: "Roboto Flex", Sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var( --e-global-color-primary );
}

nav .menu li a:hover {
      text-decoration: none;
    border-bottom: 1px solid;
}

nav .menu li a:hover, nav .current_page_item a {
  text-decoration: none;
  border-bottom: 1px solid;
}

nav ul {
	-webkit-font-smoothing: antialiased;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

nav li ul {
  float: left;
  left: -20px;
  width: 255px;
  opacity: 0;
  position: absolute;
  top: 70px;
  visibility: hidden;
  z-index: 1;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
  background: #fff;
  padding: 0 10px 10px;
}

nav li:hover ul {
  opacity: 1;
  visibility: visible;
}

nav li ul li {
  float: none;
  width: 100%;
  padding: 0 20px 10px 20px !important;
}

.menu-top-menu-container {
    float: left;
}

#menu-item-1660 a {
  background: #8e867c;
  padding: 5px 10px;
  border-radius: 30px;
  color: #fff;
}

.overlay {
  display: none;
}





/* FORSIDE */

.elementor-image-carousel-caption {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 10px;
}




/* 404 PAGE */

.error404 section.elementor-section {
  background-color: var( --e-global-color-accent );
	  background-color: var( --e-global-color-accent );
min-height: 600px;
}

.error404 .elementor-section.elementor-section-items-middle>.elementor-container {
    min-height: 100vh;
    align-items: center;
    text-align: center;
}

.error404 .elementor-heading-title {
color: var( --e-global-color-text );
font-family: var( --e-global-typography-text-font-family ), Sans-serif;
font-weight: var( --e-global-typography-text-font-weight );
	font-size: 18px !important;
}

.error404 h1.elementor-heading-title {
color: var( --e-global-color-text );
font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
font-weight: var( --e-global-typography-primary-font-weight );
text-transform: var( --e-global-typography-primary-text-transform );
	font-size: 125px !important;
}

.page-id-455 header#myDiv,
.privacy-policy header#myDiv {
   background: var( --e-global-color-secondary );
}




/* FOOTER */

footer.footer {
  background-color: var( --e-global-color-accent );
  padding: 20px 0;
  padding: 20px 5%;
  text-align: center;
}

footer .widget-title {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

footer .menu li a {
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
}



@media screen and (max-width: 580px) {
	header.masthead {
  background: var( --e-global-color-secondary );
		    overflow: visible;
}
	
	.navigation .menu-menu-container {
    display:none;
}
	
.menu-btn {
  position: fixed;
  top: 12px;
  right: 6%;
  z-index: 999;
  display: inline;
  font-size: 35px;
}
	
.menu-btn a {
    display: inline-block;
    text-decoration: none;
}
	
.btn-open:after {
  content: "\f7a4";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
	color: var( --e-global-color-primary );
    -webkit-transition: all .2s linear 0s;
    -moz-transition: all .2s linear 0s;
    -o-transition: all .2s linear 0s;
    transition-property: all .2s linear 0s;
}

.btn-close:after {
  content: "\f00d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
	color: var( --e-global-color-primary );
    -webkit-transition: all .2s linear 0s;
    -moz-transition: all .2s linear 0s;
    -o-transition: all .2s linear 0s;
    transition-property: all .2s linear 0s;
}
	
.overlay {
  position: fixed;
  top: 0;
	left: 0;
  z-index: 99;
  overflow: auto;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease-in-out;
  background: var( --e-global-color-secondary );
}
	
	.overlay ul.menu {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  list-style: none;
  text-align: center;
}
	
	.overlay ul.sub-menu {
  list-style: none;
  text-align: center;
  padding: 0 0 1px 0;
}
	
.overlay ul li{
  margin: 18px 0;
}

	  .overlay ul li a {
    font-size: 22px !important;
    color: #000;
    line-height: 35px;
    transition: all 0.3s ease;
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
  }
	
		  .overlay ul.sub-menu li a {
    font-size: 16px !important;
    line-height: 25px;
  }
	
	.overlay .menu-item-1660 {
  background: #8e867c;
  padding: 5px 10px;
  border-radius: 30px;
  margin-top: 50px;
}
	
		.overlay .menu-item-1660 a {
  color: #fff;
}





/* MOBIL */

@media screen and (max-width: 480px) {
	header.masthead {
  padding: 20px 3% 17px 3%;
	}
	
    .logoNav {
        margin-top: 0;
      }

	.custom-logo {
    width: 170px;
		margin-left:10px;
}
	
	#block-6, #block-7 {
  float: none;
  width: 100%;
  text-align: center;
}
}
