/*	Less Framework 4
	http://lessframework.com
	by Joni Korpi
	License: http://creativecommons.org/licenses/MIT/	*/


/*	Resets
	------	*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em,
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup,
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}



/*	Typography presets
	------------------	*/

.gigantic {
	font-size: 110px;
	line-height: 120px;
	letter-spacing: -2px;
}

.huge, h1 {
	font-size: 68px;
	line-height: 72px;
	letter-spacing: -1px;
}

.large, h2 {
	font-size: 34px;
	line-height: 48px;
}

.bigger, h3 {
	font-size: 18px;
	line-height: 32px
}

.big, h4 {
	font-size: 14px;
	line-height: 30px;
}

body {
	font: 14px/21px helvetica,arial,verdana, sans-serif;
}

.small, small {
	font-size: 13px;
	line-height: 18px;
}


/* Selection colours (easy to forget) */

::selection 	 	{background: rgb(255,255,158);}
::-moz-selection 	{background: rgb(255,255,158);}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}
body {-webkit-tap-highlight-color: rgb(255,255,158);}



/*		Default Layout: 992px.
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body {
	width: 896px;
	padding: 48px 48px 84px;
	background: url(../img/bg2.gif) repeat-x #E6E1D3;
	color: #58585A;
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
    margin: 0 auto;
}

body.home{
	background: url(../img/bg.jpg) repeat-x #E6E1D3;
}

a,
a:visited,
a:active {
	color: #BE0A26;	
}

ul {
	margin: 0 0 20px 15px;	
}

#logo {
    float: left;
    margin: 0 0 24px 0;
}

ul#navi {
    float: right;
    margin: 50px 0 24px 0;
    font-size: 16px;
}

ul#navi li {
    list-style: none;
    display: inline;
    border-right: 1px solid #58585A;
}

ul#navi li a {
	color: #58585A;
	text-decoration: none;    
    font-weight: bold;
    padding: 20px;
}

ul#navi li a:hover,
ul#navi li a.current {
	color: #BD0926;
}

ul#navi li.last {
	padding: 0;
    border-right: 0;
}

#content {
    clear: both;
    margin: 0 0 24px 0;
}

#content p {
	margin: 0 0 20px 0;	
}


/*  */
.box_00 {
    width: 488px;
    padding: 20px;
    float: left;
    margin: 0 0 24px 0;
    background: url(../img/stripes.png);
    clear: both;
}

/* HOMEPAGE /*

/* Banner */
.box_01 {
    width: 528px;
    height: 344px;
    background: #fff;
    float: left;
    margin: 0 0 24px 0;
    position: relative;
}

.box_01 .bottom {
	font-weight: bold;
    padding: 20px 20px 0 20px;
    position: absolute;
    text-align: left;
    bottom: 0;
    color: #fff;
    background: url(../img/transparent.png);
}

.block {
	position: relative;	
}

.text-bottom-right {
	position: absolute;
	bottom: 0;
	right: 0;	
}

.shadow:hover {
    box-shadow: 0 0 10px #212121 inset;
    -moz-box-shadow: 0 0 10px #212121 inset;
    -webkit-box-shadow: 0 0 10px #212121 inset;
}

/* Slogan */
.box_02-home {
    width: 304px;
    height: 304px;
    padding: 20px;
    margin: 0 0 24px 0;
    background: url(../img/box.gif);
    color: #fff;
    float: right;
    position: relative;
    
}

.box_02-home h3 {
    position: absolute;
    bottom: 20px;
    padding: 0 20px 0 0;
}


.box_02 {
    width: 304px;
    height: 304px;
    padding: 20px;
    margin: 0 0 24px 0;
    float: right;
    position: relative;
    background: #58585A;
    color: #fff;
}

.box_02-text {
	position: absolute;
	bottom: 0;	
	padding: 0 20px 0 0;
}

/* Left Box */
.box_03,
a.box_03 {
    width: 212px;
    padding: 20px 20px 0 20px;
    background: url(../img/stripes.png);
    color: #58585A;
    float: left;
    margin: 0 24px 24px 0;
    text-decoration: none;
    clear: both;
}

/* Middle Box */
.box_04,
a.box_04 {
    width: 212px;
    padding: 20px 20px 0 20px;
    margin: 0 0 24px 0;
    background: url(../img/stripes.png);
    color: #58585A;
    float: left;
    text-decoration: none;
}

