/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    font-family: 'Arial';
    font-weight: 200;
    color: #878068;
    background-color: #000;
    cursor: default;
}

body {
    font-size: 0.7em;
    line-height: 1.4;
}

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

::-moz-selection {
    background: transparent;
    text-shadow: none;
}

::selection {
    background: transparent;
    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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

/*
@font-face {
    font-family: "AvantGardeGothicCond";
    src: url('../fonts/AvantGardeGothicCondensedBook.ttf') format("truetype");
}
*/

#termcontainer {
    font-size: 1.2em;    /* SCHRIFTGRÖßE DER BEGRIFFE */
    line-height: 2em;  /* LINIENHÖHE DER BEGRIFFE   */
    cursor: default;
    position: absolute;
    width: 0px;
    height: 0px;
    overflow: hidden;
    text-align: justify;	
}

#loading {
    position: absolute;
    width: 200px;
    height: 50px;
    display: none;
    font-size: 1.4em;
}

#mainContainer {
    width: 100%;
    height: 100%;
    opacity: 0;
    -webit-opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
}

h1 {
    text-transform: uppercase;
    font-size: 1.3em;
    margin-top: 0;
}

a,a:hover,a:visited,a:active {
    color: #878068;
}

#termcontainer>span {
    opacity: 0;
    -webit-opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
    text-decoration: none;
    display: inline-block;
	padding-right: 1.5em;
}

.wesen {
    cursor: pointer;
    display: inline-block;
    color: #fe5041 !important;
	padding-right: 1.5em;
   /* text-transform: uppercase;*/
}

#logo {
    position: absolute;
    width: 500px;
    height: 200px;
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    display: none;
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 3em;
    font-size: 1.3em;
    text-transform: uppercase;
    background-image: url('../img/footer_bg.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
}

#footer>a {
    cursor: pointer;
}

#footer>.left,#footer>.right {
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1.15em;
}

#countdown {
    cursor: pointer;
    position: absolute;
    top: 1.15em;
    left: 50%;
    width: 14em;
    text-transform: lowercase;
    margin-left: -7em;
    text-align: center;
}

.left {
    float: left;
}

.right {
    float: right;
}

.fbde {
    float: right;
	width:82px;
	height:21px;
	margin:19px 0px 0px 0px;
	overflow:hidden;
	padding:0px 0px 0px 0px;
	position:relative;
}

.fben {
    float: right;
	width:48px;
	height:21px;
	margin:19px 0px 0px 0px;
	overflow:hidden;
	padding:0px 0px 0px 0px;
	position:relative;
}


.left:after, .right:after {
    clear: both;
}

#modalblocker {
    width: 100%;
    height: 100%;
    position: absolute;
    top: -2em;
    background-color: rgba(0,0,0,0.8);
    opacity: 0;
    -webit-opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
}

#modalwindow {
    position: absolute;
    width: 46%;
    height: 50%;
    left: 25.5%;
    top: 20%;
    background-color: #000;
    border: 1px solid #878068;
    
    text-transform: none;
    opacity: 0;
    -webit-opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);

    cursor: auto;
}

#modalwindow>#content {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ie-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 1.5em;
    font-size: 1.2em;
    overflow: auto;
}

#modalclose {
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: absolute;
    right: -12px;
    top: -12px; 
    background-image: url('../img/modal_close.png');
}

#modalContents {
    visibility: hidden;
    z-index: -500;
    font-size: 1.2em;
    width: 46%;
    position:absolute !important;
    background-color: #f0f !important;
}

#modalContents>div {
    position: absolute;
    padding: 1.5em;
}
#modalContents>div:after {
    clear: both;
}

#countdownTooltip {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 40px;
    width: auto;
    margin-left: -150px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ie-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.6em;
    padding-left: 1.3em;
    padding-right: 1.3em;
    text-align: center;
    font-size: 1.5em;
    background-color: #000;
    border: 1px solid #878068;
}

#countdownTooltip .arrowPlacement {
    position: absolute;
    width: 0px;
    height: 0px;
    bottom: 0px;
    left: 50%;
    overflow: visible;
}

#countdownTooltip .arrowPlacement .arrow {
    position: absolute;
    width: 17px;
    height: 10px;
    left: -8.5px;
    background-image: url('../img/tooltip_arrow.png');
    background-repeat: no-repeat;
}




/* ==========================================================================
   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.
   Theses 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,
       (-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;
    }
}
