﻿@media (max-width: 1228.98px) {
    .sort-group {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        display: block;
        position: absolute;
        width: 48px;
        left: 8px;
        top: 4px;
    }

    .brand-title {
        margin-left: 40px;
    }

    .search-navbar {
        display: none;
    }
}

@media (min-width: 992px) {
    .navbar-brand img {
        display: block;
        position: absolute;
        width: 90px;
        left: 8px;
        top: 4px;
    }

    .brand-title {
        margin-left: 70px;
    }
}

.image-header {
    height: 100vh;
    max-height: 160px;
    background-image: url('/Images/Banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-text {
    font-family: system-ui,-apple-system," Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    color: #116b0c;
}

body {
    padding-top: 56px;
    background: #e5eef6;
}

/* Colors */
.color-m1 {
    background-color: #e5e4cc;
}

.color-m2 {
    background-color: #d1e7dd;
}

.color-m3 {
    background-color: #d8e9f8;
}

.color-m4 {
    background-color: #eeeeee;
}

.color-m5 {
    background-color: rgba(116, 116, 191, 0.2);
}

.btn-default-green {
    background-color: #d1e7dd !important;
    color: black;
}

/* Navigation bar */
.navbar {
    background: #fff;
    padding-left: 16px;
    padding-right: 16px;
    border-bottom: 1px solid #d6d6d6;
    box-shadow: 0 0 4px rgba(0,0,0,.1);
}

.nav-link, .dropdown-item {
    color: black !important;
}

.dropdown-menu {
    max-height: 360px;
    overflow-y: auto;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: rgba(116, 116, 191, 0.44) !important;
}

.form-control.search {
    width: 280px;
}

.btn {
    border-color: lightgray;
    border-radius: 2px !important;
}

.clean-link {
    text-decoration: none;
}

.clean-link:hover {
    text-decoration: underline;
}

.form-check-input:checked[type=checkbox]
{
    border-color: gray;
    background-color: gray;
}

.input-group-counter {
    width: 65px;
    align-items: center;
    display: table;
    margin: auto;
    padding: 10.5px 4px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    /*background-color: #e9ecef;*/
    background-color: #f7faee;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

/* Grid cards */
.album {
    display: grid;
    grid-template-columns: repeat(auto-fill, 240px);
    justify-content: center;
    column-gap: 15px;
    gap: 15px;
}

    .album .card {
        height: 310px;
    }

.model:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 25px 0 rgba(0,0,0,.3), 0 0 1px 0 rgba(0,0,0,.25);
}

.model a {
    text-decoration: none;
    color: black;
}

.card-img-top {
    object-fit: contain;
    padding: 10px;
}

.card-description {
    font-size: .8rem;
    padding-bottom: .25rem;
    height: 2.2rem;
    line-height: 1.1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-manufacturer {
    font-size: .85rem;
    padding-bottom: .25rem;
}

.card-body {
    padding: 12px 12px 8px 12px;
}

.module {
    width: 32px;
    font-size: .8rem;
    text-align: center;
    border: 1px solid darkgray;
}

.btn-download {
    font-size: .75rem;
    position: absolute;
    margin-bottom: 30px;
    border-color: darkgray;
    box-shadow: none;
    z-index: 50;
}

    .btn-download:focus {
        box-shadow: none;
    }

/* Page select */
.page-link {
    color: gray;
}

.pagination.pagination-flat .page-item {
    margin: 0.25rem;
}

.pagination-success .page-item.active .page-link {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.page-link:focus {
    box-shadow: none;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

ul.pagination li.page-item.first,
ul.pagination li.page-item.last {
    display: none
}

/* Details table */
.table-container {
    float: left;
    /*max-width: 992px;*/
    background-color: #fff;
    padding: 1.5em;
    box-shadow: 3px 3px 10px rgba(0,0,0,.3);
    border-radius: 3px;
}

.datatables-wrapper {
    position: relative;
    clear: both;
    display: block;
}

.table.dataTable td, .reference {
    font-family: var(--bs-body-font-family);
    font-size: 14px;
}

.table.dataTable tbody tr:hover {
    background-color: #ececec;
}

.dataTables_filter input {
    margin-bottom: 10px;
}

    .dataTables_filter input:focus {
        box-shadow: none;
        border-color: #6c757d;
    }

thead {
    visibility: collapse;
}

.tooltip-inner {
    color: black;
    background-color: white;
    max-width: 400px;
    border-radius: 4px;
    border: 1px solid #d1d8d9;
    padding: 15px 15px 0px;
    font-size: .9rem;
    text-align: justify;
}

.tooltip-arrow {
    opacity: 0;
}

.tooltip.show {
    opacity: 1;
}

/* Chosen-select */
.chosen-container-multi {
    border: none;
    /*font-size: 1rem;*/
}

    .chosen-container-multi .chosen-choices {
        background-image: none;
        padding: 7px;
        border: none !important;
        border-radius: 4px;
        -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1) !important;
        box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1) !important;
    }

        .chosen-container-multi .chosen-choices li.search-choice {
            -webkit-box-shadow: none;
            box-shadow: none;
            padding-top: 7px;
            padding-bottom: 7px;
            padding-left: 10px;
            padding-right: 26px;
            border: none;
            background-image: none;
        }

            .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
                top: 9px;
                right: 8px;
            }

        .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
            height: 32px;
            font-size: 14px;
        }

.chosen-container .chosen-drop {
    border: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    margin-top: 3px;
    border-radius: 4px;
    -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2) !important;
}

.color-1 .chosen-container-multi .chosen-choices li.search-choice {
    background-color: #e5e4cc;
}

.color-2 .chosen-container-multi .chosen-choices li.search-choice {
    background-color: #d1e7dd;
}

.color-3 .chosen-container-multi .chosen-choices li.search-choice {
    background-color: #d8e9f8;
}

/* Categories page */
.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, 320px);
    justify-content: center;
    column-gap: 15px;
    gap: 15px;
}

    .category-list .card {
        background: #d1e7dd;
        margin-bottom: .2rem;
        padding: 10px;
        font-size: 16px;
        border-radius: 3px 3px 3px 3px;
        color: black;
        font-weight: 400;
        line-height: 1.2;
    }

:focus:not(:focus-visible) {
    outline: none !important;
}

:focus, :focus-visible, .card:focus-within {
    box-shadow: none !important;
    outline: 2px ridge rgba(116, 116, 191, 0.44) !important;
    border-radius: 2px;
}

.chosen-container-multi .chosen-choices li.search-field input[type="text"]:focus-visible {
    outline: none !important;
}

.card a:focus-visible {
    outline: none !important;
}

.category-list .card:hover {
    background-color: rgba(116, 116, 191, 0.44) !important;
}

.category-list ul {
    padding: 0px;
    margin: 0px;
}

.category-list li:nth-child(odd) {
    /*background-color: #e6e6e6;*/
}

.category-list li {
    list-style: none;
    display: list-item;
    margin-bottom: .2rem;
    height: auto;
}

    .category-list li:hover {
        background-color: rgba(116, 116, 191, 0.44) !important;
    }

.category-list a {
    text-decoration: none;
    color: black;
}

.category-list .card-item a {
    padding: 3px 10px;
    display: inline-block;
    width: 320px;
}

.property.list > li {
    list-style: none;
    padding: 15px;
    margin-bottom: 5px;
    border: 1px solid #e3dada;
    border-radius: 5px;
    background: #fff;
}
