/* ==========================================================================
   Stylesheet for index.ascx (Tax Glossary)
   v 1.1 JNA: bulletlist changed to normal links
   v 1.2 JNA: UL fix based on Kia input
   v 1.3 JNA: ul.index chng
   ========================================================================== */
/*///////////////////////// opsætning af siden */
.t-col {
  display: block;
  width: auto;
}
div.skts-col-1-3 {
  display: none;
}
/*///////////////////////// ordbogen */
.skts-col-2-3 h1.captionTitle {
  text-align: center;
}
.ordbog {
  margin-top: 2em;
}
.ordbog > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
  display: flex;
}
a.selectIndex,
a.selectIndex:active,
a.selectIndex:hover {
  background: #14143c;
  border-top: 1px solid #14143c;
  border-left: 1px solid #14143c;
  border-bottom: 1px solid #14143c;
  color: white;
  text-decoration: none;
  text-align: center;
  position: relative;
  display: inline-block;
  flex-grow: 1;
  line-height: 2.9em;
}
a.selectIndex::after {
  content: "";
  background: #14143c;
  width: 0.5em;
  height: 0.5em;
  position: absolute;
  bottom: -0.25em;
  left: calc(50% - 0.29em);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
a.unselectIndex {
  flex-grow: 1;
  text-align: center;
  border-top: 1px solid #14143c;
  border-left: 1px solid #14143c;
  border-bottom: 1px solid #14143c;
  text-decoration: none;
  line-height: 2.9em;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
a.unselectIndex:hover {
  color: white;
  background: #14143c;
  text-decoration: none;
}
a.unselectIndex:last-of-type,
a.selectIndex:last-of-type {
  border-right: 1px solid #14143c;
}
.ordbog > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > span {
  display: none;
}
#ctl24_BulletedList1 > li {
  color: #14143c;
  list-style-type: none;
  text-decoration: underline;
}
.ordbog > div:nth-child(1) {
  border: none !important;
}
#ResultId {
  /*border: 1px solid;*/
  background: #dedede;
}
#container #ResultId table td,
#container #ResultId table th {
  padding: 2em;
}
.indexTable > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(1)::before {
  content: "Opdateret:";
  display: inline-block;
  margin-right: 4px;
}
.indexTable > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(1) {
  font-style: italic;
}

.taxglossaryx {
  display: none;
}
.ordbog ul.index {
  padding-left: 0;
}
.ordbog ul.index > li.dictionary.taxglossary {
  padding-top: 0.5rem;
}

.ordbog ul.index > li.dictionary.taxglossary:first-child {
  clear: both;
}

.ordbog ul.index > li.dictionary.taxglossary > div {
  padding: 24px;
  margin: 1rem 0 2rem;
}
.ordbog ul.index > li {
  color: #14143c;
  list-style-type: none;
}

.ordbog ul.index > li.dictionary.taxglossary .taxglossaryx.active {
  display: block;
  border: 1px solid;
}

.ordbog ul.index > li.dictionary.taxglossary .taxglossaryx.active p,
.dictionary p {
  text-decoration: none;
}

@media only screen and (max-width: 959px) {
  .ordbog > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
    display: block;
  }

  a.selectIndex,
  a.selectIndex:active,
  a.selectIndex:hover,
  a.unselectIndex {
    width: calc(100% / 7);
    padding-top: calc(100% / 40);
    float: left;
    padding-bottom: calc(100% / 40);
    margin: 0 -1px -1px 0;
    border: 1px solid #14143c;
  }

  #ctl24_BulletedList1 {
    clear: both;
  }
}

@media only screen and (max-width: 400px) {
  a.selectIndex,
  a.selectIndex:active,
  a.selectIndex:hover,
  a.unselectIndex {
    width: calc(100% / 5);
  }
}

.bootstrap4 a.selectIndex,
.bootstrap4 a.selectIndex:active,
.bootstrap4 a.selectIndex:hover {
  background-color: #14143c;
  background: #14143c;
  border-top: 1px solid #14143c;
  border-left: 1px #14143c;
  border-bottom: 1px solid #14143c;
}
