/* --- Typography ------------------------------------------------------------------------------------------------------- */

@font-face {
    font-family: 'CircularBook';
    src: url('../fonts/circular-400-book-webfont.woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CircularBold';
    src: url('../fonts/circular-700-bold-webfont.woff');
    font-weight: normal;
    font-style: normal;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #242424;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #242424;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #242424;
}


body {
font-family: 'CircularBook', 'Arial', sans-serif;
font-size: 1em;
line-height: 1.5em;
}

.wiki-content ul li {
  font-size: 1em;
}

.toc-macro {
    font-size: 1em !important;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'CircularBold', 'Arial', sans-serif;
color: #242424!important;
}

h1 {
	font-size: 1.75em;
    font-weight: 700;
}

.wiki-content h1 {
  margin-bottom: 2em;
}

h1, h2, h3, h4, .wiki-content h1, .wiki-content h2, .wiki-content h3, .wiki-content h4, .pagetitle, .steptitle, .substeptitle, .formtitle, table.confluenceTable td.confluenceTd.highlight, table.confluenceTable td.confluenceTd.highlight > p, table.confluenceTable th.confluenceTh, table.confluenceTable th.confluenceTh > p, .wiki-content .tablesorter-header-inner, table.admin th, .form-element-large, .form-element-small, #toolbar #format-dropdown .format-h1 a, #toolbar #format-dropdown .format-h2 a, #toolbar #format-dropdown .format-h3 a, #toolbar #format-dropdown .format-h4 a {
    color: #242424;
}

.wiki-content a, .wiki-content a:link, .wiki-content a:visited, a.blogHeading, a {
color: #983578;
  text-decoration: underline;
}

h2, .search-result h2 a, .wiki-content h2 {
font-size: 1.5em;
    font-weight: 700;

}

h3, .wiki-content h3 {
font-size: 1.25em;
    font-weight: 700;

}

h4, .wiki-content h4 {
font-size: 1.125em;
    font-weight: 700;

}

h5 {
font-size: 1em;
    font-weight: 700;

}

h6 {
font-size: 1em;
  font-weight: 500;
}

.confluenceTd p, .confluenceTh p{
  font-size: 1em!important;
}

.wiki-content a, .wiki-content a:link, .wiki-content a:visited, .wiki-content a:focus, .wiki-content a:hover, .wiki-content a:active, a.blogHeading {
    color: #983577;
}

.sv-pagetree ul li {
  white-space: normal !important;
}

/* --- Header ------------------------------------------------------------------------------------------------------- */

#sp-viewport-control-opener, .sp-viewport-control {
  display: none!important;
}

.ht-headerbar-right {
  float: right;
}

.search-label {
  font-size: 13px!important;
}

#ht-menu-toggle {
      padding: 0.2em!important;
    font-size: 40px!important;
    float: left;
}


#ht-headerbar #ht-search.open .ht-search-input {
    border: 1px solid #983577;
}

#q:focus {
    box-shadow: inset 0 0 0 1px #005fcc;
}


.search-label {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

#ht-search-button, .search-button {
    background: #9835772b !important;
    border: none;
    float: right;
    height: 36px;
    color: #983577;
    font-size: 25px;
    padding: 4px;
    width: 46px;
    cursor: pointer;
    padding-top: 5px;
}

#ht-headerbar #ht-search .ht-search-input .search-input {
    padding-left: 1em;
}

#ht-headerbar #ht-search .ht-dropdown {
	top: 42px;
}

#ht-headerbar .ht-dropdown {
    -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 36%);
}

#ht-headerbar #ht-search .ht-search-input a.ht-search-clear, #ht-headerbar #ht-search .ht-search-input a#ht-search-button, #ht-headerbar #ht-search .ht-search-input form {
    float: left;
}

#ht-search-button path {
    fill: #FFF!important;
}

#ht-headerbar #ht-search.open .search-input,
#ht-headerbar #ht-search.open .ht-search-input{
    background: #fff;
}

/* --- Sidebar ------------------------------------------------------------------------------------------------------- */


a.ht-space-link h1 {
  color: #983578!important;
  font-weight: bold!important;
  font-size: 22px!important;
}

.sidebar-custom-links h5 {
  margin-bottom: 1em!important;
}

#ht-sidebar .ht-pages-nav ul .ht-pages-nav-toggle:before {
    line-height: normal;
    font-family: "Material Icons";
    content: "\e5cc";
}

