body:not(.home) #content {
    padding-left: 30px;
    padding-right: 30px;
    max-width: 1300px;
    margin: 0 auto;
    margin-block: 10px;
}

#wrapper {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 0px !important;
    overflow: hidden;
}

#section-before-wrapper {
    flex-direction: column;
}

#top_bar {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    font-weight: 500;
    background-color: #1c2854;
    padding: 20px 50px;
}

#top_bar .account-links {
    font-size: 13px;
}

#top-bar a {
    color: white !important;
}

#top-bar .dropdown-menu a {
    color: black !important;
}

#top-bar .dropdown-menu a:hover {
    color: white !important;
}

#top_bar_2 {
    display: flex;
    align-items: center;
    padding: 20px 50px;
    background-color: white !important;
}

#section-before-main,
#top-bar {
    padding: 0px;
}

#section-before-main {
    padding-top: 12px;
    background-color: black;
    color: white;
}

#section-before-main a {
    color: white;
}

.widget.logo {
    margin-right: auto;
}

.logo a img {
    width: 300px;
    height: auto;
}

#autocomplete .btn.btn-default {
    background-color: #1c2854 !important;
}

#top-bar #cart-icon {
    color: #1c2854 !important;
}

#mainMenuNavigationHeadermenuApp .navbar-nav {
    gap: 65px;
    justify-content: start !important;
    padding-inline: 50px;
    padding-bottom: 1px;
}

#mainMenuNavigationHeadermenuApp .navbar-nav > .nav-item > a {
    font-weight: 500;
    font-size: 0.9rem;
    color: white;
}

#section-after-wrapper {
    background-color: black !important;
}

#section-after-wrapper > .d-flex {
    justify-content: center !important;
    padding-block: 20px;
}

#mainMenuNavigationFootermenuApp .navbar-nav {
    font-weight: 500;
    gap: 30px;
    margin-bottom: 20px;
}

#mainMenuNavigationFootermenuApp .navbar-nav .nav-item a:hover {
    text-decoration: underline;
}

#footer {
    text-align: center;
}

.widget.footer_company {
    display: flex;
    gap: 10px;
    justify-content: center;
    font-size: 0.8rem;
}

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 25px;
}

.company-phone i {
    margin-right: 5px;
}

.preview-grid-item.card {
    padding-block: 10px;
    box-shadow: none;
    border: 1px solid #ccc;
    text-align: center;
}

.product_list .product-preview-img {
    width: 250px;
    height: 100%;
}

.preview-grid-item.card .product-pricing {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.preview-grid-item.card .preview-section-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.product_list .preview-section-1 [data-cy="part-number"] {
    color: #888888;
    font-size: 0.6rem;
}

.product_list .preview-section-1 .product_short_description {
    color: #333;
    font-weight: bold;
    font-size: 0.8rem;
    margin-block: 5px 0px;
}

.preview-list-item .preview-section-1 {
    text-align: left;
}

.preview-list-item .preview-section-2 {
    padding-right: 126px;
}

.preview-list-item .preview-section-3 {
    width: 193px;
}

.preview-list-item .preview-section-1 .product_short_description {
    font-size: 1rem;
}

.product_list.list .preview-list-item {
    align-items: left;
}

.product_list.list img {
    max-width: 120px;
}

#product-details .product_short_description {
    color: #555;
    font-weight: bolder;
    font-size: 2rem;
}

#product-details .row-label {
    font-weight: bold;
}

#product-details .details-image-container .image img {
    width: 250px;
    max-width: 250px;
}

#productDetailsLeftColumn {
    width: 35%;
    display: flex;
    justify-content: end;
}

.main-menu-navigation .navbar-nav .dropdown-menu {
    left: unset;
    top: 30px;
    padding-top: 10px !important;
    padding-bottom: 12px !important;
}

.main-menu-navigation .navbar-nav .dropdown-menu,
.mega-menu .megamenu-content {
    max-width: 250px !important;
    border-radius: 0px;
}

.mega-menu .megamenu-content {
    flex-direction: row !important;
    padding-top: 4px;
}

#section-before-main .megamenu-link a {
    color: #1c2854;
    font-size: 0.95rem;
    font-weight: 600;
    margin-right: 10px;
}
.megamenu-link {
    width: 100%;
}

.custom_text.header-links a:first-child,
.custom_text.header-links a:nth-child(2) {
    border-right: 3px solid white;
    padding-right: 14px;
    margin-right: 8px;
}

.custom_text.header-links img {
    width: 20px;
}

.CustomerPortal .nav-pills .show > .nav-link,
.CustomerPortal .nav-pills .nav-link.active {
    background-color: #1c2854 !important;
}

