@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}



h4 {
  font-size: 17px;
}

body {
  font-family: 'Montserrat', sans-serif;
  min-width:300px;
}

/*
body::-webkit-scrollbar {
  display: none;
}
*/

select {

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: url(/css/icons/down-arrow.svg);
  background-repeat: no-repeat;
  background-position: calc(100% - 8px);
  background-size: 10px;

}

label {
  font-weight:400;
}

#navbar {

  margin-left:10px;
  margin-right:10px;
  margin-top: -8px;
  margin-bottom:10px;

}

.navbar-bar {
  padding-left:1.5px;
  padding-right:1.5px;
  margin-bottom:3px;
}


.logo-img-lg {
  content:url("/img/headerlogo_versolo.png");
}

.logo-img-sm {
  content:url("/img/Versolologo.png");
}

#sidebar-menu>ul>li>a {
  font-family: 'Montserrat', sans-serif;
}

#maincontent {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1em;
  margin-right: -1em;
}

.v-section{
  display: flex;
  flex-wrap: wrap;
  align-content:flex-start;
}

.container-fluid {
  padding-top: 70px;
}

.page-title {
  padding-top:7px;
  padding-left:10px;
}

.badge-info{
  font-size: 14px;
  background-color: red;
}

.badge-info-sidebar{
  margin-left: -7px;
  margin-right: 5px;
  margin-top: 0px !important;
}

.badge-info-titlebar{
  position: relative;
  top: -10px;
  left: 2px;
}

.leaflet-container {
  z-index:0;
  margin-left:-5px;
  margin-right:-5px;
}

#top-row {
   z-index:3;
   position:fixed;
   top:70px;
}

.xfooter{
  position: fixed;
  padding: 10px 10px 10px 60px;
  margin-left:10px;
  bottom: 0px;
  width:100%;
  height: 30px;
  line-height: 30px;
  text-align: left;
  background: white;
  transition: .3s;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 4px 8px 0 rgba(0, 0, 0, 0.19);
  z-index:1;
  overflow-y:scroll;
}

.footer {

  background-color: #fcfcfc;
  padding: 0 10px 0 0;
  position: fixed;
  left: 0;
  width:100%;
  bottom:0;
  right: 0;
  height: 50px;
  z-index: 3;
  -webkit-box-shadow: 0 0 35px 0 rgba(52,59,74,.05);
  box-shadow: 0 0 35px 0 rgba(52,59,74,.05);

  overflow-y:auto;

}

.footer::-webkit-scrollbar {
  display: none;
}

.footer .card-box{
  padding-top:10px;
  padding-right:10px;
  padding-bottom:0;
  background-color:transparent;
}

.card-box-dropdown{
  margin-top:-5px;
}

button {
  /*margin-right:3px;*/
  /*margin-bottom:3px;*/
}

ul {
  margin-bottom:0px;
}

.flexrow button:last-child {
  margin-right:0px;
}

.flexrowreverse button:first-child {
  margin-right:0px;
}

.asbutton {
  cursor: default;
}

.grid-btn {
  padding:10px;
  margin:10px;
  object-fit: contain;
    object-position: 50% 50%;
}

.addmarginbottom {
  margin-bottom:5px !important;
}

.hidden {
  display: none !important;
}

.vlist {
  overflow-x:auto;
  overflow-y:hidden;
  margin-right: -5px;
  margin-left: -5px;
}

.vlist-labelrow {
  /*padding-top:10px;*/
}

.vlist-summaryrow {
  padding-top:2px;
  margin-left: -1px;
}

.vlist-label {
  padding:5px;
  margin-right:3px; 
  /*font-weight: bold;*/
  white-space: nowrap;
  /*line-height: 15px;
  max-height: 15px;*/
}

.vlist-label:last-child {
  margin-right:0px;
}

.sublabel {
  padding:0px 5px;
}

.vlist-li {
  list-style: none;
  /*border: 1px solid white;*/
  text-decoration: none;
  /*height: 39px;*/
  margin-bottom: 2px;
  line-height: 25px;
  display: block;
  padding-top : 1px;
  vertical-align: middle;
}

.vlist-li a {
  color: #e8e4de;
  display: block;
  text-decoration: none;
  /*border-bottom: 1px solid rgba(0,0,0,.1);*/
}

