/* @import url(https://fonts.google.com/specimen/Poppins?preview.text=poppins); */


/* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */
/* body{
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
} */

.row-new {
    height: fit-content;
}
main {
    max-width: 100%;
}

main > .container {
    padding: 60px 15px 0;
    min-height: calc(100vh - 525px);
}
.row {
    --bs-gutter-x: 0!important;
    --bs-gutter-y: 0!important;
    display: flex;
    flex-wrap: wrap;
    margin-top: 0!important; 
    margin-right: 0!important; 
    margin-left: 0!important; 
}

/* Login page */
.login-box {
    max-width: 800px;
    margin: 150px auto;
    float: none;
}
.login-box .form-group-left {
    /*display: table-cell;*/
    padding-right: 10px;
}
.login-box .form-group-right {
    /*display: table-cell;*/
    padding-left: 10px;
}

.form-reset-password {
    width: 100%;
    max-width: 600px;
    padding: 15px;
    margin: auto;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}


/* Home */
.home_content_canva{
    height: calc(100vh - 56px)!important;
    min-height: calc(100vh - 56px)!important;
    width: 100%!important;
    max-width: 100%!important;
    padding: 0!important;
    transition: all 0.5s ease;
    overflow: hidden;
}

/* Top bar */
.tool_bar{
    background: transparent;
    position: absolute;
    z-index: 9;
    margin: 5px;
    display: flex;
    width: 100%;
}
.tool_bar .dropdown-menu{
    min-width: auto!important;
}
.tool_bar ul.main-ul {
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
}
.tool_bar ul.manage-path-ul {
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
}
.tool_bar ul.manage-files-ul {
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: 0;
}
.tool_bar ul li{
    height: 100%;
    list-style: none;
    margin-right: 3px;
}
.tool_bar ul li .tooltip{
    position: absolute;
}
.tool_bar ul li button {
    float: left;
}
.tool_bar ul li form {
    float: left;
    position: relative;
}
.name-toolbar{
    display: inline;
    padding-left: 5px;
}





/* Main Area */
.main_area{
    height: 100%;
}
.loading{
    display: none;
    transition: all 0.5s ease;
}
.loading.active{
    display: block;
    width: 100%;
    height: 100%;
    background: #f2f2f262;
    z-index: 999;
}
.loading.active i{
    left: 50%;
    top: 50%;
    position: absolute;
    font-size: 50px;
    z-index: 9999;
}


.header-sidebar{
    border:1px#666 solid;
    background: #ddd;
}

/* Left sidebar slideout */
.main_area .slideout-sidebar-left{
    position: absolute;
    top: 56px;
    height: calc(100% - 56px);
    width: 0px;
    left: 0;
    border: 2px solid#c0c0c0;
    transition: all 0.5s ease;
}
.main_area .slideout-sidebar-left.active{
    width: 320px;
}
.slideout-sidebar-left #storeys { 
    overflow-y: scroll;
    height: 100%;
    width: 100%;
    pointer-events: all;
    opacity: 1;
}


