@font-face {
    font-display: swap;
    font-family: "Roboto-Condensed-Bold";
    src: url("/Portals/_default/Skins/Bia/fonts/roboto-condensedbold.woff2");
}

@font-face {
    font-display: swap;
    font-family: "Roboto-Condensed";
    src: url("/Portals/_default/Skins/Bia/fonts/roboto-condensed.woff2");
}

.fixedHeader.fixed {
    height: auto;
    position: relative !important;
}

.fixed .spd-layout-menuwrapinner {
    padding: 0% !important;
}

.Header2 .fixed .spd-layout-menu {
    padding-top: 2.5% !important;
}

.mega-menu {
    position: relative;
}

@media screen and (max-width: 767px) {

    .mega-menu {
        margin-top: -10px;
        min-width: 0;
    }
}

.mega-menu .top-level {
    position: relative;
}

.mega-menu .top-level li {
    list-style-type: none;
    position: relative;
}

.mega-menu .top-level>li {
    float: left;
    margin: 0 20px 0 10px;
}

.mega-menu .top-level>li a {
    color: #333;
    display: block;
    font-family: 'open sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-right: 3px;
    padding: 45px 0 45px;
    text-transform: uppercase;
}

.mega-menu .top-level>span,
i {
    padding: 45px 0 45px;
}

.mega-menu .top-level>li a:hover,
.mega-menu .top-level>li.selected a {
    color: #8B0000;
}

.mega-menu .top-level>li:hover .drop-down {
    border-top: 5px solid #8B0000;
    max-height: 1000px;
    transition: border .1s ease 0s, max-height .5s ease .1s;
}

.mega-menu .drop-down {
    background: white;
    border-top: 0px solid #8B0000;
    left: 0;
    max-height: 0;
    overflow: hidden;
    top: 100%;
    transition: border .1s ease .5s, max-height .5s ease 0s;
    white-space: nowrap;
}

.mega-menu .drop-down.mega-dropdown {
    left: auto;
    white-space: normal;
    width: 1140px;
}

.mega-menu a[title*="Products"]~.drop-down.mega-dropdown {
    right: -606px;
}

.mega-menu a[title*="Industry"]~.drop-down.mega-dropdown {
    right: -496px;
}

.mega-menu .drop-down li {
    border-bottom: 1px solid #ddd;
}

.mega-menu .drop-down li:last-of-type {
    border-bottom: 0;
}

.mega-menu .drop-down.mega-dropdown li {
    border: 0;
    display: inline-block;
    margin: 15px 10px;
    vertical-align: top;
    width: 170px;
}

.mega-menu .drop-down li a {
    line-height: 40px;
    margin: 0;
    padding: 0 10px;
}

.mega-menu .drop-down.mega-dropdown li a {
    border: 1px solid #c9c7c8;
    font-size: 14px;
    line-height: 16px;
    padding: 10px 10px 54px 10px;
    position: relative;
}

.mega-menu .drop-down.mega-dropdown li a::after {
    background: rgba(0, 0, 0, .4);
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity .3s ease 0s;
    width: 100%;
}

.mega-menu .drop-down.mega-dropdown li:hover a::after {
    opacity: 1;
}

.mega-menu .drop-down.mega-dropdown li a img {
    max-height: 143px;
    width: 100%;
}

.mega-menu .drop-down.mega-dropdown li a>span {
    bottom: 12px;
    color: black;
    display: block;
    height: 35px;
    left: 10px;
    padding: 5px 0 0;
    position: absolute;
    text-align: center;
    transition: color .3s ease 0s;
    width: 147px;
    z-index: 1;
}

.mega-menu .drop-down.mega-dropdown li:hover a>span {
    color: white;
}

.mega-menu .drop-down.mega-dropdown li a>span span {
    display: none;
}

.mega-menu .fly-out {
    left: 100%;
    top: 0;
}

.mega-menu .drop-down,
.mega-menu .fly-out {
    margin: 0;
    position: absolute;
    z-index: 10;
}

.mega-menu .fly-out {
    display: none;
}

