nav {
    text-align: center;
    font-size: smaller;
    background-color: var(--nav_menu);
    border: 1px solid #E9E7E2;
    /* color: #eeeeee; */
    /* min-height: 808px; */
    min-height: 100%;
    height: 100lvh;
}

body {
    font-family: Poppins-Light;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 182px auto;
    box-sizing: border-box;
    color: var(--body_text);
}

p {
    font-family: Poppins-Light;
}

.standard_page
{
    margin: 33px;
}

.error_message
{
    text-align: center;
    font-family: Poppins-Light;
    color: var(--warning-text);
    font-weight: 600;
}

.centered_div
{
    width: 100%;
    display: flex;
    text-align: center;
    /* background-color: aqua; */
    flex-direction: column;
    /* Stack divs vertically */
    align-items: center;
}

.hidden
{
    display: none;
}

.showing
{
    display:"";
}

.button_div
{
    height: 100px;
    padding-top: 30px;
}

.primary_button
{
    background-color:var(--active_button);
    color: var(--active_button_text);
    border-radius: 6px;
    border: none;
    padding: 6px 12px;
    font-family: Poppins;
    /* font-weight: bold; */
    height: 50px;
    width: 160px;
    font-size:large;
    opacity: 1;
    cursor: grab;
    
    /* font-variant: Medium; */
    /* font-size:small; */
}

.secondary_button
{
    background-color:var(--action_button);
    color: var(--active_button_text);
    border-radius: 6px;
    border: none;
    padding: 5px 5px;
    font-family: Poppins-Light;
    height: 30px;
    min-width: 100px;
    /* font-size:light; */
}

.small_button
{
    background-color:var(--action_button);
    color: var(--active_button_text);
    border-radius: 4px;
    border: none;
    padding: 3px 3px;
    font-family: Poppins-Light;
    height: 24px;
    width: 40px;
    margin: 2px;
    /* font-size:light; */
}

.create_button
{
    margin-top: 10px;
    margin-bottom: 10px;
}

.page_title
{
    color: var(--primary);
    font-family: Poppins-Bold; 
    font-size:24px;
}

.right_text
{
    text-align: right;
}

.left_text
{
    text-align: left;
}

.center_text
{
    text-align: center;
}

.heading {
    font-family: Poppins-Bold;
}

.form_field {
    font-family: Poppins-Light;
    /* width: 100%; */
    /* border: 1; */
    border: 0.5px solid var(--form_field);
    outline: 0;
    font-size: 14px;
    color: var(--body_text);
    padding: .3em 0.2em .3em 0.2em;
    /* background: transparent; */
    /* transition: border-color 0.2s; */
    text-align: left;
    border-radius: .5em;
}

.form_field_small {
    font-family: Poppins-Light;
    width: 120px;
    /* border: 1; */
    border: 0.5px solid var(--form_field);
    outline: 0;
    font-size: 14px;
    color: var(--body_text);
    padding: .3em 0.2em .3em 0.2em;
    /* background: transparent; */
    /* transition: border-color 0.2s; */
    text-align: left;
    border-radius: .5em;
}


.date_field {
    font-family: Poppins-Light;
    /* width: 100%; */
    /* border: 1; */
    border: 0.5px solid var(--form_field);
    outline: 0;
    font-size: 14px;
    color: var(--body_text);
    padding: .3em 0.2em .3em 0.2em;
    /* background: transparent; */
    /* transition: border-color 0.2s; */
    text-align: left;
    border-radius: .5em;
}


.form_textarea {
    font-family: Poppins-Light;
    border: 0.5px solid var(--form_field);
    border-radius: .5em;
    margin-bottom: -6px;
}

.longtext 
{
    height: 80px;
    width: 400px;
}

.form_fileupload {
    font-family: Poppins-Light;
    /* border: 0.5px solid var(--form_field); */
    border-radius: .5em;
    padding: 6px 0px;
    cursor: pointer;
}

input[type=file]::file-selector-button {
    border: 2px solid var(--off-white);
    padding-top: 3px;
    padding-bottom: 3px;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: .5em;
    background-color: var(--primary);
    transition: 1s;
    color: var(--off-white);
  }

.select-box {
    /* display: block; */ /* removed due to learning categories */
    font-size: small;
    font-family: Poppins-Light;
    font-size: 14px;
    color: #444;
    line-height: 1;
    /* background-color: var(--secondary); */
    /* padding: .6em 1.4em .5em .8em; */
    padding: .3em 0.2em .3em 0.2em;
    /* width: 66%; */
    /*max-width: 280px; */ /* useful when width is set to anything other than 100% */
    box-sizing: border-box;
    margin: 0;
    border: 1px solid var(--form_field);
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: .5em;
    min-width: 120px;
}

/* .select-box:selection {
    background: var(--secondary);
} */

/* Styling for sliding toggle */
.switch {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 45px;
    height: 24px;
  }
  
  .switch input { 
    opacity: 0;
  }
  
  /* creates slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e56966;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  /* creates inner circle */
  .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  /* changes colour when slider is moved */
  input:checked + .slider {
    background-color: #ccff33;
  }
  
  /* allows slider to actually move */
  input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
  }
  
  /* Rounded sliders - needed to create round shape */
  /* creates rounded outer box */
  .slider.round {
    border-radius: 34px;
  }
  /* creates rounded inner switch */
  .slider.round:before {
    border-radius: 50%;
  }

  .sliderLabel
  {
    font-size: small;
  }

.active_nav {
    background-color: var(--secondary);
    border: 0.5px solid var(--primary);
    color: var(--off-white);
    border-radius: 15px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-left: 3px;
    min-width: 60px;
    font-size: small;
    text-align: center;
}

.inactive_nav {
    background-color: var(--off-white);
    border: 0.5px solid var(--secondary);
    color: var(--secondary);
    border-radius: 15px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-left: 3px;
    min-width: 60px;
    font-size: small;
    text-align: center;
}

.action_strip {
    display: flex;
    justify-content: flex-end;
    width: 80%;
}

.field_changed
{
    color: crimson;
}

.list_row
{
    text-align: left;
}

.list_row:hover
{
    text-align: left;
    background-color: var(--secondary);
    opacity: 0.33;
    /* color: var(--off-white) */
}
