/*!
* www.KNACSS.com V4.3.4 (27 août 2015) @author: Raphael Goetter, Alsacreations
* Licence WTFPL http://www.wtfpl.net/
*/



/* ----------------------------- */
/* == soft reset                 */
/* ----------------------------- */
/* switching to border-box model for all elements */
html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* alternate font-sizing */
.smaller {
  font-size: 0.6em;
}
.small {
  font-size: 0.8em;
}
.big {
  font-size: 1.2em;
}
.bigger {
  font-size: 1.5em;
}
.biggest {
  font-size: 2em;
}

/* ----------------------------- */
/* == hiding content             */
/* ----------------------------- */
/* hidden but not for an assistive technology like a screen reader, Yahoo! method */
.visually-hidden {
  position: absolute !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}
@media (max-width: 640px) {
  .no-small-screen {
    display: none;
  }
}
@media (min-width: 1280px) {
  .no-large-screen {
    display: none;
  }
}

/* ----------------------------- */
/* ==layout and modules          */
/* ----------------------------- */
/* module, gains superpower "BFC" Block Formating Context */
.mod,
.bfc {
  overflow: hidden;
}
/* blocks that needs to be placed under floats */
.clear,
.line {
  clear: both;
}
/* blocks that must contain floats */
.line::after {
  content: "";
  display: table;
  clear: both;
  border-collapse: collapse;
}
/* simple blocks alignment */
.left {
  margin-right: auto;
}
.right {
  margin-left: auto;
}
.center {
  margin-left: auto;
  margin-right: auto;
}
/* text and contents alignment */
.txtleft {
  text-align: left;
}
.txtright {
  text-align: right;
}
.txtcenter {
  text-align: center;
}
.txtjustif {
  text-align: justify;
}
/* floating elements */
.fl {
  float: left;
}
img.fl {
  margin-right: 1rem;
}
.fr {
  float: right;
}
img.fr {
  margin-left: 1rem;
}
img.fl,
img.fr {
  margin-bottom: 0.5rem;
}


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

