/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* Per correggere Firefox: dotted box intorno a button clicked */
.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
  outline: none;
}

html,
body {
  height: 100%;
  text-align: center;
  overflow-x: hidden;
  font-family: "Noto Sans", Georgia, Helvetica, sans-serif;
}

.navbar-brand {
  height: auto;
  font-size: 26px;
  line-height: 28px;
  text-transform: uppercase;
}

.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
  color: #9d9d9d;
}

.logo {
  height: 28px;
  float: left;
}

.btn-menu {
  color: #9d9d9d;
  float: right;
  height: 50px;
  padding: 15px 15px;
  font-size: 26px;
  line-height: 28px;
}
.btn-menu:hover, .btn-menu:focus, .btn-menu:active {
  color: white;
}

#operation-line {
  margin-top: 51px;
  margin-bottom: 20px;
  height: 35%;
  color: darkslategray;
  background-color: lightgray;
}
#operation-line #operation {
  position: relative;
  margin-top: -60px;
  top: 50%;
  font-size: 120px;
}

#result-line {
  height: 35%;
  margin-bottom: 20px;
}
#result-line .row {
  height: 100%;
}
#result-line .result-button {
  margin: 0;
  padding: 0px;
  width: 95%;
  height: 100%;
  border-radius: 40px;
  box-shadow: 8px 8px #999;
  font-size: 120px;
  line-height: 175%;
  background-color: lightskyblue;
  background-repeat: repeat-x;
  border-color: lightskyblue;
  color: darkslateblue;
}
#result-line .result-button:active {
  box-shadow: 4px 4px #777;
  transform: translateY(4px);
}
#result-line #firstResultDiv,
#result-line #secondResultDiv,
#result-line #thirdResultDiv {
  margin: 0;
  padding: 0px 5px;
}
#result-line #firstResultDiv {
  padding-left: 10px;
}
#result-line #thirdResultDiv {
  padding-right: 10px;
}
#result-line .btn.disabled {
  opacity: 0.85;
}

#settingsDiv {
  position: relative;
  width: 320px;
  top: 25%;
  margin: 0px auto;
  border: 1px solid steelblue;
  padding: 10px 20px;
}
#settingsDiv .inputs {
  font-size: 100%;
  text-align: left;
  margin: 10px auto;
  line-height: 130%;
}
#settingsDiv .inputs label {
  font-weight: 500;
}
#settingsDiv .inputs input[type=checkbox],
#settingsDiv .inputs input[type=radio] {
  margin: 0px 9px 3px 0px;
}
#settingsDiv .inputs #operationTypes,
#settingsDiv .inputs #parameters {
  margin: 20px auto;
  border: 1px dotted steelblue;
  padding: 10px 10px;
}
#settingsDiv .btn-lg {
  width: 110px;
  margin: 10px 5px;
  padding: 5px 8px;
  font-size: 15px;
  line-height: 1.5;
  border-radius: 6px;
}

#status-line-container #status-line {
  border: 1px solid #999;
  border-radius: 5px;
  color: #666;
  text-transform: uppercase;
  margin: 10px 0px 0px 0px;
  line-height: 1.25em;
}
#status-line-container #status-line .col-xs-4 {
  padding: 5px;
}

footer {
  position: fixed;
  width: 100%;
  bottom: 0;
  font-size: 80%;
}
footer p {
  margin-top: 20px;
  margin-bottom: 10px;
  line-height: 1.25em;
}
footer p > span {
  font-size: 80%;
}

@media (max-width: 575px) {
  .navbar-brand,
.btn-menu {
    font-size: 18px;
    line-height: 20px;
  }

  #operation-line {
    height: 25%;
  }
  #operation-line #operation {
    margin-top: -20px;
    font-size: 40px;
  }

  #result-line {
    height: 15%;
  }
  #result-line .result-button {
    height: 85%;
    font-size: 28px;
    border-radius: 20px;
  }

  #status-line {
    font-size: 80%;
  }

  #settingsDiv {
    width: 300px;
  }
  #settingsDiv .inputs {
    font-size: 90%;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #result-line .result-button {
    font-size: 90px;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  #operation-line {
    height: 30%;
  }
  #operation-line #operation {
    margin-top: -30px;
    font-size: 60px;
  }

  #result-line {
    height: 25%;
  }
  #result-line .result-button {
    height: 85%;
    font-size: 45px;
    border-radius: 20px;
  }
}
@media (max-height: 414px) {
  #operation-line {
    height: 25%;
  }
  #operation-line #operation {
    margin-top: -30px;
    font-size: 60px;
  }

  #result-line {
    height: 20%;
  }
  #result-line .result-button {
    font-size: 60px;
    line-height: 120%;
  }

  #status-line {
    font-size: 80%;
    margin: 5px 0px 0px 0px;
  }

  #settingsDiv {
    top: 20%;
    padding: 0 20px;
  }
  #settingsDiv .btn-lg {
    margin: 0 5px 10px;
  }

  footer p {
    margin-bottom: 5px;
    line-height: 1.1em;
  }
}
#versionBtn {
  font-size: 16.9px;
}

@media (max-width: 767px) {
  .btn-menu {
    width: 100%;
    text-align: left;
    height: auto;
  }

  #versionBtn {
    display: none;
  }
}
@media (min-width: 768px) {
  .xs-only {
    display: none;
  }
}
#successEffect {
  height: 100%;
  margin-top: 6rem;
  font-size: 20rem;
}

#failureEffect {
  margin-top: 2rem;
  font-size: 9rem;
}

@media (min-width: 576px) and (max-width: 767px) {
  #failureEffect {
    margin-top: 1rem;
  }
}
@media (max-width: 575px) {
  #successEffect {
    margin-top: 7rem;
    font-size: 14rem;
  }

  #failureEffect {
    margin-top: 1rem;
    font-size: 5rem;
  }
}
@media (max-height: 414px) {
  #successEffect {
    margin-top: 1rem;
    font-size: 9rem;
  }

  #failureEffect {
    margin-top: -0.5rem;
    font-size: 3rem;
  }
}
#settings-line {
  color: #666;
  margin: 10px 5px;
  font-size: 80%;
  text-align: right;
}

@media (max-height: 414px), (max-width: 575px) {
  #settings-line {
    margin: 5px 5px;
    font-size: 75%;
  }
}

/*# sourceMappingURL=custom.css.map */
