/* this is a file which defines CSS classes for the Shiny application. */


/* TODO from KR 2022-11-29 

    - font and heading hierarchies
    */

/* right-align navbar on desktop*/
@media screen and (min-width: 800px) {
  .navbar .nav {
  float: right;
}
  .navbar-brand {
    font-size: 1.5em;
  }
  
  body {
   font-size: 16px; 
  }
}

/* left-align navbar on mobile and tablet-ish */
@media screen and (max-width: 800px) {
  .navbar .nav {
  float: left;
}
.navbar-brand {
  font-size: 1.125em;
}

  body {
   font-size: 12px; 
  }

}

.container-fluid {
  padding: 0px;
  margin: 0px;
}

label {
    font-weight: 300;
    margin-bottom: 8px;
    padding-left: 0px;
}

.form-group {
    margin-bottom: 0px;
}

.row {
  margin-left: 15px;
  margin-right: 15px;
}

.col-sm-3, .col-sm-9, .col-sm-10, .col-sm-8, .col-sm-4, .col-sm-11, .col-sm-12 {
  padding-left: 0px;
}

/* Define the colors and border for the navigation bar at the top */
.navbar-default {
  /*position: fixed;*/
  background-color: #FFF;
  border-bottom: 1px solid #7F7F7F;
  font-weight: bold;
  /*font-size: 0.875em;*/
  font-size: 1.125rem;
  margin-bottom: 0px;
}

/* Define the font color and weight for when a navigation tab is hovered over */
.navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
  color: #ec712e;
  background-color: transparent;
  font-weight: bold;
}

/* Define the font color and weight for when a navigation tab is hovered over */
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: #ec712e;
  background-color: transparent;
  font-weight: bold;
}

/* Define the font color and weight for when the selected navigation tab (active tab) */
.navbar-default .navbar-nav>.active>a {
  color: #ec712e;
  background-color: transparent;
  padding-bottom: 2px;
  border-bottom: 2px solid #ec712e;
  font-weight: bold;
}


.navbar-default .navbar-nav>li>a {
  color: #7F7F7F;
  font-weight: bold;
  font-size: 1.125rem;
}

.nav {
  padding-left: 15px;
}

.navbar-nav {
    margin: 0px 0px;
}

.dropdown-menu {
  background-color: #FFF;
  font-size: 1.125rem;
}

.dropdown-menu>li>a {
  color: #7F7F7F;
  font-weight: 600;
}

.dropdown-menu>.active>a{
    background-color: #FFF;
    color: #ec712e;
    font-weight: bold;
    border-bottom: 2px solid #ec712e;
}

.dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
  background-color: #FFF;
  color: #ec712e;
  font-weight: bold;
}

.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
  background-color: #FFF;
  color: #ec712e;
  font-weight: bold;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
  
  color: white;
  background-color: #7F7F7F;
  font-family: 'Roboto', sans-serif;
}

.nav-pills > li > a{
  
  border: 0px;
  color: #7F7F7F;
  background-color: white;
  font-family: 'Roboto', sans-serif;
  /*padding: 5px 8px;*/
  /*width: 20vw;*/
  font-size: 12pt;
  font-weight: 600;
  border-radius: 0px;
}

.nav-pills>li+li {
    margin-left:6px;
}

/*html {
  position: relative;
  min-height: 100%; 
}*/

/* Define the background color for the whole app */
body {
  background-color: #FFF;
  /*margin-bottom: 36px; */
  overflow-x: hidden;
}

.footer1 {
  position: fixed;
  bottom: 0;
  height: 26px;
  width: 100%;
  background-color: white;
  color: black;
  z-index: 1000;
  border-top: 1px solid black;
}

.text-footer1 {
  padding-top: 5px;
  text-align: center;
  padding-bottom: 5px;
  font-size: 12px;
  font-family: 'Roboto Light', sans-serif;
  font-weight: bold;
  color: black;
}

.text-footer1 > a {
  color: #ec712e;
  font-weight:bold;
  text-decoration: underline;
}

/* Change font family throughout app */

html, body, h2, h3, h4, h5, h6, p {
  font-family: Roboto, sans-serif !important;
  margin-top: 0px;
}

h1, .h1 {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 300 !important;
  margin-top: 0px;
}

.navbar {
  position: sticky;
  top: 0px;
  z-index: 2000;
}

/* Change drop-down menu styling */
.bootstrap-select > .dropdown-toggle {
  /*color: #76376B;*/
  color: #000000;
  background-color: #FBE3D5;
  /*border-bottom: 2px solid #76376B;*/
  border-radius: 0px;
  border-left: 0px;
  border-top: 0px;
  border-right: 0px;
  border-bottom: 0px;
  font-weight: 800;
  font-size: 18px;
}


/* styling for actionButtons */
.btn-default {
  border-radius: 0px;
  background-color: #FBE3D5;
  color: #000000;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 0.875em;
}

.btn:hover, .btn:focus {
  text-decoration: underline;
  background-color: #F4B183;
  color: #000000;
}

a.action-button {
  /*font-size: 12pt;*/
  color: #FFF;
  font-weight: bold;
  padding-left: 10px;
  padding-right: 10px;
}

.methodology-link {
  padding-left: 0px !important;
}

a {
  font-weight: bold;
  color: #EC712E;
}

/* CSS for hover-over for reactables*/ 
/* CSS for reactable tooltip on main page */             

[datatitle] {
    position: relative;
    overflow: visible !important;
}

