.calculatorWidget {
	margin: 1rem auto 2rem;
    background: #fff;
    background-color: #eff3f6;
	display: flex;
	position: relative;
	overflow: hidden;
	flex-direction: column;
	min-height: 350px;
	line-height: 1rem;
	max-width: 500px;
	align-items: center;
	text-align: center;
	justify-content: space-evenly;
}

.calculatorWidget h2 {
	font-size: 1.6em;
	margin-bottom: 1.6em;
}

.calculatorWidget h3 {
	margin: 0 2em;
}

.calculatorWidget p {
	font-size: 13px;
	margin: 1em 2em;
}

.calculatorWidget input[type="text"]#wage {
	max-width: 50%;
}

.calculatorWidget .hideEl {
	display: none;
}

.calculatorWidget #alert {
	display: none;
	position: absolute;
	bottom: 31%;
	color: red;
}

.calculatorWidget button {
	margin: 1rem 0.4rem 2rem;
	border: 2px solid #344b6d;
	border-radius: 30px;
	color: #344b6d;
	background: #fff;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1rem;
	height: auto;
	min-width: 10px;
	padding: 0.5rem 0.75rem;
	text-transform: capitalize;
	transition: all 0.25s linear;
}

.calculatorWidget button:hover,
.calculatorWidget .active {
	background-color: #344b6d;
	border-color: #344b6d;
	color: #fff;
}

.calculatorWidget #actionButtons,
.calculatorWidget #quiz {
	margin-top: -3em;
}

.calculatorWidget #actionButtons button {
	background-color: #53940d;
	border-color: #53940d;
	color: #fff;
}

.calculatorWidget #actionButtons #back {
    margin-right: 5em;
}

.calculatorWidget #actionButtons button:hover {
	background-color: #fff;
	border-color: #53940d;
	color: #53940d;
}

.calculatorWidget input:focus {
  outline: none !important;
  border: #53940d 4px solid;
}

.calculatorWidget #result p {
	color: #0a406b;
	line-height: 1.5;	
}

.calculatorWidget #footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 13.5%;
  background-color: #0a406b;
}

.calculatorWidget #footer span {
  float: right;
  padding: 1rem;
  color: #fff;
  font-size: 12px;
}

.slide-in {
  position: relative;
  animation: come-in 1s ease forwards;
}

@keyframes come-in {
  from {
    left: 100%;
  }

  to {
    left: 0%;
  }
}

.slide-out {
  position: relative;
  animation: come-out 1s ease forwards;
}

@keyframes come-out {
  from {
    right: 100%;
  }

  to {
    right: 0%;
  }
}

@media only screen and (max-width:550px) {
	.calculatorWidget {
		padding: 0 5px;
	}
}

@media only screen and (max-width:450px) {
	.calculatorWidget input#wage {
		max-width: 80%;
	}
	
	.calculatorWidget button {
		  margin: 1rem 0.2rem 1rem;
	}
	
	.calculatorWidget #alert {
		bottom: 25%;
	}
	
	.calculatorWidget #footer {
		height: 11.5%;
	}
	
	.calculatorWidget #footer span {
		padding: 0.35rem;

	}
}