#ht-sidebar .ht-pages-nav ul .open > .ht-pages-nav-toggle:before {
    line-height: 18px;
	font-family: "Material Icons";
    content: "\e313";
}

@media screen and (max-width: 1024px) {
  
  #ehm-tooltip {
    margin-top: -7px !important;
  }
  
 #ht-sidebar .ht-pages-nav ul .ht-pages-nav-toggle:before {
    line-height: normal;
    font-family: "Material Icons";
    content: "\e5cc";
}
  
  #ht-sidebar .ht-pages-nav ul .open > .ht-pages-nav-toggle:before {
   font-family: "Material Icons";
    content: "\e313";
  }
  #ht-sidebar .ht-pages-nav ul .open > .ht-pages-nav-toggle #icon-plus {
    display: none;
  }
  #ht-sidebar .ht-pages-nav ul .open > .ht-pages-nav-toggle #icon-minus {
    display: none;
  }
}

/* --- Main ------------------------------------------------------------------------------------------------------- */

a:focus, a.ht-select-button:focus, .ht-headerbar a:focus, .ht-btn-focus:focus {
    border: 2px solid #005fcc!important;
}

#ht-wrap-container .ht-content #main-content {
  font-size: 1em !important;
  line-height: 1.5em !important;
  word-wrap: break-word;
}

.wiki-content h5, .wiki-content h6 {
  font-size: 1em;
  line-height: 1.7em;
  color: #000c34;
}

table.aui>tbody>tr>th, table.aui>thead>tr>th {
  color: #242424;
}

.wiki-content a:focus, .wiki-content a:hover, .wiki-content a:active, a, a:focus, a:hover, a:active,  a.blogHeading:hover {
    color: #000;
}

a.blogHeading, .conf-macro.output-block[data-macro-name="sv-children"] a, a.view-historical-version-trigger {
    text-decoration: none!important;
}

.sidebar-custom-links h5 {
    margin-bottom: 1em!important;
}

.confluence-information-macro p{
    font-size: 16px !important;
}

.wiki-content ul li {
    margin-bottom: 0.5em;
}

.wiki-content ol li {
    margin-bottom: 0.5em;
}

.wiki-content h1, .wiki-content h2, .wiki-content h3, .wiki-content h4, .wiki-content h5, .wiki-content h6 {
	font-weight: 700;
}

.panelHeader {
    font-size: 1.6em;
    padding: 0.8em;
    border-bottom: 0px;
}

.panel, .alertPanel, .infoPanel {
	border: 0;
}

.aui-label {
    background: rgba(152,53,121,0.10);
    font-weight: normal;
    font-family: 'CircularBook', 'Arial', sans-serif;
    padding: 0.6em 1em!important;
    border-radius: 4px!important;
    border: 1px solid rgba(152,53,121,1);
    font-size: 12px;
}

.aui-label a {
	color: #822665!important;
}

a.aui-label-split-main {
	color: #822665!important;
}

.alertPanel, .infoPanel, .panelContent {
    padding: 1.3em;
}

.heatmap ul {
	line-height: normal!important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: transparent;
    padding: 0;
}

.heatmap li a {
    background: #FEEEF9;
    color: #822665 !important;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: normal;
    display: block;
    border: 1px solid #822665;
}

.content-by-label li {
    background: #f5f5f5;
    padding: 1em;
    border-radius: 4px;
}

.conf-macro.output-block[data-macro-name="sv-children"] p{
    background: #f6f6f6;
    padding: 1em;
    border-radius: 5px;
    margin-top: 3px;
}

.conf-macro.output-block[data-macro-name="sv-children"]  h2,
h2.conf-macro.output-block[data-macro-name="sv-children"]  {
	margin-top: 0.5em;
}

.conf-macro.output-block[data-macro-name="sv-children"]  a {
    display: block;
    padding: 0.6em;
    font-size: 16px;
    font-weight: normal;
    border: 1px solid #822665;
    margin-bottom: 0.5em;
    color: #822665;
}

hr {
    border: none;
    background: #e0e0e0;
    height: 1px;
    width: 100%;
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 5px;
}

ul.childpages-macro li, ul.childpages-macro li a{
	margin-bottom: 3px;
}

ul.childpages-macro {
    margin-top: 5px;
}

a.aui-label-split-main{
    color: #FFF;
}

