/*!
* www.KNACSS.com V2.9.3 (2014-02) @author: Raphael Goetter, Alsacreations
* Licence WTFPL http://www.wtfpl.net/
*/

/* Version modifiée par Cyberiance 2014 */

/* switching box model for all elements */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* soft reset */

html, body {margin: 0;padding: 0;}
ul, ol {padding-left: 1em;}
ul.unstyled {list-style: none;}
img {vertical-align: middle;border: 0;}
audio, canvas, video {display: inline-block;}
svg:not(:root) {overflow: hidden;}
figure {margin: 0;}

/* == typography  */
/* base font-size corresponds to 10px and is adapted to rem unit */

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  background-color: #ffffff;
  font-size: 1.4em;
  line-height: 1.5;
}

/* font-sizing for content */
/* preserve vertical-rythm, thanks to http://soqr.fr/vertical-rhythm/ */

p,
ul,
ol,
dl,
blockquote,
pre,
td,
th,
label,
textarea,
caption,
details,
figure,
hgroup {
  margin-top: .75em;
  margin-bottom: 0;
  line-height: 1.5;
}

h1,
.h1-like {
 margin-top: 0.65625em;
 margin-bottom:1.4rem;
 font-size: 3rem;
 
}

h2,
.h2-like {
  margin-top: 0.9em;
  margin-bottom: 0.6em;
  font-size: 2.2rem;
}

h3,
.h3-like {
  margin-top: 0.875em;
  margin-bottom: 0.2em;
  font-size: 1.6rem;
  color:#666;
}

h4,
.h4-like {
  margin-top: 1.05em;
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 1.05;
}

h5,
.h5-like {
  margin-top: 1.1666666666666667em;
  margin-bottom: 0;
  font-size: 1.8rem;
  line-height: 1.1666666666666667;
}

h6,
.h6-like {
  margin-top: 1.3125em;
  margin-bottom: 0;
  font-size: 1.6rem;
  line-height: 1.3125;
}

/* alternate font-sizing */

.smaller {font-size: 0.75em;}
.small {font-size: 0.9em;}
.big {font-size: 1.4em;}
.bigger {font-size: 1.8em;}
.biggest {font-size: 2em;}

code, pre, samp, kbd {
  white-space: pre-line;
  /* IE fix */
  white-space: pre-wrap;
  font-family: Consolas, 'DejaVu Sans Mono', Courier, monospace;
  line-height: 1;
}

