/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

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

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

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

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

a {
    color: #222222;
    text-decoration: none;
}

a:hover {
    color: #767676;
}

ul {
    list-style: square;
    margin: 0 0 20px;
    padding: 0 0 0 25px;
}

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

textarea {
    resize: vertical;
}

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

@import "map-icons.css";

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    background: #efefef;
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
}

* {
    margin: 0;
}

html, body {
    height: 100%;
}

#wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -284px; /* the bottom margin is the negative value of the footer's height */
}

.push, footer {
    height: 284px; /* .push must be the same height as .footer */
}

#content {
    width: 960px;
    margin: auto;
    padding: 0;
}

#content p {
    padding: 0;
    margin: 0 0 10px 0;
}

#googleMaps {
    width: 100%;
    height: 400px;
}

h1 {
    font-size: 81px;
    display: block;
    text-align: center;
    padding: 5px 0 5px;
    font-weight: 500;
    margin: 0;
}

h2 {
    font-size: 30px;
    padding: 0;
    font-weight: bold;
    margin: 8px 0 0 0;
}

h3 {
    margin: 0;
    font-size: 20px;
    padding: 0;
    font-weight: bold;
}

footer {
    background: #efefef url(../img/v1-schloss-repeat-x.png) repeat-x;
    width: 100%;
    height: 284px;
    background-size: 196px 284px;
}

#games .game {
    float: left;
    padding: 0;
    width: 32%;
    height: auto;
    margin: 0 2% 2% 0;
    position: relative;
    opacity: 1;
    overflow: hidden;
}

#games .game:nth-child(3n) {
    margin-right: 0;
}

#games .game h3 {
    position: absolute;
    width: 90%;
    padding: 5%;
    height: 90%;
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-transition: 0.5s opacity;
    -moz-transition: 0.5s opacity;
    -ms-transition: 0.5s opacity;
    -o-transition: 0.5s opacity;
    transition: 0.5s opacity;
    background: rgba(0, 0, 0, 0.8);
    margin: 0;
    color: #fff;
}

#games .game p {
    -webkit-transition: 0.5s opacity;
    -moz-transition: 0.5s opacity;
    -ms-transition: 0.5s opacity;
    -o-transition: 0.5s opacity;
    transition: 0.5s opacity;
    opacity: 0;
    position: absolute;
    width: 90%;
    padding: 5%;
    top: 28px;
    left: 0;
    line-height: 18px;
    margin: 0;
    color: #fff;
}

#games .game a {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    text-align: center;
    vertical-align: middle;
    background: #444444;
    color: #fff;
    padding: 5px;
    -webkit-transition: 0.5s background;
    -moz-transition: 0.5s background;
    -ms-transition: 0.5s background;
    -o-transition: 0.5s background;
    transition: 0.5s background;
}

#games .game a:hover {
    background: #008cd7;
}

#games .game:hover h3 {
    opacity: 1;
}

#games .game:hover p {
    opacity: 1;
}

#games .game img {
    height: auto;
    width: 100%;
}

#registerForm {
    padding: 10px;
}

#formular {
    background: #efefef;
}

#registerForm label {
    display: inline-block;
    width: 200px;
    margin-bottom: 5px;
}

#registerForm input {
    -webkit-transition: 0.3s all;
    -moz-transition: 0.3s all;
    -ms-transition: 0.3s all;
    -o-transition: 0.3s all;
    transition: 0.3s all;
}

#registerForm input[type="text"] {
    width: 200px;
    vertical-align: top;
}

#registerForm input,
#registerForm textarea {
    background: #ffffff;
    /*border:none;*/
}

#registerForm input[type="checkbox"], #registerForm input[type="radio"] {
    margin: 0 5px 0 0;
}

#spam {
    display: none;
}

#registerForm textarea {
    margin-left: 0;
    max-width: 100%;
    width: 400px;
    height: 200px;
}

#registerForm input[type="submit"] {
    margin-top: 5px;
    border: none;
    padding: 2px 5px;
    background: #777676;
    color: #ffffff;
}

#registerForm input[type="submit"]:hover {
    background: #4b4b4a;
}

footer .inner {
    background: url(../img/v1-schloss.png) top center no-repeat;
    width: 960px;
    height: 284px;
    margin: 0 auto;
    background-size: 960px 284px;
}

@media screen and (max-width: 960px) {
    #content {
        width: 100%;
    }

    #games .game {
        width: 48%;
        margin-right: 2%;
    }

    #games .game:nth-child(3n) {
        margin-right: 2%;
    }

    #games .game:nth-child(2n) {
        margin-right: 2%;
    }

    footer .inner {
        width: 100%;
    }

    h1 {
        font-size: 400%;
    }
}

@media screen and (max-width: 640px) {

    #registerForm label, #registerForm  input[type="text"], #registerForm  textarea {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 2% 0;
    }

    #registerForm input[type="checkbox"], #registerForm input[type="radio"] {
        width: 10%;
    }

    #games .game {
        width: 100%;
        margin-right: 0;
    }

    #games .game:nth-child(3n) {
        margin-right: 0;
    }

    #games .game:nth-child(2n) {
        margin-right: 0;
    }

    #googleMaps {
        height: 200px;
    }

}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

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