/* Right sidebar slideout */
.main_area .slideout-sidebar-right{
    position: absolute;
    top: 56px;
    height: calc(100% - 56px);
    width: 0px;
    right: 0;
    border: 2px solid#c0c0c0;
    transition: all 0.5s ease;
}
.main_area .slideout-sidebar-right .vertical-slideout{
    height: 100%;
}
.main_area .slideout-sidebar-right.active{
    width: 320px;
}
/* treeMetadata */
.slideout-sidebar-right .vertical-slideout #treeMetadata{
    height: 50%;
    z-index: 200000;
    width: 100%;
    transition: all 0.5 ease;
    opacity: 0;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.2);
}
.slideout-sidebar-right .vertical-slideout.active #treeMetadata{
    opacity: 1;
    pointer-events: all;
    overflow-y: scroll;
}
/* TreeViewPlugin */
.btn-outline-dark {
    border: none!important;
}
.buttons-tree{
    flex: auto;
}
.slideout-sidebar-right .vertical-slideout.active #treeViewContainer{
    height: 50%;
    transition: all 0.5 ease;
}
.slideout-sidebar-right .vertical-slideout #treeViewContainer{
    pointer-events: all;
    overflow-y: scroll;
    overflow-x: scroll;
    background-color: rgba(255, 255, 255, 0.2);
    color: black;
    top: 0px;
    z-index: 200000;
    font-size: 15px;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    width: 100%;
    height: 100%;
}
.slideout-sidebar-right .vertical-slideout #treeViewContainer ul {
    list-style: none;
    padding-left: 1.75em;
    pointer-events: none;
}
.slideout-sidebar-right .vertical-slideout #treeViewContainer ul li {
    position: relative;
    width: 500px;
    pointer-events: none;
    padding-top: 3px;
    padding-bottom: 3px;
    vertical-align: middle;
}
.slideout-sidebar-right .vertical-slideout #treeViewContainer ul li a {
    background-color: #eee;
    border-radius: 50%;
    color: #000;
    display: inline-block;
    height: 1.5em;
    left: -1.5em;
    position: absolute;
    text-align: center;
    text-decoration: none;
    width: 1.5em;
    pointer-events: all;
}
.slideout-sidebar-right .vertical-slideout #treeViewContainer ul li a.plus {
    background-color: #ded;
    pointer-events: all;
}
.slideout-sidebar-right .vertical-slideout #treeViewContainer ul li a.minus {
    background-color: #eee;
    pointer-events: all;
}
.slideout-sidebar-right .vertical-slideout #treeViewContainer ul li a:active {
    top: 1px;
    pointer-events: all;
}
.slideout-sidebar-right .vertical-slideout #treeViewContainer ul li span:hover {
    color: white;
    cursor: pointer;
    background: black;
    padding-left: 2px;
    pointer-events: all;
}
.slideout-sidebar-right .vertical-slideout #treeViewContainer ul li span {
    display: inline-block;
    width: calc(100% - 50px);
    padding-left: 2px;
    pointer-events: all;
    height: 23px;
}
.slideout-sidebar-right .vertical-slideout #treeViewContainer .highlighted-node { /* Appearance of node highlighted with TreeViewPlugin#showNode() */
    border: black solid 1px;
    background: yellow;
    color: black;
    padding-left: 1px;
    padding-right: 5px;
    pointer-events: all;
}

/* Other */
h4 {
    font-weight: 700;
    margin: 0px;
}

p {
    margin: 0px;
}


/* Login page */
.row_logo{
    margin: 20px;
    height: 100px;
    width: 80%;
}
.row_logo .logo{
    height: 80px;
}
.row_logo .logo img{
    height: 80px;
}
.login-box {
    max-width: 800px;
    margin: 150px auto;
    float: none;
}
.login-box .form-group-left {
    padding-right: 10px;
}
.login-box .form-group-right {
    padding-left: 10px;
}


/* Central Area */
.main_area .main_area_right{
    height: 100%;
    width: 100%;
    left: 0px;
    transition: all 0.5s ease;
}
.main_area .main_area_right.active{
    width: calc(100% - 320px);
    left: 320px;
}
.main_area .main_area_right .central_area{
    position: relative;
    left: 0px;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}
.main_area .main_area_right .central_area.active{
    width: calc(100% - 320px);
    left: 320px;
}
.main_area .central_area #myCanvas {
    width: 100%;
    height: 100%;
    float: left;
    margin: 0px;
    padding: 0px;
    background: #f2f2f2;
}

/* NavCubePlugin */
#myNavCubeCanvas {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0px;
    right: 0px;
    z-index: 200000;
}
#storeyMap {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 200000;
}
#planPointer {
    color: #000000;
    line-height: 1.8;
    text-align: center;
    font-family: "monospace";
    font-weight: bold;
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url(../assets/images/storeyMapCamera.png);
    background-repeat: no-repeat;
    background-size: 60px 60px;
    z-index: 200000;
}
#camera-home{
    position: absolute;
    top: 25px;
    right: 130px;
    z-index: 2000000;
}




/* ----------------------------------------------------------------------------------------------------------*/
/* ContextMenu */
/* ----------------------------------------------------------------------------------------------------------*/

.xeokit-context-menu {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    display: none;
    z-index: 300000;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid black;
    border-radius: 6px;
    padding: 0;
    width: 200px;
}

.xeokit-context-menu ul {
    list-style: none;
    margin-left: 0;
    padding: 0;
}

.xeokit-context-menu ul li {
    list-style-type: none;
    padding-left: 10px;
    padding-right: 20px;
    padding-top: 4px;
    padding-bottom: 4px;
    color: black;
    border-bottom: 1px solid gray;
    background: rgba(255, 255, 255, 0.46);
    cursor: pointer;
    width: calc(100% - 30px);
}

.xeokit-context-menu ul li:hover {
    background: black;
    color: white;
    font-weight: bold;
}

