/****General****/

/*** resetting CSS margin: remove default margin on text tags ***/
* {
  margin: 0;
}


/***Fjerner 30padding på alt***/
.vce {
    margin-bottom: 0px !important;
}

/**padding til mobilversjon**/
@media  (max-width: 1260px){
    .dtx-main {
    margin-left: 16px !important;
    margin-right: 16px !important;
    }
}

@media  (max-width: 1024px){
    .dtx-main {
    margin-left: 16px !important;
    margin-right: 16px !important;
    }
}


/***ROOT VARIABLES***/
:root {
  --black: #001a24;
  --lilla100: #d4d8f9;
  --lilla1200: #000325; 
  --lilla900: #000b6f;
  --lilla: #000f94;
  --graa-3: #e7e7ec;
  --hvit: #ffff;
  --blaa: #00A1DD;
  --blaa200: #aadff3;
  --lilla600: #0017DE;
    
}


/***Menu***/

/**menu**/
.vce-basic-menu--style-text--color-b-33-33-33 .vce-basic-menu nav>ul>li>a {
    text-transform: lowercase !important;
    color: var(--black) !important;
}

.vce-basic-menu--style-text--color-b-33-33-33 .vce-basic-menu nav>ul>li>a:first-letter {
    text-transform: uppercase !important;
}

/**hovermenu**/
.vce-basic-menu--style-text--color-b-33-33-33 .vce-basic-menu nav>ul>li>a:hover {
    color: var(--lilla600) !important;
}

.menu-topknapp a  {
    border: 2px solid var(--blaa) !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    padding: 8px 36px;
    color: var(--black) !important;
    
}

.menu-topknapp a:hover  {
    border: 2px solid var(--blaa200) !important;
    background-color: var(--blaa200) !important;
    color: var(--black) !important;
    
}


nav.menu-meny-container ul li.current-menu-item a{
    color: #f2ff93 !important; 
    color: var(--black) !important;
}


.menu li.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item a {
    color: var(--lilla600) !important;
}


/***FONTER***/

/*Avoid text overflows*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word !important;
}

p {
    margin-bottom: 0em !important;
}

p {
    font-family: "Open Sans", sans-serif;
    font-size: 1em;
    color: var(--black) !important;
    margin-top: 0;
    line-height: 1.5em;
    font-weight: 400; 
    transition: all 3500ms; 
    white-space: wrap;
}

h1 {
    font-family: "Abel", sans-serif;
    font-size: 5.0em;
    color: var(--black) !important;
    margin-top: 0px;
    line-height: 1.2em;
    font-weight: 100;
    white-space: nowrap;
    padding-bottom: 24px;
}

.mengde-tekst p {
    color: #000;
}


.alternate-color h1, p {
    color: #fff;
}


@media (max-width: 1080px) {
    h1 {
        font-size: 3em;
    }
}

@media (max-width: 780px) {
    h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 560px) {
    h1 {
        font-size: 2em;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.6em;
    }
}

h2 {
    font-family: "Abel", sans-serif;
    font-size: 2.6em;
    color: var(--black) !important;
    margin-top: 0;
    line-height: 1.3em;
    font-weight: 300;
    white-space: normal; 
    padding-bottom: 15px;
    padding-top: 10px;
}

@media (max-width: 1080px) {
    h2 {
        font-size: 1.6em;
    }
}

@media (max-width: 780px) {
    h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 560px) {
    h2 {
        font-size: 1.4em;
    }
}

@media (max-width: 320px) {
    h2 {
        font-size: 1.2em;
    }
}

h3 {
  font-family: "Abel", sans-serif;
  font-size: 1.6em;
  color: var(--black) !important; 
  margin-top: 0;
  line-height: 1.4em;
  padding-bottom: 24px;
  font-weight: 300;
  white-space: wrap;
}

@media (max-width: 1024px) {
  h3 {
    font-size: 1.7em;
  }
}

@media (max-width: 780px) {
  h3 {
    font-size: 1.6em;
  }
}

@media (max-width: 560px) {
  h3 {
    font-size: 1.6em;
  }
}

h4{
    font-family: 'Open sans', sans-serif;
    font-size: 1.7em;
    color: #000;
    margin-top: 0;
    line-height: 1.5em;
    font-weight: 500;
    white-space: normal; 
    padding-bottom: 15px;
    padding-top: 10px;
}

@media (max-width: 1080px) {
    h4 {
        font-size: 1.6em;
    }
}

@media (max-width: 780px) {
    h4 {
        font-size: 1.4em;
    }
}

@media (max-width: 560px) {
    h4 {
        font-size: 1.3em;
    }
}

@media (max-width: 320px) {
    h4 {
        font-size: 1.3em;
   }
    
}



h6 {
    font-family: 'Open sans', sans-serif;
    font-size: 1.4em; 
    color: #fff;
    margin-top: 0;
    line-height: 1.2em;
    font-weight: 300;
    white-space: nowrap; 
}

@media (max-width: 1080px) {
    h6 {
        font-size: 1.2em;
    }
}

@media (max-width: 780px) {
    h6 {
        font-size: 0.9em;
    }
}

@media (max-width: 560px) {
    h6 {
        font-size: 1.1em;
    }
}

@media (max-width: 320px) {
    h6 {
        font-size: 1.1em;
    }
}

/***LENKE***/


