body {
    color: #646464;

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	-webkit-font-smoothing: antialiased;

	background: linear-gradient(99deg, #F6F9FE 0%, #E8F1F8 100%);

    margin: 0 auto;

}

.body_width{
    max-width: 1280px;
    margin: 0 auto;
}

.no_event{
    pointer-events: none;
}

.cursor_pointer{
    cursor: pointer;
}

.auto_height{
    height: calc(100vh - 62px);
}

.auto_height_auto{
    height: auto;
}

#app {
  width: 100%;
}

.app-left {
    left: -18rem;
    height: 100%;
    width:  18rem;

    position: fixed;

    top: 0;
    overflow: hidden;    

    -webkit-box-shadow: 2px 2px 4px #00000056;
    -moz-box-shadow:    2px 2px 4px #00000056;
    box-shadow:         2px 2px 4px #00000056;
    
    display: -ms-flexbox;
    display: flex;

    -ms-flex-direction: column;
    flex-direction: column;
    user-select: none;
    transition: transform 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99);

    background: #515C66;
    border-right: 0 none;

    color: #e0e0e0;
    transition: left 250ms linear;   
}

.app-left-visible {
    left: 0 !important;
}


.app-right {
    margin: 6px;
    padding-left: 0;
    transition: padding-left 250ms linear;  
}

.app-right-visible {
    padding-left: 18rem;
}


.error{
    font-size: 1.6em;
    color: red;
}


.section_wide{
    width: 100%
}

button {
    border: none;
    background: none;

    color: inherit;
    font: inherit;
    cursor: pointer;
}

a {
	color: inherit;
	text-decoration: none;
}

.a_link{
    transition: color .5s linear,border-bottom .12s linear;
    color: #ff9800; 
}

.a_link:hover {    
    border-bottom: solid #ff9800 2px;
}

.text_high{
    color: #ff9800; 
}


#toolbar { 
    background: #FDFEFF;
    border-bottom: 1px solid #ddd;
    z-index: 1000;

    -webkit-box-shadow: 2px 2px 4px #00000056;
    -moz-box-shadow:    2px 2px 4px #00000056;
    box-shadow:         2px 2px 4px #00000056;

    position: sticky;
    top: 0; 
}


#toolbar > div  {
    width: 100%;    
    height: 48px;

    display: -ms-flexbox;
    display: flex;

    -ms-flex-pack: justify;
    justify-content: space-between;

    width: -webkit-fill-available;
    width: -moz-available;  
}

#toolbar_div_first{ /* Left div*/    
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;

    height: 100%;

    font-weight: 600;
    font-size: 1.25rem;   
    padding-left: 10px; 
}

#toolbar_div_last{ /* Right div */
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;

    height: 100%;
    padding-right: 15px;
}

.toolbar-menu-btns {
    margin-left : 0.4em;
    margin-right: 0.4em;
    
    transition: color 500ms linear, border-bottom 120ms linear;   
}

.toolbar-menu-btns:hover {
    color: #ff9800;      
    border-bottom: solid #ff9800 5px;
}


.toolbar-menu-btns > svg {
    vertical-align: middle;

    width:  28px;
    height: 28px;
}

.toolbar-menu-btns > span {
    padding-left: 3px;
    vertical-align: sub;

    /*font-size: 0.85em;*/
}


.toolbar-separator {
    display: block;
    width: 1px;
    border-left: 1px solid #e9e9e9;
    align-self: stretch;
    margin: 0 1rem;
}

/******************************/
/*        Search              */
/******************************/

#nav-search {    
    position: relative;
    margin-left:  10px;
    margin-right: 10px;
    margin-top:   0.8rem;
}
  
#nav-search input[type="text"] {
    font-size: 1.0rem;
    width: 85%;
    border: none;
    /*border-bottom: 2px solid #e0e0e0;*/
    padding: 5px 0  5px 0;
    background-color: transparent;
    outline: none;

    color: inherit;
}
  
#nav-search label {
    position: absolute;

    font-size: 1.2rem;
    top: -2px;
    left: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

#nav-search-loopsvg {
    padding-left: 8px;
    padding-right: 6px;
    margin-top: -4px;
    vertical-align: middle;
    transform: scale(1.1);
}

