html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Roboto, 'Segoe UI', Helvetica, Arial, sans-serif;
  /*background: #f9fbfb;*/
}

/* VALHEIMTOOLS */
header {
  background: /*url(/img/bg-texture.jpg)*/ #242d31;
}

.category-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 5px 12px;
  color: #fff;
  background: #5b5959;
  text-decoration: none;
  min-width: 90px;
  justify-content: center;
  font-size: 12px;
  text-align: center;
  line-height: 1.15;
}
.category-tab-item:nth-child(2) {
  background: #4ca881;
}
.category-tab-item:nth-child(3) {
  background: #db9d0a;
}
.category-tab-item:nth-child(4) {
  background: #527cbd;
}
.category-tab-item:nth-child(5) {
  background: #7b52bd;
}
.category-tab-item:nth-child(6) {
  background: #52a4bd;
}

.category-tab-item.active {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.category-tab-item > i {
  font-size: 1.3rem;
  margin-bottom: 4px
}

.code-block {
  border-radius: 5px;
  border: 1px solid var(--bs-gray-400);
  padding: 10px 15px 0px;
  background:  var(--bs-gray-100);
}
[data-bs-theme="dark"] .code-block { 
  background:  var(--bs-gray-800);
    border: 1px solid var(--bs-gray-600);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    line-height: 80px;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
    line-height: inherit;
}

.button-copy {
  position: absolute; 
  top: 0.5em; right:0.75em;
  border: 1px solid var(--bs-gray-400);
  background:  var(--bs-gray-100);
  width: 1.75em;
  height: 1.75em;
  border-radius: 5px;
  line-height: 1.6em;
  text-align: center;
  cursor: pointer;
}
.button-copy:hover {
  background:  var(--bs-primary-bg-subtle);
  border: 1px solid var(--bs-primary-bg-subtle);
}
[data-bs-theme="dark"] .button-copy {
  background:  var(--bs-gray-900);
  border: 1px solid var(--bs-gray-700);
  color: var(--bs-secondary);
}
[data-bs-theme="dark"] .button-copy:hover {
  background:  var(--bs-gray-800);
  border: 1px solid var(--bs-gray-600);
  color: var(--bs-light);
}
/* VALHEIMTOOLS - END */





.wrapper {padding: 0px 44px 10px;}

.content-wrapper {
  position: absolute;
  left: 220px;
  right: 0;
  top: 0;
  bottom: 0;
}

.main-menu {
  background: var(--bs-secondary-bg-subtle);
  color: #000;
  width: 220px;
  position: absolute;
  top: 0;
  left: 0;
  /*! box-shadow: 0 0 15px #0000001c; */
  z-index: 2;
}
.main-menu ul,
.main-menu li {
  padding: 0;
  margin: 0;
  list-style: none;
  text-overflow: ellipsis;
  overflow: hidden;
  display: block; /*white-space: nowrap;*/
  width: 100%;
  /*! padding: 0 5px; */
}
.main-menu li {margin: 0 0 1px;}
.main-menu li a {
  display: block;
  font-size: 0.85em;
  color: var(--bs-secondary-color);
  text-decoration: none;
  padding: 12px 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: 0.25s;
  /*! border-radius: 4px; */
  font-weight: 600;
}
.main-menu li a:hover,
.main-menu li a.active {
  color: var(--bs-body-color);
  /*font-weight: 700;*/
  background: var(--bs-body-bg);
  /*! border-left: 3px solid; */
}
.main-menu li.nav-divider {
  display: block;
  font-size: 0.7em;
  color: #d3cfff;
  text-decoration: none;
  padding: 11px 20px;
  text-transform: uppercase;
  font-weight: bold;
  /*! border-bottom: 1px solid #edf8ff;*/
  /*! margin-bottom: 11px; */
}
.main-menu li.level-2 a {
  padding-left: 2.5em;
}

.main-header {
  padding: 0 0 13px;
  /*! font-weight: bold; */
  /*! font-size: 1.2em; */
  text-align: center;
  /*background: linear-gradient(#4a5966, #636b73);*/
}

.content-list ul,
.content-list li {
  padding: 0;
  margin: 0;
  list-style: none;
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
  white-space: nowrap;
  width: 100%;
}
.content-list ul {
  padding-bottom: 30px;
}

.content-list {
  width: 400px;
  position: absolute;
  top: 0;
  left: 0;
  background: #f1f4f6;
  /*! box-shadow: 0 0 15px #0000001c; */
  z-index: 1;
}
.main-content {
  width: calc(100% - 400px);
  position: absolute;
  top: 0;
  right: 0;
  background: #f4f4f4;
}
.main-menu,
.content-list,
.main-content {
  overflow: auto;
  height: 100%;
  padding: 0;
}
.main-menu li a { position: relative; padding-left: 52px;}
.main-menu i.sidemenu-icon {
    text-align: center;
    width: 34px;
    height: 34px;
    line-height: 34px;
    position: absolute;
    left: 12px;
    top: 50%;
    margin-top: -17px;
    font-size: 1.5rem;
    opacity: .5;
    transition: color 300ms;
}

@media (max-width: 1920px) {
  .main-menu {
    width: 100px;
    font-size: 0.9em;
  }
  .content-wrapper {
    left: 100px;
  }
  .main-menu li a,
  .main-menu li.nav-divider,
  .main-menu li.level-2 a {
    padding: 1em;
    text-align:center;
  }
  .main-menu i.sidemenu-icon {
    display:block;
    position: static;
    margin:0 auto;
  }
}

.field {
  position: relative;
  padding-top: 1.2em;
  margin-bottom: 0.25em;
  padding: 1.2em 0.2em 0.2em 0.2em;
}
.field label {
  position: absolute;
  top: 0;
  left: 0.2em;
  font-size: 0.8em;
  color: #707070;
}
.field label.inline {
  position: static;
  font-size: 1em;
  padding: 0.25em 0;
  display: inline-block;
}
.field label.required::after {
  content: ' *';
  color: #ce0000;
}
/*
.field input[type='datetime'],
.field input[type='search'],
.field input[type='number'],
.field input[type='text'],
.field input[type='date'],
.field input[type='time'],
.field input[type='email'],
.field select,
.field textarea {
  width:100%;
  background: #fff;
}

input[type='file'],
input[type='datetime'],
input[type='search'],
input[type='number'],
input[type='text'],
input[type='date'],
input[type='time'],
input[type='email'],
select,
textarea {
  padding: 4px;
  
  border: 1px solid #dfdfdf;
  min-height: 2.1em;
}
*/

/*
.card .dt-button,
.btn {
  padding: 8px 12px;
  background: #0B9F17;
  color: #fff !important;
  text-decoration: none;
  display: inline-block;
  border: 0;
  font-size: 17px;
  cursor: pointer;
  transition: 0.2s;
  border-radius: 10px;
}
.card .dt-button:hover,
.card .dt-button:active,
.btn:hover, 
.btn:active {
  background: #1DBB2A !important;
  border: 0;
  color: #fff;
  text-decoration: none;
}
*/

.action-btn {
	color: #555;
  border: 0;
	text-decoration: none;
	font-size: 20px;
	display: inline-block;
	margin: 0 0 0 0.2em;
}
.action-btn:hover{
  color: #000;
}
.action-btn-danger {
	color: #ca0000;
  border: 0;
	text-decoration: none;
	font-size: 20px;
	display: inline-block;
	margin: 0 0 0 0.2em;
  
}
.action-btn-danger:hover{
  color: #a00000
}


.header {
  /*! background: rgb(255, 255, 255); */
  padding: 21px 44px 15px;
  /*! border-bottom: 1px solid #d0d5d9; */
  color: var(--bs-secondary-color);
  font-size: 20px;
  /*! text-transform: uppercase;*/
  font-weight: 600;
  /*! border-radius: 3px; */
}
.header select {
  font-size: 0.8em;
  width: auto;
  float: right;
  padding: 2px;
  min-height: 0;
}

.wrapper .header {
  margin-left: -44px;
  margin-right: -44px;
}

.subheader {
  clear: both;
  margin: 1.5em 0 1em;
  overflow: hidden;
  float: left;
  width: 100%;
  color: #fff;
  background: #a7c5ce;
  padding: 0.2em 0.5em;
  border-bottom: none;
}

.content-list ul li {
  margin-bottom: 1px;
  /*! min-height: 18px; */
}
.content-list ul li a {
  position: relative;
  font-size: 0.85em;
  display: block;
  padding: 5px 10px 5px 10px;
  border-bottom: 1px solid #bdc5cf;
  color: #000;
  text-decoration: none;
  min-height: 2.15em;
}

.content-list ul li a:hover,
.content-list ul li a.selected {
  background: #bdc5cf;
}
.content-list .col-headers {
  color: #8a939f;
  font-size: 0.7em;
  display: block;
  padding: 5px 10px 5px 10px;
  border-bottom: 1px solid #bdc5cf;
  text-transform: uppercase;
}

.list-language {
  display: inline-block;
  overflow: hidden;
  background: #888888;
  width: 2em;
  height: 1.6em;
  text-align: center;
  line-height: 1.5;
  text-transform: uppercase;
  font-size: 0.75em;
  color: #fff;
}

.list-date {
  display: inline-block;
  overflow: hidden;
  background: #888888;
  width: 6em;
  height: 1.6em;
  text-align: center;
  line-height: 1.5;
  text-transform: uppercase;
  font-size: 0.8em;
  color: #fff;
}

.list-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  position: absolute;
  left: 14px;
  right: 76px;
  top: 3px;
}
.list-title .list-language {
  vertical-align: bottom;
}


