﻿/* =============================================
*
*   PLUTOCALC
*
*   Daniel Brooke Peig for the Plutocalc application
*   http://www.danbp.org
*
*   Based in the RESPONSIVE NAV template
*   from @adtileHQ
*   http://www.adtile.me
*   http://twitter.com/adtilehq
*
*   Free to use under the MIT License.
*
* ============================================= */



/* ------------------------------------------
GENERAL STYLES
--------------------------------------------- */

html {
    overflow-y: scroll;
	-ms-overflow-style: scrollbar;
	min-width:320px;
}

body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li, hr,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section,
summary, hgroup {
margin: 0;
padding: 0;
border: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


body {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
	color: #37302a;
	background: #fff;
	font: normal 95%/1.2em sans-serif; /*normal 75%/1.4 sans-serif;*/
}

@media screen and (min-width: 1270px) {
	body {
		font: normal 100%/1.4 sans-serif;
	}
}

section {
	/*border-bottom: 1px solid #999;*/
	text-align: center;
	padding: 20px 0 0;
	min-height: 1024px; /*800px*/
	width: 100%;
	/*min-width: 400px;*/
}

@media print{
	section {
		border-bottom: 0px;
		min-height: 0px !important;
	}	
}

@media screen and (min-width: 1270px) {
	section {
	padding: 20px 0 0;
	font: normal 100%/1.4 sans-serif;
	}
}

a,
a:active{
border-style: none;
color: #990000;
border: 0px;
outline:none;
-webkit-tap-highlight-color: transparent;
}

img {border: none;}

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

h1 {
	margin-bottom: 1.0em;
	line-height: 1.2em;
	margin-right: 5px;
	margin left: 5px;
}

@media print{
	h1 {
display: none; !important;
	}
}

h2 {
	margin-top: 0.2em;
	margin-bottom: 0.3em;
}

h4{
	margin-left: 10px;
	margin-right: 10px;
}

p {
	width: 90%;
	margin: 0 20px auto;
}

/* ------------------------------------------
RESPONSIVE NAV STYLES
--------------------------------------------- */

.nav-collapse ul {
margin: 0;
padding: 0;
width: 100%;
display: block;
	list-style: none;
}

.nav-collapse li {
width: 100%;
display: block;
}

.js .nav-collapse {
clip: rect(0 0 0 0);
max-height: 0;
position: absolute;
display: block;
overflow: hidden;
zoom: 1;
}

.nav-collapse.opened {
	max-height: 9999px;
}

.disable-pointer-events {
	pointer-events: none !important;
}

.nav-toggle {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

@media screen and (min-width: 1270px) {
	.js .nav-collapse {
position: relative;
	}
	.js .nav-collapse.closed {
		max-height: none;
	}
	.nav-toggle {
display: none;
	}
}


/* ------------------------------------------
FIXED HEADER
--------------------------------------------- */

header {
	/*padding-top: 20px; /*Exclusive for iOS*/
	background: #D9230F;
	position: fixed;
	z-index: 3;
	width: 100%;
	left: 0;
	top: 0;
	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
	max-height: 100%;
	overflow-y: auto;
}

@media print{
	header {
display: none !important;
	}
}

.logo {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	text-decoration: none;
	font: 150% sans-serif;
	font-weight: bold;
	line-height: 40px; /*55px*/
	padding-left: 20px;
	color: #fff;
	float: left;
}

@media screen and (min-width: 1270px) {
.logo {
	padding-left: 25px;
	}
}

.logoimg {
padding-top: 4px;
float: left;
vertical-align: middle;
}

/* ------------------------------------------
TOOLBAR
--------------------------------------------- */

.toolbar {
	padding-left: 15px;
	padding-right: 0px;
	float: left;
}

@media screen and (min-width: 1270px) {
	.toolbar {
	padding-left: 25px;
	padding-right: 0px;
	}
}

.toolbar-button {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	transition: .2s ease-out;
	text-decoration: none;
	font: 150% sans-serif;
	font-weight: bold;
	line-height: 40px; /*55px*/
	color: #fff;
	padding-right: 20px;
}

.toolbar-right {
	padding-left: 25px;
	padding-right: 25px;
	float: left;
}

@media screen and (min-width: 1270px) {
	.toolbar-right {
	padding-left: 25px;
	padding-right: 25px;
	}
}


/* ------------------------------------------
MASK
--------------------------------------------- */

.mask {
	-webkit-transition: opacity 300ms;
	-moz-transition: opacity 300ms;
transition: opacity 300ms;
background: rgba(0,0,0, .5);
visibility: hidden;
position: fixed;
opacity: 0;
	z-index: 2;
bottom: 0;
right: 0;
left: 0;
top: 0;
}

@media print{
	.mask {
display: none; !important;
	}
}

.android .mask {
	-webkit-transition: none;
transition: none;
}

.js-nav-active .mask {
visibility: visible;
opacity: 1;
}

@media screen and (min-width: 1270px) {
	.mask {
display: none !important;
opacity: 0 !important;
	}
}


/* ------------------------------------------
NAVIGATION STYLES
--------------------------------------------- */

.fixed {
position: fixed;
width: 100%;
left: 0;
top: 0;
}

.nav-collapse,
.nav-collapse * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/*font: normal 110%/0.8em sans-serif;*/
	font-size: 105%;
	line-height: 1em;
}

.nav-collapse,
.nav-collapse ul {
	list-style: none;
width: 100%;
float: left;
}

@media screen and (min-width: 1270px) {
.nav-collapse,
.nav-collapse * {
	float: right;
	width: auto;
	/*font: normal 100%/0.8em sans-serif;*/
	font-size: 100%;
	line-height: 0.7em;
	}
}

.nav-collapse li {
	float: left;
	width: 100%;
}

@media screen and (min-width: 1270px) {
	.nav-collapse li {
width: auto;
	}
}

.nav-collapse a {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	border-top: 1px solid white;
	text-decoration: none;
	background: #D9230F;
	transition: .2s ease-out;
	padding: 0.4em 1em;/* Left value changes height and right changes width*/
	color: #fff;
	width: 100%;
	float: left;
}

.nav-collapse a:active,
.nav-collapse .active a {
background: #b73214;
}

.nav-collapse a:hover {
transition: .1s ease-out;
background: #990000;
}

@media screen and (min-width: 1270px) {
	.nav-collapse a {
		border-left: 1px solid white;
padding: 0.9em 0.6em; /* Left value changes height and right changes width*/
		text-align: center;
		border-top: 0;
float: left;
margin: 0;
	}
}

.nav-collapse ul ul a {
background: #ca3716;
	padding-left: 2em;
}

@media screen and (min-width: 1270px) {
	.nav-collapse ul ul a {
display: none;
	}
}


/* ------------------------------------------
NAV TOGGLE STYLES
--------------------------------------------- */

.nav-toggle {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: .2s ease-out;
	text-decoration: none;
	text-indent: -300px;
	position: relative;
	overflow: hidden;
	width: 60px;
	height: 40px;
	float: right;
}

.nav-toggle:before {
	color: #fff; /* Edit this to change the icon color */
	font: normal 28px/40px FontAwesome; /* Edit font-size (28px) to change the icon size */
	text-transform: none;
	text-align: center;
	position: absolute;
	content: "\f0c9"; /* Hamburger icon */
	text-indent: 0;
	speak: none;
	width: 100%;
	left: 0;
	top: 0;
}

.nav-toggle.active:before {
font-size: 28px;
content: "\f00d"; /* Close icon */
}

.nav-toggle.active:hover {
  transition: .2s ease-out;
  color: #ef9a9a;
}


/* ------------------------------------------
DANIEL BROOKE PEIG CUSTOMIZATIONS
--------------------------------------------- */
/*
#CCC;= Light Dark grey
#EEE; = Light Grey
#999; = Grey
*/

/*Input boxes*/
input[type="number"],input[type="text"],select, textarea {
	border-style:solid;
	border-color:grey;
	border-width:1px;
	border-radius:3px;
	margin-right:3px;
	margin-left:5px;
}

textarea {
	width: 100%;
}

input[type="number"],input[type="text"] {
	width: 60px;
} 

@media screen and (min-width: 1270px) {
	input[type="number"],input[type="text"] {
		width: 60px;
	} 
}

@media print{
	input[type="number"],input[type="text"], select {
		border:0px;
		border-radius:0px;
		margin-right:3px;
		text-align: right;
		background-color: transparent !important;
	}
	input[type="number"] {
		width: 100px;
	} 
}

/* Removes the (useless) spinner from the browsers */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
	-moz-appearance:textfield !important;
}

