/*! 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 {
    width: 100%;
	height: 100%;
}
body {
    width: 100%;
	height: 100%;
	background-color: #FFFFFF;
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*
 * 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: #000000;
	color: #FFFFFF;
    text-shadow: none;
}

::selection {
    background: #000000;
	color: #FFFFFF;
    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: 2em;
    background: #000000;
    color: #FFFFFF;
    padding: 30px;	
	font-family: Arial, Helvetica, sans-serif;
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}
.browserupgrade a, .no-touch .browserupgrade a:hover {
    color: #FFFFFF;
	text-decoration: underline;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


@font-face {
    font-family: 'Alte Haas Grotesk';
    src: url('../fonts/altehaasgroteskregular-webfont.eot');
    src: url('../fonts/altehaasgroteskregular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/altehaasgroteskregular-webfont.woff2') format('woff2'),
         url('../fonts/altehaasgroteskregular-webfont.woff') format('woff'),
         url('../fonts/altehaasgroteskregular-webfont.ttf') format('truetype'),
         url('../fonts/altehaasgroteskregular-webfont.svg#alte_haas_groteskregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Alte Haas Grotesk';
    src: url('../fonts/altehaasgroteskbold-webfont.eot');
    src: url('../fonts/altehaasgroteskbold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/altehaasgroteskbold-webfont.woff2') format('woff2'),
         url('../fonts/fonts/altehaasgroteskbold-webfont.woff') format('woff'),
         url('../fonts/altehaasgroteskbold-webfont.ttf') format('truetype'),
         url('../fonts/altehaasgroteskbold-webfont.svg#alte_haas_groteskbold') format('svg');
    font-weight: bold;
    font-style: normal;
}


/* Text */

html, body, td, th, p {
	font-family: 'Alte Haas Grotesk', Arial, sans-serif;
	font-size: 16px;
    line-height: 1.5em;
	font-weight: normal;
	color: #000000;
}
p {
    margin: 0 0 15px 0;
    padding: 0;
}
strong {
    font-weight: bold;
}
i, em {
	font-style: italic;
}
.date, small, .small {
	color: #AAAAAA;
	font-size: 88.235%;
}
sub {
	font-size: 76.471%;
	vertical-align: sub;
}
sup {
	font-size: 76.471%;
	vertical-align: super;
}
a {
	color: #AAAAAA;
	text-decoration: none;
	outline: none;
	transition: color 0.3s ease-out 0.0s, background 0.3s ease-out 0.0s;
}
.no-touch a:hover {
	color: #000000;
}


/* Headings */

h1 {
	font-size: 48px;
	line-height: 1.35em;
	margin: 0 0 80px 0;
	padding: 0;
}
h2 {
	font-size: 24px;
	line-height: 1.1em;
	margin: 0;
	padding: 0;
}


/* Icons */

[class^="icon-"]:before, [class*=" icon-"]:before {
	width: auto;
	margin-right: 0;
	margin-left: 0;
}


/* Wrapper */

.wrapper {
    width: 100%;
	height: 100%;
    max-width: 1760px;
	min-height: 1080px;
	max-height: 1400px;
	box-sizing: border-box;
	position: relative;
	margin: 0 auto;
	overflow: hidden;
}


/* Content */

.content {
	width: 50%;
	height: auto;
	position: absolute;
	left: 80px;
	top: 45%;
	-ms-transform: translate(0%,-50%);
    transform: translate(0%,-50%);
}
.country {
	margin-bottom: 40px;
	padding-left: 85px;
	background-position: 0px 2px;
	background-repeat: no-repeat;
	background-size: 70px auto;
}
.country.ch {
	background-image: url(../img/flag_ch.png);
}
.country.de {
	background-image: url(../img/flag_de.png);
}
.country.lu {
	background-image: url(../img/flag_lu.png);
}
.country.at {
	background-image: url(../img/flag_at.png);
}
.country p {
	color: #AAAAAA;
	font-weight: bold;
}


/* Image */

.image {
	width: 44%;
	height: 100%;
	position: absolute;
	right: 30px;
	top: 0px;
}
.image img {
	width: 100%;
	height: auto;
	position: absolute;
	left: 0%;
	top: 50%;
	-ms-transform: translate(0%,-50%);
    transform: translate(0%,-50%);
}


/* Logo */

.logo {
	width: 160px;
	height: auto;
	font-size: 0;
	line-height: 0;
	position: absolute;
	left: 80px;
	bottom: 80px;
}
.logo img {
	width: 100%;
	height: auto;
}


/* URL */

.url {
	display: inline-block;
	position: absolute;
	right: 80px;
	bottom: 80px;
	font-size: 18px;
	line-height: 1em;
}


