a,
body,
div,
form,
h1,
h2,
h3,
h4,
h5,
h6,
html,
p,
section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline
}

body {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  background: #2e2f40;
  color: rgba(255, 255, 255, .4);
  line-height: 1
}

.col {
  float: left;
  padding: 0 4px;
  box-sizing: border-box
}

.col-1-2 {
  width: 50%
}

.col-1-3 {
  width: 33.33%
}

.col-1-4 {
  width: 25%
}

.col-1-8 {
  width: 12.5%
}

@media all and (max-width:680px) {
  .col-1-3 {
    width: 100%;
    padding: 0
  }

  .col-1-4 {
    width: 100%;
    padding: 0
  }
}

.site-title {
  margin: 0 0 50px
}

.site-title h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff
}

.site-title h1 a {
  vertical-align: super;
  font-size: 14px;
  font-weight: 400;
  color: #4d6deb;
  margin: 0 0 0 5px;
  text-decoration: none
}

.site-title h1 a:hover {
  text-decoration: underline
}

.site-title p {
  font-size: 14px;
  color: rgba(255, 255, 255, .4)
}

.calc-container {
  max-width: 680px;
  margin: 50px auto 20px;
  padding: 20px 10px 20px 10px
}

.calc-btn {
  font-size: 18px;
  background: #4d6deb;
  color: #fff;
  height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer
}

.calc-btn:active {
  background: #434c66
}

.calc-btn.clear {
  background: #37425f
}

.calc-btn.clear:active {
  background: #434c66
}

input {
  font-size: 18px;
  background: #37425f;
  color: #fff;
  width: 100%;
  height: 40px;
  border-radius: 6px;
  border: 2px solid #4d6deb;
  padding: 0 6px;
  margin: 0 0 16px;
  outline: 0;
  box-sizing: border-box
}

h3 {
  font-size: 16px;
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .4)
}

.result-txt {
  font-size: 18px;
  background: #37425f;
  color: #fff;
  height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  border: none;
  width: 100%
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0
}

input[type=number] {
  -moz-appearance: textfield
}
input:read-only{
  cursor:default;
}
input[type="submit"]{
  cursor:pointer
}

[data-tip] {
	position:relative;

}
[data-tip]:before {
	content:'';
	/* hides the tooltip when not hovered */
	display:none;
	content:'';
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #4d6deb;	
	position:absolute;
	top:45px;
	left:35px;
	z-index:8;
	font-size:0;
	line-height:0;
	width:0;
	height:0;
}
[data-tip]:after {
	display:none;
	content:attr(data-tip);
	position:absolute;
	top:50px;
	left:0px;
	padding:5px 8px;
	background:#4d6deb;
	color:#fff;
	z-index:9;
	font-size: 0.75em;
	height:18px;
	line-height:18px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	white-space:nowrap;
	word-wrap:normal;
}
[data-tip]:hover:before,
[data-tip]:hover:after {
	display:block;
}

#copied {
  visibility: hidden;
  min-width: 200px;
  margin-left: -125px;
  background-color: #4d6deb;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}

#copied.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}