/* CSS for use with Vue loan calculator  */
#app {
  width: 500px;
  background: #4376A3;
  padding: 0;
  margin: 0 auto;
  top: 10px;
  position: relative;
  font-family: "Open Sans", sans-serif;
  color: #4376A3;
  border-radius: 4px;
  {% comment %} -moz-box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 10px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 10px;
  box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 10px; {% endcomment %}
}
#app h2 {
  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: 32px;
  margin: 20px 0 20px 0;
  padding-top: 20px;
  color: #EFEFEF;
  {% comment %} text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 10px; {% endcomment %}
}
#app h3 {
  text-align: center;
  font-size: 24px;
  margin: 16px 0 20px 0;
  color: #4376A3;
}
#app .form {
  margin: -30px 20px 20px 20px;
  display: block;
  background: #ffffff;
  padding: 18px;
  border-radius: 4px 4px 0 0;
  transform: translateY(30px);
  {% comment %} -moz-box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 18px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 18px;
  box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 18px; {% endcomment %}
}
#app .form-group {
  width: 100%;
  position: relative;
  box-sizing: content-box;
  font-size: 18px;
  display: block;
}
#app .form-group label {
  width: 49%;
  display: inline-block;
  text-align: right;
  box-sizing: content-box;
  line-height: 20px;
  padding: 10px;
}
#app .form-group .out {
  font-size: 26px;
  color: #565660;
  text-align: left;
}
#app .form-group input, #app .form-group select, #app .form-group span {
  width: 35%;
  display: inline-block;
  box-sizing: content-box;
  font-size: 18px;
  padding: 6px 8px 2px 2px;
  border: none;
  border-bottom: 3px solid #AEAEAE;
  background: none;
  outline: none;
  border-radius: 2px 2px 0 0;
  color: #565660;
}
#app .form-group select {
  font-size: 17px;
  border-bottom: none;
}
#app .form-group span {
  width: 35%;
  display: inline-block;
  box-sizing: content-box;
  font-size: 18px;
  padding: 6px 8px 2px 2px;
  border: none;
  /*border-bottom: 3px solid #AEAEAE; */
  background: none;
  outline: none;
  border-radius: 2px 2px 0 0;
  color: #565660;
  text-align: left;
}

#app .form-group input:active, #app .form-group input:focus, #app .form-group select:active, #app .form-group select:focus {
  background: #eeeeff;
}
#app .form-group input option, #app .form-group select option {
  background: #ffffff;
}
#app .form-group input option:active, #app .form-group input option:hover, #app .form-group input option:focus, #app .form-group select option:active, #app .form-group select option:hover, #app .form-group select option:focus {
  background: #AEAEAE;
}
#app .error {
  color: #dc3545;
}
.hover {
  position: fixed;
  display: block;
  padding: 8px;
  font-size: 16px;
  color: #4376A3;
  transition: all 0.1s;
  background: #ffffff;
  pointer-events: none;
  border: 1px solid #565660;
  -moz-box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 10px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 10px;
  box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 10px;
}

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

svg text {
  fill: #4376A3;
  font-family: "Mada", sans-serif;
}
svg line {
  stroke: #4376A3;
  stroke-width: 2px;
}
svg .xaxis {
  transform: translate(20px, 250px);
}
svg .graph {
  transform: translate(20px, 0px);
}
svg .graph rect {
  fill: #AEAEAE;
}
svg .graph rect:hover {
  fill: #4376A3;
}
svg .yaxis {
  transform: translate(20px, 0px) rotate(90deg);
}
#danger {
  color: #dc3545;
}