/* =============================================================================
   HTML5 CSS Reset Minified - Eric Meyer
   ========================================================================== */


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, sub, sup, 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; */
}

header {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  /* border-bottom: 2px solid #5c5c5c; */
}

#img-logo {
  padding: 10px;
  height: 40px;
  user-select: none;
}

main {
  width: 100%;
  padding-top: 20px;
}

footer {
  width: 100%;
  /* height: 100px; */
  margin: 0 auto;
  margin-top: 25px;
  /* border-top: 2px solid #5c5c5c; */
}

.container {
  width: 970px;
  margin: 0 auto;
  padding: 10px;
  padding-top: 15px;
  background: white;
  box-shadow: 0px 4px 10px 2px rgba(0,0,0,0.25);
}

.img-container {
  display: flex;
  justify-content: space-around;
}

.img-container a:hover {
  cursor: auto;
}

#img-trincee {
  border-radius: 5px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  user-select: none;
}

.input-data {
  margin-top: 10px;
}

.input-table {
  font-size: 0.9em;
  width: 100%;
  background: #eeeeee;
  border-collapse: collapse;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  animation: float 5s infinite;
}

.input-table, th, tr, td {
  /* border: 1px solid black; */
}

.input-table td {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
}

.input-table thead th {
  background: linear-gradient(to top, #0081c9, #52b2e7);
  border-top: 0;
  /* border-bottom: 2px solid #256285; */
  border-bottom: 2px solid white;
  color: white;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 1.4em;
  font-weight: bold;
  padding: 16px;
  vertical-align: middle;
  user-select: none;
}

.input-table tbody {
  font-size: 1em;
}

.input-table thead th:nth-child(1) {
  border-top-left-radius: 5px;
  border-right: 2px solid white;;
}

.input-table thead th:nth-child(3) {
  border-top-right-radius: 5px;
  border-left: 2px solid white;
}

.input-table tr {
  border-bottom: 2px solid white;
}

.input-table tr td {
  border-left: 2px solid white;
}

.input-table tr td:focus {
  outline: 2px solid #0081c9;
  outline-offset: -3px;
  box-shadow: inset 0 0 3px rgba(0, 129, 201, 1);
  box-shadow: 0 0 3px rgba(0, 129, 201, 1);
}

.input-table tr td:first-child {
  border-left: none;
}

.input-table tr:last-child {
  border-bottom: none;
}

.input-table tr:hover td {
  background: #d6d6d6;
}

.param {
  text-align: left;
  padding: 10px;
  user-select: none;
}

.val {
  text-align: center;
  padding: 10px;
}

.um {
  text-align: right;
  padding: 10px;
  user-select: none;
}

.input-output {
  margin: 5px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}

.input-buttons {
  display: flex;
  justify-content: flex-end;
}

.input-buttons button {
  margin-left: 5px;
  padding: 10px 20px 10px 20px;
  font-size: 1em;
  color: white;
  background: linear-gradient(to top, #f49b08, #fed834);
  /* border-bottom: 2px solid #a16809; */
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: none;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  user-select: none;
}

.input-buttons button:focus {
  outline: 0;
}

.input-buttons button:hover {
  cursor: pointer;
}

#btn-calculate {
  font-family: 'Trebuchet MS', sans-serif;
  font-weight: bold;
}

#btn-calculate:disabled {
  cursor: auto;
  background: #8c8c8c;
  border-bottom: 2px solid #5f5f5f;
}

.output {
  margin-left: 5px;
  padding: 10px 5px 10px 5px;
  border-bottom: 2px solid black;
  border-top: 2px solid black;
}

#result-span {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
  user-select: none;
}

.fa-check-circle {
  color: #37a24e;
}

.fa-times-circle {
  color: #b8493a;
}


/* =============================================================================
   MEDIA QUERIES
   ========================================================================== */

/* @media screen and (min-width: 640px) {
  #img-logo {
    height: 60px;
  }

  .input-table thead {
    font-size: 1.2em;
  }

  .input-table tbody {
    font-size: 0.8em;
  }

  .input-buttons button{
    font-size: 1em;
  }
}

@media screen and (min-width: 960px) {
  .container {
    width: 970px;
  }

  #img-logo {
    height: 100px;
  }

  header, footer {
    width: 960px;
  }

  #img-trincee {
    width: 960px;
  }

  .input-data {
    padding: 5px;
  }

  .input-table thead {
    font-size: 1.4em;
  }

  .input-table tbody {
    font-size: 1em;
  }

  .input-buttons button{
    font-size: 1em;
  }
} */
