/* Resets */

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

img { border: 0px; margin: 0; padding: 0; width: 100%; display: block; }
ul, ol { list-style: none; margin: 0px; padding: 0px; }
html { font-size: 100%; }
body, html { margin: 0; padding: 0; }

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display:block;
}

iframe { border: 0; }

button {background: transparent; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit;}

a, *:focus, *:active {
  outline: 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body * {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Typography */

body, html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4,
p {
  margin: 0;
}

h1, h2, h3, h4 {
  font-weight: normal;
}


/* Float container */

.float-container > * { float: left; }
.float-container:after,
.clear {
  zoom: 1; 
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
  list-style: none;
}

.float-left { float: left; }
.float-right { float: right; }

/* Inline block container */

/* Put the items in a ul or ol and omit the closing </li> in order to avoid space between them */

.inline-block-container {
  font-size: 0;
  list-style: none;
}

.inline-block-container > * {
  display: -moz-inline-stack;
  display: inline-block;
  font-size: 1rem;
}


/* Flex Container */

.flex-container {
  display: -moz-inline-stack;
  display: inline-block;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row wrap;
  flex-flow: row wrap;
  -webkit-justify-content: center;
  justify-content: center;
  }

.flex-container.center {
   -webkit-align-items: center;
   align-items: center;
}

.flex-container.left {
   -webkit-align-items: flex-start;
   align-items: flex-start;
}

.flex-container.right {
   -webkit-align-items: flex-end;
   align-items: flex-end;
}

/* Selected text */

::-moz-selection { background: WhiteSmoke; color: #43a047; text-shadow: none; }
::selection { background: WhiteSmoke; color: #43a047; text-shadow: none; }

/* Input boxes */

input[type=text],
input[type=email],
input [type=date],
input[type=password],
input[type=search],
input[type=tel] {
  border:1px solid blue;
}

input:focus {
  outline: 0px;
  border:1px solid red;
}

/* Table */

table,
table tr,
tr td,
table tbody,
table thead,
table tfoot,
table tr th
{
    margin:0;
    padding:0;
    background:none;
    border:none;
    border-collapse:collapse;
    border-spacing:0;
    background-image:none;
}

/* Grid */

.gutters {
  padding-left: 1rem;
  padding-right: 1rem;
}

.trunk {
  width: 66%; max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

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

/* All grid units from smaller to larger 
Activate only what you need.
*/

.L-1-12 { width: 8.333333%; }
.L-1-6 { width: 16.666667%; }
.L-1-4 { width: 25%; }
.L-1-3 { width: 33.33333%; }
.L-5-12 { width: 41.666667%; }
.L-1-2 { width: 50%; }
.L-7-12 { width: 58.333333; }
.L-2-3 { width: 66.66666%; }
.L-3-4 { width: 75%; }
.L-5-6 {width: 83.333333%; }
.L-11-12 { width: 91.666667%; }
.L-1-1 { width: 100%; }

/* Visibility */

.L-show { display: block; display: initial !important; }
.L-hide { display: none !important; }

/* Medium (like ipad portrait)
Activate only what you need.
*/


@media screen and (max-width: 800px) {
  .M-show { display: block; display: initial !important; }
  .M-hide { display: none !important; }
  .M-1-12 { width: 8.333333%; }
  .M-1-6 { width: 16.666667%; }
  .M-1-4 { width: 25%; }
  .M-1-3 { width: 33.33333%; }
  .M-5-12 { width: 41.666667%; }
  .M-1-2 { width: 50%; }
  .M-7-12 { width: 58.333333; }
  .M-2-3 { width: 66.66666%; }
  .M-3-4 { width: 75%; }
  .M-5-6 {width: 83.333333%; }
  .M-11-12 { width: 91.666667%; }
  .M-1-1 { width: 100%; }
}

/* Small (like iphone landscape)
Activate only what you need.
*/


@media screen and (max-width: 600px) {
  .S-show { display: block; display: initial !important; }
  .S-hide { display: none !important; }
  .S-1-12 { width: 8.333333%; }
  .S-1-6 { width: 16.666667%; }
  .S-1-4 { width: 25%; }
  .S-1-3 { width: 33.33333%; }
  .S-5-12 { width: 41.666667%; }
  .S-1-2 { width: 50%;}
  .S-7-12 { width: 58.333333; }
  .S-2-3 { width: 66.66666%; }
  .S-3-4 { width: 75%; }
  .S-5-6 {width: 83.333333%; }
  .S-11-12 { width: 91.666667%; }
  .S-1-1 { width: 100%; }
}