.page-metadata ul li, .page-metadata ul li a {
	color: #555;
}

ul.content-by-label .details {
	font-size: 18px;
}

ul.content-by-label .details a{
	font-weight: normal;
}

.related-labels {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #000;
}

.search-macro-large .search-macro-query .aui-icon-large:before {
    font-size: 35px;
    margin-top: -9px;
}
.search-macro-large .search-macro-query input {
    padding: 2px 12px 2px 30px;
    height: 60px;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.5;
    position: relative;
}

.search-macro-large .search-macro-query input {
    padding: 2px 12px 2px 60px;
    height: 60px;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.5;
    position: relative;
	border: 2px solid #FFF;
}

.search-macro-large {
 	width: auto!important;
    max-width: 100%!important;
    margin: 0 auto;
	background: #FEEEF9;
	border-radius: 0;
}

.search-macro-large form.aui {
	margin-top: 0;
}

.search-macro-large form.aui .text {
    border-bottom: 1px solid #822665;
    border-top: 0;
    border-right: 0;
    border-radius: 0;
    border-left: 0;
}

.search-macro-large .search-macro-query .aui-icon-large {
    color: #822665;
    font-size: 30px;
}

.custom-sidebar h3 {
    background: #822665;
    color: #FFF!important;
    padding: 1em;
    border-radius: 3px;
    margin-top: 0.5em;
}

.custom-sidebar-content {
    margin-left: 0;
}

.custom-sidebar-content h4 a {
    background: #FEEEF9;
    display: block;
    padding: 0.7em;
    border-radius: 3px;
    margin-top: 0.2em;
}

.custom-sidebar-content h4 a:hover {
	background: #FFF;
}

.custom-sidebar-content h4 {
	margin-top: 0;
}

.custom-sidebar-content .expand-control {
    color: #FFF!important;
    font-size: 16px;
    padding: 1em;
    margin-top: 0.5em;
    -webkit-box-shadow: 0px 0px 10px -7px rgba(36,36,36,1);
    -moz-box-shadow: 0px 0px 10px -7px rgba(36,36,36,1);
    box-shadow: 0px 0px 10px -7px rgba(36,36,36,1);
}

.custom-sidebar-content .expand-content {
	margin: 0;
}

.custom-sidebar-content span.expand-control-text {
    color: #FFF;
    font-weight: bold;
}

.custom-sidebar-content .childpages-macro li a {
    background: #FFF;
    padding: 0.7em;
    border-radius: 3px;
    display: block;
}

.custom-sidebar-content .childpages-macro {
	margin-left: 1em;
}

.page-tree .label { font-size: 0; } 
.page-tree .label:before { content: "Meny"; font-size: 14px; color: #FFF; } 


h5.ia-secondary-header-title.page-tree {
    background: #822665;
    color: #FFF;
    border-radius: 3px;
    display: none;
    padding: 1em;
    margin-bottom: 1em;
}

.ia-fixed-sidebar div.plugin_pagetree ul.plugin_pagetree_children_list .plugin_pagetree_children_span a {
    display: block;
}

.expand-control {
    padding: 0.5em;
    margin-top: 1em;
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
	margin-bottom: 2px;
  	margin-left: 5px;
  	margin-right: 5px;
}

.expand-control .aui-icon-small:before {
    margin-top: -3px;
}

.expand-control-text {
    color: #822665;
    font-weight: bold;
}

.expand-content {
    margin: 0;
    box-shadow: 0px 2px 2px 0 rgba(0, 0, 0, 0.25);
    padding: 8px;
    margin-left: 5px;
    margin-right: 5px;
}

.expand-content p:first-child,
.wiki-content li p:first-child{
  	font-size: inherit !important;
}

.ia-secondary-content:after {
    display: none;
}

ul.content-by-label h5 {
    font-size: 14px!important;
    margin-top: 0.5em!important;
    line-height: normal!important;
    font-weight: normal;
    font-family: 'Open Sans', sans-serif;
    color: #555!important;
}

.search-macro-large .search-macro-query input:focus{
    outline: none;
	background: #FEEEF9;
}

.acs-side-bar {
	background: #FFF;
}

.ia-fixed-sidebar {
    background: #FFF;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.44);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.44);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.44);
}

.aui-iconfont-chevron-right::before {
	color: #000!important;
}

.aui-iconfont-chevron-down::before {
	color: #822665!important;
}

h5[data-macro-name="excerpt-include"] {
	font-weight: normal;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
	color: #555 !important;
}

#likes-section, #comments-section {
	display: none!important;
}


