
body, html {
    margin: 0;
    padding: 0;
}

body {
    background-color: #262626;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
}

.debug {
  position: absolute;
  display: none;
}

/* LAYOUT */

/*
p {
  font-size: 1em;
}
*/

.wrapper {
  display: table;
  position: absolute;
  height: 100%;
  width: 100%;
}

.wrapper-center {
  display: table-cell;
  vertical-align: middle;
  height: 100%; /* FIX FF ignores containers height */
}

.container {
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  max-width: 1400px;
  /*whatever width you want*/
}

.pane {
  display: inline-block;

}

.pane.left {
  width: 30%;
}

.pane.center {
  width: 10%;
}


.pane.right {
  width: 60%;
}

.header.row, .main.row {
  width: 100%;
}

.row {
  display: table;
}

.col {
  display: table-cell;
}


/* HEADER */

.header {
  margin-bottom: 5.5em;
}

.logo{
  width: 15em; /*220px;*/ /*50%;*/
  height: auto;
}
/*
img[src$=".svg"] { width: 50%; }
*/

.claim {
  /*color: #428297;*/
  font-size: 1.15em;
  font-weight: 700;
}


.separator {
  width: 0.125em;/*0.1875em;*/
  height: 0.85em;
  background-color: #FFFFFF;
  /*background-color: #428297;*/
  margin: 0 auto;
}

/* MAIN */

.get-in-touch {
  text-align: right;
}


form {
  font-size: 1em;
}

form .sub {
  display: none;
}

form .email, form .msg {
  margin-bottom: 2.5em;
}

form .btn {
  position: relative;
}

button {
  padding: 0.5em 2em;
  border: 1px solid #939393;
  background-color: transparent;
  float: right;
}

label {
  /*
  display: inline-block;
  position: absolute;
  width: 7em;
  */
  margin-bottom: 1em;
  display: block;
}

label, .line {
  color: #939393;
}

/* fix not inherting font family/size */
textarea, input, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none !important;
    /*border: 1px solid;
    border-color: #ff5500;
    */
}

input, textarea {
  width: 100%;
  /*padding-left: 3em;*/

  background-color: #262626;
  color: #ffffff;
  font-size: 1em;

  /*
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0.125em solid red;
  line-height: 2em;
  */
}

input {
  border: none;
}

input.visited.dirty:valid {
  border-bottom: 1px solid red;
 }

textarea {
  border: none;

  resize: vertical;
  min-height: 2.5em;
  max-height: 10em;
  
  overflow: auto;
  outline: none;

  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.line {
  border-width: 1px;
  border-style: solid;
}

#form-info {
  position: absolute;
  width: 60%;
  margin: 0.5em 0;
}

/*
.line.error {
  color: #d35943;
}
*/
.error {
  color: #d35943;
}

.success {
  color: #5bd343;
}


@media (orientation: portrait) {

  .debug::before {
    content: "portrait";
  }

  body {
    font-size: 2.8vw;
  }

  .container {
    width: 85%;
    height: 85%;
  }

  .header {
    font-size: 2vw;
  }

  .pane.left {
    width: 100%;
  }
  .pane.right {
    width: 100%;
  }
  .col {
    display: inline;
  }
  .get-in-touch {
    text-align: center;
    font-size: 1.25em;
  }
  .separator {
    display: none;
  }

  .logo {
    width: 40%;
  }
}


@media (orientation: landscape) {

  .debug::before {
    content: "landscape";
  }

  body {
    /*font-size: 2.8vh;*/
  }

}


@media 
  (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2),
  (orientation: landscape) and (min-resolution: 192dpi),
  (orientation: landscape) and (min-resolution: 2dppx)  {

  .debug::before {
    content: "landscape HiRes";
  }

  body {
    font-size: 3vh;
  }

  .container {
    width: 84%;
  }

  .logo {
    width: 10em;
  }

  .claim {
    font-size: 0.85em;
  }

  .separator {
    width: 0.12em;
    height: 0.625em;
  }

}

@media 
  (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2),
  (orientation: portrait) and (min-resolution: 192dpi),
  (orientation: portrait) and (min-resolution: 2dppx)  {

  .debug::before {
    content: "portrait HiRes";
  }

  body {
    font-size: 3.2vw;
  }

  .logo {
    width: 42%;
  }

  .claim {
    font-size: 1.25em;
  }

}


/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v18-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Roboto'), local('Roboto-Regular'),
       url('../fonts/roboto-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v18-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v18-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Roboto Bold'), local('Roboto-Bold'),
       url('../fonts/roboto-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v18-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v18-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v18-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v18-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}



/* Ugly Hacks */

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ CSS styles go here */
  textarea {
    height: 3em;
  }
}

@supports (-ms-accelerator:true) {
  /* IE Edge 12+ CSS styles go here */ 
  textarea {
    height: 3em;
  }
}