/*
 * MyMinis Style - (c) 2012 bitFactory
 *
 *
 * based on: HTML5 ✰ Boilerplate <h5bp.com/css>
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: 'Signika Negative', sans-serif; color: #222; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

/*
::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }
*/


/* =============================================================================
   Links
   ========================================================================== */

a { color: #dc3058; text-decoration:none;}
a:visited { color: #dc3058; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

.font_heading{
	font-family: 'Love Ya Like A Sister', cursive;
	text-decoration: none;
}

.font_sub_heading{
	font-family: 'Signika Negative', sans-serif;
  	text-decoration: none;
}

/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

/*custom
style myminis form
*/

input, textarea{
	padding: 3px;
	margin-top: 3px;
	border:1px solid #aaa;
    box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
    border-radius:2px;
}

input:focus, textarea:focus {
    background: #fff;
    border:1px solid #555;
    box-shadow: 0 0 3px #aaa;
}

/* Button Style */
formBlockSubmitButton.input {
    background-color: #68b12f;
    background: -webkit-gradient(linear, left top, left bottom, from(#68b12f), to(#50911e));
    background: -webkit-linear-gradient(top, #68b12f, #50911e);
    background: -moz-linear-gradient(top, #68b12f, #50911e);
    background: -ms-linear-gradient(top, #68b12f, #50911e);
    background: -o-linear-gradient(top, #68b12f, #50911e);
    background: linear-gradient(top, #68b12f, #50911e);
    border: 1px solid #509111;
    border-bottom: 1px solid #5b992b;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    box-shadow: inset 0 1px 0 0 #9fd574;
    -webkit-box-shadow: 0 1px 0 0 #9fd574 inset ;
    -moz-box-shadow: 0 1px 0 0 #9fd574 inset;
    -ms-box-shadow: 0 1px 0 0 #9fd574 inset;
    -o-box-shadow: 0 1px 0 0 #9fd574 inset;
    color: white;
    font-weight: bold;
    padding: 6px 20px;
    text-align: center;
    text-shadow: 0 -1px 0 #396715;
}
formBlockSubmitButton:hover {
    opacity:.85;
    cursor: pointer;
}
formBlockSubmitButton:active {
    border: 1px solid #20911e;
    box-shadow: 0 0 10px 5px #356b0b inset;
    -webkit-box-shadow:0 0 10px 5px #356b0b inset ;
    -moz-box-shadow: 0 0 10px 5px #356b0b inset;
    -ms-box-shadow: 0 0 10px 5px #356b0b inset;
    -o-box-shadow: 0 0 10px 5px #356b0b inset;

}


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: bit-factory (kg)
   ========================================================================== */
html, body { height: 100%; margin: 0; padding: 0} /* TODO: fix margin-top on body!! */
html {
  background: #71a6d5 url('img/bak_lighttop.png') repeat-x;
}

body {
  margin-top: -35px;  /* fix margin bug! TODO: why?????? */
  background: transparent url('img/bak_sunstripes.png') no-repeat center top;
}

#container {
  position: relative;
}

#central {
  z-index: 3;
  position: relative;
}


#central {
    background: transparent url('img/bak_middle.png') repeat-y;
}


header {
    height: 232px; /* 220 less than startpage */
}

#header-myminis {
    width: 100%;
    height: 107px;
    background: transparent url('img/bak_header.png') no-repeat;
    position: absolute;
    top: 125px;
    z-index: 1;
}

#myminis-logo {
    text-align:center;
    margin-left: -40px;
    margin-top: 15px;
}

header div#logo {
  display: none;
}

header #city {
  margin-left: 43px;
  width: 973px;
  height: 530px;
  position: absolute;
  z-index: -1;
  background: transparent url('img/bak_header_city_small.png') no-repeat;
}

header #city {
  background-position: center -220px;
}


#header-slogan {
  font-family: 'Love Ya Like A Sister', cursive;
  text-transform: uppercase;
  line-height: 1em;

  font-size: 35px;
  padding-top: 10px;
  margin-left: 45px;
}

