body
{
    background-color: floralwhite;
    font-family: Calibri, system-ui;
    margin: 0px;
}

.area-btn,
.area-hdr,
.area-hdr-note,
.area-btn-add-note,
.element,
.dialog-button,
.element-indented
{
    background-color: lightgray;
    padding: 10px;
    margin: 20px;
}

.area-hdr
{
    background-color: black;
    color: white;
    text-transform: uppercase;
	font-weight: bold;
}

.area-hdr-note
{
    background-color: lightgreen;
    color: black;
}

.area-btn-add-note
{
    background-color: white;
    margin: 0px;
    display: flex;
    box-shadow: 0 0 2px 1px gray;
    cursor: pointer;
}

.dialog-button
{
    flex: 1;
    text-align: center;
    display: block;
    font-family: system-ui;
    cursor: pointer;
    width: fit-content;
    font-size: small;
    padding: 5px;
    border: 1px solid gray;
    border-radius: 10px;
    margin-right: 10px;
    background-color: lightblue;
    box-shadow: 0 0 5px;
    margin: 20px;
}

.add-note-icon
{
    flex: 1;
    margin: auto;
    text-align: center;
}

.add-note-text
{
    flex: 6;
	margin: auto;
}

.area
{
    flex: 1;
}

.element, .element-indented
{
    display : block;
}

.element-indented
{
	margin-left: 50px;
}

.element-hdr
{
    font-size: .85em;      
    border-bottom: 1px solid gray;      
    margin-bottom: .5em;  
}

.note
{
	background-color: white;
}

.section-hdr
{
	font-weight: bold;
    background-color: transparent;
    margin-bottom: 5%;
    color: white;
    text-transform: uppercase;
}

.area-progress
{
    color: green;
    font-weight: bold;
}

.menu-active
{
    left: 0px;
    transition: left .5s ease;
}

.status-bar-container
{
    color: white;
    position: fixed;
    background: cadetblue;
    width: 100%;
    padding-left: 10px;
    top: 0;
    margin-left: -8px;
    display: flex;
    z-index: 2;
}

.menu-button
{
    font-size: large;
    color: cadetblue;
    position: absolute;
    top: 0px;
    z-index: 1;
    background: white;
    border-radius: 5px;
    margin-top: 10px;
    margin-left: 10px;
    padding: 2px;
    cursor: pointer;
}

.status-bar
{
    color: white;
    font-weight: bold;
    font-family: system-ui;
    margin: auto;
    margin-left: 10px;
    font-size: 4vw;
    flex: 1;
}

.main-container
{
    width: 95%;
    margin: auto;
    font-size: 4vw;
    margin-top: 9%;
}

@media (max-width:480px)
{
    .menu-button
    {
        font-size: 10vw;
    }

    .status-bar
    {
        font-size: 5vw;
    }

    .main-container
    {
        margin-top: 12%;
    }
}

.fade-in
{
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: .25s;
}

@keyframes fadeInOpacity
{
    0%
    {
        opacity: 0;
    }

    100%
    {
        opacity: 1;
    }
}

.add-notes-container
{
    display: grid;
    gap: 10px;
    padding: 10px;
    background-color: gold;
    margin: 10px;
    box-shadow: 0 0 2px 1px;
}

#cfr-chooser, #tag-editor
{
    background-color: #444;
    opacity: 1;
    position: relative;
    color: black;
    z-index: 201;
    top: 25%;
    height: fit-content;
    width: 50%;
    text-align: center;
    margin: auto;
    border-radius: 5px;
}

#cfr-chooser
{
    background-color: #444;
    opacity: 1;
    position: relative;
    z-index: 201;
    top: 25%;
    height: fit-content;
    width: 50%;
    text-align: center;
    margin: auto;
    border-radius: 5px;
    background-size: 20px 20px;
    box-shadow: 0 0 10px 5px;
}

option {
    color: lawngreen;
    background-color: black;
}

