/* GENERAL */
html {
	position: relative;
	min-height: 100%;
}
body {
	padding: 120px 0px;
	transition: 1s;
}
section {
	padding: 50px 0;
}
h1.title,
h2.title {
	font-size: 2.3rem;
}
#page-title,
.welcome h1 {
	font-size: 2.7rem;
}
.form-control {
    background-color: transparent;
    color: inherit;
}
.form-control:focus {
	background-color: transparent;
	color: inherit;
    border-color: var(--light);
    box-shadow: 0 0 10px 2px #91919178;
}
.page-info {
	display: flex;
    flex-wrap: wrap;
    column-gap: 15px;
	margin: 0px 0px 17px 2px;
	font-variant: small-caps;
}
.page-info a,
.page-info a:hover {
	color: inherit;
}
a {
	color: #84a98c;
}
a:hover {
	color: #52796f;
}
a.title-link {
	width: fit-content;
    display: block;
    text-decoration: none!important;
}
.bold {
	font-weight: bold;
}
.no-break {
	white-space: nowrap;
}

/* IMAGE */
img {
	max-width: 100%;
}
.welcome img,
section img {
	border-radius: 5px;
}
blockquote {
    padding: 10px 20px;
    margin: 0 0 20px 20px;
    border-left: 5px solid #eee;
    font-style: italic;
}

/* CODE */
.code-badge-container {
    display: flex;
    column-gap: 5px;
    justify-content: flex-end;
    margin-bottom: -0.25em;
}
.code-badge-container i {
    cursor: pointer;
}
pre, code {
	background: #f8f8f8;
	color: #333;
}
pre {
	padding: 10px;
    border-style: solid;
    border-width: 1px 1px 1px 2px;
    border-color: #dfdfdf #dfdfdf #dfdfdf #ccc;
}
code {
	display: inline-block;
	padding: 0 0.5em;
	line-height: 1.4em;
	border-radius: 3px;
}

/* TABLE */
table {
	empty-cells: show;
	border: 1px solid #cbcbcb;
	width: 100%;
	font-size: 0.9em;
	margin-bottom: 1rem;
}
thead {
	background-color: #e0e0e0;
	color: #000;
	text-align: left;
	vertical-align: bottom;
}
tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}
th, td {
	padding: 0.5em 1em;
}

/* TAGS */
.tag-container {
	margin-bottom: 8px;
}
.tag-container .tag {
	padding: 1px 10px 3px 10px;
    border: 1px solid #bea984;
    border-radius: 15px;
    background: linear-gradient(338deg, #362e28, #6e551c);
    color: #ffd679;
    font-size: small;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0px 0px 15px 4px #e6ac0a00!important;
    white-space: nowrap;
	font-variant: small-caps;
	text-decoration: none!important;
}
.tag:hover {
    color: #fbe8be;
    border: 1px solid #e7cea5;
}

/* ICONS */
.fa-folder,
.fa-folder-open {
	transform: rotate(-90deg);
}
.page-info .fa {
	font-weight: bold;
}

/* PAGINATOR */
.paginator {
	margin-top: 20px;
	margin-bottom: 80px;
}

/* NAVBAR */
.navbar,
.footer,
.landingpage-image {
	box-shadow: 0 0 12px 0px #343a40;
}
img.nav-svg-icon {
	height: 16px;
	width: 16px;
	padding-bottom: 2px;
}
.nav-link {
	font-size: 1em;
}
.navbar-logo-container {
	max-width: 50%;
}
.navbar-logo {
	max-height: 50px;
	margin: 8px 0px;
}
.navbar-toggler .navbar-toggler-icon {
    transition: 0.5s;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(270deg);
}
.share-navbar i {
	font-size: 20px;
}
@media (min-width: 992px) {
    .current-nav-link {
        background-color: #454b50;
        border-radius: 2px;
    }
}
@media (max-width: 991px) {
    .current-nav-link {
        text-decoration: underline;
        text-underline-position: under;
		text-decoration-color: #454b50;
		text-decoration-thickness: 3px;
    }
	.share-navbar .nav-link {
		display: flex;
    	align-items: flex-end;
    	gap: 2px;
	}
}

/* FOOTER */
footer {
	padding: 20px 0px;
	position: absolute;
	bottom: 0;
	width: 100%;
	font-size: 0.9em;
}
.footer-col {
	display: flex;
	align-items: center;
	font-family: monospace;
    opacity: 0.6;
}
.footer-left {
	justify-content: flex-start;
}
.footer-right {
	justify-content: flex-end;
}
.footer-center {
    justify-content: center;
}
#footer-links {
	column-gap: 10px;
}
.mini-logo {
	height: 22px;
}
@media (max-width: 991px) {
	.footer-row {
		flex-direction: column;
	}
	.footer-col {
		justify-content: center;
	}
}

