[data-md-color-scheme="inuvika"]{
	/* overrides */
    --md-primary-fg-color:        #272727; /* header fg*/
    --md-footer-bg-color:         #272727; /* footer bg */
	--md-footer-bg-color--dark:   #272727; /*overlay of footer color */
    --md-typeset-a-color:         #2b528a; /* links typeface */
    --md-accent-fg-color:         #2b528a; /* links typeface hover */
    --md-typeset-color:           rgba(0,0,0,.87);

    /* new */
    --md-footer-inuvika-link:     #ffffff; /* first Inuvika occurence in footer*/
    --md-doc-headerlink:          #536dfe; /* heading direct link */
    --md-table-header-bg:         rgba(0,0,0,.54);
    --md-table-header-text:       #ffffff;
	--md-inuvika-green:           #93c73c;
	--md-inuvika-light_grey:      #cccccc;
	--md-inuvika-white:           #ffffff;
	--md-nav-link:                #2b528a;
	--md-toc-passed-links:        rgba(0,0,0,.54);
}

/* HEADER */
/* Position text against logo */
.logo-text {
	position: relative;
	font-size: 14px;
	padding-left: 1.1rem;
	margin-top: -6px;
}

/* prevents logo from hidding on small screen*/
.md-logo{
	display: block !important;

}

/* Inuvika support field */
.inuvika-support {
     font-size: 0.7rem;
 }

.inuvika-support-icon svg{
    display: inline-block;
    margin-right: 10px;
    margin-left: 10px;
    fill: var(--md-table-header-text);
    width: 15px;
    height: 15px;
}

/* FOOTER */

/* First Inuvika word link */
html .md-footer-meta.md-typeset a {
    color: var(--md-footer-inuvika-link);
}

/* NAVIGATION, TABS AND TOC */
/* hiding top navigation bar */
.md-tabs {
    display:none;
}
/* navigation title fixup */
.md-nav__title {
	color: var(--md-typeset-color);
}

/* change color of navigation entries */
.md-nav__link {
	color: var(--md-nav-link);
}

/* colour of navigation items already passed */
.md-nav__link--passed {
	color: var(--md-toc-passed-links);
}

/* fixups of padding */
nav.md-nav{
	padding: 0px !important;
	margin: 0px !important;
}

nav.md-nav:nth-child(1) > ul:nth-child(2){
	padding: 0px;
}

nav.md-nav:nth-child(4) > ul:nth-child(2) {
	overflow: auto;
	padding: 0px;
}

a.md-nav__link:nth-child(3) > span:nth-child(1){
	display:none;
}

.md-nav--secondary {
	border-left: 0px !important;
}

/* DOCS */
/* wrap long headings to more lines
/*(e.g. narrow screen with Administration API: application_usage_for_usergroups_reports_list) */

.md-typeset {
	overflow-wrap: break-word;
}

/* colour of heading links symbol on hover */
.md-typeset .headerlink:hover {
	color: var(--md-doc-headerlink);
}

.md-typeset h5, .md-typeset h6 {
    color: var(--md-typeset-color);
}

.md-typeset :target>.headerlink {
    color: var(--md-doc-headerlink)
}

/* table: header*/
thead {
    background-color: var(--md-table-header-bg);
    color: var(--md-table-header-text);
}

/* table: slower colour transition when hovering over rows */
.md-typeset table:not([class]) tr {
    -webkit-transition: background-color .125s;
    transition: background-color .125s;
}

.md-typeset table:not([class]) th {
	font-weight: 400;
}

/* admonitions */
/* background of icon */
.md-typeset .admonition.note>.admonition-title::before{
    background-color: var(--md-inuvika-green);
}

.md-typeset .admonition.note>.admonition-title{
    background-color: rgba(147,199,60,.35);
}

.md-typeset .admonition.note {
    border-color: var(--md-inuvika-green);
}