.list-stats {
  position: absolute;
  right: 10px;
  background: #888;
  color: #fff;
  font-size: 0.8em;
  padding: 1px 3px;
  line-height: 1.5;
}

.list-order {
  display: inline-block;
  overflow: hidden;
  width: 3em;
  height: 2em;
  text-align: center;
  line-height: 1.9em;
  text-transform: uppercase;
  font-size: 0.9em;
  color: #666;
  vertical-align: middle;
}

.list-order.short {
  height: auto;
  line-height: 1.5;
  vertical-align: top;
}
.list-thumb {
  vertical-align: middle;
  width: 3em;
  height: 3em;
  display: inline-block;
  background-size: cover;
  background-position: center;
}
.list-order + .list-title {
  left: 55px;
}
.list-thumb + .list-title {
  top: 14px;
  left: 100px;
}
.list-date + .list-thumb + .list-title {
  left: 130px;
}

.status-3 .list-stats,
.unpublished .list-stats {
  background: #ca4646;
}

.status-1 .list-stats,
.published .list-stats {
  background: #46ca9b;
}
.status-2 .list-stats,
.scheduled .list-stats {
  background: #e89b49;
}

.pill-input {
  margin-bottom: 5px;
}
.pill-input input {
  width: calc(100% - 40px);
}
.pill {
  padding: 4px 0;
  width: 40px;
  color: #999;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  font-size: 0.8em;
}

