@charset "UTF-8";

/* COLOR VARIABLES*/
:root {
    --header-bg-color: #3e016f;
    --header-ft-color: #282C36;
    --header-ft-hover-color: #fff;
    --input-text: #282C36;
    --highlight-light: #8353fd;
    --highlight-dark: #3e016f;
    --accent-dim: #E6E8ED;
    --accent-super-dim: #F4F5F7;
    --font-color: #282C36;
    --card-box-shadow: 0 1px 2px 0 rgba(61, 65, 68, 0.06), 0 1px 3px 1px rgba(61, 65, 68, 0.16);
    --search-box-shadow: 0 1px 2px 0 rgba(41, 45, 48, 0.36), 0 1px 3px 1px rgba(41, 45, 48, 0.46);
    --transition: 350ms;
}

.tile-container {
    display: flex; /* Enable flexbox */
    flex-wrap: wrap; /* Allow tiles to wrap to the next line */
    justify-content: space-between; /* Space tiles evenly */
    margin-top: 20px; /* Margin between sections */
}

.tile {
    background-color: #f5f5f5; /* Background color */
    border: 1px solid #ccc; /* Border around tiles */
    border-radius: 5px; /* Rounded corners */
    padding: 20px; /* Padding inside tiles */
    width: calc(33.33% - 20px); /* Width for 3 tiles in a row, accounting for margins */
    text-align: center; /* Center text */
    cursor: pointer; /* Change cursor to pointer */
    transition: background-color 0.3s; /* Smooth background change on hover */
    margin: 0 10px 20px; /* Margin for spacing */
}

.tile:hover {
    background-color: #e0e0e0; /* Darker shade on hover */
    color: #006666; /* Change text color on hover */
}

/* Media queries for smaller screens */
@media (max-width: 768px) {
    .tile {
        width: calc(50% - 20px); /* Two tiles per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .tile {
        width: 100%; /* Single tile per row on very small screens */
    }
}

/* More specific selector to override */
.index-landing > .article {
    margin-top: 0; /* Remove the top margin */
    margin-bottom: 115px; /* Adjust bottom margin as necessary */
}

.hero-image {
    position: relative; /* Keep it relative for correctly positioned child elements */
    top: 0; /* Align to the top */
    left: 0; /* Align to the left */
    width: 100%; /* Ensure it spans the full width of the container */
    height: auto; /* Maintain its original aspect ratio */
    max-height: 300px; /* Prevent the height from exceeding 300px if needed */
    object-fit: cover; /* Make the image cover the area while maintaining aspect ratio */
}

.header-text {
    position: absolute; /* Keep it absolutely positioned */
    top: 50%; /* Center within the hero image */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust to maintain perfect centering */
    z-index: 15; /* Ensure it overlays */
    color: white; /* Text color */
    font-weight: bold; /* Bold font weight */
    text-align: center; /* Center text alignment */
    display: flex; /* Enable flex properties */
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Center items vertically */
    align-items: center; /* Center items horizontally */
    width: 80%; /* Ensure it takes full width */
    padding: 10px; /* Adds some padding around the text */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    border-radius: 5px; /* Optional: rounding the corners */
}

@media (max-width: 768px) {
    /* Media query for smaller screens */
    .header-text {
        top: 60%; /* Adjust vertical centering for smaller devices */
    }
}


html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

main {
    display: block;
}

h1 {
    font-size: 2em;
    margin: .67em 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: none;
    -webkit-text-decoration: underline;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -.25em;
}

sup {
    top: -.5em;
}