/* Social Media */

.socialmedia {
	display: inline-block;
	position: absolute;
	right: 80px;
	top: 80px;
	font-size: 0;
	line-height: 0;
}
.socialmedia a {
    width: 30px;
    height: 30px;
	display: inline-block;
    background-color: #000000;
    border-radius: 100%;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    margin: 0 0 0 6px;
    padding: 0;
}
.no-touch .socialmedia a:hover {
    color: #FFFFFF;
    background-color: #AAAAAA;
}
.socialmedia a i {
    margin: 0;
}
.socialmedia a span {
    display: none;
}



@media (max-width: 1600px) {
	

/* Wrapper */

.wrapper {
	min-height: 800px;
	max-height: 1080px;
}
	

/* Headings */

h1 {
	font-size: 40px;
	margin: 0 0 60px 0;
}
h2 {
	font-size: 20px;
	line-height: 1.2em;
}
	
	
/* Content */

.country {
	background-position: 0px 0px;
	margin-bottom: 30px;
}

	
/* Image */

.image img {
	width: 82%;
}
	

/* Logo */

.logo {
	width: 140px;
}
	
	
}

@media (max-width: 1280px) {
	

/* Wrapper */

.wrapper {
	min-height: 680px;
	max-height: 860px;
}
	

/* Text */

html, body, td, th, p {
	font-size: 15px;
}


/* Headings */

h1 {
	font-size: 34px;
	margin: 0 0 50px 0;
}
h2 {
	font-size: 18px;
	line-height: 1.2em;
}
	
	
/* Content */

.country {
	background-size: 61px auto;
	padding-left: 75px;
	margin-bottom: 25px;
}

	
/* Image */

.image img {
	width: 82%;
}
	

/* Logo */

.logo {
	width: 120px;
}
	
	
}


@media (max-width: 1140px) {
	

/* Wrapper */

.wrapper {
	min-height: 640px;
	max-height: 800px;
}
		

/* Text */

html, body, td, th, p {
	font-size: 14px;
}


/* Headings */
	
h1 {
	font-size: 30px;
	margin: 0 0 40px 0;
}
h2 {
	font-size: 18px;
	line-height: 1.2em;
}
	
	
/* Content */
.content {
    left: 40px;
}
.country {
	background-size: 51px auto;
	background-position: 0 3px;
	padding-left: 65px;
	margin-bottom: 25px;
}

	
/* Image */
.image {
    right: 0px;
    width: 44%;
}
.image img {
	width: 94%;
}
	

/* Logo */

.logo {
	width: 100px;
    left: 40px;
	bottom: 40px;
}
	

/* URL */
	
.url {
    right: 40px;
    bottom: 40px;
}
	
	
/* Social Media */
	
.socialmedia {
    right: 40px;
    top: 40px;
}
	
	
}

@media (max-width: 800px) {
	

/* Wrapper */
	
.wrapper {
	height: auto;
	min-height: 100%;
	max-height: none;
	text-align: center;
}

/* Text */

html, body, td, th, p {
	font-size: 14px;
}


/* Headings */

h1 {
	font-size: 28px;
	margin: 0 0 40px 0;
}
h2 {
	font-size: 18px;
	line-height: 1.5em;
}

	
	
/* Content */
	
.content {
	width: 100%;
	height: auto;
	position: relative;
	left: auto;
	top: auto;
	-ms-transform: none;
    transform: none;
	padding: 40px 0 0 0;
}
.country {
	background-size: 40px auto;
	background-position: center top;
	padding: 35px 0 0 0;
	margin-bottom: 25px;
}

	
/* Image */
	
.image {
	width: 100%;
	top: auto;
	bottom: -700px;
}
.image img {
    width: 400px;
    height: auto;
    position: relative;
    left:  auto;
    top: auto;
    transform: none;
}

/* Logo */

.logo {
	width: 100%;
    left: auto;
	bottom: auto;
	position: relative;
	margin: 60px 0 20px 0;
}
.logo img {
	width: 100px;
	margin-left: 3px;
}
	

/* URL */
	
.url {
	display: none
}
	
	
/* Social Media */
	
.socialmedia {
	position: relative;
    right: auto;
    top: auto;
	padding-bottom: 300px;
}
		
.socialmedia a {
	margin: 0 3px;
}
	
	
}


@media (max-width: 500px) {


/* Headings */

h1 {
	font-size: 20px;
	margin: 0 0 40px 0;
}
h2 {
	font-size: 16px;
	line-height: 1.5em;
}
	
	
/* Image */
	
.image {
	bottom: -660px;
}
.image img {
    width: 340px;
}	
	
/* Logo */

.logo {
	margin: 50px 0 20px 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;
    }
}