.language-switcher a {
  color: #fff;
  text-decoration: none;
}
.language-switcher a.active {
  font-weight: bold;
}
.language-switcher {
  font-weight: normal;
  font-size: 14px;
  margin-bottom: 10px;
}
.main-logo {
  padding: 15px 0;
  color: #9cead4;
  font-weight: 600;
  background: #5a9189;
}
.main-profile {
  align-content: center;
  /*margin-left: auto;*/
}

.main-profile .username {
  font-weight: bold;
  font-size: 1.2em;
}
.main-profile .role {
  display: block;
}
.main-profile a .bi {
  margin-right:0.4em;
}

/* dragula js */
.gu-mirror {
  position: fixed !important;
  margin: 0 !important;
  z-index: 9999 !important;
  opacity: 0.8;
  -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=80)';
  filter: alpha(opacity=80);
  list-style: none;
}
.gu-hide {
  display: none !important;
}
.gu-unselectable {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}
.gu-transit {
  opacity: 0.2;
  -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=20)';
  filter: alpha(opacity=20);
}


/* refresh ui */

/*
.card {
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  word-wrap:break-word;
  background-color:#fff;
  background-clip:border-box;
  border:1px solid rgba(26,54,126,0.125);
  border-radius:.25rem
 }
.card {
  box-shadow: 0 0.46875rem 2.1875rem rgba(4,9,20,0.03),0 0.9375rem 1.40625rem rgba(4,9,20,0.03),0 0.25rem 0.53125rem rgba(4,9,20,0.05),0 0.125rem 0.1875rem rgba(4,9,20,0.03);
  border-width: 0;
  transition: all .2s;
}
.card-header {
  margin-bottom: 18px;
  padding: 12px 24px;
  border-bottom: 1px solid #ddd;
  color: #808e9d;
}
.card.wrapper .card-header {
  margin: -24px;
  margin-bottom: 18px;
}

.widget-content {
  padding:1rem;
  flex-direction:row;
  align-items:center
 }
 .widget-content .widget-content-wrapper {
  display:flex;
  flex:1;
  position:relative;
  align-items:center
 }
 .widget-content .widget-content-left .widget-heading {
  opacity:.8;
  font-weight:bold
 }
 .widget-content .widget-content-left .widget-subheading {
  opacity:.5
 }
 .widget-content .widget-content-right {
  margin-left:auto
 }
 .widget-content .widget-numbers {
  font-weight:bold;
  font-size:1.8rem;
  display:block
 }
*/