img {
    border-style: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button;
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: .35em .75em .625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.mktoFormRow input {
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* HIGHLIGHT COLOR */

button,
a {
    color: var(--highlight-light);
    cursor: pointer;
}

button:hover,
button:focus,
a:hover,
a:focus {
    color: var(--highlight-dark);
    text-decoration: none;
}

.toc .nav > li.active > a {
    color: var(--font-color);
    font-weight: bold;
}

.toc .nav > li.active > a:hover,
.toc .nav > li.active > a:focus {
    color: var(--highlight-dark);
    color: var(--font-color);
    font-weight: bold;
}

.pagination > .active > a {
    background-color: var(--header-bg-color);
    border-color: var(--header-bg-color);
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    background-color: var(--highlight-dark);
    border-color: var(--highlight-dark);
}

/* HEADINGS */
h1 {
    font-weight: 600;
    font-size: 24px;
}

h2 {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.8;
}

h3 {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.8;
}

h5 {
    font-size: 14px;
    padding: 10px 0px;
}

article h1,
article h2,
article h3,
article h4 {
    margin-top: 35px;
    margin-bottom: 15px;
}

article h4 {
    padding-bottom: 8px;
    border-bottom: 2px solid #ddd;
}

.bs-docs-sidebar h4 {
    color: var(--header-ft-color);
    padding-left: 4px;
}

/* NAVBAR */

.navbar-brand > img {
    color: var(--header-ft-color);
}

.navbar {
    border: none;
}

.subnav {
    background-color: #fff;
}

.navbar-inverse {
    background-color: #fff;
    z-index: 100;
}

.navbar-inverse a {
    color: var(--header-ft-color);
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-text {
    color: var(--header-ft-color);
    background-color: #fff;
    border-bottom: 1px solid transparent;
    padding-bottom: 12px;
    transition-duration: 350ms;
    transition-property: color;
}

.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
    color: var(--header-ft-hover-color);
    background-color: var(--header-bg-color);
    height: 50px;
    cursor: pointer;
}

.navbar-form .form-control {
    position: relative;
    border-radius: 5px;
    padding-left: 2.5rem;
    padding-right: 1rem;
    z-index: 1;
}

.navbar-form .search-icon {
    position: absolute;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    color: var(--input-text);
    background-color: transparent;
    width: 2rem;
    height: 32px;
    line-height: 32px;
    left: 0px;
    text-align: center;
    z-index: 2;
}

/* NAVBAR TOGGLED (small screens) */

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
    border: none;
}

.navbar-inverse .navbar-toggle {
    border: none;
}

/* SIDEBAR */

.toc .level1 > li {
    font-weight: 400;
}

.toc .nav > li > a {
    color: var(--font-color);
}

.sidefilter {
    background-color: #fff;
    border-left: none;
    border-right: none;
}

.sidefilter {
    background-color: #fff;
    border-left: none;
    border-right: none;
}

.toc-filter {
    position: relative;
    padding: 5px;
    margin: 0;
    transition: var(--transition);
}

.toc-filter > .filter-icon {
    position: absolute;
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    top: 6px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    left: 5px;
    background-color: transparent;
    color: var(--input-border);
}

.sidetoc > .toc {
    background-color: #fff;
    overflow-x: hidden;
}

.sidetoc {
    background-color: #fff;
    border: none;
}

/* ALERTS */

.alert {
    padding: 0px 0px 5px 0px;
    margin-top: 1rem;
    color: inherit;
    background-color: inherit;
    border: none;
    box-shadow: var(--card-box-shadow);
}

.alert > p {
    margin-bottom: 0;
    padding: 5px 10px;
}

.alert > ul {
    margin-bottom: 0;
    padding: 5px 40px;
}

.alert > h5 {
    padding: 10px 15px;
    margin-top: 0;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}

.alert-info > h5 {
    color: #0268AC;
    border-bottom: 4px solid #0268AC;
    background-color: #e3f2fd;
}

.alert-warning > h5 {
    color: #f57f17;
    border-bottom: 4px solid #f57f17;
    background-color: #fff3e0;
}

.alert-danger > h5 {
    color: #d32f2f;
    border-bottom: 4px solid #d32f2f;
    background-color: #ffebee;
}

/* CODE HIGHLIGHT */
pre {
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #fffaef;
    border-radius: 4px;
    border: none;
    box-shadow: var(--card-box-shadow);
}

/* STYLE FOR IMAGES */

.article .small-image {
    margin-top: 15px;
    box-shadow: var(--card-box-shadow);
    max-width: 350px;
}

.article .medium-image {
    margin-top: 15px;
    box-shadow: var(--card-box-shadow);
    max-width: 550px;
}

.article .large-image {
    margin-top: 15px;
    box-shadow: var(--card-box-shadow);
    max-width: 700px;
}