/*
Based on Goldilocks Approach to Responsive Web Design Boilerplate

----------------------------------------------------------------------------------------

CONTENTS - GLOBAL.CSS
-----------------------------------------
1. RESET
2. ROOT
3. CORE TYPOGRAPHY
4. LINKS
5. GLOBAL LAYOUT & GLOBAL CUSTOM TYPOGRAPHY
6. CUSTOM LAYOUT & TYPOGRAPHY (Baby bear)
7. BROWSER AND NON-SEMANTIC STYLING

CONTENTS - LAYOUT.CSS
-----------------------------------------
8. CUSTOM LAYOUT & TYPOGRAPHY (Daddy bear)
9. CUSTOM LAYOUT & TYPOGRAPHY (Mummy bear)

*/


/* 1. RESET
----------------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size:100%;
  font: inherit;
  vertical-align: baseline;
  }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
  }
  
  
/* 2. ROOT
----------------------------------------------------------------------------------------*/
html { 
  overflow-y: scroll;
  }

/* /ht Ethan Marcotte - http://front.ie/l8rJaA */
img, embed, object, video { max-width: 100%; }
.ie6 img.full, .ie6 object.full, .ie6 embed, .ie6 video { width: 100%; }


/* 3. CORE TYPOGRAPHY
----------------------------------------------------------------------------------------*/
body {
  font-family: 'Source Sans Pro', arial, sans-serif;
  font-size: 1.2em;
  line-height: 1.618em;
  color: #333;
  font-weight: 300;
  }

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.809em;
  line-height: 1.2em;
  font-weight: 200;
  }

h1 {
  font-size: 60px;
  text-align: center;
}

h2 {
    font-size: 44px; padding-top: 0.8em; margin-top: 0.8em; margin-bottom: 0.4em;
}

h3 {
    font-size: 26px; line-height: 31px;
    margin-bottom: 0.5em; text-transform: uppercase; letter-spacing: 0.1em;
}

h4 {
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.2em;
    font-weight: 300;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}


p, ul, ol, dl, blockquote {
    font-size: 0.9em;
    line-height: 1.618em;
    margin-bottom: 1.618em; 
    max-width: 30em; /* Optimal width for long-form text */
  }
    
ul { list-style-type: disc; margin-left: 1.618em; }
ol { list-style-type: decimal; margin-left: 1.618em; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0;}

b, strong { font-weight: bold; }
i, em { font-style: italic; }
small { font-size: 80%; }


/* 4. LINKS
----------------------------------------------------------------------------------------*/
a, a:visited { outline: none; color: #333;  }  
a:hover { outline: none; }  
a:active, a:focus { outline: none; }

.container a:link, .container a:visited, .container a {text-decoration: underline !important;}

#main a, #main a:visited, #main2 a, #main2 a:visited { border-bottom: 2px solid #ffe100; text-decoration: none; }  



/* 5. GLOBAL LAYOUT & GLOBAL CUSTOM TYPOGRAPHY
----------------------------------------------------------------------------------------*/



/* 6. CUSTOM LAYOUT & TYPOGRAPHY 
----------------------------------------------------------------------------------------*/
body {
	background: url(../_images/bg-body.png) 0 0 repeat;
}

#container {
    padding: 0 0 60px 0;
    max-width: 980px;
    margin: 5px auto 25px auto;
    -moz-box-shadow: 3px 3px 9px #cacaca;-webkit-box-shadow: 3px 3px 9px #cacaca;box-shadow: 3px 3px 9px #cacaca;
    background: #fff;
  }
  
nav {
    padding: 0.809em;
    max-width: 980px;
    margin: auto;
    text-align: center;
    color: #a7a7a7;
  }
  
header {
    text-align: center;
    background: url(../_images/bg-header.png) 0 0 repeat-x;
  }


aside { width: 100%; }

article { padding: 0 60px; }

#Logo { width: 210px; 
		margin: 33px auto 30px auto;
}

#main, #main2 {
	padding-left: 305px; clear: both; position: relative;
}

#main h2, #main2 h2 {
	margin: 65px 0 -32px -305px;
}

#suomenvahvimmat-yrityslogo {max-height: 250px;}



/* 7. BROWSER AND NON-SEMANTIC STYLING
----------------------------------------------------------------------------------------*/
.cf:before, .cf:after { content: ""; display: block; }
.cf:after { clear: both; }
.ie6 .cf { zoom: 1 }