body, pre {
    font-family: 'Jaldi', sans-serif;
    margin: 0px;
}

table {
    border-collapse: collapse;
}

h1, #login_form {
  margin-left: 10px;
}

#pageTop {
  background-color: rgb(244, 244, 132);
  padding: 8px;
}

#topTitle {
  margin: 4px;
}

/* Form Elements */
#id_salutation, #id_state {
  width: 50px;
}
#id_email, #id_email2, #id_jobtitle, #id_department, #id_website, #id_source {
  width: 300px;
}
#id_address1, #id_address2, #id_opportunityname {
  width: 400px;
}
label {
  display:block; 
  text-align:right;
  padding-right: 4px;
}

#id_deleted, #id_emailoptout {
  list-style-type: none;
  padding: 0px;
}

#id_deleted label, #id_emailoptout label {
  text-align: left;
}

/* Google Charts Filters */
.google-visualization-controls-categoryfilter li, .stage_button {
  border: 1px solid rgb(203, 207, 23) !important;
  background-color: #fff !important;
  color: #000 !important;
  border-radius: 6px !important;
  padding: 0 0.5em !important;
  font-size: .8em !important;
}

.google-visualization-controls-categoryfilter li .goog-link-button {
  color: #000 !important;
}

.google-visualization-controls-label {
  width: 80px;
}

.google-visualization-table-tr-sel {
  background-color: rgb(244, 244, 132) !important;
}

/* Stage Buttons */
.stage_button {
  display: inline-block;
  text-align: center;
}

.stage_button a {
  color:rgb(0, 0, 0);
  text-decoration: none;
}

.filter_div {
  border: 1px solid black;
  padding: 10px;
  display: inline-block;
}





/* Opportunity Notes */
#opportunity_notes_content {
  margin:auto; 
  width: 50%;
}

#opportunity_notes {
  width: 100%;
  height: 500px;
  border: 2px solid rgb(0, 0, 0);
  display: none; /* initially hidden */
}

.opportunity_note_item {
  border: 1px solid;
  padding: 10px;
  box-shadow: 2px 2px 2px 2px #888888;
  background-color: rgb(255, 255, 255);
  width: 100%;
  margin-bottom: 10px;
}

.opportunity_note_form_edit {
  display: none;
}

.opportunity_note {
  padding: 2px;
}

.note_ownerid, .note_dateentered {
  font-size: 10px; 
  text-align: right;
}

.edit_note_button, .edit_note_buttons {
  text-align: right; 
  margin-top: 5px;
}

#opportunity_notes_body {
  background-color:  rgb(244, 244, 132);
}

#id_description {
  width: 100%;
  height: 75px;
}


/* Nav */
/* Add a background color to the top navigation */
.topnav {
  background-color: #ffffff;
  overflow: hidden;
}
  
  /* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #000000;
  text-align: center;
  padding: 14px 6px;
  /* margin-left: 8px;
  margin-right: 8px; */
  text-decoration: none;
  font-size: 20px;
}

  /* Add an active class to highlight the current page */
  .active {
    background-color: rgb(244, 244, 132);
    color: rgb(0, 0, 0);
  }
  
  /* Hide the link that should open and close the topnav on small screens */
  .topnav .icon {
    display: none;
  }
  
  /* Dropdown container - needed to position the dropdown content */
  .dropdown {
    float: left;
    overflow: hidden;
  }
  
  /* Style the dropdown button to fit inside the topnav */
  .dropdown .dropbtn {
    font-size: 20px;
    border: none;
    outline: none;
    color: rgb(0, 0, 0);
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  /* Style the dropdown content (hidden by default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Style the links inside the dropdown */
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }

  /* different rollover color for the site icon */
  #siteIcon:hover {
    background-color: #fff;
  }
  
  /* Add a dark background on topnav links and the dropdown button on hover */
  .topnav a:hover, .dropdown:hover .dropbtn {
    background-color: rgb(244, 244, 132);
    color: rgb(0, 0, 0);
  }
  
  /* Add a grey background to dropdown links on hover */
  .dropdown-content a:hover {
    background-color: rgb(244, 244, 132);
    color: black;
  }
  
  /* Show the dropdown menu when the user moves the mouse over the dropdown button */
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  #siteIcon {
    padding: 0px;
    margin: 8px 8px 0px 8px;
  }

  /* When the screen is less than 650 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
  @media screen and (max-width: 650px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
      display: none;
    }
    .topnav a.icon {
      float: right;
      display: block;
    }
  }
  
  /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
  @media screen and (max-width: 650px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      width: 100%;
      text-align: left;
    }
  }