/* admonition important linked to tip type */
.md-typeset .admonition.important,
.md-typeset details.important {
  border-color: rgb(0, 189, 164);
}
.md-typeset .important > .admonition-title,
.md-typeset .important > summary {
  background-color: rgba(0, 189, 164, 0.1);
}

.md-typeset .important > .admonition-title::before,
.md-typeset .important > summary::before {
  background-color: #00bfa5;
  -webkit-mask-image: var(--md-admonition-icon--tip);
          mask-image: var(--md-admonition-icon--tip);
}

/* admonition-title fixup for nested list notes */
.admonition-title {
	margin-top:0px !important;
}

/* HOMEPAGE [NEW] */
/* title [NEW] */
.advanced {
	margin:auto !important;
	font-size: 1.75rem !important;
	text-align: center;
}

/* subtitle [NEW] */
.subtext-row {
	margin:auto;
	max-width:600px;
	text-align: center;
}

.subtext {
	margin:auto !important;
	margin-top:5px !important;
	margin-bottom:25px !important;
}

.inuvika-homepage-buttons {
	display: flex;
	flex-wrap: wrap;
}

.inuvika-homepage-button {
	flex: 1;
	min-width:250px;
	margin: 0px 15px 0px 15px;
}

.inuvika-homepage-cards {
	display: flex;
	flex-wrap: wrap;
}
.inuvika-homepage-card {
	flex: 1;
	min-width:250px;
	padding: 0px 10px;
}

/* whitespace between buttons and cards [NEW] */
.vspace {
	height: 120px;
}

/* card [NEW] */
.cat-content {
	margin: 10px 0px;
	background-color: var(--md-inuvika-green);
	border-radius: 5px;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12), 0 3px 1px -2px rgba(0,0,0,.2);
	color: var(--md-inuvika-light_grey);
	padding: 40px;
	display: flex;
	justify-content: space-evenly;
}

.button-text {
	margin: 0 !important;
	color: var(--md-inuvika-white) !important
}

.card {
	max-width:500px;
	padding: 0px !important;
	margin:10px;
	min-height: 200px;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12), 0 3px 1px -2px rgba(0,0,0,.2);
	border-radius: .3rem;
}

.card-label {
    display: flex;
	background-color:var(--md-inuvika-light_grey);
	padding: 10px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	cursor: default;
}

.subcat-space {
	height: 20px;
}

.homepage-list {
	padding: 15px;
}

.date-updated{
	font-size: 0.7rem;
	float: right;
}

/* Screen resize overrides */
@media only screen and (min-width: 76.1875em) {
	nav.md-nav:nth-child(4) > div:nth-child(1) > label:nth-child(1) > a:nth-child(1){
		display:none;
	}
	nav.md-nav:nth-child(4) > div:nth-child(1) > label:nth-child(1){
		padding: 0px;
	}
	.md-nav__item--active {
		padding: 0px 0px 0px 12px !important;
	}
	.md-sidebar {
		padding: 0px !important;
	}
}

@media only screen and (max-width: 76.1875em) {
	html .md-nav--primary .md-nav__title {
		background-color: var(--md-primary-fg-color);
		color: var(--md-inuvika-white);
		font-weight: 400;
	}

	html .md-nav--primary .md-nav__title.sidebar-table-content {
		padding: 0rem .8rem 0rem 1rem;
		height: 3rem;
	}

	body > div.md-container > main > div > div.md-sidebar.md-sidebar--primary > div > div > nav > ul > nav > label.md-nav__title.sidebar-table-content-logo {
		display: block !important;
	}

	.md-nav__toggle ~ .md-nav {
		opacity: 1;
		transform: none;
	}

	.inuvika-support-text {
		display: none;
	}

	.md-nav--secondary .md-nav__title {
		box-shadow: none;
		height: 8rem;
	}

	span.md-nav__icon:nth-child(1){
		display:none !important;
	}
}

/* Fixes too much spacing when h1 wrapped in flexbox due to date_updated */
h1 {
    margin-bottom: 0 !important;
}
