body {
  font-family: 'Open Sans', sans-serif;
  color: #004d50; /* #2B2B2B; */
  font-size: 20px;
  background-color: #EEF6F7;
}

.copolymerization-div {
  width: 960px;
  margin: 0 auto;
}

h1 {
  font-size: 1.3em;
  font-weight: 400;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

form {
  margin-top: 15px;
  margin-bottom: 15px;
}

.comment {
  width: 150px;
  border: 2px solid #004d50;
  border-radius: 20px;
  color: #fff;
  background-color: #004d50;
  margin: 0 auto;
}

hr {
  width: 100%;
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0),
                    rgba(0, 77, 80, 1), rgba(0, 0, 0, 0));
  /* Opera 11.1 - 12 */
  background-image: -o-linear-gradient(right, rgba(0, 0, 0, 0),
                    rgba(0, 77, 80, 1), rgba(0, 0, 0, 0));
  /* Opera 15+, Chrome 25+, IE 10+, Firefox 16+, Safari 6.1+, iOS 7+, Android 4.4+ */
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0),
                    rgba(0, 77, 80, 1), rgba(0, 0, 0, 0));
  /* Firefox 3.6 - 15 */
  background-image: -moz-linear-gradient(right, rgba(0, 0, 0, 0),
                    rgba(0, 77, 80, 1), rgba(0, 0, 0, 0));
  /* Safari 5.1, iOS 5.0-6.1, Chrome 10-25, Android 4.0-4.3 */
  background-image: -webkit-linear-gradient(right, rgba(0, 0, 0, 0),
                    rgba(0, 77, 80, 1), rgba(0, 0, 0, 0));
  /* Safari 4, Chrome 1-9, iOS 3.2-4.3, Android 2.1-3.0 */
  background-image: -webkit-gradient(linear, right, rgba(0, 0, 0, 0),
                    rgba(0, 77, 80, 1), rgba(0, 0, 0, 0));
}

.for-invisible {
  display: block;
}

span.for-invisible {
  display: inline-block;
}

.designation {
  width: 700px;
  margin: 15px auto;
}

.comment-block {
  width: 585px;
  margin: 0 auto;
  font-size: 0.8em;
  font-weight: 100;
  line-height: 10px;
  padding: 14px 30px;
  border-radius: 15px;
}

.font-weight-400 {
  font-weight: 400;
}

.tooltip {
  border-bottom: 1px dashed #327072;
	cursor: help;
}

h2 {
  font-size: 1.2em;
  font-weight: 400;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
}

.block-step {
  width: 960px;
  margin: 35px auto;
}

.margin-top {
  margin-top: 15px;
}

p.steps {
  text-align: center;
  font-size: 0.9em;
  font-weight: 400;
}

.monomers {
  width: 510px;
  margin: 5px auto;
}

label {
  font-size: 0.9em;
}

label > input {
  width: 200px;
  font-size: 0.75em;
}

.label-1 {
  float: left;
}

.label-2 {
  float: left;
  margin-left: 10px;
}

