/* ==================================
   SEARCH BAR
================================== */
.zib-searchbar {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: #f5f5f5;
    font-size: 12px;
    margin-bottom: 16px;
}

.zib-searchbar__left {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
}

.zib-searchbar__filter {
    display: block;
}

@media (min-width: 992px) {
    .zib-searchbar__filter {
        display: none;
    }
}

.row-no-margin {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
    position: relative;
}

/* ==================================
   SEARCH
================================== */
.zib-search__wrapper {
    position: relative;
}

@media (max-width: 767.98px) {
    .zib-search__wrapper {
        width: 100%;
    }
}

.zib-search__container {
    position: relative;
    width: 100%;
}

.zib-search__input {
    position: relative;
    padding: 8px 48px 8px 33px;
    border-radius: 3px;
    border: 1px solid #999999;
    outline: none;
    width: 100%;
    max-width: 270px;
}

@media (max-width: 991.98px) {
    .zib-search__input {
        max-width: 100%;
        padding: 10px;
    }
}

.zib-search__input:active,
.zib-search__input:focus {
    border: 1px solid #00857c;
}

.zib-search__input-icon {
    position: absolute;
    width: 20px;
    height: 19px;
    top: 6px;
    left: 8px;
    background: url(https://zoetis-zoetis2022-stage.cphostaccess.com/_assets/img/search_icon.svg);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

.zib-search__submit {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background-color: #e0e0e0;
    border: 1px solid #999999;
    border-radius: 3px;
}

.zib-search__submit:focus {
    outline: 1px solid;
}



@media (min-width: 992px) {
    .zib-search__results.is-mobile {
        display: none;
    }
}

.zib-search__results.is-desktop {
    display: none;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .zib-search__results.is-desktop {
        display: block;
    }
}

/* .zib-cards__content {
    padding-left: 20px;
} */

/* ==================================
   SORT BY
================================== */
.zib-sortby {
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .zib-sortby .zib-dropdown__wrapper .zib-dropdown__single-value {
        padding-right: 0px;
        padding-left: 0px;
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 12px;
    }
}

.zib-sortby__label {
    padding-right: 15px;
}

.zib-sortby__dropdown {
    min-width: 170px;
}

@media (max-width: 991.98px) {
    .zib-sortby__dropdown {
        flex: 0 1 auto;
        width: 100%;
    }
}

/* ==================================
   FILTER BY
================================== */
.zib-filters {
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
}

.zib-filterby__label {
    padding-right: 15px;
}

.zib-filterby__btn {
    padding: 12px 25px;
    background-color: #ffffff;
    border-radius: 3px;
    border: 1px solid #bbbbbb;
    color: #585858;
}

@media (max-width: 991.98px) {
    .zib-filterby__btn {
        padding: 10px;
        border: 1px solid #bbb;
        width: 100%;
        font-size: 12px;
    }
}

/* ==================================
   SEARCHBAR MOBILE LAYOUT
================================== */
@media (max-width: 991.98px) {
    .zib-searchbar {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100vw;
        box-sizing: border-box;
        padding-top: 20px;
        padding-bottom: 45px;
        margin-left: -32px !important;
    }

    .zib-searchbar__left {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;
    }

    .zib-searchbar__left .zib-search__wrapper {
        flex: 1 1 0;
    }

    .zib-searchbar__left .zib-search__results.is-mobile {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        margin: 10px 0 0 0;
        white-space: nowrap;
        font-size: 12px;
    }

    .zib-searchbar__filter {
        flex: 1 1 auto;
    }

    .zib-searchbar__right {
        flex: 1 1 auto;
    }

    .zib-searchbar__right .zib-dropdown__wrapper .zib-dropdown__control {
        border: 1px solid #bbb;
    }

    .zib-searchbar__right .zib-dropdown__wrapper .zib-dropdown__value-container {
        padding-left: 10px;
    }
}

.desktop-only {
    display: inline-block;
}

@media (max-width: 991.98px) {
    .desktop-only {
        display: none;
    }
}

/* ==================================
   PAGINATION
================================== */
.zib-pagination {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 16px;
}

.zib-pagination.is-loading {
    pointer-events: none;
}

.zib-pagination__left,
.zib-pagination__center,
.zib-pagination__right {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.zib-pagination__left .zib-dropdown__wrapper .zib-dropdown__single-value {
    padding-right: 0;
    min-width: 20px;
}

.zib-pagination__center .zib-dropdown__wrapper .zib-dropdown__single-value {
    padding-right: 0;
    min-width: 30px;
}

@media (max-width: 767.98px) {
    .zib-pagination__left {
        margin-left: 102px;
        margin-right: auto;
        order: 1;
    }

    .zib-pagination__right {
        display: none;
        order: 2;
    }

    .zib-pagination__center {
        order: 3;
        flex: 1 0 100%;
        justify-content: center;
    }
}

.zib-pagination__dropdown {
    max-width: 80px;
}

.zib-pagination__label {
    line-height: 1.25rem;
    padding: 0 10px;
}

.zib-pagination__prev,
.zib-pagination__next {
    color: #3A3A3A !important;
    line-height: 1.25rem;
    padding: 0 10px;
    text-decoration: none !important;
}

.zib-pagination__prev:hover,
.zib-pagination__prev:focus,
.zib-pagination__prev:active,
.zib-pagination__next:hover,
.zib-pagination__next:focus,
.zib-pagination__next:active {
    text-decoration: none !important;
}

.zib-pagination__prev.disabled,
.zib-pagination__next.disabled {
    color: #ccc;
    opacity: 0.6;
    cursor: default;
}

.zib-pagination__prev .la-angle-right:before,
.zib-pagination__next .la-angle-right:before {
    content: ">" !important;
}

.zib-pagination__prev .la-angle-left:before,
.zib-pagination__next .la-angle-left:before {
    content: "<" !important;
}

/* ==================================
   Filter/Facet Styling
================================== */
@media (max-width: 767.98px) {
    .zib-filters {
        margin-bottom: 32px;
    }
}

.zib-filters.is-loading {
    pointer-events: none;
}

.zib-filters.is-mobile {
    display: block;
}

@media (min-width: 992px) {
    .zib-filters.is-mobile {
        display: none;
    }
}

.zib-filters.is-desktop {
    display: none;
}

@media (min-width: 992px) {
    .zib-filters.is-desktop {
        display: block;
    }
}

.zib-filters__wrapper {
    padding: 16px;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.zib-filters__title {
    font-family: arboria;
    margin-bottom: 20px;
    margin-top: 4px !important;
    font-weight: 700;
    font-size: 16px;
    padding-bottom: .25rem;
}

.zib-filters__item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}

.zib-filters__label {
    cursor: pointer;
    font-size: 12px;
    line-height: normal;
    margin: 0;
    display: flex;
    align-items: center;
}

.zib-filters__label.is-checked {
    cursor: default;
}

.zib-filters__count {
    margin-left: auto;
}

.zib-filters__action {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

.zib-filters__clear {
    font-size: 12px;
    text-decoration: none !important;
}

.zib-filters__clear:hover,
.zib-filters__clear:focus,
.zib-filters__clear:active {
    text-decoration: none;
}

.zib-filters__clear-all {
    font-size: 12px;
    color: #00857c;
    text-decoration: none !important;
    display: block;
    padding: 16px;
    background-color: #fff;
    font-family: gotham-narrow-book;
}

@media (max-width: 768px) {
    .zib-filters__clear-all {
        display: none !important;
    }
}

.zib-filters__clear-all:hover,
.zib-filters__clear-all:focus,
.zib-filters__clear-all:active {
    text-decoration: none;
    color: #00857c;
}

.zib-filters__toggle {
    font-size: 14px;
    margin-left: auto;
}

.zib-filters__toggle:hover,
.zib-filters__toggle:focus,
.zib-filters__toggle:active {
    text-decoration: none;
}

.zib-filters__checkbox {
    height: 16px;
    min-width: 16px;
    border: 1px solid #eaeaea;
    margin-right: .75rem;
    color: #fff;
}

.zib-filters__checkbox:checked {
  background: #f65c00;
  border-color: #f65c00;
  accent-color: #f65c00;
}

/* ==================================
   Miscellaneous
================================== */
.zib-listpage__main {
    position: relative;
    margin-bottom: 32px;
}

.zib-listpage__main.is-loading {
    min-height: 410px;
}

.zib-listpage__noresults {
    font-size: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
    color: #585858;
    border-top: 1px solid #bbbbbb;
    border-bottom: 1px solid #bbbbbb;
}

.zib-page__loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
    opacity: 0.2;
    z-index: 2;
    pointer-events: none;
}

.zib-page__loader {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.zib-search__header {
    margin-bottom: 30px;
}

/* ==================================
   Dropdown Control
================================== */
.zib-dropdown__wrapper {
    position: relative;
}

.zib-dropdown__control {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    background-color: #fff;
    min-height: 36px;
}

.zib-dropdown__wrapper.is-open .zib-dropdown__control {
    border-color: #417682;
}

.zib-dropdown__value-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.zib-dropdown__single-value {
    padding-right: 8px;
}

.zib-dropdown__indicators {
    display: flex;
    align-items: center;
}

.zib-dropdown__indicator-separator {
    width: 1px;
    height: 20px;
    background-color: #ccc;
    margin-right: 8px;
}

.zib-dropdown__indicator svg {
    fill: #333;
    transition: transform 0.2s;
}

.zib-dropdown__wrapper.is-open .zib-dropdown__indicator svg {
    transform: rotate(180deg);
}

.zib-dropdown__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    margin-top: 4px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.zib-dropdown__option {
    padding: 8px 12px;
    font-family: gotham-narrow-book;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.15s;
}

@media (max-width: 991.98px) {
    .zib-dropdown__option {
        font-size: 12px;
    }
}

.zib-dropdown__option:hover,
.zib-dropdown__option.is-highlighted {
    background-color: #417682;
    color: #fff;
}

.zib-dropdown__option:active {
    background-color: #417682;
    color: #fff;
}

/* ==================================
   Cards
================================== */
.zib-cards {
    display: flex;
    flex-wrap: wrap;
    padding: 30px 0;
    box-sizing: border-box;
    border-bottom: 1px solid #F65C00;
    /* border-radius: 0.6rem; */
    overflow: hidden;
    transition: box-shadow 300ms cubic-bezier(0.64, 0.04, 0.35, 1), transform 300ms cubic-bezier(0.64, 0.04, 0.35, 1), background 300ms cubic-bezier(0.64, 0.04, 0.35, 1);
}

/* .zib-cards:has(.zib-cards__title:hover) {
    border: 3px solid transparent;
    box-sizing: border-box;
    border-color: #FFFFFF;
    box-shadow: 2px 0 12px 0 rgba(88, 88, 88, 0.2);
    transform: scale(1.01);
    background: #FFFFFF;
} */

.zib-cards:hover {
    box-sizing: border-box;
    box-shadow: 2px 0 12px 0 rgba(88, 88, 88, 0.2);
    transform: scale(1.01);
    background: #FFFFFF;
}

.zib-cards:hover .zib-cards__title a {
    color: #F65C00;
    cursor: pointer;
}

.zib-cards__split {
    display: flex;
}

.zib-cards__date, 
.zib-cards__metadata {
    font-family: gotham-narrow-bold;
    font-weight: 700;
    font-size: 1.2rem !important;
    line-height: 1.4rem !important;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    color: #585858;
    margin: 3rem 0; 
    margin-top: 0rem !important;
    margin-bottom: 0.8rem !important;
}

.zib-cards__title {
    font-family: arboria;
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 2.6rem;
    letter-spacing: inherit;
    text-transform: inherit;
    margin-top: 0 !important;
    margin-bottom: 0.8rem !important;

}

.zib-cards__title a {
    text-decoration: none !important;
    color: #F65C00;
    transition: color 300ms cubic-bezier(0.64, 0.04, 0.35, 1);
}

.zib-cards__title a:hover,
.zib-cards__title a:active,
.zib-cards__title a:focus {
    color: #F65C00;
}

@media (min-width: 1793px) {
    .zib-cards__title {
        font-size: 2.8rem;
        line-height: 3.2rem;
        margin-bottom: 1.6rem !important;
    }
}


.zib-cards__species-items {
    display: flex;
    gap: 10px;
}

.zib-cards__species-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 2.8rem;
    padding-bottom: 0.8rem;
    border-radius: 0.4rem;
    text-decoration: none;
    font-family: arboria;
    font-weight: 700;
    color: #3a3a3a;
    font-size: 1.2rem;
    line-height: 1.2rem;
    letter-spacing: normal;
    text-transform: none;
    grid-area: tag;
    transition: box-shadow 300ms cubic-bezier(0.64, 0.04, 0.35, 1), transform 300ms cubic-bezier(0.64, 0.04, 0.35, 1), background 300ms cubic-bezier(0.64, 0.04, 0.35, 1), border 300ms cubic-bezier(0.64, 0.04, 0.35, 1), color 300ms cubic-bezier(0.64, 0.04, 0.35, 1);
    background-color: #FFFFFF;
    border: 1px solid #F65C00;
    cursor: pointer;
}

.zib-cards__species-item:hover {
    border-color: #F65C00;
    background-color: #F65C00;
    color: #FFFFFF;
}

.zib-cards__species-item.is-inactive {
    background-color: transparent;
    color: #999;
    border: 1px solid #ccc;
    pointer-events: none;
    cursor: default;
}

/* LIST VIEW */
.zib-cards--listview {
    display: flex;
    flex-flow: wrap;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.zib-cards--listview .zib-cards__title {
    cursor: pointer;
}

.zib-right-rail {
    border: 1px solid #e0e0e0;
    height: 200px;
}

/* ==================================
   Mobile Filter Modal
================================== */
.zib-filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.zib-filter-modal.is-open {
    display: block;
}

.zib-filter-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.zib-filter-modal__content {
    position: relative;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: slideInFromBottom 0.3s ease-out;
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.zib-filter-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
}

.zib-filter-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    font-family: gotham-narrow-bold;
}

.zib-filter-modal__done {
    background: #ff6600;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: gotham-narrow-bold;
}

.zib-filter-modal__done:hover {
    background: #e55a00;
}

.zib-filter-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.zib-filter-modal__footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: none;
    justify-content: center;
    background: white;
}

.zib-filter-modal__clear {
    padding: 12px 20px;
    border: 1px solid #00857c;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    max-width: 200px;
    background: white;
    color: #00857c;
    text-decoration: none !important;
}

.zib-filter-modal__clear:hover {
    background: #00857c;
    color: white;
    text-decoration: none;
}

/* Hide modal on desktop */
@media (min-width: 769px) {
    .zib-filter-modal {
        display: none !important;
    }
}

.zib-filter-modal__body .zib-filters__action {
    display: flex;
    justify-content: flex-start;
    padding: 8px 0;
}

.zib-filter-modal__body .zib-filters__clear {
    font-size: 12px;
    color: #00857c;
    text-decoration: underline;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: gotham-narrow-book;
}

.zib-filter-modal__body .zib-filters__clear:hover,
.zib-filter-modal__body .zib-filters__clear:focus,
.zib-filter-modal__body .zib-filters__clear:active {
    text-decoration: none;
    color: #fff;
    background-color: #00857c;
}

/* ==================================
   Interstitial Modal
================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.medical-modal {
    background: #ffffff;
    width: 100%;
    max-width: 540px;
    border-radius: 18px;
    padding: 14px 26px;
    text-align: left;
}

.medical-modal h3,
.medical-modal h4 {
    margin-top: 16px !important
}

.sub-text {
    margin-bottom: 12px;
    color: #3a3a3a;
    font-size: 16px;
    text-align: left;
}

.divider-space {
    height: 1.5rem;
}

.modal-open {
    position: fixed;
    overflow: hidden;
    width: 100%;
}

.button-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin: 18px 0 28px;
}

.primary-btn {
    background: #f56600;
    color: #fff;
    border: none;
    height: 40px;
    padding: 0 18px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: 0.3s ease;
}

.primary-btn:hover {
    background: #d95500;
}

.secondary-btn {
    background: #f56600;
    color: #fff;
    border: none;
    min-width: 116px;
    height: 40px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.secondary-btn:hover {
    background: #d95500;
}

.website-link {
    display: block;
    width: fit-content;
    margin: 0 0 24px 0;
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
    text-align: left;
}

.footer-note {
    color: #3a3a3a;
    font-size: 14px !important;
    line-height: normal !important;
    font-style: italic;
    margin-top: 10px;
    text-align: left;
}

.zib-dropdown-toggle__caret {
    padding-top: 18px;
    padding-left: 12px;
    float: right;
    background-color: #585858;
    background: url(/our-company/zoetis-medical-hub/Images/dark-grey.svg) no-repeat;
}

/* ==================================
   Bootstrap Grid Classes
================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 12px;
    padding-left: 12px;
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-lg-9 {
        flex: 0 0 auto;
        width: 75%;
    }
}