.vlist-li button {
  position: absolute;
  display: inline;
  box-shadow: none;
  vertical-align: middle;
}

.vlist-li input {
  /*background-color: red;*/
}

.hassublist {
  height:inherit;
  margin-bottom:3px;
}

.vlist-iconbutton:last-child {
  margin-right: 0;
}

.vlist-field:last-child {
  margin-right: 0;
}

.vlist-field {
  /*background-color: #f5f6f8;*/
  /*font-family: verdana;
  font-size: 12px;*/
  color: #4D4D4D;
  height: 35px;
  margin-right: 3px;
  /*margin-bottom: 3px;*/
  width:inherit;
  vertical-align: top;
  display: inline-block;
  clear: both;
}

.vlist-field input, textarea {
  /*border:1px;*/
  padding: 10px;
  width : 100%;
  height: inherit;
  /*background-color: :#f5f6f8;*/
  font-family: inherit;
  font-size: inherit;
  /*color:inherit;*/
  box-sizing: border-box;
  outline:none;
}

.vlist-iconbutton {
  color:white;
  height: 35px;
  width: 35px;
  position:relative;
  margin-right: 3px;
  /*cursor: pointer;*/
  /*background-color: #276e82;*/
  /*text-align: center;*/
  padding:0.36rem;
  vertical-align: top;
  transition: .3s;
}

.vdt-input {
  border:0;
  width:100%;
}

.icon-lg i {
  font-size:36px;
  line-height:1;
}

.icon-lg span {
  display:block;
}

.icon-xl i {
  font-size:48px;
  line-height:1;
}

.icon-xl span {
  display:block;
}

.form-control[readonly]{
  background-color: #f1f5f7;
  /*border:1px solid #f2f2f2;*/
}

ul {
  padding-inline-start:0;
}

.form-control {
  display:flex;
  height:35px;
  padding-right:0.65rem;
  padding-left:0.65rem;
  border:2px solid var(--light);
}

input::-webkit-input-placeholder {
    opacity: 0;
}

.form-control-selectize {
  min-height:35px;
  height:fit-content;
}

.form-group {
  margin-bottom:3px;
  width:100%;
}



.form {
  margin-right:-5px;
  margin-left:-5px;
}

.form-row {
  /*padding-left:3px;*/
  margin-right:0px; /* 0px */
  margin-left:0px; /* 0px */
}


.searchbar-row {
  margin-right:-5px;
  margin-left:-5px;
}


.searchfield-label{
  font-size: .8rem;
}


.variablefieldbar-row {
  margin-right:-5px;
  margin-left:-5px;
}

.variablefieldbar-row .variablefield {
  margin-left:0;
  margin-right:0;
  padding-right:3px;
}

.variablefieldbar-row .variablefield:last-child {
  padding-right:0;
}

.variablefield {
  margin-left:-5px;
  margin-right:-5px;
  padding-right:0;
  padding-left:0;
}

.variablefield textarea {
  height:inherit;
}

.form-row>.col, .form-row>[class*=col-] {
    padding-right: 0px;
    padding-left: 0px;
}

.form-group-col {
  padding-right:3px !important;
}

.form-group-col:last-child {
  padding-right:0px !important;
}

.sublist {
  margin-bottom: -3px;
  margin-top:3px;
}

/*
.form-group textarea {
  margin-bottom:3px;
}*/

.form-group label {
  white-space: nowrap;
  /*padding-left:10px !important;*/
}

.form-group:last-child {
  /*margin-bottom: 10px ;*/
}

.col-form-label {
  padding-top: 8.5px;
  padding-bottom: 5.5px;
  padding-left: 3px!important;
  padding-right: 12px;
}

@media (min-width: 1600px) {
  .modal-xl {
    max-width:1540px;
  }
}

.header-title-container {
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin-right:-5px;
}

.header-title-container-buttons {
  display:flex;
  gap:3px;
}

.header-title-container button {
  margin-right:0px;
  margin-top:7px;
}

.header-title {
  margin-left:-5px;
  margin-top:-5px;
  padding-bottom:10px;
  padding-top:20px;
  margin-bottom:0px;
}

