/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}


/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Menu Styles
   ========================================================================== */

* {
  margin:0;
  padding:0;
  text-decoration:none
}

html {
    height: 100%;
    width: 100%; 
}
body {
  background: linear-gradient(#e53e17, #24222d);
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  color: #fff;
  overflow-x: hidden;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
a {
  color: #17BEE5;
  text-decoration: none;
}
a:hover {
  color: #e53e17;
}
.container {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  position: relative;
  transition: all 0.3s;
}
.menu-open {
  transform: translate(-230px, 0);
}
#nav {
  background: #24222d;
  text-align: center;
  margin: 0;
  padding: 15px 0;
  width: 100%;
}
#nav li {
  display: inline-block;
}
#nav li a {
  display: block;
  color: #fff;
  font-size: 1rem;
  padding: 10px 25px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.3s;
}
#nav li a:hover {
  border: 2px solid #fff;
}

/* Burger */
 .toggle {
  display: none;
  position: absolute;
  left: -55px;
  top: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px 15px 10px;
}

.toggle .bar1,
.toggle .bar2,
.toggle .bar3 {
  width: 25px;
  height: 2px;
  background: #FFF;
  margin-bottom: 8px;
  transition: all 0.6s;
}

/* Change it to an X */
#nav.open .toggle .bar1 {
  transform: rotate(45deg) translate(8px, 7px);
}
 #nav.open .toggle .bar2 {
  opacity: 0;
}
 #nav.open .toggle .bar3 {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ==========================================================================
   Custom Styles
   ========================================================================== */

#assetsLiabilities {
	margin-top: 50px;	
}

#portfolio, #apply, #plans, #monthlyIncome {
	float: right;
	margin-right: 20px;
}

#currentTransactions {
	margin-left: 20px;	
}

.paycheckTable {
	border-collapse:collapse;
	border-spacing:0;
	margin:0px auto;
}

.paycheckTable td {
	font-family:Arial, sans-serif;
	font-size:14px;
	padding:10px 5px;
	border-style:none;
	overflow:hidden;
	word-break:normal;
	background-color:#ffffff;
	color:#333333;
	text-align:left;
	vertical-align:top
}

.tg  {border-collapse:collapse;border-spacing:0;border-color:#C44D58;}
.tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:0px;overflow:hidden;word-break:normal;border-color:#C44D58;color:#002b36;background-color:#F9CDAD;}
.tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:0px;overflow:hidden;word-break:normal;border-color:#C44D58;color:#fdf6e3;background-color:#24222d;}
.tg .tg-ht7s{background-color:#FFA4A0;}

.submitButton {
	-moz-box-shadow:inset 0px 1px 0px 0px #f29c93;
	-webkit-box-shadow:inset 0px 1px 0px 0px #f29c93;
	box-shadow:inset 0px 1px 0px 0px #f29c93;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e53d17), color-stop(1, #ce0100));
	background:-moz-linear-gradient(top, #e53d17 5%, #ce0100 100%);
	background:-webkit-linear-gradient(top, #e53d17 5%, #ce0100 100%);
	background:-o-linear-gradient(top, #e53d17 5%, #ce0100 100%);
	background:-ms-linear-gradient(top, #e53d17 5%, #ce0100 100%);
	background:linear-gradient(to bottom, #e53d17 5%, #ce0100 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e53d17', endColorstr='#ce0100',GradientType=0);
	background-color:#e53d17;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #d83526;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #b23e35;
}
.submitButton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ce0100), color-stop(1, #e53d17));
	background:-moz-linear-gradient(top, #ce0100 5%, #e53d17 100%);
	background:-webkit-linear-gradient(top, #ce0100 5%, #e53d17 100%);
	background:-o-linear-gradient(top, #ce0100 5%, #e53d17 100%);
	background:-ms-linear-gradient(top, #ce0100 5%, #e53d17 100%);
	background:linear-gradient(to bottom, #ce0100 5%, #e53d17 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0100', endColorstr='#e53d17',GradientType=0);
	background-color:#ce0100;
	color: #fff;
}
.submitButton:active {
	position:relative;
	top:1px;
}

.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 25px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7; 
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none; 
  appearance: none;
  width: 25px; 
  height: 25px; 
  background: #e53e17;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #e53e17;
  cursor: pointer;
}

.checkCenter {
	text-align: center;
    vertical-align: middle;	
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

.left {
	float: left;	
}

.right {
	float: right;	
}

.centerText {
	text-align: center;	
}

.margin10 {
	margin-left: 10px;	
}

.margin20 {
	margin-left: 20px;	
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media (max-width: 768px) {
  body {
    min-width: 320px;
  }
  .toggle {
    display: block;
  }
  #nav {
    width: 230px;
    max-width: 480px;
    height: 100%;
    position: absolute;
    top: 0;
    right: -230px;
  }
  #nav li{
    display: block;
  }
  #nav li a:hover, #nav li a:focus {
    border-color: transparent;
    background: rgba(0, 0, 0, 0.5);
    color: #e53e17;
  }
  .paycheckTable {width: auto !important;}.paycheckTable col {width: auto !important;}.paycheckWrapper {overflow-x: auto;-webkit-overflow-scrolling: touch;margin: auto 0px;}
  
 .tg {width: auto !important;}.tg col {width: auto !important;}.tg-wrap {overflow-x: auto;-webkit-overflow-scrolling: touch;}
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

