/*
---------------------------------------------------------------------------
CSS Styles for GSNI Website.
Written by Alex Donald
Geological Survey of Northern Ireland
Dundonald House 
Upper Newtownards Road
Belfast
BT4 3SB
alex.donald@detini.gov.uk

www.alistapart.com proved helpful as a source of learning over the years.
---------------------------------------------------------------------------
*/


/*------------------------Lets Reset Everything!----------------*/

body, div, h1, h2, h3, h4, h5, h6, pre, p, blockquote, dl, dt, dd, ul, ol, li, table, th, td {
	margin: 0;
	padding: 0;
}
#content {
	padding: 0.5% 1em 0.5em;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img {
	border: 0;
}
h1, h2, h3, h4, h5, h6, strong, th, var {
	font-style: normal;
	font-weight: normal;
}
a {
	text-decoration: none;
}
/*------------------------Some sensible defaults-----------------*/

b, strong {
	font-weight: bold;
}
i, em {
	font-style: italic;
}
/*...and for the lists*/
ul, ol {
	padding-left: 2.0em;
}
/*------------------------Body Styles---------------------------*/
	/*Lets style the body. Helvetica on a Mac - Arial on a PC - then Sans Serif.
	If people have Helvetica they deserve to see it on the webpage, if they don't they can use Arial or Sans-serif.*/
body {
	color: black;
	text-align: center;
	font-size: 1em;
	font-family: "Helvetica Neue", Arial, Sans-serif; /*Helvetica removed -contribute doesn't like this! */
	background-color: white;
}
/*------------------------Paragraph Spacing----------------------*/	
	/*Get back some sensible spacing after paragraphs, blockquotes and pre-formatted text*/	
	/*For menus the ul and ol can be overridden later*/
p, pre, blockquote, ul, ol, dl, dd {
	font-size: 1.0em;
	line-height: 1.5em;
	margin-bottom: 1.6em;
}
/*------------------------H Styles-------------------------------*/
	/*Set the weight of the headers*/
h1, h2, h3 {
	font-weight: 500;
}
/*Now for some nice typography*/
h1 {
	font-size: 1.8em;
	line-height: 1.2;
	margin-bottom: 0.6em;
}
h2 {
	font-size: 1.4em;
	line-height: 1.2;
	margin-bottom: 0.6em;
}
h3 {
	font-size: 1.2em;
	line-height: 1.2;
	margin-bottom: 0.6em;
}
/*------------------------Blockquotes----------------------------*/

blockquote {
	color: gray;
	font-size: 1.2em;
	line-height: 1.2em;
	background-color: #f8f8f8;
	padding: 1em 1em;
	border: solid 1px gray;
}
/*------------------------Wrapper----------------------------*/
	/*This is the main column that contains all of the content.
	margin:0 auto; floats it in the middle of the screen*/	
#maincolumn {
	text-align: left;
	margin: 0 auto;
	padding: 0;
	position: relative;
	background-color: white;/*border: solid 1px silver;*/ /*Turn on for silver border - undecided if I like this or not.*/
}
/*------------------------I stepped out onto the headway...-------------*/

#breadcrumbs {
	color: white;
	background-color: #09c;
	font-size: 0.7em;
	text-align: right;
	width: 100%;
	float: left;
}
#breadcrumbs ul, ol {
	margin-bottom: 0em;		/*Override the default margin*/
}
#breadcrumbs ul {
	list-style: none;
}
#breadcrumbs li {
	display: inline;
}
#breadcrumbs a {
	font-weight: 700;
	color: white;
	background-color: transparent;
}
#breadcrumbs a:hover {
	text-decoration: underline;
}
.skip { /*This is to float the Skip Navigation link to the top left of the page.*/
	padding-left: 1%;
	margin-bottom: 0em;
	float: left;
	text-align: left;
}
/*------------------------Top Image Banner---------------------------*/
	/* This is the default image banner at the top of the GSNI website unless overridden on a particular page*/ 
#imagetop {
	background-repeat: no-repeat;
	background-position: left top;
	float: left;
	width: 100%;
}
/*------------------------Navigation--Pretty Minimal Style---------------*/		
		