.top-title {
  margin-top:-20px;
  /*padding-top:0px;*/
  min-height:30px;
}


.tx-al-r {
  text-align: right;
}

/* Ajustement pour que les tableau soient moins haut */
.table td {
  padding-top: 5px;
  padding-bottom: 5px
}



.select2-container {
  height:inherit;
  width:100%!important;
}

.select2-selection{
  width:100%;
  border:2px solid var(--light)!important;
}


.selectize-control {
  padding:0;
}

.selectize-dropdown-content {
    background:white;
}

.btn {
  padding: 5px .45rem;
  border-width: 2px;
}

.btn-customcolor:hover{
  color:#fff;
}

.rbclist-li {

  list-style: none;
  color: #d18537;
  text-decoration: none;
  height: 38px;
  line-height: 35px;
  display: block;
  padding-bottom : 3px;
  vertical-align: middle;

}

.title-dropdown {
  padding:5px;
  z-index:3;
  height:30px;
}

.card-drop {
  margin-top:0px;
}

.title-dropdown:first-child {
  padding-right:0px;
}

.buttonbar {
  margin-left:-5px;
  margin-right:-5px;
  padding-bottom:8px;
}

.buttonbar:last-child {
  padding-bottom:0px;
}

.toolbar {
  margin-left:-5px;
  margin-right:-5px;
  padding-bottom:8px;
}

.toolbar button {
  height:35px;
  min-width: 35px;
}

.konvastage {
  margin-left:-5px;
}