/* ---------------------------------- */
/* ==Grids                            */
/* ---------------------------------- */
/* grid container */
[class*="grid-"] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -1em;
  /* inline-block fallback for IE9 generation */
  letter-spacing: -0.31em;
  text-rendering: optimizespeed;
}
/* grid childs */
[class*="grid-"] > * {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: calc(100% * 1 / 4 - 1em - .01px);
  margin-left: 1em;
  /* inline-block fallback for IE9 generation */
  display: inline-block;
  vertical-align: top;
  letter-spacing: normal;
  text-rendering: auto;
}
[class*="grid-2"] > * {
  width: calc(100% * 1 / 2 - 1em - .01px);
}
[class*="grid-2"] > .flex-item-double {
  width: calc(100% * 2 / 2 - 1em - .01px);
}
[class*="grid-3"] > * {
  width: calc(100% * 1 / 3 - 1em - .01px);
}
[class*="grid-3"] > .flex-item-double {
  width: calc(100% * 2 / 3 - 1em - .01px);
}
[class*="grid-4"] > * {
  width: calc(100% * 1 / 4 - 1em - .01px);
}
[class*="grid-4"] > .flex-item-double {
  width: calc(100% * 2 / 4 - 1em - .01px);
}
[class*="grid-5"] > * {
  width: calc(100% * 1 / 5 - 1em - .01px);
}
[class*="grid-5"] > .flex-item-double {
  width: calc(100% * 2 / 5 - 1em - .01px);
}
[class*="grid-6"] > * {
  width: calc(100% * 1 / 6 - 1em - .01px);
}
[class*="grid-6"] > .flex-item-double {
  width: calc(100% * 2 / 6 - 1em - .01px);
}
[class*="grid-7"] > * {
  width: calc(100% * 1 / 7 - 1em - .01px);
}
[class*="grid-7"] > .flex-item-double {
  width: calc(100% * 2 / 7 - 1em - .01px);
}
[class*="grid-8"] > * {
  width: calc(100% * 1 / 8 - 1em - .01px);
}
[class*="grid-8"] > .flex-item-double {
  width: calc(100% * 2 / 8 - 1em - .01px);
}
[class*="grid-10"] > * {
  width: calc(100% * 1 / 10 - 1em - .01px);
}
[class*="grid-10"] > .flex-item-double {
  width: calc(100% * 2 / 10 - 1em - .01px);
}
[class*="grid-12"] > * {
  width: calc(100% * 1 / 12 - 1em - .01px);
}
[class*="grid-12"] > .flex-item-double {
  width: calc(100% * 2 / 12 - 1em - .01px);
}
/* Responsive grid */
@media (max-width: 1320px) {
  [class*="-medium-4"] > * {
    width: calc(100% * 1 / 4 - 1em - .01px);
  }
  [class*="-medium-4"] > .flexitem-double {
    width: calc(100% * 1 / 2 - 1em - .01px);
  }
  [class*="-medium-3"] > * {
    width: calc(100% * 1 / 3 - 1em - .01px);
  }
  [class*="-medium-3"] > .flexitem-double {
    width: calc(100% * 2 / 3 - 1em - .01px);
  }
  [class*="-medium-2"] > * {
    width: calc(100% * 1 / 2 - 1em - .01px);
  }
  [class*="-medium-2"] > .flexitem-double {
    width: calc(100% - 1em - .01px);
  }
  [class*="-medium-1"] > * {
    width: calc(100% - 1em - .01px);
  }
  [class*="-medium-1"] > .flexitem-double {
    width: calc(100% - 1em - .01px);
  }
}
@media (max-width: 640px) {
  [class*="-small-4"] > * {
    width: calc(100% * 1 / 4 - 1em - .01px);
  }
  [class*="-small-4"] > .flexitem-double {
    width: calc(100% * 1 / 2 - 1em - .01px);
  }
  [class*="-small-3"] > * {
    width: calc(100% * 1 / 3 - 1em - .01px);
  }
  [class*="-small-3"] > .flexitem-double {
    width: calc(100% * 2 / 3 - 1em - .01px);
  }
  [class*="-small-2"] > * {
    width: calc(100% * 1 / 2 - 1em - .01px);
  }
  [class*="-small-2"] > .flexitem-double {
    width: calc(100% - 1em - .01px);
  }
  [class*="-small-1"] > * {
    width: calc(100% - 1em - .01px);
  }
  [class*="-small-1"] > .flexitem-double {
    width: calc(100% - 1em - .01px);
  }
}
@media (max-width: 420px) {
  [class*="-tiny-2"] > * {
    width: calc(100% * 1 / 2 - 1em - .01px);
  }
  [class*="-tiny-2"] > .flexitem-double {
    width: calc(100% - 1em - .01px);
  }
  [class*="-tiny-1"] > * {
    width: calc(100% - 1em - .01px);
  }
  [class*="-tiny-1"] > .flexitem-double {
    width: calc(100% - 1em - .01px);
  }
}
.grid-2-1 > *:nth-child(odd) {
  width: calc(66.66666666666666% - 1em - .01px);
}
.grid-2-1 > *:nth-child(even) {
  width: calc(33.33333333333333% - 1em - .01px);
}
@media (max-width: 640px) {
  .grid-2-1 > *:nth-child(n) {
    width: calc(100% - 1em - .01px);
  }
}
.grid-1-2 > *:nth-child(odd) {
  width: calc(33.33333333333333% - 1em - .01px);
}
.grid-1-2 > *:nth-child(even) {
  width: calc(66.66666666666666% - 1em - .01px);
}
@media (max-width: 640px) {
  .grid-1-2 > *:nth-child(n) {
    width: calc(100% - 1em - .01px);
  }
}
.grid-3-1 > *:nth-child(odd) {
  width: calc(75% - 1em - .01px);
}
.grid-3-1 > *:nth-child(even) {
  width: calc(25% - 1em - .01px);
}
@media (max-width: 640px) {
  .grid-3-1 > *:nth-child(n) {
    width: calc(100% - 1em - .01px);
  }
}
.grid-1-3 > *:nth-child(odd) {
  width: calc(25% - 1em - .01px);
}
.grid-1-3 > *:nth-child(even) {
  width: calc(75% - 1em - .01px);
}
@media (max-width: 640px) {
  .grid-1-3 > *:nth-child(n) {
    width: calc(100% - 1em - .01px);
  }
}
.grid-3-2 > *:nth-child(odd) {
  width: calc(60% - 1em - .01px);
}
.grid-3-2 > *:nth-child(even) {
  width: calc(40% - 1em - .01px);
}
@media (max-width: 640px) {
  .grid-3-2 > *:nth-child(n) {
    width: calc(100% - 1em - .01px);
  }
}
.grid-2-3 > *:nth-child(odd) {
  width: calc(40% - 1em - .01px);
}
.grid-2-3 > *:nth-child(even) {
  width: calc(60% - 1em - .01px);
}
@media (max-width: 640px) {
  .grid-2-3 > *:nth-child(n) {
    width: calc(100% - 1em - .01px);
  }
}
.grid-4-1 > *:nth-child(odd) {
  width: calc(80% - 1em - .01px);
}
.grid-4-1 > *:nth-child(even) {
  width: calc(20% - 1em - .01px);
}
@media (max-width: 640px) {
  .grid-4-1 > *:nth-child(n) {
    width: calc(100% - 1em - .01px);
  }
}
.grid-1-4 > *:nth-child(odd) {
  width: calc(20% - 1em - .01px);
}
.grid-1-4 > *:nth-child(even) {
  width: calc(80% - 1em - .01px);
}
@media (max-width: 640px) {
  .grid-1-4 > *:nth-child(n) {
    width: calc(100% - 1em - .01px);
  }
}
.pull {
  margin-right: auto;
}
.push {
  margin-left: auto;
}