.xeokit-context-menu ul li span {
    display: inline-block;
}

.xeokit-context-menu .disabled {
    display: inline-block;
    color: gray;
    cursor: default;
    font-weight: normal;
}

.xeokit-context-menu .disabled:hover {
    color: gray;
    cursor: default;
    background: #eeeeee;
    font-weight: normal;
}


/* Dashboard */
.card-img, .card-img-top {
    height: 100px;
    width: auto!important;
    margin: auto;
}


/* treeMetadataBody */
.tableMetadata table, .tableMetadata tr, .tableMetadata td, .tableMetadata th {
    border-collapse:collapse;
    border-width: 1px!important;
    overflow: auto;
}
.tableMetadata tr.header {
    cursor:pointer;
    background: #f2f2f2;
    font-weight: 600;
}
.tableMetadata .header .sign:after {
  content:"\002B";
  display:inline-block;
  font-size: 20px;
  margin-right: 3px;  
}
.tableMetadata .header.expand .sign:after {
  content:"\2212";
  font-size: 20px;  
  margin-right: 3px; 
}
.tableMetadata{
    width: 100%;
    font-size: 14px;
}
.tableMetadata .properties {
    width: 50%;
}
.tableMetadata .values {
    width: 50%;
}
.tableMetadata thead{
    background: #dddddd;
    font-weight: 600;
}
.tableMetadata td {
    padding-left: 2px;
}

.annotation-marker {
    color: #ffffff;
    line-height: 1.8;
    text-align: center;
    font-family: "monospace";
    font-weight: bold;
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 15px;
    border: 2px solid #ffffff;
    background: black;
    visibility: hidden;
    box-shadow: 5px 5px 15px 1px #000000;
    z-index: 0;
}

.annotation-label {
    position: absolute;
    max-width: 250px;
    min-height: 50px;
    padding: 8px;
    padding-left: 12px;
    padding-right: 12px;
    background: #ffffff;
    color: #000000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 8px;
    border: #ffffff solid 2px;
    box-shadow: 5px 5px 15px 1px #000000;
    z-index: 90000;
}

.annotation-label:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 8px 12px 8px 0;
    border-color: transparent white;
    display: block;
    width: 0;
    z-index: 1;
    margin-top: -11px;
    left: -12px;
    top: 20px;
}

.annotation-label:before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 9px 13px 9px 0;
    border-color: transparent #ffffff;
    display: block;
    width: 0;
    z-index: 0;
    margin-top: -12px;
    left: -15px;
    top: 20px;
}

.annotation-title {
    font: normal 20px arial, serif;
    margin-bottom: 8px;
}

.annotation-desc {
    font: normal 14px arial, serif;
}


/* Drag class */

.draggable {
    cursor: move;
    user-select: none;
    font-size: 21px;
    font-weight: 400;
}
.draggable:hover::before {
    font-family: "Font Awesome 5 Free";  
    content: "\f58e";
    position: absolute;
    margin-left: 0px;
}
.draggable > table,
.table-proj {
    cursor: auto;
    user-select: auto;
    font-size: 14px;
    font-weight: 200;
    margin-bottom: 0rem!important;
    margin-left: 23px;
    width: calc(100% - 23px)!important;
}

.table-proj>:not(caption)>*>*,
.draggable > .table>:not(caption)>*>*{
    padding: 0!important;
    height: 2.5em;
    display: inline-flex;
}
.table-subtasks {
    cursor: auto;
    user-select: auto;
    font-size: 14px;
    font-weight: 200;
    margin-bottom: 0rem!important;
    margin-left: 0px;
    width: 100%;
}
.draggable i {
    visibility: hidden;
}
.draggable i:hover {
    visibility: inherit;
}

.table-bordered>:not(caption)>*>* {
    display: inline-flex;
}

