/*
    Theme Name: Matrix Internet
    Theme URI:
    Author: Matrix Internet Development team
    Author URI: https://www.matrixinternet.ie/who-we-are/
    Description: This theme is for developing themes with full customized UX/UI
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: Responsive
    Text Domain: matrixinternet2023
*/

/***** General styles *****/
@font-face {
  font-family: "GT Super Ds Trial";
  src: url(fonts/GT-Super/GT-Super-Display-Regular.woff2);
}

@font-face {
  font-family: "Work Sans";
  src: url(fonts/Work-Sans/WorkSans-Regular.woff);
}

html {
  scroll-behavior: smooth;
}

html,
body{
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
}

html.menu_open,
body.menu_open{
   max-height: 100%;
   overflow: hidden;
}

.container {
    width: 1200px;
    max-width: 90%;
    justify-content: space-between;
    margin: 0 auto;
}

h1{
    font-family: "area-normal", sans-serif;
}

h2{
    color: #00495A;
    font-family: "GT Super Ds Trial";
    font-weight: 600;
    font-size: 48px;
    line-height: 60px;
    margin-top: 0;
    margin-bottom: 20px;
}

h3{
    font-family: "GT Super Ds Trial";
}

h4{
    color: #fff;
    font-family: "GT Super Ds Trial";
    font-weight: 600;
    font-size: 36px;
    line-height: 45px;
    margin-top: 0;
    margin-bottom: 20px;
}

h5{
    color: #fff;
    font-family: "GT Super Ds Trial";
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    margin-top: 0;
    margin-bottom: 0px;
}

p{
    font-size: 18px;
    line-height: 31.5px;
    margin: 0 auto;
}

.cta a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--Primary-Light-green, #C0D818);
    color: var(--Primary-Dark-Green, #072C20);
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: 20px;
    text-decoration: none;
    padding: 16px 48px;
    border-radius: 4px;
    margin-right: 24px;
    margin-bottom: 24px;
    max-width: fit-content;
}

.cta a:hover{
    background: #C398DC;
}

.cta a:nth-child(2){
    background: var(--Primary-Light-green, #C398DC);
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    line-height: 22px;
    color: #fff;
    padding: 8px 12px;
    z-index: 10000;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-to-content:focus {
    top: 0;
}


main ::-webkit-scrollbar {
    height: 26px;
    background-color: #CAE1BE;
}

main ::-webkit-scrollbar-thumb {
    background-color: #006837;
    border-radius: 12px;
    border: 8px solid #CAE1BE;
}

/*.section_cta {
    max-width: fit-content;
    display: flex;
    padding: 16px 48px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--S4R-Primary-Green-300, #75BC22);
    color: var(--S4R-Primary-Slate-500, #0A2134);
    font-family: "area-normal", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    text-decoration: none;
    margin-top: 25px;
}

.section_cta:hover {
    background-color: #22404D;
    color: #fff;
}*/

@media only screen and (max-width: 1200px) {

    .container {
        max-width: 90%;
        margin: 0 auto;
    }

}

@media only screen and (max-width: 767px) {

    h2 {
        font-size: 24px;
        line-height: 32px;
    }

    h3{
        font-size: 20px;
        line-height: 28px;
    }


    h4{
        font-size: 16px;
        line-height: 24px;
    }


    p{
        font-size: 14px;
        line-height: 22px;
    }

    .cta a{
        margin: 0 auto;
    }

}

/***** Header *****/
header {
    width: 100%;
    background: var(--Fireseal_Red, #072C20);
    font-family: "area-normal", sans-serif;
    padding: 16px 0px;
    position: fixed;
    top: 0px;
    z-index: 3;
}

header .container {
    width: 1340px;
    display: flex;
}

header #logo_container {
    width: 100%;
    float: left;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    margin-right: 32px;
}

header #logo_container a {
    display: flex;
    align-items: center;
}

header.scrolled #logo {
    opacity: 0;
    position: absolute;
}

header #site_logo_sticky {
    transition-duration: 0;
    opacity: 0;
    position: absolute;
    transition-delay: 0;
}

header.scrolled #site_logo_sticky {
    position: static;
    opacity: 1;
    transition-duration: 0.5s;
    transition-delay: 0.5s;
}

header .mobile {
    display: none;
    background: #072C20;
    border-radius: 8px;
    margin: 10vh auto;
    overflow: hidden;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 2;
    padding-top: 80px;
    margin-top: 0;
}

header .mobile .mobile-controls {
    background: #C398DC;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
}

header .mobile .mobile-controls button {
    background: none;
    border: 1px solid #fff;
    border-radius: 8px;
    color: #fff;
    height: 40px;
    padding: 0 15px;
    margin: 10px 15px;
}

header .mobile .mobile-menu {
     display: none;
     height: 100%;
     left: 0;
     position: absolute;
     width: 100%;
     z-index: 10;
}

header .mobile ul {
     margin: 0;
     padding: 0;
     width: 100%;
     position: absolute;
     transition: 0.25s;
}

header .mobile li {
    display: flex;
}

header .menu-item {
    margin: 0 28px;
}

header .menu-item a {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    text-decoration: none;
    transition-duration: 0.75s;
}

header.scrolled .menu-item a {
    color: #21282F;
    transition-duration: 0.75s;
}

header .cta_button.menu-item a {
    transition-duration: 0.75s;
}

