body {
    min-height: 100vh;
    max-width: 2545px;
    margin: 0 auto;
    padding: 0%rem;
    border-left: 0px solid #333;
    border-right: 0px solid #333;
    background-color: #807970;
}

th,
td,
caption {
    border: 0px solid #333;
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: separate;
    padding: 0.5rem;
}

/* hr {
    border: 0;
    height: 0;
    visibility: hidden;
} */

#stop-bot {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* WebKit Browsers colorize scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #aa4e57;
}

::-webkit-scrollbar-thumb {
    background: #9b111e;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9b111e;
}

/* Scrollbar buttons */
::-webkit-scrollbar-button {
    background: black;
    /* Keep the arrows black */
}

::-webkit-scrollbar-button:increment,
::-webkit-scrollbar-button:decrement {
    display: block;
    /* Ensure the buttons are displayed */
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #9b111e #aa4e57;
}

/*end scrollbar colorize*/

/*search box*/
.container {
    text-align: left;
}

/*breadcrumbs*/
.search-and-breadcrumb-table {
    width: 100%;
}

.hamburger-container {
    width: 5%;
}

.search-cell {
    text-align: left;
}

.breadcrumb-cell {
    padding-top: 2%;
    text-align: center;
    display: flex;
    align-items: left;
    transition: background-color 1.0s;
    color: #ffffff;
    white-space: nowrap;
}

.breadcrumb-cell a {
    background-color: #9b111e;
    transition: background-color 1.0s;
    /*new section for chevrons */
    padding: 6px 14px;
    margin-right: 6px;
    display: inline-block;
    clip-path: polygon(0 0,
            90% 0,
            100% 50%,
            90% 100%,
            0 100%,
            5% 50%);
}

.breadcrumb-cell a:hover {
    background-color: #ffffff;
    color: #807970;
}

/*new span section for non-linked breadcrumb*/
.breadcrumb-cell span {
    background-color: #0000cd;
    padding: 6px 14px;
    margin-right: 6px;
    display: inline-block;
    clip-path: polygon(0 0,
            100% 0,
            100% 50%,
            100% 100%,
            0 100%,
            5% 50%);
}