.tb-proj-col-1{
    width: 50%;
}
.tb-proj-col-2, 
.tb-proj-col-3,
.tb-proj-col-4 {
    width: 16.66%;
}
.btn-add-subtask,
.btn-addtask {
    margin-top: 0px;
    background: transparent;
    color: rgb(179 179 179)!important;
    border-radius: 0px!important;
    font-weight: 100!important;
    font-size: 14px!important;
    text-align: left!important;
}
.btn-add-subtask:hover,
.btn-addtask:hover {
    background: #dddddd;
    color: #000;
}
.btn-addtask {
    margin-left: 23px;
    width: calc(100% - 23px);
}
.btn-add-subtask {
    margin-left: 0px;
    width: 100%;
}
.form-control-plaintext {
    border-color: transparent!important;
    width: fit-content!important;
    font-size: 14px;
    padding: 0!important;
    background-color: transparent!important;
    overflow: auto;
} 
.project-description{
    width: 100%!important;
    white-space: normal!important;
}
.input-section {
    border-color: transparent!important;
    margin-left: 23px;
    width: fit-content!important;
    font-size: 24px!important;
    font-weight: 600!important;
}  
.form-control-plaintext:active,
.input-section:active {
    border-color: #ced4da!important;
}
.btn-proj-subtask{
    height: inherit;
    background: transparent;
    border: none;
    flex: none;
}

.btn-proj-task{
    width: 100%;
    height: inherit;
    background: transparent;
    border: none;
    text-align: end;
    opacity: 0;
    transition: 0.5s ease;
}

.btn-proj-task:hover{
    opacity: 1;
}

.offcanvas-end{
    width: 60%!important;
}
.btn-proj-section{
    display: flex!important;
    height: inherit;
    background: transparent;
    border: none;
    text-align: end;
    opacity: 0;
    transition: 0.5s ease;
}

.btn-proj-section:hover{
    opacity: 1;
}
.section-lable{
    display: flex;
}


/* Table columns resize */
/*
table.table-projects{
    min-width: 100%;
    width: 100%!important;
    -webkit-box-flex: 1;
            flex: 1;
    display: grid;
    border-collapse: collapse;
    grid-template-columns: 
      minmax(20px, 1fr)
      minmax(150px, 1.67fr)
      minmax(150px, 1.67fr)
      minmax(150px, 1.67fr)
      minmax(150px, 3.33fr)
      minmax(150px, 1.67fr);
  }


table.table-projadsdffsfa {
    min-width: 100%;
    width: 100%!important;
    -webkit-box-flex: 1;
            flex: 1;
    display: grid;
    border-collapse: collapse;
    grid-template-columns: 
      minmax(150px, 1fr)
      minmax(150px, 1.67fr)
      minmax(150px, 1.67fr)
      minmax(150px, 1.67fr);
  }
   
  thead,
  tbody,
  tr {
    display: contents;
  }
   
  th,
  td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
   
  th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    position: relative;
  }
   
  th:last-child {
    border: 0;
  }
   
  .resize-handle {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: black;
    opacity: 0;
    width: 3px;
    cursor: col-resize;
  }
   
  .resize-handle:hover,
  .header--being-resized .resize-handle {
    opacity: 0.5;
  }
   
  th:hover .resize-handle {
    opacity: 0.3;
  }*/

.name,
.job{
    text-align: left;
}
.projectusers,
.tasksusers{
    display: flex;
}
.name_job{
    display: inline-grid;
}
.date-home-assistant {
    margin-top: 40px;
    position: absolute;
}
.rounded-circle{
    background-size: cover;
    width:32px;
    height:32px;
    background-position:center;
    display: inline;
}

.input-editable {
    display: flex;
}

.input-editable .btn-edit-input,
.input-editable .btn-save-input,
.input-editable .btn-cancel-input {
    background: none;
    border: none;
}

.input-editable:hover .btn-edit-input {
    opacity: 1;
}
.btn-edit-input{
    opacity: 0;
    transition: 0.5s ease;
}
.btn-edit-input:hover {
    opacity: 1;
}
.input-text-editable:hover ~ .btn-edit-input {
    opacity: 1;
}

.input-text-editable:read-only:hover {
    cursor: pointer;
}
.input-section-name,
.input-text-editable{
    font-family: inherit;
    font-size: inherit;
    padding: 1px 6px;
    cursor: auto;
    white-space: nowrap;
    margin: auto 0 auto 0;
}

.div-edit {
    border: 1px solid#666!important;
    padding: 0px 5px!important;
    border-radius: 4px;
}
.btn-task-user {
    padding: 0!important;
}

.input-section-name{
    margin-left: 24px;
}
.input-section-name[contenteditable]:empty::before{
    content: "Section name...";
    color: gray;
}
.input-task-name[contenteditable]:empty::before {
    content: "Task name...";
    color: gray;
}

.tab-content>.active {
    margin: 50px;
}


#mySectionPlanesOverviewCanvas {
    position: absolute;
    width: 150px;
    height: 150px;
    bottom: 0px;
    right: 0px;
    z-index: 200000;
}