body {
  font-family: 'Open Sans', sans-serif;
  color: #004d50; /* #2B2B2B; */
  font-size: 20px;
  background-color: #EEF6F7;
}
  
.terpolymerization_container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

hr {
  width: 100%;
  border: 0;
  height: 2px;
  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;
}

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

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

.terpolymerization_step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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;
}

.monomers {
  display: flex;
  flex-direction: column;
}

.monomers_blocks {
  align-items: center;
  justify-content: center;
}

.monomers_blocks + .monomers_blocks {
  margin-top: 10px;
}

label {
  font-size: 0.9em;
}

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

.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;
}

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;
}

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

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;
}

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

.step_2 {
  font-style: italic;
}

.input-params {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  border-top: 2px solid #195E61;
}

.row {
  width: 100%;
  border-left: 2px solid #195E61;
}

.cell {
  box-sizing: border-box;
  width: 16.6%;
  float: left;
  text-align: center;
  padding: 10px;
  border-right: 2px solid #195E61;
  border-bottom: 2px solid #195E61;
}

.cell__in {
  background-color: white;
}

.cell__in input {
  border: none;
  font-size: 16px;
}

.clear {
  clear: both;
}

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;
}

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

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;
}

#save-as-pdf {
  display: block;
  margin: 50px auto 30px;
  width: 168px;
  font-size: 0.9rem;
  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;
  }
  .input-params {
    border-color: #000;
  } 
  .row {
    border-color: #000;
  }
  .cell {
    border-color: #000;
  }
  .tooltip {
    border-bottom: none;
  }
  .tool {
	color: #000;	
  }
  text.top-right-legend {
    display: none;
  }
}
	