#header-slogan span {
  font-size: 52px;
}


footer {
    height: 115px;
    background: transparent url('img/bak_bottom_slim.png') no-repeat;
}

#footerinfo {
  position:relative;
  top: -80px;
  width: 80%;
  text-align: left;
  margin-left: 5%;
  font-size: 80%;
}
#footerinfo, #footerinfo *, #footerinfo a:link,#footerinfo a:visited, #footerinfo a:hover, #footerinfo a:active {
  color: #fff;
  font-size: 100%;
}

#footerinfo li{
	display: inline;
	margin-left: 5px;
	color:red;
}

/* menu styling */
#menu {

}

#menu ul.nav {
  list-style-type: none;
  padding-left: 20px;
}

#menu ul.nav > li, #menu ul.nav > li  > a:link, #menu ul.nav > li > a:active, #menu ul.nav > li > a:visited {
  font-family: 'Love Ya Like A Sister', cursive;
  font-size: 20px;
  color: #5981b6;
  text-decoration: none;
  padding-top: 8px;
  padding-bottom: 8px;
}
#menu ul.nav li {
  position: relative;

}

#menu ul.nav li a.nav-selected:link ,
#menu ul.nav li a.nav-selected:active,
#menu ul.nav li a.nav-selected:visited,
#menu ul.nav li a.nav-path-selected:link,
#menu ul.nav li a.nav-path-selected:active,
#menu ul.nav li a.nav-path-selected:visited,
#menu ul.nav li a:hover {
  color: #dc3058;
}

/* active top level element*/
#menu ul.nav > li.nav-selected:before, #menu ul.nav > li.nav-path-selected:before {
  content: url('img/nav_active.png');
  position: absolute;
  left: -53px;
  top: 0px;
}

/** 2nd level */
#menu ul.nav > li > ul {
  list-style-type: none;
  padding: 0 0 0 10px;
  margin: 0;
}

#menu ul.nav > li > ul > li, #menu ul.nav > li > ul > li > a:link, #menu ul.nav > li > ul > li > a:active, #menu ul.nav > li > ul > li > a:visited{
  font-size: 16px;
  font-family: 'Signika Negative', sans-serif;
  text-decoration: none;
  color: #5981b6;
  padding-top: 5px;
}

#res_menu{
	position:absolute;
	left:260px;
	top: 20px;
}

#res_menu ul.nav > li, #res_menu ul.nav > li  > a:link, #res_menu ul.nav > li > a:active, #res_menu ul.nav > li > a:visited
{
	display: inline;
	list-style-type: none;
	font-family: 'Love Ya Like A Sister', cursive;
	font-size: 20px;
	color: #5981b6;
	text-decoration: none;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-right: 10px;
}

#res_menu ul.nav li a.nav-selected:link ,
#res_menu ul.nav li a.nav-selected:active,
#res_menu ul.nav li a.nav-selected:visited,
#res_menu ul.nav li a.nav-path-selected:link,
#res_menu ul.nav li a.nav-path-selected:active,
#res_menu ul.nav li a.nav-path-selected:visited,
#res_menu ul.nav li a:hover {
  color: #dc3058;
}


/** super mini ***/
#supermini {
  width: 385px;
  height: 340px;
  background: transparent url('img/supermini_small.png') no-repeat center center;
  position: absolute;
  z-index: 1;
  top: 40px;
  right: -50px;
}


#supermini-eyes {
  width: 86px;
  height: 81px;
  background: transparent url('img/supermini_eyes_small.png') no-repeat center center;
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 160px;
}

#supermini-hands {
  width: 168px;
  height: 123px;
  background: transparent url('img/supermini_arms_small.png') no-repeat center center;
  position: absolute;
  z-index: 4;
  top: 160px;
  right: 140px;
}



/*** pagetype: startpage ***/
body.startpage header, body.startpage_full header {
    height: 452px;
}

body.startpage #header-myminis, body.startpage_full #header-myminis {
    top: 345px;
}

body.startpage header #city, body.startpage_full header #city {
  background-position: center 50px;
}


