/*
Theme Name:         THX UK
Theme URI:          https://thxuk.com/
Description:        THX 2025 theme
Version:            1.0.0
Author:             THX UK
Author URI:         https://thxuk.com/
Text Domain:        sql
Requires PHP:       7.2.5
Requires at least:  5.4
*/
body{
font-size: .875rem;
font-family: 'Soleto', sans-serif;
font-weight: 500;
}
div {
font-size: .875rem;
font-weight: 500;
}
body .is-layout-constrained > .aligncenter {
margin-left: auto !important;
margin-right: auto !important;
}
header.banner .dropdown-menu{
border-radius: 0px;
}
header.banner nav.nav-primary .nav-item{
padding: 0px;
}
.wp-block-button__link{
border-radius: 0px;
}
h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background {
padding: 0px !important;
}
hr{
border: 0 !important;
border-top: 1px solid #da0812 !important;
opacity: 1 !important;
}
body.access-equipment-hire :where(.is-layout-flex) {
gap: 2em !important;
}
.page-template-template-container main ul:focus-visible,.page-template-template-container main .woocommerce-message:focus-visible {
outline: none !important;
}
/* login page */
.card-header:first-child,.card-prompt .card-body {
border-radius: 0px !important;
}
body.woocommerce-account main.main .card.card-prompt{
border-radius: 0px !important;
}
.card {
border-radius: 0px !important;
}
.wp-block-image.aligncenter{
display: inherit !important;
}
/* thx-deliveries table */
.wp-block-table .has-fixed-layout {
table-layout: auto !important;
}
table tr:not([style*="display: none"]):nth-child(2n) {
background-color: #fff;
}
/* latest news excerpt */
.latest-news-excerpt p{
display: -webkit-box;
-webkit-line-clamp: 3; 
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis; 
}
.latest-news-title {
min-height: 3em;
display: -webkit-box;
-webkit-line-clamp: 3; 
-webkit-box-orient: vertical;
overflow: hidden;
}
.career-card{
height: auto !important;
min-height: 3em;
display: -webkit-box;
-webkit-line-clamp: 2; 
-webkit-box-orient: vertical;
overflow: hidden; 
color: #242424 !important;
}
.career a:hover{
text-decoration: underline !important;
}
.career a.btn-cut:hover{
text-decoration: none !important;
}

.accordion .card .card-header [data-bs-toggle], .accordion .card [data-bs-parent] .card-body p {
color: #4a4a4a !important;
}
.accordion .card .card-header [data-bs-toggle]:hover {
color: #242424 !important;
}
.table.shop_table>:not(caption)>*>*, .table.cart>:not(caption)>*>*{
background-color: #eeeef0 !important;
}
.contact-steps h3, h3.underlined{
margin-bottom: 2rem !important;
font-weight: 700 !important;
line-height: 1 !important;
}
header.banner .delivery-deadline{
width: auto !important;
}
.variation-detail {
--bs-table-bg: transparent !important;
--bs-table-border-color: transparent !important;
--bs-border-color: transparent !important;
background-color: transparent !important;
border: none !important;
}
.variation-detail td,
.variation-detail th {
background: transparent !important;
color: inherit !important;
}
.brand img{
    width: 130px;
    max-width: 130px;
}
.alert-wrapper .alert.alert-danger {
    border-radius: 0px !important;
}
.content-body h4{
    font-size: 1.25rem !important;
}

.thx-block .stats .item .inner .circle svg .circle-bg.reverse {
    stroke: rgb(255, 255, 255);
}

.thx-block .stats .item .inner .circle svg .circle-highlight.reverse {
    stroke: rgb(218, 8, 18);
}
.modal .modal-content{
   border-radius: 0px !important;
}
.card-body .alert {
    border-radius: 0px !important;
}
.career .entry-image img{
    height: 218px !important;
    object-fit: cover !important;
    width: 100% !important;
}
#errorAlertModal .modal-content{
    border-radius: 0px !important;
}
.health-safety .card-body table tr:nth-child(odd) td {
    background-color: #f0f0f0;
}
#additional_information table td{
    padding: 5px !important;
}
#additional_information p a, #additional_information h4 a{
    color: #fff;
}
table.cart th{
     padding: 0.75rem 0.75rem 5px 0.75rem;
}
.table.cart td{
        padding: 0.75rem;
}
.order-summary-notes{
    padding: 0px 15px 15px 15px;
}
.checkout  table tr:nth-child(even) td {
    background-color: #ffff !important;
}
#add-custom-cart-item .quantity input{
    width: 100% !important;
}
.checkout .select2-dropdown .select2-results__options{
    color:#4a4a4a !important;
    font-weight: 400 !important;
}
.single-product .wp-post-image{
    width: 100% !important;
}
.single-post .wp-block-buttons .wp-block-button{
    width: auto !important;
    margin-left: 0 !important;
}
.select2-dropdown .select2-results__option .name{
    font-weight: 400 !important;
}
:focus-visible{
    outline: none !important;
}
.col-thx-live img{
max-width: 150px;
}
.checkout-heading{
        padding: 0.75rem 0.75rem 5px 0.75rem;
            margin-bottom: 10px;
}
.checkout-box-padding{
        padding: 0.75rem;
}
.select2-container .select2-selection--multiple .select2-selection__rendered{
    width: 100% !important;
}
.select2-container .select2-search--inline .select2-search__field{
    min-width: 100% !important;
}
.woocommerce-order-details .shop_table.order_details{
    width: 100%;
        font-weight: bold;
}
.woocommerce-order-details table thead th{
        vertical-align: bottom;
    border-bottom: 2px solid #d0d0d0;
        text-transform: uppercase;
}
.woocommerce-order-details table td, .woocommerce-order-details table th {
    padding: .4rem .2rem;
        border-top: 0;
    white-space: nowrap;
}
  .woocommerce-order-details table{
    font-size: .75rem;
  }  
.woocommerce-saved-lists tr.product-line td.product-name{
   white-space: unset;
}
.wishlist-form{
    overflow-x: hidden !important;
}
.woocommerce-saved-lists .tns-inner .slide img {
    max-width: 100% !important;
    height: auto;
}
/* Responsive code */
@media (max-width: 768px) {
    .w-md-100 { width: 100% !important; }
}