#firstnavigation, #bottomnavigation, #sectornavigation {
	color: black;
	font-size: 0.8em;
	line-height: 1.2em;
	text-transform: capitalize;
	float: left;
	width: 100%;
	background-color: white;
	background-image: url(../images/topimages/menu.gif);
	background-repeat: repeat-x;
	clear: both;
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
}
#firstnavigation a, #bottomnavigation a, #sectornavigation a {
	color: gray;
	font-weight: 600;
}
#firstnavigation ul, #bottomnavigation ul, #sectornavigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#firstnavigation li, #bottomnavigation li, #sectornavigation li {
	float: left;
	padding: 2px 1.5%;
}
#firstnavigation a:hover, #bottomnavigation a:hover, #sectornavigation a:hover {
	color: black;
}
.skip li {
	display: none;
}
/*------------------------Sector Specific Navigation--------------------------*/
	/*This code is based on a example from www.alistapart.com*/	
#navigationsector {
	width: 100%;
}
#navigationsector ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border-style: none;
}
#navigationsector li {
	font-size: 0.8em;
	border-bottom: 1px solid gray;
	background-color: #f8f8f8;
	margin: 0;
}
#navigationsector li a {
	display: block;
	padding: 5px 5px 5px 0.5em;
	color: black;
	text-decoration: none;
	width: 100%;
}
html>body #navigationsector li a {
	width: auto;
}
#navigationsector .sub {
	display: block;
	width: 100%;
	border-bottom: 1px dotted gray;
	background-color: white;
}
#navigationsector .sub2 {
	display: block;
	font-style: italic;
	width: 100%;
	border-bottom: 1px dotted gray;
	background-color: white;
}
#navigationsector .selected {
	display: block;
	background-color: #f8f8f8;
	color: gray;
	text-decoration: none;
	width: 100%;
}
#navigationsector .subselected {
	display: block;
	background-color: #f8f8f8;
	color: gray;
	text-decoration: none;
	text-indent: 1%;
	width: 100%;
}
#navigationsector li a:hover {
	color: black;
	background-color: silver;
}
/*------------------------Black---------------------*/	
	/*This is the first of many feature classes that will be themed by sector :-) (pretty)*/		
.black ul, ol, dl {
	color: black;
}
.black a {
	color: gray;
}
.black a:hover {
	text-decoration: underline;
}
.black h1 {
	color: black;
}
.black h2 {
	color: black;
}
.black h3 {
	color: black;
}
/*------------------------Publication - DETI Colours--------------------*/		
.publication ul, ol, dl {
	color: black;
}
.publication a {
	color: #008bd0;
}
.publication a:hover {
	text-decoration: underline;
}
.publication h1 {
	color: #008bd0;
}
.publication h2 {
	color: #008bd0;
}
.publication h3 {
	color: #008bd0;
}
.publication blockquote {
	color: #008bd0;
}
/*------------------------Purple--------------------*/		
.purple ul, ol, dl {
	color: black;
}
.purple dt {
	color: #993396;
	font-weight: 600;
}
.purple a {
	color: #993396;
}
.purple a:hover {
	text-decoration: underline;
}
.purple h1 {
	color: #993396;
}
.purple h2 {
	color: #993396;
}
.purple h3 {
	color: #993396;
}
/*------------------------Green---------------------*/		
.green ul, ol, dl {
	color: black;
}
.green a {
	color: green;
}
.green a:hover {
	text-decoration: underline;
}
.green h1 {
	color: green;
}
.green h2 {
	color: green;
}
.green h3 {
	color: green;
}
.green dt {
	color: green;
	font-weight: 500;
}
/*------------------------Brown---------------------*/		
.brown ul, ol, dl {
	color: black;
}
.brown a {
	color: #573924;
}
.brown a:hover {
	text-decoration: underline;
}
.brown h1 {
	color: #573924;
}
.brown h2 {
	color: #573924;
}
.brown h3 {
	color: #573924;
}
/*------------------------Blue---------------------*/
.blue ul, ol, dl {
	color: black;
}
.blue a {
	color: #355AAD;
}
.blue a:hover {
	text-decoration: underline;
}
.blue h1 {
	color: #355AAD;
}
.blue h2 {
	color: #355AAD;
}
.blue h3 {
	color: #355AAD;
}
.blue dt {
	color: #355AAD;
	font-weight: 600;
}
/*------------------------Orange---------------------*/		
.orange ul, ol, dl {
	color: black;
}
.orange dt {
	color: #ce6d0c;
	font-weight: 600;
}
.orange a {
	color: #ce6d0c;
}
.orange a:hover {
	text-decoration: underline;
}
.orange h1 {
	color: #ce6d0c;
}
.orange h2 {
	color: #ce6d0c;
}
.orange h3 {
	color: #ce6d0c;
}
/*-------------------IYPERED---------------------*/		
.iypered ul, ol, dl {
	color: black;
}
.iypered dt {
	color: #a0061a;
	font-weight: 600;
}
.iypered a {
	color: #a0061a;
}
.iypered a:hover {
	text-decoration: underline;
}
.iypered h1 {
	color: #a0061a;
}
.iypered h2 {
	color: #a0061a;
}
.iypered h3 {
	color: #a0061a;
}
/*-------------------geoscience---------------------*/		
.geoscience ul, ol, dl {
	color: black;
}
.geoscience dt {
	color: #254467;
	font-weight: 600;
}
.geoscience a {
	color: #254467;
}
.geoscience a:hover {
	text-decoration: underline;
}
.geoscience h1 {
	color: #254467;
}
.geoscience h2 {
	color: #254467;
}
.geoscience h3 {
	color: #254467;
}
/*-----------------------List Styles--------------------*/		
/*Downloads*/
.downloads li {
	list-style: none;
}
/*------------------------Footer---------------------------*/
#footer {
	color: gray;
	font-size: 0.7em;
	text-transform: uppercase;
	text-align: left;
	clear: both;
	margin-bottom: 0.8em;
	padding-top: 0.8em;
	border-top: 1px dotted gray;
	border-bottom: 1px dotted gray;
}
#footer ul, ol {
	margin-bottom: 0.8em;
}
#footer ul {
	list-style: none;
}
#footer li /* This makes the footer list run horizontally across the page. */ {
	display: inline;
	margin: 0;
	padding: 0;
	background-image: none;
	text-indent: 0;
}
#footer a {
	color: gray;
}
#footer a:hover {
	text-decoration: underline;
}
/*------------------------Bottom Breadcrumb--------------------*/