/* Removes the validation of auto-calculated fields no Mozilla */
input[type="number"]:invalid {
	-webkit-appearance: none;
	box-shadow: none !important;
	outline: none;
}

input[type="number"]:valid {
	-webkit-appearance: none;
	box-shadow: none !important;
	outline: none;
}

input.active {
	background-color: #D6EAFF;
} 

input.invalid {
	background-color: #FF704D;
}

input.normal {
	background-color: white;
}

input.required {
	background-color: #FFFF66;
}

input.requiredalt {
	background-color: #FFFFCC;
}

input.disabled {
	background-color: #DDDDDD;
}

/*Tables*/
table, th, td {
	text-align:left;
	padding-right:  0px;
	padding-left:  10px;
} 

p.small {
	font-size:small;
	text-align:center;
}

p.TextLeft
{
	font-size:normal;
	text-align:left;
}

p.alert
{
color:red;
	text-align:left;
}

div.alert
{
	color:red;
}

hr {
color: #999;
	background-color: #999;
height: 1px;
	margin-bottom: 10px;
}

#PlutocalcFooter {
display: none;
}

@media print {
	#PlutocalcFooter {
display: block;
padding: 10px;
font: normal 75%/1.4 sans-serif;
position: fixed;
bottom: 0;
	}
}