/* --- Footer ------------------------------------------------------------------------------------------------------- */

.scroll-viewport-attribution, .scroll-viewport-attribution a {
  color: #000;
}

#ht-wrap-container #ht-footer small a {
    color: #000 !important;
}

#custom-content-footer {
    padding: 1em;
    color: #242424;
    margin-top: 2em;
    border-left: 8px solid #983579;
    -webkit-box-shadow: inset 0px 0px 9px 1px rgba(254,238,249,1);
    -moz-box-shadow: inset 0px 0px 9px 1px rgba(254,238,249,1);
    box-shadow: inset 0px 0px 9px 1px rgba(254,238,249,1);
}

.column h2 {
  display: block;
    color: #242424!important;
    padding-bottom: 1em !important;
    margin-bottom: 1em !important;
    border-bottom: 1px dotted #242424 !important;
}

#custom-content-footer .sectionMacro .columnMacro {
	text-align: left;
}

#custom-content-footer .sectionMacro a {
    color: #983579;
    text-decoration: underline;
}

#custom-content-footer .sectionMacro a:hover {
	opacity: 0.7;
}

#custom-content-footer .sectionMacro {
	margin-top: 0;
}

#footer {
	background:#FFF!important;

}

#footer-logo {
	background:#FFF!important;
}

.column dt {
  vertical-align: top !important;
  display: inline-block !important;
  margin: 0 0 1em 0 !important;
  min-width: 90px !important
}

.column dd {
  margin-bottom: 0.5em !important;
  display: inline-block !important;
}


/* --- Blog ------------------------------------------------------------------------------------------------------- */


.blog-post-listing h5 {
    font-size: 15px!important;
    line-height: normal!important;
    font-weight: normal;
}

.blog-post-listing .endsection {
	display: none;
}

.tooltipster-sidetip .tooltipster-content {
	background: #FEEEF9;
}

.hl-term-title {
    color: #983579 !important;
    font-weight: bold;
}

.term-container {
    border-top: none;
    background: #FEEEF9;
    padding: 1em !important;
    margin-bottom: 1em;
    margin-top: -1px;
}

h3.term-title, .term-title a {
    color: #983579!important;
    font-weight: bold;
}

.terms-letter {
	color: #983579!important;
}

.term-abstract {
	margin-top: 1em;
}

.x-more {
    border: 1px solid #983579;
    background: #FEEEF9;
    background: #983579;
}

p.preamble {
    font-size: 17px;
    font-weight: bold;
    color: #000;
    font-family: 'Montserrat', sans-serif;
} 

/* --- Macros ------------------------------------------------------------------------------------------------------- */


#page-history-container {
   font-size: 13px; 
}


ul.childpages-macro {
    margin-left: 0 !important;
    list-style: none !important;
    padding-left: 2em !important;
    margin-top: 2em;
    margin-bottom: 1.5em;
}

ul.childpages-macro li{
	margin-bottom: 2em !important;
  	list-style: none;
}

ul.childpages-macro li .smalltext {
	font-size: 16px;
	line-height: 1.5em;
    color: #242424;
}

.confluence-information-macro {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}

div.panelHeader.pdl {
	font-size: 14px;
}

.code {
	margin-top: 2.5em;
	margin-bottom: 2.5em;
}

.tablesorter {
	margin-top: 2em;
}

.table-wrap {
    margin-top: 5px;
    margin-bottom: 2em;
}

.conf-macro[data-macro-name="change-history"]  {
    max-height: 200px;
    overflow: scroll;
    border: 1px solid #ececec;
    border-radius: 3px;
    margin-top: 4em;
    padding: 1em;
}

.conf-macro[data-macro-name="change-history"] .tablesorter{
	margin: 0!important;
}

.acs-side-bar-space-info a, .acs-side-bar .tip a, .ia-secondary-container a {
    color: #242424;
}

.sidebar-custom-links {
    margin-top: 6em;
    padding-left: 0!important;
    padding-top: 2em !important;
    border-top: 1px solid #ececec!important;
}

.sidebar-custom-links li {
    margin-top: 1em;
    list-style: none;
    display: block !important;

}

.sidebar-custom-links li a {
    display: block;
}

