/* general */
:root {
    --bs-border-radius: 5px;
    --bg-primary: #1A243F;
    --bs-primary-rgb: 26, 36, 63;
    --bs-secondary: rgb(23, 31, 54);
    --bs-secondary-rgb: 23, 31, 54;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    line-height: 1.65;
}

p {
    font-size: 1em;
}


/* general */
.team-card {
    position: relative;
    overflow: hidden;
}

.team-card img {
    border-radius: 4px;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-position: 0px 0px;
    object-position: 50% 0%;
    background-size: 200%;
    object-view-box: inset(0% 9% 0% 9%);
}

.team-card-contact-btn {
    opacity: 1;
    transition: .5s;

    position: absolute;
    top: 0;
    right: 10px;
    background: #101727;
    padding: 0px;
    border-radius: 0 0 30px 30px;
    padding-top: 35px;
    padding-bottom: 10px;
    display: flex;
    gap: 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
}

.team-card-contact-btn h5 {
    display: inline-block;
    transform: rotate(-90deg);
    font-size: 15px;
    color: #fff;
    font-weight: 400;
    margin-bottom: 25px;
}

.team-card-contact-btn i {
    display: block;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    background: #fff;
    border-radius: 50%;
    color: #000116;
    font-size: 14px;
}

.team-card-socialmedia {
    opacity: 0;
    transition: .5s;

    position: absolute;
    top: -15%;
    right: 10px;
    background: #101727;
    padding: 0px;
    border-radius: 0 0 30px 30px;
    padding-top: 0px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
}

.team-card:hover .team-card-contact-btn {
    opacity: 0;
    top: -15%;
}

.team-card:hover .team-card-socialmedia {
    opacity: 1;
    top: 0;
}

.team-card-socialmedia a {
    text-decoration: none;
}

.team-card-socialmedia ul {
    padding: 0;
    margin: 0;
}

.team-card-socialmedia ul li {
    list-style: none;
    margin-top: 10px;
}

.team-card-socialmedia ul li a i {
    display: block;
    background: #fff;
    height: 35px;
    width: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    color: #101727;
}

.bit-bg-0 {
    background: #FFF;
}

.bit-bg-1 {
    background-color: #eae9e9;
}

.bit-bg-2 {
    background-color: #a4a4a4;
}

.bit-bg-3 {
    background-color: rgb(26, 36, 63);
}

.service-card-2:hover {
    background: #171f36;
    color: #FFF;
}

.btn i {
    margin-right: 10px;
}

img.img-white {
    filter: brightness(0) invert(1) !important;
}

img.img-black {
    filter: brightness(0) invert(0) !important;
}

/* Header */

.topheader {
    background: #FFF;
}

.topheader .container {
    color: #000;
}

.topheader .container ul {
    margin-bottom: 0px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-left: 0px;
}

.topheader .container ul li {
    display: inline;
    font-size: 14px;
    letter-spacing: 1.1px;
    margin: 0px;
}

.topheader .container ul li:nth-child(2) {
    flex: 1;
}

.topheader .container ul li i {
    margin-right: 2px;
    font-size: 12px;
}

.topheader .container ul li a {
    color: #000000;
    text-decoration: none;


    padding: 7px 20px;
}

.topheader .container ul li.langselect a {
    color: #000000;
    text-decoration: none;


    padding: 7px 10px;
}


.topheader .container ul li:not(.langselect) a:hover {
    background-color: #171f36;
    color: #FFF;
}

.topheader .container ul li .divider {
    display: inline;

    border-left: 1px solid #000000;
}

.topheader .container ul li .divider:last-child {
    display: none;
}

.topheader .container ul li a.active {
    text-decoration: underline;
    text-underline-offset: 2px;
}


.navbar-brand img {
    filter: brightness(0) invert(1);
}

.site-header .navbar .navbar-nav .dropdown .dropdown-menu {
    z-index: 1060;
}



.site-header .navbar .navbar-nav .dropdown>.nav-link:after {
    content: "\f078";
    font-family: "Font Awesome 6 Pro";
    font-size: 12px;
    padding-top: 0px;
}

.site-header .navbar .navbar-nav .nav-item a {
    text-decoration: none;
}
.site-header .navbar .navbar-nav .nav-item a.active {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 10px;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border: 0px;
}



.dropdown-item.active, .dropdown-item:active{
    color: #FFF!important;
    text-decoration: none;
    background-color: var(--bs-dropdown-link-active-bg);
}

.breadcrumb-large,
.breadcrumb {
    background-image: url('https://2bcs.ch/themes/2bcs-ag/assets/theme/img/png/breadcrumb-bg-image.png');
}

.breadcrumb-image-bit {
    padding-top: 20px;
    padding-bottom: 40px;
}

.breadcrumb-image-bit img {
    width: 100%;
    border-radius: 10px;

    aspect-ratio: 6 / 2;
    object-fit: cover;
    background-position: 0px 0px;
    object-position: 50% 0%;
    background-size: 160%;
    object-view-box: inset(0% 5% 5% 5%);
}