.internal_shortcut {
	/*display: none;*/
}

.internal_conversion {
	/*display: none;*/
}


@media print {
	.internal_shortcut {
display: none;
	}
	.internal_conversion{
	color: black;
	}
}

#LanguageBar {
	/*display: none;*/
}

@media print {
	#LanguageBar {
display: none;
	}
}

/* ------------------------------------------
SUBSCRIPT AND SUPERSCRIPT ADJUSTMENTS
--------------------------------------------- */

sub, sup {
	line-height: 0;
	font-size: 75%;
	position: relative;
	vertical-align: baseline;
}

sup {
top: -0.5em;
}

sub {
bottom: -0.25em;
}

/* ------------------------------------------
COLLAPSE PANEL SETTINGS
--------------------------------------------- */

/*Panel */
.panel, .panelcollapsed 
{
padding: 0px 0px 0px;
margin: 0px 0px 5px;
width: 100%;
}

@media screen and (min-width: 1270px) {
	.panel, .panelcollapsed 
	{
margin: 0px 0px 8px;
	}
}

@media print{
	.panel  {
		page-break-after  : avoid;
		page-break-before : always;
		page-break-inside : avoid;
	}
}


/*Panel heading */
.panel h2, .panelcollapsed h2 
{
	margin: 0px;
	padding: 0.5em;
	background-color: #EEE; 
	font-size: 105%;
}

.panel h2 i:before
{
	display: inline-block;
	font: normal normal normal 120% FontAwesome;
	text-rendering: auto;
    float: left;
	padding-left: 10px;
	margin-right: 5px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: "\f077";
}

@media screen and (min-width: 1270px) {
	.panel h2, .panelcollapsed h2 
	{
	font-size: 100%;
	padding: 0.15em;
	}
}

@media print{
	.panel h2 {
	display: inline !important;
	background: none;
	background-color: transparent !important;
	font-size: 150%;
	}
}

@media print{
	.panel h2 i  {
display: none !important;
	}
}