/*
.wiki-content p:first-child {  
    font-size: 20px; 
    font-weight: 400; 
    line-height: 1.5em;
	margin-bottom: 2em;
}
*/

#ht-wrap-container #ht-footer {
  position: relative!important;
    max-width: 100%!important;
}

#ht-wrap-container .ht-content #search-results .search-result h2 a {
    color: #983578;
}

#ht-wrap-container .ht-content #search-results .search-result h2 a:hover {
    text-decoration: underline;
}

.custom-footer {
    padding: 0 !important;
    color: #242424;
    margin-top: 1em!important;
    margin-bottom: 2em!important;
    border-left: 8px solid #983579!important;
    -webkit-box-shadow: inset 0px 0px 9px 1px rgba(254,238,249,1);
    -moz-box-shadow: inset 0px 0px 9px 1px rgba(254,238,249,1);
    box-shadow: inset 0px 0px 9px 1px rgba(254,238,249,1);
}

.ht-footer-columns .column dt {
    font-weight: bold !important;
}

.ht-footer-columns {
    display: flex!important;
    flex-direction: row;
    flex-wrap: wrap;
    border-collapse: collapse!important;
}

.ht-footer-columns .column{
    line-height: 1.5em!important;
    border: solid white 20px!important;
}

.ht-footer-columns .column {
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}

.ht-footer-columns .column strong {
	font-weight: bold!important;  
}

.ht-footer-columns .column a {
    color: #983579!important;
}

.ht-footer-columns h4 {
    color: #242424!important;
    padding-bottom: 1em!important;
    margin-bottom: 1em!important;
    border-bottom: 1px dotted #242424!important;
}

a.skip-main{
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}

a.skip-main:focus, a.skip-main:active{
  position: absolute !important;
  background: #FFF !important;
  border-radius: 3px !important;
  padding: 4px !important;
  clip:auto;
  z-index: 9999;
}

#ht-headerbar {
    background: #fff; 
    box-shadow: 0px 0px 4px rgba(0,0,0,0.15);
    padding-bottom: .5em;
  	position: absolute;
}

#ht-select-version, #ht-select-language, #ht-select-variant {
    display: block !important;
}

#ht-sidebar .ht-scroll-versions-widget .ht-scroll-versions-select select {
    font-family: 'CircularRegular', sans-serif!important;
    position: relative;
    opacity: 1;
    width: 100%;
    padding: 1em;
    font-size: 14px;
    background: #983578;
    color: #FFF;
    border-radius: 3px;
    border: none;
    height: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.ht-select-button {
    display: none !important;
}

td.contributors {
    display: none !important;
}

tbody p {
    font-size: 14px!important;
}

.wiki-content ul li p {
    font-size: 14px!important;
}

.wiki-content .sv-pagetree ul li.node a, .wiki-content .sv-pagetree ul li.node a:link, .wiki-content .sv-pagetree ul li.node a:visited, .wiki-content .sv-pagetree ul li.node a:focus, .wiki-content .sv-pagetree ul li.node a:hover, .wiki-content .sv-pagetree ul li.node a:active {
    color: #983579 !important;
}

.conf-macro[data-macro-name="change-history"] tr th:nth-child(3) {
    display: none;
} 

/* --- Karls CSS helpers (bootstrap inspired utility classes) --- */