.logoffBtn {
  position: absolute;
  margin: 0px 0px 10px 0px;
  bottom: 70px;
  right: 0px;
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.apiBtn {
  position: absolute;
  margin: 0px 0px 10px 0px;
  bottom: 190px;
  right: 0px;
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.apiBtn i {
  font-size: 20px;
}

.vsearchinput {
  padding-right:3px !important;
  padding-left:0px !important;
  padding-bottom:3px;
}

.vsearchinput:last-child {
  padding-right: 0px !important;
}

.rectangle {
  position: inherit;
  top: 50px;
  background: #eeeeee;
  opacity:0.90;
  padding: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  /*border-radius: 3px;*/
  /*box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.05), 0 5px 5px 0 rgba(0, 0, 0, 0.05);*/
  display: flex;
  flex-direction:column;
  float: left;
}

.rectangle img {
  position: inherit;
  width:100%;
  overflow: hidden;
}

.break{
  width:100%;
  height:1px;
  padding-top:10px;
  display: inline-block;
  float:left;
}

.listlabel {
  font-family: verdana;
  font-size: 12px;
  color: #4D4D4D;
  /*font-weight: bold;*/
  margin-right: 3px;
  padding-top:5px;
  padding-bottom: 5px;
  line-height: 15px;
  max-height: 15px;
}

/*
.listfield input, textarea {
  border:none;
  padding: 10px;
  width : inherit;
  height: inherit;
  background:transparent;
  font-family: inherit;
  font-size: inherit;
  color:inherit;
  box-sizing: border-box;
  outline:none;
}
*/

/*
.listfield select {
  height : inherit;
  width : inherit;
  font-family: inherit;
  font-size: inherit;
  color:inherit;
  box-sizing: border-box;
  outline:none;
}
*/

.forselect{
  position:relative;
}

.asbutton{
  cursor: pointer;
}

/*.asbutton:hover{
  background-color:#cccccc;
}*/

.listiconbutton {
  height: 35px;
  width: 35px;
  position:relative;
  /*cursor: pointer;*/
  /*background-color: #276e82;*/
  text-align: center;
  padding:0.25rem;
  vertical-align: top;
  transition: .3s;
}

.listiconbutton:hover{
  background-color: #084355;
}

.listiconbutton:active{
  background-color: pink;
}

.listiconbutton i {
  color:white;
  display:inline-block;
  vertical-align: middle;
}

.listiconbutton:hover i{
}

.deletebutton{
  background-color:red;
}


/* FORM FIELD */

.formfield {
  background-color: #ffffff;
  font-family: verdana;
  font-size: 12px;
  color: #4D4D4D;
  margin-right: 3px;
  margin-bottom: 3px;
  width:100%;
  max-width: 300px;
  display: inline-block;
  clear: both;
}

.formfield input {
  border:none;
  padding: 10px;
  width : inherit;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  color:inherit;
  box-sizing: border-box;
  outline:none;
}

.v-popoverback {
  position:fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index:102;
}

.v-popover-header {
  padding: 0px 20px;

  display: flex;
  flex-direction:row;
}

.v-popover-header button {
  align:right;
}

.v-popover {
  position: relative;
  width: 95%;
  top: 80px;
  background: #fff;
  padding: 20px;
  height: calc(100% - 150px);
  overflow-y: auto;
  margin: 20px auto;
  border-radius: 3px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 4px 8px 0 rgba(0, 0, 0, 0.19);
  z-index:103;
}

.backbutton {
  color: rgba(255,255,255,0.8);
  float:left;
  font-size:20px;
  padding: 25px 25px 25px 25px;
  margin-right: 10px;
}

.backbutton:hover {
  color: white;
    background-color:rgba(255,255,255,0.1);
}

.pagetitle{
  padding : 5px;
}

.pagetitlediv{
  height:35px;
  display: flex;
  flex-direction:row;
}

#dialog{
  position:relative;
  top: -10000px;
}

.fullscreen {
  padding-top:60px;
  padding-left:60px;
  background:yellow;
}

.form {
  position: relative;
}

.form-element {
  background-color: #ffffff;
  font-family: verdana;
  font-size: 12px;
  color: #4D4D4D;
  height: 35px;
  width:100%;
  margin-bottom:1px;
  margin-right:3px;
  vertical-align: middle;
}

.form-element:last-child {
  margin-bottom: 10px ;
}

div.form-element:only-child {
  margin-bottom: 10px ;
}



.form-element label {

  float:left;
  padding-right: 10px;
  text-align: right;
  /*font-weight: bold;*/
  width: 125px;
  box-sizing: border-box;
  overflow:hidden;
  display: inline-block;
  line-height: 35px;

}

.form-element input, textarea, select {

  border:none;
  padding: 10px;
  width : 65%;
  /*background: transparent;*/
  font-family: inherit;
  font-size: inherit;
  color:inherit;
  box-sizing: border-box;
  outline:none;
  height: inherit;

}

/*input[type=time]{
  padding-top:4px;
}*/

.form-element select {
  /*padding-top:9px;*/
  /*background: red;*/
}


.form-element textarea {
  resize:none;
  width: inherit;
  height: inherit;
  overflow-y: scroll;

}

.form-element img{

  padding:0;
  display:block;
  max-width: 100%;
  max-height: 100%;
  /*width:auto!important;*/
  height:auto!important;
  margin:auto;

}

.form-element:focus-within {
  box-shadow: inset 0 0 1px #d18537;
}

.v-form-buttonbar {
  padding: 0;
  margin:0;
  height: fit-content;
  width:fit-content;
  background-color: transparent;
  display: flex;
  flex-direction: row;
}

.v-form-buttonbar-rev {
  padding: 0;
  margin:0;
  height: fit-content;
  background-color: transparent;
  display: flex;
  flex-direction: row-reverse;
}

.v-form-buttonbar button {
  min-width:35px;
  height:35px;
  padding:5px;
}

.v-form-buttonbar-rev button {
  min-width:35px;
  /*margin-left:3px;*/
  height:35px;
  padding:5px;
}

.v-form-buttonbar button:last-child {
  margin-right:0px;
}

.v-form-buttonbar button:first-child {
  margin-right:0px;
}

.v-form-buttonbar-rev button:last-child {
  margin-left: 0px;
  margin-right: 3px;
}

.v-form-buttonbar-rev button:first-child {
  margin-right:0px;
}

.v-form-draghandle {
  width: 30px;
  height: 30px;
  padding: 3px;
  right: 5px;
  position: absolute;
}


.borderless{
  border-width: 0px 1px 0px 0px !important;
}

#preview{
  z-index: 10000;
}

.labels {
  height: 20px;
  width: 100%;
  background: blue;

}

label{
  margin: 0;
  padding: 0;
}

.simplebutton{
  width:100%;
  max-width:200px;
  height: 35px;
  padding: 8px;
  margin-bottom:10px;
}