#content a.box_03 p,
#content a.box_04 p {
	margin: 0 0 20px 0;	
}

.box_02-text.odd a {
		color: #fff;
}

/* Right Box */
.box_05,
a.box_05 {
    width: 324px;
    height: 206px;
    padding: 20px 0 20px 20px;
    margin: 0 0 24px 0;
    background: url(../img/stripes.png);
    color: #58585A;
    float: right;
    position: relative;
    text-decoration: none;
}

.box_05 img.flip {
	position: absolute;
	right: 0;
	top: 0;	
} 

.box_05 p {
    font-size: 14px;
    position: absolute;
    bottom: 0px;
}

a.box_03:hover,
a.box_04:hover,
a.box_05:hover {
    background: #58585A;
    color: #fff;
}

/* Right Box no padding */
.box_06 {
    width: 342px;
    height: 198px;
    border: 1px solid #fff;
    margin: 0 0 24px 0;
    background: url(../img/stripes.png);
    color: #58585A;
    float: right;
    position: relative;
}

.box_07 {
    margin: 0 0 24px 0;
    float: right;
}

/* Arrow Navigation */
#navi-arrows a:link,
#navi-arrows a:visited {
    font-size: 72px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    padding: 20px 0;
}

#navi-arrows a:hover {
    color: #B1B3B4;
}

#navi-arrows #left {
    position: fixed;
    top: 50%;
    left: 10px;
}

#navi-arrows #right {
    position: fixed;
    top: 50%;
    right: 10px;
}


/* SINGLE PAGE */

/* Right Column */
.right {
    width: 304px;    
    padding: 20px;
    float: right;
    margin: 0 0 24px 0;	
}

#headline {
	background: #BD0926;
	color: #fff;
	padding: 20px;
	margin: 0 0 24px 0;	
	clear: both;
}

.subheadline {
    background: url(../img/stripes.png);
	padding: 20px;
	margin: 0 0 24px 0;
    clear: both;
}

#footline {
    background: url(../img/stripes.png);
	color: #BD0926;
	padding: 20px;
	margin: 0 0 24px 0;	
	clear: both;
}

#footline a:link,
#footline a:visited {
	color: #BE0A26;
}

ul#navi-footer {
    float: left;
    font-size: 14px;
    margin: 0;
    clear: both;
}

ul#footer {
    float: right;
    font-size: 14px;
    margin: 0;
}

ul#navi-footer li,
ul#footer li {
    list-style: none;
    display: inline;
}

ul#navi-footer li a,
ul#footer li a {
	color: #B1B3B4;
	text-decoration: none;
    padding: 0 10px;
}

ul#navi-footer li {
    border-right: 1px solid #B1B3B4;
}

ul#navi-footer li a:hover,
ul#navi-footer li a.active,
ul#footer li a:hover,
ul#footer li a.active {
	color: inherit;
}

ul#navi-footer li.last {
    padding: 0;
    border-right: 0;
}

ul#footer li.last {
	padding: 0;
}



/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {

	body {
		width: 712px;
		padding: 48px 28px 60px;
	}
	
	h2 {
		font-size: 34px;	
	}
	
	h3 {
		font-size: 16px;	
	}
	
	/* Banner */
	#box_01 {
	    width: 436px;
	}
	
	/* Slogan */
	#box_02 {
	    width: 212px;	   
	}
	
	#box_03 {
		width: 672px;
    	height: 160px;
	}
	
	#box_04 {
		width: 396px;
    	height: 160px;
	}
	
	#box_05 {
		width: 232px;
    	height: 160px;
	}
}



/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {

	body {
		width: 252px;
		padding: 48px 34px 60px;
	}
	
	#logo {
    	float: right;
    	margin: 0 0 24px 0;
	}
	
	/* Banner */
	#box_01 {
	    width: 436px;
	    height: 344px;
	    background: #fff;
	    float: left;
	    margin: 0 0 24px 0;
	    position: relative;
	    background: url(../img/banner.jpg);
	}
	
	/* Slogan */
	#box_02 {
	    width: 396px;
	    height: 304px;
	    padding: 20px;
	    margin: 0 0 24px 0;
	    background: url(../img/box.gif);
	    color: #fff;
	    float: right;
	    position: relative;
}

}



/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {

	body {
		width: 436px;
		padding: 36px 22px 48px;
	}

}