.d-block {
  display: block !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.d-flex {
  display: flex !important;
}

.mr-sm {
  margin-right: 8px !important;
}

.ml-lg {
  margin-left: 24px !important;
}

.m-none {
  margin: 0 !important;
}

.pr-lg {
  padding-right: 24px !important;
}

.pt-lg {
  padding-top: 24px !important;
}

.mt-none {
  margin-top: 0 !important;
}

.pb-none {
  padding-bottom: 0 !important;
}

.position-relative {
  position: relative !important;
}
.position-fixed {
  position: fixed !important;
}

.shadow {
  box-shadow: 0 6px 8px rgb(0,0,0,0.05);
}

.rounded {
  border-radius: 4px !important;
}

.rounded-lg {
  border-radius: 8px !important;
}

/* --- Karls custom typography  --- */

body {
  font-size: 18px !important;
}

.conf-macro[data-macro-name="excerpt"] {
  font-size: 1.2em !important;
  line-height: 1.25em !important;
  color: #000 !important;
}

.custom-page h1,
.custom-page h2,
.custom-page h3,
.custom-page h4,
.custom-page h5,
.custom-page h6 {
  line-height: 1.25em;
}

.custom-page h1 {
  font-size: 1.8em;
  margin-bottom: 0.75em;
}

.custom-page h2 {
  font-size: 1.5em;
}

.custom-page h3 {
  font-size: 1.35em;
}

.custom-page h4 {
  font-size: 1.2em;
}

.custom-page h5 {
  font-size: 1.1em;
}

.custom-page h6 {
  font-size: 1em;
}

h1[id],
h2[id],
h3[id],
h4[id],
h5[id],
h6[id] {
  margin: 0 !important;
  padding-top: 43px !important;
}

/*
h1[id] + p,
h2[id] + p,
h3[id] + p,
h4[id] + p,
h5[id] + p,
h6[id] {
  margin-top: 1.25em;
}

.custom-page p {
  margin-top: 1em;
}

*/

table {
  font-size: 16px !important;
}

.font-md {
  font-size: 18px !important;
}

.font-lg {
  font-size: 24px !important;
}

/* --- Karls custom color classes --- */

.bg-purple {
  background: #983578 !important;
}

.bg-blue {
  background: #f6fbff !important;
}

.bg-white {
  background: #fff !important;
}

.text-white {
  color: #fff !important;
}

.text-black {
  color: #000 !important;
}


/* --- Karls custom classes --- */

.custom-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 4px solid rgba(0,0,0,.3) !important;
  border-radius: 50%;
  border-top-color: #000 !important;
  animation: spin 1s ease-in-out infinite !important;
  -webkit-animation: spin 1s ease-in-out infinite !important;
}

@keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}

.custom-cookie-banner {
  width: 90%;
  max-width: 890px;
  transform: translateX(-50%);
  left:50%;
  border-radius: 0.5em 0.5em 0 0;
  box-shadow: 0 0 1em 0 rgba(0,0,0,0.1);
  position: fixed;
  bottom: 0;
  border: 1px solid #ccc;
  background: white;
  padding: 0.35em;
  z-index: 999;
  display: none;
}

.custom-wrapper {
  margin: 22px;
  min-height: 40vh;
}

.custom-search {
  padding-left: 4px !important;
  height: 36px !important;
  max-height: 36px !important;
  width: 200px !important;
  font-size: 16px !important;
  margin-right: 6px;
}

.custom-search2 {
  font-size: 18px;
  height: 30px;
  border: 1px solid;
  border-radius: 0 !important;
  margin-top: 1px;
  width: 240px !important;
  margin-right: 6px;
  padding: 1px 4px;
}

.custom-version {
  font-family: 'circularbook' !important;
  background: none;
  color: white;
  font-size: 18px;
  border: 1px solid white;
  font-weight: 300;
  padding-left: 2px !important;
  height: 38px !important;
  width: 170px !important;
  font-size: 16px !important;
  margin-right: 8px;
}

.custom-version:focus {
  outline: 2px solid white !important;
}

.custom-sidebar {
  height: calc(100% - 52px) !important;
  border-bottom: 4px solid #7f2c64 !important;
}

.custom-toc {
  margin-left: 0.5em;
  display: none;
  width: 250px;
  right: 5px;
  vertical-align: top;
  position: fixed;
  max-height: calc(100vh - 150px);
  overflow: hidden;
  top: 55px;
  padding-top: 75px;
}

/*
.custom-toc > ul > li:first-child {
  display: none;
}*/

/*.toc-macro ul > li:first-child {
  display: none;
}*/

/*
.custom-toc ul > li:first-child > span {
  display: none;
  margin-top: 12px;
}
*/

.custom-toc ul,
.custom-toc li {
  list-style: none;
  padding: 0;
  margin: 0px 0 6px 0px;
  line-height: 1.25em;
}

.custom-toc > ul {
  font-size: 16px;
  padding: 0.5em;
  padding-bottom: 450px;
}

.custom-toc > ul > li,
.custom-toc > ul > li > ul > li {
  padding: 4px 0 0 0 !important;
}

.custom-toc > ul > li > ul > li{
  padding-bottom: 12px;
}

.custom-toc .active-toc-link {
  font-weight: 600 !important;
}

.custom-toc a,
.custom-toc a:visited,
.custom-toc a:active,
.custom-toc a:hover {
  color: #444;
  text-decoration: none;
}