/**Linker generelt mengetekst**/
/* unvisited link */
a:link {
     font-weight: 500;
     color: var(--lilla900);
}

/* visited link */
a:visited {
  color: var(--black);
}

/* mouse over link */
a:hover {
  color: var(--lilla1200);
  text-decoration-style: dotted;
}




/***Padding***/
/*Sections*/ 

.padded-section{
    padding: 60px 0 !important; 
}

.padded-section-top{
    padding: 220px 0 0 0 !important; 
}

.padded-section-bottom{
    padding: 0 0 120px 0 !important; 
}

.padded-section-medium{
    padding: 150px 0 !important; 
}

.padded-section-medium-top{
    padding: 150px 0 0 0 !important; 
}

.padded-section-medium-bottom{
    padding: 0 0 150px 0 !important; 
}

.padded-section-big{
    padding: 220px 0 !Important; 
}

.padded-section-big-top{
    padding: 240px 0 0 0 !Important; 
}

.padded-section-big-bottom{
    padding: 0 0 220px 0 !Important; 
}

.padded-section-small{
    padding: 70px 0 !Important; 
}

.padded-section-small-top{
    padding: 60px 0 0 0; 
}

.padded-section-small-bottom{
    padding: 0 0 70px 0; 
}

.padded-section-big{
    padding: 200px 0 !important; 
}


@media  (max-width: 1080px){
    .padded-section-big{
        padding: 80px 0 !important; 
    }

    .padded-section-big-top{
        padding: 100px 0 0 0 !important; 
    }


    .padded-section{
        padding: 60px 0 !important; 
    }

    .padded-section-bottom{
        padding: 0 0 80px 0 !important; 
    }

    .padded-section-top{
        padding: 80px 0 0 0 !important; 
    }

    .padded-section-full-width{
        padding: 45px 60px !important; 
    }
    
    .padded-section-medium{
        padding: 80px 0 !important; 
    }

    .padded-section-medium-top{
        padding: 80px 0 0 0 !important; 
    }

    .padded-section-medium-bottom{
        padding: 0 0 80px 0 !important; 
    }
    
    .padded-section-small{
        padding: 40px 0 !important; 
    }

    .padded-section-small-top{
        padding: 40px 0 0 0 !important; 
    }

    .padded-section-small-bottom{
        padding: 0 0 40px 0 !important; 
    }        
}


/****FRAMSIDE****/
/***Kort framside***/
.kort-framside {
background-color: #0001;
}
#kort .kort-framside:hover {
background-color: var(--lilla) !important;
}



/****UNDERSIDE****/
/**Hero-top**/
.hero-underside {

}


/*.kort {
    padding: 40px;
}*/

/*.kort ul, ol {
    line-height: 2.4em;
}*/

.kort li {
    /*line-height: 2.4em;*/
    padding-bottom: 14px;
}



@media  (max-width: 400px){
.kort ul, ol {
    margin-left: 1.0em !important;
    }
}


/*
.kort-kontakt {
    padding: 40px;
    background-color: var(--lilla100);     
}
'/


/****Raw-link-side****/

/***overskrift***/
.link-side h2 {
    color: var(--hvit) !important;
    padding-bottom: 56px;
}

/***Link***/
.link-ikon a {
  color: var(--hvit);
  font-size: 1.2em !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid;
  padding-bottom: 18px;  
}

.link-ikon  {
  padding-bottom: 56px;
  color: var(--hvit) !important;
}

.link-ikon a::after {
   content: "\f054";
   font-family: "FontAwesome";
}

.link-ikon a:hover::after{
    margin-left: 25px; 
    transition: all 0.5s ease;
}

.link-ikon-black a {
  color: var(--hvit);
  font-size: 1.2em !important;
  font-family: 'Open Sans', sans-serif !important;
  color: var(--black) !important; 
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid;
  padding-bottom: 18px;  
}

.link-ikon-black  {
  padding-bottom: 0px;
}