/*Panel heading on rollover */
.panel h2:hover, .panelcollapsed h2:hover { background-color: #CCC; }

/*Heading of a collapsed panel */
.panelcollapsed h2 
{
	transition: .2s ease-out;
	background-color: #EEE;
	border-color: #CCC;
}
.panelcollapsed i:before
{
	display: inline-block;
	font: normal normal normal 120% FontAwesome;
	text-rendering: auto;
    float: left;
	padding-left: 10px;
	margin-right: 5px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: "\f078";
}

@media screen and (min-width: 1270px) {
	.panel h2 i:before
	{
		padding-top: 0px;
	}
}

@media print{
	.panelcollapsed h2, .panelcollapsed h2 i {
display: none !important;
	}
}

/*Panel content - do not set borders or paddings */
.panelcontent 
{ 
overflow: hidden;
padding: 10px 0px 10px;
}

/*Collapsed panel content */
.panelcollapsed .panelcontent { display: none; }


/* ------------------------------------------
CUSTOM BUTTONS
--------------------------------------------- */

.plutobtn {
  
 text-decoration: none;
	color: #fff;
	background-color: #b71c1c;
	text-align: center;
	transition: .2s ease-out;
	cursor: pointer;
    border: none;
	-webkit-border-radius: 2;
	-moz-border-radius: 2;
    border-radius: 2px;
    display: inline-block;
    height: 15px;
    line-height: 15px;
    outline: 0;
	margin-top: 5px;
	padding: 6px 10px 6px 10px;
    vertical-align: middle;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
  
}

.plutobtn:hover {

  color: #ffffff;
  background: #ef9a9a;
  transition: .2s ease-out;

}

.hidden {
	display: none;
}

/* ------------------------------------------
UPGRADE BANNER
--------------------------------------------- */

#UpgradeReminder {
 background-color: #ffffbf;
 display: none;
}

@media print{
	#UpgradeReminder {
display: none !important;
	}
}

/* ------------------------------------------
FLOATING ACTION BUTTON
--------------------------------------------- */

.fab {
  outline: none;
  position: fixed;
  width: 56px;
  right: 20px;
  bottom: 20px;
  margin-left: -28px;
}

@media print{
	.fab {
display: none !important;
	}
}

.fab-buttons_show {
  opacity: 1 !important;
  visibility: visible !important;
}

.fab-buttons__link_show {
  transform: scaleY(1) scaleX(1) translateY(-16px) translateX(0px) !important;
}


.fab-action-button {
  position: absolute;
  bottom: 0;
  display: block;
  width: 56px;
  height: 56px;
  background-color: #D9230F;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

.fab-plus {
	display: inline-block;
	color: white;
    position: absolute;
    left: 0;
    right: 0;
	top: 2px;
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: 56px;
    font-size: 24px;
	text-decoration: none;
}

.fab-action-button_toggle {
  background-color: #990000;
  transition: 0.2s ease-out;
}

/*
.fab-action-button:hover {
  background-color: #ef9a9a;
  transition: 0.2s ease-out;
}
*/

.fab-buttons {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.1s;
}
		   
.fab-buttons__item {
  display: block;
  text-align: center;
  margin: 12px 0;
}

.fab-buttons__link {
  color: #37302a;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-decoration: none;
  background-color: #ccc;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); 
  transform: scaleY(0.5) scaleX(0.5) translateY(0px) translateX(0px);
  -moz-transition: .1s;
  -webkit-transition: .1s;
  -o-transition: .1s;
  transition: .1s;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

.fab-buttons__link:hover {
  background: #EEE;
  transition: .2s ease-out;
}

[data-tooltip]:before {
  top: 50%;
  margin-top: -11px;
  font-weight: 600;
  border-radius: 2px;
  background: #585858;
  color: #fff;
  content: attr(data-tooltip);
  font-size: 12px;
  text-decoration: none;
  visibility: hidden;
  opacity: 0;
  padding: 4px 7px;
  margin-right: 12px;
  position: absolute;
  transform: scale(0);
  right: 100%;
  white-space: nowrap;
  transform-origin: top right;
  transition: all .2s cubic-bezier(.25, .8, .25, 1);
}

[data-tooltip]:hover:before {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  transform-origin: right center 0;
}