.page-title-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  align-content: center;
  text-align: center;
  padding: .83333rem;
  margin: 0 30px 0 0;
  background: #fff;
  box-shadow: 0 0.46875rem 2.1875rem rgba(4,9,20,0.03),0 0.9375rem 1.40625rem rgba(4,9,20,0.03),0 0.25rem 0.53125rem rgba(4,9,20,0.05),0 0.125rem 0.1875rem rgba(4,9,20,0.03);
  border-radius: .25rem;
  width: 60px;
  height: 60px;
}


.log {
  background: #eee;
  overflow-y: scroll;
  padding:1em;
  max-height: 36em;
}

/* Tab stripe */
.tab {
  border-bottom:1px solid #e0e3e6;
  background: #fff;
  border-top: 1px solid #e0e3e6;
  display:flex;
}

.tab a {
  display: block;
  padding: 9px 1em 9px;
  text-decoration: none;
  color: #808e9d;
  border-right: 1px solid #e0e3e6;
  position: relative;
}

.tab a:hover,
.tab a.active {
  color: #808e9d;
}
.tab a::after {
  content: "";
  width:0;
  position: absolute;
  bottom: 0; left:0;
  height: 3px;
  transition: 0.25s;
}
.tab a:hover::after,
.tab a.active::after{
  background: #009ed2;
  width: 100%;
}

/* Tab alt */
.tab-1 {
  padding:0 24px;
  border-bottom:1px solid #c0c8cf;
   margin-top: 12px;
}

.tab-1 a {
  display:inline-block;
  padding: 5px 1em 5px;
  border:1px solid #c0c8cf;
  border-bottom: 1px solid transparent;
  /*! border-bottom:1px solid #e3e7ea; */
  background: #e3e7ea;
  text-decoration: none;
  position: relative;
  border-radius: 3px 3px 0 0;
  /*! background: #c3cbd2; */ color: #808e9d;
  /*! border-bottom: 3px solid #dadcdd; */
  bottom: -1px;
}