[datatitle]:after {
    content: attr(datatitle);
    background-color: #FBE3D5;
    color: black;
    /*font-size: 80%; */
    font-family: "Roboto", sans-serif;
    /*width:120px; */
    height:max-content;
    padding: 2px 5px 2px 5px;
    /*bottom: -1em;*/
      /*border: 1px solid #eb702d;
      border-radius: 2px; */
    top: 100%;
    position: absolute;
    z-index: 99999 !important;
    visibility: hidden;
    text-align: left;
    white-space: pre-line;
  box-shadow: rgb(235 112 46 / 15%) 1.95px 1.95px 2.6px;
}

/*[datatitle]:hover {
  background-color:#c0efd8;
}*/

/** > [datatitle] { background: black; }*/
  
[datatitle]:hover > div > div > div {
  /*border:2px solid black; */
}

[datatitle]:hover > div > div {
  font-weight: 700;
}

[datatitle]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.2s;
    visibility: visible;
}

.Reactable, .ReactTable, .rt-td, .rt-tr, .rt-table {
  overflow: visible !important; 
  
}

.Reactable .rt-table {
  overflow: visible !important; 
} 

.Reactable .rt-td-inner {
  overflow: visible !important;
} 

.rt-td-inner {
   padding-left: 8px;
   padding-top: 4px;
   padding-bottom: 4px;
}

.bar-cell {
  display: flex;
  align-items: center;
}

.number {
  font-family: "Roboto", sans-serif;
  font-size: 13.5px;
  white-space: pre;
  text-align:right;
}

.bar-chart {
  flex-grow: 1;
  margin-left: 6px;
  height: 14px;
}

.bar {
  height: 100%;
}

.orangebox {
  background-color: #FBE3D5;
}

.homecard-background {
  background-color: #E7E6E6;
  margin: 0px;
  padding: 15px;
}

.homedetails-background {
  background-color: #767171;
  margin: 0px;
  padding: 25px;
  color: white;
}

.homepagebox {
  background-size: 140px; 
  background-repeat: no-repeat;
  background-position: center;
  height: 150px; 
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.homepagecard {
  background-color: white;
  height: 100px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  margin-bottom: 10px;
  /*justify-content: center; */
}

.stickyheader {
  position: sticky;
  top: 50px;
  z-index: 1000;
  background-color: #F3F3F3
}


/* boxes */


.box.box-solid.box-primary>.box-header {
color: #000;
background: #dfb9d9; 
padding: 5px;
border-radius: 5px;

}

.box.box-solid.box-info>.box-header {

color: #000;
background: #b4e4d7; 
padding: 5px;
border-radius: 5px;
}

.box.box-solid.box-success>.box-header {
color: #000;
background: #bcd2dc;
padding: 5px;
border-radius: 5px;

} 


.box.box-solid.box-primary, .box.box-solid.box-info, .box.box-solid.box-success {
border: 0px;
border-radius: 5px;
background:#ffffff;
box-shadow: none;
}



.box-title {
  font-size: 1.25em;
}

.box.box-solid.box-primary>.box-header .btn, .box.box-solid.box-primary>.box-header a, 
.box.box-solid.box-info>.box-header .btn, .box.box-solid.box-info>.box-header a,
.box.box-solid.box-success>.box-header .btn, .box.box-solid.box-success>.box-header a{
  background-color: #7f7f7f;
  border-radius: 50%;
  color: #FFF;
}

.box-header>.box-tools {
  top: -4px;
  height: 50px;
}

.btn-box-tool {
  padding: 10px 12px;
}

.fa-solid, .fas {
  font-size: 18px;
} 

.herotext {
  /*font-size: 3em;*/
  font-weight: 300;
  text-align: center;
  margin-left: 10vw;
  margin-right: 10vw;
  color: black;
  padding-top: 24px;
}

.chartcard {
  background-color: #FFF;
  border-radius: 5px;
  border: 1px solid black;
  box-shadow: 0px 4px 8px 2px #999999;
  padding: 20px;
  padding-left: 15px;
  padding-right:15px;
  /*margin-top: 20px;
  margin-bottom: 20px;*/
  margin-left: -5px;
  margin-top: 10px;
  margin-right: 10px;
  
}


.selflink {
  width: 25%; 
  background-color: #F4B183;
  color: black;
  display: flex; 
  justify-content: center; 
  align-items: center; 
  /*border-right: 2px solid #000000; */
  border: 1px solid black;
  padding: 24px 0px;
  height: 65px;
}

.selflink a {
  color: black;
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 90%;
  /*display: flex; 
  justify-content: center; 
  align-items: center; */
  text-align: center;
}
.selflink a:hover, .selflink a:focus {
  color: black;
  text-decoration: underline;
}


.otherlink {
  width: 25%; 
  background-color: white; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  border: 1px solid #000000; 
  padding: 24px 0px;
  height: 65px;
}

.otherlink a {
  color: #000000;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 90%;
  /*display: flex; 
  justify-content: center; 
  align-items: center; */
  text-align: center;
}

.otherlink:hover, .otherlink:focus {
  background-color: #FBE5D6;
  color: black;
}

.d1link:hover a{
  /*background-color: #074480; */
  color: black;
}

.d1link a:hover, .d1link a:focus{
  color: black;
  text-decoration: underline;
}

.about-link {
  padding-left: 0px !important;
  color: white;
}

.ggiraph-svg{
  margin-left: 0px;
}

#gss_barbell, #ncvs_barbell, #ppcs_barbell {
  max-width: 800px;
}

#compare_group_graph {
  max-width: 500px;
}

