/*
Theme Name: GeneratePress Child v2026
Theme URI: https://generatepress.com
Author: Thomas Usborne. Modified by John Vedde
Author URI: http://edge22.com
Description: GeneratePress is a fast, lightweight (less than 1MB zipped), mobile responsive WordPress theme built with speed, SEO and usability in mind. GP is compatible with major plugins like WooCommerce, WPML, BuddyPress, bbPress and many more. It's also mobile & tablet responsive, 100% valid HTML, Schema microdata integrated, search engine friendly, translated into over 15 languages and cross browser compatible (including IE8). GeneratePress has 8 widget areas, 5 navigation positions, 5 sidebar layouts, dropdown menus (click or hover), a back to top button and so much more. Navigate to Appearance > Customize to start customizing. Create your website exactly the way you want it using the Customizer and see your changes take place right in front of you before publishing. See more and check out our awesome add-ons at https://generatepress.com 
Version: 1.3.28
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress-child-2026
Template: generatepress

Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, fluid-layout, fixed-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, light, white, dark, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, yellow

GeneratePress, Copyright 2016 Thomas Usborne
GeneratePress is distributed under the terms of the GNU GPL


*/



/* Theme customization starts here
@import url("../generatepress/style.css");
-------------------------------------------------------------- */
/* nye , felles toppmeny for alle sites   */
/*
:root {
  --mobilbredde: 1900px;
}

*/
body {
background-image:url('https://kjemi.no/wp-nks-bilder/nks-bakgrunn-forside-gra.jpg');
background-size: 1200px ; 
}

div.kjeminyheter p{
  margin-bottom:5px;
  }

div.kjeminyheter p a{
   font-weight:bold;
  }
@media screen and (max-width:600px) {
  div.kjeminyheter { display:none;} 
  div.nks-annonser {display:none;}
	
}

	
	
/* generatepress endringer */
a {
	 font-weight:bold;
}

a:active,
a:hover {
    text-decoration:underline;
}

h2 {
 font-weight:bold;
}


/*class="inside-header grid-container" */
 
 
.inside-header {padding: 10px 20px 20px 20px;}

header.entry-header div.entry-meta {display:none;}

.main-title {
	margin: 3px;
	padding:0px;
	color:navy;
	font-size: 40px;
	line-height: 1.3em;
	
}

.main-title a{
color:navy;
}

.main-title a,.main-title a:hover,.main-title a:visited {color: #0066bf; }

/*
.top-bar {
background-position:-1800px 103px;
background: #040267;

 height:48px;
  max-width:970px;
  margin-left: auto ;
  margin-right: auto ;
  color:#F00;
 margin-bottom: 0px;
 padding-left:5px;
}

.top-bar-section ul.right {

  background: #040267;
}

.top-bar-section li a {

  background: #040267!important;

 }

*/

li.name h1 {

padding-left:10px;



}

li.name h1 a{

  background-image:url('nks-logo-58.jpg');

 background-repeat:no-repeat;

background-position:0px 0px;

 padding-left:70px!important;

 height:48px;



}



h1#site-titlexx{

margin: 0px;

padding:0px;

font-size:1.0em;

}





/*h2#site-description {display:none;}  */



h1.entry-title{

font-size:2.2em;

}



h3.widget-title{

font-size:1.0em;

}

/* endring 2023*/

.nav-float-left .site-branding,

.nav-float-left .site-logo {

	float: none!important;

	clear: both;

}




div.toppbildelinker{

float:right;

height:70px;

}

div.toppbildelinker img{

border:none;

}



/* NKS FORSIDE SPALTE */

div.nks-forside-venstre-spalte {
float:left;
width:250px;
margin-right:30px;
}
div.nks-forside-hoyre-spalte {
float:right;
width:250px;
margin-left:30px;
}

 @media screen and (max-width:700px) {
    div.nks-forside-venstre-spalte {width:auto;float:none; text-align:center; }
    div.nks-forside-hoyre-spalte {width:auto; float:none;text-align:center;}
		
    }

/* NKS SIDEBAR BOKS */
div.nks-sidebar-boks{
width:auto;

 background-color:white;
border:0px solid #ddd;
padding:0px;

 
}

div.nks-sidebar-boks h3,div.nks-sidebar-boks p {
margin:0px;
padding:3px;

}

div.nks-sidebar-boks h3{
font-size:0.9em;
background:#ddd;
padding-left:5px; 
font-weight:bold;
} 


/* NKS LENKE SAMLING */

div.nks-lenke-samling{
/*width:250px;*/

 background-color:white;
border:0px solid #ccc;
padding:0px;
margin-bottom:10px;
}

div.nks-lenke-samling h3,div.nks-lenke-samling p {
margin:0px;
padding:1px;
}

div.nks-lenke-samling h3{
font-weight:bold;
font-size:1.1em;
background:#cccccc;
 background-color:white;
padding-left:5px;
}

div.nks-lenke-samling p {
padding-left:10px;
}

div.nks-lenke-samling p img{
padding-left:0px;
}

div.nks-lenke-samling p.tidsskrift{
padding-left:20px;
}

@media only screen and (max-width: 700px;) {
  div.nks-lenke-samling{  text-align:center;}
	div.nks-lenke-samling p { text-align:center;}
}


div.nks-enkel-boks{

background:#eee;

border:1px solid #ccc;

padding:0px;

margin-bottom:10px;

}



div.nks-enkel-boks p {

margin:0px;

padding:1px;

padding-left:5px;



}



p.forskningno{

background:#fff;

}



div.blogg-item {

border-bottom:1px solid #ccc;

}





/* MIDT KOLONNE*/



div.nks-midt-boks{
padding:10px;
}
div.nks-midt-boks h3{
 font-weight:bold;
}



div.nks-midt-boks p{

margin:0px;

margin-bottom:0px;

padding:0px;

}



div.nks-midt-boks p.nks-kalender-tittel {

margin:0px;

font-weight:bolder;

}



div.nks-midt-boks p.nks-kalender-tid{

margin:0px;

 font-style:italic;



}









/*  endring av eksisterende stiler*/
div.site-content {
  padding:5px!important;
}


/* kolonner på forside */

.four {

width:25%!important;

}

.eight {

width:75%!important;

}





div.row hr {

display:none;

}





h1.loop-title{

font-size:1.1em;

 font-style:italic;

}

h2.entry-title{

font-size:1.3em;



}

#left-sidebar {
	background: #005691;;
	padding: 10px;
}

.widget-area {
	background: #005691;;
	padding: 2px;
	
}


.vcard {

 

  margin: 0 0 1.25em 0;

  border: 0px solid #dddddd;

  padding: 0.625em 0.75em;

}



@media only screen and (max-width: 50em) {

div.nks-forside-hoyre-spalte{
			float:none;
    }

.nks-forskningno, .nks-periodesystemet {
      display:none;
			}
}