header.scrolled .cta_button.menu-item a {
    color: #0A2134;
    background: linear-gradient(94deg, #FF9461 17.37%, #FF7533 90.35%);
    color: var(--Base-Black, #000);
    font-family: "area-normal", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    border-radius: 24px;
    transition-duration: 0.75s;
}

header.scrolled .cta_button.menu-item a:hover {
    text-decoration: none;
    background-color: #22404D;
    color: #fff !important;
}

header.scrolled .hamburger .line {
    background-color: #22404D;
}

header .menu_open header.scrolled #logo {
    opacity: 1;
}

header .hamburger {
    position: relative;
    z-index: 4;
}

header .hamburger .line {
    width: 40px;
    height: 4px;
    background-color: #fff;
    display: block;
    margin: 8px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

header .hamburger:hover {
    cursor: pointer;
}

header .hamburger.is-active .line:nth-child(2) {
    opacity: 0;
}

header .hamburger.is-active .line:nth-child(1) {
    -webkit-transform: translateY(13px) rotate(45deg);
    -ms-transform: translateY(13px) rotate(45deg);
    -o-transform: translateY(13px) rotate(45deg);
    transform: translateY(13px) rotate(45deg);
}

header .hamburger.is-active .line:nth-child(3) {
    -webkit-transform: translateY(-12px) rotate(-45deg);
    -ms-transform: translateY(-12px) rotate(-45deg);
    -o-transform: translateY(-12px) rotate(-45deg);
    transform: translateY(-12px) rotate(-45deg);
}

header .mobile.open {
    display: block;
}

header .mobile button:hover {
    cursor: pointer;
}


header .mobile .mobile-controls .back-button {
    display: none;
    align-items: center;
}

header .mobile .fa-chevron-right {
    color: #EDF8E7;
}

header .mobile li.cta_button {
    border-bottom: 0 none;
    padding-right: 0;
    margin-right: 0;
}

header .mobile li button {
    background: none;
    border: 0;
    flex: 1;
    text-align: right;
    padding: 7.5px 15px;
}

header .mobile li:hover > button {
    color: #fff;
}

header .mobile div > ul {
    top: 0;
    left: 0;
}

header .mobile div > ul ul {
    display: none;
    top: 0;
    left: 100%;
}

header .cta_button.menu-item a {
    display: flex;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #22404D;
    color: var(--Base-Colours-White, #FFF);
    font-family: "area-normal", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px;
    cursor: pointer;
}

header .cta_button.menu-item:hover > a {
    background-color: #FF8B00;
    color: #22404D !important;
}

header .header_overlay {
    position: absolute;
    transform: translateY(-200px);
    transition-duration: 0.75s;
    background-color: #fff;
    width: 100%;
    height: 100%;
    left: 0;
}

header.scrolled .header_overlay {
    position: absolute;
    transform: translateY(0);
    transition-duration: 0.75s;
    background-color: #fff;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
}

header .menu_cta_container{
    display: flex;
    align-items: center;
}

header .search_icon:hover{
    cursor: pointer;
}

header .cta_menu {
    display: flex;
    list-style-type: none;
    padding-left: 24px;
}

header .cta_menu .primary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent;
    margin-right: 0;
}

header .cta_menu .primary:hover {
    background: #C0D818;
    border-radius: 4px;
}

header .cta_menu .primary a {
    color: var(--Secondary-White-green, #EDF8E7);
    font-family: "Work Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    padding: 16px 24px;
    border: 2px solid var(--Secondary-Purple, #C0D818);
    border-radius: 4px;
}

header .primary.menu-item.current-menu-item a{
    border: 2px solid var(--Secondary-Purple, #C0D818);
}

header .cta_menu .primary:hover > a{
    color: #072C20;
    border: 2px solid var(--Secondary-Purple, #C0D818);
}

header .cta_menu .secondary{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #000;
    border: 1px solid #000;
}

header .cta_menu .secondary a{
    color: var(--Base-Black, #fff);
    font-family: "area-normal", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    padding: 12px 32px;
}

header .cta_menu .secondary:hover{
    color: var(--Base-Black, #000);
    background: transparent;
}

header .cta_menu .secondary:hover > a{
    color: #000;
}


@media only screen and (min-width: 768px) {

    header .mobile {
        padding-top: 120px;
    }

}

@media only screen and (min-width: 1200px) {

    header #logo_container {
        max-width: fit-content;
    }

    header .mobile {
        width: auto;
        position: static;
        display: block;
        height: auto;
        background-color: transparent;
        padding-top: 0;
        margin: 0 auto;
        overflow: visible;
    }

    header .mobile .mobile-controls,
    header .hamburger {
        display: none;
    }

    header .mobile .mobile-menu {
        display: flex;
        height: 100%;
        position: static;
    }

    header .menu {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    header .mobile ul {
        position: static;
    }

    header .mobile li {
        height: 100%;
        background-color: transparent;
        border: 0 none;
        white-space: nowrap;
        position: relative;
        margin: 0 16px;
        display: flex;
        align-items: center;
    }

    header .mobile li:hover {
        background-color: transparent;
        z-index: 2;
    }

    header .mobile li.cta_button {
        margin-left: 32px;
    }

    header .mobile li:hover > ul {
        display: block;
        position: absolute;
        top: 32px;
        left: 0;
        background-color: #fff;
        width: 100%;
        min-width: 200px;
        padding: 16px 0;
    }

    header .mobile li.menu-item li.menu-item:hover > ul {
        top: -17px;
        left: calc(100% + 1px);
    }

    header .mobile li.menu-item li.menu-item button {
        transform: rotate(0deg) scale(1);
    }

    header .mobile li.menu-item li.menu-item li.menu-item a {
        padding-bottom: 0;
    }

    header .mobile li:hover > a {
        color: #fff;
    }

    header .mobile li.menu-item li.menu-item li.menu-item button {
        transform: rotate(90deg) scale(1);
    }

    header .mobile li a {
        flex: auto;
        color: var(--Secondary-White-green, #EDF8E7);
        font-family: "area-normal", sans-serif;
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
    }

    header .mobile ul.sub-menu li a{
        color: var(--Primary-Dark-Green, #072C20);
        font-family: "area-normal", sans-serif;
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
    }

    header .mobile ul.sub-menu li a:hover{
        text-decoration: underline;
    }

    header .menu-item a{
        padding-bottom: 5px;
    }

     header .menu-item.current-menu-item a {
        border-bottom: 2px solid #072C20;
    }

    header .mobile li button {
        transform: rotate(90deg) scale(1);
        position: absolute;
        top: 12px;
        right: -10px;
    }

    header .mobile li button.arrow {
        position: relative;
        top: -2px;
        right: -8px;
        padding: 0;
        transform: rotate(0deg) scale(1);
    }

    header .mobile li .sub-menu button.arrow {
        right: -7px;
    }

    header .mobile li button.arrow img {
        max-width: 16px;
        position: relative;
        top: 3px;
    }

    header .mobile li .sub-menu button.arrow .fa-chevron-right:before {
        color: #0095A9;
    }

    header .mobile ul.sub-menu {
        background-color: #C0D818 !important;
        padding: 0px;
        border-radius: 0px;
    }

    header .mobile ul.sub-menu li {
        padding: 4px 16px;
        margin: 0;
    }

    header .mobile li:hover > ul {
        display: block;
        min-width: 250px;
        background-color: rgba(117, 188, 34, 0.75);
        padding-top: 5px;
        padding-bottom: 5px;
        top: 53px;
        left: -10px;
    }

    header .mobile li.level-2:hover > ul {
        top: 0;
        left: 100%;
    }

    header .mobile li.level-2 button {
        transform: rotate(0deg) scale(1);
    }

    header .mobile li.level-3 {
        padding-bottom: 0;
    }

    header .mobile li.level-3 a {
        padding-bottom: 0;
    }

    header .mobile li.level-3 button {
        transform: rotate(90deg) scale(1);
    }

    header .new.menu-item a{
        position: relative;
    }

    header .new.menu-item a:after {
        content: 'NEW';
        background: var(--Primary-Colours-Slate-Gray-600, #21282F);
        color: var(--Base-White, #FFF);
        font-family: "area-normal", sans-serif;
        font-size: 10px;
        font-style: normal;
        font-weight: 600;
        line-height: 8px;
        padding: 4px 6px;
        border-radius: 16px;
        position: absolute;
        top: 0;
        left: calc(100% + 4px);
    }

}


@media only screen and (min-width: 1201px) {

    header .new.menu-item a{
        position: relative;
    }

    header .menu-item {
      position: relative;
      text-decoration: none;
      color: inherit;
    }

    header .menu-item::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 35px;
      height: 2px;
      width: 0;
      background-color: #C398DC;
      transition: width 0.3s ease;
    }

    header .menu-item:hover::after {
      width: 100%;
    }

    header .has_submenu.menu-item:after,
    header .primary.menu-item:after,
    header .secondary.menu-item:after,
    header .current-menu-item:after,
    header .sub-menu .menu-item::after{
        display: none;
    }

}

@media only screen and (max-width: 1440px) {

    header #logo_container{
        max-width: 150px;
    }

}

@media only screen and (max-width: 1380px) {

    header .container {
        max-width: calc(100% - 40px);
    }

    header .mobile li {
        margin: 0 10px;

    }

    header #logo {
        max-width: 150px;
    }

    header .cta_menu {
        padding-left: 0;
    }

}

/*
@media only screen and (max-width: 1200px) {

    header .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    header #logo_container {
        display: flex;
        justify-content: center;
    }

    header .menu {
        align-items: center;
        justify-content: center;
    }

    header .mobile ul.top-menu{
        margin: 30px;
        margin-bottom: 15px;
    }

}*/

@media only screen and (max-width: 1199px) {

    header {
        padding-bottom: 20px;
    }

    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    header #logo_container {
        justify-content: flex-start;
    }

    header .mobile ul.top-menu{
        margin: 0;
    }

    header .menu-item {
        text-align: left;
        margin: 0px 10px;
    }

    header .menu-item a{
        width: 263px;
        max-width: 90%;
        margin: 0 auto;
    }

    header .mobile li a {
        flex: 3;
        text-align: left;
        text-decoration: none;
        padding: 0;
        margin-bottom: 25px;
        max-width: 250px;
    }

    header .mobile li.cta_button {
        max-width: 90%;
        margin: 0 auto;
    }

    header .cta_button.menu-item a {
        max-width: 300px;
        margin: 20px auto;
    }

    header.scrolled .menu-item a {
        color: #fff;
    }

    header .menu_cta_container{
        display: none;
    }

    .menu_open .header_container{
        height: 100vh;
    }

    .menu_open header #logo_container {
        z-index: 3;
        position: absolute;
        top: 20px;
        left: 35px;
        max-width: 300px;
    }

    .menu_open header .menu-item {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .menu_open .search_icon {
        position: absolute;
        top: 40px;
        right: 100px;
    }

    .menu_open header .menu_cta_container {
        display: flex;
        width: 100%;
        justify-content: center;
        z-index: 2;
    }

    .menu_open header .cta_menu {
        display: flex;
        list-style-type: none;
        padding-left: 24px;
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 0;
    }

    .menu_open .menu-cta-menu-container{
        width: 100%;
    }

       .menu_open header .cta_menu .menu-item {
        width: 100%;
        margin: 6px 0;
        max-width: 100%;
        margin-bottom: 25px;
    }

    .menu_open header .cta_menu .menu-item a {
        max-width: 200px;
        text-align: center;
        border: 2px solid #C398DC;
        margin: 0 auto;
    }

    .menu_open header .hamburger {
        position: absolute;
        top: 15px;
        right: 25px;
    }

    .menu_open header .hamburger .line{
        width: 35px;
        height: 4px;
    }

    .menu_open header.scrolled .menu-item a {
        color: #21282F;
    }

    header .mobile li{
        position: relative;
    }

    header .mobile li button {
        position: absolute;
        right: 0;
        rotate: 270deg;
        bottom: 10px;
    }

    header .mobile .fa-chevron-right {
        color: #fff;
    }

}

@media only screen and (max-width: 991px) {

    header .hamburger .line {
        background-color: #fff;
    }

}


@media only screen and (max-width: 1200px) {

    #logo{
        max-width: 100px;
    }

    header.scrolled .menu-item a {
        color: #21282F;
    }

    header.scrolled .cta_button.menu-item a {
        color: #0A2134;
        border: 3px solid var(--german-uds-primary-orange-700, #fff);
        transition-duration: 0.75s;
    }

    header .mobile li a {
        color: var(--Secondary-White-green, #EDF8E7);
        font-family: "area-normal", sans-serif;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px; /* 133.333% */
    }

    .menu_open header .menu_cta_container {
        margin-top: auto;
        margin-bottom: 50px;
    }

}


/* Mega Menu */
@media only screen and (min-width: 1200px) {

    .mega_menu:hover > .sub-menu{
        display: none;
    }

    .services_mega_menu{
        display: flex;
    }

}

@media only screen and (max-width: 1024px) {

    .services_mega_menu {
        display: none;

    }
}

.services_mega_menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    background: var(--Base-White, #FFF);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 11;
    transition: 0.3s;
    padding-bottom: 60px;
}

.services_mega_menu.show{
    display: flex;
    transition: 0.3s;
}

.services_mega_menu .container{
    display: flex;
    width: 1200px;
    max-width: 90%;
    background: var(--Base-White, #FFF);
    margin: 0 auto;
}

.services_mega_menu h2{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-size: 30px;
    font-weight: 500;
    line-height: 38px;
    margin-top: 60px;
    margin-left: 80px;
    position: relative;
}

.services_mega_menu h2::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('/wp-content/themes/matrixinternet2023/images/menu-arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 16px;
    vertical-align: middle;
}

.services-column {
    flex: 1;
    padding: 20px 80px;
}

.services-column h3 {
    color: var(--Primary-Colours-Slate-Gray-600, #21282F);
    font-family: "area-normal", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 20px;
    margin-top: 0;
}

.service-item {
    margin-bottom: 30px;
}

.service-item h4 {
    display: flex;
    align-items: center;
    padding-right: 20px;
    margin-bottom: 10px;
    position: relative;
}

.services_mega_menu h4::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('/wp-content/themes/matrixinternet2023/images/menu-arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 16px;
    vertical-align: middle;
    position: absolute;
    right: 0px;
    top: 6px;
}

.service-item h4 a{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "area-normal", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    text-decoration: none;
}

.service-excerpt {
    font-size: 1em;
    color: #555;
}

/* Search Bar */
.search-bar-container {
    position: absolute;
    top: 100%;
    right: 10px;
    background: white;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.search-bar-container.active {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.search-form {
    display: flex;
    align-items: center;
    width: 1000px;
    max-width: 90%;
    margin: 10px 0;
}

.search-input {
    border: 1px solid #ccc;
    padding: 8px;
    width: 100%;
    height: 28px;
    border-radius: 4px;
    margin: 0 auto;
    outline: none;
}

.search-submit {
    height: 45px;
    background: linear-gradient(94deg, #FF9461 17.37%, #FF7533 90.35%);
    border: none;
    padding: 8px 12px;
    color: #000;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 5px;
}

.search-submit:hover {
    background: #000;
}

.search-submit:hover > .fa {
    color: #fff;
}

.close-search {
    font-size: 30px;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    outline: none;
    margin-right: 10px;
    position: relative;
}

.close-search:hover {
    color: #0073aa;
}

/* Search Results */
.search_breadcrumb {
    display: flex;
    align-items: center;
    font-family: "area-normal", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1px;
    margin-top: 88px;
}

.search_breadcrumb img{
    position: relative;
    top: 2px;
    margin-right: 7px;
}

.search-results-container {
    padding: 40px 0;
}

.search-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.search-result-item h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.search-result-item p {
    color: #666;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 40px 0;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.search-results-container {
    padding: 40px 0;
    padding-bottom: 0;
}

.search-title {
    display: flex;
    align-items: flex-end;
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "area-normal", sans-serif;
    font-size: 72px;
    font-style: normal;
    font-weight: 500;
    line-height: 76px;
    letter-spacing: -1.44px;
    margin-bottom: 48px;
}

.search-title span{
    color: #000;
}

img.search_result_img{
    margin-right: 10px;
}

.search_result_text{
    margin: 0 20px;
}

img.quote{
    max-width: 70px;
    position: relative;
    top: -10px;
}

.search-section-title {
    font-size: 22px;
    line-height: 30px;
}

.showing_results{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "area-normal", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 64px;
}

.search-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 20px;
    margin-bottom: 88px;
}

.search-item {
    background: #fff;
    transition: all 0.3s ease;
    text-align: center;
    flex: calc(33.333% - 32px);
    max-width: calc(33.333% - 32px);
}

.partner .search-item {
    flex: calc(20% - 32px);
    max-width: calc(20% - 32px);
}

.team_member .search-item {
    flex: calc(25% - 32px);
    max-width: calc(25% - 32px);
}

.technology .search-item {
    margin-bottom: 50px;
}


.search-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.search-item img {
    width: 100%;
    height: 290px;
    border-radius: 5px;
    object-fit: cover;
}

.technology .search-item img {
    display: block;
    width: auto;
    height: auto;
    border-radius: 5px;
    object-fit: contain;
    max-height: 60px;
}

.search-grid.partner .search-item img {
    width: 100%;
    max-width: 100px;
    height: 150px;
    border-radius: 5px;
    object-fit: contain;
}

.search-grid.team_member .search-item img {
    height: auto;
    object-fit: contain;
    object-position: top;
}

.search-item h3 {
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "area-normal", sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px;
    text-align: left;
    margin-top: 25px;
    margin-bottom: 12px;
}

.service .search-item h3 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 0;
}

.search-item p{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "area-normal", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    text-align: left;
}

.pagination {
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-bottom: 72px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 11px 16px;
    margin: 5px;
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
    text-decoration: none;
}

.pagination a:hover, .pagination .current {
    color: rgba(7, 44, 32, 0.50);
}

.pagination .prev {
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.90);
    position: absolute;
    left: 0;
}

.pagination .next{
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.90);
    position: absolute;
    right: 0;
}

.pagination .prev img{
    margin-right: 7px;
}

.pagination .next img{
    margin-left: 7px;
}

@media only screen and (max-width: 767px) {

    .pagination a, .pagination span{
        padding: 0;
        margin: 0;
    }

    .pagination .prev {
        left: 20px;
    }

    .pagination .next {

        right: 20px;
    }

    .pagination  img {
        position: relative;
        top: 2px;
    }

}

.search footer .partners_we_work {
    width: 90%;
    max-width: 1440px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 180px auto;
    margin-top: 0;
}


@media only screen and (max-width: 1200px) {

    .search_result_text{
        font-size: 50px;
        line-height: 60px;
    }

}

@media only screen and (max-width: 1024px) {

    .search-bar-container.active {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    img.search_result_img {
        max-width: 50px;
        margin-right: 10px;
    }

}

@media only screen and (max-width: 991px) {

    .search_result_text{
        font-size: 40px;
        line-height: 50px;
    }

    .search-item {
        flex: calc(50% - 32px);
        max-width: calc(50% - 32px);
    }

    .search-grid {
        margin-bottom: 50px;
    }

}

@media only screen and (max-width: 767px) {

      .search-title {
        flex-wrap: wrap;
        align-items: flex-start;
        margin: 0;
        margin-top: 20px;
    }

    .search_result_text {
        font-size: 24px;
        line-height: 32px;
        margin: 0;
    }

    .search-title span {
        color: #000;
        font-size: 30px;
        line-height: 38px;
        display: block;
        margin-left: 6px;
    }

    .service .search-item h3 {
        margin: 0;
    }

    img.search_result_img {
        margin-right: 10px;
        max-width: 30px;
        position: relative;
        top: 3px;
    }

    .search-item {
        flex: calc(100% - 0px);
        max-width: calc(100% - 0px);
    }

    img.quote {
        max-width: 40px;
        position: relative;
        top: 0;
    }

}




/* Breadcrumbs */
.breadcrumbs.container{
    margin-left: 0;
}

.breadcrumbs ul{
    display: flex;
    align-items: center;
    list-style-type: none;
    padding-left: 0;
}

.breadcrumbs ul li,
.breadcrumbs ul li a{
    color: var(--Primary-Dark-Green, #072C20);
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    text-decoration: none;
    padding-right: 10px;
    margin-right: 6px;
}

.breadcrumbs ul li{
    background-image: url('images/breadcrumb-arrow.svg');
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: 100% 50%;
}

.breadcrumbs ul li:first-child{
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px; /* 150% */
    padding-left: 0;
}

.breadcrumbs ul li:last-child{
    background-image: none;
}

/* Single Project */
.single_project{
    background-color: #000;
}

.single_project .project_wrapper {
    display: flex;
    gap: 4vw;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 64px 0;
    padding-bottom: 96px;
}

.single_project .project_left {
    flex: 1;
    max-width: 50%;
}

.single_project .project_left img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    max-height: 846px;
    object-fit: cover;
    object-position: center;
}

.single_project .project_right {
    flex: 1;
    max-width: 50%;
}

.single_project .current{
    display: none;
}

.single_project .project_title {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.single_project .project_categories ul{
    display: flex;
    align-items: center;
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.single_project .project_categories ul li{
    color: var(--Fireseal_LightGrey, #999);
    font-family: "area-normal", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    margin-right: 10px;
}

.single_project .project_categories ul li a{
    color: var(--Fireseal_LightGrey, #999);
    font-family: "area-normal", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    text-decoration: none;
}

.single_project .project_content{
    color: var(--Fireseal_LightGrey, #999);
    font-family: "area-normal", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    padding: 32px 0;
}

.single_project .breadcrumbs{
    margin-left: 0;
}

.single_project .breadcrumbs ul {
    margin-top: 0;
    margin-bottom: 10px;
}

.single_project .breadcrumbs ul li a:hover{
    text-decoration: underline;
}

.single_project .breadcrumbs ul li:nth-child(2){
    background-image: none;
}

.single_project .project_title {
    color: var(--Fireseal_White, #FFF);
    font-family: "area-normal", sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    margin-top: 0;
    margin-bottom: 20px;
}

.single_project .project_meta ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-top: 0;
}

.single_project .project_meta ul li {
    display: flex;
    flex-direction: column;
    width: 50%;
    color: var(--Fireseal_White, #FFF);
    font-family: "area-normal", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 32px;
}
.single_project .project_meta ul li:last-child{
    margin-bottom: 0;
}

.single_project .project_meta ul li .project_meta_item{
    color: var(--Fireseal_LightGrey, #999);
    font-family: "area-normal", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 8px;
}

.single_project .project_meta ul li.firestopping_elements{
    width: 100%;
}

.single_project .project_meta ul li.firestopping_elements p{
    margin-bottom: 10px;
}

@media only screen and (max-width: 828px) {

    .project_wrapper{
        flex-direction: column;
    }

    .single_project .project_left,
    .single_project .project_right{
        width: 100%;
        max-width: 100%;
    }

    .single_project .project_right{
        padding-top: 15px;
    }

    .single_project .project_left img {
        max-height: 400px;
    }

}

@media only screen and (max-width: 767px) {

    .single_project .project_wrapper {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .single_project .project_title {
        font-size: 24px;
        line-height: 32px;
    }

}

@media only screen and (max-width: 668px) {

    .single_project .project_meta ul li{
        width: 100%;
    }

}

/* Footer */
footer{
    display: flex;
    flex-direction: column;
    padding: 64px 0;
    border-top: 4px solid var(--Secondary-Green, #006837);
}

.footer_row_1 .container {
    width: 1200px;
    max-width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
}

.footer_menu_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.footer_column {
    width: calc(15% - 1px);
    padding-right: 5%;
    border-right: 1px solid #C0D818;
    margin-right: 5%;
}

.footer_column:last-child{
    border-right: 1px solid transparent;
    margin-right: 0;
}

.footer_heading{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--Secondary-Green, #006837);
    font-family: "area-normal", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 900;
    line-height: 22px;
    margin-bottom: 16px;
}

.footer_heading img{
    display: none;
}

.footer_menu_item{
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.footer_menu_item li{
    margin-bottom: 16px;
}

.footer_menu_item li:last-child{
    margin-bottom: 0;
}

.footer_menu_item li a{
    color: var(--Primary-Dark-Green, #072C20);
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
}

.footer_menu_item li a:hover{
    text-decoration: underline;
}

.footer_text{
    width: 418px;
    max-width: 90%;
    color: var(--Primary-Dark-Green, #072C20);
    font-family: "area-normal", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
    padding-top: 8px;
    border-top: 1px solid var(--Primary-Dark-Green, #072C20);
    margin: 48px 0%;
}

@media only screen and (max-width: 767px) {

    footer{
        padding: 0px 0;
    }

    .footer_column {
        width: 100%;
        max-width: 100%;
        border-right: 0 none;
        border-bottom: 1px solid #C0D818;
        padding: 24px 0;
        margin: 0 auto;
    }

    .footer_column:last-child{
        border-bottom: 0 none;
    }

    .footer_heading{
        margin-bottom: 10px;
    }

    .footer_heading img {
        display: block;
        transition: transform 0.3s ease;
    }

    .footer_heading.active img {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

    .footer_menu_item{
        display: none;
    }

    .footer_text {
        width: max-content;
        max-width: 90%;
    }

}


/* Slick */
.page-template-page-builder .slick-dots li button{
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border-radius: 100px;
    border: 2px solid var(--Secondary-Green, #006837);
}

.page-template-page-builder .slick-dots li button:before{
    display: none;
}

.page-template-page-builder .slick-dots li.slick-active button{
    background-color: #006837;
}

/* Single post */
.single_post {
    display: flex;
    flex-direction: column;
    font-family: "area-normal", sans-serif;
    padding: 56px 0;
}

.single_post .post_banner img{
    max-width: 100%;
}

.single_post h1{
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 54px;
}

.single_post h2{
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px;
}

.single_post h3{
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    margin: 20px 0;
}

.single_post h4{
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    margin: 20px 0;
}

.single_post h5{
    color: var(--Secondary-Green, #072C20);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    margin: 20px 0;
}

.single_post h6{
    color: var(--Secondary-Green, #006837);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding-top: 8px;
    border-top: 1px solid var(--Secondary-Green, #006837);
}

.single_post p {
/*    display: flex;
    flex-direction: column;
    justify-content: center;*/
    width: 100%;
    max-width: fit-content;
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin: 0 auto;
    margin-left: 0;
    margin-bottom: 24px;
}

.single_post p.centered{
    border: 1px solid #072C20;
    padding: 10px;
}

.single_post p img{
    margin-right: 20px;
}

.single_post ul li::marker {
  color: #C398DC;
  font-size: 16px;
}

.single_post a.cta{
    max-width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--Primary-Light-green, #C0D818);
    color: var(--Primary-Dark-Green, #072C20);
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: 20px;
    text-decoration: none;
    padding: 16px 48px;
    border-radius: 4px;
    margin: 32px 0;
}

.single_post a.cta:hover{
    background: #C398DC;
}

.single-post .post_grid{
    background-color: #072c20;
}

.single_post .post_meta{
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid var(--Secondary-Green, #006837);
    border-bottom: 1px solid var(--Secondary-Green, #006837);
}

.single_post .post_meta .container{
    display: flex;
}

.single_post .author_name{
    color: var(--Secondary-Green, #006837);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.single_post .post_date{
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.single_post .post_share{
    display: flex;
    align-items: center;
}

/* Plugin - Add to any share */
.addtoany_shortcode{
    margin-left: 8px;
}

.addtoany_list a, .widget .addtoany_list a {
    margin-right: 0px;
}

.addtoany_list.a2a_kit_size_32 a:not(.addtoany_special_service)>span {
    background-color: #C0D818 !important;
    padding: 4px;
    border-radius: 50%;
}

.addtoany_list path {
    fill: #072C20 !important;
}

.a2a_dd.addtoany_share_save.addtoany_share{
    display: none;
}

/* Post Grid */
.post_grid {
    padding: 72px 0;
    padding-bottom: 30px;
}

.post_grid .post_grid_container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}

.post_grid .heading{
    display: flex;
    align-items: center;
    margin-bottom: 56px;
}

.post_grid .heading h2{
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 54px;
    margin-bottom: 0;
}

.post_grid .heading h4{
    max-width: fit-content;
    color: var(--Secondary-Green, #006837);
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding-top: 5px;
    border-top: 1px solid #072C20;
}

.post_grid.program .post_grid_inner{
    display: flex;
    align-items: center;
    column-gap: 24px;
}

.post_grid .testimonial_slider{
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.post_grid .post_grid_item {
    width: calc(33.333% - 40px);
    margin-bottom: 40px;
}

.post_grid .post_grid_item:nth-child(3n+3){
    margin-right: 0;
}

.post_grid .post_grid_item a{
    text-decoration: none;
}

.post_grid .post_grid_image {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.post_grid.program .post_grid_item {
    width: calc(33.333% - 0px);
    margin-bottom: 40px;
}

.post_grid.program .post_grid_image {
    height: 260px;
}

.post_grid .post_grid_image img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.post_grid .post_grid_item a .post_grid_image img{
    transform: scale(1);
    transition: transform;
    transition-duration: 0.75s;
}

.post_grid .post_grid_item a:hover > .post_grid_image img{
    transform: scale(1.5);
    transition: transform;
    transition-duration: 0.75s;
}

/*.post_grid .post_grid_item a:hover > .post_grid_image .image_overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}*/

.post_grid.testimonial p{
    color: var(--Primary-Dark-Green, #072C20);
    text-align: center;
    font-family: "area-normal", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
    margin-top: 20px;
    margin-bottom: 0;
}

.post_grid.testimonial h3{
    color: var(--Secondary-Green, #006837);
    text-align: center;
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    margin: 20px 0;
}

.post_grid.program h3 {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding-right: 0;
}

.post_grid.program h3::before {
  content: "";
  order: 2;
  flex: 0 1 0;
  transition: flex-grow .5s ease;
}

.post_grid.program h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 0;
  background-color: #006837;
  transition: width .5s ease;
}

.post_grid.program h3:hover::after {
  width: 100%;
}

.post_grid.program h3 img {
  order: 3;
  flex: 0 0 auto;
  align-self: center;
  transition: transform .6s ease, opacity .6s ease;
  opacity: .5;
}

.post_grid.program h3:hover::before {
  flex-grow: 1;
}

.post_grid.program h3:hover img {
  transform: translateX(0);
  opacity: 1;
}

.post_grid.program .post_grid_text{
    color: var(--Secondary-Green, #006837);
    font-family: "area-normal", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.post_grid.program .post_grid_text p{
    color: var(--Primary-Dark-Green, #072C20);
    font-family: "area-normal", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.post_grid.post .post_grid_inner{
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.post_grid.post .post_grid_image{
    height: 260px;
}

.post_grid.post .heading h2{
    color: #fff;
}

.post_grid.post .post_grid_text h3 a {
    color: var(--Primary-Light-green, #C0D818);
    font-family: "area-normal", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.post_grid_text .category{
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.post_grid.post .post_grid_text .category a{
    max-width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--Secondary-White-green, #EDF8E7);
    font-family: "area-normal", sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    padding: 6px 12px;
    border: 1px solid var(--Secondary-White-green, #EDF8E7);
    margin-top: 16px;
}

.post_grid.post .post_grid_text .date{
    color: var(--Secondary-White-green, #EDF8E7);
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}


@media only screen and (max-width: 1200px) {

    .post_grid{
        padding: 80px 0
    }

    .post_grid .post_grid_container {
        justify-content: space-between;
    }

    .post_grid .post_grid_item {
        width: calc(50% - 16px);
        margin-right: 32px;
        margin-bottom: 32px;
    }

    .post_grid.testimonial .post_grid_item {
        width: calc(33% - 16px);
    }

    .post_grid .post_grid_item:nth-child(2n+2) {
        margin-right: 0px;
    }

    .post_grid .post_grid_item:nth-child(3n+3) {
        margin-right: 0;
    }

    .post_grid.post .post_grid_item {
        width: calc(50% - 36px);
        margin: 0;
    }

    .post_grid.program .post_grid_item{
        margin-right: 0;
    }

}

@media only screen and (max-width: 1025px) {

    .post_grid{
        padding: 56px 0
    }

}


@media only screen and (max-width: 860px) {

    .post_grid.program .post_grid_inner {
        flex-wrap: wrap;
    }

    .post_grid.program .post_grid_item {
        width: calc(50% - 12px);
        margin-bottom: 40px;
    }

}


@media only screen and (max-width: 828px) {

    .post_grid.program .post_grid_inner {
        flex-wrap: wrap;
    }

}

@media only screen and (max-width: 767px) {

    .post_grid .heading{
        margin-bottom: 32px;
    }

    .post_grid.testimonial .editor{
        width: 100%;
        text-align: center;
    }

    .post_grid.testimonial h2{
        color: var(--Primary-Dark-Green, #072C20);
        text-align: center;
        font-size: 30px;
        font-style: normal;
        font-weight: 400;
        line-height: 38px;
    }

    .post_grid .post_grid_container {
        display: block;
    }

    .post_grid .post_grid_item{
        margin-right: 0;
    }

    .post_grid.testimonial .cta{
        max-width: 90%;
        margin: 0 auto;
        margin-top: 32px;
    }

    .post_grid.post .post_grid_item {
        width: 100%;
    }

    .post_grid.post .post_grid_image {
        height: 300px;
    }

    .post_grid.program .post_grid_item {
        width: calc(100% - 0px);
        margin-bottom: 40px;
    }

    .post_grid.program .post_grid_item:last-child{
        margin-bottom: 0;
    }

    .post_grid .heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .post_grid .heading h2{
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 24px;
    }

    .post_grid.testimonial .slick-dots{
        bottom: 0;
    }

}

@media only screen and (max-width: 668px) {

    .post_grid .post_grid_item {
        width: 100%;
        margin-right: 0px;
    }


}

/* Newsletter */
.newsletter{
    background: #F6F0FA;
    background-image: url(./images/newsletter-bg.webp);
    background-repeat: no-repeat;
    background-position: left;
    padding: 56px 0;
}

.newsletter .container {
    width: 740px;
    max-width: 90%;
    display: flex;
    align-items: center;
    margin: 0 auto;
    gap: 128px;
}

.newsletter h2{
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 54px;
}

.newsletter p{
    color: var(--Primary-Dark-Green, #072C20);
    font-family: "area-normal", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

/* Plugin - Brevo  */
.sib_signup_box_inside_1{
    width: 312px;
    max-width: 100%;
}

.sib-email-area{
    display: flex;
    flex-direction: column;
}

.sib_signup_form label{
    display: none;
}

.sib_signup_form .accept_subscription label{
    display: block;
}

.sib_signup_form input[type="email"] {
    background-color: transparent;
    color: var(--Primary-Dark-Green, #072C20);
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    border: 0 none;
    border-bottom: 2px solid var(--Primary-Dark-Green, #072C20);
    padding-bottom: 16px;
}

.sib_signup_form input[type="text"]:active,
.sib_signup_form input[type="email"]:active {
    outline: none;
}

.sib_signup_form input[type="text"]:focus,
.sib_signup_form input[type="email"]:focus {
    outline: none;
}


.sib_signup_form ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;

}

.sib_signup_form ::-moz-placeholder { /* Firefox 19+ */
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.sib_signup_form :-ms-input-placeholder { /* IE 10+ */
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.sib_signup_form :-moz-placeholder { /* Firefox 18- */
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.accept_subscription{
    display: flex;
    align-items: flex-start;
    margin-top: 16px;
}

.accept_subscription input {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    margin-bottom: 0;
    margin-left: 0;
}

.accept_subscription label {
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    font-family: "area-normal", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    margin-top: 5px;
    margin-bottom: 32px;
}

.accept_subscription a{
    color: var(--Primary-Dark-Green, #072C20);
}

.sib-default-btn {
    display: flex;
    height: 52px;
    padding: 16px 48px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    background: var(--Secondary-Purple, #C398DC);
    color: var(--Primary-Dark-Green, #072C20);
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: 20px;
    border: 0 none;
    border-radius: 4px;
}

.sib-default-btn:hover{
    background-color: #C0D818;
    cursor: pointer;
}

@media only screen and (max-width: 828px) {

    .newsletter_section {
        padding-top: 60px;
        padding-bottom: 30px;
        border-radius: 0;
       /* margin-top: 29px;*/
    }

    .newsletter_section .container{
        flex-direction: column;
        justify-content: flex-start !important;
    }

    .newsletter_section h2 {
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 25px;
    }

    .newsletter_section h2 img{
        margin-right: 20px;
    }

    .newsletter_section p {
        margin: 0;
    }

    .newsletter_section .column_right {
        width: 100%;
        margin: 20px 0;
    }

    .sib-email-area{
        display: flex;
        flex-direction: column;
    }

    .sib_signup_form input[type="text"], .sib_signup_form input[type="email"] {
        max-width: calc(100% - 10px);
    }

}

@media only screen and (max-width: 991px) {

    .newsletter_section .column_left {
        width: 100%;
    }

    .newsletter_section .column_right {
        width: 100%;
        margin-top: 0;
    }

    .sib-email-area{
        display: flex;
        flex-direction: column;
    }

    .sib_signup_form input[type="text"], .sib_signup_form input[type="email"] {
        max-width: calc(100% - 10px);
    }

    .sib_signup_form label, .accept_subscription a {
        font-size: 16px;
        line-height: 26px;
    }

    .sib-default-btn{
        width: 100%;
    }

}

@media only screen and (max-width: 991px) {

    .newsletter .container h2{
        font-size: 36px;
        line-height: 44px;
    }

}

@media only screen and (max-width: 767px) {

    .newsletter {
        background-size: 160px;
        background-position: top left;
        padding-top: 80px;
    }

    .newsletter .container{
        flex-wrap: wrap;
        gap: 40px;
    }

}

/* Blog * Post Taxonomy Page */
.blog{
    font-family: "area-normal", sans-serif;
}

.blog .filters{
    background: var(--Secondary-White-Green-lighter, #F8FCF5);
    padding: 32px 0;
}

.blog .filters .filters_container{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.blog .filters button {
    background-color: transparent;
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    padding: 6px 12px;
    border: 1px solid var(--Primary-Dark-Green, #072C20);
}

.blog .filters button:hover{
    background: var(--Primary-Dark-Green, #072C20);
    color: #fff;
    cursor: pointer;
}

.blog .filters button.active{
    background: var(--Primary-Dark-Green, #072C20);
    color: #fff;
}

.blog_container{
    padding-top: 56px;
}

.blog_inner_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
}

.blog_item {
    width: calc(33.333% - 20px);
    margin-bottom: 56px;
}

.blog_item a{
    display: flex;
}

.blog_item a img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog_item_text{
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}

.blog .blog_item .blog_item_category span {
    display: inline-flex;
    background-color: transparent;
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    padding: 6px 12px;
    border: 1px solid var(--Primary-Dark-Green, #072C20);
}

.blog_item_text h3{
    margin: 12px 0;
}

.blog_item_text h3 a{
    color: var(--Secondary-Green, #006837);
    font-family: "area-normal", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
}

.single_post .wp-caption {
  display: inline-block;
  vertical-align: top;
  margin: 0 20px 20px 0;
}

.single_post figure{
    display: inline-block;
    margin-bottom: 50px;
    margin-right: 20px;
}

@media only screen and (max-width: 991px) {

    .blog_item {
        width: calc(50% - 20px);
    }

    .blog_item a img {
        height: 300px;
    }

}


@media only screen and (max-width: 767px) {

    .blog_inner_container {
        gap: 0;
    }

    .single_post .post_meta{
        flex-direction: column;
    }

    .single_post .wp-caption{
        display: block;
        margin: 24px auto;
    }

    .single_post .post_share {
        margin-top: 16px;
    }

}

@media only screen and (max-width: 668px) {

    .blog_item {
        width: 100%;
        margin-bottom: 32px;
    }

    .blog_item a img {
        height: 350px;
    }

}

/* 404 page */
.template_404{
    width: 800px;
    max-width: 90%;
    font-family: "area-normal", sans-serif;
    text-align: center;
    padding-top: 60px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.template_404 .cta a{
    display: block;
    margin: 24px auto;
}

.template_404 img{
    max-width: 100%;
}


/* Bull Search */
.search-filter-results{
    font-family: "area-normal", sans-serif;
}

/* Single Bull Details */
.ncbc-grid {
  font-family: "area-normal", sans-serif;
}

.bull_search {
  background: #072c20;
}

.single-bull.v2{
   font-family: "area-normal", sans-serif;
}

.single-bull.v2 {
    width: 1340px;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #072c20;
    margin: 32px auto;
    margin-bottom: 48px;
}

.single-bull.v2 .back-navigation {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    align-self: stretch;
    margin-bottom: 24px;
}

.single-bull.v2 .back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  padding: 2px 0;
}

.single-bull.v2 .back-text {
  display: flex;
  align-items: center;
  color: var(--Secondary-White-green, #EDF8E7);
  font-family: "area-normal", sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.single-bull.v2 .back-link:hover .back-text,
.single-bull.v2 .back-link:focus .back-text {
  border-bottom-color: #c398dc;
}

.single-bull.v2 .bull-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
}

.single-bull.v2 .bull-header {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  align-self: stretch;
}

.single-bull.v2 .bull-title-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 0 0;
}

.single-bull.v2 .title-and-rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.single-bull.v2 .bull-name {
  display: flex;
  align-items: center;
  gap: 16px;
}

.single-bull.v2 .main-title {
    color: #edf8e7;
    font-weight: 400;
    font-size: 60px;
    line-height: 64px;
    font-family: "GT Super Ds Trial", serif;
    margin: 0;
    text-transform: uppercase;
}


.single-bull.v2 .bull-subtitle {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding-top: 8px;
  border-top: 1px solid #c0d818;
}

.single-bull.v2 .bull-details {
    color: var(--Primary-Light-green, #C0D818);
    font-family: "area-normal", sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;

}

.single-bull.v2 .bull-id {
  font-weight: 400;
}

.single-bull.v2 .bull-full-name {
  font-weight: 700;
  margin-left: 8px;
}

.single-bull.v2 .action-section {
  display: flex;
  width: 192px;
  padding: 8px 0;
  flex-direction: column;
  gap: 10px;
}

.single-bull.v2 .download-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #c0d818;
  color: var(--Primary-Dark-Green, #072C20);
  font-family: "Work Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  transition: background-color .3s, color .3s;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 4px;
}

.single-bull.v2 .download-button:hover,
.single-bull.v2 .download-button:focus {
  background: #a8c016;
}

.single-bull.v2 .bull-gallery {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  margin-top: 24px;
}

.single-bull.v2 .main-image-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: column;
    overflow: hidden;
}

.single-bull.v2 .hero-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.single-bull.v2 .image-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  padding: 6px 12px;
}

.single-bull.v2 .image-description {
    color: var(--Primary-Dark-Green, #fff);
    font-family: "area-normal", sans-serif;
    font-size: 14px;
    font-style: italic;
    font-weight: 300;
    line-height: 20px;
}

/* Icons */
.single-bull.v2 .icons-section {
  width: auto;
  position: relative;
}

.single-bull.v2 .icons-section .icons-container {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  justify-content: center;
}

.single-bull.v2 .icons-section .service-icon {
  width: 49px;
  height: 48px;
  aspect-ratio: 49/48;
  object-fit: contain;
  transition: transform .3s ease;
}

.single-bull.v2 .icons-section .service-icon:hover {
  transform: scale(1.05);
}

.single-bull.v2 .icons-section .service-icon:focus {
  outline: 2px solid #75BC22;
  outline-offset: 2px;
  border-radius: 4px;
}


@media only screen and (max-width: 1380px) {

    .single-bull.v2 {
        width: 100%;
        max-width: calc(100% - 40px);
    }

}

@media (max-width: 991px) {

    .single-bull.v2 .back-navigation {
    padding: 0 24px;
}

    .single-bull.v2 .title-and-rating {
    display: flex;
    justify-content: space-between;
    align-self: stretch;
    flex-direction: column;
    align-items: flex-start;
}

.single-bull.v2 .bull-title-section {
    width: 100%;
}

.single-bull.v2 .bull-subtitle {
    padding: 16px 0;
}

.single-bull.v2 .icons-section {
    width: auto;
    position: relative;
    margin: 8px 0;
}

 .single-bull.v2 {
    max-width: 100%;
    margin-bottom: 0;
    margin-top: 10px;
}

    .single-bull.v2 .bull-header {
        flex-direction: column;
        gap: 0;
        order: 1;
        padding: 16px 24px;
        padding-bottom: 32px;
    }

  .single-bull.v2 .main-title {
    font-size: 48px;
    line-height: 52px;
  }
  .single-bull.v2 .bull-details {
    font-size: 24px;
    line-height: 32px;
  }
  .single-bull.v2 .action-section {
    width: 100%;
  }
  .single-bull.v2 .bull-gallery {
    height: 500px;
  }
}

@media (max-width: 640px) {
  .single-bull.v2 .main-title {
    font-size: 36px;
    line-height: 40px;
  }
  .single-bull.v2 .bull-details {
    font-size: 20px;
    line-height: 28px;
  }
  .single-bull.v2 .bull-gallery {
    height: auto;
  }
  .single-bull.v2 .main-image-container {
    justify-content: center;
    align-items: center;
  }
  .single-bull.v2 .image-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
  }
}

/* ===== DATA / GENEALOGY / PERFORMANCE ===== */
.single-bull.data-block {
  overflow: hidden;
  background: #f8fcf5;
  font-family: "area-normal", sans-serif;
  padding-bottom: 5rem;
}

.single-bull.data-block .container {
    width: 1340px;
    max-width: 90%;
    margin: 0 auto;
}

/* Basic data rows */
.single-bull.data-block .bull-basic-data {
  width: 100%;
  max-width: 480px;
}

.single-bull.data-block .data-row {
  display: flex;
  width: 100%;
  align-items: start;
  justify-content: start;
  margin-bottom: 16px;
}

.single-bull.data-block .data-row:last-child {
    margin-bottom: 0;
}

.single-bull.data-block .data-label {
    min-width: 190px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    text-align: right;
    width: 192px;
    white-space: nowrap;
    color: var(--Primary-Dark-Green, #072C20);
    font-family: "GT Super Ds Trial";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    text-align: right;
    padding-right: 16px;
    border-right: 1px solid #006837;
}

.single-bull.data-block .data-value {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: start;
  flex: 1;
  color: var(--Primary-Dark-Green, #072C20);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  padding-left: 16px;
}

/* Stats cards */
.single-bull.data-block .statistics-tables {
    display: flex;
    justify-content: space-between;
    align-items: end;
    overflow: hidden;
    margin-bottom: 56px;
}

.single-bull.data-block .statistics-tables .stat-table {
    width: calc(50% - 8px);
}

.single-bull.data-block .stat-table {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.single-bull.data-block .stat-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c398dc;
    color: var(--Primary-Dark-Green, #072C20);
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    padding: 8px 16px;
}

.single-bull.data-block .stat-header h2 {
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 0;
}

.single-bull.data-block .stat-value {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    padding: 8px 16px;
    border-bottom: 1px solid #cae1be;
}

/* Layout columns */
.bull_details_col_one {
  width: 42%;
}

.bull_details_col_two {
  width: 53%;
}

.single-bull.data-block .genealogy-and-performance {
  display: flex;
  margin-top: 5rem;
  width: 100%;
  align-items: start;
  gap: 48px;
  justify-content: space-between;
}

.is-dairy .genealogy-and-performance {
	flex-direction: column;
}

/* Genealogy */
.single-bull.data-block .genealogy-tree {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: #072c20;
  justify-content: center;
  font-family: "area-normal", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;

}

.single-bull.data-block .tree-branch {
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
    margin-top: 56px;
}

.single-bull.data-block .tree-top,
.single-bull.data-block .tree-bottom {
  display: flex;
  min-height: 40px;
  width: 100%;
  align-items: end;
  justify-content: start;
}

.single-bull.data-block .tree-bottom {
  align-items: start;
}

.single-bull.data-block .tree-spacer {
  display: flex;
  width: 80px;
  flex-shrink: 0;
  height: 40px;
  padding: 0;
}

.single-bull.data-block .tree-lines {
  border-top: 2px solid #072c20;
  border-left: 2px solid #072c20;
  display: flex;
  width: 40px;
  height: 24px;
}

.single-bull.data-block .tree-lines-bottom {
  border-bottom: 2px solid #072c20;
  border-left: 2px solid #072c20;
  display: flex;
  width: 40px;
  height: 24px;
}

.single-bull.data-block .ancestor-name {
    background: #cae1be;
    flex: 1;
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    padding: 8px 24px;
}

.single-bull.data-block .tree-main {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  background: #006837;
  color: #FFF;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  padding: 12px 24px;
}

.single-bull.data-block .tree-main h3 {
  margin: 0;
  font-family: "area-normal", sans-serif;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  display: flex;
}

/* Animal image */
.single-bull.data-block .animal-image-container {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  align-items: end;
  font-size: 14px;
  line-height: 1;
  height: 340px;
  width: 100%;
  /*max-width: 480px;*/
  margin-top: 1.5rem;
}

.single-bull.data-block .animal-image {
  position: relative;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.single-bull.data-block .image-caption {
  position: absolute;
  justify-content: center;
  align-items: end;
  background: #edf8e7;
  display: flex;
  flex-direction: column;
  bottom: 0;
}

.single-bull.data-block .image-caption p {
      margin: 0;
      font-size: 14px;
      line-height: 1;
      background-color: #edf8e7;
      color: #072c20;
      z-index: 2;
      padding: 6px 12px;
}

/* ===== Performance tables ===== */
.performance-table{
    margin-bottom: 32px;
}

.section-header h3{
    background: #CAE1BE;
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 14px;
    line-height: 22px;
    font-style: normal;
    font-weight: 900;
    text-align: center;
    padding: 8px 16px;
    border-bottom: 1px solid #F8FCF5;
    margin: 0;
}

.single-bull.data-block .performance-tables {
}

.single-bull.data-block .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.single-bull.data-block .perf-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 100%;
}

.single-bull.data-block .perf-table thead th {
  background: #072c20;
  color: #f8fcf5;
  font-family: "area-normal", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 14px;
  padding: 8px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #072c20;
}

.single-bull.data-block .perf-table thead th:nth-child(3),
.single-bull.data-block .perf-table thead th:nth-child(4){
    text-align: right;
}

.single-bull.data-block .perf-table tbody td {
  background: #fff;
  color: #072c20;
  font-weight: 700;
  font-family: "area-normal", sans-serif;
  font-size: 14px;
  line-height: 1;
  padding: 8px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #cae1be;
}

.single-bull.data-block .perf-table col.col-star-within {
  width: 120px;
}

.single-bull.data-block .perf-table col.col-trait {
  width: auto;
}

.single-bull.data-block .perf-table col.col-index {
  width: 140px;
}

.single-bull.data-block .perf-table col.col-rel {
  width: 110px;
}

.single-bull.data-block .perf-table col.col-star-across {
  width: 140px;
}

.single-bull.data-block .perf-table .ta-left {
  text-align: left;
}

.single-bull.data-block .perf-table .ta-right {
  text-align: right;
}

.single-bull.data-block .perf-table .ta-center {
  text-align: center;
}

.single-bull.data-block .stars {
  display: inline-flex;
  gap: 4px;
}

.single-bull.data-block .stars .star {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 18px;
  color: #006837;
}

@media only screen and (max-width: 1380px) {

    .single-bull.data-block .container {
        width: 100%;
        max-width: calc(100% - 40px);
    }

}

@media (max-width: 1200px) {
  .bull_details_col_one,
  .bull_details_col_two {
    width: 50%;
  }
  .single-bull.v2 .bull-header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .single-bull.data-block .statistics-tables {
    display: flex;
    flex-direction: column;
  }
  .single-bull.data-block .stat-table {
    min-width: 100%;
  }
}

@media (max-width: 1200px) {

    .single-bull.data-block .data-row {
        flex-direction: column;
        align-items: center;
        background: var(--Secondary-White-green, #EDF8E7);
        padding: 12px 0;
        margin-bottom: 0;
    }

    .single-bull.data-block .bull-basic-data {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .data-row {
      flex: 1 1 200px; /* default: they grow/shrink and have a min size */
    }

    .data-row:first-child {
      flex: 1 1 100%; /* always take the whole line */
    }


   .single-bull.data-block .data-label{
     justify-content: center;
     border-right: 0;
   }

   .single-bull.data-block .bull-basic-data{
        max-width: 100%;
   }

  .single-bull.data-block .genealogy-and-performance {
    margin-top: 2rem;
    flex-direction: column;
  }
  .single-bull.data-block .bull-basic-data {
    width: 50%;
  }
  .single-bull.v2 .bull-header {
    order: 1;
  }
  .bull_details_col_one,
  .bull_details_col_two {
    width: 100%;
  }

  .single-bull.data-block .bull-basic-data {
    width: 100%;
  }

  .single-bull.data-block .data-label {
        width: 120px;
        color: var(--Primary-Dark-Green, #072C20);
        text-align: center;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px;
        margin-bottom: 12px;
   }

  .single-bull.data-block .data-value {
    color: var(--Primary-Dark-Green, #072C20);
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    padding-left: 0;
  }

  .single-bull.data-block {
    padding-bottom: 0px;
}

  .single-bull.data-block .stat-header h2 {
    font-size: 18px;
  }

    .single-bull.data-block .stat-value {
        font-size: 16px;
        max-width: -webkit-fill-available;
    }

  .single-bull.data-block .tree-main h3 {
    font-size: 16px;
  }
  .single-bull.data-block .ancestor-name {
    padding: 6px 16px;
    font-size: 14px;
  }

  .single-bull.data-block .animal-image-container {
        width: 100%;
        max-width: 100%;
        margin: 48px 0;
        margin-bottom: 0px;
    }

    .single-bull.data-block{
        border-bottom: 4px solid var(--Secondary-Green, #006837);
    }

    .single-bull.data-block .performance-tables {
        padding-bottom: 25px;

    }


}


@media (max-width: 991px) {

    .single-bull.data-block .perf-table {
        min-width: 130%;
    }

}

@media (max-width: 480px) {
  .single-bull.data-block .data-row {
    flex-direction: column;
  }
  .single-bull.data-block .data-label {
    width: 100%;
    padding-right: 0;
    padding-bottom: 8px;
    margin-bottom: 8px;
    text-align: left;
  }

  .single-bull.data-block .data-value {
    padding-left: 0;
  }

  .single-bull.data-block .ancestor-name {
    padding: 4px 12px;
    font-size: 12px;
  }

  .single-bull.data-block .tree-main {
    padding: 8px 12px;
  }

  .single-bull.data-block .tree-main h3 {
    font-size: 14px;
  }

}

/* Print */
@media print {
  .single-bull.v2 .icons-section .icons-container {
    padding: 10px;
    gap: 8px;
  }
  .single-bull.v2 .icons-section .service-icon {
    width: 30px;
    height: 29px;
  }
}

/* Carousel fading */
.single-bull.data-block .animal-image-container.carousel {
  position: relative;
}

.single-bull.data-block .animal-image-container .carousel-viewport {
  position: relative;
  width: 100%;
  height: 100%;
}

.single-bull.data-block .animal-image-container .carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .6s ease;
}

.single-bull.data-block .animal-image-container .carousel-img.is-active {
  opacity: 1;
  z-index: 1;
}



/* Page: Beef Search */
.searchandfilter ul li {
  padding: 0;
}

.sf-field-post-meta-_ncbc_category {
  display: none !important;
}

.searchandfilter h4 {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: #000;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  text-align: left;
}

.sf-field-taxonomy-ncbc_breed {
  flex-direction: column;
  border-top: 1px solid #006837;
  padding-top: 1rem;
}

.sf-field-taxonomy-ncbc_breed h4 {
  padding-top: 1rem;
}

.bull-search-page .bull-search-header {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 56px;
  background: #f8fcf5;
  padding: 72px 0px;
}

.bull-search-page .ncbc-container {
    width: 1340px;
    max-width: 90%;
    margin: 0 auto;
}

.bull-search-page .bull-search-content {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1 0 0;
}

.bull-search-page .bull-search-text-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1 0 0;
}

.bull-search-page .bull-search-header .bull-search-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1 0 0;
  padding: 0;
}

.bull-search-page .bull-search-title {
  color: var(--Primary-Dark-Green, #072C20);
  font-family: "GT Super Ds Trial";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 54px;
  margin: 0;
}

.bull-search-page .bull-search-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bull-search-page .bull-search-download-btn,
.bull-search-page .btn-export {
  display: flex;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: "Work Sans";
  border-radius: 4px;
  cursor: pointer;
  background: #c0d818;
  border: none;
  outline: none;
  text-decoration: none;
}

.bull-search-page .bull-search-download-btn:hover,
.bull-search-page .btn-export:hover {
  background: #a8c015;
}

.bull-search-page .bull-search-download-btn:focus {
  outline: 2px solid #072c20;
  outline-offset: 2px;
}

.bull-search-page .download-btn-text {
  color: #072c20;
  white-space: nowrap;
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
}

.bull-search-page .btn-export svg {
  width: 16px;
  height: 16px;
}

.bull-search-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bull-search-page .cattle-filter-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.bull-search-page .cattle-filter {
  width: 100%;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.bull-search-page .cattle-filter .ncbc-row {
    width: 1340px;
    max-width: 90%;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0;
}

.bull-search-page .filter-section {
  display: flex;
}

.bull-search-page .filter-container {
  display: flex;
  width: 300px;
  padding: 16px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #006837;
  background: #fff;
}

.bull-search-page .filter-header {
  display: flex;
  padding-bottom: 16px;
  align-items: center;
  align-self: stretch;
  border-bottom: 1px solid #006837;
}

.bull-search-page .filter-title {
  margin: 0;
  color: #072c20;
  font-weight: 500;
  font-size: 36px;
  line-height: 40px;
  padding-bottom: 1rem;
}

.sf-field-post-meta-_ncbc_is_dairy_beef h4 {
  padding-top: 1rem;
}

.bull-search-page .filter-container form.searchandfilter {
  width: 100%;
}

.bull-search-page .filter-container .searchandfilter ul {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bull-search-page .searchandfilter .sf-fieldset {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #edf8e7;
}

.bull-search-page .searchandfilter .sf-fieldset:first-child {
  padding-top: 0;
}

.bull-search-page .searchandfilter .sf-label,
.bull-search-page .searchandfilter legend {
  color: #072c20;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  margin: 0;
}

.bull-search-page .searchandfilter li {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%!important;
}

.sf-level-0 {
  align-items: center !important;
}

.bull-search-page .searchandfilter li:first-child {
  background: #fff;
}

.sf-field-post-meta-_ncbc_is_dairy_beef {
  flex-direction: column;
  border-top: 1px solid #edf8e7;
}

.sf-field-post-meta-_ncbc_is_dairy_beefh4 {
    padding-top: 1rem;
}

.bull-search-page .searchandfilter .sf-count {
  color: #072c20;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  margin-left: 12px;
}

.bull-search-page .searchandfilter label {
    color: #072c20;
    font-family: "area-normal", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    padding-left: 0 !important;
    cursor: pointer;
    width: -webkit-fill-available;
    display: flex;
    justify-content: space-between;
}

.bull-search-page .searchandfilter input[type="checkbox"],
.bull-search-page .searchandfilter input[type="radio"] {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 1px solid #072c20;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  cursor: pointer;
  background: transparent;
}

.bull-search-page .searchandfilter input[type="checkbox"]:checked, .bull-search-page .searchandfilter input[type="radio"]:checked {
    border-color: #072C20;
    position: relative;
    color: #006837;
}

.bull-search-page .searchandfilter input[type="checkbox"]:checked::after,
.bull-search-page .searchandfilter input[type="radio"]:checked::after {
  content: "";
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.3332 4L5.99984 11.3333L2.6665 8' stroke='%23006837' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.bull-search-page .filter-actions {
  padding-top: 16px;
}

.bull-search-page .clear-filters-btn {
  display: flex;
  width: 268px;
  height: 38px;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  cursor: pointer;
  background: #072c20;
  border: none;
  color: #c0d818;
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
}

.bull-search-page .clear-filters-btn:hover {
  background: #0a3d2a;
}

.bull-search-page .cattle-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.bull-search-page .cattle-table thead.table-header {
  display: table-header-group !important;
  background: #072c20;
}

.bull-search-page .cattle-table thead.table-header tr {
  display: table-row !important;
}

.bull-search-page .cattle-table thead.table-header th {
  color: var(--Secondary-White-Green-lighter, #F8FCF5);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  text-align: left;
  padding: 8px 16px;
  white-space: nowrap;
}

.bull-search-page .cattle-table thead.table-header th:nth-child(4) {
  text-align: center;
}

.bull-search-page .cattle-table tbody.table-body {
  display: table-row-group !important;
}

.bull-search-page .cattle-table tbody.table-body tr.table-row {
  display: table-row !important;
  background: #fff;
  border-bottom: 1px solid #CAE1BE;
}

.bull-search-page .cattle-table tbody.table-body tr.table-row:nth-child(even) {
  background: #edf8e7;
}

.bull-search-page .cattle-table tbody.table-body tr.table-row:first-child {
  background: #fff !important;
}

.bull-search-page .cattle-table tbody.table-body tr.table-row td {
  padding: 8px 16px;
  vertical-align: middle;
}

.bull-search-page .cattle-table tbody.table-body tr.table-row td:not(.name-cell) {
  display: table-cell !important;
}

.bull-search-page .cattle-table td.name-cell {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.bull-search-page .cattle-table thead.table-header th:nth-child(1),
.bull-search-page .cattle-table tbody.table-body td:nth-child(1) {
  width: auto;
}

.bull-search-page .cattle-table thead.table-header th:nth-child(2),
.bull-search-page .cattle-table tbody.table-body td:nth-child(2) {
  width: 160px;
}

.bull-search-page .cattle-table thead.table-header th:nth-child(3),
.bull-search-page .cattle-table tbody.table-body td:nth-child(3) {
  width: 120px;
  text-align: right;
}

.bull-search-page .cattle-table thead.table-header th:nth-child(4),
.bull-search-page .cattle-table tbody.table-body td:nth-child(4) {
    width: 220px;
    text-align: center;
}

.bull-search-page .cattle-table .cattle-image {
  width: 39px;
  height: 39px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  flex: 0 0 39px;
      width: 100px !important;
    height: auto !important;
}

.bull-search-page .name-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.bull-search-page .cattle-name {
  color: #072c20;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
}

.bull-search-page .cattle-name a {
  color: var(--Primary-Dark-Green, #072C20);
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: 20px;
  text-decoration: none;
}

.bull-search-page .cattle-name a:hover {
  text-decoration: underline;
}

.bull-search-page .cattle-code {
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.bull-search-page .breed-cell {
  color: #072c20;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
}

.bull-search-page .index-cell {
  color: #072c20;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  text-align: right;
}

.bull-search-page .category-cell {
  text-align: center;
}

.bull-search-page .category-badge {
  width: max-content;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #006837;
  color: var(--Secondary-White, #FFF);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  padding: 2px 12px;
  border-radius: 16px;
  margin-inline: auto;
}

.bull-search-page .pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
}

.bull-search-page .pagination-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bull-search-page .pagination-container .page-numbers {
  display: flex;
  gap: 8px;
}

.bull-search-page .pagination-container .page-numbers a,
.bull-search-page .pagination-container .page-numbers span {
  border: none;
  background: none;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 12px;
  color: #072c20;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.bull-search-page .pagination-container .page-numbers a:hover {
  background: #edf8e7;
}

.bull-search-page .pagination-container .page-numbers .current {
  background: #072c20;
  color: #fff;
}

@media only screen and (max-width: 1380px) {

    .bull-search-page .ncbc-container {
        width: 100%;
        max-width: calc(100% - 40px);
        margin: 0 auto;
    }

    .bull-search-page .cattle-filter .ncbc-row {
        width: 100%;
        max-width: calc(100% - 3rem);
    }

}


@media (max-width: 1280px) {

    .bull-search-page .ncbc-container {
        margin: 0;
    }

  .cattle-filter-main {
    flex-direction: column;
  }

  .bull-search-page .bull-search-header {
    padding: 1.5rem;
  }

  .bull-search-page .cattle-filter {
        padding: 1.5rem 0;
        align-items: center;
   }

  .bull-search-page .cattle-filter .ncbc-row {
    flex-direction: column;
  }

  .bull-search-page .filter-section {
    display: flex;
    width: 100%;
  }

  .bull-search-page .filter-container {
    width: 100%;
  }

  .bull-search-page .searchandfilter .sf-fieldset legend:focus-visible,
  .bull-search-page .searchandfilter .sf-fieldset .sf-label:focus-visible,
  .bull-search-page .searchandfilter .sf-field > h4:focus-visible,
  .bull-search-page .searchandfilter [class^="sf-field-"] > h4:focus-visible {
    outline: 2px solid #c0d818;
    outline-offset: 2px;
    border-radius: 4px;
  }

  .bull-search-page .searchandfilter .sf-fieldset legend,
  .bull-search-page .searchandfilter .sf-fieldset .sf-label,
  .bull-search-page .searchandfilter .sf-field > h4,
  .bull-search-page .searchandfilter [class^="sf-field-"] > h4 {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    user-select: none;
    outline: 0;
    margin: 0;
  }

  .bull-search-page .searchandfilter .sf-fieldset legend::after,
  .bull-search-page .searchandfilter .sf-fieldset .sf-label::after,
  .bull-search-page .searchandfilter .sf-field > h4::after,
  .bull-search-page .searchandfilter [class^="sf-field-"] > h4::after {
    content: "";
    width: 12px;
    height: 12px;
    border-right: 2px solid #072c20;
    border-bottom: 2px solid #072c20;
    transform: rotate(45deg);
    transition: transform .2s ease;
    margin-left: 8px;
    flex: 0 0 12px;
  }

  .bull-search-page .searchandfilter .is-open > legend::after,
  .bull-search-page .searchandfilter .is-open > .sf-label::after,
  .bull-search-page .searchandfilter .is-open > h4::after {
    transform: rotate(-135deg);
  }

  .bull-search-page .searchandfilter .sf-accordion-content {
    display: none;
    padding: 0 0 12px 0;
  }

  .bull-search-page .searchandfilter .is-open > .sf-accordion-content {
    display: block;
  }

}



@media screen and (min-width: 1025px) and (max-width: 1280px) {

    .bull-search-page .filter-container .searchandfilter ul {
        display: flex;
        flex-wrap: wrap;
    }

    .searchandfilter ul li li{
        width: 20%;
        min-width: 250px;
    }

    .bull-search-page .searchandfilter label {
        justify-content: flex-start;
    }

    .sf-field-post-meta-_ncbc_is_dairy_beef{
        width: 100%;
    }

    .page-template-page-dairy-search .bull-search-page .searchandfilter li {
        width: 100%;
    }

}


@media (max-width: 1024px) {

    .bull-search-page .filter-container .searchandfilter ul{
        display: block;
    }

    .bull-search-page .filter-container .searchandfilter ul.hide{
        display: none;
    }

}

@media (max-width: 1024px) {

  .bull-search-page .bull-search-title {
        font-size: 36px;
        line-height: 44px;
  }

  .bull-search-page .filter-title{
        font-size: 32px;
        line-height: 40px;
  }

  .bull-search-page .bull-search-header {
        padding: 32px 24px;
    }

   .bull-search-page .pagination-container{
        padding: 0;
   }

}

@media (max-width: 991px) {

    .bull-search-page .bull-search-text-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .bull-search-page .cattle-filter .ncbc-row {
        gap: 56px;
    }

    .cattle-filter-main .table-section{
        max-width: 100%;
        overflow-x: scroll;
    }

    .bull-search-page .cattle-table thead.table-header th:nth-child(1), .bull-search-page .cattle-table tbody.table-body td:nth-child(1) {
        width: 250px;
        min-width: 240px;
        padding-left: 0 !important;
    }


}


/*@media (max-width: 640px) {

  .bull-search-page .bull-search-title {
    font-size: 32px;
    line-height: 38px;
  }

  .bull-search-page .cattle-filter-main {
    padding: 0 16px 24px;
  }

  .bull-search-page .cattle-table thead.table-header {
    display: none !important;
  }

  .bull-search-page .cattle-table tbody.table-body tr.table-row {
    display: flex !important;
    flex-direction: column;
    height: auto;
  }

  .bull-search-page .cattle-table tbody.table-body tr.table-row td {
    display: flex !important;
    align-items: flex-start !important;
    width: 100% !important;
    text-align: left !important;
    flex-direction: column;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (min-width: 641px) {


  .bull-search-page .cattle-table tbody.table-body tr.table-row td {
    padding-top: 8px;
    padding-bottom: 8px;
    vertical-align: middle;
  }
}

@media (max-width: 414px) {

    .bull-search-page .bull-search-text-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

}


*/



.ncbc_bull-template-default h3,
#bull-data-heading{
    display: none;
}

.ncbc_bull-template-default footer h3{
    display: flex;
}



.single-bull .data-block .table-section,
.single-bull.data-block .table-section{margin-top:16px}

.single-bull .data-block .data-table,
.single-bull.data-block .data-table{width:100%;border-collapse:collapse}

.single-bull .data-block .data-table thead tr,
.single-bull.data-block .data-table thead tr{background:#072c20}

.single-bull .data-block .data-table th,
.single-bull.data-block .data-table th{color:#f8fcf5;font-weight:700;font-size:14px;line-height:20px;text-align:left;padding:8px 16px}

.single-bull .data-block .data-table td,
.single-bull.data-block .data-table td{padding:8px 16px;border-bottom:1px solid #cae1be;font-weight:700;font-size:14px;line-height:20px;color:#072c20}

.single-bull .data-block .data-table tbody tr:nth-child(even),
.single-bull.data-block .data-table tbody tr:nth-child(even){background:#edf8e7}

.single-bull .data-block .ta-right,
.single-bull.data-block .ta-right{text-align:right}

.single-bull .data-block .ta-center,
.single-bull.data-block .ta-center{text-align:center !important;}

.single-bull .data-block .muted,
.single-bull.data-block .muted{opacity:.78}

/* EBI header */
.single-bull .data-block .ebi-header,
.single-bull.data-block .ebi-header{display:flex;flex-direction:column;gap:6px;background:#006837;padding:8px 16px}
.single-bull .data-block .ebi-header .section-title,
.single-bull.data-block .ebi-header .section-title,
.single-bull .data-block .ebi-header .section-subtitle,
.single-bull.data-block .ebi-header .section-subtitle{color:#f8fcf5;margin:0;font-weight:700;font-size:14px;line-height:20px}
.single-bull .data-block .chart-labels,
.single-bull.data-block .chart-labels{display:flex;justify-content:space-between;color:#f8fcf5}

/* centred reliability bars */
.single-bull .data-block .progress-cell,
.single-bull.data-block .progress-cell{ padding-left: 16px; }
.single-bull .data-block .progress-wrap,
.single-bull.data-block .progress-wrap{ position: relative; height: 14px; background: #edf8e7; }
.single-bull .data-block .progress-wrap::before,
.single-bull.data-block .progress-wrap::before{
  content:""; position:absolute; left:50%; top:0; bottom:0; width:2px; background:#c0d818; opacity:.9;
}
.single-bull .data-block .progress-fill,
.single-bull.data-block .progress-fill{ position:absolute; top:0; bottom:0; background:#c0d818; }

/* allow dairy-specific styling */
.single-bull.is-dairy .data-table thead tr{ background:#0b3a2a; }

/* EDITS to previous styles */
.single-bull.v2 .bull-full-name { margin-left: 0px; }
.single-bull.v2 .bull-details {
    display: flex
;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}


/* Dairy Search */
.single-bull.is-dairy .bull-basic-data {
    max-width: 100%;
}

.single-bull.is-dairy .data-label{
    width: 100px;
    color: var(--Primary-Dark-Green, #072C20);
    text-align: right;
    font-family: "GT Super Ds Trial";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.single-bull.is-dairy .data-value{
    margin-left: 0;
}

.is-dairy .genealogy-tree {
    width: 100%;
}

.is-dairy .bull-basic-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.is-dairy .data-row {
  display: contents;
}

.is-dairy .data-label {
  font-weight: bold;
  color: #333;
}

.is-dairy .data-value {
  color: #555;
}

.is-dairy .data-label {
    width: 100px;;
}

.is-dairy .bull-basic-data{
    width: 100%;
    max-width: 100%;
}

.is-dairy .data-value {
    padding-left: 0px;
}

/*.is-dairy .genealogy-and-performance {
    flex-direction: column;
    margin-top: 72px;
}*/

.is-dairy .bull_details_col_two {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
}

.is-dairy .performance-tables section{
    width: calc(50% - 16px);
}

.is-dairy .performance-tables section:first-child,
.is-dairy .performance-tables section:last-child{
    width: 100%;
}

.is-dairy .two-col {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.is-dairy .two-col > * {
  flex: 1;
  min-width: 0;
}

.is-dairy .dam-yields-section{
    order: 5;
}

.single-bull.data-block.is-dairy .ebi-header{
    flex-direction: row;
    justify-content: space-between;
}

.single-bull .data-block .ta-right, .single-bull.data-block .ta-right{
    text-align: right !important;
}

@media (max-width: 991px) {

     .single-bull.is-dairy .genealogy-and-performance {
        gap: 0;
    }

    .single-bull.is-dairy .bull-basic-data {
        justify-content: center;
    }

    .single-bull.is-dairy .left-col{
        width: 100%;
    }

    .single-bull.is-dairy .right-col{
        width: 100%;
    }

}

@media (max-width: 828px) {

    .is-dairy .performance-tables section{
        width: 100%;
    }

    .is-dairy .bull_details_col_two {
        gap: 16px;
    }

}

@media (max-width: 767px) {

    .is-dairy .two-col {
        flex-direction: column;
    }

    .is-dairy .table-section{
        max-width: 100%;
        overflow-x: scroll;
    }

    .is-dairy .table-section {
        width: 100%;
        max-width: 100%;
        overflow-x: scroll;
    }

    .is-dairy .fertility-management-wrapper{
        width: 100%;
    }

    .is-dairy .genealogy-and-performance{
        gap: 0;
    }

}


/* Page Default */
#default_page_template{
    padding-bottom: 60px;
}

#default_page_template h1{
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: -0.96px;
}

#default_page_template h2{
    color: var(--Primary-Dark-Green, #072C20);
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -0.96px;
}

#default_page_template p{
    font-family: "area-normal", sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
}