/* CSS for the company cards */
:root {
    --blue: #007bff;
    --link: #1c75bc;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

#companiesTable {
    margin-top: 20px;
    /* Adjust the value as needed */
}

.directorist-listing-single {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.directorist-listing-single__thumb {
    position: relative;
    width: fit-content;
    height: 100px;
    /* Set a fixed height for the thumbnail */
    overflow: show;
}

.directorist-listing-single__thumb img {
    width: auto;
    height: 100%;
    object-fit: cover;
    /* Maintain aspect ratio and cover the entire container */
    border-radius: 5px 5px 0 0;
}

.directorist-listing-single__content {
    padding: 20px;
}

.directorist-listing-single__info {
    margin-bottom: 10px;
}

.directorist-listing-single__info--top {
    margin-bottom: 10px;
}

.directorist-listing-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.directorist-listing-single__info--list {
    list-style-type: none;
    padding-left: 0;
}

.directorist-listing-single__info--list li {
    margin-bottom: 5px;
}

.directorist-listing-card-phone,
.directorist-listing-card-email,
.directorist-listing-card-website,
.directorist-listing-card-zip {
    display: flex;
    align-items: center;
}

.directorist-listing-card-phone i,
.directorist-listing-card-email i,
.directorist-listing-card-website i,
.directorist-listing-card-zip i {
    width: 20px;
    margin-right: 10px;
}

.directorist-content-active .directorist-listings-header {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 5px;
    border: 1px solid #e3e6ef;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.directorist-container,
.directorist-container-fluid,
.directorist-container-xxl,
.directorist-container-xl,
.directorist-container-lg,
.directorist-container-md,
.directorist-container-sm {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.directorist-search-slide {
    width: 60%;
}

.directorist-advanced-filter {
    border: 1px solid #e3e6ef;
    background: #fff;
    padding: 20px 30px;
}

.directorist-listing-category a {
    color: #333;
    text-decoration: none;
}

.directorist-listing-category a i {
    width: 20px;
    margin-right: 5px;
}

a:link {
    color: black;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: #58595b;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: var(--link);
    background-color: transparent;
    text-decoration: none;
}

a:active {
    color: yellow;
    background-color: transparent;
    text-decoration: none;
}

*#companiesTable {
    margin-top: 20px;
    /* Adjust the value as needed */
}

.selected {
    background-color: #0073e6;
    color: #fff;
}

.baBar {
    display: flex;
    justify-content: center;
    padding: 10px 7px;
}

.tab {
    padding: 10px 20px;
    margin: 0 5px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    transition: background-color 0.3s;
}

.tab:hover {
    background-color: #e0e0e0;
}

/* Styling for the selected tab */
.tab.selected {
    background-color: #007bff;
    color: white;
    border: none;
}

/* Container for pagination */
#pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination-button {
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin-left: 5px;
    margin-top: 10px;
}

.pagination-button:hover {
    background-color: #e0e0e0;
}

/* Styling for the active pagination button */
.pagination-button.active {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.navbar {
    margin: 0 45px;
    padding: 2px;
    background-color: white;
    /* White background color*/
    /* overflow: hidden; */
}

/* Adjust the alignment of navbar items */
.navbar-nav {
    width: 98%;
    /* margin: 0 150px; */
    margin-left: 0 150px;
    padding: 2px;
    background-color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    justify-content: flex-end;
}

.navbar :hover {
    color: #1c75bc;
}

/* Adjust the alignment of navbar items for smaller screens */
@media (max-width: 990px) {
    .navbar-nav {
        /* Your existing styles */
        padding: 2px;
        background-color: white;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size: 14px;
        flex-direction: column;
        align-items: center;
        display: none;

    }

    .tab {
        margin: 5px 0;
    }

    .container{
        flex-direction: column;
        /* align-items: center; */
    }
}

/* Initially hide the sublist */
.sublist {
    display: none;
}

.sublist a {
    text-decoration: none;
    color: #58595b;
    padding: 8px 30px;
    text-align: center;

}

/* Show the sublist when the parent list item is hovered over */
.nav-item:hover .sublist {
    display: block;
    background-color: #e6e7e8;
    color: #1c75bc;
    width: 230.16px;
    height: 70px;
    padding: 20px 0px;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Style for the dropdown menus */
select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 14px;
    color: #333;
    width: 100%;
    margin-bottom: 10px;
}

.categories select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

/* Style for the selected option */
select option:checked {
    background-color: #e9e9e9;
}

/* Style for the form labels */
label {
    /* font-weight: bold; */
    margin-bottom: 5px;
    display: block;
}

/* Style for the form container */
.form-container {
    margin-bottom: 20px;
}

#map {
    flex-basis: 0;
    flex-grow: 4;
    height: 100%;
}

.image-container {
    height: 100px;
    /* Set the desired height for the image container */
    overflow: hidden;
    /* Ensure the image does not overflow the container */
}

.company-thumbnail {
    width: 100%;
    /* Ensure the image fills the container width */
    height: 100%;
    /* Ensure the image fills the container height */
    object-fit: contain;
    /* Maintain aspect ratio and cover the container */

}

.standardized-box {
    padding: 5px;
    /* Add padding to the standardized box */
    background-color: #f0f0f0;
    /* Set background color for the standardized box */
    text-align: center;
}

/* footer */
.vlt-footer {
    background-color: #67ae45;
    padding: 60px 0 0;
    color: #f0f0f0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    overflow: hidden; /* Ensure no overflow */
}

.vlt-footer .vlt-widget {
    padding: 0 15px;
    text-align: start;
}

.vlt-footer .vlt-widget img {
    height: 120px;
    max-width: 100%; /* Ensure image doesn't overflow */
}

.vlt-footer .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vlt-footer .menu-item {
    margin-bottom: 10px;
}

.vlt-footer .vlt-widget_title {
    margin-top: 10px;
    text-align: center;
}

.vlt-footer .vlt-social-icon {
    display: inline-block;
    margin: 0 5px;
}

.vlt-footer-copyright {
    font-size: 13px;
    color: #FFF;
    margin-top: 40px;
    border-top: solid 1px #FFF;
    padding: 20px 0;
}

.footer-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}