#btnOffCanMenu {
    background-color: #8b0000;
    color: #fff;
    float: right;
    height: 34px;
    margin: 0 20px;
    max-width: none;
    padding: 8px 15px 7px 34px;
    transition: background .3s ease 0s;
}

@media screen and (max-width: 767px) {

    #btnOffCanMenu {
        margin: 0 auto;
        width: 100px;
        float: none;
    }
}

#btnOffCanMenu img {
    left: 15px;
    top: calc(50% - 7px);
}

#btnOffCanMenu img:hover {
    opacity: .8;
}

#ocmMenuWrapper ul .ocmSubMenu {
    border-bottom: 0;
    height: 26px;
    margin: 0;
    width: 30px;
}

#ocmMenuWrapper ul li {
    float: none;
    margin: 0;
}

#ocmMenuWrapper ul li.btnOCMBack {
    height: 14px;
}

#ocmMenuWrapper ul li a {
    border-bottom: 0;
    margin: 0;
    padding: 0;
}

#ocmMenuWrapper ul li img {
    display: none;
}

#ocmMenuWrapper ul li span {
    background: transparent;
    bottom: initial;
    height: auto;
    left: initial;
    position: relative;
    text-align: left;
    width: 100%;
}

#ocmMenuWrapper ul li span span {
    display: none;
}

#ocmMenuWrapper ul ul {
    border: 0;
    right: initial;
}

/* Hompage-Redesign Header */
.fa.fa-search {
    cursor: pointer;
    padding-left: 10px;
    transition: color .3s;
}

.fa.fa-search:hover,
.fa.fa-search.active {
    color: black;
}

.spd-layout-topbarwrapper {
    background: #a5a5a5 !important;
    border: none !important;
    padding: 10px 0;
    pointer-events: none;
}

.Topbar_SocialIcon_panel {
    border: none;
    background: white;
    width: 100%;
    border-radius: 5px;
}

.spd-row.spd-layout-topbar {
    max-width: 900px;
}

.spd-topbar-search {
    width: 100% !important;

}

.searchInputContainer {
    width: 100%;
}

.SearchBorder {
    width: calc(100% - 30px) !important;
}

.spd-topbar-search input.SearchTextBox {
    width: calc(100% - 30px) !important;
    height: 50px !important;
    ;
}

.spd-layout-topbarwrapper {
    top: 118px;
    position: absolute;
    transition: opacity .3s !important;
    width: 100%;
    z-index: 1;
    opacity: 0;
}

.spd-layout-topbarwrapper.active {
    position: absolute;
    opacity: 1;
}

.spd-topbar-search div.SearchContainer a {
    height: 50px !important;
    background-position-y: center;
}

.Header2 .spd-layout-logo>a>img {
    width: clamp(320px, 35vw, 621px);
    min-width: 320px;
}

.spd-layout-headerwrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mega-menu .top-level>li>a {
    color: #191717;
    font: 400 clamp(16px, 1.2vw, 22px)/29px "Roboto-Bold";
    transition: color .3s;
    text-transform: capitalize;
}

@media (max-width: 1660px) {
    .Header2 .spd-layout-menu .SpeedyDropDown {
        float: unset;
    }
}

.mega-menu .top-level>li {
    margin: 0;
    padding: 0 12px;
}

.spd-layout-headerwrapper .spd-layout-menuwrapouter,
.Header2 .spd-layout-logowrapouter {
    width: unset;
}

.mega-menu .top-level>span,
i {
    font-size: clamp(17px, 1.2vw, 22px);
}

.mega-menu .top-level>span {
    font-size: 26px;
    color: #454545;
}

.mega-menu .top-level>span,
i {
    padding: 0;
    padding-inline: 5px;
}

.mega-menu .top-level>i::before {
    font-size: 22px;
    font-weight: 400
}

.spd-row::before,
.spd-row::after {
    content: none;
}

.spd-layout-headerwrapper .spd-layout-menuwrapouter {
    width: 59%;
}

@media screen and (max-width: 990px) {
    .Header2 {
        padding-bottom: 0px;
    }
}

/* Homepage Redesign OffCan */
#btnOffCanMenu {
    font-size: 0;
    width: 30px;
    background-image: url("/Portals/_default/Skins/Bia/images/ocm-close.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    margin-top: 5px
}