.link-ikon-black a::after {
   content: "\f054";
   font-family: "FontAwesome";
}

.link-ikon-black a:hover::after{
    margin-left: 25px; 
    transition: all 0.5s ease;
}

/***Kontaktskjema***/

input#name, input#email, input#firma, input#telefon{
	width: 94%;
	margin-bottom: 7px !important; 
}


input#firma{
	width: 94%;
	margin-bottom: 7px !important; 
}

input#name, input#email, textarea#message{
	padding: 5px !important; 
	border: 1px solid color: #ffff !important; 
	margin-bottom: 7px !important; 
}

input#name, input#email, textarea#message {
    margin-top: 4px; 
}

input#email.wpcf7-form-control.wpcf7-text.wpcf7-email.wpcf7-validates-as-required.wpcf7-validates-as-email{
	border: 1px solid color: #ffff !important; 
	padding: 5px !important;
}

textarea#message.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required{
	width: 94% !important; 
	height: 50px; 
}

.wpcf7 .contact-form-send {
	width: 80px;
	padding: 12px;
	font-size: 1em;
	margin-top: 10px;
	background-color: #0d4865 !important ;
	border: none;
}

#main-content .container {
	padding-top: 0;
}

article#post-0 {
	margin: 32px 0 32px 0 !important; 
}

@media (min-width: 767px) {
	.rightcontent{
		padding-left: 25px;
		padding-right: 25px;
	}
	
	.rightcontent2{
		padding-left: 25px;
		padding-right: 25px;
	}
	
	.middlecontent{
		padding-right: 25px;
		padding-left: 25px; 
		border-right: 1px solid #ccc; 
	}

	.leftcontent{
		padding-right: 25px;
		padding-left: 25px;
		border-right: 1px solid #ccc; 
    }
	
	.toptekst_forside h1{
		color: #f4f3ee;
    	text-transform: uppercase;
    	font-size: 44px;
		font-family: 'open Sans', sans-serif;
		font-weight: bold;
	}
}

@media (max-width: 767px) {
	.rightcontent{
		border-top: 1px solid #ccc;
		padding-top: 25px;
	}
}

input[type="submit"]:hover {
	background-color: var(--lilla1200) !important;
}


input[type="submit"] {
	background-color: var(--lilla900) !important;
    border: 1px solid var(--lilla900) !important;
    padding: 16px 36px;   
}


input, select, textarea, button {
    padding: 6px 8px;
    font: inherit;
    background: #ffffff;
    border: 1px solid var(--hvit) !important;
}


/****FOOTER****/

.footer {
    background-color: var(--lilla1200) !important;
    padding-top: 60px;
    padding-bottom: 60px;
}

.footer h3 {
    color: var(--hvit) !important;
}

.footer p {
    color: var(--hvit) !important;
}

.footer a {
    color: var(--hvit) !important;
}


@media  (max-width: 1024px){
.footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
    }
}


/*Posts listing*/ 

a.post-listing{
    background-color: var(--hvit) !important; 
    padding: 5% 15%; 
    display: inline-block; 
    width: 100%; 
    color: #000; 
    text-decoration: none; 
    line-height: 1.3; 
    transition: all 0.5s ease;
}

a.post-listing:hover{
    background-color: var(--lilla100) !important;
}

.pl-category{
    font-family: "Open Sans", sans-serif;
    margin-bottom: 20px; 
}

.pl-title{
    min-height: 24px; 
}

.pl-link  {
  font-size: 1.2em !important;
  font-family: 'Open Sans', sans-serif !important;
  color: var(--black) !important; 
  font-weight: 500;
  padding-bottom: 14px;
  padding-top: 14px;
              padding-bottom: 15px;
            border-bottom-style: solid;
            border-bottom-width: 3.1px;
            width: fit-content;
        width: fit-content;
    float: right;
  /*border-top: 1px solid;*/
  text-align: left !important;
      display: flex;
  align-items: right;
  justify-content: right;    
}

.pl-link::after {
   content: "\f054";
   font-family: "FontAwesome";
   padding-left: 12px;
    
}

.pl-link a::after {
   content: "\f054";
   font-family: "FontAwesome";
}

.pl-link a:hover::after{
    margin-left: 25px !important; 
    transition: all 0.5s ease !important;
}

@media (max-width: 767px) {
.pl-link  {
    font-size: 0.9em !important;
    }
}

/*Framsidefargepåtekst*/
.framside .hero-underside h1 {
        color: var(--hvit) !important;
}
    
.menu-item-352 {
    display:none;
}


/**Ekstra**/
input#email, input#name, textarea#message {
    color: black;
}

input[type="submit"] {
    color: var(--hvit) !important;
}