input {
  height: 30px;
  width: 70px;
  border: 2px solid #195E61;
  border-radius: 2px;
  text-align: center;
  font-size: 1em;
  font-weight: 300;
  box-sizing: border-box;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-ms-clear {
  display: none;
  width : 0;
  height: 0;
}

input[type=number]::-ms-reveal {
  display: none;
  width : 0;
  height: 0;
}

.empty-div {
  clear: both;
}

.helper {
  width: 24px;
  height: 24px;
  color: #EEF6F7;
  background-color: #004d50;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.input-params {
  width: 240px;
  margin: 0 auto;
}

.input-params > p {
  margin-top: 0;
  margin-bottom: 0;
}

.step-one-input-block {
  width: 260px;
  margin: 0 auto;
}

.input-n, .build-table {
  float: left;
}

button {
  height: 30px;
  width: 170px;
  border-radius: 2px;
  border-width: 1px;
  font-size: 0.7em;
  font-weight: 300;
  background-color: #004d50;
  border-color: #004d50;
  color: #F5F5F5;
  margin-left: 10px;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0px;
}

table, td {
  border: 2px solid #195E61;
  text-align: center;
  padding: 10px;
}

caption {
  padding-bottom: 10px;
  font-weight: 400;
  font-size: 0.8em;
}

table.params-table {
  counter-reset: each-first-td;
}

.counter-n::before {
  counter-increment: each-first-td;
  content: counter(each-first-td);
}

td.background-color-cell {
  background-color: white;
}

td {
  width: 14%;
  font-weight: 300;
  font-size: 0.8em;
}

td.width-ten {
  width: 10%;
}

td input {
  width: 100%;
  border: none;
  text-align: center;
  padding-left: 0;
}

.azeotrope {
  height: 35px;
  font-size: 18px;
  text-align: center;
}

.azeotrope > td {
  height: 40px;
  padding: 0;
}

.azeotrope-point {
  margin: 0;
  font-weight: 400;
  font-size: 17px;
  /*font-weight: bold;*/
}

aside {
  text-align: center;
  font-style: italic;
  font-size: 0.7em;
}

.graphs-block {
  width: 50%;
  float: left;
}

.diagram, .graph {
  width: 50%;
  float: left;
}

.build-diagram, .build-graph {
  margin: 15px auto;
}

text {
  font-size: 14px;
}

#diagram {
  position: relative;
  margin-left: 50px;
}

.diagram-x-axes {
  position: absolute;
  top: 96%;
  left: 8%;
  width: 80%;
  height: 10%;
  text-align: center;
}

.diagram-y-axes {
  position: absolute;
  top: 40%;
  right: 63%;
  width: 80%;
  height: 10%;
  transform: rotate(-90deg);
  text-align: center;
}

.other-diagrams {
  width: 350px;
  height: 30px;
  margin: 40px 0 0 80px;
  text-decoration: none;
  text-align: center;
  line-height: 26px;
  border-radius: 2px;
  font-size: 0.75em;
  font-weight: 300;
  background-color: #004d50;
  color: #F5F5F5;
  cursor: pointer;
}

#graph {
  position: relative;
  margin-left: 50px;
}

.graph-x-axes {
  position: absolute;
  top: 96%;
  left: 8%;
  width: 80%;
  height: 10%;
  text-align: center;
}

.graph-y-axes {
  position: absolute;
  top: 40%;
  right: 63%;
  width: 80%;
  height: 10%;
  transform: rotate(-90deg);
  text-align: center;
}

.p-red {
  color: red;
}

.p-blue {
  color: blue;
}

.p-green {
  color: green;
}

.description {
  width: 70%;
  margin: 40px auto 0;
}

.red, .blue, .green {
  width: 33.3%;
  float: left;
  text-align: center;
}

.red-line {
  color: red;
  opacity: 0.7;
}

.blue-line {
  color: blue;
}

.green-line {
  color: green;
}

.red > p, .blue > p, .green > p {
  display: inline;
  font-size: 16px;
}

.clear {
  clear: both;
}

#save-as-pdf {
  margin: 50px auto 30px;
  width: 168px;
  font-size: 0.7em;
	border: 2px solid #004d50;
	border-radius: 20px;
  color: #fff;
	background-color: #004d50;
}

p.authors {
  text-align: right;
  font-size: 0.7em;
  font-style: italic;
}

@media print {
  .for-invisible {
    display: none;
  }
  body {
    color: #000;
    background-color: #fff;
  }
  h1 {
    color: #000;
  }
  input, table, td {
    border-color: #000;
  }
  .tooltip {
    border-bottom: none;
  }
  path {
    stroke: black;
  }
.p-red, .p-blue, .p-green, .red-line, .blue-line, .green-line {
    color: black;
  }
  text.top-right-legend {
    display: none;
}
