﻿a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
    border-radius: 0px;
}

.nav-link {
    display: inline-block;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom for footer */
    margin-bottom: 8em;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.text-warning-glow {
    color: red;
    animation: warning-glow 3s infinite linear;
}

/*Random Site Styles*/
.inactive_elmnt {
    display: none !important;
}

.active_elmnt {
    display: flex;
}

.show {
    display: initial;
}

.filter_select {
    margin-bottom: 0.5em;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

.lock-scroll {
    overflow: hidden;
}

.break {
    flex-basis: 100%;
    height: 0;
}

.main_container {
    display: flex;
    justify-content: space-between;
}

.floating_header_container {
    position: fixed;
    width: 100%;
    z-index: 500;
}

.external_links > a > img {
    width: 200px;
}

.search_results_container {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 66%;
    min-height: 85vh;
}

.header_placeholder {
    height: 15vh;
}

.card,
.compare_card {
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 24px;
    padding: 8px 12px;
    max-height: max-content;
}

.card {
    display: flex;
    flex-direction: column;
    flex-basis: 33%;
    max-width: 256px;
    margin-right: 3em;
}

.product_data {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    width: 100%;
}

.card_thumb_container {
    background-color: #f9f9f9;
    border-radius: 2px;
    height: 150px;
    width: 100%;
    position: relative;
}

.card_thumbnail {
    height: 150px;
    margin: auto;
    display: table;
}

.compare_card {
    max-width: fit-content;
    margin-right: 1em;
}

.card_info {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card_prod_info {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    width: max-content;
    flex-direction: column;
}

.btn_container {
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    justify-content: space-around;
}

.quick_vw_btn {
    width: fit-content;
    text-align: center;
    line-height: 1;
    font-size: 1.15em;
    padding: 0.6em 1em;
}

.add_to_comp_btn {
    width: fit-content;
    width: -moz-fit-content;
    text-align: center;
    line-height: 1;
    font-size: 1.25em;
    margin-bottom: 0.5em;
    padding: 0.25em;
}

.wizard_container {
    width: 100%;
    min-height: 400px;
}

.search_filter {
    position: fixed;
    width: 33%;
    overflow-y: scroll;
    max-height: 80vh;
}

.search_filter_placeholder {
    flex-basis: 33%;
}

.search_select {
    flex-wrap: wrap;
}

.loading,
.filter_type {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    flex-direction: column;
    cursor: pointer;
}

.filter_type {
    cursor: default;
}

.search_wizard,
.search_type,
.model_search {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    box-shadow: 0px 0px 8px 3px black;
}

.model_search {
    cursor: default;
    height: 60px;
    box-shadow: none;
}

.model_search_container {
    display: flex;
    justify-content: center;
    background: white;
}

    .model_search_container > input {
        border: none;
        outline: none;
    }

.search_wizard {
    width: 300px;
    height: 300px;
}

.short {
    width: 225px;
    height: 125px;
}

.long {
    width: 360px;
    height: 100px;
}

.search_type_icon {
    width: 95px;
    height: 80px;
}

.search_type_icon_small {
    width: 50px;
    height: 50px;
}

.search_specific_model_go {
    width: 50px;
    height: 25px;
    text-align: center;
    cursor: pointer;
}

.info_panel {
}

    .info_panel > h2 {
        margin-left: 0.5rem;
    }

.filter_container,
.search_type_container,
.wizard_type_container {
    min-height: 400px;
}

.info_panel,
.filter_container,
.search_type_container,
.wizard_type_container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.info_panel,
.filter_container {
    flex: 1;
}

.search_type_container {
    flex: 2;
    flex-flow: row wrap;
}

.wizard_type_container {
    flex: 1;
}

.filter_type.filters {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
}

.filter_header {
    display: flex;
    flex-basis: 100%;
    flex-flow: row;
    align-items: center;
    margin-left: 0.5em;
    margin-top: 0.5em;
}

    .filter_header > p {
        margin-bottom: 0;
    }

    .filter_header > hr {
        border: white solid 1px;
        width: 100%;
    }

.model_search_btns {
    margin-top: 2em;
    width: 50%;
    display: flex;
    justify-content: space-around;
}

.filter_search_btns {
    display: flex;
    flex-direction: row;
    flex-basis: 100%;
    justify-content: center;
    margin-top: 2em;
    margin-bottom: 2em;
}

.filter_type > input {
    font-size: 2em;
    border-color: transparent;
}

.filter_row,
.filter_row_columnated {
    margin-left: 0.75em;
    margin-right: 0.25em;
    margin-top: 0.5rem;
    width: 100%;
}

.filter_row_columnated {
    display: flex;
    justify-content: space-evenly;
}

.loading {
    width: 100%;
    background-color: #9d9688;
}

.brand_select,
.product_select,
.compare,
.quickview,
.announcements {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.63);
    z-index: 999;
    top: 0;
    left: 0;
    justify-content: center;
}

.product_select {
    text-align: center;
    background-color: gray;
}

.compare_panel,
.quickview_panel {
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    width: 50%;
    background-color: white;
    position: fixed;
}

.quickview_panel {
    overflow-y: scroll;
    height: 90vh;
}

    .quickview_panel > .nav-pills,
    .quickview_panel > .tab-content {
        margin-left: 0.5rem;
        margin-bottom: 0.5rem;
    }

.lit-content {
    display: flex;
    flex-direction: column;
}

    .lit-content > .card {
        margin-right: 0;
        max-width: none;
        width: 100%;
        align-items: center;
        padding: 0px;
    }

        .lit-content > .card > .card-header {
            width: 100%;
            text-align: center;
            background-color: #e0e0e0;
        }

            .lit-content > .card > .card-header button {
                width: 100%;
                text-decoration: none;
                color: black;
            }

                .lit-content > .card > .card-header button:before {
                    content: "\25bc";
                    float: right;
                    color: gray;
                }

.spec-content,
.var-content {
    display: flex;
    flex-direction: row;
}

.var-content {
    flex-wrap: wrap;
}

.document_list {
    margin-top: .5em;
    margin-left: .5em;
    flex-basis: 70%;
}

.document_list_item {
    display: flex;
    border: black solid 1px;
    margin-bottom: 0.25em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    padding-left: 0.25em;
}

    .document_list_item > a {
        flex-basis: 10%;
        color: #54565a;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"/></svg>');
        background-repeat:no-repeat;
        background-position:center;
    }

    .document_list_item > span {
    }

#divWarning {
    margin-bottom: 0.5rem;
}

.compare_panel {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    text-align: center;
    width: max-content;
}

    .compare_panel .compare_panel_dismiss {
        display: flex;
        justify-content: space-between;
        margin: 0.5em;
    }

        .compare_panel .compare_panel_dismiss span {
            cursor: pointer;
        }

.compare_card_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    text-align: initial;
}