#btnOffCanMenu::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url("/portals/_default/Skins/Bia/images/ocm-open.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity .3s;
}

#btnOffCanMenu:hover::after {
    opacity: 1;
}


#btnOffCanMenu img {
    display: none;
}

@media (max-width: 1169px) {
    .fa.fa-search.search-mobile {
        display: block;
    }

    .spd-layout-headerwrapper .spd-layout-menuwrapouter {
        width: 57%;
    }

    .Header2 .spd-layout-logo>a>img {
        height: 73px;
        min-width: 156px;
        width: 156px;
        object-fit: cover;
        object-position: left;
    }
}

#btnOffCanMenu {
    margin: unset !important;
    ;
    left: calc(100% - 50px) !important;
    float: unset;
}

@media (max-width: 1169px) and (min-width: 931px) {
    .spd-layout-headerwrapper .spd-layout-menuwrapouter {
        width: 78%;
    }
}

@media (max-width: 930px) and (min-width: 768px) {
    .spd-layout-headerwrapper .spd-layout-menuwrapouter {
        width: 72%;
    }
}

@media (max-width: 1169px) {
    #btnOffCanMenu {
        margin-top: -3px !important;
    }

    .spd-layout-topbarwrapper {
        top: 73px;
    }

    .Topbar_SocialIcon_panel {
        margin: 0;
    }
}

@media (max-width: 769px) {
    #btnOffCanMenu {
        margin-top: 7px !important;
    }
}

.spd-topbar-search div.SearchContainer a {
    all: unset;
    float: unset;
    right: 0 !important;
    position: absolute;
    width: 57px;
    background: rgb(51, 51, 51);
    margin: 0;
    height: 54px !important;
    border-radius: 0px 5px 5px 0px;
    transition: background .3s;
    font-size: 0;
    cursor: pointer;
}

.spd-topbar-search div.SearchContainer a.SearchButton:hover {
    background: rgb(139, 0, 0);
}

.spd-topbar-search div.SearchContainer a:not(a.SearchButton) {
    pointer-events: none;
}

.spd-topbar-search div.SearchContainer a.SearchButton::after {
    content: "\f061";
    font: 400 30px/30px "FontAwesome";
    color: white;
    top: 11px;
    left: 30%;
    position: absolute;
}

.spd-header div.SearchBorder input,
.spd-header div.SearchBorder input:focus {
    color: rgb(51, 51, 51);
}

.spd-row.spd-layout-topbar {
    padding: 0 10px;
}

/*Adding homepage custom styles to keep CSS in an FM file*/

.home .grey-background {
    background-color: #F3F1F1;
    border-bottom: 3px solid #f3f1f1;
}

.home .grey-background~.grey-background {
    border-top: 3px solid #f3f1f1;
}

.home .container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 1638px;
    padding-left: calc(var(--bs-gutter-x)* .5);
    padding-right: calc(var(--bs-gutter-x)* .5);
    width: 90%;
}

.home-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.home h2 {
    font: 400 clamp(24px, 3vw, 52px) / clamp(30px, 3.5vw, 62px) 'Roboto-Medium';
    margin-bottom: clamp(15px, 2.5vw, 40px);
    position: relative;
    text-transform: capitalize;
}

.home h3 {
    font: 400 clamp(24px, 3vw, 46px) / clamp(30px, 3.5vw, 56px) 'Roboto-Medium';
    margin-bottom: clamp(15px, 2.5vw, 40px);
    position: relative;
    text-transform: capitalize;
}

.home h2::after,
.home h3::after {
    background: #8B0000;
    bottom: -16px;
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    width: 100%;
}

h2.full-line::after {
    bottom: 44%;
    left: unset;
    right: 0;
    width: 75%;
}

@media screen and (min-width:577px) and (max-width:767px) {
    h2.full-line::after {
        width: 65%;
    }
}

@media screen and (max-width:576px) {
    h2.full-line::after {
        width: 55%;
    }
}

.home p,
.home li,
.home a {
    font-family: 'Roboto-Regular';
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: clamp(24px, 2vw, 32px);
}