.custom-toc .toc-outline {
  display: none !important;
}

.custom-sidebar-links a:focus {
  outline: 2px solid white !important;
}

.custom-sidebar-links {
  justify-content: space-evenly;
  position: absolute;
  bottom: 0;
  padding-top: 4px !important;
  height: 44px;
  width: 100%;
  color: white;
  left: 0;
  box-shadow: inset 0 4px 4px rgb(127 44 100);
}

.custom-sidebar-links a {
  height: 16px;
  text-decoration: underline !important;
  font-size: 16px !important;
}

.custom-logo-wrapper {
  height: 48px;
  padding: 6px 0 0 6px !important;
  /*background: #7f2c64 !important;*/
}

.custom-logo {
  width: 33px !important;
  height: 33px;
  filter: brightness(8.5);
  padding-right: 0 3px !important;
  position: relative;
}

#ht-footer p {
  margin: 0 0 1em 0 !important;
}

.ht-footer-columns .column {
  border: none !important;
}

.custom-footer {
  border: none !important;
  box-shadow: none;
  margin-top: 60px !important;
}

.custom-footer-logo-link {
  margin: 1em 0 !important;
  display: inline-block !important;
}

.custom-footer-logo {
  width: 250px;
}

/* --- Karls custom overrides --- */

select option {
  color: #000;
}

a.skip-main:focus {
  top: 4px;
  width: 90%;
  max-width: 230px;
  transform: translateX(-50%);
  left:50%;
  border-radius: 0 !important;
  box-shadow: 0 0 1em 0 rgba(0,0,0,0.1);
  position: fixed;
  outline: 2px dotted white !important;
}

.aui-group, .aui-panel, .aui-tabs, blockquote, dl, form.aui, h1, h2, h3, h4, h5, h6, ol, p, pre, table.aui, ul {
  margin: 14px 0 0 0;
}

.show-sidebar #ht-headerbar {
  transform: none !important;
}

#ht-menu-toggle {
  display: none;
}

.search-input:focus {
    box-shadow: inset 0 0 0 3px #983578 !important;
    outline: 2px solid white !important;
}

.search-button {
  border: 1px solid white;
  border-radius: 4px;
}

.search-button:focus {
    box-shadow: 0 0 0 4px #983578 !important;
    outline: 2px solid white !important;
}

#ht-headerbar .ht-headerbar-left {
  display: inherit;
}

#ht-sidebar {
  top: 48px !important;
}

#ht-headerbar {
  z-index: 2;
  left: 0;
}

#ht-headerbar .ht-headerbar-right {
  min-width: 0;
}

.sp-search-highlight {
  font-size: inherit !important;
  background: #fffad4b8;
  font-weight: normal !important;
  font-style: normal !important;
}

.search-result h2 {
  margin-bottom: 0 !important;
}

.sp-grid-cell {
  padding: 4px 20px 4px 4px;
}

.sp-grid-cell .confluence-embedded-image {
  max-width: 720px;
  max-height: 720px;
  width: 100%;
  height: inherit;  
}

a:focus, a.ht-select-button:focus, .ht-headerbar a:focus {
  outline: 2px solid #983578 !important;
  outline-offset: 2px !important;
  border: none !important;
}

.ht-pages-nav-sub {
  padding-bottom: 4px !important;
  padding-top: 4px !important;
}

.sp-draft-banner {
  display: none !important;
}

/*
.conf-macro.output-block[data-macro-name="sv-children"] a {
  padding: 0;
  margin: 4px;
  border: none;
  text-decoration: underline !important;
  font-size: 18px;
  line-height: 1.25em;
  display: inline-block;
}*/

.conf-macro.output-block[data-macro-name="sv-children"] a {
    padding: 9px;
    margin: 4px;
    border: none;
    /* text-decoration: underline !important; */
    font-size: 18px;
    line-height: 1.25em;
    display: block;
    background: #fdf7f8; /* #f5f5f5;*/
    height: auto;
    border-bottom: 4px solid #f5eff3;
    border-radius: 4px;
}

.conf-macro.output-block[data-macro-name="sv-children"] a:hover,
.conf-macro.output-block[data-macro-name="sv-children"] a:focus {
  border-top: 2px solid #fff !important;
  border-bottom: 2px solid #fdf7f8 !important;
}

.conf-macro.output-block[data-macro-name="sv-children"] p {
    background: none;
    padding: 6px;
    border-radius: 5px;
    margin-top: 3px;
    font-size: 16px !important;
}