.crumb {
    display: inline-block;
    filter: drop-shadow(5px 10px 5px #000000);
}

.crumb-current {
    display: inline-block;
    filter: drop-shadow(5px 1px 5px #000000);
    transform: translateY(3px);
}

.crumb a,
.crumb span {
    display: inline-block;
}

.toggle-switch-cell {
    text-align: right;
}

.toggle-switch-cell {
    text-align: right;
}

/*mobile device hamburger menu*/
.sidebar {
    list-style-type: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: #0000cdbb;
    backdrop-filter: blur(2px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    list-style-type: none;
    width: 100%;
    height: 50px;
}

.sidebar-nest {
    position: absolute;
    visibility: hidden;
    text-align: center;
    align-items: center;
    height: 5%;
    padding-left: 10%;
    width: 70%;
    background-color: rgba(51, 21, 21, 0.1);
}

.sidebar-main-content:hover .sidebar-nest {
    visibility: visible;
    display: flex;
}

/*Sidebar menu darkmode swap*/
:root {
    --ssm-link-bg: #807970;
    --ssm-link-bg-hover: #9b111e;
}

.ssm-link-cell {
    background-color: var(--ssm-link-bg) !important;
}

.ssm-link-cell:hover {
    background-color: var(--ssm-link-bg-hover) !important;
}

/* Sidebar menu underline effect */
a.ssmItems:link,
a.ssmItems:visited,
a.ssmItems:active {
    color: white;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

a.ssmItems::before {
    content: "";
    position: absolute;
    bottom: -2px;
    /* adjust if needed */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

a.ssmItems:hover {
    color: white;
    text-decoration: none;
}

a.ssmItems:hover::before {
    transform: scaleX(1);
}


/*page navigation*/
.page-navigation {
    width: 68.25%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2%;
    background-color: #9b111e;
    box-shadow: 15px 15px 15px #000000;
    text-align: center;
}

.page-navigation a:hover {
    color: #9b111e;
    background-color: #ffffff;
    transition: background-color 1s;
}

.nav-link-sub {
    padding: 0 5%;
}

/*quick nav link click margin*/
#photos {
    scroll-margin-top: 125px;
}

#article {
    scroll-margin-top: 125px;
}

#hardware {
    scroll-margin-top: 125px;
}

#comments {
    scroll-margin-top: 125px;
}

/*text*/
.text {
    color: #000000;
    text-align: center;
}

/*article container*/
.article-container {
    display: block;
    background-color: #807970;
    width: 70%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    text-align: justify;
    line-height: 1.4;
}

/*links in body - usually to outside sources or destinations of interest, always opens new tab*/
.article-container a {
    color: #000000;
    text-decoration: underline;
    background-color: 807970;
    transition: background-color 1.0s;
}

.article-container a:hover {
    background-color: #ffffff;
    color: #807970;
}

/*aside formats*/
aside {
    font-style: italic;
    color: rgba(0, 0, 0, 0.5)
}

/*img*/
.img {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*fonts sizes*/
h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.25em;
}

div {
    font-size: 1em;
}

nav {
    font-size: .9em;
}

/*hardware information table*/
.table-container {
    width: 40%;
    background-color: #57514a;
    margin-left: auto;
    margin-right: auto;
    border: 0px solid #000000;
    border-collapse: separate;
    text-align: left;
}

.table {
    width: 100%;
    border: 0px solid #000000;
}

.table-data {
    width: 100%;
}

.table-data-hardware {
    background-color: #807970;
    border: 0px solid #000000;
    text-align: left;
    border-collapse: separate;
}

.table-data-specification {
    background-color: #9b948c;
    border: 0px solid #000000;
    text-align: left;
    border-collapse: separate;
    text-decoration: dotted;
}

.model-name {
    background: #9b948c;
    font-weight: bold;
    border-top: 2px solid #444;
}

.compare {
    background: #807970;
    font-weight: bold;
    border-top: 2px solid #444;
}

/*downloads table*/
.downloads-container {
    width: 40%;
    background-color: #57514a;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #57514a;
    border-collapse: separate;
    text-align: left;
}

.downloads-table {
    width: 100%;
    border: px solid #000000;
    border-collapse: collapse;
}

.table-downloads-caption {
    background-color: #807970;
    border: 1px solid #57514a;
    text-align: left;
    border-collapse: separate;
    vertical-align: middle;
}

.table-downloads-caption img {
    vertical-align: middle;
    margin-left: 5px;
}

.download-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.download-item {
    text-align: center;
}

.download-item aside {
    margin-top: 6px;
    font-size: 0.9em;
}

.download {
    width: 100%;
    height: auto;
    margin-right: 25%;
    cursor: pointer;
}

#pdfButton {
    display: flex;
    align-items: center;
}

/*software image disclaimer toggle*/
.toggle-container {
    display: grid;
    place-items: center;
}

.accordion {
    display: inline-block;
    text-align: left;
    margin: 1%;
    width: 70%;
}

.accordion:hover .content {
    max-height: 300px;
}

.content {
    box-shadow: 15px 15px 15px #000000;
    -webkit-transition: max-height 2s;
    -moz-transition: max-height 2s;
    -ms-transition: max-height 2s;
    -o-transition: max-height 2s;
    transition: max-height 2s;
    background: #e5feff;
    overflow: hidden;
    max-height: 0;
}

.inner {
    padding: 0 15px;
}

.toggle {
    background: #57514a;
    border-radius: 3px;
    color: #000000;
    display: block;
    box-shadow: 15px 15px 15px #000000;
    margin: 0 0 10px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
}

.toggle:hover {
    background: #9b111e;
}

/*html bottom links*/
#links-container {
    text-align: center;
}

#links-container a:hover {
    background-color: #ffffff;
    color: #807970;
}