#bottombreadcrumbs {
	color: gray;
	font-size: 0.7em;
	text-align: left;
	width: 100%;
	padding-top: 0.6em;
	border-top: 1px dotted gray;
	padding-bottom: 0.6em;
	float: left;
}
#bottombreadcrumbs ul, ol {
	margin-bottom: 0em;		/*Override the default margin*/
}
#bottombreadcrumbs ul {
	list-style: none;
}
#bottombreadcrumbs li {
	display: inline;
}
#bottombreadcrumbs a {
	color: gray;
	font-weight: 700;
	background-color: transparent;
}
#bottombreadcrumbs a:hover {
	text-decoration: underline;
}
/*------------------------Footer 4 Column----------------------*/
#footer4 {
	color: gray;
	font-size: 0.7em;
	/*text-transform: uppercase;*/
	text-align: left;
	clear: both;
	margin-bottom: 1.2em;
	padding-top: 0.6em;
	border-top: 1px dotted gray;
	border-bottom: 1px dotted gray;
}
#footer4 ul, ol {
	margin-bottom: 1em;
}
#footer4 ul {
	list-style: none;
}
#footer4 li {
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	background-image: none;
	text-indent: 0;
}
#footer4 li {
	display: inline;
}
#footer4 li.header {
	font-weight: 700;
}
#footer4 li.column1 {
	margin-left: 0em;
}
#footer4 li.column2 {
	margin-left: 15em;
}
#footer4 li.column3 {
	margin-left: 30em;
}
#footer4 li.column4 {
	margin-left: 45em;
}
/*Reset calculation = number of items in the previous column x footer4 li.line-height + (margin-bottom - padding top) */
#footer4 li.reset2 {
	margin-top: -10.5em;
}
#footer4 li.reset3 {
	margin-top: -14.8em;
}
#footer4 li.reset4 {
	margin-top: -14.8em;
}
#footer4 a {
	color: gray;
}
#footer4 a:hover {
	text-decoration: underline;
}
/*------------------------Copyright---------------------------*/