.tab-1 a:hover,
.tab-1 a.active {
    padding: 4px 1em 6px;
  color: #808e9d;
  background: #f1f4f6;
  z-index: 1;
  /*! background: #fff; */ /*! color: #009ed2; */
  border-top: 3px solid #009ed2;
  /*! font-weight: bold; */
  /*! font-size: 0.9em; */

  border-bottom: 1px solid #f1f4f6;
}

a i[class*=pe-7s],
button i[class*=pe-7s]{
  font-size:1.4em;
  line-height: 0;
  vertical-align: sub;
  margin-right:4px;
}

.flatpickr-current-month { padding:0 !important;}

.bg-green,.bg-yellow,.bg-red { color:#fff;}
.bg-gray { background-color: #b3b3b3;}
.bg-green { background-color: rgb(17, 218, 17);}
.bg-yellow { background-color: rgb(255, 208, 0);}
.bg-red { background-color: rgb(236, 47, 13);}
.circle { border-radius: 100%;}

.text-muted { color: #808e9d; }
.text-left { text-align:left;}
.text-center { text-align:center;}
.text-right { text-align:right;}


.dataTable  .dt-body-right {
  text-align: right !important;
}

.slim-title { font-size: 1.25em; font-weight: 300; }

table th {font-size: 11px;}
table.dataTable tbody td {
  padding: 8px 10px;
}
table a {
  text-decoration: none;
}

.action-col {
  padding: 0 10px 0 0 !important;
  vertical-align: middle;
  text-align: right;
}

/* ddt status icons */
.stato-notes,
.stato-accountantnotes,
.stato-missing,
.stato-defects { margin: 0 2px;}

.stato-notes { color: cornflowerblue}
.stato-accountantnotes { color: blueviolet }
.stato-missing { color:lightcoral}
.stato-defects { color:orange }

/* fix chosen*/
.chosen-container {
  max-width: 100%;
}

/*
table.table.dataTable > tbody > tr.selected > * {
  box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.19) !important;
}*/

/* boxed version*/
html {background-color: #cfd3d5;}
body {
  max-width: 2560px;
  margin: 0 auto;
  position: relative;
}

/* theme slector */
.theme-selector  { margin-left: auto; height:100%; align-self: center; }
.theme-selector .bi { width: 1.15em; height: 1.15em; fill: currentColor; }
.theme-selector .nav-link { color: #fff; }

/* misc */
.pane-title {
  position: sticky;
  top: 0;
  background: var(--bs-body-bg);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: bold;
  /*color: var(--bs-secondary-color);*/
  padding: 3px 0;
  border-bottom: 1px solid var(--bs-border-color);
}

.related-list a {
	text-decoration:none;
	background: var(--bs-dark-bg-subtle);
	color: var(--bs-secondary-text-emphasis);
	padding: 3px 6px;
	border-radius: 3px;
  margin-bottom: 4px;
  display: inline-block;
}
.related-list a:hover {
	color: var(--bs-text-body);
}
.related-list a > i {margin-right: 2px;}

#description {position: relative;}
#btnFormatCycle {
	position: sticky;
	top: 16px; right:5px;
	padding: 1px 5px;
	font-size: 0.75em;
	min-width: 60px;
	text-align:left;
}
#btnFormatCycle:before { margin-right:5px }

.markdown-body code.field-format {
    cursor: pointer;
    color: #036eae;
}
[data-bs-theme="dark"] .markdown-body code.field-format {
  color: #de841f;
}

/* alt tabs */
.nav-tabs .nav-link {
    border:0;
    color: var(--bs-secondary-color);
    padding:5px 15px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: var(--bs-nav-tabs-link-active-color);
    background-color: transparent;
    border:0;
    border-bottom: 2px solid;
    border-color: var(--bs-primary);
}