code, kbd, mark {border-radius: 2px;}
em {font-style: italic;}
strong {font-weight: bold;}
kbd {padding: 0 2px;border: 1px solid #999;}
code {padding: 2px 4px;background: rgba(0, 0, 0, 0.04);color: #b11;}
mark {padding: 2px 4px;background: #ff0;}
sup, sub {vertical-align: 0;position: relative;}
sup {bottom: 1ex;}
sub {top: .5ex;}

/* == hiding content */

/* 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 */

/* ----------------------------- */

/* == skip links styling         */

/* ----------------------------- */

.skip-links {
  position: absolute;
}

.skip-links a {
  position: absolute;
  left: -7000px;
  padding: 0.5em;
  background: black;
  color: white;
  text-decoration: none;
}

.skip-links a:focus {
  position: static;
}

/* ----------------------------- */

/* == browsers consistency       */

/* ----------------------------- */

/* avoid top margins on first content element */

p:first-child,
ul:first-child,
ol:first-child,
dl:first-child,
blockquote:first-child,
pre:first-child,
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;
}

/* max values */

img,
table,
td,
blockquote,
code,
pre,
textarea,
input,
video {
  max-width: 100%;
}

/* margin-bottom on tables */

table {margin-bottom: 1.5em;}

/* Google Gmap3 bug fix on images */

:not(.gm-style) img {
  height: auto !important;
}

.ie678 .gm-style img {
  height: 100%;
  /* IE678 hack */
}

.gm-style img,
.gmnoscreen img,
.gmnoprint img {
  max-width: none !important;
}

/* scripts */

body > script {
  display: none !important;
}

/* ----------------------------- */

/* ==layout and modules          */

/* ----------------------------- */

/* float layout */

/* module, gains superpower "BFC" Block Formating Context */

.mod {overflow: hidden;}

/* blocks that needs to be placed under floats */

.clear,
.line,
.row {
  clear: both;
}

/* blocks that must contain floats */

.clearfix:after,
.line:after,
.mod:after {
  content: "";
  display: table;
  clear: both;
}

/* table layout */

.row {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.row > *,
.col {
  display: table-cell;
  vertical-align: top;
}

 /* block display */
 .bl{display:block;}

/* inline-block */

.inbl {
  display: inline-block;
  vertical-align: top;
}

/* alignments (blocks and inline) */

/* ------------------------------ */

/* left elements */

.left {float: left;}
img.left {margin-right: 1em;}

/* right elements */

.right {float: right;}
img.right {margin-left: 1em;}
img.left,img.right {margin-bottom: 5px;}

.center {margin-left: auto;margin-right: auto;}

.txtleft {text-align: left;}
.txtright {text-align: right;}
.txtcenter {text-align: center;}

/* == width helpers              */

/* blocks widths (percentage and pixels) */

.w5 {width: 5%;}
.w10 {width: 10%;}
.w15 {width: 15%;}
.w20 {width: 20%;}
.w25 {width: 25%;}
.w30 {width: 30%;}
.w33 {width: 33.3333%;}
.w35 {width: 35%;}
.w40 {width: 40%;}
.w45 {width: 45%;}
.w50 {width: 50%;}
.w55 {width: 50%;}
.w60 {width: 60%;}
.w65 {width: 65%;}
.w66 {width: 66.6666%;}
.w70 {width: 70%;}
.w75 {width: 75%;}
.w80 {width: 80%;}
.w85 {width: 85%;}
.w90 {width: 90%;}
.w95 {width: 95%;}
.w100 {width: 100%;}

.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;}
.w1100p {width: 1100px;}
.mw960p {max-width: 960px;}
.w1140p {width: 1140px;}
.w1170p {width: 1170px;}
.mw1140p {max-width: 1140px;}
.wauto {width: auto;}

/* ----------------------------- */

/* == spacing helpers            */

/* .. use only when needed       */

/* ----------------------------- */

/* spacing helpers
p,m = padding,margin
a,t,r,b,l = all,top,right,bottom,left
s,m,l,n = small(10px),medium(20px),large(30px),none(0)
source https://github.com/stubbornella/oocss/blob/master/core/spacing/space.css
*/

.m-reset, .ma0 {margin: 0;}
.p-reset, .pa0 {padding: 0;}

.maxs {margin:3px;}
.ma1, .mas {margin: 10px;}
.ma2, .mam {margin: 20px;}
.ma3, .mal {margin: 30px;}

.paxs {padding: 3px;}
.pa1, .pas {padding: 10px;}
.pa2, .pam {padding: 20px;}
.pa3, .pal {padding: 30px;}
.paxl {padding: 45px;}
.paxxl {padding: 60px;}

.mt0, .mtn {margin-top: 0;}
.mtxs {margin-top:3px;}
.mt1, .mts {margin-top: 10px;}
.mt2, .mtm {margin-top: 20px;}
.mt3, .mtl {margin-top: 30px;}

.mr0, .mrn {margin-right: 0;}
.mrxs {margin-right:3px;}
.mr1, .mrs {margin-right: 10px;}
.mr2, .mrm {margin-right: 20px;}
.mr3, .mrl {margin-right: 30px;}

.mb0, .mbn {margin-bottom: 0;}
.mbxs {margin-bottom:3px;}
.mb1, .mbs {margin-bottom: 10px;}
.mb2, .mbm {margin-bottom: 20px;}
.mb3, .mbl {margin-bottom: 30px;}

.ml0, .mln {margin-left: 0;}
.mlxs {margin-left:3px;}
.ml1, .mls {margin-left: 10px;}
.ml2, .mlm {margin-left: 20px;}
.ml3, .mll {margin-left: 30px;}
.mlxl {margin-left: 45px;}

.pt0, .ptn {padding-top: 0;}
.ptxs {padding-top: 5px;}
.pt1, .pts {padding-top: 10px;}
.pt2, .ptm {padding-top: 20px;}
.pt3, .ptl {padding-top: 30px;}
.ptxl {padding-top: 45px;}
.ptxxl {padding-top: 85px;}

.pr0, .prn {padding-right: 0;}
.prxs {padding-right:3px;}
.pr1, .prs {padding-right: 10px;}
.pr2, .prm {padding-right: 20px;}
.pr3, .prl {padding-right: 30px;}
.prxl {padding-right: 50px;}

.pb0, .pbn {padding-bottom: 0;}
.pbxs {padding-bottom: 3px;}
.pb1, .pbs {padding-bottom: 10px;}
.pb2, .pbm {padding-bottom: 20px;}
.pb3, .pbl {padding-bottom: 30px;}
.pbxl {padding-bottom: 45px;}

.pl0, .pln {padding-left: 0;}
.plxs {padding-left:3px;}
.pl1, .pls {padding-left: 10px;}
.pl2, .plm {padding-left: 20px;}
.pl3, .pll {padding-left: 30px;}

.pvxs { padding-top: 3px; padding-bottom: 3px;}
.pvs{ padding-top: 10px; padding-bottom: 10px;}
.pvm{ padding-top: 20px; padding-bottom: 20px;}
.pvl{ padding-top: 30px; padding-bottom: 30px;}
.pvxl{ padding-top: 45px; padding-bottom: 45px;}

.phxs{ padding-left: 3px; padding-right: 3px;}
.phs{ padding-left: 10px; padding-right: 10px;}
.phm{ padding-left: 20px; padding-right: 20px;}
.phl{ padding-left: 30px; padding-right: 30px;}
.phxl{ padding-left: 45px; padding-right: 45px;}
 
.mvxs { margin-top: 3px; margin-bottom: 3px;}
.mvs{ margin-top: 10px; margin-bottom: 10px;}
.mvm{ margin-top: 20px; margin-bottom: 20px;}
.mvl{ margin-top: 30px; margin-bottom: 30px;}
.mvxl{ margin-top: 45px; margin-bottom: 45px;}

.mhxs{ margin-left: 3px; margin-right: 3px;}
.mhs{ margin-left: 10px; margin-right: 10px;}
.mhm{ margin-left: 20px; margin-right: 20px;}
.mhl{ margin-left: 30px; margin-right: 30px;}
.mhxl{ margin-left: 45px; margin-right: 45px;}


/* ----------------------------- */

/* == iefix                      */

/* ----------------------------- */

/* Make sure you are using Conditional Classes in your HTML */

/* see : http://www.alsacreations.com/astuce/lire/988-classes-conditionnelles-HTML.html */

.ie678 h1,
.ie678 .h1-like {
  font-size: 2.2857142857142856em;
}

.ie678 h2,
.ie678 .h2-like {
  font-size: 2em;
}

.ie678 h3,
.ie678 .h3-like {
  font-size: 1.7142857142857142em;
}

.ie678 h4,
.ie678 .h4-like {
  font-size: 1.4285714285714286em;
}

.ie678 h5,
.ie678 .h5-like {
  font-size: 1.2857142857142858em;
}

.ie678 h6,
.ie678 .h6-like {
  font-size: 1.1428571428571428em;
}

/* 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 */
}

/* Active box-sizing for IE6/IE7 */

/* @source https://github.com/Schepp/box-sizing-polyfill */

/*
.ie67 * {
	behavior: url(/lib/box-sizing-polyfill/boxsizing.htc);
}
*/


/* ----------------------------- */

/* == 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;
  }
}

/* debug helper */

.knacss-debug {
  background: pink;
  outline: 3px solid maroon;
}/* ---------------------------------- */

/* ==classic grids                    */

/* .. use it when gutter size matters */

/* ---------------------------------- */

/* grids inspired from SUIT https://github.com/suitcss/suit */

/* font-family hack explained here : https://github.com/raphaelgoetter/KNACSS/issues/37 */

.grid {
  overflow: hidden;
  /*font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;*/
}

.grid > * {
  display: block;
  padding: 0;
  margin-left: -20px;
  /* gutter value */
  text-align: left;
  letter-spacing: -0.31em;
  text-rendering: optimizespeed;
}

/* Opera hack */

.opera:-o-prefocus,
.grid > * {
  word-spacing: -0.43em;
}

.grid > * > * {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  /* IE67 hack */
  width: 100%;
  padding-left: 20px;
  /* gutter value */
  margin-left: 0;
  vertical-align: top;
  text-align: left;
  letter-spacing: normal;
  word-spacing: normal;
  text-rendering: auto;
  /*font-family: Helvetica, Arial, sans-serif;*/
}

.grid2 > * {
  width: 50%;
}

.grid3 > * {
  width: 33.333%;
}

.grid4 > * {
  width: 25%;
}

.grid5 > * {
  width: 20%;
}

.grid6 > * {
  width: 16.667%;
}

.grid8 > * {
  width: 12.5%;
}

.grid10 > * {
  width: 10%;
}

.grid12 > * {
  width: 8.333%;
}

/* unequal grids (1-2, 2-1, 1-3 and 3-1) for 2 blocks */

.grid2-1 > *:first-child,
.grid1-2 > * + * {
  width: 66.666%;
}

.grid1-2 > *:first-child,
.grid2-1 > * + * {
  width: 33.333%;
}

.grid1-3 > *:first-child,
.grid3-1 > * + * {
  width: 25%;
}

.grid3-1 > *:first-child,
.grid1-3 > * + * {
  width: 75%;
}

/* Responsiv-o-matic */

@media (max-width: 1280px) {
  .grid5 > *,
  .grid6 > *,
  .grid8 > *,
  .grid10 > *,
  .grid12 > * {
    width: 33.333%;
  }
}

@media (max-width: 768px) {
  .grid3 > *,
  .grid4 > *,
  .grid5 > *,
  .grid6 > *,
  .grid8 > *,
  .grid10 > *,
  .grid12 > * {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .grid > * > * {
    width: 100% !important;
  }
}

/* ---------------------------------- */

/* ==autogrids                        */

/* .. to automatically justify blocs  */

/* ---------------------------------- */

/* Demo : http://codepen.io/raphaelgoetter/pen/Kqehf */

[class*="autogrid"] {
  text-align: justify;
  /*font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;*/
  letter-spacing: -0.31em;
  text-rendering: optimizespeed;
}

/* Opera hack */

[class*="autogrid"]:-o-prefocus {
  word-spacing: -0.43em;
}

[class*="autogrid"]:after {
  content: "";
  display: inline-block;
  width: 100%;
}

[class*="autogrid"] > * {
  display: inline-block;
  *display: inline;
  zoom: 1;
  /* ie6 ie7 hack */
  /*font-family: Helvetica, Arial, sans-serif;*/
  letter-spacing: normal;
  word-spacing: normal;
  vertical-align: top;
  text-rendering: auto;
}

.autogrid2 > * {
  width: 49%;
}

.autogrid3 > * {
  width: 32%;
}

.autogrid4 > * {
  width: 23.6%;
}

.autogrid5 > * {
  width: 19%;
}

.autogrid6 > * {
  width: 15%;
}

.autogrid8 > * {
  width: 10.8%;
}

.autogrid10 > * {
  width: 9%;
}

.autogrid12 > * {
  width: 6.4%;
}

@media (max-width: 1280px) {
  .autogrid5 > *,
  .autogrid6 > *,
  .autogrid8 > *,
  .autogrid10 > *,
  .autogrid12 > * {
    width: 32%;
  }
}

@media (max-width: 768px) {
  .autogrid5 > *,
  .autogrid6 > *,
  .autogrid8 > *,
  .autogrid10 > *,
  .autogrid12 > * {
    width: 49%;
  }
}

@media (max-width: 480px) {
  [class*="autogrid"] > * {
    width: 100%;
  }
}/* ----------------------------- */

/* ==tables                      */

/* ----------------------------- */

table,
.table {
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  vertical-align: top;
}

table {
  width: 100%;
}

.table {
  display: table;
}

table#recaptcha_table,
table.table-auto {
  table-layout: auto;
}

caption {
  padding: 10px;
  color: #555;
  font-style: italic;
}

table {
  /*border: 1px solid #ccc;*/
}

tr > * + * {
 /* border-left: 1px solid #ccc;*/
}

th,
td {
  padding: .3em .8em;
  text-align: left;
  /*border-bottom: 1px solid #ccc;*/
}

td {
  color: #333;
}

/* alternate tables */

.alternate {
  border: 0;
}

.alternate tbody {
  border: 1px solid #ccc;
}

.alternate thead tr > * + * {
  border-left: 0;
}

.alternate tbody tr > * + * {
  border-left: 1px solid #ccc;
}

/* alternate-vert tables */

.alternate-vert {
  border: 0;
  border-right: 1px solid #ccc;
}

.alternate-vert tr > :first-child {
  border-bottom: 0;
}

.alternate-vert tr > * + * {
  border-top: 1px solid #ccc;
}

/* striped tables */

.striped tbody tr:nth-child(odd) {
  background: #eee;
  background: rgba(0, 0, 0, 0.05);
}

/* striped-vert tables */

.striped-vert tr > :first-child {
  background: #eee;
  background: rgba(0, 0, 0, 0.05);
}/* ----------------------------- */

/* ==forms                       */

/* ----------------------------- */

/* thanks to HTML5boilerplate,
* github.com/nathansmith/formalize 
* and www.sitepen.com
*/

/* buttons */

.btn {
  display: inline-block;
}

/* forms items */

form,
fieldset {
  border: none;
}

input,
button,
select,
label,
.btn {
  vertical-align: middle;
  font-family: inherit;
  font-size: inherit;
}

label {
  /*display: inline-block;*/
  vertical-align: middle;
  cursor: pointer;

}

legend {
  border: 0;
  white-space: normal;
}

textarea {
  overflow: auto;
  /* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */
  min-height: 5em;
  vertical-align: top;
  font-family: inherit;
  font-size: inherit;
  resize: vertical;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
  /* clickable input types in iOS */
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
  /* Corrects excess space around these inputs in IE8/9 */
}

input[type="search"] {
  -webkit-appearance: textfield;
}

/* if select styling bugs on WebKit */

/* 'x' appears on right of search input when text is entered. This removes it */

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

::-webkit-input-placeholder {
  color: #777;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #777;
}

/* Removes inner padding and border in FF3+ */

button::-moz-focus-inner,
input[type='button']::-moz-focus-inner,
input[type='reset']::-moz-focus-inner,
input[type='submit']::-moz-focus-inner {
  border: 0;
  padding: 0;
}/* ----------------------------- */

/* ==icons and bullets	         */

/* ----------------------------- */

.icon {
  display: inline-block;
}

.icon:before,
.icon.after:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -0.1em;
  margin: 0 0.3em 0 0;
  font: 1.4em/1 sans-serif;
  color: #000;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
  speak: none;
}

@media (min-device-width: 768px) {
  .icon:before,
  .icon.after:after {
    font: 1em/0.6 sans-serif;
    -webkit-transform: rotateZ(0.05deg);
  }
}

.icon.after:after {
  margin: 0 0 0 8px;
}

.icon.after:before {
  content: "" !important;
}

.icon-rate:before,
.icon-rate.after:after {
  content: "\2605";
}

.icon-unrate:before,
.icon-unrate.after:after {
  content: "\2606";
}

.icon-check:before,
.icon-check.after:after {
  content: "\2713";
}

.icon-uncheck:before,
.icon-uncheck.after:after {
  content: "\2717";
}

.icon-cloud:before,
.icon-cloud.after:after {
  content: "\2601";
}

.icon-dl:before,
.icon-dl.after:after {
  content: "\21E3";
  font-weight: bold;
}

.icon-cross:before,
.icon-cross.after:after {
  content: "\2716";
  font-weight: bold;
}

.icon-arrow1:before,
.icon-arrow1.after:after {
  content: "\2192 ";
  position: relative;
  top: -0.15em;
}

.icon-arrow2:before,
.icon-arrow2.after:after {
  content: "\279E";
}

.icon-arrow3:before,
.icon-arrow3.after:after {
  content: "\279A";
}

.icon-bracket1:before,
.icon-bracket1.after:after {
  content: "\2039";
  font-weight: bold;
  font-size: 1.6em;
  position: relative;
  top: 0.01em;
}

.icon-bracket2:before,
.icon-bracket2.after:after {
  content: "\203A";
  /*font-weight: bold;*/
  font-size: 1.6em;
  position: relative;
  top: 0.05em;
}

.icon-up:before,
.icon-up.after:after {
  content: "\25B2";
}

.icon-down:before,
.icon-down.after:after {
  content: "\25BC";
}

.icon-bull:before,
.icon-bull.after:after {
  content: "\2022";
  font-size: 1.2em;
  top: -0.05em;
}

.icon-bull2:before,
.icon-bull2.after:after {
  content: "\25E6";
  top: -0.05em;
}

.icon-bull3:before,
.icon-bull3.after:after {
  content: "\2023";
  font-size: 1.6em;
  top: -0.05em;
}

.icon-nav:before,
.icon-nav.after:after {
  content: "\2261";
  font-weight: bold;
}

.icon-losange:before,
.icon-losange.after:after {
  content: "\25C6";
}

.icon-asteri:before,
.icon-asteri.after:after {
  content: "\2731";
  font-weight: bold;
}

.icon-mail:before,
.icon-mail.after:after {
  content: "\2709";
  font-size: 1.6em;
  top: -0.05em;
}/* ----------------------------- */

/* ==desktop and retina medias   */

/* ----------------------------- */

@media (min-width: 768px) {
  /* here go rules for big resources and big screens like: background-images, font-faces, etc. */
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
  /* Style adjustments for retina devices */
}

/* ---------------------------------- */

/* ==Responsive large / medium / tiny */

/* ---------------------------------- */

@media (min-width: 1280px) {
	
  /* layouts for large screens */

  .large-hidden {
    display: none !important;
  }

  .large-visible {
    display: block !important;
  }

  .large-no-float {
    float: none;
  }

  .large-inbl {
    display: inline-block;
    float: none;
    vertical-align: top;
  }

  .large-row {
    display: table;
    table-layout: fixed;
    width: 100% !important;
  }

  .large-col {
    display: table-cell;
    vertical-align: top;
  }

  /* widths for large screens */

  .large-w25 {
    width: 25% !important;
  }

  .large-w33 {
    width: 33.3333% !important;
  }
  
  .large-w40 {
    width: 40% !important;
  }

  .large-w50 {
    width: 50% !important;
  }

  .large-w66 {
    width: 66.6666% !important;
  }

  .large-w75 {
    width: 75% !important;
  }

  
  .large-w100,
  .large-wauto {
    display: block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: 0;
  }

  /* margins for large screens */

  .large-ma0 {
    margin: 0 !important;
  }
  
  .large-pas {padding:10px!important}
}

@media (max-width: 1170px) {
	/* quick reset in small resolution and less */

  .w600p,
  .w700p,
  .w800p,
  .w960p,
  .w1100p,
  .mw960p,
  .medium-w980p, .w1170p, .w1140p {
    width: auto;
    float: none;
  }
	
}
@media (max-width: 1024px) {}

@media (max-width: 768px) {
  
  /* layouts for small screens */

  .small-hidden {
    display: none !important;
  }

  .small-visible {
    display: block !important;
  }

  .small-no-float {
    float: none;
  }

  .small-inbl {
    display: inline-block;
    float: none;
    vertical-align: top;
  }

  .small-row {
    display: table !important;
    table-layout: fixed !important;
    width: 100% !important;
  }

  .small-col {
    display: table-cell !important;
    vertical-align: top !important;
  }

  .small-txtcenter {
  	text-align:center;
  }
  /* you shall not pass */

  div,
  textarea,
  table,
  td,
  th,
  code,
  pre,
  samp {
    word-wrap:break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }

  /* widths for small screens */

  .small-w25 {width: 25% !important;}
  .small-w33 {width: 33.3333% !important;}
  .small-w40 {width: 40% !important;}
  .small-w45 {width: 45% !important;}
  .small-w50 {width: 50% !important;}
  .small-w55 {width: 55% !important;}
  .small-w60 {width: 60% !important;}
  .small-w66 {width: 66.6666% !important;}
  .small-w75 {width: 75% !important;}
  .small-w100,
  .small-wauto {
    display: block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: 0;
  }

  /* margins and paddings for small screens */
  .small-pas {padding: 10px !important;}
  .small-pam {padding: 20px !important;}
  .small-ma0 {margin: 0 !important;}
  .small-pa0 {padding: 0 !important;}
  .small-mt0 {margin-top:0px!important ;} .small-mbm {margin-bottom:20px!important ;} .small-mtm {margin-top:20px!important;}
  .small-pts {padding-top: 10px !important;} .small-ptm {padding-top: 20px !important;} .small-ptl {padding-top: 30px !important;}
  .small-pls {padding-left: 10px !important;}.small-plm {padding-left: 20px !important;}.small-pll {padding-left: 30px !important;}
  .small-prs {padding-right: 10px !important;}.small-prm {padding-right: 20px !important;}.small-prl {padding-right: 30px !important;}
 
  /* alternate size for small screens */
  .big {font-size: 1.1em;} .bigger {font-size: 1.5em;} .biggest {font-size: 1.8em;}
  .small {font-size: 0.8em;} 
  
  h1, .h1-like {font-size: 2.2rem;}
  h2, .h2-like {font-size: 1.8rem;}
  h3, .h3-like {font-size: 1.4rem;}
  h4, .h4-like {font-size: 1rem;}
  h5, .h5-like {font-size: 0.8rem;}
  h6, .h6-like {font-size: 0.6rem;}
  
}

@media (max-width: 568px) { /*(paysage iphone 5)*/
  
  .little-hidden {
    display: none !important;
  }

  .little-visible {
    display: block !important;
  }
  .little-txtcenter {
	text-align:center;  
  }
  
  /* widths for little screens  */

  .little-w25 {width: 25% !important;}
  .little-w30 {width: 30% !important;}
  .little-w31 {width: 31% !important;}
  .little-w32 {width: 32% !important;}
  .little-w33 {width: 33.3333% !important;}
  .little-w50 {width: 50% !important;}
  .little-w66 {width: 66.6666% !important;}
  .little-w67 {width: 67% !important;}
  .little-w68 {width: 68% !important;}
  .little-w69 {width: 69% !important;}
  .little-w75 {width: 75% !important;}
  .little-w100,
  .little-wauto {
    display: block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: 0;
  }
  
   /* margins for little screens */

  .little-ma0 {margin: 0 !important;}
  .little-pa0 {padding: 0 !important;}
  .little-pas {padding:10px!important}
  .little-pam {padding:20px!important}
  
  .little-clear {clear:both !important;}
  .little-pts {padding-top: 10px !important;} .little-ptm {padding-top: 20px !important;} .little-ptl {padding-top: 30px !important;}
  .little-pls {padding-left: 10px !important;} .little-plm {padding-left: 20px !important;}.little-pll {padding-left: 30px !important;}
  .little-prs {padding-right: 10px !important;} .little-prm {padding-right: 20px !important;}.little-prl {padding-right: 30px !important;}
}

@media (max-width: 480px) {
  /* quick tiny resolution reset */

  .mod,
  .col,
  fieldset {
    display: block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: 0;
  }

  .w300p,
  .w400p,
  .w500p {
    width: auto;
    float: none;
  }

  .row {
    display: block !important;
    width: 100% !important;
  }

  /* layouts for tiny screens */

  .tiny-hidden {
    display: none !important;
  }

  .tiny-visible {
    display: block !important;
  }

  .tiny-no-float {
    float: none;
  }
  
  .tiny-clear {
   	clear:both !important;
   }

  .tiny-inbl {
    display: inline-block;
    float: none;
    vertical-align: top;
  }

  .tiny-row {
    display: table !important;
    table-layout: fixed !important;
    width: 100% !important;
  }

  .tiny-col {
    display: table-cell !important;
    vertical-align: top !important;
  }

  .tiny-txtcenter {text-align:center!important;}
  
  th,
  td {
    display: block !important;
    width: auto !important;
    text-align: left !important;
  }

  thead {
    display: none;
  }

  /* widths for tiny screens */

  .tiny-w25 {width: 25% !important;}
  .tiny-w40 {width: 40% !important;}
  .tiny-w33 {width: 33.3333% !important;}
  .tiny-w50 {width: 50% !important;}
  .tiny-w60 {width: 60% !important;}
  .tiny-w66 {width: 66.6666% !important;}
  .tiny-w75 {width: 75% !important;}
  .tiny-w90 {width: 90% !important;}

  .tiny-w100,
  .tiny-wauto {
    display: block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: 0;
  }

  /* margins and paddings for tiny screens */

  .tiny-ma0 {margin: 0px !important;}
  .tiny-pas {padding: 10px !important;}
  .tiny-pam {padding: 20px !important;}
  .tiny-pa0 {padding: 0px !important;}
  .tiny-pr0 {padding-right: 0px !important;}
  .tiny-pl0 {padding-left: 0px !important;}
  .tiny-pts {padding-top: 10px !important;}
  .tiny-pbs {padding-bottom: 10px !important;}
  .tiny-ptm {padding-top: 20px !important;}
  .tiny-pbl {padding-bottom: 30px !important;}
  .tiny-pbm {padding-bottom: 20px !important;}
  
}

/* flexbox layout 
Tutorial: http://knacss.com/demos/tutoriel.html#flex */

.flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

.flex-h {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -moz-box-orient: horizontal;
  -moz-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

.flex-v {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.flex-fluid {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  /*-ms-flex: 1;*/
  /*flex: 1;*/
}

.flex-start {
  -webkit-box-ordinal-group: 0;
  -webkit-order: -1;
  -moz-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
}

.flex-mid {
  -webkit-box-ordinal-group: 2;
  -webkit-order: 1;
  -moz-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
}

.flex-end {
  -webkit-box-ordinal-group: 43;
  -webkit-order: 42;
  -moz-box-ordinal-group: 43;
  -ms-flex-order: 42;
  order: 42;
}