#copyright {
	color: gray;
	font-size: 0.7em;
	text-align: left;
	float: left;
	padding-left: 1em;
	padding-bottom: 2em;
}
#copyright a:hover {
	text-decoration: underline;
}
#lastupdated {
	color: gray;
	font-size: 0.7em;
	text-align: right;
	float: right;
	padding-right: 1em;
	padding-bottom: 2em;
}
#lastupdated a {
	color: red;
}
#lastupdated a:hover {
	text-decoration: underline;
}
/*------------------------Feedback Form---------------------------*/

form.feedback fieldset {
	margin-bottom: 0.5em;
}
form.feedback legend {
	padding: 0 2px;
	font-weight: bold;
}
form.feedback label {
	display: inline-block;
	line-height: 1.8;
	vertical-align: top;
}
form.feedback fieldset ol {
	margin: 0;
	padding: 0;
}
form.feedback fieldset li {
	list-style: none;
	padding: 5px;
	margin: 0;
}
form.feedback fieldset fieldset {
	border: none;
	margin: 3px 0 0;
}
form.feedback fieldset fieldset legend {
	padding: 0 0 5px;
	font-weight: normal;
}
form.feedback fieldset fieldset label {
	display: block;
	width: auto;
}
form.feedback em {
	font-weight: bold;
	font-style: normal;
	color: #f00;
}
form.feedback label {
	width: 10em; /* Width of labels */
}
form.feedback fieldset fieldset label {
	margin-left: 11em; /* Width plus 3 (html space) */
}
/*------------------------Link Styles----------------------------*/
.pdf {
/*background-image:url('pdf.png');*/
}
.web {
/*background-image:url('www.png');*/
}
/*------------------------List Styles----------------------------*/
/*These are the styles for the contacts page.*/
.contacts {
	font-size: 1.0em;
	line-height: 1.0em;
	margin-bottom: 1.0em;
}
.name {
	font-weight: 600;
}
.role {
}
.telephone {
	margin-bottom: 1.6em;
	border-bottom: 1px dotted gray;
}
/*------------------------Image Styles---------------------------*/
/*A few defaults on the image styles*/

img {
	background-color: #f8f8f8;
	word-spacing: 0.2em;
	margin-top: 0.25em;
	margin-right: 0.25em;
	margin-bottom: 0.25em;
	padding: 0.25em;
	border: solid 1px;
}
.captionleft  /* Allows text to wrap around */ {
	color: gray;
	font-size: 0.8em;
	text-align: left;
}
.imagefeaturenobackground /* Feature (story) image for GSNI webpages. Caption text centered.*/ {
	color: gray;
	font-size: 0.8em;
	background-color: transparent;
}
.imagefeature {
	color: gray;
	font-size: 0.8em;
	text-align: center;
}
.imagefeaturetextleft /* Feature (story) image for GSNI webpages. Caption text left.*/ {
	color: gray;
	font-size: 0.8em;
	text-align: left;
}
.imagefeaturetextright /* Feature (story) image for GSNI webpages. Caption text right.*/ {
	color: gray;
	font-size: 0.8em;
	text-align: right;
}
.imagecentre /* Image centered; allows text to wrap around image. */ {
	text-align: center;
}
.imageleft  /* Image aligned to the left; allows text to wrap around image. */ {
	float: left;
}
.imageright  /* Image aligned to the right; allows text to wrap around image. */ {
	float: right;
}
.smallflag  /* Style for Geoparks page, flag aligned left with text wrap. */ {
	color: gray;
	font-size: 0.8em;
	font-family: Helvetica, Sans-serif;
	line-height: 1.5em;
	background-color: transparent;
	text-align: left;
	word-spacing: 0.2em;
	height: auto;
	float: left;
	min-height: inherit;
	margin-top: 2px;
	margin-right: 2px;
	margin-bottom: 2px;
	padding-right: 2px;
	padding-bottom: 0.5em;
}
/*--------------Right menu logo links------------*/

.imagelink {
	background-color: white;
	border: dotted 1px white;
}
.imagelink:hover {
	border: dotted 1px gray;
}
/*--------------Style the feature!------------*/
  		