.CustomerPortal .border-primary,
.CustomerPortal .border.border-primary.nav-link {
    border-color: #1c2854 !important;
}

/* Welcome custom page styles */

#content {
    width: 100%;
}
.sidebar.left,
.widget.custom_html.home-links,
.widget.custom_page_teaser.PED-information,
.teaser {
    display: none !important;
}
.custom_pages .title {
    display: none !important;
}
.hero-banner {
    width: 100%;
    padding: 20px 0;
}
.widget.custom_html.welcome {
    margin: 0 auto;
    float: none;
    padding-inline: 50px;
    max-width: 1600px;
    margin-inline: auto;
}
div#intro-container {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

div#promo-container {
    margin: 10px;
    padding: 40px 0;
    display: flex;
}
.intro-container-text {
    width: 40%;
    margin-left: 20px;
}
.intro-container-text h2 {
    font-weight: 600;
}
.intro-container-text h2,
.intro-container-text .intro {
    padding-bottom: 20px;
}
.widget.custom_html.welcome p {
    font-size: 17px;
    line-height: 28px;
}
.intro-container-button {
    display: flex;
}
a.button-primary,
a.button-secondary,
a.shop-now {
    text-align: center;
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 6px !important;
}
a.button-primary {
    color: #fff;
    background-color: #283e7e !important;
}
a.button-secondary,
a.shop-now {
    color: #000;
    background-color: #d7cfc7;
}
a.shop-now {
    width: 153px;
}
a.button-secondary {
    margin-left: 20px;
}
#gallery-wrapper {
    clear: both;
    max-width: 1400px;
    margin-inline: auto;
    padding: 40px 0;
}
div.container-gallery {
    display: flex;
    justify-content: space-around;
}
.gallery-header {
    text-align: center;
    position: relative;
    border-bottom: 1px solid #888;
}
div.gallery {
    text-align: center;
    margin: 10px;
}
div.gallery img {
    width: 130px;
    padding-bottom: 20px;
}
div.gallery a.shop-now {
    text-align: center;
}
.gallery-header > h2 {
    text-align: center;
    font-weight: 600;
    line-height: 0.1em;
    margin: 10px 0 20px;
    position: absolute;
    top: -13px;
    left: 50%;
    z-index: 7;
    right: 50%;
    background: white;
    width: 165px;
    transform: translateX(-50%);
    height: 100px;
}
.gallery-header > h2 span {
    background: #fff;
    padding: 0 10px;
}
div.promo-container-text h2 {
    font-weight: 600;
}
.primary {
    color: #283e7e;
}
/* Pigchat revissed css */

div.promo-container-text p.pigchat-callout {
    margin-top: 48px !important;
}
div.promo-container-text a span.pigchat-title {
    font-size: 48px;
    font-weight: 600;
    color: #283e7e !important;
    text-decoration: none !important;
}
div.promo-container-text a span.pigchat-subtitle {
    margin-top: -10px !important;
    font-size: 20px;
    font-weight: 600;
    color: #283e7e !important;
    text-decoration: none !important;
}

.pigchat-container {
    width: 50% !important;
}

div.pigchat-container div.pigchat-links a {
    color: #000;
    text-decoration: underline !important;
    line-height: 28px;
}
.promo-container-image {
    max-width: 100%;
}
.promo-container-text {
    width: 100%;
}
.promo-container-text:nth-of-type(2n) {
    padding-left: 40px;
}
div.upcoming-events-container {
    padding: 20px 20px 20px 0;
    display: flex;
    justify-content: space-between;
}

.upcoming-events-container > .upcoming-event.parent {
    border-right: 1px solid #ccc;
    width: 50%;
}

.upcoming-event {
    padding-bottom: 20px;
}
.secondarybkg {
    margin-left: 1rem;
}
div.event-date {
    font-size: 35px !important;
    font-weight: 600 !important;
    line-height: 26px !important;
    border-bottom: 1px solid #ccc;
    width: 100%;
    padding-bottom: 10px;
}
div.event-title {
    font-weight: 600 !important;
}
.bold {
    font-weight: 600 !important;
}

/* Welcome custom page styles end */

/*staff*/

.bio-container img {
    width: 100% !important;
    height: auto !important;
}

.bio-container {
    width: 25%;
    padding: 10px 10px 0px 10px;
    font-size: 10px;
}

.bio-wrapper {
    background: #eee;
    border: 1px solid #ccc;
    padding: 5px 10px;
    display: flex;
    flex-wrap: wrap;
    padding: 0px !important;
}