/*small tablet styles*/
@media screen and (min-width: 300px) {

    body {
        font-size: 8px;
    }

    .hamburger {
        width: 48px;
        height: 48px;
    }

    .sidebar {
        width: 100%;
    }

    /*random article styling phones */
    .dice {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .dice-img {
        margin-left: 10px;
        max-width: 50%;
        max-height: auto;
        cursor: pointer;
    }

    /*breadcrumbs screen size toggle*/
    .large-screen-crumbs {
        display: none;
    }

    .small-screen-crumbs {
        display: contents;
    }

    .small-crumb {
        display: flex;
        gap: 2px;
    }

    .small-screen-crumbs .breadcrumb-cell a,
    .small-screen-crumbs a {
        padding: 4px 6px;
        margin-right: 0px;
    }

    .small-screen-crumbs a {
        clip-path: polygon(0 0,
                88% 0,
                100% 50%,
                88% 100%,
                0 100%,
                6% 50%);
    }

    .image-png {
        max-width: 40%;
        max-height: 100%;
    }

    #le-bot {
        display: none;
    }

    /*speech bubble for downloads section*/
    .speech-bubble {
        display: none;
    }

}

/* large tablets and laptop styles*/
@media screen and (min-width: 860px) {

    body {
        font-size: 13px;
    }

    .hamburger {
        width: 80px;
        height: 80px;
    }

    .sidebar {
        width: 50%;
    }

    /*random article styling tablets */
    .dice {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .dice-img {
        margin-left: 10px;
        max-width: 100%;
        max-height: auto;
        cursor: pointer;
    }

    /*breadcrumbs screen size toggle*/
    .large-screen-crumbs {
        display: contents;
    }

    .small-screen-crumbs {
        display: none;
    }

    .image-png {
        max-height: 60%;
        max-width: 100%;
    }

    #le-bot {
        display: inline;
        border-radius: 50%;
        width: 10%;
        height: auto;
        margin-left: 30%;
        border: 3px solid #d8d2d2;
        box-shadow: 0 4px rgba(0, 0, 0, 0.4);
    }

    /*speech bubble for downloads section*/
    .speech-bubble {
        display: inline;
        position: relative;
        background: #b0dadd;
        border-radius: .4em;
        width: 50%;
    }

    .speech-bubble:after {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 0;
        height: 0;
        border: 23px solid transparent;
        border-right-color: #b0dadd;
        border-left: 0;
        border-top: 0;
        margin-top: -11.5px;
        margin-left: -23px;
    }
}

/*desktop styles */
@media screen and (min-width: 1400px) {

    body {
        font-size: 18px;
    }

    .hamburger {
        width: 100px;
        height: 100px;
    }

    .sidebar {
        font-size: 1.5rem;
    }

    .sidebar li {
        padding-top: 5%;
    }

    /*random article styling desktop */
    .dice {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .dice-img {
        margin-left: 10px;
        max-width: 100%;
        max-height: auto;
        cursor: pointer;
    }

    /*breadcrumbs screen size toggle*/
    .large-screen-crumbs {
        display: contents;
    }

    .small-screen-crumbs {
        display: none;
    }

    .image-png {
        max-height: 100%;
        max-width: 100%;
    }

    #le-bot {
        display: inline;
        border-radius: 50%;
        width: 10%;
        height: auto;
        margin-left: 30%;
        border: 3px solid #d8d2d2;
        box-shadow: 0 4px rgba(0, 0, 0, 0.4);
    }

    /*speech bubble for downloads section*/
    .speech-bubble {
        display: inline;
        position: relative;
        background: #b0dadd;
        border-radius: .4em;
        width: 50%;
    }

    .speech-bubble:after {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 0;
        height: 0;
        border: 23px solid transparent;
        border-right-color: #b0dadd;
        border-left: 0;
        border-top: 0;
        margin-top: -11.5px;
        margin-left: -23px;
    }
}

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

    .recaptcha-wrapper {
        transform: scale(0.5);
        transform-origin: center top;
        width: 100%;
        display: flex;
        justify-content: center;
    }
}