:root {
   --background-primary: #fff;
   --background-secondary: rgb(238, 238, 238);
   --color-theme-primary: #029357;
   --color-theme-primary-selected: #095032;
   --color-text-primary: #333;
   --color-text-on-theme-as-bg: #f6f6f6;
   --color-text-secondary: #555;
   --color-text-primary-inverted: #eee;
   --color-text-primary-inverted-strong: #fff;
   --color-border-primary: rgb(221, 221, 221);
   --color-btn-bg: #fff;
   --color-btn-border: #8f8f9d;
   --color-btn-text: rgb(19, 1, 1);
   --color-btn-hover-bg: #e6e6e6;
   --color-btnpanel-bg: #e9e9e9;
   --color-highlight: #095032;
   --color-error-text: #b8424d;
}

html[data-theme='dark'] {
   --background-primary: #1e1e1e;
   --background-secondary: #333;
   --color-theme-primary: #1fa870;
   --color-theme-primary-selected: #00bb6e;
   --color-text-primary: #f6f6f6;
   --color-text-on-theme-as-bg: #f6f6f6;
   --color-text-secondary: #ddd;
   --color-text-primary-inverted: #333;
   --color-text-primary-inverted-strong: #222;
   --color-border-primary: #444;
   --color-btn-bg: #1e1e1e;
   --color-btn-border: #757575;
   --color-btn-text: #fff;
   --color-btn-hover-bg: #4d4d4d;
   --color-btnpanel-bg: #4d4d4d;
   --color-highlight: #f2f920;
}

* {
   box-sizing: border-box;
}

body, table, td, html, * {
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
   font-size: 18px;
	color: var(--color-text-primary);
}

body, html {
   background-color: var(--background-primary); /* !important to override bootstrap */
	margin: 0px;
}

img {
	border: 0px;
}

h2 {
   font-size: 36px;
}

.jumbotron {
   background-color: var(--background-secondary);
   padding: 35px 35px 35px 35px;
}
.jumbotron h1 {
   font-size: 63px;
   line-height: 70px; /* override the bootstrap value */
   font-weight: 500;
   margin: 15px 0px 10px 0px;
}
.jumbotron p {
   margin: 0px 0px 15px 0px;
   font-size: 21px;
   font-weight: 200;
}
.navbar {
   background-color: var(--color-theme-primary);
   min-height: 50px;
   padding-left: 25px;
}
.navbar a {
   color: var(--color-text-on-theme-as-bg);
   line-height: 50px;
   vertical-align: middle;
   text-decoration: none;
}
.navbar a:hover {
   color: var(--color-text-on-theme-as-bg);
}

a {
   color: var(--color-theme-primary);
   text-decoration: none;
}
a:hover {
   text-decoration: none;
}
a.navbar-brand {
   font-size: 18px;
   line-height: 50px;
   height: 50px;
}
a.btn {
   color: var(--color-text-primary)
}
a.btn:hover {
   background-color: var(--color-btn-hover-bg);
}
.btn:active {
   box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
   background-color: var(--color-theme-primary-selected);
}
.btn {
   display: inline-block;
   font-size: 14px;
   font-weight: 400;
   line-height: 1.42857143;
   text-align: center;
   white-space: nowrap;
   vertical-align: middle;
   -ms-touch-action: manipulation;
   touch-action: manipulation;
   cursor: pointer;
   -webkit-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   user-select: none;
   background-image: none;
   border: 1px solid transparent;
   border-top-color: transparent;
   border-right-color: transparent;
   border-bottom-color: transparent;
   border-left-color: transparent;
   border-radius: 4px;
}
.btn-default {
   color: var(--color-btn-text);
   background-color: var(--color-btn-bg);
   border-color: var(--color-btn-border);
   padding: 6px 12px;
   margin-bottom: 0;
}
.btn-medium {
   color: var(--color-btn-text);
   background-color: var(--color-btn-bg);
   border-color: var(--color-btn-border);
   padding: 15px 25px;
   margin-bottom: 0;
   font-size: 18px;
}

hr {
   margin-top: 20px;
   margin-bottom: 20px;
   border: 0;
   border-top-color: currentcolor;
   border-top-style: none;
   border-top-width: 0px;
   border-top: 1px solid var(--color-border-primary);
 }

 /* dark light theme toggle. */
.actioniconsmenu {
   margin-top: 0px;
   float: right;
}
.theme-selector {
   margin-top: 5px;
}
.themetoggle-switch {
   position: relative;
   display: inline-block;
   width: 48px;
   height: 25px;
   line-height: 25px;
   vertical-align: middle;
   margin: 0px 5px 5px 0px;
   overflow: hidden;
}
.themetoggle-switch input {
   display:none;
}
.themetoggle-slider {
   position: absolute;
   cursor: pointer;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-color: #484848;
   background-position-x: 26px;
   background-position-y: center;
   background-repeat: no-repeat;
   background-size: 18px;
   background-image: url("../img/dark_mode.svg");
   -webkit-transition: .4s;
   transition: .4s;
}
.themetoggle-slider:before {
   position: absolute;
   content: "";
   height: 21px;
   width: 21px;
   left: 2px;
   bottom: 2px;
   background-color: #f0f0f0;
   -webkit-transition: .4s;
   transition: .4s;
}
input:checked + .themetoggle-slider {
   background-color: #aaa;
   background-position-x: 4px;
   background-image: url("../img/light_mode.svg");
}
input:focus + .themetoggle-slider {
   box-shadow: 0 0 1px var(--color-highlight);
}
input:checked + .themetoggle-slider:before {
   -webkit-transform: translateX(22px);
   -ms-transform: translateX(22px);
   transform: translateX(22px);
}
.themetoggle-slider.round {
   border-radius: 34px;
}
.themetoggle-slider.round:before {
   border-radius: 50%;
}

/* Project lists */
div.blocklist {
   vertical-align: text-top;
}
div.block {
   margin: 5px;
   padding: 0px 10px 0px 10px;
   font-size: 20px;
   display: inline-block;
   vertical-align:top;
   width: 380px;
   text-align: left;
}
@media only screen and (max-width: 1000px) {
   div.block {
      width: 320px;
   }
}
div.block h3 {
   font-size: 28px;
   margin-top: 20px;
   margin-bottom: 10px;
   font-weight: 500;
}
div.block p {
   font-size: 14px;
}
.category-info {
   background-color: var(--background-secondary);
   text-align: left;
   padding: 12px 12px;
   border-radius: 5px;
}
.category-info > h2 {
   margin: 0;
}
.category-info > p {
   font-size: 14px;
   margin: 0px;
}
.page-content {
   padding: 40px;
   text-align: center;
}
@media only screen and (max-width: 1000px) {
   .page-content {
      padding: 25px;
   }
}
.limited-page-width {
   max-width: 1170px;
   margin: 0 auto;
}

.glyphicon {
   position: relative;
   top: 1px;
   display: inline-block;
   font-family: 'Glyphicons Halflings';
   font-style: normal;
   font-weight: 400;
   line-height: 1;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
 }
 .glyphicon-indent-left::before {
   content: "\e057";
 }
 .glyphicon.index {
   font-size: 30px;
 }

ul.dirlist {
   list-style-type: none;
   margin: 0;
   padding: 0;
}
ul.dirlist li {
   margin: 10px 2px 10px 2px;
   font-size: 20px;
   background: var(--color-btnpanel-bg);
   display: inline-block;
}
ul.dirlist li a {
   display: block;
   font-size: 20px;
   padding: 15px 25px;
   max-width: 350px;
   text-decoration: none;
   color: var(--color-btn-text);
}