.menu {
    list-style-type: none;
}

.menu a {
    text-decoration: none;
    color: var(--white);
}

.menu a:hover {
    color: #1c75bc;
}

ul,
ol {
    list-style-type: none;
}

::selection {
    color: #fff !important;
    background-color: #1c75bc;
}

*,
::after,
::before {
    box-sizing: border-box;
}

*,
::after,
::before {
    box-sizing: border-box;
}

:root {
    --wp--preset--font-size--normal: 16px;
    --wp--preset--font-size--huge: 42px;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Show only 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.5em;
    /* Adjust the height based on the line height */
    font-size: 13px;
}

.learnmore {
    width: max-content;
    height: 26px;
    font-size: 13px;
    border: 1px solid #707070;
    border-radius: 5px;
}

.fixed-size-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    background-color: #f8f9fa;
    /* Optional: Adds a background color to highlight the container */
}

.fixed-size-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* or cover depending on how you want the images to be displayed */
}

.imgURL-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 150px;
    background-color: #f8f9fa;
    /* Optional: Adds a background color to highlight the container */
}

.company-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* or cover depending on how you want the images to be displayed */
}

.fixed-size-desc {
    word-wrap: break-word;
    white-space: normal;
    text-overflow: clip;
    max-width: 100%;
    max-height: 100%;
    /* or cover depending on how you want the images to be displayed */
}

.fixed-size-desc-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 100%;
    height: 100px;
    overflow-y: scroll;
    overflow: hidden;
}

.fixed-size-desc-container:hover {
    overflow: auto;
    
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
    /* text-align: center; */
}

.comapany-address {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3.5em;
}

.comapany-website {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}