/* GENERAL */

body{
    background-color: ghostwhite;
    text-align: center;
    font-family: 'Yusei Magic', sans-serif;
}

div a{
  color: black;
}

h1 a {
  color: black;
  text-decoration: none;
}

/* HEADER */
/* BEFORE LOGGED IN */
.login{
    width: 80px;
    padding: 10px;
    margin-top: 5px;
    background-color: #4e83e6;
    border-radius: 4px;
    cursor: pointer;
}

.login a{
    color: white;
    text-decoration: none;
}

/*ONCE LOGGED IN  */

#userPic{
  border: 2px solid black;
  border-radius: 50%;
  font-size: 30px;
  padding: 15px;
  cursor: pointer;
}

#userMenu{
  display: none;
  width: 125px;
  background-color: rgb(240, 236, 236);
  padding: 10px;
  border-radius: 4px;
  position: fixed;
  top: 75px;
  right: 15px;
  z-index: 1;
}

#userMenu div{
  margin: 5px;
}

.active{
  color: rgb(63, 63, 170);
}


/* HOME PAGE */
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


/* INDEX PAGE */
/* FINANCE FORM */

label{
    font-size: 20px;
}

.data{
    text-align: center;
}

.row{
    padding: 10px 0px 10px 0px;
}

.positive{
    background-color: lightgreen;
}

.negative{
    background-color: #eb6a6a;
}

.neutral{
    background-color: lightskyblue;
}

#financeMsg{
  font-weight: bold;
}

/* HELP ICON */

#help{
    height: 75px;
    width: 75px;
    border-radius: 50%;
    background-color: #4e83e6;
    color: white;
    font-size: 45px;
    cursor: pointer;
    position: fixed;
    bottom: 40px;
    left: 15px;
}

#helpBox{
    display: none;
    height: 120px;
    width: 220px;
    background-color: rgb(240, 236, 236);
    padding: 10px;
    border-radius: 4px;
    position: fixed;
    bottom: 115px;
    left: 15px;
}


/* LOGIN & SIGN UP PAGE */
/* Style all input fields */
input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
  }
  
  /* Style the submit button */
  input[type=submit] {
    background-color: #4e83e6;
    color: white;
  }
  
  /* Style the container for inputs */
  .container {
    background-color: #f1f1f1;
    padding: 20px;
  }
  
  /* The message box is shown when the user clicks on the password field */
  #message {
    display:none;
    background: #f1f1f1;
    color: #000;
    position: relative;
    padding: 20px;
    margin-top: 10px;
  }
  
  #message p {
    padding: 10px 35px;
    font-size: 18px;
  }
  
  /* Add a green text color and a checkmark when the requirements are right */
  .valid {
    color: green;
  }
  
  .valid:before {
    position: relative;
    left: -35px;
    content: "✔";
  }
  
  /* Add a red text color and an "x" when the requirements are wrong */
  .invalid {
    color: red;
  }
  
  .invalid:before {
    position: relative;
    left: -35px;
    content: "✖";
  }

  #error{
    display: none;
  }

  #thanks{
  display: none;
}

/* MY FINANCES */

.barChart, .chartHead{
  background-color: white;
}

#chartDiv, #chartDiv2{
  height: 400px;
}

.expand{
  border: 1px solid black;
  border-radius: 50%;
  height: 55px;
  width: 55px;
}

#q1, #q2, #q3, #q4{
  cursor: pointer;
  border: 1px solid black;
}

#results1, #results2, #results3, #results4{
  display: none;
}

.monthHead{
  text-decoration: underline;
}

/* MY PROFILE */

.profileBox{
  width: 100%;
  padding: 12px;
  border: 2px solid black;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
}

.pswPadding{
  padding: 20.5px;
  font-size: 16px;
}

#show{
  width: 140px;
  padding: 10px;
  margin-top: 20px;
  background-color: #4e83e6;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.invisible{
  color:white;
}

.change{
  border: 2px solid black;
  border-radius: 50%;
  cursor: pointer;
  padding-bottom: 8px;
}