html {
    height: 100vh;
}

body {
    color: #adb5bd;
    background-color: #181818;
    margin: 0px;
    height: 100%;
}

/*
==============================
login_stuff 
==============================
*/
#loading_overlay{
	background-color: rgb(156, 108, 4);
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0px;
}

#login_overlay{
    display: none;
	background-color: rgb(97, 6, 6);
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0px;
    z-index: 100;
}

/*
==============================
main layout 
==============================
*/
#maincontainer {
    height: 100%;
    display: grid;
    grid-template-rows: 5vh 95vh;
    grid-template-columns: 1fr;
    /*gap: 2em;*/
}

#content {
    height: 100%;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    display: grid;
    grid-template-columns: 3fr 7fr 2fr;
    grid-template-rows: 100%;
}

#project_nav {
    height: 100%;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    display: grid;
    grid-template-rows: 10fr 85fr 5fr;
    background-color: #1a1a1a ;
}

#entries_nav {
    height: 100%;
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    display: grid;
    grid-template-rows: 10fr 85fr 5fr;
    background-color: #1a1a1a ;
    border-left: 0.5em solid #181818;
}

#info_nav {
    height: 100%;
    grid-row: 1 / 2;
    grid-column: 3 / 4;
    background-color: #1a1a1a ;
    border-left: 0.5em solid #181818;
}

#projects {
    height: 100%;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    border-bottom: 0.5em solid #181818;
}

#lists {
    height: 100%;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    overflow-y: auto;
}

#newListPlaceholder{
    height: 100%;
    grid-row: 3 / 4;
    grid-column: 1 / 2;
}

#newListInput{
    height: -webkit-fill-available;
    width: -webkit-fill-available;
}
/*
#lists > div:hover{
    background-color: #3b3e45;
}

.selected_list {
    background-color: #2652b9;
}
*/
#list_info {
    height: 100%;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    border-bottom: 0.5em solid #181818;
}

#entries {
    height: 100%;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    overflow-y: auto;
}

#newEntryPlaceholder{
    height: 100%;
    grid-row: 3 / 4;
    grid-column: 1 / 2;
}

#newEntryInput{
    height: -webkit-fill-available;
    width: -webkit-fill-available;
}

/*
==============================
project_select_popup 
==============================
*/
#project_select_popup{
    position: fixed;
    top: 20vh;
    bottom: 20vh;
    left: 15vw;
    right: 15vw;

    background-color: #17191c;
    border: 3px solid #da3636;
    z-index: 9;
    display: none;
    grid-template-rows: 90% 10%;
    grid-template-columns: 30% 70%;
}

#pro_pop_projects{
    grid-area: 1/1/2/2;
    display: grid;
    grid-auto-rows: 20px;
    border-right: 1px solid black;
}

#pro_pop_projects > div:hover {
    background-color: #393e47;
  }

#pro_pop_properties{
    grid-area: 1/2/2/3;
}

#pro_pop_buttons{
    grid-area: 2/1/3/3;
    display: grid;
    grid-template-columns: 50% 50%;
    border-top: 1px solid black;
}

/*
==============================
tree
==============================
*/
.yy-tree{
    height: 100%;
}

.yy-tree-content {
    display: flex;
    align-items: center;
}

.yy-tree-expand {
    width: 15px;
    height: 15px;
}

.yy-tree-name {
    padding: 0.5em 1em;
    margin: 0.1em;
    background: #202020;
    user-select: none;
    cursor: pointer;
    width: 100%;
}

.yy-tree-indicator {
    background: rgb(150,150,255);
    height: 5px;
    width: 100px;
    padding: 0 1em;
}

.yy-tree-select {
    background: #2e2e2e;
}

.yy-tree-namearea {
    display: flex;
    align-items: center;
}



/*
==============================
Navbar
==============================
*/
.navbar {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    /*overflow: hidden;*/
    background-color: #333;
    font-family: Arial;
  }
  
  /* Links inside the navbar */
  .navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  /* The dropdown container */
  .dropdown {
    float: left;
    overflow: hidden;
  }
  
  /* Dropdown button */
  .dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
  }
  
  /* Add a red background color to navbar links on hover */
  .navbar a:hover, .dropdown:hover .dropbtn {
    background-color: red;
  }
  
  /* Dropdown content (hidden by default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  /* Add a grey background color to dropdown links on hover */
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }

.active{
    background-color:  rgb(60, 122, 45);
  }

  /*
==============================
Rightclick Menu
==============================
*/
  #context-menu {
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(37, 40, 42, 0.22);
    color: #1f194c;
    width: 10em;
    padding: 0.8em 0.6em;
    font-size: 1.3rem;
    position: fixed;
    visibility: hidden;
   }
   
   .item {
    padding: 0.3em 1.2em;
   }
   
   .item:hover {
    background-color: rgba(44, 141, 247, 0.2);
    cursor: pointer;
   }