.simplebutton i {
  font-size: 15px;
}

.iconbutton{
  height: 35px;
  width: 35px;
  padding: 7px;
  position:absolute;
  right:0px;
}

.iconbutton i {
  /*font-size: 19px;*/
}

.mdi {
  font-size: 21px;
  top:-5px;
  left:-1px;
  position:relative;
}

.formbutton {
  margin: 0px;
  /*margin-left: px;*/
}

.lb {
  height: 19px;
  font-size: 12px;
  padding: 2px 8px 2px 8px;
  position: relative;
  top: -3px;
}

.flexrow{
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.flexrow-gap{
  gap:3px;
}

.flexrowreverse{
  display:flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

.toggleoff{
 background-color:var(--light);
 border-color: var(--light);
 color:var(--secondary);
}

.upload-area{
    margin-bottom: 10px;
    margin-left: -5px;
    margin-right: -5px;
    text-align: center;
    overflow: auto;
}

.upload-area:hover{
    cursor: pointer;
    background-color: #f5f6f8;
}

.upload-area p {
    font-size:20px;
    text-align: center;
    font-weight: normal;
    color:#6c757d;
}

.upload-area i {
    padding-top:20px;
    font-size:30px;
}

#file{
    display: none;
}

.formfieldicon{

  padding: 8px 7px 7px 8px;

  border-style:solid;
  border-width: 0px 0px 0px 1px;
  border-color: white;
  /*height: 35px;*/
  /*width: 35px;*/
  /*background: white;*/
  /*position:relative;*/
  /*top: 8px;*/
  float: right;
}

.formfieldicon i {
  color:#276e82;
  font-size: 19px;
  width:19px;
  text-align: center;
}

#sortable li{
  border: none;
}

.draghandle{
  background-color:#b8b8b8;
  width:35px;
}

.draghandle:hover{
  background-color:#f2f2f2;
}


.sortable-placeholder {
  border: 2px dashed #ccc;
  background-color: rgba(200, 200, 200, 0.2);
  width: 10%;
  height: inherit; 
  margin: 5px 0;
}

.dragging {
  opacity: 0.7;
  background-color: rgba(0, 123, 255, 0.2); /* Highlight dragged button */
}


.galitem {
  display: block;
  width: auto;
  height: 100%;
}

.listimage {
  width:35px;
  height:35px;
  object-fit: contain;
  object-position: 50% 50%; /* default value: image is centered*/
  /*object-position: 0 0; /* positioned top left of the content box */
}

.formimage {
  object-fit: contain;
  object-position: 50% 50%; /* default value: image is centered*/
  /*object-position: 0 0; /* positioned top left of the content box */
}

.lightgraybtn {
  background-color: #e5e5e5;
}

.lightgraybtn:hover {
  background-color: #e5e5e5;
}


.whitebtn {
  background-color: #fff;
  box-shadow:none;
}

.whitebtn i{
  color: #276e82;
}

.whitebtn:hover {
  background-color: #fff;
}

.transparentbtn {
  background-color: transparent;
  cursor: default;
}

.transparentbtn i{
  color: transparent;
}

.transparentbtn:hover {
  background-color: transparent;
}

.one_button_width{
  width: 35px;
}

.highlighted{
  background-color: silver;
}

.imgdiv{
  float: right;
  height: auto;
}

.marker-pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: #c30b82;
  position: absolute;
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin: -15px 0 0 -15px;
}

.marker-pin::after {
    content: '';
    width: 24px;
    height: 24px;
    margin: 3px 0 0 3px;
    background: #fff;
    position: absolute;
    border-radius: 50%;
 }

.custom-div-icon i {
   position: absolute;
   width: 22px;
   font-size: 22px;
   left: 0;
   right: 0;
   margin: 10px auto;
   text-align: center;
}

.custom-div-icon i.awesome {
   margin: 12px auto;
   font-size: 17px;
}

.traccar-marker-dot {
  width: 10px; /* Width of the dot */
  height: 10px; /* Height of the dot */
  border-radius: 50%; /* Makes the div circular */
  background-color: #28B463; /* Dot color */
  border: 1px solid #82E0AA; 
}

.noti-scroll {
  height:inherit!important;
  overflow-y: scroll;
}