.bio-container a {
    font-size: 15px;
    display: inline-block;
    line-height: 17px;
}

.custom_pages a {
    text-decoration: none !important;
    color: #4482bd;
}

span.bio-header {
    font-size: 17px;
    line-height: normal;
    color: #1c2854;
    font-weight: 600;
    margin-top: 9px;
    display: inline-block;
}

/*pigchat*/

/* body.pig-chat-newsletter ul.pagination li {
    width: 8%;
} */

body.pig-chat-newsletter ul.pagination li {
    margin: 0;
    padding: 32px 0;
}

div#page-wrapper .subnav {
    margin-top: 20px;
    margin-bottom: 30px;
}

div#page-wrapper ul.pagination li {
    margin: 0;
    padding: 0;
    margin-right: 10px;
}

.widget.custom_html.main {
    width: 940px;
}
div#page-wrapper {
    margin-left: 1rem;
    margin-right: 1rem;
}
/* section {
        padding-top: 20px;
    } */

.headline {
    border-bottom: 1px solid #ccc;
    width: 100%;
    padding-bottom: 3px;
}
ul.pagination {
    display: inline-block;
    padding-inline-start: 0px;
}

ul.pagination li {
    float: left;
    list-style: none;
}

ul.pagination li a {
    color: #7b7b7b;
    padding: 8px 16px;
    text-decoration: none;
    border: none;
}

ul.pagination li a:hover {
    background-color: #283e7e;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
}

body.custom_pages .custom_pages > h1 {
    display: none;
}

/* body.veterinary-services .custom_pages > h1,
    body.manuals .custom_pages > h1,
    body.fact-sheets .custom_pages > h1,
    body.videos .custom_pages > h1,
    body.links  .custom_pages > h1 {
        display:none;
    } */

#content p {
    color: #000;
    margin-top: 15px;
    font-size: 16px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
}

#content ul {
    font-weight: 400;
}

#page-wrapper {
    margin-top: 17px;
}

h1,
h2,
h3 {
    font-weight: 500;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #1c2854 !important;
}

h1,
.h1 {
    font-size: 36px;
    margin-bottom: auto;
}

.top_categories_preview .widget.product_code_name,
.sub-categories .product-category .browse_description {
    text-align: center;
    background-color: #d9d1c7;
    padding: 13px 6px !important;
    border-radius: 5px;
    font-weight: 400;
}

.top_categories_preview .product_category {
    margin-top: 44px;
}

.top_categories_preview .product_category .view,
.sub-categories .product-category .view {
    display: none;
}

.sub-categories .product-category {
    margin-bottom: 10px;
}

.product-wrapper {
    width: 100% !important;
}

.autocomplete-product-name {
    font-weight: normal !important;
    font-size: 12px;
    line-height: 12px;
}

#autocomplete .autocomplete-product-name,
#order-templates-autocomplete .autocomplete-product-name,
#autocomplete .autocomplete-category-name,
#order-templates-autocomplete .autocomplete-category-name,
#autocomplete .autocomplete-manufacturer-name,
#order-templates-autocomplete .autocomplete-manufacturer-name {
    color: black;
}

.autocomplete-input-container {
    width: 360px;
}

.add_product_to_cart {
    border: none;
}

span#cart-count {
    color: white;
}

.search-result-column .search-section h1 {
    margin-bottom: 25px;
}

.card-deck.staff_cards {
    background-color: #eeeeee;
    border: 1px solid #cccccc;
    margin-right: 0px;
    margin-left: 0px;
}

.card-deck.staff_cards > .card {
    margin: 0px;
    background-color: transparent;
    box-shadow: none;
    text-align: left;
}

.card-deck.staff_cards > .card .content-cards {
    padding: 10px;
}

.card-deck.staff_cards > .card .content-cards span {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 10px 0 0 0;
}

.card-deck.staff_cards > .card .content-cards span p {
    margin-top: 0px !important;
}

@media (min-width: 576px) {
    .card-deck.staff_cards > .card {
        flex: 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 575px) {
    .card-deck.staff_cards > .card {
        flex: 0 0 50%;
        max-width: 50%;
        min-height: 1000px;
    }
}

.product_compare_table .image.flex-center {
    position:relative;
    justify-content: left;
}

.product_compare_table .view-larger-image.text-right {
        position: absolute;
    bottom: 0;
    left: 3px;
}

.product_compare_table .remove_compare_product {
    width: 22px;
    margin: 0 0 10px 0;
}

#cart-modal .modal-title h3 {
    color: white !important;
}
#cart-modal a {
    color: #333 !important;
}