.rightmenu {
	color: black;
	background-color: #f6f6f6;
	padding: 5px;
	border: solid 1px gray;
}
.rightlinks {
	padding: 5px;
	border: dotted 1px gray;
}
.geoparklink {
	color: gray;
	font-size: 0.8em;
	font-variant: small-caps;
	background-color: transparent;
	letter-spacing: 0.08em;
	padding: 5px;
	border-left: 1pt dotted gray;
	border-top-color: gray;
	border-right-color: gray;
	border-bottom-color: gray;
}
.geoparklink a:hover {
	color: black;
	font-weight: bold;
	background-color: transparent;
	text-decoration: none;
	border: dotted 1px gray;
}
.geoparklink a {
	color: gray;
	font-weight: bold;
	background-color: transparent;
	text-decoration: none;
}
/*This is the css for the right hand column links to all the Geoparks */
#geoparkfeatures /*Defines Text Color and Border Style.*/ {
	width: 100%;
	color: black;/*		border-color: black; 
		border-style: solid; 
		border-width: 1px; */
}
#geoparkfeatures ul {
	color: gray;
	font-size: 0.8em;
	text-transform: uppercase;
	list-style: none;
	margin: 0;
	padding: 2px 2px 2px 5px;
}
#geoparkfeatures li {
	font-weight: normal;
	padding-top: 5px;
	padding-bottom: 1em;
}
#geoparkfeatures a {
	color: gray;
	font-weight: bold;
	text-decoration: none;
}
#geoparkfeatures a:hover {
	color: gray;
	text-decoration: underline;
}
pre {
	color: green;
	font-weight: bold;
	margin: 1.33em 0;
}
.sectorcontact /* Feature (story) image for GSNI webpages. Caption text left.*/ {
	color: black;
	font-size: 1em;
	font-family: Helvetica, Sans-serif;
	line-height: 1.2em;
	background-color: #77bde6;
	text-align: left;
	word-spacing: 0.2em;
}
.sectorcontact h2 {
	color: white;
	font-weight: bold;
	background-color: #05184c;
	text-transform: uppercase;
	padding: 5px;
}
.sectorcontactname /* Feature (story) image for GSNI webpages. Caption text left.*/ {
	color: black;
	font-size: 1em;
	font-family: Helvetica, Sans-serif;
	line-height: 1.2em;
	text-align: left;
	word-spacing: 0.2em;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	border-bottom: 2px solid white;
}
.sectorcontactname h3 {
	font-weight: bold;
}
.printheader  /* Allows text to wrap around */ {
	display: none;
}
/*New media queries to make site responsive. Moved all fixed widths here and made percentages. */
/* tablet landscape and PC */
@media screen and (min-width:50em) {
#maincolumn {
	width: 50em;
}
#imagetop.tall {
	height: 22.5em;
	background-size: cover;
}
#imagetop.extraTall {
	height: 40em;
	background-size: cover;
}
/*------------------------Content--------------------------*/
	/*Set some padding on the column that contains the main body of the text*/
#content {
	float: left;
	clear: both;
}
#twocolumnleft {
	width: 60%;
	float: left;
	clear: left;
}
#twocolumnright {
	width: 30%;
	float: right;
	padding-left: 1em;
	border-left: 1px dotted gray;
	clear: right;
}
#singlecolumn {
	float: left;
	clear: left;
}
#twocolumnevenleft {
	width: 50%;
	float: left;
	clear: left;
}
#twocolumnevenright {
	width: 48%;
	float: right;
	padding-left: 1.5%;
	border-left: 1px dotted gray;
	clear: right;
}
.twoevencolumnleft /* 2 Column layout with left and right column of equal width. */ {
	font-size: 0.8em;
	width: 50%;
	float: left;
}
.twoevencolumnright /* 2 Column layout with left and right column of equal width. */ {
	font-size: 0.8em;
	width: 50%;
	float: right;
}
.fourevencolumnleft {
	font-size: 0.8em;
	width: 25%;
	float: left;
}
.fourevencolumnright {
	font-size: 0.8em;
	width: 25%;
	float: right;
}
}
/* mobile portrait */
@media screen and (max-width:35em) {
#imagetop {
	height: 10em;
	background-size: contain;
}
#breadcrumbs ul, ol {
	clear: both;
	text-align: left;
}
}
@media screen and (max-width:25em) {
#imagetop {
	height: 10em;
	background-size: cover;
}
}
/* tablet portrait */
@media screen and (min-width:35em) and (max-width:50em) {
#imagetop {
	height: 17em;
	background-size: contain;
}
}
