:root {
    --cooltipz-font-family: "Inter";
}

#tsparticles {
  position: fixed;  /* Fixed so it stays in the background */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;  /* Behind everything else */
  pointer-events: none; /* Allows clicks to pass through */
}

.breadcrumb {
    padding: 5px;
    margin-block-start: 0;
    margin-block-end: 0;
    /*padding-left: 0;*/
}

.breadcrumb li {
    list-style: none;
    display: inline-block;
}

.breadcrumb li::after {
    content: "\00BB";
}

.breadcrumb li:last-of-type::after {
    content: "";
}

* {
    margin: 0;
    font-weight: 600;
    box-sizing: border-box;
    z-index: 3;
    letter-spacing: -0.75px;
}

html,
body {
    font-family: "DM Sans", serif;
    color: var(--text-color);
    background-color: var(--background);
    overflow-x: hidden;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.outline {
    text-shadow: 0 0 2px #333, 0 0 2px #333, 0 0 2px #333, 0 0 2px #333;
}

.outline-soft {
    text-shadow: 0 0 1px #aaa, 0 0 #aaa, 0 0 1px #aaa, 0 0 1px #aaa;
}



.theme-background-content h1,
h2,
h3 {
    color: #eee;
}

.theme-background-content p {
    color: #dde;
}

.theme-background-content hr {
    border: none;
    border-top: 2px solid var(--theme-secondary);
    margin: 10px 0;
    width: 100%;
}

.content {
    flex-grow: 1;
}

.secondary {
    color: var(--text-secondary);
}

.legend {
    color: var(--legend-color);
}

.green {
    color: var(--green);
}

.red {
    color: var(--red);
}

.theme {
    color: var(--theme-color);
}

.yellow {
    color: var(--yellow);
}

.purple {
    color: var(--purple);
}

.theme-background {
    background: var(--theme-secondary);
}

.dark-background {
    background: var(--dark);
}

.yellow-background {
    background: var(--yellow);
}

.purple-background {
    background: var(--purple);
}

.green-background {
    background: var(--green);
}

.red-background {
    background: var(--red);
}

.secondary-background {
    background: var(--text-secondary);
}

.headshot {
    border-radius: 3px;
    background: var(--inner-fieldset-border);
}

.container {
    max-width: 1200px;
    margin: auto;
}

@media screen and (max-width: 900px) {
    .container {
        max-width: 100%;
    }
}

nav {
    background-color: var(--theme-color);
    background-image: var(--gradient);
    background-repeat: repeat-x !important;
   //box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    font-size: 16px !important;
    z-index: 999;
}

nav .middle {
    flex-grow: 1;
    display: flex;
}

nav .middle input {
    background-color: rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.2);
    outline: none;
    font-family: inherit;
    padding: 5px 8px;
    color: #eee;
    border-radius: 2px;
}

nav .middle input::placeholder {
    color: #eee;
}

nav .left .brand {
    display: inline-block;
    padding: 10px;
    font-size: 20px !important;
    line-height: normal;
}

nav .right {
    padding: 15px 10px 15px 15px;

}

nav a {
    display: inline-block;
    padding: 0 10px;
    text-decoration: none;
    color: #eee;
}

.navbar-push {
    padding-top: 70px;
}

@media screen and (max-width: 900px) {
    nav {
        text-align: center;
        position: static;
        display: block;
        padding-top: 5px;
    }

    nav a {
        display: block;
        padding: 5px;
    }

    nav .left,
    nav .middle,
    nav .right {
        display: block;
        margin-bottom: 10px;
    }

    nav .middle input {
        width: 90%;
        margin: 10px auto;
    }

    .navbar-push {
        padding-top: 20px;
    }
}

.sidebar i {
    width: 30px;
    text-align:center;
}

.sidebar a i {
    width: 30px;
}

.sidebar {
    padding: 0;
    width: 300px;
    background-color: #ffffff;
    position: fixed;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 50px;
    padding-bottom: 250px;
    border-right: 2px solid var(--fieldset-border);
    z-index: 5;
}

.sidebar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.sidebar a:not(.link) {
    display: flex;
    justify-content: space-between;
    align-items:center;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border-bottom: 1px solid var(--fieldset-border);
}

.sidebar small:not(.not) {
    color: #888888;
    font-weight: bold;
    padding: 15px 15px;
    display: block;
    background:var(--fieldset-border);
}

.sidebar .badge {
    width: 20px;
    height: 20px;
    padding: 2px 0;
    font-size: 10px;
    justify-content: center;
    align-items:center;
    display: flex;

}

.content {
    margin-left: 200px;
    padding: 1px 16px;
    /*height: 1000px;*/
}

@media screen and (max-width: 900px) {

}

footer {
    background-color: var(--footer-bg);
    padding: 20px;
    color: #eee;
    text-shadow: 0 0 2px var(--footer-bg), 0 0 2px var(--footer-bg), 0 0 2px var(--footer-bg), 0 0 2px var(--footer-bg);
    z-index: 100
}

footer .flex {
    display: flex;
    justify-content: space-between;
}




footer .left {
    flex-grow: 3;
}

footer hr {
    border: none;
    border-top: 2px solid #666;
    margin: 5px 0;
    width: 400px;
}

footer .right {
    flex-grow: 1;
}

footer .secondary {
    color: var(--footer-secondary);
}

footer a {
    color: var(--footer-tertiary);
    text-decoration: none;
    padding: 2px 0;
    display: block;
    overflow: auto;
}

footer a:hover {
    text-shadow: none; /* why on god's green fucking earth does text shadow break background clipping */
    background-image: var(--text-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

footer a:hover i {
    opacity: 100%;
}


footer a i {
    width: 20px;
    text-align: center;
}

i {
        opacity: 75%;
}

@media screen and (max-width: 900px) {
    footer .flex {
        display: block;
    }

    footer hr {
        width: 100%;
    }

    footer .left {
        margin-bottom: 10px;
    }
}

.card {
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.card-header {
    padding: 10px;
    background: var(--theme-color);
    color: #eee;
    border-radius: 2px 2px;
}

.card-header i {
    opacity: 70%;
}

.card-body {
    padding: 10px;
    background: var(--background-card);
    display: block;
    border-radius: 0 0 2px 2px;
}

.input-icon {
    display: flex;
    margin-bottom: 10px;
}

.input-icon:last-child {
    margin-bottom: 0;
}

.input-icon span {
    padding: 8px 11px;
    text-align: center;
    color: #eee;
    background-color: var(--theme-color);
    font-size: 16px;
}

.input-icon input, textarea, input {
    padding: 10px;
    flex-grow: 2;
    border: none;
    font-family: inherit;
    outline: 0;
    font-size: 16px;
    color: var(--input-color);
    background: var(--input-bg);
}

textarea, input {
    border: 2px solid var(--inner-fieldset-border);
    display: block;
    width: 100%;
}





.input-icon input::placeholder {
    color: var(--input-placeholder);
}

.input-icon button {
    flex-grow: 0;
    padding: 0 12px;
    width: auto;
}

button {
    font-family: inherit;
    background-color: var(--theme-color);
    background-repeat: repeat-x !important;
    width: 100%;
    padding: 10px 12px;
    color: #eee;
    font-size: 16px;
    border: none;
}

button.secondary {
    background-color: #222;
    color: #eee;
}

button.success {
    background-color: var(--green);
    color: #eee;
}

button:hover {
    cursor: pointer;
}

.banner {
    background: orange;
    padding: 10px 12px;
    margin-bottom: 15px;
    color: #fff;
    border-radius: 2px;
    text-shadow: none;
}

.banner-success {
    background: var(--green);
    padding: 10px 12px;
    margin-bottom: 15px;
    color: #fff;
    border-radius: 2px;
}

.banner-danger {
    background: var(--red);
    padding: 10px 12px;
    margin-bottom: 15px;
    color: #fff;
    border-radius: 2px;
}

fieldset {
    margin-bottom: 10px;
    border: 2px solid var(--fieldset-border);
    background: var(--fieldset-bg);
    border-radius: 2px;
    color: var(--legend-color);
    padding-bottom: 15px;
    padding-top: 7.5px;
    padding-right: 15px;
    padding-left: 15px;
}

fieldset.no-legend {
    padding-top: 15px;
}

fieldset.no-border {
    border: none;
}

fieldset hr {
    border: none;
    border-bottom: 2px var(--fieldset-border) dotted;
    margin-bottom: 4px;
}

fieldset .vertical-divider {
    /*border-right: 2px solid var(--fieldset-border);*/
    display: inline-block;
}

fieldset.inner-fieldset {
    padding-top: 3.75px;
    padding-bottom: 3.75px;
    padding-right: 7.5px;
    padding-left: 7.5px;
    border: 2px dotted var(--inner-fieldset-border);
    background: var(--fieldset-bg);
}

fieldset.inner-fieldset legend {
    border: 2px solid var(--inner-fieldset-border);
    color: var(--text-secondary);
}

fieldset.inner-fieldset hr {
    border: none;
    border-bottom: 2px var(--inner-fieldset-border) solid;
    margin-bottom: 4px;
}

legend {
    color: var(--legend-color);
    padding: 4px 8px 4px 8px;
    text-align: left;
    border-radius: 2px;
    background-color: var(--fieldset-bg);
    border: 2px solid var(--fieldset-border);
}

.border {
    border: 2px dotted var(--fieldset-border);
    border-radius: 2px;
}

.border-right {
        border-right: 2px dotted var(--fieldset-border);
}

.border-left {
        border-left: 2px dotted var(--fieldset-border);
}

.border-bottom {
        border-bottom: 2px dotted var(--fieldset-border);
}

.border-top {
        border-top: 2px dotted var(--fieldset-border);
}

fieldset .title {
    color: var(--text-color);
}

img {
    max-width: 100%;
    border: none;
}

a {
    text-decoration: none;
    color: var(--legend-color);
}

.blog-container {
    position: relative;
    border: none;
    overflow: hidden;
    height: 135px;
}

.blog-container .blog-card {
    position: absolute;
    bottom: 0px;
    padding: 6px 12px;
    width: 100%;
    color: #eee;
    background: rgba(0, 0, 0, 0.9);
    background-image: var(--gradient);
    transition: all 100ms linear;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.blog-container .blog-card-secondary {
    position: absolute;
    bottom: -25px;
    padding: 4px 12px;
    width: 100%;
    color: #eee;
    background: rgba(0, 0, 0, 0.9);
    transition: all 100ms linear;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.blog-container:hover .blog-card {
    bottom: 25px
}

.blog-container:hover .blog-card-secondary {
    bottom: 0px
}

.blog-image {
    width: 100%;
    height: 135px;
    background-color: #777;
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSHTIBrBbPRjgYVZgxXH2fkPC_CrEdMMpXcGw&s");
}

.text-ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.badge {
    background: var(--theme-color);
    padding: 2px 6px;
    border-radius: 2px;
    color: #fff;
    margin-right: 5px;
    font-size: 14px;
}

.badge.green {
    color: var(--green);
    background-color: var(--dark-green);
}

.badge.secondary {
    background-color: #222;
    color: var(--text-secondary);
}

.badge.red {
    background-color:var(--red);
    color: white;
}

.badge.yellow {
    background-color:var(--yellow);
    color: #ffffff;
}

.badge i {
    font-size: 12px;
}

.bg-secondary {
    background-color: var(--text-secondary);
}

.text-white {
    color: white;
}

.small {
    font-size: 75%;
}

.fade {
    opacity: 75%
}

.w-auto {
    width: auto;
}

.center {
    text-align: center;
}

.fieldset-header {
    background-color: var(--inner-fieldset-border);
    color: #666;
    font-weight: 400;
}

table {
    border-collapse: collapse;
    border-right: 2px var(--fieldset-border) solid;
    border-left: 2px var(--fieldset-border) solid;
}

table thead th {
    border-right: 2px var(--fieldset-border) solid;
    padding-left: 10px;
    border-top: 2px var(--fieldset-border) solid;
    border-bottom: 2px var(--fieldset-border) solid;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: var(--inner-fieldset-border);
    color: #999;
    font-weight: 400;
}

table th:last-of-type {
    border-right: none;
}

table tbody td {
    border-right: 2px var(--fieldset-border) dotted;
    border-top: 2px dotted var(--fieldset-border);
    border-bottom: 2px dotted var(--fieldset-border);
    padding: 10px
}

table tbody tr:last-of-type td {
        border-bottom: 2px solid var(--fieldset-border);
}

table tbody tr:nth-child(even) {
    background-color: var(--inner-fieldset-bg);
}
