/*
 * 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 {
    color: #222;
}

body {
    font-size: 1em;
    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: #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 #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: 'TitilliumMaps26L250wt';
    src: url('titilliummaps26l003-webfont.eot');
    src: local('☺'), url('titilliummaps26l003-webfont.woff') format('woff'), url('titilliummaps26l003-webfont.ttf') format('truetype'), url('titilliummaps26l003-webfont.svg#webfontRDRBLveY') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TitilliumMaps26L750wt';
    src: url('titilliummaps26l001-webfont.eot');
    src: local('☺'), url('titilliummaps26l001-webfont.woff') format('woff'), url('titilliummaps26l001-webfont.ttf') format('truetype'), url('titilliummaps26l001-webfont.svg#webfont7320QyVJ') format('svg');
    font-weight: normal;
    font-style: normal;
}


body{
    background: url(hg_kachel_100x100.gif) #999 repeat;
    font-family: 'TitilliumMaps26L250wt';
    font-size: 13px;

    overflow-y: scroll;
 }

#container{
    width: 900px;
    margin: 0 auto;
    background-color: #FFF;
    position: relative;
    padding-bottom: 20px;
}

#right_menu{
position: absolute;
right: 0px;
top: 125px;
text-align: right;

}

.header{
    margin-top: 35px;
}

h1 span{
    display: none;
}

h1{
    margin-bottom: 10px;
}


h2 span{
    display: none;
}

h2{
    margin-top: -4px;
}

#headline1 h1 {
    width: 243px;
    height: 36px;
    background: url(sprite.gif) 0 -1073px no-repeat;
}
#headline1 h2 {
    height: 22px;
    wdith: 405px;
    background: url(sprite.gif) 0 -989px no-repeat;
}



.menu_item a{
font-family: 'TitilliumMaps26L750wt';
display: inline-block;
background-color: rgb(238, 209, 39);
text-align: right;
color: #FFFFFF;
padding: 0 7px 0 25px;
}

.menu_item:hover a {
    color:  #3E3D40;
    background-color: #EED127;
}


.menu_item a:link, .menu_item a:visited, .menu_item a:active{
    text-decoration: none;
}



.menu_item {
    margin-bottom: 30px;
}

#sub_menu ul li{
list-style: none;
list-style-type: none;
display: inline;
margin-right: 15px;
}

#right_menu a.active{
background-color: #3E3D40;
color: white;
}

#sub_menu ul{
    padding: 0;
}

#sub_menu{
    margin-left: 30px;
}

#sub_menu span{
    display: none;
}


#info a{
    display: inline-block;
    width: 12px;
    height: 31px;
    background: url(sprite.gif) -8px -795px no-repeat;
}

#info.active a, #info a:hover{
    background: url(sprite.gif) -28px -795px no-repeat;
}

#memory a{
    display: inline-block;
    width: 31px;
    height: 32px;
    background: url(sprite.gif) -47px -795px no-repeat;
}

#memory.active a, #memory a:hover{
    background: url(sprite.gif) -82px -795px no-repeat;
}

#sound a{
    display: inline-block;
    width: 18px;
    height: 32px;
    background: url(sprite.gif) -117px -795px no-repeat;
}

#sound.active a, #sound a:hover{
    background: url(sprite.gif) -135px -795px no-repeat;
}

#comment a{
    display: inline-block;
    width: 39px;
    height: 32px;
    background: url(sprite.gif) -1px -1017px no-repeat;
}

#comment.active a, #comment a:hover{
    background: url(sprite.gif) -47px -1017px no-repeat;
}


#back a{
    display: inline-block;
    width: 41px;
    height: 37px;
    background: url("back_leer.gif") 0 0 no-repeat;
}

#back a:hover{
    background: url("back_voll.gif") 0 0 no-repeat;
}


#content{
    margin: 60px 0 0 30px;
}

.header{
    margin: 30px 0 0 30px;
    padding-top: 30px;
}

#kalender-gallery{
    height: 490px;
    width: 630px;
    overflow: hidden;
    position: relative;
}

#kalender-gallery #scroll{
    height: 442px;
    width: 100000px;
    position: absolute;
}

#kalender-gallery  #navigation{
    z-index: 1000;
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-left: 2px;
}

#kalender-gallery .slide{
    width: 630px;
    height: 442px;
    float: left;
    margin-left: 0;
}


#gallery{
    height: 340px;
    width: 630px;
    overflow: hidden;
    position: relative;
}

#gallery #scroll{
    height: 320px;
    width: 100000px;
    position: absolute;
}

#gallery  #navigation{
    z-index: 1000;
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-left: 2px;
}

#navigation .active span{
    text-decoration: none;
    font-family: 'TitilliumMaps26L750wt';
}

#navigation a{
    text-decoration: none;
    color: #3E3D40;
}

#gallery .slide{
    width: 630px;
    height: 320px;
    float: left;
    margin-left: 0;
}

#text{
    margin-top: 20px;
}

#text .spalte{
    width: 218px;
    float: left;
    margin: 0 10px 0 0;
}

.initials{
    margin-top: 0;
    font-family: 'TitilliumMaps26L750wt';

}

.initial_W{
    float: left;
    margin: 4px 3px 0 -5px;
    padding: 0;
    display: block;
    width: 80px;
    height: 63px;
    background: url(sprite.gif)  -01px -832px;
    text-decoration: none; !important
}

.initial_I{
    float: left;
    margin: 4px 3px 0 0;
    padding: 0;
    display: block;
    width: 23px;
    height: 63px;
    background: url(sprite.gif) -0px -902px;
    color: transparent;
    text-decoration: none; !important
}

.initial_S{
    float: left;
    margin: 2px 3px 0 0;
    padding: 0;
    display: block;
    width: 41px;
    height: 64px;
    background: url(sprite.gif) -27px -902px no-repeat;
    color: transparent;
    text-decoration: none; !important
}

.initial_D{
    float: left;
    margin: 2px 3px 0 0;
    padding: 0;
display: block;
width: 53px;
height: 64px;
background: url(sprite.gif) -141px -830px no-repeat;
color: transparent;
text-decoration: none; !important
}

.initial_E{
    float: left;
    margin: 2px 3px 0 0;
    padding: 0;
display: block;
width: 44px;
height: 64px;
background: url(sprite.gif) -84px -830px no-repeat;
color: transparent;
text-decoration: none; !important
}

.initial_M{
float: left;
margin: 2px 3px 0 0;
padding: 0;
display: block;
width: 74px;
height: 64px;
background: url(sprite.gif) -67px -902px no-repeat;
color: transparent;
text-decoration: none; !important
}


.initial_B{
float: left;
    margin: 2px 3px 0 0;
    padding: 0;
display: block;
width: 47px;
height: 64px;
background: url(sprite.gif) -143px -902px no-repeat;
color: transparent;
text-decoration: none; !important

}

.clearfix {
    clear: both;
}

.prinzessin{
    display:  block;
    float: left;
    background:url(sprite.gif) -339px -677px no-repeat;
    width: 106px;
    height: 260px;
    margin-right: 20px;
    border: none;
}

.prinzessin:active, .prinzessin_active:active, .prinzessin_active:focus{
    outline: none;
}

.prinzessin_active, .prinzessin:hover{
    display:  block;
    float: left;
    background:url(sprite.gif)-226px -677px no-repeat;
    width: 106px;
    height: 260px;
    margin-right: 20px;
}


#sound_menu{
    float: left;
    height: 260px;
    width: 220px;
    position: relative;
}



.prinzessin span, .prinzessin_active span{
    display: none;
}

#description{
padding: 5px;
font-family: 'TitilliumMaps26L750wt';
font-size: 16px;
text-align: right;
position: absolute;
top: 0;
right: 0;
}

#description span{
    color: rgb(49,49,51);
    padding: 3px 5px 3px 5px;
}


#listen1{
text-align: right;
display: block;
background-color: #EED127;
color: #FFF;
padding: 5px;
font-family: 'TitilliumMaps26L750wt';
font-size: 16px;
text-decoration: none;
position: absolute;
top: 50px;
right:0;
}

#listen2{
    text-align: right;
display: block;
background-color: #EED127;
color: #FFF;
padding: 5px;
font-family: 'TitilliumMaps26L750wt';
font-size: 16px;
text-decoration: none;
position: absolute;
top: 50px;
right:0;
}


#listen3{
    text-align: right;
display: block;
background-color: #EED127;
color: #FFF;
padding: 5px;
font-family: 'TitilliumMaps26L750wt';
font-size: 16px;
text-decoration: none;
position: absolute;
top: 50px;
right:0;
}

#download{
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
background-color: #EED127;
color: #FFF;
padding: 5px;
font-family: 'TitilliumMaps26L750wt';
font-size: 16px;
text-decoration: none;
}

#game{
    width: 700px;
}
.card{
    float: left;
    width: 113px;
    height: 113px;
    margin: 10px;
    -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}



#c0_0{ background:url(sprite.gif) no-repeat 0 0;}
#c0_1{ background:url(sprite.gif) no-repeat -113px 0;}
#c1_0{ background:url(sprite.gif) no-repeat -226px 0; }
#c1_1{ background:url(sprite.gif) no-repeat -339px 0;}
#c2_0{ background:url(sprite.gif) no-repeat 0 -113px;}
#c2_1{ background:url(sprite.gif) no-repeat -113px -113px;}
#c3_0{ background:url(sprite.gif) no-repeat -226px -113px;}
#c3_1{ background:url(sprite.gif) no-repeat -339px -113px;}
#c4_0{ background:url(sprite.gif) no-repeat 0 -226px;}
#c4_1{ background:url(sprite.gif) no-repeat -113px -226px;}
#c5_0{ background:url(sprite.gif) no-repeat -226px -226px;}
#c5_1{ background:url(sprite.gif) no-repeat -339px -226px;}
#c6_0{ background:url(sprite.gif) no-repeat 0 -339px;}
#c6_1{ background:url(sprite.gif) no-repeat -113px -339px;}
#c7_0{ background:url(sprite.gif) no-repeat -226px -339px;}
#c7_1{ background:url(sprite.gif) no-repeat -339px -339px;}
#c8_0{ background:url(sprite.gif) no-repeat 0 -452px;}
#c8_1{ background:url(sprite.gif) no-repeat -113px -452px;}
#c9_0{ background:url(sprite.gif) no-repeat -226px -452px;}
#c9_1{ background:url(sprite.gif) no-repeat -339px -452px;}
#c10_0{ background:url(sprite.gif) no-repeat 0 -565px;}
#c10_1{ background:url(sprite.gif) no-repeat -113px -565px;}
#c11_0{ background:url(sprite.gif) no-repeat -226px -565px;}
#c11_1{ background:url(sprite.gif) no-repeat -339px -565px;}
#c12_0{ background:url(sprite.gif) no-repeat 0 -678px;}
#c12_1{ background:url(sprite.gif) no-repeat -113px -678px;}



.turned{
    background:url(sprite.gif) no-repeat -339px -1017px !important;


}


.invis{
    display: none;
}


#reset_button, #output{
    font-family: 'TitilliumMaps26L750wt';
    font-size: 16px;
    line-height: 16px;
    display: inline-block;
    background-color: rgb(238, 209, 39);
    text-align: left;
    margin-top: 20px;
    margin-bottom: 5px;
    margin-right: 5px;
    color: #FFFFFF;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-right: 7px;
    padding-left: 7px;
    width: 177px;
}

#reset_button:hover{
    color:  #3E3D40;
    background-color: #EED127;
}


#reset_button, #reset_button:visited, #reset_button:active{
    text-decoration: none;
}


p.first_paragraph{
    margin-top: 0;
}





#kalender-button{
    display:block;
    width: 220px;
    height:220px;

    position: absolute;
    right: 100px;
    top: 400px;

}
#kalender-button img{
    max-width: 100%;
    height: auto;
}




.datenschutz-text {
    max-width: 500px;
}











/* ==========================================================================
   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: 100%;
}

/*
 * 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
    }
}
