*, *::before, *::after {
  box-sizing: border-box;
  line-height: 1.5em;
  font-family: Arial;
}

html {
font-size: 16px;
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%;
}

body {
background: ffffff;
font-size: 12px;
font-family: Arial;
margin: 0;
}

h1 {
font-size: 18px;
}

h2 {
margin-top: 20px;
font-size: 16px;
}

table {
align: left;
margin-top: 20px;
border: 0px solid black;
border-spacing: 0;
border-collapse: collapse;
empty-cells: show;
}

td {
border: 0px solid black;
text-align:center;
}

tr.odd td{
background-color: #F5F5F5;
}

.desc_short {	
font-weight: bold;
}

.desc_med {
font-weight: bold;
}

.section {
margin-top: 20px;
}
.section_name {	
font-weight: bold;
font-style: italic;
}

.table_header {
font-weight: bold;
font-style: italic;
text-align: left;

}

.big_table_header {
font-weight: bold;
font-style: italic;
text-align: left;
background-color: #DFDFDF;
}

.big_table_header_yield {
font-weight: bold;
font-style: italic;
text-align: center;
background-color: #DFDFDF;
}

.table_footer {
font-style: italic;
text-align: left;
}
.rowtitle {
text-align: left;
}
.pct {
text-align: right;
padding-right: 20px;
}
.graph {
font-weight:bold;
font-style: italic;
margin-top:20px;
}

.graph_legend {
font-weight:bold;
font-style: normal;
margin-left:30px;
}

.circle {
font-size: 24px;
}

.scatterplot_first{ 
width: 220px;
height: 220px;	
}

.scatterplot{ 
width: 220px;
height: 220px;
margin-left: -20px;
}

.scatterplot_cover { 						
display:inline-block;
position: relative;
}

div .smiling_face_first {
position:absolute;
top: 35px;
left: 35px;
width: 8%;
height: 8%;
z-index: 10;
background-image:url("../img/smiling_face.svg");
background-repeat: no-repeat;
}	

div .smiling_face {
position:absolute;
top: 43px;
left: 25px;
width: 7%;
height: 7%;
z-index: -1;
background-image:url("../img/smiling_face.svg");
background-repeat: no-repeat;
}

div .frowning_face_first {
position:absolute;
top: 168px;
left: 170px;
width: 8%;
height: 8%;
z-index: 10;
background-image:url("../img/frowning_face.svg");
background-repeat: no-repeat;
}

div .frowning_face {
position:absolute;
top: 164px;
left: 143px;
width: 7%;
height: 7%;
z-index: -1;
background-image:url("../img/frowning_face.svg");
background-repeat: no-repeat;
}

div .try_text  {
text-align: center;
font-weight: normal;
font-style: normal;
position:absolute;
top: 80px;
left: 50px;
z-index: 10;
}

span.tickername {
padding-left: 3px;
padding-right: 10px;
}

.superscript {
vertical-align: super;
font-size: 70%;
}

table.tablesorter thead tr .header {
background-image: url("../img/bg.gif");
background-repeat: no-repeat;
background-position: center right;
cursor: pointer;
background-color: #DFDFDF;
}

table.tablesorter thead tr .headerSortUp {
background-image: url("../img/asc.gif");
}
table.tablesorter thead tr .headerSortDown {
background-image: url("../img/desc.gif");
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}

.lnk a:link {
color: #73787f;
text-decoration: none;
}
.lnk a:hover {
color: #214b9f;
}

.content {
padding: 10px 20px;
}

.footer {
margin-top: 20px;
margin-bottom: 10px;
}

.subHeader {
padding: 20px 20px 0 20px;
}

.subHeader button {
width: 200px;
height: 30px;
border: none;
cursor: pointer;
}

.activeRecipe, .btnRecipe:hover {
background-color: #5e813f;
color: white;
}

.activeIngredient, .btnIngredient:hover {
background-color: #224a9f;
color: white;
}
 
.activeVanguard, .btnVanguard:hover {
  background-color: #982222;
  color: white;
  }
  
  .activeFidelity, .btnFidelity:hover {
  background-color: #0e5414;
  color: white;
  }

  .activeIshares, .btnIshares:hover {
    background-color: #2688b5;
    color: white;
    }
    
    .activeAmerican, .btnAmerican:hover {
    background-color: #05225f;
    color: white;
    }
 
.lnk button{
border: none;
cursor: pointer;
background-color: #b9bbbf;
padding: 7px;
border-radius: 7px;
}

.lnk button:hover {
background-color: #73787f;
}


/* NAVBAR */

.navbar-header {
  background: #b9bbbf;
}

.navbar {
  min-height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  position: relative;
}

.logo {
  height: 40px;
  margin-right: auto;
}

.user-pic {
  height: 30px;
  cursor: pointer;
  margin-left: 30px;
  margin-right: 20px;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: left;
  gap: 25px;
}

.nav-item {
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: black;
  font-size: 14px;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: black;
}

.sub-menu-wrap {
  position: absolute;
  top: 98%;
  right: 1%;
  width: 120px;
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.3s;
  border: 0.5px solid #b9bbbf;
  border-radius: 3%;
}

.sub-menu-wrap.open-menu {
  max-height: 90px;
}

.sub-menu {
  background: white;
  padding: 5px 20px;
}

.sub-menu-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: black;
  margin: 10px 0;
}

/* UPGRADE BANNER */
.upgrade_ads {
  position: relative;
  display: inline-block;
}
.upgrade_ads .banner_active {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}
.upgrade_ads:hover .banner_active {
  display: inline;
}

.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 8px 12px;
  border-radius: 5px;
  max-width: 900px;
  background-image: linear-gradient(to right, #14579a, #85b5ff);
  color: white;
}

.banner h2 {
  font-size: 15px;
  margin: 0;
  font-family: roboto slab;
}

.banner p {
  margin: 10px 0 0;
  font-family: roboto;
}

.banner_button {
  margin-left: auto;
  padding: 10px 10px 10px 40px;
}

.banner_button button {
  width: 160px;
  border-radius: 5px;
  border: none;
  height: 30px;
  background-color: #67a025;
  color: white;
  font-weight: 700;
  font-size: 15px;
}

.banner_link {
  text-decoration: none;
  color: white;
}

.banner_content:hover ~ .banner_button button {
  background-color: #42611e;
}

.banner_button:hover button {
  background-color: #42611e;
}

div .expand_svg {
  position: absolute;
  top: 15px;
  left: 145px;
  width: 7%;
  height: 7%;
  z-index: 1;
  background-image: url(../img/expand.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: #d3d3d3d6;
  border-radius: 3px;
}

.expand_svg:hover {
  transform: scale(1.2);
}

/* UPGRADE BANNER */

@media(max-width: 768px) {
  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 48px;
    gap: 0;
    flex-direction: column;
    background-color: #888c92;
    width: 100%;
    text-align: left;
    transition: 0.1s;
  }

  .nav-item {
    margin: 16px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
  font-size: 15px;
}
}