:root {
    --side-toolbar-width: 40px;
}
/* -- INDEX PAGE --- */
.projectButton {
    width: 250px;
    height: 150px;
    margin: 10px;

    display: inline-block;
    border: 1px solid silver;
    padding: 10px;
    background-color: white;
    text-align: center;
    border-radius: 5px;
    color: black !important;
    font-size: 14px;
    user-select: none;
    position: relative;
}

.projectButton:hover {
    border: 1px solid black;
    text-decoration: none;
}

.projectButton img {
    margin-left:auto;
    margin-right:auto;
    display: block;
    width: auto;
    width-max: 100%;
    height: 80%;
}

.projectButton span {
    margin-left: -10px;
    margin-right: -10px;
    width: 100%;
    display: block;
    position: absolute;
    bottom: 4px;
}

/* -- EDIDTOR -- */
#component-editor nav {
    left: 0px;
    width: var(--side-toolbar-width);
    overflow: clip;
    top: 105px;
    bottom: 0px;
    /*height: 40px; */
    position: fixed;
    background: white;
    text-align: left;
    padding: 2px;
    box-shadow: var(--soft-box-shadow);
    z-index: 1;
    padding: 0px;
    border-right: 1px solid gray;
}

#component-editor nav button {
    width: var(--side-toolbar-width);
    height: var(--side-toolbar-width);
    padding: 0px;
    maring: 0px;
    border-radius: 0px;
    background-color: white;
    border: black solid 1px;
    color: black;
    position: relative;
    display: table;


}

#component-editor nav button img {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;

}

#component-editor nav button > span {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    white-space: wrap;
    z-index: 2;
    vertical-align: middle;
    font-size: 10px;
    line-height: 8px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#component-editor nav button > span > span {
    display: inline-block;
    text-shadow: 1px 1px rgba(255,255,255,0.5);
}

#component-editor .sidePanel {
    width: 250px;
    position: absolute;
    right: 0px;
    top:0px;
    bottom: 0px;
    background-color: white;
    border: 1px solid black;
    text-align: left;
}

#component-editor  .sidePanel .title {
    display: inline-block;
    text-align: center;
    background-color: navy;
    color: white;
    width: 100%;
    padding: 0px;
}

#component-editor #mainPanel {
    left: var(--side-toolbar-width);
    right: 0px;
    bottom: 18px;
    top: 105px;
    position: fixed;
}

#modes {
    position: absolute;
    top: 0px;
    left:0px;
    font-size: 10px;
    text-shadow: 1px 1px silver;
}

#modes select {
    font-size: 10px;
}
/* ---------- EDITOR - CONTACTS ----------- */

#contactsListBackground {
    position: fixed;
    display: block;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1000;
    background-color: rgba(0,0,0,0.4);
}

#contactsList {
    position: fixed;
    display: block;
    left: 20px;
    top: calc(var(--top-panel-height) + 20px);
    right: 20px;
    bottom: 20px;
    border: 1px solid black;
    border-radius: 3px;
    background: white;
    z-index: 2;
}

#contactsListContent {
    width: 100%;
    height: 100%;
}

#contactsListHeader {
    background-color: navy;
    font-size: 10px;
    color: white;
    width: 100%;
    display: table;
}

#contactsListHeader span {
    display: table-cell;
    width: 100%;
}
#contactsListHeader button {
    font-size: 10px;
    padding: 3px;
    display: table-cell;

    text-align: left;
}

/* -- OLD SHIT -- */

