@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('/css/iconfont.css');

body {
  margin: 0px;
  font-family: 'Noto Sans', sans-serif;
}

.topBar {
  background: rgb(48, 48, 48);
  color: white;
  display: block;
  font-family: "Noto Sans";
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  padding-left: 25px;
  font-weight: 300;
}

.topBar > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topBar img {
  height: 16px;
  padding-right: 25px;
}

.content {
  padding: 25px;
  padding-top: 0px;
  position: relative;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border-left: 0px !important;
  border-right: 0px !important;
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  font-size: 13px;

}

th {
  white-space: nowrap;
}

td.quota {
  text-align: right;
}

table tr {
  position: relative;
}

table tr:hover {
  background: rgba(0,0,0,0.05) !important;
}

.stateIcon {
  width: 15px !important;
  height: 15px !important;
  top: 8px;
  background-size: 5.66px 5.66px;
  content: '';
  font-size: 13px;
  margin-left: auto;
  margin-right: auto;
}

.stateIcon[data-state="0"] {
	background: #ffb320;
}

.stateIcon[data-state="0.1"] {
	background-image: linear-gradient(45deg, #ffb320 25%, #b88311 25%, #b88311 50%, #ffb320 50%, #ffb320 75%, #b88311 75%, #b88311 100%);
	background-size: 5.66px 5.66px;
}

.stateIcon[data-state="1"] {
	background: grey;
}

.stateIcon[data-state="2"] {
	background: #29afe4;
}

.stateIcon[data-state="2.1"] {
	background-image: linear-gradient(45deg, #29afe4 25%, #0e7dad 25%, #0e7dad 50%, #29afe4 50%, #29afe4 75%, #0e7dad 75%, #0e7dad 100%);
	background-size: 5.66px 5.66px;
}

.stateIcon[data-state="3"] {
	background: #ff5d5e;
}

.stateIcon[data-state="5"] {
	background: #acd117;
}

.stateIcon[data-state="7"] {
	background: rgba(80, 89, 201, 1.000);
}

.stateIcon[data-state="99"] {
	background: #ec4f8e;
}

.stateIcon[data-state="991"] {
	background: rgb(138, 42, 80);
}


td.state {
  /* font-size: 0px; */
  text-align: center;
}

.state-warnings {
    margin-top: 4px;
    color: red;
}

.tableTop {
  height: 45px;
  margin-left: -25px;
  margin-right: -25px;
  background: rgba(0,0,0,0.05);
  font-size: 13px;
  padding-left: 25px;
  padding-right: 25px;
  border-bottom: 1px solid rgba(48, 48, 48, 0.228);
}

tr.running {
    background: rgb(233, 244, 233);
}

.tableTop,
.search {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dataTables_wrapper .dataTables_info {
  padding-top: 0px;
}

.dataTables_wrapper .dataTables_filter input {
  background: white;
}

.dataTables_filter label {
  margin-bottom: 0px !important;
}

#bakehouseTable {
  margin-top: 20px;
}

table.dataTable thead th, table.dataTable thead td {
  border-color: rgba(0,0,0,0.1);
}

td.extensions {
  min-width: 500px;
}

td.create {
    white-space: nowrap;
    word-break: keep-all;
}

.extensionswrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  min-width: 500px;
}


.extensionswrapper > div {
  display: inline-block;
  display: flex;
  flex-wrap: wrap;
}

.extensionswrapper > div:after {
  content: ', ';
}
.extensionswrapper > div:last-child:after {
  content: '';
}

td.edit a {
  font-size: 16px;
  text-decoration: none;
  color: black;
  opacity: 0.3;
}

tr:hover td.edit a {
  opacity: 1;
}

tr.extensionInstalled {
    background: rgba(0, 128, 0, 0.088);
}

td.extensionButtons {
    width: 20px;
}

td.extensionButtons .delete,
td.extensionButtons .install {
    opacity: 0.3;
    transition: 0.3s ease all;
}

td.extensionButtons .delete:hover,
td.extensionButtons .install:hover {
    opacity: 1;
}

.navigation {

    color: white;
}

.navigation a {
    color: white;
    border-left: 1px solid rgba(255,255,255,0.2);
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 16px;
    text-decoration: none !important;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 120px;
}

.navigation a i {
    padding-right: 10px;
    font-size: 20px;
}

.navigation a:hover {
    background: rgba(255,255,255,0.05);
}

td.date {
    white-space: nowrap;
}

.container:has(.installcard) {
    max-width: 1000px;
}

.custom-card-body {
    padding-top: 0.25rem; /* Adjust the padding value as needed */
    padding-bottom: 0.25rem;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
}

.custom-card-body:has(input:checked) {
    background: rgb(233, 244, 233);
}

.select2,
.select2 .selection,
.select2-container .select2-selection--single,
.select2-selection__rendered{
    height: 38px !important;
    line-height: 38px !important;
}

.select2-container--default .select2-selection--single  {
    border-color: rgb(206, 212, 218) !important;
}



.unicorn {
    width: 250px;
    position: fixed;
    left: calc(50% - 125px);
    bottom: -400px;
    transition: 3s ease-in;
}
.unicorn.start {
    bottom: calc(100vh + 500px);
}

.composerbatchupdate {
    position: absolute;
    top: 4px;
    width: 250px;
    left: calc(50vw - 125px);
    z-index: 100;
}

.composerbatchupdate button {
    width: 100%;
    text-align: center;
}

.navbar > .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link {
    text-align: center;
    width: 150px;
    border-left: 2px solid white;
}

.nav-item.show > .nav-link.dropdown-toggle {
    background-color: transparent;
}

.nav-link.dropdown-toggle::after {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    margin-left: 0;
    vertical-align: 0;
}

.dropdown-item {
    text-align: center;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #212529;
    background-color: transparent;
}

.nav-link * {
    display: block;
}

.nav-link i {
    font-size: 20px;
    margin-bottom: 3px;
}

.table .thead-dark th {
    background: white;
    color: rgb(24, 24, 25);
}

.navbar .count {
    border-radius: 100%;
    width: 30px;
    height: 30px;
    background: grey;
    color: white;
    position: absolute;
    top: 0px;
    right: 25px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.navbar .count.green {
    background: rgb(47, 160, 75);
}
.navbar .count.red {
    background: rgb(255, 65, 52) !important;
}


.nav-link {
    position: relative;
}

.btn i {
    line-height: 23px;
}

.subscriptionstate {
    position: relative;
}

.subscriptionstate > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    gap: 5px;
    line-height: 30px;
}

.doku {
    position: relative;
    font-size: 14px;
    margin-top: -5px;
    display: block;
}