.cpage-2bcs .breadcrumb-image-bit img {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 6 / 2;
    object-fit: cover;
    background-position: 0px 0px;
    object-position: 50% 50%;
    background-size: 200%;
    object-view-box: inset(0% 20% 20% 15%);
}


.breadcrumb-large .breadcrumb-image img {
    border-radius: 10px;
    border-bottom-right-radius: 180px;

    border-radius: 0px;
}

.breadcrumb-large:before {
    height: 0px;
}

.breadcrumb ul li:not(.breadcrumb ul li:first-child)::before {
    font-family: "Font Awesome 6 Pro";
    content: "\f054";
    font-size: 18px;
    padding-left: 10px;
    padding-right: 10px;
}

.lead {
    font-size: 1.15rem;
    font-weight: 300;
}

.subnav {
    background-color: #007bb7;
    width: 100%;
    position: sticky;
    top: -1px;
    z-index: 1050;
}

.subnav ul {
    display: flex;
    justify-content: center;

    margin-bottom: 0px;
    width: 100%;

    padding-left: 0px;
}

.subnav ul li {
    list-style-type: none;
    width: 100%;
}

.subnav ul li a {
    color: #FFF;
    text-decoration: none;
    padding: 15px 10px;
    width: 100%;
    text-align: center;
}

.subnav ul li a:hover,
.subnav .nav-link.active {
    text-decoration: none;
    color: #FFF;
    background-color: #171f36;

    font-weight: bold;
}



.case-study-section-2 {
    background-color: unset;
    font-family: unset;
    padding-bottom: unset;
    padding-top: unset;
}

.portfolio-card .card-body {
    background: rgba(0, 0, 0, 0.8);
}


.case-card-2 {
    width: 100%;
    display: block;
}

.case-card-2 .card-image {
    width: 100%;
    position: relative;
    max-width: 100%;
}

.case-card-2 .card-image img {
    border-radius: 5px 5px 0px 0px;
}

.case-card-2 .card-body {
    width: 100%;
    transition: 0.4s;
    background: #1a243f;
    padding: 20px;
    max-width: 100%;
    border-radius: 0px 0px 5px 5px;
    height: 100%;
}

.case-card-2 .card-body .card-btn {
    margin-top: 0px;
}


.alert {
    --bs-alert-padding-x: 1.5rem;
    --bs-alert-padding-y: 1.5rem;
}

.modal {
    --bs-modal-header-padding: 1.5rem 1.5rem;
    --bs-modal-padding: 1.5rem;
    --bs-modal-width: 700px;
}

.form-control {
    min-height: 50px;
    max-height: 50px;
}

.slider-pagination {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}


.portfolio-card {
    background: #FFF;
    border-radius: 4px;

}

/* Footer */

.footer-inner {
    padding-bottom: 0px;
}

.footer-brand-block,
.footer-latest-news {
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 250px;
}

.footer-brand img {
    filter: brightness(0) invert(1);
}

.copyright-block a {
    text-decoration: none;
}


.hide-on-desktop {
    display: none;
}

@media (min-width: 1400px) {
    .site-header .navbar .navbar-nav .nav-item {
        padding-left: 15px;
        padding-right: 15px;
    }
}


@media (min-width: 1200px) {
    .heading--xl {
        font-size: 58px;
    }

    .breadcrumb-large {
        padding-top: 50px;
    }

    .breadcrumb-large .breadcrumb-image {
        margin-top: 54px;
    }

}

@media (max-width: 991px) {

    .container {
        max-width: calc(100% - 40px);
        padding-left: 0px;
        padding-right: 0px;
    }

    .navbar-collapse {
        z-index: 1100;
        width: calc(100% + 50px);
        left: -25px;
    }

    .navbar-collapse .collapse-inner {
        max-height: 100%;
    }

    .site-header .navbar .navbar-nav .nav-item .nav-link {
        padding: 15px;
    }

    .hero-area-2__widget-box {
        display: none;
    }


    .hide-on-desktop {
        display: unset;
    }

    .hide-on-mobile {
        display: none!important;
    }


    .cpage-2bcs .breadcrumb-image-bit img {
        aspect-ratio: 6 / 4;
        object-view-box: inset(17% 20% 18% 15%);
    
    }
}

@media (max-width: 700px) {

    .subnav {
        overflow-x: scroll;
    }


    .subnav ul {
        justify-content: flex-start;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .subnav ul li {
        width: auto;
    }

    .subnav ul li a {
        padding: 10px 25px;
        text-wrap: nowrap;
        font-size: 14px;
    }

      
    .topheader .container ul li:nth-child(1),
    .topheader .container ul li:nth-child(2) {
        display: none;
    }

}

@media (max-width: 575px) {
    .topheader .container ul li:nth-child(1) {
        flex: 1;
    }
  


}

@media (min-width: 576px) {
    .btn.btn-sm {
        font-size: 0.875rem;
        padding: 0.5rem, 0.25rem;
    }
}