:root {
    --footer-height: 300px;
    --table-head-background: #546e7a;
    --font-dark-grey: #424242;
    --font-light-grey: #9e9e9e;
    --main-accent-color: #f57f17;
}

@media only screen and (min-width: 1200px) {
    .container {
        width: 1170px !important;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px){
    .container {
        width: 970px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px){
    .container {
        width: 750px !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px){
    .container {
        width: 100% !important;
    }
}

@media only screen and (max-width: 599px) {
    .container {
        width: 100% !important;
        min-width: 300px;
    }
}

.mt-20p {
    margin-top: 20px;
}

.content {
    min-height: calc(100vh - var(--footer-height));
}

.page-footer {
    height: var(--footer-height);
    width: 100%;
    padding: 10px;
}

.breadcrumb {
    box-shadow: none !important;
    font-size: 14px !important;
    margin: -15px 0;
    background: none;
}

.breadcrumb i {
    margin-top: 3px;
    height: 30px !important;
}

nav.breadcrumb a, .breadcrumb:before {
    color: #757575 !important;
}

.breadcrumb:last-child {
    color: #757575 !important;
}

.product-page h1 {
    font-size: 1.8rem;
    margin: 0;
}

.product-page h2 {
    font-size: 1.6rem !important;
}

.product-header {
    margin-bottom: 5px;
}

.product-header .part-number {
    font-size: 1.1rem;
}

table.product td {
    /* padding: 10px 10px; */
    font-size: 1.1rem;
}

table.product td.table-section-head {
    font-size: 1.1rem;
    text-align: center;
    font-weight: bolder;
    text-transform: uppercase;
    background-color: #78909c !important;
    color: white !important;
}

div.head {
    line-height: 1 !important;
}

.head .contact {
    width: 100%;
    text-align: right;
}

.head .logo {
    margin-top: 5px;
}

.head .row {
    margin-bottom: 0px !important;
    padding: 10px 0px;
}

.phone, .email {
    display: block;
    text-align: right;
}

.phone a{
    font-size: 1.8rem !important;
    color: #757575 !important;
    font-weight: bold;
}

.head .email {
    margin-top: 7px;
}

.email a {
    font-size: 1.3rem !important;
}

div.modal-title {
    width: 100%;
    padding: 20px;
    background: #c5cae9;
    font-size: 1.2rem;
}

thead th {
    border-radius: 0px;
    background-color: var(--table-head-background);
    border: 1px solid white;
    padding: 15px;
}

.product-search {
    text-align: end;
    margin: 0 1rem;
    flex: 1;
    position: relative;
}

.product-search input {
    padding: 0.5rem !important;
    border-radius: 0.5rem;
    width: 100%;
    height: 37px;
}

.product-search input:focus {
    outline: none;
}

.product-search button {
    position: absolute;
    padding: 5px 10px;
    background-color: #26a69a;
    border-radius: 5px;
    border: none;
    color: white;
    font-weight: bold;
    top: 19px;
    right: 5px;
    cursor: pointer;
}

.product-search button.htmx-request {
    background-color: #78909c;
}

.product-search button .loader {
    display: none;
}

.product-search button.htmx-request .loader{
    display: block;
}

.product-search button.htmx-request .title{
    display: none;
}

.product-search .product-search-results {
    position: absolute;
    width: 200px;
    max-height: 200px;
    z-index: 999;
    border: 1px solid #546e7a;
    background-color: white;
    border-radius: 0 0 0.5rem 0.5rem;
    width: 100%;
    top: 50px;
    overflow-y: auto;
}

.product-search-results table td {
    padding: 0.7rem 0.5rem;
    line-height: 1rem;
    text-align: left;
}

.product-search-results table td a {
    color: var(--font-dark-grey);
}

.product-search-results table td a:hover {
    color: #039be5;
}

.tooltip {
    position: relative;
    cursor: pointer;
}

.tooltip:hover .tooltip-content {
    display: inline;
}

.tooltip-content {
    display: none;
    position: absolute;
    width: 200px;
    height: 50px;
    padding: 5px;
    border: 1px solid var(--font-light-grey);
    border-radius: 5px;
    z-index: 999;
    top: -60px;
    left: calc(50% - 100px);
    line-height: 1.2rem;
}

#scrollBackBtn {
    position: fixed; /* Fixed/sticky position */
    bottom: 100px; /* Place the button at the bottom of the page */
    right: 31px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: var(--main-accent-color); /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 5px 10px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s, visibility .3s;
  }