
/*  STYLE GUIDE STYLING 
  Default styling for the style guide 
*/

body {
  font-family: 'Muli', sans-serif;
  padding: 2rem;
  line-height: 25px;
}

section:not([id]) {
  margin: 1em 0;
  padding: 0.5em 0;
  border-top: 1px solid #AAA;
}

section h3 {
  margin-bottom: 0;
}

section p {
  margin-top: 0;
  margin-bottom: 0;
}

section code {
  background-color: #EEE;
  line-height: 1.5;
  /*padding: 0.5em 0.75em 0.5em;*/
}

a {
  text-decoration: none;
  color: black;
}

a:active, a:hover, a:focus
{
  text-decoration: none;
  color: #939597;
}

/*.indent1 {
  padding-left: 1rem;
}*/

img
{
  width: 100%;
  height:auto;
}

.citation
{
  line-height: 25px;
  text-indent: 40px;
}


/* 
  INTERACTIVE ELEMENTS -------------------
*/

/*Styling for Navagation element*/
.button-nav{
  font-family: 'Oswald', sans-serif;
  font-weight:300; 
  letter-spacing: 2px;

  display: inline-block;

  padding-top: 0.5em;
  padding-bottom: 0.3em;

  margin-left: 1.5em;
  margin-right: 1.5em;
  border-bottom: 1.5px solid #FFF;
  color: black;
  background-color: #FFF;
  text-decoration: none;
}

.button-nav:hover, .button-nav:active, .button-nav:focus{
  color: black;
  border-bottom: 1.5px solid #C9DE55;
} 

.active
{
  color: #7D9100;
  border: none;
}

/*Styling for the in-text link*/
.in-text-link{
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
}

.in-text-link:active, .in-text-link:hover, .in-text-link:focus
{
  text-decoration: none;
  color: #7D9100;
}


/* Styling for the Submit button */
.button-submit {
  font-family: 'Oswald', sans-serif;
  font-weight:300; 
  letter-spacing: 2px;

  display: inline-block;
  padding: 0.5em 1em;
  border:1.5px solid #C9DE55;
  background-color: #FFF;
  text-decoration: none;
  -webkit-transition: background-color 0.2s ease-out;
  transition: background-color 0.2s ease-out;
}

.button-submit:active, .button-submit:hover, .button-submit:focus {
  color: #000;
  background-color: rgb(201,222,85);
}


/* Styling for text input field*/
.form-style
{
  padding: 0.3rem;
  margin: 5px 0;
  border: none;
  border-bottom: 1px solid #CCC;
  outline: none;
}

input:focus {
  border-bottom: 1px solid #7D9100;
}


/* 
  TEXT ELEMENTS -------------------
*/


/*styling for headings*/
.heading1 
{
  font-family: 'Oswald', sans-serif;
  font-weight:400; 
  letter-spacing: 2px;
  font-size: 36px;
  text-decoration: none;
  -webkit-margin-before: 0.5em;
  -webkit-margin-after: 0.3em;
}

/*styling for paragraphs*/
.para{
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.5px;
  font-size: 14px;
  max-width: 400px;
}


/*styling for lists*/
ul, ol
{
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.5px;
  font-size: 14px;
  list-style-type: none;
}

.bullet-style:before
{
  content: "•";
  color: #7d9100;
  display: inline-block;
  width: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
}

ol
{
  counter-reset: i 0;
}

ol li:before{
  content: counter(i);
  counter-increment: i;
  padding-right: 10px;
  color: #7d9100;
  font-style: italic;
}

.numbered-style
{
  padding-top: 5px;
  padding-bottom: 5px;
}

/*  
  COMBINED ELEMENTS -------------------
*/


/*styling for product listings*/
.product 
{
  display: inline-block;
  border:1.5px solid #C9DE55;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1rem;
  margin: 1rem 1.5rem 1rem 1.5rem;
}

a.product
{
  text-align: center;
  font-family: 'Oswald', sans-serif; 
  letter-spacing: 2px;
}

a.product:hover, a.product:active, a.product:focus
{
  color: #7D9100;
}


/*style for grid structure and Colour swatch*/

* {
  box-sizing: border-box;
}

.container .block {
  height: 200px;
}

.container .block:nth-of-type(1) {
  background-color: #354242;
}
.container .block:nth-of-type(2) {
  background-color: #80AD7D;
}

.container .block:nth-of-type(3) {
  background-color: #FFFF9D;
}

.container .block:nth-of-type(4) {
  background-color: #C9DE55;
}

.container .block:nth-of-type(5) {
  background-color: #7D9100;
}

.grid-col-1of5 {
  width: 100%;
}

[class^='grid-col-'] {
  float: left;
}

.grid-row::after {
  content: "";
  display: block;
  clear: both;
}

@media (min-width: 30em) {
  .grid-col-1of5 {
    width: 20%;
  }
}




