﻿/*gridview standard format*/
.table table tbody tr td a,
.table table tbody tr td span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    /*color: #337ab7;*/
    color: #eee;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.table table > tbody > tr > td > span {
    z-index: 3;
    /*color: #fff;*/
    color: black;
    cursor: default;
    /*background-color: #337ab7;*/
    /*border-color: #337ab7;*/
    background-color: #eee;
    border-color: #eee;
}

.table table > tbody > tr > td:first-child > a,
.table table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.table table > tbody > tr > td:last-child > a,
.table table > tbody > tr > td:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.table table > tbody > tr > td > a:hover,
.table table > tbody > tr > td > span:hover,
.table table > tbody > tr > td > a:focus,
.table table > tbody > tr > td > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}
/*end gridview */

/*dropdown submenu automatically shown*/
.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

/*Veravis: 23 APR 2025 SL: CIM21777: Allow to populate gvSAMPLE by using JavaScript*/
/* Apply sticky behavior to the first row */
.boshtable tr:first-child {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: center;
}
/* Veravis: 08 MAY 2025 SL: CIM21820: Changed colour of tables and buttons to green*/
/* Prevent text wrapping in all rows */
.boshtable td, .boshtable th {
  white-space: nowrap;
  text-align : center;
}
/*end dropdown submenu*/
.btn-primary {
  background-color: #66CC33;
  border-color: #66CC33;
  /*color: #fff;*/
}

/* Table header global */
.table th,
.table th a,
.table thead th,
.table thead th a {
  background-color: #66CC33;
  color: #fff !important;
  text-align: center;
}

/* special treatment for gvSAMPLE on NewEditRequest.aspx and gvXTableResults on XTableResults.aspx  */
.boshtable.gv-whiteheader > thead > tr > th,
.boshtable.gv-whiteheader > thead > tr > th a {
  color: #fff !important;
  background-color: #66CC33 !important;
}

.boshtable.gv-whiteheader > tbody > tr > td {
  color: #000 !important;
}

/* Spezielle Tabelle MainContent_gvSAMPLE – ohne <thead> */
#MainContent_gvSAMPLE tbody tr:first-child th {
  background-color: #66CC33 !important;
  color: white !important;
  font-weight: bold !important;
  text-align: center;
}

/* Veravis: 15 MAY 2025 SL: CIM21820: Changed colour of inactive buttons to light green*/
 /* Eigene Farbe für deaktivierte primäre Buttons */
.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary.disabled:hover {
  background-color: #99e066 !important; /* hellgrau */
  border-color: #99e066 !important;
  color: #ffffff !important;
  pointer-events: none;
  opacity: 1; /* optional, verhindert das ausgegraute Bootstrap-Standardverhalten */
}
  /* Hover-Zustand für aktive Buttons */
  .btn-primary:hover,
  .btn-primary:focus,
  .btn-primary:active,
  .btn-primary.active {
    background-color: #99e066 !important; /* etwas dunkler als #66CC33 */
    border-color: #99e066 !important;
    color: #ffffff !important;
  }

.lbl-activate-result {
  color: #66CC33; /* oder jede andere Farbe: grau, grün, blau */
  font-weight: bold;
}