body.startpage #header-slogan, body.startpage_full #header-slogan {
  font-size: 62px;
  padding-top: 20px;
}

body.startpage  #header-slogan span, body.startpage_full  #header-slogan span {
  font-size: 85px;
}

body.startpage #supermini, body.startpage_full #supermini {
  width: 641px;
  height: 568px;
  background: transparent url('img/supermini.png') no-repeat center center;
  position: absolute;
  z-index: 1;
  top: 110px;
  left: 645px;
}


body.startpage #supermini-eyes, body.startpage_full #supermini-eyes {
  width: 143px;
  height: 135px;
  background: transparent url('img/supermini_eyes.png') no-repeat center center;
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 240px;
}

body.startpage #supermini-hands, body.startpage_full #supermini-hands {
  width: 267px;
  height: 211px;
  background: transparent url('img/supermini_arms.png') no-repeat center center;
  position: absolute;
  z-index: 4;
  top: 310px;
  right: 80px;
}



/* ========== Products */

#prod_uebersicht{
	width: 450px;
}

#prod_sprechblase{
	position:relative;
	z-index: 0;
	left:-7px;
}

.prod{
	position:relative;
}

.prod_heading{
	position:relative;
	z-index:10;
	font-weight: bold;
}

.prod_links, .prod_links a{
	position:relative;
	z-index: 4;
}

.prod img{
	position:relative;
	z-index:0:
}


#prod_mini{
	top: -100px;
	xbackground:purple;
	display:inline-block;
}

#prod_mini img{
	position: relative;
	z-index: 0;
	margin-top: 10px;
	margin-left: 0px;
}

#prod_mini a{
	position: relative;
	z-index: 5;
}

#prod_perlen{
	top: -228px;
	width: 150px;
	xbackground:red;
	margin-left:0px;
	margin-bottom:-252px;
	display:inline-block;
}

#prod_perlen img{
	margin-top: 10px;
	margin-left: -35px;
	width: 180px;
	height: auto;
}

#prod_seifen{
	width: 150px;
	top: -227px;
	margin-left: 2px;
	margin-bottom:-252px;
	xbackground:blue;
	display:inline-block;
}

#prod_seifen img{
	margin-top: 32px;
	margin-left: -45px;
	width: 200px;
	height: auto;
}

#prod_maxi{
	width: 150px;
	top: -340px;
	margin-left: -9px;
	margin-bottom: -390px;
	xbackground:yellow;
	display:inline-block;
}

#prod_maxi img{
	margin-top: 20px;
	margin-left: -20px;
}

#prod_beer{
	width: 145px;
	top: -80px;
	margin-left: 0px;
	margin-bottom: 0px;
	xbackground:yellow;
	display:inline-block;
}

#prod_beer img{
	margin-top: 10px;
	margin-left: -30px;
}

#prod_wine{
	width: 145px;
	top: -80px;
	margin-left: 0px;
	margin-bottom: 0px;
	xbackground:yellow;
	display:inline-block;
}

#prod_wine img{
	margin-top: 10px;
	margin-left: -20px;
}

#prod_secco{
	width: 145px;
	top: -80px;
	margin-left: 0px;
	margin-bottom: 0px;
	xbackground:green;
	display:inline-block;
}

#prod_secco img{
	margin-top: 10px;
	margin-left: -35px;
}



/*Galerie*/

.mmgal_preview {
    position: absolute;
    top: 137px;
    left: 53px;
}
.mmgal_fingers {
    position: absolute;
    top: 94px;
    left: 18px;
    z-index: 99;
}

.gallery_preview{
position: relative;
margin-left: -60px;
}

/* Sorten Hauptseite */

.sorts_table_main
{
width:100%;
border-collapse:collapse;
margin-bottom: 20px;
}


.sorts_table_main th
{
font-size:1.1em;
text-align:left;
background-color:#fff;
color:#000;
}

.sorts_table_main tr.alt td
{
color:#000;
background-color: #d2dae1;
}

