/*
  Styles specific for the leksikon site
  (c) 2017 NIBIO.no
*/


/* Fixed header */
body {
  min-height: 400px;
  padding-top: 80px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 20px;
  color: #29424f;
}

.print {
	display: none;
}

/** h1-h7 and p has separate defs for small screens, see media queries further down */

h1 { color: black; }

h4 { font-style: italic; }

h1, h2, h3, h4, p { font-family: Merriweather, sans-serif; }
h5, h6, h7        { font-family: SourceSansPro, sans-serif; }

h1, h2, h3, h4, h5 { font-weight: bold;   }
h6, h7, p { font-weight: normal; }

h1 { font-size: 48px;                        line-height: 1.29; }
h2 { font-size: 28px; letter-spacing: 0.8px; line-height: 1;    }
h3 { font-size: 22px; letter-spacing: 0.5px; line-height: 1.65; }
h4 { font-size: 17px; letter-spacing: 0.2px; line-height: 1.55; }
h5 { font-size: 17px; letter-spacing: 0.6px;                    }
h6 { font-size: 17px; letter-spacing: 1.8px; line-height: 1.5;  }
h7 { font-size: 17px;                        line-height: 1.63; }
p  { font-size: 17px; letter-spacing: 0.5px; line-height: 28px; }

h2.inset {
	padding-left: 20px;
}

h2.frontPageSectionHeading {
	margin-top: 40px;
	margin-bottom: 20px;
}

body.indexBleed {
	background: url(../../media/images/frontpageimage.jpg) no-repeat top center;
}

.navbar{
	margin-bottom: 0px;
}

.navbar-default {
	border: 0px none;
	background-color: #016095;
}

.navbar-default .navbar-brand, ul.nav.navbar-nav.navbar-right li a, ul.nav.navbar-nav.navbar-right li a:hover {
	height: 80px;
	color: white;
	border-top: 4px solid transparent;
	font-weight: lighter;
}

ul.nav.navbar-nav.navbar-right li a:hover {
	font-weight: bold;
}

ul.nav.navbar-nav.navbar-right li a {
	font-size: 14px;
	padding-top: 30px;
}

ul.nav.navbar-nav.navbar-right li.currentLink a{
	background-color: transparent;
	border-top: 4px solid white;
	font-weight: bold;	
}

.navbar-brand>img {
	display: inline-block;
}

#leksikonLogo{
	    margin-left: 50px;
    position: relative;
    top: -9px;
}

#searchInfo p {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 20px;
}

div.footer {
	padding-top: 50px;
	padding-bottom: 80px;
	background-color: #29424f;
	color: white;
	
}

div.footer h3, div.footer p {
	font-family: SourceSansPro, sans-serif;
}

div.footer a
{
	color: white;
}

div.footer h3 {
	font-size: 20px;
}

div.footer p, div.footer li {
	font-size: 14px;
}

a.squarePants {
	display: inline-block;
	text-align: center;
	border: 1px solid white;
	font-size: 14px;
	width: 230px;
	text-transform: uppercase;
	padding: 7px 15px;
	margin-right: 20px;
	text-decoration: none;
	font-family: SourceSansPro, sans-serif;
}

a.squarePants:hover {
	background-color: white;
	color: black;
}

ul.noBullets {
	list-style-type: none;

	padding-left: 0px;
}

#indexGreeting {
	padding-top:60px;
	padding-bottom: 140px;
	color: white;
	font-size: 48px;
	font-weight: 400;
	text-align: center;
	font-family: 'Merriweather', serif;
}

div.topLevelOrganism
{
	height: 133px;
	line-height: 133px;
	background-color: #8499a1;
	border: 0.5px solid white;
	padding: 0px;
	text-align: center;
	font-family: Merriweather, sans serif;
	color: white;
	cursor: pointer;
	background-repeat: no-repeat;
	background-position: center;
}

div.topLevelOrganism a span {
	text-decoration: underline !important;
	color: white;
}

div.topLevelOrganism a, div.topLevelOrganism span
{
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
}

div.topLevelOrganism span.localName, div.myEncyclopediaEntryName span.localName {
	font-weight: bold;
	font-size: 22px;
}

button.imageButton{
	line-height: normal;
    background-color: transparent;
    border: 0px none;
}

#organismTreeBulkyIntro .row {
	padding-left: 15px;
	padding-right: 15px;
}

#topNews {
	background-color: #f4f5f5;
	color: #29424f;
	
}

#topNewsIntro {
	padding: 50px 35px 50px 50px;
}

