/*global*/
form { text-align: center;margin: 0 auto; }
hr { margin: 25px; }
h2 {
	text-align: center;
	margin: 0 auto;
}
.clear { clear: both; }
/*page*/
.page-header { margin: initial!important; }
/*tabs*/
.tab {
	border: 3px solid black;
	padding: 15px;
}
.tab.active { background: yellow; }
/*elements*/
.buttons {
	margin-top: 336px;
	text-align: center;
}
.btn { 
	padding-top: initial!important;
	padding-bottom: initial!important;
	color: initial!important;
	background-color: initial!important;
}
#calculate { float: right; }
@media screen and (max-width: 768px) {
	#calculate { float: none; }
}
/*form*/
.hpc-inputs { margin-top: 15px; }
.hpc-inputs input { max-width: 25%; }
.hpc-inputs label {
	text-align: right;
	width: 50%;
}
.explain { color: #00005f; }
.explain-box {
	border: 2px solid grey;
	padding: 10px;
	z-index: 10;
	background: #efefef;
	top: 0;
	width: 100%;
	margin-bottom: 25px;
}
.explain-box a { float: right; }
.explain-box p { margin-bottom: initial!important; }
/*validation*/
.errors p:last-of-type { margin-bottom: 0px; }
.errors p:before {
	font-weight: 900;
	margin-right: 5px;
}
.errors p.success:before {
	font-family: "Font Awesome 5 Free";
	color:green;
	content: "\f00c";
}
.errors p.error:before {
	font-family: "Font Awesome 5 Free";
	color: red;
	content: "\f057";
}
.errors {
	margin-top: 15px;
	border: 3px solid red;
}
/*modal*/
.modal { display: none; }
.modal form { text-align: left!important; }
.modal-header { text-align: center!important; }
/*print*/
@media print {
	.tab-content { display: block!important; }
	.page-content { padding: 0!important; }
	h2 { margin: 0!important; }
	.footer-top { margin-top: 15px!important; }
	#performance-form form,
	.footer-bottom,
	.footer-top .container,
	.page-header,
	.page-content img,
	.page-content p,
	.masthead,
	.breadcrumbs,
	hr
	{ 
		display: none!important;
	}
}
/*mobile*/

@media screen and (max-width: 768px) {
	.chart { 
		height: 100%;
		width: 1200px;
		overflow-x: scroll;
	}
	::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 7px;
    }
    ::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background-color: rgba(0,0,0,.5);
        -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
    }
	.buttons { margin-top: initial!important; }
	.scroll { display: block!important; }
}

@media screen and (max-width: 600px) {
    .hpc-inputs label {
        text-align: center;
        width: 100%;
    }
}