#sort_dekomini, #sort_dekomini_popup{
	position:absolute;
	height: 300px;
	width: 200px;
	top: 250px;
	left: 488px;
	background: transparent url('img/Spickler_03.png') no-repeat center center;
}

#sort_dekomini_popup{
	top: 342px;
	left: 512px;
}

#sort_image_popup{
	position: absolute;
	top: 490px;
	left: 350px;
}


/* Bestellen */

.order_process_frame{
	background-color: #eaf0f8;
	background-size: 100%;
	padding: 5px;
			border-radius: 15px;
	-webkit-border-radius: 15px;
  	   -moz-border-radius: 15px;
	box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
}

/* ========= Animation */

@-webkit-keyframes spaceboots {
	0% { -webkit-transform: translate(2px, 1px) rotate(0deg); }
	10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
	20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
	30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
	40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
	50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
	60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
	70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
	80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
	90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
	100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}
.shake:hover,
.shake:focus {
	-webkit-animation-name: spaceboots;
	-webkit-animation-duration: 0.8s;
	-webkit-transform-origin:50% 50%;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
}
.shake {
	display:inline-block
}


	/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

/*@media only screen and (min-width: 768px) {*/
  /* Style adjustments for viewports 768px and over go here */
  #container {
		width:1047px; /*960px;*/
		margin:0 auto;
	}
  #content {
    width: 89%;
    margin: 0 auto;
  }
	#sidebar, #body, #menu {
		float:left;
	}
	#sidebar {
		width: 23%;
    margin-left: 2%;
  }
  #menu {
		width: 25.5%;
    margin-right: 0.5%;
	}
	#body {
	    padding-top:50px;
	    width:48.999%;
	    min-height: 600px;
	}

    .no-sidebar #body {
		    width:71%;
    }

/*	.no-sidebar #body {
		float:none;
		width:auto;
	}
*/

/*} end media query */


#altersabfrage {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 880px;
    z-index: 100;
    display: none;
}

#altersabfrage-dimm {
    position: fixed;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    z-index: 99;
    background-color: rgba(0,0,0,0.8);
    display: none;
    /*background: #71a6d5 url('img/bak_lighttop.png') repeat-x;*/
}

#altersabfrage div.alterbg {
    position: relative;
    margin: auto;
    width: 1000px;
    height: 733px;
    background: #71a6d5 url('img/age.jpg') no-repeat center center;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

#altersabfrage span.text18 {
    position: absolute;
    top: 40px;
    left: 200px;

    font-family: 'Love Ya Like A Sister', cursive;
    text-transform: uppercase;
    line-height: 1.0em;
    font-size: 35px;

}

#altersabfrage span.text18 strong {
    font-size: 150%;
    font-weight: normal;
    line-height: 1.1em;
}

#altersabfrage a.alterok {
    overflow: hidden;
    position: absolute;
    top: 315px;
    left: 190px;
    width: 295px;
    height: 50px;
    display: block;
}

#altersabfrage a.alterno {
    overflow: hidden;
    position: absolute;
    top: 400px;
    left: 190px;
    width: 255px;
    height: 50px;
    display: block;
}

#altersabfrage a:link, #altersabfrage a:active, #altersabfrage a:hover, #altersabfrage a:visited {
    color: black;
    text-decoration: none;
}

#altersabfrage a:hover {
    font-weight: bold;
}

#altersabfrage a.alterok span, #altersabfrage a.alterno span {
    font-family: 'Love Ya Like A Sister', cursive;
    text-transform: uppercase;
    line-height: 1.0em;
    font-size: 25px;
}

#altersabfrage a.alterok span {
    display: block;
    margin-left: 36px;
    margin-top: 13px;
    letter-spacing: 1px;
}

#altersabfrage a.alterno span {
    display: block;
    margin-left: 41px;
    margin-top: 13px;
    letter-spacing: 1px;
}
span.alterspeichern {
    position: absolute;
    bottom: 10px;
    right: 10px;
    line-height: 1em;
}

span.alterspeichern input {
    vertical-align: middle;
}

span.alterspeichern p {
    margin: 0;
    display: inline;
    padding:0;
}


/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
