/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* =============================================================================
   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. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: "Trebuchet MS"; color: #000; }

body {
    margin: 0;
    font-size: 1em;
    line-height: 1.4;

    background-color:#007a2f;
    height:100%;
}

/*
 * 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: #ffee00; color: #000; text-shadow: none; }
::selection { background: #ffee00; color: #000; text-shadow: none; }

/* =============================================================================
   Links
   ========================================================================== */

a {
    color: #ffee00;
    font-variant: small-caps;
    text-decoration:none;
}
a:visited { color: #ffee00; }
a:hover {
    color: #ffee00;
    text-decoration:underline;
}
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, serif; _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; }

h1, h2, h3 {
    margin:0;
    padding:0;
}


/* =============================================================================
   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/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }

/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */

ul {
    list-style-type: none;
    margin:0;
    padding:0;
}
ul.list li {
    line-height:1em;
    padding:.375em 0 .188em 0;
}

p,
ul.list {
    margin:.313em 0;
}

p, a {
    font-size:.88em;
    color:#000;
    font-weight:normal;
    line-height:1.4
}

a {
    font-size: 1em;
    color:#ffee00;
    white-space: nowrap;
}

#inner {
    padding:2.5em .3em;
    max-width:61.25em;
    position:relative;

    margin:auto;
}

#quickinfo {
    float:left;
}

#header .logo {
    font-size:1em;
    float:left;
    width:21.875em;
}
#header .logo a {
    display:block;
    background: transparent url(../img/cafe-habibi.png) top left no-repeat;
    width: 286px;
    height: 133px;
    font-variant: normal;
    font-size:0;
}

#header .logo img {
    display:none;
}

#header h2,
#header ul li {
    font-size:.88em;
    color:#fff;
}

#opening-hours {
    float:left;
    width:15.625em;
    margin-top:.938em;
}
#opening-hours li span {
    display: inline-block;
    width: 5em;
}

#contact {
    float:left;
    margin-top:.938em;
}
#contact a {
    color:#ffee00;
}

#navigation {
    clear:both;
    padding-top:1.25em;
}

#navigation ul li {
    float: left;
    font-size:1.1em;
    margin-right:1.875em;
    line-height: 2;
}

#navigation ul li a {
    color: #000;
    font-weight: bold;
}

#navigation ul li a.active,
#navigation ul li a:hover {
    text-decoration: none;
    color:#ffee00;
}


#content {
    clear:both;
    margin-bottom:6.25em;
    overflow: hidden;
}

#content .section {
    padding-top:1.25em;
}

#content .section.small {
    font-size:90%;
}

#content .section.small p {
    line-height: 110%;
}

#content .section .highlight {
    color:#fff;
}

#content .section .highlight.notfall {
    color:#fff;
    font-size:120%;
    font-weight: normal;
    line-height:120%;
}
#content .section .highlight.notfall strong {
    color:#fff;
    font-size:120%;
    text-decoration:underline;
    font-weight: bold;
    line-height:120%;
}


#content .section h2 {
    padding-left:1.625em;
    background: url(../img/stern.gif) left 1px no-repeat;
    font-size: 1em;
}

#content .section em {

    font-variant: small-caps;
    font-size:.857em;
    font-style:normal;
    letter-spacing:1px;
    color:#000;
}

#content .section p.link {
    margin-top:.3em;
    font-variant: small-caps;
}

.print-link {
    display:none;
}
.js .print-link {
    display: inline-block;
    padding-left: .2em;
    font-size:.88em;
}

.img-container img {
    max-width: 80%;
}

#content .section h3 {
    font-size: .88em;
    margin-top: 1.5em;
}

#gallery {
    margin-top:.3em;

}
.js #gallery .img-container {
    float:left;
    width:5.75em;
    height:5.75em;
    cursor: pointer;
    padding: .3em .3em 0 0;
}

.js #gallery .img-container .image {
    width:100%;
    height:100%;

    background-position:center;
    background-size: cover;
    background-repeat: no-repeat;
}

#gallery .img-container img {
    padding: .3em 0 .3em 0;
    max-width: 80%;
}

.js #gallery .img-container p {
    display:none;
}

#display {
    margin: .3em 0 3em 0;
    max-width: 30em;
}

#display img {
    display: inline !important;
    max-width:100%;
}
#display .image {
    display: none;
}

/* ==|== 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; *line-height: 0; }
.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; }


/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print {
    @page {
        size:210mm 297mm portrait;
        margin: 1cm 1.5cm 0 1.5cm; 
    }

    * {background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
    a, a:visited { text-decoration: none; }

    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; }
    p, h2, h3 { orphans: 3; widows: 3; }
    h2, h3 { page-break-after: avoid; }
    h2, h3 { page-break-after: avoid; }

    body {font-size: medium;}
    #outer { margin: 0; padding: 0;}
    #inner { margin: 0 auto; padding: 0; padding-top: .5cm; width: 160mm; max-width: 160mm; }
    #header { font-size:9pt; }
    .menu #header { margin-left: 0.5cm;}
    #quickinfo { float: none; width: 100%; }
    #header .logo { width: 7cm;}
    #header .logo a { background-image: none !important; color: black; padding: 0; height: auto; }
    #header img {display: inline !important; width:50%;}
    #header .claim { font-weight: bold; font-size: 9pt;}
    #header .contact { display:inline-block; padding-top: .4cm; font-size:9pt; }
    #opening-hours { float:right; width: 4cm; padding-top: .8cm; font-size:9pt; }
    #opening-hours * { font-size:9pt; }
    
    
    #content {  font-size: 12pt; margin-bottom: 0; }
    .menu #content { text-align: center; }
    #content .section h2 { padding-left: 0; font-size: 12pt; font-weight: normal; }
    #content .section h3 { font-weight: normal; font-size: 11pt;}
    #content .section p { font-size: 11pt;}
    #content .section p.menu { padding-left: 0; font-weight:bold; font-size: 12pt; line-height:1; text-align: center;}
    #content .section p.menu em { white-space: nowrap; font-size:9pt; font-weight:bold;}
    #content .section .highlight { font-weight:bold; }
    #content .section.small p { font-size:8pt; }

    #contact, #navigation, .print-link { display: none !important; }
}