#ht-headerbar {
  height: 48px !important;
  padding: 0 !important;
}

#ht-headerbar .ht-headerbar-right {
  padding: 4px;
}

#ht-menu-toggle {
  padding: 0 !important;
  margin: 4px !important;
}

#ht-menu-toggle:focus {
	outline: 2px solid #fff !important;
}

.ht-space-link:hover {
	text-decoration: none !important;  
}

.ht-space-link {
  display: inline-block;
}

.ht-space-link:focus {
  outline: 2px solid white !important;
}

.ht-space-link .custom-logo-text {
  font-family: 'CircularBook' !important;
  font-weight: 300 !important;
  position: relative;
  top: -11px;
  font-size: 18px !important;
  color: white !important;
}

#ht-sidebar .ht-pages-nav ul a {
  width: calc(100% - 16px) !important;
  padding: 4px !important;
}

/*
.wiki-content ul {
  margin: 1.5em 0;
}
*/

.toc-macro {
  margin-top: 1em;
}

.toc-macro ul {
  margin: 0;
}

/* draw.io fix */
svg {
  line-height: 1em;
}

/* --- Karl clean up bad mark-up --- */

.sp-grid-cell p,
.sp-grid-cell p span:not([class]),
.sp-grid-cell h1 span:not([class]),
.sp-grid-cell h2 span:not([class]),
.sp-grid-cell h3 span:not([class]),
.sp-grid-cell h4 span:not([class]),
.sp-grid-cell h5 span:not([class]),
.sp-grid-cell h6 span:not([class])
{
  color: #000 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
}

.confluence-information-macro>.title {
  font-weight: bold !important;
}

.sp-grid-cell a span:not([class]) {
  color: inherit !important;
}

.sp-grid-cell a
{
  text-decoration: underline !important;
}

.sp-grid-cell hr {
  display: none;
}

/* sidoeffekt: br används ibland felaktigt för att starta nya paragrafer */

.sp-grid-cell p > br {
  display: contents;
}

.sp-grid-cell p:empty {
  display: none;
}

.sp-grid-section:empty {
  display: none;
}

/* --- Karls custom media queries --- */

@media screen and (min-width: 1400px) {
 
  .toc-macro {
    display: none;
  }

  /* shrink content area if toc exists */
  .custom-page.has-toc {
    margin-right: 250px !important;
    width: calc(100% - 240px)  !important;
    display: inline-block !important;
  }
  
  .custom-toc {
    display: inline-block;
  }
  
}

@media screen and (max-width: 1024px) {
  #ht-menu-toggle {
    display: block !important;
  }
  
  .custom-logo-wrapper {
    display: none !important;
  }
  
  #ht-sidebar .ht-pages-nav ul li .ht-pages-nav-toggle {
    left: -16px;
    width: 20px;
    height: 20px;
    right: inherit;
    top: 2px;
  }
}

@media screen and (max-width: 639px) {
  .custom-search {
    display: none;
  }
  
  .custom-wrapper {
    margin-right: 0;
    margin-left: 0;
  }
  
  #ht-wrap-container .ht-content {
    padding-left: 4px;
    padding-right: 4px;
  }
  
  #ht-sidebar {
    width: 100%;
    z-index: 999;
  }
}



/* Tippy Tooltip */

#ehm-tooltip {
	color: #FFF;
	font-size: 24px;
	margin-right: 0.5em !important;
	margin-top: 4px;
  	background: transparent;
  	border: none;
    padding: 0;
  cursor: pointer;
}

#ehm-tooltip:focus {
    outline: 2px solid white !important;
}

.tippy-tooltip.ehm-theme {
}

/* Search Page */


.search-pagerpage {
  margin-right: 0.3em;
  margin-left: 0.3em;
}

.search-pagerpage.current {
  color: #FFF !important;
  padding-right: 7px;
  padding-left: 7px;
  border-radius: 9px;
  background: #983578;
  text-decoration: none!important;
  }

.search-pagination {
    padding: 9px;
    border: none;
    /* text-decoration: underline !important; */
    font-size: 18px;
    line-height: 1.25em;
    display: inline-block;
    background: #fdf7f8; /* #f5f5f5;*/
    height: auto;
    border-bottom: 4px solid #f5eff3;
    border-radius: 4px;
}