.brand_select {
    background-color: aliceblue;
    text-align: center;
}

.brand_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.brand_box {
}

    .mcdlg_brand_logo,
    .brand_box > img {
        width: 300px;
    }

.product_box {
}

    .product_box > img {
        border: white 3px solid;
        width: 400px;
    }

    .product_box > h1 {
        width: auto;
        font-size: 2em;
    }

.top_row {
}

.bottom_row {
    margin-top: 3em;
}

.brand_logo {
    cursor: pointer;
    border: black 3px solid;
}

    .brand_logo:hover {
        transform: scale(1.1);
    }

.compare_preview_container {
    position: fixed;
    top: 13%;
    right: 0;
    flex-direction: column;
    justify-content: center;
    width: max-content;
    text-align: center;
    background-color: #808080d9;
}

.compare_header_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.compare_card_preview_container {
    display: flex;
    flex-direction: row;
    margin-top: 1em;
}

.card_list {
    list-style-type: none;
    display: flex;
}

    .card_list li.ui-sortable-handle {
        cursor: move; /* fallback if grab cursor is unsupported */
        cursor: grab;
        cursor: -moz-grab;
        cursor: -webkit-grab;
    }

        .card_list li.ui-sortable-handle.ui-sortable-helper {
            cursor: grabbing;
            cursor: -moz-grabbing;
            cursor: -webkit-grabbing;
            opacity: .9;
        }

.compare_card_preview {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    display: flex;
    margin: 0px 8px;
    padding: 16px;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    width: max-content;
    flex-basis: 20%;
}

.brand_change {
    color: white;
    text-decoration: none;
    margin-left: 1em;
}

.carousel {
    overflow: hidden;
    width: 500px;
}

.carousel-inner > .carousel-item.active > img {
    display: table;
    margin: auto;
    width: inherit;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #0366d6;
}

.announcements,
.timeout-overlay {
    background-color: #f2f2f2;
    position: absolute;
    min-height: 100vh;
    width: 100%;
    z-index: 9999;
    top: 0;
    left: 0;
    text-align: center;
}