#nav-search-clear svg {
    transform: scale(1.4);
    vertical-align: middle;
    padding-bottom: 4px;
    padding-left: 5px;

    transition: color 750ms linear;   
}

#nav-search-clear svg:hover {
    color: #ff9800; 
}

#nav-search input[type="text"]:focus ~ label,
#nav-search input[type="text"]:valid ~ label {
    top: -16px;
    left: -16px;

    color: #808991;
    transform: scale(0.8);
}

#nav-search-under {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #e0e0e0;
}


#nav-search-under-exp {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #ff9800;
    transform: scaleX(0);
    transition: all 250ms linear;
}
  
#nav-search input[type="text"]:focus ~ div,
#nav-search input[type="text"]:valid ~ div {
    transform: scaleX(1);
}

/* Navigation Menu*/
#nav-tree{
    overflow: auto;
    flex: 1;
    padding: 0 0 1rem 1rem;

    padding-top: 42px;
}

#nav-tree div{
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 1rem 0 0 0;

    color: rgba(255, 255, 255, 0.6);
}

#nav-tree ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#nav-tree li {
    display: list-item;
    text-align: -webkit-match-parent;   
    
    unicode-bidi: isolate;  
}

.nav-tree-navi {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  padding: 0 0 0 1rem;
  font-size: 1rem;
  border-radius: 3px;
  transition: color 500ms linear; 
}

.nav-tree-navi:hover {
    color: #ff9800; 
}


/******************************/
/*        Content             */
/******************************/

.content-panel { 
    width: 100%;

    background: #fefefe;
    padding: 6px 8px;
    box-sizing: border-box;
    -moz-border-radius:    3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin-bottom: 0.4rem;

    border:  1px solid #e6e6e6;
    -webkit-box-shadow: 2px 2px 4px #00000056;
    -moz-box-shadow:    2px 2px 4px #00000056;
    box-shadow:         2px 2px 4px #00000056;
}

.content-panel-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-bottom: 6px;

    color: #657380;
    font-weight: bolder;
    font-size: smaller;
}

.edit_data_mod{
    max-width: 480px;
    width: 100%;
}

/******************************/
/*        FLEX                */
/******************************/

.flex {
    display: flex; /* or inline-flex */
    align-items: flex-start;
    flex-wrap: wrap;
}

.flex-gap-small {
    gap: 6px;
}

.flex-gap-tile {
    row-gap:    1.4em;
    column-gap: 1.0em;
}

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

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

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

.flex-item{
    padding: 0.8em 0.6em;
}

/* Code */

.code-card {
  margin: 6px 0;
  width:  calc(100% - 20px);
 
  border-radius: 6px;
  z-index: 1;
  box-shadow: 0px 6px 4px  rgb(73, 70, 92);
  transition: 0.5s;
}

.code-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 4px black;
}
 
.code-area {
  background-color: rgb(95, 92, 119);
  border-radius: 5px;
  border: none;
  color: white;
  padding: 12px 24px;
  white-space: preserve-breaks;
}

.code-area:focus {
  outline: none !important;
}


.code_title{
    margin: 18px 0 6px 20px;
    white-space: preserve-breaks;
    text-decoration: underline;
}

/* Landing */



/* Image */
.img_renderer{
    overflow: hidden; /* Keeps the zoomed part within the container initially */
}

.img_renderer button img{
    border-bottom: rgba(173, 232, 255, 0) solid 2px;
    width: 100%;
    object-fit: cover; 
    /* transition: transform 0.3s ease; Smooth animation */
}

.img_renderer button img:hover{
    cursor: zoom-in;
    border-bottom: #ff9800 solid 2px;
}


/* Documentation */
.doc_br {
    height: 20px;    
}

.doc_header {
    font-size: 1.6em;
    margin: 0 0 6px 6px;
}

.doc_normal {
    margin: 6px 0 6px 10px;
    white-space: preserve-breaks;
}

.doc_high {
    margin: 20px 0;
    background: #ffffe0;
    padding: 10px 10px;
    border-radius: 3px;
    border:  1px solid #ff9800;
    white-space: preserve-breaks;
}

.doc_danger {
    margin: 12px 0;
    background: #ffcd93;
    padding: 10px 10px;
    border-radius: 3px;
    border:  1px solid #8e8e8e;
    white-space: preserve-breaks;
}
