/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
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, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, select {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	outline: none;
	font-style: normal;
}
img {
	vertical-align: bottom;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
html {
    overflow-x:hidden;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img { border: 0; }

/* fonts */

@font-face {
    font-family: 'HelsinkiRegular';
    src: url('fonts/helsinki-regular-webfont.eot');
    src: url('fonts/helsinki-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/helsinki-regular-webfont.woff') format('woff'),
         url('fonts/helsinki-regular-webfont.ttf') format('truetype'),
         url('fonts/helsinki-regular-webfont.svg#HelsinkiRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* page styles */

header                      { text-align: center; background: #00cec2 url(../images/Background.svg) top left no-repeat; -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; }
header img                  { margin: 340px 0; }

#b1 div:nth-child(1)        { float: right; width: 50%; }
#b1 div:nth-child(2),
#b1 div:nth-child(3)        { float: left; width: 25%; }
#b1 div:nth-child(4)        { float: left; width: 50%; }

#b3                         { background: #de3805; text-align: center; }
#b3 div:first-child         { float: left; width: 50%; }
#b3 div:first-child img     { margin: 60px; }
#b3 div:last-child          { float: right; width: 50%; }
#b3 div:last-child img      { margin: 120px 60px; }

#b4 div:first-child,
#b4 div:nth-child(2)        { float: right; width: 25%; }
#b4 div:last-child          { float: left; width: 50%; }

#b5 div:first-child         { float: left; width: 50%; }
#b5 div:nth-child(2),
#b5 div:last-child          { float: right; width: 50%; }

#b6 div                     { float: left; width: 25%; text-align: center; border-bottom: 1px solid #e7e7e7; }
#b6 li                      { background: #fff url(../images/icon-divider.png) top left repeat-y; }
#b6 div:first-child li      { background-image: none; }
#b6 div img                 { width: auto; vertical-align: middle; }

#b8 div                     { float: left; width: 25%; text-align: center; }
#b8 li                      { background: #000 url(../images/icon-divider2.png) top left repeat-y; }
#b8 div:first-child li      { background-image: none; }
#b8 div img                 { width: auto; vertical-align: middle; }

footer a                    { display: block; text-align: center; }
footer.block img            { width: auto; vertical-align: middle; }
footer .map                 { float: left; width: 50%; background: url(../images/map.svg) center center no-repeat; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
footer .email               { float: right; width: 25%; background: #ffc000; }
footer .phone               { float: right; width: 25%; background: #00cec2; }
footer .pdf                 { float: right; width: 50%; background: #de3805; }

/* classes */

.block,
.block div                  { overflow: hidden; }
.block ul                   { width: 100%; }
.block ul li                { position: absolute; z-index: 1; }
.block img                  { width: 100%; }

/* responsive */

@media screen and (max-width: 1024px),
    only screen and (orientation:landscape) and (max-device-width: 1024px)
{
    header img { width: 70% !important; margin: 80px 0 !important; }
}

@media screen and (max-width: 700px),
    only screen and (orientation:landscape) and (max-device-width: 700px)
{
    header img { width: 80% !important; margin: 0 !important; }
    
    #p5         { float: none; width: 100% !important; }
    #p2,
    #p3         { width: 50% !important; }
    #b3 > div   { float: none; width: 100% !important; }
    #b3 > div img { width: 85% !important; margin: 40px 0 !important; }
    #b3 > div:first-child img { margin-bottom: 0 !important; }
    #p4         { clear: left; width: 100% !important; }
    #p9, #p10   { width: 50% !important; }
    #p8         { float: none; width: 100% !important; }
    #b6 > div   { width: 50% !important; }
    #b6 > div img { width: 50% !important; }
    #b6 > div img.long  { width: 70% !important; }
    #b6 > div img.short  { width: 30% !important; }
    #b8 > div   { width: 50% !important; }
    #b8 > div img   { width: 50% !important; }
    #b8 > div img.long  { width: 70% !important; }
    #b8 > div img.short  { width: 30% !important; }
    #b8 > div:nth-child(1),
    #b8 > div:nth-child(2) { border-bottom: 1px solid #252525; }
    #b8 > div:nth-child(even) li { background: #000 url(../images/icon-divider2.png) top left repeat-y !important; }
    #b8 > div:nth-child(odd) li  { background-image: none !important; }
    
    .long       {  }
    .short      { width: 30% !important; }
    
    footer .map { width: 100% !important; }
    footer .map img { width: 10% !important; }
    footer .email,
    footer .phone { width: 50% !important; }
    footer .email img { width: 30% !important; }
    footer .phone img { width: 80% !important; }
    footer .pdf { width: 100% !important; }
    footer .pdf img { width: 80% !important; }
}

@media screen and (max-width: 500px),
    only screen and (orientation:landscape) and (max-device-width: 500px)
{
    header img { width: 90% !important; }
}