/* This file has all the styling we add */

/******************************************************************************/
/*            GENERAL STYLE OVERRIDES                                         */
/******************************************************************************/

body,html {
  margin: 0;
  padding: 0;
}

/******************************************************************************/
/*             Specific styling for major pieces                              */
/******************************************************************************/

/* it took forever to figure out the iframe was missing up stuff... */

iframe {
  border: none;
  margin: 0;
  padding: 0;
  display: block;
}

#app {
  box-sizing: border-box;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
}

#main-panel {
  height: 100%;
  width: 100%;
  display: flex;
}

#content-panel {
  box-sizing: border-box;
  margin-left: 16rem;
  flex-grow: 1;
  height: 100%;
  max-height: 100%;
}

#login-form-div {
  width: 25rem;
  padding-top: 30vh;
}

/******************************************************************************/
/*                         SIDEBAR STYLING                                    */
/******************************************************************************/


#sidebar {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 16rem;
  height: 100%;
  padding: 0 1rem 0 1rem;
  border-width: 1px;
  overflow-y: auto;
}

/* Don't let pieces of the sidebar shrink so they overlap each other */
#sidebar > div {
  flex: none;
}

#sidebar-gap {
  flex-grow: 1;
}

#sidebar-logo-div {
  margin-top: 2rem;
  position: relative;
  margin-bottom: 2rem;
}

.side-entry-toplevel {
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.25rem;
}

.side-entry-toplevel:hover {
  background-color: rgba(209, 213, 219, 1.0);
  font-weight: 700;
  color: #444;
  cursor: pointer;
}

.sidebar-icon {
  fill: currentColor;
  height: 2rem;
  width: 2rem;
}

.side-entry-toplevel span {
  font-size: 1.25rem;
  line-height: 2rem;
}

.side-entry-toplevel > div {
  gap: 0.25rem;
}

/******************************************************************************/
/*            DASHBOARD STYLE                                                 */
/******************************************************************************/

.dashboard-tile {
  border-radius: 0.5rem;
  background-color: rgba(219, 234, 254, 1.0);
  cursor: pointer;
}

.dashboard-tile:hover {
  background-color: rgba(30, 58, 138, 1.0);
}

.dashboard-tile:hover > div {
  color: whitesmoke;
}

/******************************************************************************/
/*            GENERAL STYLE OVERRIDES                                         */
/******************************************************************************/

/******************************************************************************/
/* utility classes taken from tailwind                                        */
/******************************************************************************/

.p-2 {
  padding: 0.5rem;
}

.ml-2 {
  margin-left: 2pt;
}

.mb-2 {
  margin-bottom: 2pt;
}

.appearance-none {
  appearance: none;
}

.m-auto {
  margin: auto;
}

.justify-end {
  justify-content: flex-end;
}

.overflow-auto {
  overflow: auto;
}

.flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-grow {
  flex-grow: 1;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}
.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}
.text-8xl {
  font-size: 6rem;
  line-height: 1;
}
.text-9xl {
  font-size: 8rem;
  line-height: 1;
}

.font-thin {
  font-weight: 100;
}
.font-extralight {
  font-weight: 200;
}
.font-light {
  font-weight: 300;
}
.font-normal {
  font-weight: 400;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.font-black {
  font-weight: 900;
}
