/* =============================================================================
   Resets default styles
   ========================================================================== */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent
}

body {
  line-height: 1
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block
}

nav ul {
  list-style: none
}

blockquote, q {
  quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
  content: none
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold
}

del {
  text-decoration: line-through
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0
}

input, select {
  vertical-align: middle
}

li {
  list-style: none
}

/* =============================================================================
   CSS
   ========================================================================== */

body {
  /* background: #E6E6E6; */
  font-family: 'Segoe UI', sans-serif;
}

a {
  color: #00B7FF;
}

header {
  width: 100%;
  margin: 0 auto;
  /*border-bottom: 2px solid #5c5c5c;*/
}

img#logo-img {
  margin: 0 auto;
  display: block;
  padding: 15px 0;
  height: 80px;
  user-select: none;
}

.container {
  width: 100%;
  margin: 20px auto 0;
}

.box {}

.input-container {
  border: none;
  margin: 0 5px 0 5px;
  padding: 10px;
  display: grid;
  background: #eeeeee;
  border-radius: 5px;
  grid-template-rows: auto auto auto auto auto auto auto auto;
  grid-template-columns: 3fr 1fr 1fr;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.input-container span {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 1em;
  user-select: none;
}

.input-container input {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 1em;
}

.input-container input[type="text"] {
  width: 80%;
  text-align: right;
  padding-right: 2px;
}

.input-container #input-classe {
  width: 83.35%;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 1em;
  padding-right: 2px;
}

.input-container #input-strati {
  width: 80%;
  text-align: right;
}

.input-lang img {
  display: block;
  user-select: none;
}

.input-lang button {
  background: none;
  padding: 5px;
  border: none;
  width: auto;
  height: auto;
  user-select: none;
}

.input-lang button:hover {
  cursor: pointer;
}

.input-lang button:focus {
  outline: none;
}

.input-lang button:disabled {
  background: #00B7FF;
  cursor: auto;
  border-radius: 3px;
}

.span {
  padding-top: 17px;
  text-align: left;
}

.val {
  padding-top: 5px;
}

.um {
  padding-top: 15px;
  text-align: right;
  font-size: 0.9em;
  color: #555555;
}

.input-lang {
  display: flex;
  justify-content: center;
  grid-row: 1/2;
  grid-column: 1/4;
}

.span-classe {
  grid-row: 2/3;
  grid-column: 1/2;
}

.um-classe {
  grid-row: 2/3;
  grid-column: 2/3;
}

.val-classe {
  display: flex;
  justify-content: flex-end;
  grid-row: 2/3;
  grid-column: 3/4;
}

.span-resistenza-cubica {
  grid-row: 3/4;
  grid-column: 1/2;
}

.um-resistenza-cubica {
  grid-row: 3/4;
  grid-column: 2/3;
}

.val-resistenza-cubica {
  display: flex;
  justify-content: flex-end;
  grid-row: 3/4;
  grid-column: 3/4;
}

.span-diametro {
  grid-row: 4/5;
  grid-column: 1/2;
}

.um-diamentro {
  grid-row: 4/5;
  grid-column: 2/3;
}

.val-diametro {
  display: flex;
  justify-content: flex-end;
  grid-row: 4/5;
  grid-column: 3/4;
}

.span-strati {
  grid-row: 5/6;
  grid-column: 1/2;
}

.val-strati {
  display: flex;
  justify-content: flex-end;
  grid-row: 5/6;
  grid-column: 3/4;
}

.span-kh-variabile {
  grid-row: 6/7;
  grid-column: 1/2;
}

.val-kh-variabile {
  display: flex;
  justify-content: flex-end;
  grid-row: 6/7;
  grid-column: 3/4;
}

.div-btn-apply {
  display: flex;
  justify-content: flex-end;
  grid-row: 5/6;
  grid-column: 2/3;
}

#btn-apply {
  margin-top: 6px;
  color: white;
  padding-left: 8px;
  padding-right: 8px;
  background: linear-gradient(to top, #834d9b, #b561b9);
  border: none;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 0.8em;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  user-select: none;
}

#btn-apply:hover {
  background: #b561b9;
  cursor: pointer;
}

#btn-apply:disabled {
  background: #505050;
  cursor: auto;
}

#btn-apply:focus {
  outline: none;
}

.checkbox-container {
  margin-top: 2px;
  display: block;
  position: relative;
  cursor: pointer;
  user-select: none;
  padding: 0 6px 10px 0;
}

.checkbox-container input {
  position: relative;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 0;
  height: 26px;
  width: 26px;
  background: #c2bbb7;
}

.checkbox-container:hover input~.checkmark {
  background: #999491;
}

.checkbox-container input:checked~.checkmark {
  background: #834d9b;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked~.checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 8px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 4px 4px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.output-container {
  margin: 20px auto;
  display: flex;
  justify-content: space-around;
}

.output-table {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1em;
  width: 100%;
  max-width: 100%;
  margin: 0 5px 0 5px;
  background: #eeeeee;
  border-collapse: collapse;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.output-table td {
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.output-table th, .output-table td {
  width: 20%;
  padding: 10px;
  border: 2px solid #5c5c5c;
}

.output-table thead th {
  border-top: none;
  vertical-align: middle;
  user-select: none;
}

.output-table thead th:first-child {
  border-left: none;
}

.output-table thead th:last-child {
  border-right: none;
}

.output-table tbody th {
  border-left: none;
  user-select: none;
}

.output-table tbody tr:last-child td, .output-table tbody tr:last-child th {
  border-bottom: none;
}

.output-table tbody tr td:last-child {
  border-right: none;
}

.output-table tbody td:hover {
  background: #dfdfdf;
}

.controls-container {
  width: 100%;
  margin: 15px 0 0 0;
  display: flex;
  justify-content: space-between;
}

.io-buttons {
  display: flex;
  justify-content: flex-start;
}

.calc-buttons {
  display: flex;
  justify-content: flex-end;
}

.controls-container button {
  padding: 10px 15px;
  color: white;
  background: linear-gradient(to top, #834d9b, #b561b9);
  border: none;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 1em;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  user-select: none;
}

.controls-container button:hover {
  cursor: pointer;
}

.controls-container button:disabled {
  background: #5c5c5c;
  cursor: auto;
}

.controls-container button:focus {
  outline: none;
}

#btn-refresh {
  margin-right: 5px;
}

#btn-save {
  margin-left: 5px;
}

#file-input {
  display: none;
}

footer {
  /*height: 20px;*/
  width: 100%;
  /*margin: 20px 5px 0 5px;*/
  /*border-top: 2px solid #5c5c5c;*/
}

/* MEDIA QUERIES */

/*@media screen and (min-width: 480px) {*/

/*.input-container span, .input-container input, .input-container #input-classe, .output-table {*/

/*font-size: 0.8em;*/

/*}*/

/*.controls-container button {*/

/*font-size: 1em;*/

/*}*/

/*.container {*/

/*width: 500px;*/

/*}*/

/*header {*/

/*width: 480px;*/

/*}*/

/*footer {*/

/*width: 480px;*/

/*margin: 20px auto;*/

/*}*/

/*}*/
