html,body{
    height: 100%;
    padding: 0;
    margin:0;
    touch-action: none;
    overscroll-behavior-x: none;
   
}


p{
    font-family: "Arial";
}


#canvas{
    display: flex;
    flex:1;
    touch-action: none;
    margin:0;
}

#BottomBar{
    display:flex;
    height:50px;
    background-color: #e8e8e8;
  
   
    align-items: center;
    padding-left: 10px;
    z-index: 2000;
    flex-shrink: 0;
    
}

#BottomBarEmptySpace{
    display:flex;
    height:50px;
    flex:1;
}



#MainMenu{
    display: none;
    left:9px;
    bottom:51px; 
    position: absolute; 
    width:350px;
    height:440px;
    background-color: white;
    border: 1px;
    border-color: black;
    border-style: solid;
    flex-direction: column;
  
  
    padding: 0px;
    z-index: 2100;
   
 
}

.MenuTitle{
    height:30px;
    font-size: 16px;
    display: flex;
    flex-shrink: 0;
}

.MainMenuItem{
    display: flex;
    width:270px;
    margin-left: 15px;
    flex-shrink: 0;
}

.MainMenuItemDiv{
    display: flex;
    height: 30px;
    width:270px;
    flex-shrink: 0;
    align-items: center;
}

label.TimelineLabel{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin-left: 10px;
    display: flex;
    flex-shrink: 0;
}

#HideYearsCheckbox{
    margin-left: 10px;
}

.JustCheckboxLabel{
    margin-left: 0px;
}

#ListOfFoldersContainer{
    cursor: default;
    display: none;
    right:9px;
    bottom:51px;
    position: absolute; 
    width:470px;
    height:440px;
    background-color: white;
    border: 1px;
    border-color: black;
    border-style: solid;
    flex-direction: column;
    padding:0;
    z-index: 2100;
}

#CommentContainer{
    display: none;
    position: absolute;
    background-color: white;
    border: 1px;
    border-color: black;
    border-style: solid;
  
    flex-direction: column;
    padding:0px;
   
    margin:0;
}

#CommentScrollableDiv{
    display: flex;
    flex-direction: column;
    flex:1;
    overflow-y:scroll;
    padding: 15px 15px 15px 15px;
}

#EditorContainer{
    cursor: default;
    display: none;
    right:490px;
    bottom:51px; 
    position: absolute; 
    width:750px;
    height:420px;
    background-color: white;
    border: 1px;
    border-color: black;
    border-style: solid;
    flex-direction: column;
    padding:0;
    z-index: 2100;
}

#ColorButton{
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 80px;
    margin-left:10px;
}

#ColorButtonTitle{
    color:white
}

div.FolderMenuHeader{
    border-bottom-width: 1px; 
    border-bottom-color: black; 
    border-bottom-style: solid; 
    display:flex; 
    min-height: 40px;
   
    align-items: center;
    margin:0;
    padding-left: 15px;
    padding-right: 10px;
    padding-top:5px;
    padding-bottom:5px;
}

.SpaceBetween{
    justify-content: space-between;
}

.ColorCircle{
    width:12px;
    height: 12px;
    border-radius: 6px;
    margin-right: 4px;
    flex-shrink: 0;
}


#TabsContainer{
    
    display:flex; 
    height: 30px;
   


    margin:0;
    
    
}

.TabDiv{
    display:flex; 
    flex: 1;
    align-items: center;
    justify-content: center;
    
}

.TabDivNotActive{
    border-bottom-width: 1px; 
    border-bottom-color: black; 
    border-bottom-style: solid; 
    background-color: #e8e8e8;
}

#ListOfFolders{
    background-color: white;
}

#ListOfRecents{
    background-color: white;
}

.SeparatorButton{
    display: flex;
    height: 20px;
    width: 100%;
    background-color: #5db5ee;
   
    align-self: center;
    flex-shrink: 0;
}

.SeparatorButton:hover{
    background-color: #1856cb;
}





#ListOfLayers{
    background-color: white;
}

div.menuHeader{
    border-bottom-width: 1px; 
    border-bottom-color: black; 
    border-bottom-style: solid; 
    display:flex; 
    height: 50px; 
    align-items: center;
    margin:0;
}

li{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
}

div.listRow{
    display: flex;
    width:100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
   
}



li.SectionItem{
    display:flex;
    
    border: 1px;
    background-color: transparent;
    justify-content: space-between;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    padding-bottom:7px;
    margin-left:15px;
    padding-right:10px;
    flex-shrink: 0;

}

li.LayerItem{
    display:flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    
    padding-bottom:7px;
    padding-left:15px;
    padding-right:10px;
    flex-shrink: 0;
}

li.WithMinHeight{
    min-height: 25px;
}

div.LayerItemNameContainer{
    display: flex;
    flex: 1;
    align-items: center;
    flex-direction: row;
}

#MainTitleDiv{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: bold;
    
    
    
}

#LayerMenuTitleDiv{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    padding-left:15px
}

.MenuCheckbox{
    margin-right: 5px;
    flex-shrink: 0;
}

.RecentsCheckbox{
    margin-right: 5px;
    flex-shrink: 0;
}




li.withSubList{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
ul.MenuScrollableList{
    overflow-y:scroll;
    display: flex;
    flex:1;
    flex-direction: column;
    padding:10px 0px 10px 0px;
   
    margin:0;
   
}
ul.subList{
    display: none;
    flex-direction: column;
}



button.MenuButton{
    margin-right:10px
}

div.MenuItemTextContainer{
    display:flex;
    flex:1;
   
    align-items: center;
}

a.SourceButton{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    margin-right:10px;
    margin-left:10px;
}


.EventPopup{
    overflow-y:scroll;
   
    flex-direction: column;
    padding:0px;
   
    margin:0;
    width: 150px;
    height: 200px;
    background-color: white;
    border: 1px;
    border-color: black;
    border-style: solid;
    position: absolute;
    top:200px;
    left:300px;
}

.EventPopupInnerDiv{
    
    display: flex;
    flex:1;
    flex-direction: column;
    padding:0px;
   
    margin:10px;

   
}

#SummaryPopup{
    display:flex;
   
    border: 1px;
    border-color: black;
    border-style: solid;
    position: absolute;
   
    background-color: white;
    flex-shrink: 0;
    overflow-y: hidden;
}

#SummaryPopupTextDivInHorizontalPopup{
    display:flex;
    flex:1;
    flex-direction: column;
    padding-left:10px;
    padding-right: 10px;
    

    
  
}

#SummaryPopupTextDivInVerticalPopup{
    display:flex;
    flex-direction: column;
    padding-left:10px;
    padding-right: 10px;
    width: '100%';
 
  
   

  
  
}

.SummaryPopupLink{
    display: flex;
    flex: 1;
    color:black;
    text-decoration: none;
}

.Vertical{
    flex-direction: column;
}



.PSummaryText{
   
    overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 12; /* number of lines to show */
   -webkit-box-orient: vertical;
}