.timeout-overlay {
    align-items: center;
    background-color: #000000d1;
    position: fixed;
}

.announcement_header {
    width: 100%;
    font-size: 3em;
    color: #8c2a43;
    font-weight: bold;
}

.announcement {
    margin-bottom: 5em;
    border-top: solid black 2px;
    border-bottom: solid black 2px;
    padding-top: 1em;
    padding-bottom: 1em;
}

.filter_change_items {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.product_unavailable_img {
    filter: blur(5px) grayscale(100%);
}

.product_unavailable_text {
    position: absolute;
    top: 20px;
    text-align: center;
    background-color: #00000047;
    color: white;
}

@media screen and (min-width: 769px) {

    .search_filter_placeholder {
        flex-basis: 38%;
    }

    .search_filter {
        position: fixed;
        width: 35%;
        overflow-y: scroll;
        max-height: 80vh;
    }

    .filter_container {
        padding-left: 2em;
    }
}

@media screen and (max-width: 840px) and (min-width: 768px) {
    .card {
        flex-basis: 40%;
    }
}

@media screen and (max-width: 768px) {

    .nav-link {
        display: block;
    }

    .header_placeholder {
        height: 20vh;
    }

    .top_row,
    .bottom_row {
        margin-top: 1.5em;
        margin-bottom: 1.5em;
    }

    .product_select {
        position: absolute;
        height: fit-content;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.63);
        z-index: 999;
        top: 0;
        left: 0;
        justify-content: center;
    }

    .main_container {
        display: flex;
        flex-direction: column;
    }

    .search_filter {
        position: inherit;
        width: 100%;
        overflow: hidden;
        max-height: none;
        margin-bottom: 1em;
    }

    .card {
        display: flex;
        flex-direction: column;
        flex-basis: max-content;
        min-width: -webkit-fill-available;
        max-width: none;
        margin-left: 1.5em;
        margin-right: 1.5em;
    }

    .product_data {
        display: block;
    }

    .product_box {
        text-align: center;
        width: 200px;
    }

        .product_box > img {
            border: white 2px solid;
            width: 100%;
        }

        .product_box > h1 {
            width: 100%;
            font-size: 1.4em;
        }

    .card_list {
        list-style-type: none;
        display: list-item;
    }

    .compare_panel,
    .quickview_panel {
        border: 1px solid rgba(0, 0, 0, 0.3);
        border-radius: 4px;
        background-color: white;
        position: fixed;
        overflow-y: scroll;
        max-height: 95vh;
        overflow-x: hidden;
        width: 80%;
    }

    .carousel {
        overflow: hidden;
        width: inherit;
    }

    #tutorialStepModal > .modal-dialog > .modal-content {
        border: 1px solid rgba(0, 0, 0, 0.3);
        border-radius: 4px;
        background-color: white;
        position: fixed;
        overflow-y: unset;
        max-height: fit-content;
        overflow-x: hidden;
        width: 100%;
    }

    .document_list {
        margin-top: 1.5em;
        margin-left: .5em;
        margin-right: .5em;
    }

    .document_list_item {
        display: flex;
        justify-content: space-between;
        border: black solid 1px;
        margin-bottom: 0.75em;
        padding-top: 0.5em;
        padding-bottom: 0.25em;
        padding-left: 0.25em;
    }

    .spec-content,
    .var-content {
        display: flex;
        flex-direction: column;
    }

    .var-content {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 1024px) {
    .footer {
        position: relative;
        width: 100%;
        white-space: normal;
        flex-direction: column;
    }

    .footer-contact {
        padding-left: 15px;
        margin-right: auto;
        margin-top: 5px;
    }
}

@media screen and (max-width: 1441px) {

    .search_results_container {
        justify-content: space-around;
    }

    h5 {
        width: 100%;
        text-align: center;
    }

    .filter_header hr {
        display: none;
    }

    .filter_row_columnated {
        flex-direction: column;
        align-content: center;
        flex-wrap: inherit;
    }

    .filter_row {
        text-align: center;
    }
}

@keyframes warning-glow {
    0% {
        text-shadow: 1px 1px 0px #fff, 1px 1px 0px red;
    }

    50% {
        text-shadow: 1px 1px 20px #fff, 1px 1px 20px red;
    }

    100% {
        text-shadow: 1px 1px 0px #fff, 1px 1px 0px red;
    }
}
