/****************
 * Layout style *
 ****************/
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto/Roboto-Regular.woff2") format("woff2"),
       url("../fonts/roboto/Roboto-Regular.woff") format("woff");
  font-weight: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto/Roboto-Bold.woff2") format("woff2"),
       url("../fonts/roboto/Roboto-Bold.woff") format("woff");
  font-weight: bold;
}

// From Material Design specs.
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(../fonts/material-icons/MaterialIcons-Regular.woff2) format('woff2'),
    url(../fonts/material-icons/MaterialIcons-Regular.woff) format('woff'),
    url(../fonts/material-icons/MaterialIcons-Regular.ttf) format('truetype');
}

// From Material Design specs.
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: $material-icon-default-size;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  // These two probably not needed, but keeping in case it's ever useful.
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

html, body {
  padding: 0;
  margin: 0;
  height: 100%;
}

body {
  font-family: $font-family;
  font-size: $font-size;
}

h1 {
  padding-left: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

p {
  margin-left: 4rem;
}

.window {
  height: 100%;
  overflow-y: scroll;
  color: $text-color;
  background-color: $body-bg-color;
}

.window-content {
  border-top: 1px solid $window-border-color;
}

#main {
  // width: 80%;
  // margin-left: 20%;
  margin-left: 300px;
  // overflow-y: scroll;
  // padding-left: 10%;
  padding-bottom: 10%;
}

.content {
  width: 80%;
  // margin: auto;
}

.form {
  margin: auto;
}

.main p {
  width: 80%;
}

.material-tooltip {
  max-width: 400px;
}

// .message {
//   position: absolute;
//   width: 500px;
//   height: 250px;
//   top: 50%;
//   left: 50%;
//   color: #777;
//   font-weight: 200;
//   text-align: center;
//   margin-top: -125px;
//   margin-left: -250px;
// }
//
// .message h1 {
//   font-size: 50px;
//   font-weight: 100;
//   color: #333;
// }
//
// .message div {
//   margin-bottom: 10px;
// }

@media only screen and (min-width: 650px) {
  .form {
    width: 65%;
  }
  .button-table {
    width: 70%;
  }
}

@media only screen and (min-width: 850px) {
  .form {
    width: 55%;
  }
  .button-table {
    width: 60%;
  }
}