/* ---------------------------------- */
/* ==visual helpers                   */
/* .. use them with parcimony !       */
/* ---------------------------------- */
/* blocks widths (percentage and pixels) */
.w10 {
  width: 10%;
}
.w20 {
  width: 20%;
}
.w25 {
  width: 25%;
}
.w30 {
  width: 30%;
}
.w33 {
  width: 33.3333%;
}
.w40 {
  width: 40%;
}
.w50 {
  width: 50%;
}
.w60 {
  width: 60%;
}
.w66 {
  width: 66.6666%;
}
.w70 {
  width: 70%;
}
.w75 {
  width: 75%;
}
.w80 {
  width: 80%;
}
.w90 {
  width: 90%;
}
.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;
}
.mw960p {
  max-width: 960px;
}
.w1140p {
  width: 1140px;
}
.mw1140p {
  max-width: 1140px;
}
.wauto {
  width: auto;
}
/* spacing helpers
p,m = padding,margin
a,t,r,b,l = all,top,right,bottom,left
s,m,l,n = small, medium, large, none
*/
.man,
.ma0 {
  margin: 0;
}
.pan,
.pa0 {
  padding: 0;
}
.mas {
  margin: 1rem;
}
.mam {
  margin: 2rem;
}
.mal {
  margin: 4rem;
}
.pas {
  padding: 1rem;
}
.pam {
  padding: 2rem;
}
.pal {
  padding: 4rem;
}
.mtn,
.mt0 {
  margin-top: 0;
}
.mtxs {
	margin-top: .5rem;
}
.mts {
  margin-top: 1rem;
}
.mtm {
  margin-top: 2rem;
}
.mtl {
  margin-top: 4rem;
}
.mtxl {
	margin-top: 5rem;
}
.mrn,
.mr0 {
  margin-right: 0;
}
.mrs {
  margin-right: 1rem;
}
.mrm {
  margin-right: 2rem;
}
.mrl {
  margin-right: 4rem;
}
.mbn,
.mb0 {
  margin-bottom: 0;
}
.mbs {
  margin-bottom: 1rem;
}
.mbm {
  margin-bottom: 2rem;
}
.mbl {
  margin-bottom: 4rem;
}
.mln,
.ml0 {
  margin-left: 0;
}
.mls {
  margin-left: 1rem;
}
.mlm {
  margin-left: 2rem;
}
.mll {
  margin-left: 4rem;
}
.ptn,
.pt0 {
  padding-top: 0;
}
.pts {
  padding-top: 1rem;
}
.ptm {
  padding-top: 2rem;
}
.ptl {
  padding-top: 4rem;
}
.prn,
.pr0 {
  padding-right: 0;
}
.prs {
  padding-right: 1rem;
}
.prm {
  padding-right: 2rem;
}
.prl {
  padding-right: 4rem;
}
.pbn,
.pb0 {
  padding-bottom: 0;
}
.pbs {
  padding-bottom: 1rem;
}
.pbm {
  padding-bottom: 2rem;
}
.pbl {
  padding-bottom: 4rem;
}
.pln,
.pl0 {
  padding-left: 0;
}
.pls {
  padding-left: 1rem;
}
.plm {
  padding-left: 2rem;
}
.pll {
  padding-left: 4rem;
}
/* ----------------------------- */
/* ==desktop and HD devices      */
/* ----------------------------- */
@media (min-width: 961px) {
  /* 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 high density devices */
}
/* ---------------------------------- */
/* ==Responsive large                 */
/* ---------------------------------- */
.large-visible {display: none;}
@media (min-width: 961px) {
  /* text and contents alignment */
  .large-txtleft {
    text-align: left;
  }
  .large-txtright {
    text-align: right;
  }
  .large-txtcenter {
    text-align: center;
  }
  .large-txtjustif {
    text-align: justify;
  }
  /* 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-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-man {
    margin: 0 !important;
  }
}
/* ---------------------------------- */
/* ==Responsive medium                */
/* ---------------------------------- */
@media (min-width: 641px) and (max-width: 1320px) {
  /* text and contents alignment */
  .medium-txtleft {
    text-align: left;
  }
  .medium-txtright {
    text-align: right;
  }
  .medium-txtcenter {
    text-align: center;
  }
  .medium-txtjustif {
    text-align: justify;
  }
  /* layouts for medium screens */
  .medium-hidden {
    display: none !important;
  }
  .medium-visible {
    display: block !important;
  }
  .medium-no-float {
    float: none;
  }
  .medium-inbl {
    display: inline-block;
    float: none;
    vertical-align: top;
  }
  .medium-row {
    display: table;
    table-layout: fixed;
    width: 100% !important;
  }
  .medium-col {
    display: table-cell;
    vertical-align: top;
  }
  /* widths for medium screens */
  .medium-w25 {
    width: 25% !important;
  }
  .medium-w33 {
    width: 33.3333% !important;
  }
  .medium-w50 {
    width: 50% !important;
  }
  .medium-w66 {
    width: 66.6666% !important;
  }
  .medium-w75 {
    width: 75% !important;
  }
  .medium-w100,
  .medium-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 medium screens */
  .medium-man,
  .medium-ma0 {
    margin: 0 !important;
  }
}
/* ---------------------------------- */
/* ==Responsive small                 */
/* ---------------------------------- */
@media (min-width: 321px) and (max-width: 640px) {
  /* quick reset in small resolution and less */
  .w600p,
  .w700p,
  .w800p,
  .w960p,
  .mw960p {
    width: auto;
    float: none;
  }
  /* text and contents alignment */
  .small-txtleft {
    text-align: left;
  }
  .small-txtright {
    text-align: right;
  }
  .small-txtcenter {
    text-align: center;
  }
  .small-txtjustif {
    text-align: justify;
  }
  /* 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;
  }
  /* widths for small screens */
  .small-w25 {
    width: 25% !important;
  }
  .small-w33 {
    width: 33.3333% !important;
  }
  .small-w50 {
    width: 50% !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 for small screens */
  .small-man,
  .small-ma0 {
    margin: 0 !important;
  }
  .small-pan,
  .small-pa0 {
    padding: 0 !important;
  }
}
/* ---------------------------------- */
/* ==Responsive tiny                  */
/* ---------------------------------- */
@media (max-width: 320px) {
  /* quick tiny resolution reset */
  .mod {
    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;
  }
  /* text and contents alignment */
  .tiny-txtleft {
    text-align: left;
  }
  .tiny-txtright {
    text-align: right;
  }
  .tiny-txtcenter {
    text-align: center;
  }
  .tiny-txtjustif {
    text-align: justify;
  }
  /* layouts for tiny screens */
  .tiny-hidden {
    display: none !important;
  }
  .tiny-visible {
    display: block !important;
  }
  .tiny-no-float {
    float: none;
  }
  .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;
  }

  /* widths for tiny screens */
  .tiny-w25 {
    width: 25% !important;
  }
  .tiny-w33 {
    width: 33.3333% !important;
  }
  .tiny-w50 {
    width: 50% !important;
  }
  .tiny-w66 {
    width: 66.6666% !important;
  }
  .tiny-w75 {
    width: 75% !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 for tiny screens */
  .tiny-man,
  .tiny-ma0 {
    margin: 0 !important;
  }
  .tiny-pan,
  .tiny-pa0 {
    padding: 0 !important;
  }
}


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

@media (max-width: 640px) {
  /* you shall not pass */
  div,
  textarea,
  table,
  td,
  th,
  code,
  pre,
  samp {
    word-wrap: break-word;
    -webkit-hyphens: auto;
        -ms-hyphens: auto;
            hyphens: auto;
  }
}