.grid-div {
  margin-left:-5px;
  margin-right:-5px;
  gap:3px;
  /*display:grid;*/
}

.table td {
  padding: .45rem;
}

.table td:last-child {
  padding-right: 0;
}

.table td:first-child {
  padding-left: 0;
}

.table th {
  padding: .45rem;
}

.table th:last-child {
  padding-right: 0;
}

.table th:first-child {
  padding-left: 0;
}

.ui-front{
  z-index: 1060!important;
}

.swal2-select{
  border: solid;
  border-radius: 5px;
  border-width:thin;
  border-color:lightgrey;
}

.plupload_container{
  min-height: 210px;
}

.plupload_content{
  top: 0px;
  bottom: 0px;
  width: inherit;
  border: 0;

  margin-right: -5px;
  margin-left: -5px;
  border-radius: 3px;
}

.plupload_wrapper{
  font: normal 12px Montserrat;
  line-height: 18px;
}

.plupload_button{
  color: #fff;
  background: #188ae2 url('...');
  border:0;
  padding: 5px 8px 5px 8px;
}

.plupload_filelist_header{
  background: #f5f6f8;
}

.plupload_filelist_footer{
  background: #f5f6f8;
  height: 32px;
}

.plupload_filelist{
  background: #fbfcfd!important;
}

.plupload_scroll{
  height: 145px;
  background: #fff;
}

.plupload_disabled{
  color: #fff;
  background: #cccccc url('...');
}

.plupload_disabled a.plupload_disabled:hover{
  color: #eeeeee;
  background: #dddddd url('...');
}

input[type="time"]::-webkit-calendar-picker-indicator{
  background: none;
  display:none;
}

.input-group>.input-group-prepend>.btn{
  min-width:35px;
  height:35px;
  margin-right: 0;
}

.input-group>.input-group-append>.btn{
  min-width:35px;
  height:35px;
  margin-right: 0;
}

.input-group>.input-group-append>.btn-searchfield-sort {
  padding: 0px;
  min-width: 22px;
  border-width: 2px 2px 2px 0px;
}


/* Grid Row: Ensure the row layout is proper and buttons are aligned */
.grid-row {
  position: relative;
  display: flex;
  width: 100%;
  gap: 3px; /* Space between buttons */
  margin-bottom:3px;
}

/* Grid Button: Allow buttons to take equal space within the row */
.grid-button {
  position: relative;
  flex: 1; /* Each button takes equal space */
  display: flex;
  align-items: normal; /* Vertically center the content */
}

/* Ensure buttons fill the available space */
.grid-button button {
  width: 100%;
}

/* Remove margin for the last button */
.grid-row button:last-child {
  margin-right: 0;
}

/* Edit Row: Display it to the right of each button */
.grid-button-editmode {
  display: flex;                /* Align icons in a row */
  justify-content: center;      /* Center the icons horizontally */
  gap: 10px;                    /* Space between icons */
  padding: 5px;                 /* Add padding for aesthetics */
  background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent background */
  border-radius: 5px;           /* Rounded corners for the edit row */
  position: absolute;           /* Position relative to the button */
  right: 3px ;                 /* Move the editrow to the right side of the button */
  top: 18px;                     /* Vertically center relative to the button */
  transform: translateY(-50%);  /* Adjust vertical alignment */
  visibility: hidden;           /* Initially hidden */
  z-index: 10;                  /* Ensure it's above other elements */
}

/* Show the editrow when hovering on the button */
.grid-button:hover .grid-button-editmode {
  visibility: visible;          /* Make visible on hover of the parent button */
}

/* Editrow Icons */
.grid-button-editmode i {
  width:18px;
  font-size: 16px;              /* Icon size */
  color: #333;                  /* Default icon color */
  transition: color 0.3s ease;  /* Smooth hover color transition */
  cursor: pointer;              /* Ensure icons show pointer cursor */
}

/* Change icon color on hover */
.grid-button-editmode i:hover {
  color: #ff0000;               /* Highlight icon on hover (e.g., red) */
}

.grid-button-hidden button {
  opacity: 0;
  pointer-events: none;
}













.selectizeinput {
  min-height:35px;
  height:fit-content;
}