.home .btn-primary,
.home .btn-primary:visited {
    background-color: #0071E3;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #0071E3;
    color: #fff;
    font-size: 20px;
    margin-top: clamp(15px, 1.5vw, 25px);
    padding: 15px 25px;
    text-transform: uppercase;
    transition: background-color .3s, color .3s;
    width: 274px;
}

.home .btn-primary:hover,
.home .btn-primary:focus {
    background-color: #fff;
    background-image: none;
    color: #0071E3;
}

.home .btn-default,
.home .btn-default:visited {
    background-color: #fff;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #000;
    box-shadow: none;
    color: #000;
    font-size: 20px;
    margin-top: clamp(15px, 1.5vw, 25px);
    padding: 15px 25px;
    text-transform: uppercase;
    transition: background-color .3s, color .3s, border-color .3s;
    width: 274px;
}

.home .btn-default:hover,
.home .btn-default:focus {
    background-color: #0071E3;
    border-color: #0071E3;
    background-image: none;
    color: #fff;
}

.home .image-right,
.home .image-left {
    align-items: center;
    display: flex;
    padding: clamp(25px, 5.5vw, 100px) 0px;
}

@media screen and (max-width:991px) {
    .home .image-right {
        flex-direction: column-reverse;
    }

    .home .image-left {
        flex-direction: column;
    }
}

.home {
    background-color: #FBFBFB;
    padding-bottom: clamp(25px, 5.5vw, 100px);
}

.home .card {
    background-color: white;
    border: 1px solid #F3F1F1;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 384px;
    padding-bottom: 10px;
    width: 100%;
}

.home .card>*:not(img) {
    padding-inline: 25px;
}

.home .card img {
    object-fit: cover;
    width: 100%;
}

.home .card h3 {
    font: 400 clamp(18px, 2vw, 26px) / clamp(24px, 2.5vw, 34px) 'Roboto-Medium';
    margin-bottom: 20px;
    text-transform: capitalize;
}

.home .card h3::after {
    content: none;
}

.home .card .btn-read-more {
    color: #A3001C;
    font-size: clamp(18px, 1.5vw, 22px);
    transition: color .3s ease 0s;
}

.home .card .btn-read-more:hover,
.home .card .btn-read-more:focus {
    color: black;
}

.home .card .btn-read-more::after {
    content: '\f054';
    font-family: 'FontAwesome';
    font-weight: 400;
    padding-left: 15px;
    font-size: clamp(16px, 1.5vw, 18px);
}

.home #SliderBg.video-wrapper {
    margin-bottom: 0px;
}

@media (min-width: 1440px) {
    .fm-xl-6 {
        width: 50%;
    }

    .fm-xl-7 {
        width: 58.3%;
    }

    .fm-xl-5 {
        width: 41.6%;
    }
}

@media (max-width: 1439px) {
    .slide-right {
        display: none;
    }
}

.slide-right {
    padding: 0;
}

.slick-slide img {
    max-height: 60vh;
}

.fm-slide-img-box {
    max-height: 60vh;
}

.fm-slide-img-box {
    display: block;
    margin: 0 auto;
    position: relative;
    max-width: 100%;
}

.fm-slide-img {
    height: 100%;
    object-fit: contain;
    position: absolute;
    width: 100%;
}

.fm-ratio-box {
    height: 0;
    padding-bottom: 85%;
    position: relative;
    width: 100%;
}

.fm-slide-text .h2 {
    color: #0071E3;
    font: 60px / 69px "Roboto-Bold";
}

.fm-slide-text .h3 {
    color: #0071E3;
    font: 28px / 36px "Roboto-Bold";
}

.personabar-visible .home {
    max-width: calc(100% - 80px);
}

.fm-slide-boxes {
    background: #f3f1f1;
    display: flex;
    flex-wrap: wrap;
    height: calc(100vh - 119px);
    position: relative;
}

.fm-slide-box {
    border-bottom: 2px solid #fff;
    border-left: 4px solid #fff;
    height: 25%;
    min-height: 209px;
    overflow: hidden;
    position: relative;
    width: calc(50% - 2px);
    display: flex;
    justify-content: center;
}

.fm-slide-box:nth-child(even) {
    border-left: 20px solid #fff;
}

.fm-slide-box:hover .fm-slide-text-sm .h4 {
    color: #0071E3;
}

.fm-slide-text-sm .h4 {
    transition: color .3s;
}

.fm-slide-text-sm {
    background: rgba(255, 255, 255, 0.85);
    color: #000;
    display: block;
    height: 100%;
    justify-content: center;
    margin-top: -45px;
    padding: 0 8px;
    position: absolute;
    top: 100%;
    transition: height 0.2s, top 0.2s, margin 0.2s;
    width: 100%;
    z-index: 2;
}

.fm-slide-text-sm::before {
    bottom: 100%;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 2;
}

.fm-slide-text-sm:visited {
    color: #000;
}

.fm-slide-text-sm .fa {
    padding: 0;
}

.fm-slide-text-sm .h4 {
    display: block;
    font: 32px / 40px "Roboto-Condensed-Bold";
    margin: 0 0 5px;
    transition: margin 0.3s, color .3s;
    width: 100%;
    color: black;
}

.fm-slide-text-sm .h5 {
    display: block;
    font: 22px / 30px "Roboto-Condensed";
    margin: 0 0 10px;
    width: 100%;
}

.fm-slide-text-sm .h6 {
    display: block;
    font: 22px / 26px "Roboto-Regular";
    margin: 0;
    width: 100%;
}

@media (max-width: 1800px) {

    .fm-slide-text-sm .h4,
    .fm-slide-text-sm .h5,
    .fm-slide-text-sm .h6 {
        font-size: 20px;
    }
}

.fm-slide-box:hover .fm-slide-text-sm {
    color: #000;
}

.fm-slide-box .fm-toolbar-wrap {
    position: relative;
    z-index: 3;
}

.fm-slide-box img {
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.fm-slide-box:hover img {
    opacity: 0.85;
}

#SliderBg div#playBar {
    display: none;
}

ul.slick-dots {
    line-height: 0;
    right: 15px;
    text-align: right;
}

ul.slick-dots li {
    height: 15px;
    margin: 0 3px;
    width: 15px;
}

ul.slick-dots li button {
    background: rgb(51, 51, 51);
    border-radius: 50%;
    height: 15px;
    transition: background-color 0.2s;
    width: 15px;
}

ul.slick-dots li:hover button,
ul.slick-dots li.slick-active button {
    background: rgba(139, 0, 0, 1);
}

.fm-slide-btn:visited {
    color: #fff;
}

.fm-slide-text {
    padding-left: 50px;
    position: relative;
}

@media (max-width: 1439px) {
    .fm-slide-text {
        margin: 0 auto;
        max-width: 650px;
        padding: 0 10px;
        width: 100%;
    }

    ul.slick-dots {
        max-width: 650px;
        position: relative;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .fm-slide-text .h2 {
        font: 36px / 42px "Roboto-Bold";
        margin-top: 0;
    }

    .fm-slide-text .h3 {
        font: 17px / 23px "Roboto-Regular";
    }

    ul.slick-dots {
        margin-top: 0;
        padding: 0 20px;
        text-align: left;
    }
}

.slide-left.slick-dotted.slick-slider {
    margin-bottom: 50px;
}

@media(max-width: 1169px) and (min-width: 600px) {
    #btnOffCanMenu::before {
        display: block !important;
        content: "Menu";
        position: absolute;
        left: -65px;
        bottom: 3px;
        color: #191717;
        font: 400 22px/29px "Roboto-Bold";
    }
}

header img {
    transition: opacity .3s;
}

header img:hover {
    opacity: .8;
}

header.Header2 {
    box-shadow: 0px 3px 6px #00000029;
}

.spd-layout-topbarwrapper.active {
    z-index: 9;
    pointer-events: all;
}

@media (max-width:1169px) {
    .mega-menu .top-level {
        display: none;
    }
}

#spd-breadcrumb1>div.spd-row>.breadcrumbTitle,
#spd-breadcrumb1>div.spd-row>.breadcrumbText {
    float: none !important;
    margin-top: unset;
}