/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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
   ========================================================================== */

* {
	margin: 0;
	padding: 0;
	border: 0;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1.125em;
    line-height: 1.444444444;
	font-family: 'SourceSansProRegular', Arial, Helvetica, sans-serif;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #4d6268;
	margin: 50px 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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

/* === Allgemeine Styles */

/* = Schriften / Texte */

@font-face {
    font-family: 'SourceSansProRegular';
    src: url('../fonts/SourceSansPro-Regular-webfont.eot');
    src: url('../fonts/SourceSansPro-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-Regular-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-Regular-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-Regular-webfont.svg#SourceSansProRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansProItalic';
    src: url('../fonts/SourceSansPro-It-webfont.eot');
    src: url('../fonts/SourceSansPro-It-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-It-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-It-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-It-webfont.svg#SourceSansProItalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansProBold';
    src: url('../fonts/SourceSansPro-Bold-webfont.eot');
    src: url('../fonts/SourceSansPro-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-Bold-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-Bold-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-Bold-webfont.svg#SourceSansProBold') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, strong, p a, .stoerer h2 strong, input.submit, button { font-family: 'SourceSansProBold', Arial, Helvetica, sans-serif; }
.block h2, .stoerer h2, .stoerer h3, input, select, textarea { font-family: 'SourceSansProRegular', Arial, Helvetica, sans-serif; }

h1 { font-size: 2.888888889em; line-height: 0.777777778; }
h2 { font-size: 2em; line-height: 1.222222222; }
h3, .block h2, .block p { font-size: 1.333333333em; line-height: 1.25em; }
h4 { font-size: 1em; line-height: 1.444444444; }
input, button, select, #subnav { font-size: 0.875em; line-height: 1.444444444; }
form small { font-size: 0.75em; line-height: 1.444444444; }
.standnummer small { text-transform: uppercase; font-size: 0.6em; }
.standnummer { line-height: 1; }

h1, h2, h3, h4, strong { font-weight: normal; }
a { text-decoration: none; }
#buttons, #info li, #schirmherren { text-align: center; }

.relative { position: relative; }

/* == Farben */

/* = Background */

#aussteller .slide_button, .submit, button { background: #24b4b2; } /* GMINT */
#aussteller .slide_button:hover, #aussteller .ref-entry div:hover, #aussteller .ref-entry div.active { background: #91d9d8; } /* GMINT 50% */
#aussteller .ref-entry div, #childnav li a:hover { background: #c8ecec; } /* GMINT 25% */

.aussteller-eintrag:hover, nav, #info, #infonav .slide_button, #infonav .ref-entry div:hover, #infonav .ref-entry div.active { background: #cae1e7; } /* MINT hellblau */
.standnummer, nav li.sprache a, #infonav .ref-entry div, tr:nth-child(odd), .aussteller-eintrag .ref-entry { background: #f1f7f9; } /* MINT hellblau 33% */
.aussteller-eintrag, nav li.active, nav li a:hover, #infonav .slide_button:hover { background: #4d6268; } /* MINT dunkelblau */

.gelb, .karrieremesse nav li.active, .karrieremesse nav li.active a:hover, .karrieremesse #subnav { background: #faa725; } /* Gelb */
.karrieremesse #subnav li.active, .karrieremesse #subnav li a:hover { background: #fde2b8; } /* Gelb 33% */

.pink, .konferenz nav li.active, .konferenz nav li.active a:hover, .konferenz #subnav { background: #ed1163; } /* Pink */
.konferenz #subnav li.active, .konferenz #subnav li a:hover { background: #f7afcc; } /* Pink 33% */

#besuchertickets li.head a, .orange, .mintcommunity nav li.active, .mintcommunity nav li.active a:hover, .mintcommunity #subnav { background: #f2672c; } /* Orange */
#besuchertickets li.head a:hover, .mintcommunity #subnav li.active, .mintcommunity #subnav li a:hover { background: #fbcdb9; } /* Orange 33% */

.rosa { background: #f05a74; } /* Rosa */

.aussteller-logo { background: #fff; }


/* = Color */

a { color: #24b4b2; } /* GMINT */
.aussteller-eintrag:hover .aussteller-name, #info h3, #infonav h3, #pager a, #aussteller .ref-entry div a, #infonav a, #info a, footer a, .karrieremesse #infonav li a, .konferenz #infonav li a, .karrieremesse #aussteller .ref-entry div a, .konferenz #aussteller .ref-entry div a { color: #4d6268; } /* MINT dunkelblau */
#infonav .slide_button:hover { color: #cae1e7; } /* MINT hellblau */
/* .karrieremesse #content a { color: #faa725; } /* Gelb */
/* .konferenz #content a { color: #ec1364; } /* Pink */
.gelb p { color: #fde2b8; } /* Gelb 33% */
.pink p { color: #f7afcc; } /* Pink 33% */
#besuchertickets li.head a:hover { color: #f2672c; } /* Orange */
.orange p { color: #f8ccbb; } /* Orange 33% */
.rosa p { color: #f7c9d3; } /* Rosa 33% */
.aussteller-eintrag .aussteller-name, #besuchertickets li.head a, #aussteller .slide_button, .karrieremesse #aussteller .slide_button, .konferenz #aussteller .slide_button, nav li.active a, nav li a:hover, #buttons, #subnav a, #info li a, a.block, .submit, button { color: #fff; }
nav li a, #info li a.mintmagazin, .karrieremesse #subnav li.active a, .karrieremesse #subnav li a:hover, .konferenz #subnav li.active a, .konferenz #subnav li a:hover, .mintcommunty #subnav li.active a, .mintcommunity #subnav li a:hover { color: #000; }

.stellenmarkt { background: #E10E15; }
.mintmagazin { background: #fff; } .mintmagazin strong { color: #E10E15; }
.facebook { background: #3A5795; }
.twitter { background: #55ACEE; }
.google { background: #DA4836; }

/* = Abstände */

.aussteller-eintrag { margin-bottom: 30px; }
#besuchertickets, #aussteller, form div.clearfix, h2, h3 { margin-bottom: 20px; }
.block h1 { margin-bottom: 10px; }
.aussteller-eintrag h3, #besuchertickets h3, #infonav h3, #aussteller h3, .block h2, .stoerer h2 { margin-bottom: 0; }

#infonav .ref-entry div + div, #aussteller .ref-entry div + div { margin-top: 2px; }
#info li + li, form p { margin-top: 10px; }
.aussteller-logo + p, #content p + p, #content p + dl, #content dl + p, #content ul + p, #content ol + p, #content p + ul, #content p + ol, #content ul + h4, #content ol + h4, #content p + h4, form, table { margin-top: 1.444444444em; }
.block + .block, ul + ul, #schirmherren { margin-top: 30px; }
p + h3, dl + h3 { margin-top: 40px; }
.aussteller-index, #buttons, #content p + ul#childnav, p + h2, #video { margin-top: 50px; }
#content .ref-entry p + ul, #content .aussteller-infos p + p { margin-top: 0; }

/* === Grundgerüst */

.wrap {
	width: 960px;
	margin: 0 auto;
	position: relative;
}

header, nav, #subnav { width: 100%; }

/* === Header */

header { height: 600px; }

.logo img, .logosmall img {
	position: relative;
	z-index: 2;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

.stoerer {
	text-align: right;
	position: absolute;
	top: 90px;
	right: 0;
}

.stoerer h2, .stoerer h3 {
	display: inline;
	float: right;
	padding: 12px 20px 10px;
}

.stoerer h2 { background-color: rgba(255,255,255,0.85); }

.stoerer h3 {
	clear: right;
	background-color: rgba(202,225,231,0.95);
}

/* === Navigation */

nav {
	z-index: 1;
	height: 80px;
}

nav ul, #subnav ul, footer ul { float: right; }

nav li, #subnav li, footer li {
	list-style: none;
	display: inline-block;
}

nav li a {
	height: 80px;
	line-height: 80px;
	padding: 0 20px;
	display: block;
	transition: 0.5s;
}

nav li.sprache a {
	margin: 25px 0 0 20px;
	height: 30px;
	padding: 0 3px 0 0;
	line-height: normal;
}

.logosmall {
	float: left;
	width: 140px;
}

#subnav {
	height: 40px;
	z-index: 1;
}

#subnav li a {
	height: 40px;
	line-height: 42px;
	padding: 0 10px;
	display: block;
	transition: 0.5s;
}

#subnav .logo { margin-top: -80px; }

/* === Content */

#content { padding: 80px 0; }

#content ul, #content ol { margin-left: 16px; }
#content ul#besuchertickets { margin-left: 0; }

dt { float: left; }
dd { margin-left: 70px; }

.block {
	position: relative;
	display: block;
	padding: 30px;
	height: 405px;
}

.block div {
	position: absolute;
	left: 0;
	bottom: 30px;
	width: 100%;
}

#content p img { margin: 0 30px 30px 0; }
#content img { max-width: 100%; }

#schirmherren img { margin: 15px 0; }

.block.gelb { background: url(../images/icon_karrieremesse.png) center no-repeat #faa725; } /* Gelb */
.block.pink { background: url(../images/icon_konferenz.png) center no-repeat #ed1163; } /* Pink */
.block.orange { background: url(../images/icon_community.png) center no-repeat #f2672c; } /* Orange */
/* .block.orange { background: url(../images/icon_stellenmarkt.png) center no-repeat #f2672c; } Orange */
.block.rosa { background: url(../images/icon_careerlounge.png) center no-repeat #f05a74; } /* Rosa */

table {
	border-collapse: collapse;
	border: 1px #cae1e7 solid;
}

td {
	padding: 7px 10px 5px;
	vertical-align: top;
	border: 1px #cae1e7 solid;
}

/* === Aussteller */

.aussteller-eintrag {
	border: 1px solid #4d6268;
	min-height: 100px;
	transition: 0.5s;
}

.aussteller-eintrag .slide_button { padding: 0; }

.aussteller-eintrag .ref-entry { padding: 20px; }

.aussteller-container { position: relative; }

.aussteller-logo {
	text-align: center;

	width: 33.333333333%;
	height: 100px;
	/*padding: 15px 10px;*/
	float: left;

	background-repeat: no-repeat;
	background-position: center;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.aussteller-infos {
	width: 66.666666666%;
	display: block;
	float: left;
}

.standnummer {
	padding: 0 10px 1px;
	display: block;
	position: absolute;
	right: 0;
	bottom: 0;
	text-align: center;
}

.aussteller-name {
	padding: 12px 10px 8px;
	font-weight: bold;
}

/* === Infonav */

#besuchertickets li.head, #childnav { list-style: none; }

#besuchertickets li.head a, .slide_button {
	display: block;
	padding: 17px 20px 13px;
	cursor: pointer;
}

/* ==========================================================================================
Ausnahmeregelung weil Weitere Infos nicht mehr als Klapp-Container angezeigt werden sollen */

#infonav h3 {
	display: block;
	padding: 17px 20px 13px;
}

#infonav div {
	padding: 10px 20px;
	transition: 0.5s;
}

#infonav h3, #infonav div:hover, #infonav div.active { background: #cae1e7; } /* MINT hellblau */
#infonav div { background: #f1f7f9; } /* MINT hellblau 33% */
#infonav h3, #infonav div { color: #4d6268; } /* MINT dunkelblau */

/* Ende der Ausnahmeregelung
========================= */

#aussteller .slide_button, #infonav .slide_button { transition: 0.5s; }

#besuchertickets li.head a {
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	transition: 0.5s;
	text-align: center;
}

#aussteller .ref-entry div, #infonav .ref-entry div {
	padding: 10px 20px;
	transition: 0.5s;
}

/* === Childnav */

ul#childnav { margin-left: 0; }

#childnav li a {
	display: block;
	padding: 10px 15px;
	transition: 0.5s;
}

#childnav li a { border-top: 2px solid #91d9d8; } /* GMINT 25% */
#childnav li:last-child a { border-bottom: 2px solid #91d9d8; } /* GMINT 25% */

/* === Footer */

#info { padding: 50px 0; }

#info li {
	list-style: none;
	display: block;
}

#info li a {
	display: block;
	padding: 15px 0;
}

footer { padding: 30px 0; }
footer li + li { margin-left: 30px; }

/* === FORMULAR */

form.sort select { width: auto; display: inline; }
button {
	display: inline;
	padding: 5px 10px 3px;
	cursor: pointer;

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

label {
	display: block;
	width: 100%;
}

input, select, textarea {
	display: block;
	width: 100%;
	padding: 7px 10px 4px;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;

	border: 1px solid #4d6268;
}

input.submit {
	cursor: pointer;
	border: 0;
	padding: 12px 10px 9px
}

.checkbox input, .checkbox label {
	display: inline-block;
	width: auto;
}

.checkbox input {
	cursor: pointer;
	width: 20px;
	height: 20px;
	margin-right: 5px;
}

.geburtstag, .geburtsmonat, .geburtsjahr { float: left; }
.geburtstag, .geburtsjahr { width: 25%; }
.geburtsmonat { width: 40%; }
.geburtstag, .geburtsmonat { margin-right: 5%; }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * 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;
}

/*
 * 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 1380px) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    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;
    }
}