#topNewsByline {
	margin-top: 15px;
	font-size: 14px;
	font-weight: normal;
	margin-bottom: 30px;
}

#topNewsByline strong {
	font-weight: 600;
}


#topNews a.squarePants, #readMoreNews {
	border: solid 1px #8799a3;
	color: #29424f;
}

#readMoreNews {
	margin-top: 40px;
	margin-bottom: 20px;
}

#topNews a.squarePants:hover, #readMoreNews:hover {
	color: white;
	background-color: #29424f;
}

.pictureStrip{
	background-color: grey; 
	position: relative;
}

.unslider-nav {
	background-color: #29424f;
}

.unslider-arrow {
	color: white;
}

.unslider-arrow:hover {
	color: grey;
}

.caption {
	color: white;
	padding: 10px;
}

.pictureStrip img {
	width: 100%;
}

#picturesForPrint {
	display: none;
}




span.pest, span.treatment {
	padding-left: 18px;
}

span.pest { 
	background: url('images/smiley_skadegjorer.png') no-repeat center left;
}

span.treatment { 
	background: url('images/smiley_nytteorganisme.png') no-repeat center left;
}

img.layeredMap
{
	/*border: 2px solid green;*/
	position:absolute;
	display:block;
	top: 0px;
	left: 10px;
}

a.keyword {
	color: #e94e0f;
	text-decoration: none;
}

.popover.top>.arrow:after{
	border-top-color: #29424f;
}

.popover {
	background-color: #29424f;
	color: white;
}

#collectionsContainerContainer {
	background-color: #f4f5f5;
}

#collectionsContainer{
	padding-top: 30px;
	padding-bottom: 40px;	
}

.collectionItemBox {
	cursor: pointer;
	background-color: white; 
	text-align: center; 
	padding-bottom: 15px;
}

.collectionItemBox:hover {
	background-color: #29424f;
	color: white;
}

/**
MEDIA QUERIES
*/

@media (min-width: 1230px;){
	.container {
		width: 1200px;
	}
}


@media (max-width: 990px) {
		
	
	#NIBIOLogo {
		display: none;
	}
	
	#leksikonLogo {
		margin-left: 0px;
	}
}

@media (max-width: 767px) {
	
	h1 { font-size: 28px;                        line-height: 1.43; }
	h2 { font-size: 22px; letter-spacing: 0.2px; line-height: 1.36; }
	h3 { font-size: 14px; letter-spacing: 0.5px; line-height: 1.5;  }
	h4 { font-size: 18px; letter-spacing: 0.2px; line-height: 1.56; }
	h5 { font-size: 18px; letter-spacing: 0.5px;                    }
	h6 { font-size: 14px; letter-spacing: 1.8px; line-height: 1.5;  }
	h7 { font-size: 12px;                        line-height: 1.5;  }
	
	
	p  { font-size: 14px; letter-spacing: 0.5px; line-height: 1.5;  }
	
	#leksikonLogo {
		width: 300px;
	}
	
	#indexGreeting {
		font-size: 26px;
		padding-top: 50px;
		padding-bottom: 50px;
	}
	
	.navbar-toggle {
		margin-top: 20px;
	}
	
	ul.nav.navbar-nav.navbar-right li.active a{
	border-top: 0px none;
	text-decoration: underline;
	}
	
	ul.nav.navbar-nav.navbar-right li a {
		padding-top: 15px;
		height: 50px;
	}
	
	ul.nav.navbar-nav.navbar-right li.currentLink a {
		border-top: 0px none;
		text-decoration: underline;
	}
	
	.centeredPageHeading
	{
		padding-top: 50px !important;
		padding-bottom: 25px !important;
	}
	
	.smallScreenBlock {
		display: block;
	}
	
	a.squarePants {
		width: 100%;
	}
	
	a.squarePants.first {
		margin-top: 15px;
		border-bottom: 0px none;
	}
	
	div.footer p, div.footer li {
		font-size: 12px;
	}
	
	
	
}

@media (max-width: 410px) {
	#leksikonLogo {
		width: 250px;
	}
}

@media (max-width: 320px) {
	#leksikonLogo {
		width: 200px;
	}
}

/***** PRINT STYLES ***/
@media print { 
 /* All your print styles go here */
 #header, .footer, #nav, button, .listContainer, #pictureStrip, .searchContainer
 
  { display: none !important; } 
  
  #picturesForPrint { display: block !important;}
  
  .print{ display: block !important;}
}