/* HOME - HEADER */
.landingpage-image {
	width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
}
header.welcome {
	padding: 20px 0;
}
.lead {
	font-size: 1.3rem;
    line-height: 1.8;
}

/* HOME - PAGE */
.page-cover-image {
	background-size: cover;
	background-position: center;
	border-radius: 5px;
}
.page-description:not(.page-preview .page-description) {
	color: #b5b5b5;
	font-style: italic;
}
.page-preview {
	border-radius: 8px;
	box-shadow: 0 0 16px 4px #c2c2c2, 6px 6px 12px 1px #737576;
    padding: 30px 0px;
}
.static-info {
	font-variant: small-caps;
	padding-right: 15px;
}

/* VIDEO EMBED RESPONSIVE */
.video-embed {
	overflow:hidden;
	padding-bottom: 56.25%; /* 16:9 */
	position:relative;
	height:0;
}
.video-embed iframe{
	left:0;
	top:0;
	height:100%;
	width:100%;
	position:absolute;
}

/* SEARCH */
.search-container {
	border: 1px solid rgba(255,255,255,.5);
    border-radius: 20px;
    padding: 0px 10px;
	margin-bottom: 3px;
	justify-content: space-between;
	flex-wrap: nowrap;
}
@media (min-width: 992px) {
	.search-container {
		width: 120px;
		padding-right: 20px;
	}
}
.search-container .fa-search {
	color: rgba(255,255,255,.5);
}
.search-container .fa-search:hover,
.navbar .navbar-nav .nav-link:hover {
    color: #9a9da0;
    cursor: pointer;
	filter: brightness(0.8);	
}
.navbar .navbar-logo {
	transition: 0.15s;
}
.navbar .navbar-logo:hover {
    filter: drop-shadow(12px 8px 2px #767676);
    -webkit-filter: drop-shadow(12px 8px 2px #767676);
    opacity: 0.9;
    transform: rotate3d(10, 10, 10, -3deg) translate(-5px, -2px);
    -webkit-transform: rotate3d(10, 10, 10, -3deg) translate(-5px, -2px);
}
#search-input {
	min-width: 90%;
}
#search-input.nondescript {
	color: white;
}
.nondescript {
	background-color: transparent;
    border: none;
}
.nondescript:focus-visible {
	outline: none;
}
#search-clear,
input[type="search" i]::-webkit-search-cancel-button {
	filter: contrast(0.1)!important;
}
@media (min-width: 992px) {
	.navbar-center {
		align-items: center;
	}
	.search-container {
		margin-left: 10px;
	}
}
@media (max-width: 768px) {
	.search-container {
		margin: 10px 0px;
	}
}
@media (max-width: 575px) {
	.page-preview {
		margin: 0px;
	}
}

/* TABLE OF CONTENT */
#toc.close {
    height: 0px;
    visibility: hidden;
}
#toc.open {
    height: auto;
    visibility: visible;
}
#toc ul {
    list-style-type: none;
    padding: 0px 0px 5px 0px;
}
#toc a {
    cursor: pointer;
}

/* BACK TO TOP */
#back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0.8s ease, bottom 0.6s ease-in-out;
}
#back-to-top.show {
	opacity: 1;
	visibility: visible;
}

/* CLIPBOARD INFO */
#clipboard-info {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 0.2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
}

#clipboard-info.show {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

/* SMART PLUGIN  */
.switch-menu {
    display: flex;
    margin: 0px 10px 0px auto;
}
.switch-menu i {
    font-size: x-large;
}
.switch-navbar i {
	font-size: larger;
}
.smart-preview-container {
	display: flex;
	align-items: center;
	max-height: 100px;
}
.smart-preview-image {
	max-height: 100px;
	margin-right: 10px;
}
.smart-preview-container:hover img {
    filter: opacity(0.8);
	transition: 0.1s;
}
.smart-preview-text {
	max-height: inherit;
	overflow: hidden;
}
.scroll-trigger {
    opacity: 0;
    transition: all 0.7s ease-in 0s;
}
.animate {
	opacity: 1;
}
@keyframes fade {
	0% {
		opacity: 0;
	}
	20% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}