.signature-pad {
  border: solid 2px var(--secondary);
  border-radius: 5px;
  background-color: var(--light);
  margin-left:-3px;
}




.v-flexible-structure {
  margin-left:-5px;
  margin-right:-5px;
  margin-bottom:5px;
  /*overflow-x: auto;*/
}

.v-flexible-structure label {
  margin: 5px 4px 2px;
}


.v-imageurl {
  max-width: 100%;
  max-height: 100%;
}


.imageurl-overlay {
  /*position: relative;*/
}

.imageurl-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  text-align: center; /* Optional: Center-align the text horizontally */
  background-color: rgba(0, 0, 0, 0.5); /* Optional: Add a background color to the overlay */
  color: white; /* Optional: Set the text color */
  padding: 10px; /* Optional: Add padding around the text */
}


.btn-light {
  color:var(--secondary);
}

.ql-container {
  height: unset;
  font-size: 0.9rem;
  font-family: unset;
}

/*.modal-body {
  max-height: calc(100vh - 185px);
  overflow: auto;
}*/

.modal-body-scrollable {
  max-height: calc(100vh - 185px);
  overflow: auto;
}


.selectize-control.multi .selectize-input.has-items {
  padding: 4px 8px 2px !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
  background-color:var(--light);
  cursor: default
}


.frappegantt-task-red .bar {
  fill: red!important;
}

.frappegantt-task-normal .bar {
  fill: #4682b4!important; /* Default color for normal tasks */
}



#fileProgressContainer {
  width: 100%;
  background-color: #f3f3f3;
  border: 1px solid #ccc;
  position: relative;
  height: 30px;
}

#fileProgressBar {
  height: 100%;
  text-align: center;
  position: relative;
  transition: width 0.2s;
  padding-right:10px;
  padding-left:10px;
}

#fileProgressText {
  font-weight: bold;
  font-size: 14px;
  position: absolute;
  left: 50%;
  transform: translateX(-70%);
  color: white;
}

.contenteditable {
  display:block;
  height:fit-content;
}


input[readonly]:not(.asbutton) {
  /*pointer-events: none;*/
  cursor: auto;
}


/*
input[type="color"].form-control.reginput {
  padding: 0 !important;
}*/

#ui-lock {
  display: none; /* Hide it initially */
}

/* Disable input, textarea, and select except those with .asbutton */
.ui-locked input:not(.asbutton),
.ui-locked textarea:not(.asbutton),
.ui-locked .select2-container,
.ui-locked select:not(.asbutton) {
    pointer-events: none; /* Prevent typing */
    background-color: var(--light); /* Optional: Grey out fields */
}

.ui-locked .select2-selection {
  background-color: var(--light);
}

/* Allow clicking on elements with .asbutton */
.ui-locked input.asbutton,
.ui-locked textarea.asbutton,
.ui-locked select.asbutton {
    pointer-events: auto;
}

/* Disable dragging */
.ui-locked [draggable="true"] {
    pointer-events: none;
    user-select: none;
}

/* Disable dragging */
.ui-locked [draggable="true"] {
  pointer-events: none;
  user-select: none;
}

/* Disable contenteditable elements */
.ui-locked [contenteditable="true"] {
    pointer-events: none; 
    user-select: none;
    opacity: 0.7; /* Optional: Make it visually disabled */
}

/* Toolbar container styles */
#bookmark-toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background-color: #3d3b35;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 10000;
  overflow-x: auto;
  white-space: nowrap;
}

/* Button styling within the toolbar */
#bookmark-toolbar button {
  display: inline-block;
  background-color: transparent;
  border: none;
  color: var(--light);
  padding: 6px 6px;
  margin: 0 10px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 0px;
  transition: background-color 0.3s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
}

#bookmark-toolbar button:hover {
  background-color: var(--secondary);
  color: white;
}


.modal-shadow {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

body.allow-background-interaction {
  overflow: auto !important;
}

.border-1 { border-width: 1px !important; }
.border-2 { border-width: 2px !important; }
.border-3 { border-width: 3px !important; }
.border-4 { border-width: 4px !important; }
.border-5 { border-width: 5px !important; }
.border-6 { border-width: 6px !important; }
