/* 
 * Name:          base.css
 * Description:   base styles for IMPP
 * Author:        design frischgepresst
 * Author URI:    https://design-frischgepresst.de/
 * Contributors:  design frischgepresst
 * Version:       0.0.1 (c) 2018 design frischgepresst
 *
 */



/* Eric Meyer's Reset Reloaded */
/* http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}





* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  }
 
body {
  margin: 0;
  padding: 4.5em 0 0 0;
  max-width: 100%;
  overflow-x: hidden;
  font-size: 100%;
  line-height: 1.5em;
  -webkit-text-size-adjust: none;
  }
  
h1 {
  font-size: 2em;               /* 32px */  
  line-height: 1.25em;          /* 40px, in relation to elements font-size */
  font-weight: bold;
  margin-bottom: 0.75em;        /* 24px, in relation to elements line height: 1/2 of 1em */
  }

h2 {
  font-size: 1.75em;            /* 28px */
  line-height: 1.14285714em;    /* 32px, in relation to elements font-size */
  font-weight: bold;
  margin-bottom: 0.57142857em;  /* 16px, in relation to elements line height: 1/2 of 1.333em */
  margin-bottom: 0.5em;
  }

h2 {
  font-size: 1.5em;             /* 24px */
  line-height: 1.3333334em;     /* 32px, in relation to elements font-size */
  font-weight: bold;
  margin-bottom: 0.6666667em;   /* 16px, in relation to elements line height: 1/2 of 1.333em */
  margin-bottom: 0.6em;
  }
  
h3 {
  font-size: 1.25em;            /* 20px */
  line-height: 1.2em;           /* 32px, in relation to elements font-size */
  font-weight: bold;
  margin-bottom: 0.4em;         /* 8px, in relation to elements line-height:  */
  }

h4 {
  font-size: 0.875em;         
  font-weight: normal;
  margin-bottom: 0.5em;
  }

h5 {
  font-size: 0.75em;   
  font-weight: normal;
  margin-bottom: 0.5em;
  }

h6 {
  font-size: 0.675em;  
  font-weight: normal;
  }

p {
  margin-bottom: 1em;
  }

strong, b {
  font-weight: bold;
  }

small {
	font-size: 0.75em;
}

em {
  font-style: italic;
  }

a {
  text-decoration: none;
  -webkit-transition: color 0.35s ease-in-out;
  -moz-transition: color 0.35s ease-in-out;
  -o-transition: color 0.35s ease-in-out;
  transition: color 0.35s ease-in-out;
  }

a:hover {
  text-decoration: underline;
  }

blockquote, q {
  display: block;
  position: relative;
  margin: 2em 8.3333334% 2.6em 8.3333334%; /* one grid column */
  font-style: italic;
  }

blockquote:after, q:before {
  content: '‟';
  position: absolute;
  top: 0.26em;
  left: -0.175em;
  font-size: 10em;
  font-style: normal;
  z-index: -1;
  color: rgba(0,0,0,0.1);
  }

ul {
  
  }

ol {
  
  }

table {
  margin-bottom: 2em;
  width: 100%;
  }

th,
td {
  padding: 0.5em;
  }

th {
  font-weight: bold;
  text-align: left;
  }

hr {
  height: 1px;
  border: none;
  margin: 1.5em 0 2em 0;
  }

img {
  margin: 0;
  max-width: 100%;
  height: auto;
  }

figure {
  margin: 1em 0;
  }

figcaption {
  margin-top: 0;
  font-size: 0.75em;
  line-height: 1em;
  color: rgba(0,0,0,0.5);
  }

/*  FORMS */

form {
  border-radius: 0;
  padding: 1em 1em 1em 2.5em; 
  margin: 1em 0 2em 0;
  -webkit-clip-path: polygon(2em 0, 100% 0, 100% 100%, 0 100%, 0 8em);
  clip-path: polygon(2em 0, 100% 0, 100% 100%, 0 100%, 0 8em);
  }

input,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="week"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea {
  padding: 0.5em 1em;
  display: inline-block;
  vertical-align: middle;
  font-size: 0.75em;
  box-shadow: none;
  -webkit-border-radius:0; 
    border-radius:0;
  }

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
select:focus,
textarea:focus {
  outline: 0;
  }

input,
select,
textarea {
  margin-bottom: 1em;
  -webkit-border-radius: 0.25em;
     -moz-border-radius: 0.25em;
          border-radius: 0.25em; 
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  }

textarea {
	height: 7.5em;
  }

button,
.submit,
input[type="button"], 
input[type="submit"] {
  padding: 0.75em 1em 0.5em 1em;
  width: auto;
  font-size: 1em;
  text-transform: uppercase;
  border: 0px;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  }

button:hover,
.submit:hover,
input[type="button"]:hover, 
input[type="submit"]:hover {
  cursor: pointer;
  }

label {
	display: block;
	margin-right: 0.5em;
	font-size: 0.75em;
  }
  
.checkbox_css label {
	margin: 0.5em;
	display: inline-block;
  }
  
.checkbox_css input {
	margin: 0.5em;
	display: inline-block;
  }

.checkbox_css span {
	display: block;
  }
