/*
@font-face {
    font-family: DIN;
    src: url(fnt/DINWeb-Black.eot);
    src: local(☺),
         url(fnt/DINWeb-Black.eot) format(embedded-opentype),
         url(fnt/DINWeb-Black.woff) format(woff),
         url(fnt/DINComp-Black.ttf) format(truetype);
}
*/

/* --------------------------------------------------
    Meyer Reset
-------------------------------------------------- */


/* Reset Browser Default */
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html, body {
    height: 100%;
    overflow: hidden;
}

html {
/*
  background: url(img/bg.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-family: DIN, times, sans-serif;
*/
  font-family: "Roboto Condensed", times, sans-serif;
  color: #00f;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

#bluescreen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #00f;
    z-index: 10;
    top:0;
    left:0;
    overflow:hidden;
}
#bluescreen .image {
    width: 172px;
    height: 191px;
    position: absolute;
    top: 101px;
    left: 108px;
    background-image: url(img/logow.png);
    background-size: 172px 191px;
}

img.bg {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1800px;

  /* Set up proportionate scaling */
  width: 100%;
  height: auto;

  /* Set up positioning */
  position: fixed;
  bottom: 0;
  left: 0;
}

@media screen and (max-width: 1800px) { /* Specific to this particular image */

  img.bg {
    left: 66.6666%;
    margin-left: -1200px;
  }
}

@media screen and (max-height: 1198px) { /* Specific to this particular image */

/*
  img.bg {
    top: 50%;
    margin-top: -599px;
  }
*/
}


.hide-text {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

#wrapper {
    max-width: 1200px;
    position: relative;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

#logo {
    width: 172px;
    height: 191px;
    position: absolute;
    top: 101px;
    left: 108px;
    background-image: url(img/logo.png);
    background-size: 172px 191px;
}

#top {
    width: 690px;
    line-height: 22px;
    position: absolute;
    top:111px;
    right: 10px;
}

.initHidden {
    display: none;
}

#openForm {
    width: 120px;
    position: absolute;
    bottom: 100px;
    right: 579px;
    cursor: pointer;
}

#openForm.sent {
    cursor: default;
}

#openForm span {
    border-bottom: 3px solid #00f;
    float: left;
}

form {
    width: 480px;
    height: 178px;
    border: 0;
    position: absolute;
    bottom: 100px;
    right: 234px;
}

input[type="text"],
input[type="email"] {
    width: 449px;
    padding: 11px;
    border: none;
    background: transparent;
    font-family: inherit;
    color: #00f;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    height: 8px;
    outline: none;
    border-top: 4px solid #00f;
    border-left: 4px solid #00f;
    border-right: 4px solid #00f;
    -webkit-appearance: none;
    border-radius: 0;
}

input[type="reset"],
input[type="submit"] {
    border:none;
    background:transparent;
    font-family: inherit;
    color: #00f;
    font-size: 17px;
    cursor: pointer;
    padding: 0;
    border-bottom: 3px solid #00f;
    outline: none;
    margin-top: 10px;
    margin-left: 15px;
    -webkit-appearance: none;
    border-radius: 0;
}

textarea {
    padding: 11px;
    background: transparent;
    margin: 0;
    font-family: inherit;
    color: #00f;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    width: 449px;
    height: 46px;
    resize: none;
    outline: none;
    border: 4px solid #00f;
    -webkit-appearance: none;
    border-radius: 0;
}


@media only screen and(-Webkit-min-device-pixel-ratio: 1.5),
@media only screen and(-moz-min-device-pixel-ratio: 1.5),
@media only screen and(-o-min-device-pixel-ratio: 3/2),
@media only screen and(min-device-pixel-ratio: 1.5) {
    #logo {
        background-image: url(img/logo@x2.png);
    }
}

@media only screen and (min-width: 769px) and (max-width: 1000px) {

    #wrapper {
        width: 1000px;
    }

}

@media only screen and (min-height: 200px) and (max-height: 600px) and (min-width: 769px) {

    #wrapper {
        height: 600px !important;
    }

}

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

    #logo {
        top:0;
        left:6%;
        position: relative;
        margin-top: 6%;
    }
    #bluescreen .image {
        top:0;
        left:6%;
        position: relative;
        margin-top: 6%;
    }


    #top {
        width: 88%;
        margin: 12% 0 6%;
        position: relative;
        top:0;
        left: 6%;
    }

    #openForm {
        position: relative;
        left: 6%;
        margin:6% 0;
        padding-bottom: 30px;
        bottom: auto;
        right: auto;
    }
    .canBeHidden.hide {
/*         display: none; */
    }

    #contactForm {
        position: relative;
        margin: 6% 0;
        padding-bottom: 30px;
        left: 6%;
        width: 88%;
        bottom: auto;
        right: auto;
    }
    input[type="text"],
    input[type="email"] {
        width: 91%;

    }
    textarea {
        width: 91%;
    }

    .absolute { position: absolute !important; }

}
