﻿@font-face {
  font-family: 'Lato';
  src:url('Lato-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Lato';
  src:url('Lato-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

html {
  text-align: center;
  margin: 0;
}

@media (min-width: 1181px) {
  html {
    background-color: #3e3e3e;
  }
}

body {
  background-color: #F6F6F6;
  color: #3e3e3e;
  margin: 0 auto;
  text-align: left;
  display: inline-block;
  padding: 20px;
}
#stagebook-page {
  width: 1160px;
  margin: 0 auto;
  float:  none;
}

html, body, button, input, p {
  font-family: 'Lato', 'Serif';
}

form {
  position: absolute;
  right: 30px;
  top: 60px;
}
select {
  height: 32px;
  border-radius: 0;
}
form button {
  height: 32px;
  cursor: button;
}

a, a:active, a:hover, a:visited, a:focus {
  color: #6F8C90;
}

input:focus, button:active, button:focus {
  outline: none;
}

.error-message {
  color: #6F8C90;
  text-align: center;
  margin-bottom: 40px;
}

.chart {
  padding: 0 30px;
  margin-bottom: 40px;
  float:  none;
  page-break-after: always;
}
.stage {
  width: 1000px;
  margin: 0 auto;
  position: relative;
  height: 480px;
}
.riser {
  width: 198px;
  height: 58px;
  border: 2px solid #3e3e3e;
  position: absolute;
}
.riser.square {
  width: 98px;
}
.placement {
  border-radius: 50%;
  height: 20px;
  width: 20px;
  font-size: 12px;
  position: absolute;
  color: white;
  text-align: center;
  padding-top: 3px;
  padding-left: 1px;
  box-sizing: border-box;
}
.placement img {
  position: absolute;
  right: -7px;
  top: -7px;
  width: 10px;
  height: 10px;
}
.placement-name {
  position: absolute;
  color: #3e3e3e;
  left: -60px;
  top: 24px;
  line-height: 10px;
  height: 10px;
  right: -60px;
  white-space: nowrap;
  text-align: center;
}
.placement.status1 .placement-name {
  top: -14px;
}
.placement.status-1 img {
  right: 17px;
}

.placement-name-contents {
  display: inline-block;
  height: 100%;
  background-color: #F6F6F6;
  padding: 0 3px;
  position: relative;
  z-index: 1;
}
.off-stage {
  border: 2px solid #ABA8A3;
  position: absolute;
  top: 0;
  width: 31px;
  height: 494px;
}
.left-off {
  left: -67px;
}
.right-off {
  left: 1033px;
}

@media print {
  body {
    display: block;
  }
  form {
    display: none;
  }
  .chart {
    -webkit-print-color-adjust: exact;
  }
  .placement-name-contents, body, html {
    background: white !important;
  }
}


.number-line {
  width: 1021px;
  height: 60px;
  position: relative;
  margin: 0 auto;
}
.number-line .line {
  position: absolute;
  left: 11px;
  top: 15px;
  border: 1px solid #3E3E3B;
  right: 10px;
}
.number-line .column {
  width: 21px;
  margin-right: 79px;
  position: relative;
  height: 100%;
  float: left;
}
.number-line .column:first-child {
  left: 1px;
}
.number-line .column:last-child {
  margin-right: 0;
}
.number-line .column .vertical-line {
  position: absolute;
  left: 10px;
  top: 0;
  border-left: 1px solid #3E3E3B;
  height: 30px;
}
.number-line .column .number {
  position: absolute;
  font-family: "Lato";
  font-size: 18px;
  letter-spacing: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}

.grid-columns {
  position: absolute;
  right: calc(40px + (100vw - 821px) / 2);
  top: 615px;
  height: 32px;
  color: #ABA8A3;
}
.grid-columns .column {
  width: 21px;
  margin-right: 59px;
  position: relative;
  height: 100%;
  float: left;
}
.grid-columns .column:last-child {
  margin-right: 0;
}
.grid-columns .column:first-child {
  margin-left: 40px;
}
.grid-columns .column .number {
  position: absolute;
  font-family: "Lato";
  font-size: 18px;
  letter-spacing: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}
.grid-columns.stage-columns {
  right: calc((100vw - 42px - 800px - 20px) / 2);
  top: 595px;
}

.grid-lines {
  position: absolute;
  height: 447px;
  width: 821px;
  right: calc((100vw - 821px) / 2);
  top: 170px;
}
.grid-lines .grid-line {
  width: 21px;
  margin-right: 19px;
  position: relative;
  height: 100%;
  float: left;
}
.grid-lines .grid-line:last-child {
  margin-right: 0;
}
.grid-lines .grid-stopper {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  margin-left: 5px;
  border-top: 1px solid #ABA8A3;
}
.grid-lines .grid-divider {
  border-left: 1px solid #ABA8A3;
  display: block;
  margin: 0 auto;
  width: 0;
  height: 100%;
}

#home-page {
  width: 100vw;
  width: calc(100vw - 40px);
}

#home-page img {
  margin: 30px auto 50px;
  width: 180px;
  display: block;
}

#home-page p {
  margin-top: 42px;
  color: #888;
  font-size: 12px;
  text-align: center;
}

#home-page form {
  text-align: center;
  position: static;
  margin-bottom: 50px;
}
#home-page input, #home-page button {
  height: 50px;
  margin: 0 auto;
  font-size: 14px;
  background: #F6F6F6;
  border: 2px solid #3e3e3e;
  box-sizing: border-box;
}
#home-page input {
  padding-left: 8px;
}
#home-page button {
  margin-left: 8px;
  -webkit-appearance: none;
  appearance: none;
  padding: 0 20px;
}
#dl-link {
  display: block !important;
  width: 135px !important;
  margin: 0 auto;
}

#create-stagebook {
  text-align: center;
  width: calc(100vw - 80px);
}

#create-stagebook form {
  position: static;
}

#create-stagebook textarea {
  width: 300px;
  margin-top: 50px;
}