#notepad
{
    opacity: 1;
    color: black;
    z-index: 201;
    height: 100%;
    width: 50%;
    text-align: center;
    margin: auto;
    border-radius: 5px;
    background: repeating-linear-gradient(to bottom, transparent 1px, lightblue 200px);
    background-size: 20px 30px;
    position: absolute;
    left: 25%;
    background-color: lightyellow;
    box-shadow: 0 0 5px 2px;
    display: flex;
    flex-direction: column;
}

#notepad-header
{
    font-family: system-ui;
    color: black;
    background-color: gainsboro;
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-weight: bold;
    background: linear-gradient(180deg, lightgray, gray);
    font-size: small;
}

#notepad-div
{
    resize: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    background-color: transparent;
    border: none;
    outline: none;
    text-align: left;
    margin-left: 4rem;
    margin-right: 4rem;
    border-left: 1px solid red;
    padding: 10px;
    overflow-y: auto;
    flex: 1;
}

.notepad-button
{
    flex: 1;
    text-align: center;
    display: block;
    font-family: system-ui;
    cursor: pointer;
    border: 1px solid gray;
    width: fit-content;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    margin-right: 10px;
    background-color: lightblue;
    box-shadow: 0 0 5px;
    font-size: small;
    margin: 20px
}

.notepad-button:hover, .dialog-button:hover
{
  background-color: lightgreen;
  box-shadow: 0 0 5px 2px;
  color: blueviolet;
}

#notepad-textarea, #tag-editor-textarea
{
    border-radius: 5px;
    height: 300px;
    width: 90%;
    font-family: system-ui;
    resize: none;
}

#notepad-images
{
    display : flex;
    overflow-x: auto;
}

.notepad-images-container
{
    display : none;
}

.note-image-div
{
    padding : 5px;
}

#modal-background
{
    position: absolute;
    background-color: white;
    top: 0;
    opacity: .75;
    width: 100%;
    height: 100%;
	z-index: 200;
}

.copyright
{
	width: 100%;
	margin-left: 10px;
	margin-top: 45px;
	vertical-align: middle;
	color: #999;
	margin-bottom: 45px; 
	position: absolute; 
	bottom: 0
}

#back-btn
{
	margin-left:5%;
	margin-right:1%
}

#close-menu
{
	margin: 10px;
	float: right; 
	color: #202124;
	padding-bottom:10px;
    cursor: pointer;
}

.menu-item-last
{
	margin: 10px;
	border-bottom:1px solid #dadce0;
	padding-bottom:10px
}

select
{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#sign-in-out, #sign-up
{
    cursor : pointer;
}

div[id^='nav-'], div[id^='split-']
{
    position: fixed;
    overflow-y: auto;
}

div[id^='split-']
{
    cursor:ew-resize;
    background-color: gainsboro;
    border: 1px solid dimgray;
}

.aoo, .task, .element
{
    background-color: white;
    margin: 20px;
    padding: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    box-shadow: 0 0 3px 1px black;
}

.note
{
    background-color: white;
    margin: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    word-wrap: break-word;
}

#aoo-header
{
    color: white;
    background-color: darkblue;
    font-weight: bold;
    position: sticky;
    cursor: default;
    transform: translateY(-10px);
    border: none;
    margin: 0px;
    border-bottom: 1px solid cornflowerblue;
    margin-top: 10px;
    top: 10px;
    text-align: center;
    padding : 10px;
}

.selected {
    background-color: lightgoldenrodyellow;
    color: #222222;
    font-weight: 600;
}

.krs-header
{
    color: darkblue;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 5px;
}

/* width */
::-webkit-scrollbar {
width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
background: blanchedalmond;
box-shadow: inset 0 0 5px grey; 
}

/* Handle */
::-webkit-scrollbar-thumb {
background: bisque;
box-shadow: inset 0 0 5px black; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: lightgreen;
    box-shadow: inset 0 0 5px black;
}

select[id$="-select"]
{
    width : 95%;
    border-radius: 10px;
    font-family: Calibri;
}

.reg-preview
{
    height: 200px;
    overflow-y: auto;
    text-align: left;
    background: white;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    font-family: Calibri;
    margin-top: 30px
}

#element-References, #element-Objective {
    background-color: aliceblue;
    color: black;
    font-weight: 600;
}

.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid black;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
  }
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }