/* ==========================================================================
   Banks Power - Re-Oil Calculator
   ========================================================================== */

* {
	box-sizing: border-box;
}

/* Main wrapper */
.banks-reoil-wrapper {
	width: 100%;
}

.banks-reoil-content {
	max-width: 640px;
	margin: 0 auto;
}

/* Calculator panel */
.banks-reoil-calculator {
	float: left;
	width: 300px;
	margin: 10px;
	padding: 20px;
	border: 2px solid #cc0000;
	border-radius: 25px;
}

.banks-reoil-calculator h1 {
	margin-top: 0;
	color: #cc0000;
	font-size: 20px;
	text-align: center;
}

/* Instructions panel */
.banks-reoil-instructions {
	float: left;
	width: 300px;
	margin: 10px;
	border: 1px solid #000;
}

/* Responsive */
@media only screen and (max-width: 767px) {

	.banks-reoil-content {
		width: 100%;
	}

	.banks-reoil-calculator,
	.banks-reoil-instructions {
		width: 90%;
		margin: 0 5% 30px;
		float: none;
	}
}

/* Instruction blocks */

.calculator_text_box_1 {
	padding: 10px;
	color: #000;
	background: #eee;
}

.calculator_text_box_2 {
	padding: 10px;
	color: #fff;
	background: #888;
}

.calculator_text_box_3 {
	padding: 10px;
	color: #fff;
	background: #333;
}

/* Calculator rows */

.calculator_inner_text_box {
	width: 260px;
	height: 30px;
	padding: 0;
}

.calculator_inner_text_box_left {
	float: left;
	width: 180px;
	height: 30px;
	padding-right: 10px;
	text-align: right;
}

.calculator_inner_text_box_right {
	float: left;
	width: 70px;
	height: 30px;
}

.calculator_spacer {
	clear: both;
	width: 100%;
	height: 20px;
}

/* Inputs */

.calculator_text_input {
	color: #000;
	background: yellow;
	border: 1px solid #000;
}

/* Buttons */

.calculator_button {
	width: 100%;
	margin: 4px 2px 5px;
	padding: 4px 10px;
	color: #fff;
	background: #cc0000;
	border: 0;
	cursor: pointer;
	text-decoration: none;
}

.calculator_button:hover {
	background: #b30000;
}

input[type="submit"].reset {
	background: #333;
}

input[type="submit"].reset:hover {
	background: #222;
}

/* Tooltip */

.tooltip {
	position: relative;
	display: inline-block;
	margin-bottom: 15px;
	color: #cc0000;
	border-bottom: 1px dotted #73ad21;
	cursor: help;
}

.tooltip .tooltiptext {
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	width: 120px;
	margin-left: -60px;
	padding: 5px 0;
	border-radius: 6px;

	color: yellow;
	background: #663300;

	text-align: center;

	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;

	border-width: 5px;
	border-style: solid;
	border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}
