/*--------------------------------------------------------------
Reset
--------------------------------------------------------------*/
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, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
	overflow:scroll;
}

*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}

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

ol,
ul {
	list-style: none;
}

table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

a img {
	border: 0;
	/*outline:0;*/
}

/*--------------------------------------------------------------
Bootstrap
--------------------------------------------------------------*/

.container {
  position: relative;
}

@media screen and (max-width:767px) {
	.container {
		position:inherit;
	}
}



/*--------------------------------------------------------------
Global
--------------------------------------------------------------*/

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('open-sans'), url(../fonts/OpenSans-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Boogaloo';
    font-style: normal;
    font-weight: 400;
    src: local('Boogaloo'), local('boogaloo'), url(../fonts/Boogaloo-Regular.ttf) format('truetype');
}

body {
  background-color: #acc2de;
  font-size:100%;
  font-size:18px;
  font-size:1.8rem;
  font-family: 'Open Sans',Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: #333;
	line-height: 1.4;
}

@media screen and (max-width:991px) {
	body {
		font-size:1.6rem;
		font-size:16px;
	}
}

p {
	margin-bottom: 1em;
}

a {
  color:#3366cc;
}

img {
  max-width: 100%;
}

h1 {
	font-size:2.4rem;
	font-weight: 700;
	margin-top: 0.5em;
	color:#fff;
	letter-spacing: 1px;
}

@media screen and (max-width:991px) {
	h1 {
		font-size:1.8rem;

	}
}

a:hover {
	text-decoration: none;
}

h2 {
  font-size:2.2rem;
  font-weight: 700;
  margin-bottom: 0.5em;
}

h3 {
  font-size:1.6rem;
  font-weight: 700;
  margin: 1em 0 0;
}

ul {
	margin-bottom: 1em;
}

ul li {
	list-style-type: disc;
	margin-left: 1em;
}

header {
  background:url(../img/header_bg.png) repeat-x top center;
  min-height: 90px;
  margin-bottom: 1em;
}

#aktionen-form {
	background:rgba(255, 255, 255, 0.5);
	padding:2em 0 1em;
	border-radius:10px;
	margin: 1.5em 0.5em 0;
}

#aktionen-form input {
	font-size:16px;
}


/*--------------------------------------------------------------
Preview
--------------------------------------------------------------*/

.preview-entry {
	background:black;
	min-height:300px;
	padding:1em 2em;
	border:5px solid #3e72a6;
	border-radius:20px;
	transform: rotate(-2deg);
}

.preview-entry input {
	border:none;
	font-family: 'Boogaloo', sans-serif;
	background:transparent;
	color: white;
	width:100%;
}


#preview-kopfzeile {
	font-size:28px;
	width:100%;
	margin-top: 0.5em;
	text-align: center;
	color: #eedc15;
}

#preview-artikel {
	font-size:40px;
	margin-top:0.25em;
	text-align: center;
}

#preview-menge {
	font-size:24px;
	margin-top:0.25em;
	text-align: right;
}

#preview-preis {
	font-size:48px;
	text-align: left;
}

/*--------------------------------------------------------------
Entries
--------------------------------------------------------------*/

#kopfzeile-tabelle {
	margin-top: 2em !important;
	font-size:1.4rem;
	padding:0 1em;
}

.entries {
	margin-top: 0.5em !important;
	font-size:1.6rem;
	line-height: 2;
}

.entries li {
	padding:0.5em 1em;
	background:transparent;
	border:none;
	margin-bottom: 5px !important;
	background-color: rgba(255,255,255,0.7);
	cursor:move;
}

#entry-buttons {
	text-align: right;
}

@media screen and (max-width:991px) {
	#entry-buttons {
		text-align: center;
		margin-top: 1em;
	}
}

#entry-buttons button {
	font-size:1.2rem;
	padding:5px 10px;
	margin-left: 1em;
}

button#delete {
	width:80px;
}

#sortable { margin: 0; padding: 0; }
#sortable li { list-style-type: none; margin:0; }

/*--------------------------------------------------------------
Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}
