/*
 * www.KNACSS.com V2.1 @author: Raphael Goetter, Alsacreations
 * Licence CC-BY http://creativecommons.org/licenses/by/3.0/fr/
 */


/* ----------------------------- */
/* summary */
/* ----------------------------- */
/*
1- colors
2- reset
3- layout and modules
4- header
5- sidebar
6- footer
7- forms
8- main
9- iefix
10- print
11- desktop medias
12- mobile
*/

/* ----------------------------- */
/* ==colors */
/* ----------------------------- */


/* ----------------------------- */
/* ==reset */
/* ----------------------------- */

/* base font-size 62.5% corresponds to 10px and is adapted to rem unit */
html {
	font-size:100%; /* 62.5%;*/
}
body {
	background-color: #fff;
	color: #000;
	font-family: "Century Gothic", helvetica, arial, sans-serif;
/*	font-size: 1.4em; *//* equiv 14px */
	line-height: 1.5; /* adapt to your design */
}

/* font-sizing for content */
/* preserve vertical-rythm, thanks to http://soqr.fr/vertical-rhythm/ */
p,
ul,
ol,
dl,
blockquote,
pre,
td,
th,
label,
textarea {
	font-size: 1.2em; /* equiv 14px */
	line-height: 1.5em;
	margin: 0;
}
h1, .h1-like {
	font-size: 1.8571em; /* equiv 26px */
	line-height: 1.6154em;
	margin: 41px 0 21px 0;
}
h2, .h2-like {
	font-size: 1.7143em; /* equiv 24px */
	line-height: 1.75em;
	margin: 41px 0 21px 0;
}
h3, .h3-like {
	font-size: 1.5714em; /* equiv 22px */
	line-height: 1.909em;
	margin: 0px 0 21px 0;
}
h4, .h4-like {
	font-size: 1.4286em; /* equiv 20px */
	line-height: 1.05em;
	margin: 41px 0 21px 0;
}
h5, .h5-like {
	font-size: 1.2857em; /* equiv 18px */
	line-height: 1.1667em;
	margin: 41px 0 21px 0;
}
h6, .h6-like {
	font-size: 1.1429em; /* equiv 16px */
	line-height: 1.3125em;
	margin: 41px 0 21px 0;
}

/* alternate font-sizing */
.smaller {
	font-size: .7143em; /* equiv 10px */
	line-height: 2.1em;
}
.small {
	font-size: .8571em; /* equiv 12px */
	line-height: 1.75em;
}
.big {
	font-size: 1.1429em; /* equiv 16px */
	line-height: 1.3125em;
}
.bigger {
	font-size: 1.2857em; /* equiv 18px */
	line-height: 1.1667em;
}
.biggest {
	font-size: 1.4286em; /* equiv 20px */
	line-height: 1.05em;
}

/* soft reset */
html,
body,
label {
	margin: 0;
	padding: 0;
}
ul,
ol {
	padding-left: 30px;
}
code,
pre,
samp {
	white-space: pre-wrap;
	font-family: consolas, 'DejaVu Sans Mono', courier, monospace;
}
code { line-height: 1em; }
table {  }
.m-reset { margin: 0 !important; }
.p-reset { padding: 0 !important; }

/* avoid collapsing margins on headings */
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	margin-top: 0;
}

/* avoid margins on nested elements */
li p,
li ul,
li ol {
	margin-top: 0;
	margin-bottom: 0;
}

/* HTML5 tags */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
	display: block;
}

/* max values */
img, table, td, blockquote, code, pre, textarea, input, iframe, object, video {
	max-width: 100%;
	height: auto;
	font-size: 0.9em;
}

/* you shall not pass */
textarea, table, td, th, code, pre, samp, div, p {
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	hyphens: auto;
}

/* pictures */
img {
	width: auto;
	vertical-align: middle;
}
a img { border: 0; }


/* ----------------------------- */
/* ==layout and modules */
/* ----------------------------- */

/* switching box model for all elements */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* float layout */
/* ----------- */

/* block that can contain several .mod , can contain floats */
.line {}

/* module, contains floats */
.mod { padding: 14px; }

/* generaly inside .mod, can contain .item */
.items {}

/* fluid, contains floats, can be placed next to a float */
.item { overflow: hidden; }

