/**
 * Copyright 2024-2025 Kronseder & Reiner GmbH, smartics
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/*
  --- simple ---
  Based on source: http://www.maxdesign.com.au/articles/definition/
*/
dl.simple {
  margin: 0;
  padding: 0;
}

dl.simple > dt {
  margin: 0;
  padding: 0;
  font-weight: bold;
}

dl.simple > dd {
  margin: 0 0 1em 0;
  padding: 0;
}

/*
  --- simple indent ...
 */
dl.simpleindent {
}

dl.simpleindent > dt {
  font-weight: bold;
}

dl.simpleindent > dd {
  margin-left: 1.6em;
}

/*
  --- simple indent as ul (quirk mode for word or PDF) ...
 */
ul.simpleindent {
  list-style-type: none;
}

ul.simpleindent > li > span.dt {
  font-weight: bold;
  display: block;
  clear: both;
}

ul.simpleindent > li > span.dd:before {
  /*    content:"\a";
      white-space: pre;*/
}

ul.simpleindent > li > span.dd {
  padding-left: 1.6em;
}

ul.simpleindent > li > ul {
  padding-left: 1.6em;
  list-style-type: none;
}

/*
  --- compact with colon as ul (quirk mode for word or PDF) ...
 */
ul.compactcolon {
  list-style-type: none;
}

ul.compactcolon > li > span.dt {
  font-weight: bold;
}

ul.compactcolon > li > span.dd:before {
  font-weight: bold;
  margin-left: -0.3em;
  content: ": ";
}

ul.compactcolon > li > span.dd {
}


/*
  --- meet ---
  Based on source: http://www.the-art-of-web.com/css/format-dl/
*/
dl.meet {
  padding: 0.5em;
}

dl.meet > dt {
  width: 150px;
  float: left;
  clear: left;
  text-align: right;
  font-weight: bold;
  color: #55585A;
}

dl.meet > dd {
  margin: 0 0 0 150px;
  padding: 0 0 0.5em 1em;
}

/*
  --- projectdoc-compact ---
*/
dl.projectdoc-compact {
  padding: 0;
}

dl.projectdoc-compact > dt {
  width: 6em;
  float: left;
  clear: left;
  text-align: right;
  font-weight: bold;
  color: #55585A;
}

dl.projectdoc-compact > dd {
  margin: 0 0 0 6.5em;
  padding: 0 0 0 0;
}

/*
  --- tabular ---
  Based on source: http://www.maxdesign.com.au/articles/definition/
*/
dl.tabular {
  width: 100%;
  margin: 1em 0;
  padding: 0;
  border-bottom: initial;
  float: left;
}

dl.tabular > dt {
  width: 150px;
  float: left;
  clear: left;
  margin: 0;
  padding: 5px;
  border-top: 1px solid darkgrey;
  font-weight: bold;
}

dl.tabular > dd {
  width: 300px;
  float: left;
  margin: 0;
  padding: 5px;
  border-top: 1px solid darkgrey;
}

/*
  --- todo ---
*/
dl.todo {
  width: 100%;
  margin: 1em 0;
  padding: 0;
  border-bottom: initial;
}

dl.todo > dt {
  width: 200px;
  float: left;
  clear: left;
  margin: 0;
  padding: 5px;
  border-top: 1px solid darkgrey;
  font-weight: bold;
}

dl.todo > dd {
  width: 33px;
  float: left;
  margin: 0;
  padding: 5px;
  border-top: 1px solid darkgrey;
}

/*
  --- margin ---
  Based on source: http://www.maxdesign.com.au/articles/definition/
*/
dl.margin {
  margin: 2em 0;
  padding: 0;
}

dl.margin > dt {
  position: relative;
  left: 0;
  width: 5em;
  top: 1.1em;
  font-weight: bold;
}

dl.margin > dd {
  margin: 0 0 0 6em;
  border-left: 1px solid #000;
  padding: 0 0 .5em .5em;
}

/*
  --- inline ---
*/
dt.inline {
  display: inline;
  margin: 0;
  float: left;
  font-weight: bold;
}

dt.inline:after {
  content: ":";
}

dt.inline:before {
  content: " |";
}

dd.inline {
  display: inline;
  margin: 0;
  float: left;
  color: lightgrey;
}

/* list format */
ul.projectdoc-compact {
  padding: 0;
  margin: 0;
}

/* list format */
ul.projectdoc-compact-inline {
  padding: 0;
  margin: 0 0.1em;
  display: inline;
}

.projectdoc-compact-buttons a.create-from-template-button {
  font-size: xx-small;
  padding: 1px;
  height: auto;
  vertical-align: text-top;
}

ul.projectdoc-compact-inline li,
ul.projectdoc-compact li {
  padding: 0;
  margin: 0 0.1em;
  list-style-type: none;
  display: inline;
}

/* list checkbox fix */
td.pd-document-property-value-cell div.pd-document-property-value ul.inline-task-list li {
  margin-left: 0;
  background-position: 0 1px;
}
