
/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #111;
	color: #eee;
    text-shadow: none;
}

::selection {
    background: #111;
	color: #eee;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */



/* include font */
@font-face {
   font-family: 'nexa_light';
   src: url('../font/vendor/nexa_light-webfont.eot');
   src: url('../font/vendor/nexa_light-webfont.eot?#iefix') format('embedded-opentype'),
        url('../font/vendor/nexa_light-webfont.woff2') format('woff2'),
        url('../font/vendor/nexa_light-webfont.woff') format('woff'),
        url('../font/vendor/nexa_light-webfont.ttf') format('truetype'),
        url('../font/vendor/nexa_light-webfont.svg#nexa_lightregular') format('svg');
   font-weight: normal;
   font-style: normal;
}
@font-face {
   font-family: 'nexa_bold';
   src: url('../font/vendor/nexa_bold-webfont.eot');
   src: url('../font/vendor/nexa_bold-webfont.eot?#iefix') format('embedded-opentype'),
        url('../font/vendor/nexa_bold-webfont.woff2') format('woff2'),
        url('../font/vendor/nexa_bold-webfont.woff') format('woff'),
        url('../font/vendor/nexa_bold-webfont.ttf') format('truetype'),
        url('../font/vendor/nexa_bold-webfont.svg#nexa_boldregular') format('svg');
   font-weight: normal;
   font-style: normal;
}



HTML, BODY		    { margin:0; padding:0; width:100%; min-height:100%; min-height:100vh; overflow-x:hidden; }
BODY			    { position:relative; height:100%; font-size:100%; line-height:1.5em; color:#fff; font-family:'nexa_light', arial, sans-serif; font-weight:400; }
BODY:after          { content:''; z-index:0; position:fixed; top:0; left:0; width:100%; height:100vh; background:#fff url('https://www.ninakainz.at/img/bg-nina-kainz.jpg') no-repeat top center; -moz-background-size:cover; -ms-background-size:cover; -o-background-size:cover; -webkit-background-size:cover; background-size:cover; opacity:1; display:block; }

A				    { color:#cdb69a; text-decoration:none; -webkit-transition:all 0.33s ease-out; -moz-transition:all 0.33s ease-out; -o-transition:all 0.33s ease-out; transition:all 0.33s ease-out; }
A:hover			    { color:#cdb69a; text-decoration:none; }
A:focus			    { outline:0; text-decoration:none; }
SMALL			    { font-size:0.75rem; line-height:2; }
BIG				    { font-size:1.5rem; line-height:1.3333; }
EM				    { font-style:italic; }
STRONG			    { font-weight:700; }
IMG				    { max-width:100%; height:auto; display:block; }
ADDRESS		        { font-style:normal; }

.cleaner			{ content:""; display:block; height:0; clear:both; visibility:hidden; }



HEADER 				{ z-index:2; height:calc(100vh - 7.5rem); max-height:calc(100vh - 7.5rem); position:relative; }
#header	            { position:relative; width:50%; height:100%; margin:0 42% 0 8%; padding:0 0; text-align:center; }
@media only screen and (max-height:820px) {
HEADER	            { height:auto; max-height:none; width:75%; }
}
@media only screen and (min-width:0px) and (max-width:1023px) {
HEADER	            { height:auto; max-height:none; width:66.6667%; }
#header             { width:100%; margin:0 4% 0 4%; }
}

MAIN 				{ z-index:1; position:relative; background:rgba(0,0,0,0.75); }
#main	            { position:relative; width:100%; margin:0 0 0 0; text-align:center; }
@media only screen and (min-width:0px) and (max-width:767px) {
#main	            { }
}

FOOTER 				{ z-index:3; position:absolute; top:calc(100vh - 4.5rem); left:0; width:100%; background:rgba(255,255,255,0); }
#footer	            { position:relative; width:100%; margin:0 0 0 0; padding:0 0; text-align:center; }



#header .wrapper    { position:relative; margin:3rem 0 3rem 0; width:100%; }
#header H1			{ width:33.3333%; margin:0 auto 3rem auto; font-size:1rem; line-height:1.5; color:#cdb69a; }
@media only screen and (min-width:0) and (max-width:768px) {
#header H1			{ width:66.6667%; }
}
#header H1 IMG		{ margin:0 auto 3rem auto; }
#header h2          { margin:0 0 3rem 0; font-family:'nexa_light', arial, sans-serif; font-size:2rem; line-height:1.5; color:#cdb69a; }
@media only screen and (min-width:0px) and (max-width:767px) {
#header h2          { font-size:1.5rem; line-height:1.3333; }
}
#header p           { margin:0 0 1.5rem 0; font-size:1.5rem; line-height:1.3333; color:#cdb69a; }
@media only screen and (min-width:0px) and (max-width:767px) {
#header p           { font-size:1rem; line-height:1.5; }
}
#header a           { color:inherit; }
#header a:hover     { color:#fff; }
#header ul.address  { margin:0 0 3rem 0; padding:0 0 0 0; font-size:1.5rem; line-height:1.3333; color:#cdb69a; list-style:none; display:block; }
@media only screen and (min-width:0px) and (max-width:767px) {
#header ul.address  { font-size:1rem; line-height:1.5; }
}
#header ul.address li       { }
#header ul.address li + li  { margin-top:0.375rem; }
#header ul.logos            { width:calc(100% - 25%); margin:0 12.5% 0 12.5%; padding:0 0 0 0; font-size:1.5rem; line-height:1.3333; color:#30302F; list-style:none; display:block; overflow:hidden; }
@media only screen and (min-width:0px) and (max-width:767px) {
#header ul.logos            { width:100%; margin:0 0 0 0; font-size:1rem; line-height:1.5; }
}
#header ul.logos li         { float:left; width:calc(50% - 1.5rem); margin:0 0.75rem; }
@media only screen and (min-width:0px) and (max-width:767px) {
#header ul.logos li         { float:none; width:calc(100% - 1.5rem); margin:0 0.75rem; }
#header ul.logos li + li    { margin-top:1.5rem; }
}
#header ul.logos a          { width:calc(100% - 0.75rem); padding:0.75rem 0.75rem; background:rgba(255,255,255,0.75); border-radius:8px; display:block; }
#header ul.logos a:hover    { background:rgba(255,255,255,0.5); }
#header ul.logos img.icon      { margin:0 auto 0.75rem auto; display:block; }
#header ul.logos p.button      { margin-bottom:0; padding:0.375rem 1rem; font-family:'nexa_light', arial, sans-serif; color:#fff; background:#cdb69a; border-radius:8px; text-align:center; display:block; text-decoration:none; }
#header:last-child  { margin-bottom:0; }



#main H3            { position:relative; width:100%; position:relative; margin:0 0 0 0; padding:0.75rem 1.5rem; font-size:2rem; line-height:1.5; color:#fff; background:#cdb69a; }
@media only screen and (min-width:576px) and (max-width:1024px) {
#main H3            { font-size:1.5rem; line-height:1.5; padding:0.75rem 0.75rem; }
}
@media only screen and (min-width:0px) and (max-width:575px) {
#main H3            { font-size:1rem; line-height:1.5; padding:0.375rem 0.375rem; }
}
#main .images-wrapper           { padding:5.25rem 4% 5.25rem 4%; overflow:hidden; }
@media only screen and (min-width:0px) and (max-width:575px) {
#main .images-wrapper           { padding:2.25rem 0.75rem 2.25rem 0.375rem; overflow:hidden; }
}
#main .images-wrapper img.image { float:left; width:calc(25% - 1.5rem); margin:0.75rem 0.75rem; }
@media only screen and (min-width:0px) and (max-width:767px) {
#main .images-wrapper img.image { width:calc(50% - 0.75rem); margin:0.375rem 0.375rem; }
}
#main:last-child    { margin-bottom:0; }



#footer:last-child  { margin-bottom:0; }



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