/* table layout */
/* ------------------ */
.row {
	display: table;
	table-layout: fixed;
	width: 100%;
}
.row > *,
.col {
	display: table-cell;
	vertical-align: top;
	padding: 14px;
}

/* blocks that needs to be placed under floats */
.clear,
.line,
.row {
	clear: both;
}

/* blocks that can contain floats */
.clearfix:before, .clearfix:after,
.line:before, .line:after,
.mod:before, .mod:after {
	content: "";
	display: table;
}
.clearfix:after,
.line:after,
.mod:after {
	clear: both;
}

/* alignments (blocks and inline) */
/* ------------------------------ */

/* left elements */
.left {
	float: left;
}
.mod.left,
.col.left {
	margin-right: 0;
}

/* right elements */
.right {
	float: right;
}
.mod.right,
.col.right {
	margin-left: 0;
}

.center    { margin: auto; }
.txtleft   { text-align: left; }
.txtright  { text-align: right; }
.txtcenter { text-align: center; }

/* 1em gutter between elements if parent is .gut */
.row.gut > * + * {
	border-left: 14px solid #fff; /* must be color of parent background */
}
.line.gut > .left  { margin-right: 14px; }
.line.gut > .right { margin-left: 14px; }

/* "multicolumns" with % gutter */
.line.gut2 > *     { width: 49%; }
.line.gut2 > * + * { margin-left: 2%; }
.line.gut3 > *     { width: 32.333%; }
.line.gut3 > * + * { margin-left: 1.5%; }
.line.gut4 > *     { width: 24%; }
.line.gut4 > * + * { margin-left: 1.333%; }

/* just inline-block */
.inbl {
	display: inline-block;
	vertical-align: top;
}

/* blocks widths (percentage and pixels) */
.w05    { width: 5%; }
.w10    { width: 10%; }
.w15	{ width: 15%; }
.w20    { width: 20%; }
.w25    { width: 25%; }
.w30    { width: 30%; }
.w33    { width: 33.333%; }
.w35    { width: 35%; }
.w40    { width: 40%; }
.w45    { width: 45%; }
.w50    { width: 50%; }
.w55    { width: 55%; }
.w60    { width: 60%; }
.w65    { width: 65%; }
.w66    { width: 66.666%; }
.w70    { width: 70%; }
.w75    { width: 75%; }
.w80    { width: 80%; }
.w85    { width: 85%; }
.w90    { width: 90%; }
.w95    { width: 95%; }
.w100   { width: 100%; }

.mw05    { max-width: 5%; }
.mw10    { max-width: 10%; }
.mw15	 { max-width: 15%; }
.mw20    { max-width: 20%; }
.mw25    { max-width: 25%; }
.mw30    { max-width: 30%; }
.mw33    { max-width: 33.333%; }
.mw35    { max-width: 35%; }
.mw40    { max-width: 40%; }
.mw45    { max-width: 45%; }
.mw50    { max-width: 50%; }
.mw55    { max-width: 55%; }
.mw60    { max-width: 60%; }
.mw65    { max-width: 65%; }
.mw66    { max-width: 66.666%; }
.mw70    { max-width: 70%; }
.mw75    { max-width: 75%; }
.mw80    { max-width: 80%; }
.mw85    { max-width: 85%; }
.mw90    { max-width: 90%; }
.mw95    { max-width: 95%; }
.mw100   { max-width: 100%; }

.mw100p    { max-width: 100px;  }
.mw200p    { max-width: 200px; }
.mw300p	   { max-width: 300px; }
.mw400p    { max-width: 400px; }
.mw500p    { max-width: 500px; }
.mw600p    { max-width: 600px; }
.mw700p    { max-width: 700px; }
.mw800p    { max-width: 800px; }
.mw900p    { max-width: 900px; }


.w50p   { width: 50px; }
.w100p  { width: 100px; }
.w150p  { width: 150px; }
.w200p  { width: 200px; }
.w300p  { width: 300px; }
.w400p  { width: 400px; }
.w500p  { width: 500px; }
.w600p  { width: 600px; }
.w700p  { width: 700px; }
.w800p  { width: 800px; }
.w960p  { width: 960px; }
.mw960p { max-width: 960px; }

/* margins */
.mt0   { margin-top: 0; }
.mt1   { margin-top: 10px; }
.mt1-5 { margin-top: 15px; }
.mt2   { margin-top: 20px; }
.mt3   { margin-top: 30px; }
.mr0   { margin-right: 0; }
.mr1   { margin-right: 10px; }
.mr2   { margin-right: 20px; }
.mb0   { margin-bottom: 0; }
.mb1   { margin-bottom: 10px; }
.mb1-5 { margin-bottom: 15px; }
.mb2   { margin-bottom: 20px; }
.mb3   { margin-bottom: 30px !important;}
.ml0   { margin-left: 0; }
.ml1   { margin-left: 10px; }
.ml2   { margin-left: 20px; }

/* hiding content */
.visually-hidden {
	position: absolute;
	left: -7000px;
	overflow: hidden;
}
[dir=rtl] .visually-hidden {
	left: auto;
	right: -7000px;
}

.desktop-hidden { display: none; } /* hidden on desktop */
.mobile-hidden {} /* hidden on mobile */
.tablet-hidden {} /* hidden on tablets */
.phone-hidden {} /* hidden on smartphones */

/* ----------------------------- */
/* ==header */
/* ----------------------------- */

/* ----------------------------- */
/* ==sidebar */
/* ----------------------------- */

/* ----------------------------- */
/* ==footer */
/* ----------------------------- */

/* ----------------------------- */
/* ==forms */
/* ----------------------------- */

form,
fieldset {
	border: none;
}

button,
select,
label {
	vertical-align: middle; /* @bugfix alignment */
}
input
 {
	vertical-align: TOP; /* @bugfix alignment */
}

/* ----------------------------- */
/* ==main */
/* ----------------------------- */

/* ----------------------------- */
/* ==iefix */
/* ----------------------------- */

/* haslayout for IE6/IE7 */
.ie67 .clearfix,
.ie67 .line,
.ie67 .mod,
.ie67 .row,
.ie67 .col {
	zoom: 1;
}

/* inline-block and table-cell for IE6/IE7 */
/* warning: .col needs width on IE6/IE7 */
.ie67 .btn,
.ie67 .col,
.ie67 .inbl {
	display: inline;
	zoom: 1;
}
.ie8 img {
	width: auto; /* @bugfix for IE8 */
}

/* box-sizing for IE6/IE7 */
/* @source https://github.com/Schepp/box-sizing-polyfill */
/*
.ie67 * {
	behavior: url(/js/boxsizing.htc);
}
*/

/* ----------------------------- */
/* ==print */
/* ----------------------------- */

/* quick print reset */
@media print {
	p,
	blockquote {
		orphans: 2;
		widows: 2;
	}
	blockquote,
	ul,
	ol {
		page-break-inside: avoid;
	}
	h1,
	h2,
	h3,
	caption {
		page-break-after: avoid;
	}
}

/* ----------------------------- */
/* ==desktop medias */
/* ----------------------------- */

@media (min-width: 641px) {
	/* here go rules for big resources and big screens like: background-images, font-faces, etc. */
}

/* ----------------------------- */
/* ==mobile */
/* ----------------------------- */

/* quick tablet reset */
@media (max-width: 768px) {
	.tablet-hidden { display: none; }
	[class*="mw"],
/*
	[class*="w9"],
	[class*="w8"],
	[class*="w7"],
	[class*="w6"] {
		width: auto;
	}
*/
}

/* quick smartphone reset */
@media (max-width: 640px) {
	.phone-hidden { display: none; }
	.mod,
	.col,
	label,
	fieldset {
	/*
		display: block !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		border: 0;
		float: none !important;
		width: auto !important;
	*/
	}
/*
	[class*="w5"],
	[class*="w4"],
	[class*="w3"] {
		width: auto;
	}
*/
	.row { width: 100% !important; }
}

@media (-webkit-min-device-pixel-ratio: 1.3),
       (-o-min-device-pixel-ratio: 4/3),
       (min--moz-device-pixel-ratio: 1.3),
       (min-device-pixel-ratio: 1.3) {
/* Style adjustments for high resolution devices */
}

/* orientation iOS font-size fix */
@media (orientation: landscape) and (max-device-width: 640px) {
	html,
	body {
		-webkit-text-size-adjust: 100%;
	}
}