/* Header */
body.prevent-scrolling {
    overflow: hidden;
    min-height: 0;
}

.before-header {
    background-color: var(--color-lightgrey);
    border-bottom: 1px solid var(--color-shadegrey);
    display: flex;
    justify-content: right;
    width: 100%;
}

.before-header a {
    width: auto;
    font-size: 15px;
    padding: 4px 10px 4px 10px;
    height: 32px;
    line-height: 24px;
    min-height: 0;
    padding-right: 10px;
    color: var(--color-white);
    transition: .2s all;
}

.before-header a span {
    font-size: 16px;
}

.before-header a:first-of-type {
    background-color: var(--color-primary-900);
    border: 1px solid var(--color-primary-900);
}

.before-header a:first-of-type:hover {
    color: var(--color-primary-900);
    background-color: var(--color-white);
}

.before-header a:nth-child(2) {
    background-color: var(--color-toned-red);
    border: 1px solid var(--color-toned-red);
}

.before-header a:nth-child(2):hover {
    color: var(--color-toned-red);
    background-color: var(--color-white);
}

.before-header a:nth-child(3) {
    color: var(--color-toned-red);
	background-color: #fff;
    border: 1px solid var(--color-toned-red);
}

.before-header a:nth-child(3):hover {
    background-color: transparent;
	border: 1px solid var(--color-white);
}

.before-header a:nth-child(4) {
    color: var(--color-textgrey);
    padding-left: 14px;
    border: 1px solid var(--color-hover-lightgrey);
}

.before-header a:nth-child(4):hover {
    color: var(--color-red);
    background-color: var(--color-hover-lightgrey);
}

.main-header-section {
    background: white;
    border-bottom: 1px solid var(--color-lightgrey);
    padding: 0px;
    float: left;
    width: 100%;
    top: 0px;
}

.before-header i {
    padding: 0 8px;
}

.main-header {
    float: left;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 5px;
}

.main-menu-show {
    width: 100%;
    float: left;
}

.site-branding a:nth-child(1) {
    margin-right: 20px;
}

.site-branding {
    display: flex;
}

.site-branding img {
    max-width: 150px;
    width: 100%;
    border: 5px solid white;
    transition: .3s all;
}
.main-header-section.affix .site-branding img {
    max-height: 70px;
}
.main-header-section.affix ul#menu-main-menu .menu-item a{
    height: 61px;
}
.site-header {
    position: relative;
    z-index: 9999;
    width: 100%;
}

.header-content {
    float: left;
    width: 100%;
  background-color: white;
  top: 0;
}

#site-navigation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 35px 0 auto;
    background-color: var(--main-head-bg);
    border: unset;
}

#digital-b-collapse-menu {
    padding: 0;
}

.menu-custom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-custom>li:not(:first-child) {
    margin-left: 31px;
}

.menu-custom .menu-item a {
    color: var(--main-head-color);
    font-size: 17.1px;
    font-weight: 400;
    padding: 20px 0;
}

.menu-custom li.menu-item-has-children a {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.main-menu-show.menu-custom ul li:first-of-type{
    align-items: start;
    border-bottom: none;
}
.menu-custom .menu-item a:hover {
    color: #222;
}

/* .menu-custom li.menu-item-has-children > .sub-menu  {
    visibility: visible;
    opacity: 1;
  }   */
.menu-item-has-children .sub-menu {
    position: absolute;
    top: 50px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background-color: var(--main-head-submenu-bg);
    border: #ececec solid 1px;
    -webkit-box-shadow: 8px 12px 43px #00000016;
    box-shadow: 8px 12px 43px #00000016;
    list-style: unset;
    padding: 20px 0;
    z-index: 999;
}

.menu-custom .menu-item-has-children .sub-menu a {
    display: block;
    padding: 0 20px;
    margin-bottom: 10px;
}
.main-menu-show.menu-custom ul li:first-of-type:not(.menu-make-regular):not(.no-arrow) a{
	color: var(--color-black);
    width: 100%;
    display: inline-block;
    line-height: 45px;
    font-weight: 600;
}
.menu-custom .menu-item-has-children .sub-menu li:last-of-type a {
    margin-bottom: 0;
}

.prevent-scrolling .main-menu-show.menu-custom {
    position: absolute;
    top: 133px;
    background-color: var(--color-shadegrey);
    padding: 1rem 0;
}

.prevent-scrolling .main-header-section.affix .main-menu-show.menu-custom {
    top: 93px;
}

.left-menus ul {
    padding-left: 0;
    list-style: none;
	overflow-y: auto;
    max-height: calc(100vh - 170px);
    height: 100%;
}

.left-menus {
    max-width: 320px;
}

.close-main-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
    z-index: 99;
}

.main-menu-show.menu-custom li {
    width: 100%;
    position: relative;
    min-height: 35px;
    line-height: 35px;
    padding: 10px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.main-menu-show.menu-custom .left-menus li:not(:last-child) {
    border-bottom: 1px solid var(--color-white)
}

.main-menu-show.menu-custom li:hover {
    color: var(--color-red);
    cursor: pointer;
    background-color: var(--color-hover-lightgrey)
}

.main-menu-show.menu-custom .menu-item a {
    padding: 0px;
    width: 100%;
}
.prevent-scrolling .left-menus {
    margin-left: 2vw;
}

@media screen and (min-width:1200px) {
    .prevent-scrolling .left-menus {
        margin-left: 3vw;
    }
	
}

@media screen and (min-width:1440px) {
    .prevent-scrolling .left-menus {
        margin-left: 5vw;
    }
}

@media screen and (min-width:1600px) {
    .prevent-scrolling .left-menus {
        margin-left: 7vw;
    }
}

@media screen and (min-width:1920px) {
    .prevent-scrolling .left-menus {
        margin-left: 160px;
    }
}

@media screen and (min-width: 992px) {
    .sticky-info {
        display: none;
    }
    .main-header-section {
        top: 0px;
    }
	.left-menus .menu-item-has-children .sub-menu{
		display: none;
	}
	.inner-right-menu {
		max-height: calc(80vh - 100px);
		overflow-y: scroll;
		width: 100%;
	}
	.main-menu-show.menu-custom ul li:first-of-type {
		grid-column: span 2;
		width: 100%;
	}
	.inner-right-menu ul {
    	display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: repeat(10, min-content);
		grid-auto-flow: column;
		max-width: 780px;
	}
    .menu-custom .menu-item-has-children>a:after, .main-menu-show.menu-custom ul li:first-of-type:not(.no-arrow) a:after   {
        content: '\f105';
        font-family: 'FontAwesome';
        font-weight: normal;
        margin-right: 8px;
        margin-left: 10px;
        font-size: 20px;
    }
    .prevent-scrolling .left-menus {
        background: white;
        width: 100%;
        background-color: var(--color-shadegrey);
    }

    .menu-main-menu-container,
    .main-menu {
        width: 100%;
    }

    .menu-item-has-children .sub-menu .sub-menu {
        top: 50px;
        left: 90%;
    }

    ul#menu-main-menu {
        padding-right: 222px;
        margin-left: 10px;
    }

    ul#menu-main-menu li {
        flex: 1 1 auto;
    }

    ul#menu-main-menu .menu-item a {
        padding: 10px;
        background: transparent;
        list-style: none;
        float: left;
        text-align: center;
        height: 100px;
        line-height: normal;
        border: none;
        border-bottom: 4px solid transparent;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        float: none;
        -ms-flex-pack: center;
        justify-content: center;
    }

    ul#menu-main-menu .menu-item a:hover,
    ul#menu-main-menu .menu-item a.active {
        cursor: pointer;
        border-bottom: 4px solid var(--color-red);
    }
}

@media screen and (max-width: 992px) {
	.menu-custom li.menu-item-has-children li.menu-item-has-children .sub-menu a {
		font-size: 0.9em;
		padding-left: 40px;
	}
	.menu-custom .menu-item-has-children .sub-menu .sub-menu {
		padding-top: 0;
	}
    li.menu-title-mobile {
        text-align: center;
        text-transform: uppercase;
        color: #222;
        line-height: 56px;
    }
    .site-header {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    #masthead{
        position: absolute;
        top: 0;
        left: 0;
    }
    #masthead.openMenu #site-navigation {
        overflow: scroll;
    }
    header#masthead:before {
        content: '';
        height: 0%;
        display: block;
        background: white;
        width: 100%;
    }

    .site-header.not-fixed {
        position: absolute;
    }
    .site-header li.lang-item {
        text-align: center;
    }

    .menu-custom .menu-item a {
        color: #222;
        padding: 5px 16px;
        border-bottom: 1px solid var(--color-lightgrey);
        line-height: 56px;
        display: flex;  
        align-items: center;
    }

    .menu-custom>li.menu-item.menu-item-contact a {
        font-size: .9em;
    }

    #site-navigation {
        flex-direction: column;
    }

    html .navbar-default .navbar-collapse,
    html .navbar-default .navbar-form {
        border-color: transparent;
    }

    .header-content {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        position: relative;
    }

    .site-branding {
        z-index: 2;
    }

    .navbar-header {
        position: absolute;
        top: 17.5px;
        right: 30px;
    }

    #site-navigation .navbar-header button {
        background-color: unset;
        border: unset;
        border-radius: unset;
        margin: 0;
    }

    #site-navigation .navbar-header button:hover,
    #site-navigation .navbar-header button:focus,
    #site-navigation .navbar-header button:active {
        background-color: unset;
    }

    #site-navigation .navbar-header button:hover .icon-bar,
    #site-navigation .navbar-header button:focus .icon-bar,
    #site-navigation .navbar-header button:active .icon-bar{
        background-color: #fff !important;
    }

    .navbar-header button .icon-bar {
        background-color: var(--color-darkred) !important;
        /* i kno...*/
        width: 30px;
        border-radius: unset;
    }

    .navbar-header button .icon-bar:not(:first-child) {
        margin-top: 6px;
        width: 30px;
    }

    /* .navbar-header button .icon-bar:nth-child(2) {
            width: 20px;
        }
     */
    .navbar-toggle {
        display: block;
    }

    #digital-b-collapse-menu {
        width: 100%;
    }

    .digital-b-navigation .collapse {
        display: none !important;
    }

    .digital-b-navigation .collapse.in {
        display: block !important;
    }

    #site-navigation {
        position: relative;
        margin: 0;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        min-height: unset;
    }

    .openMenu #site-navigation {
        z-index: 9999;
    }

    .menu-custom {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 1px 0 35px 1px;
    }

    .main-menu-show.menu-custom {
        padding: 0;
    }

    .menu-custom>li.menu-item {
        margin: 0 0 5px 0;
        text-transform: uppercase;
        padding: 0px;
    }
    .menu-custom>li.menu-item span {
        margin-right: 7px;
    }

    .menu-custom .menu-chevron {
        position: absolute;
        top: 5px;
        font-size: 35px;
        right: 10px;
        height: 35px;
        width: 35px;
        color: var(--color-red);
    }

    .menu-custom .menu-item-has-children {
        position: relative;
    }

    .menu-custom .menu-item-has-children a:before {
        content: unset;
    }

    .menu-custom .menu-item-has-children .sub-menu {
        display: none;
        visibility: visible;
        opacity: 1;
        -webkit-transition: unset;
        -o-transition: unset;
        transition: unset;
        position: static;
        border: unset;
        -webkit-box-shadow: unset;
        box-shadow: unset;
        background-color: #f4f4f4;
        margin-left: 0px;
    }

    .call-header {
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .call-header a {
        width: auto;
        background: var(--main-head-color);
        border: 1px solid var(--main-head-color);
        color: white;
        padding: 10px 20px;
        display: inline-block;
    }
    .site-branding img {
        max-width: 121px;
    }
    .navbar-header {
        top: 14px;
    }
    .digital-b-footer-copy-right {
        flex-direction: column-reverse;
        text-align: center;
    }
    html .site-footer ul {
        text-align: center;
    }
}

/* Header end */
#masthead {
    transition: 0.8s all;
    top: 0;
    right: 0;
    float: left;
    background: white;
}

#masthead.openMenu .digital-b-navigation .collapse {
    display: block !important;
}
#masthead.openMenu #site-navigation {
    animation-name: openedMenu;
    animation-iteration-count: 1;
    animation-duration: 0.6s;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: white;
    display: block;
    visibility: visible;
    opacity: 1;
}

#masthead.closingMenu #site-navigation {
    animation-name: closedMenu;
    animation-iteration-count: 1;
    animation-duration: 0.6s;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

#masthead.openMenu #digital-close {
    display: block;
    opacity: 1;
    transition: 0.3s all;
    visibility: visible;
}

#masthead.openMenu #digital-b-nav-btn,
#digital-close {
    /* display: none;
    opacity: 0;
    visibility: hidden; */
    transition: 0.4 all;

}

#digital-b-nav-btn {
    animation-name: openedMenu;
    animation-iteration-count: 1;
    animation-duration: 1s;
}

#masthead #digital-close {
    color: var(--main-head-color);
    font-size: 30px;
    position: absolute;
    right: 15px;
    top: 0px;
}

/** FOOTER **/ 

.btn--linkedin .icon:before {
    content: "\f107";
}
.btn--facebook .icon:before {
    content: "\f103";
}
.btn--instagram .icon:before {
    content: "\f106";
}

.btn--linkedin, .btn--linkedin:focus, .btn--linkedin:hover {
    color: var(--color-linkedin);
}

.btn--facebook, .btn--facebook:focus, .btn--facebook:hover {
    color: var(--color-facebook);
}
.btn--instagram, .btn--instagram:focus, .btn--instagram:hover {
    color: var(--color-instagram);
}

.site-footer .footer-socialmedia ul{
    border: none;
}

/* Sticky bar */
.sticky-info {
    float: left;
    position: fixed;
    width: 100%;
    bottom: 200px;
    z-index: 99;
}

.sticky-info-holder {
    right: 5px;
    position: absolute;
	margin-right: 2px;
}

.sticky-info-icon .icon {
    font-size: 23px;
    color: #ffff;
    text-align: center;
    text-transform: uppercase;
    background: var(--color-red);
    height: 50px;
    width: 50px;
    border-radius: 50%;
    padding-top: 12px;
    transition: all .5s ease-in-out;
    margin-bottom: 5px;
}

.sticky-info-holder .icon:hover {
    background: var(--color-darkred);
}



.site-footer{
    float: left;
    width: 100%;
    padding: 2rem 0;
    border-top: 1px solid var(--color-lightgrey);
    background: var(--color-white);
    padding: 2.5vw 0;
    margin: auto;
    max-width: 1600px;
    position: relative;
}
.digital-b-footer-copy-right {
    color: var(--color-textgrey);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.digital-b-footer-copy-right a{
    color: var(--color-primary-900);
}
.site-footer ul{
    border-bottom: 1px solid var(--color-lightgrey);
    text-align: right;
    padding: 0 8px 25px 0;
    margin: 0;
    width: 100%;
}
.site-footer ul li {
    list-style: none;
    margin: 0;
    padding: 8px;
    display: inline-block;
}
.site-footer ul li a {
    color: var(--color-darkgrey);
    font-size: 14px;
    font-weight: unset;
    font-family: var(--font-face), Arial, sans-serif !important;
}
@keyframes openedMenu {
    0% {
        opacity: 0.2;
        width: 0;
    }

    100% {
        opacity: 1;
        width: 100%;
    }
}

@keyframes closedMenu {
    0% {
        opacity: 1;
        width: 100%;
        transform: translateX(0);
    }

    50% {
        transform: translateX(100%);
        opacity: 0;
    }

    95% {
        transform: translateX(100%);
    }

    96% {
        transform: translateX(0);
    }

    99% {
        opacity: 0;
    }

    100% {
        width: 100%;
        opacity: 1;
    }
}

/* Header end */


/** HEADER AFTER **/
.digital-b-before-hero {
    float: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    top: 0;
    background-color: #fff;
    align-items: center;
    font-size: 1.05em;
}

.digital-b-before-hero ul{
    display: flex;
}

.digital-b-before-hero li{
    list-style: none;
}

.digital-b-before-hero #breadcrumbs{
    margin-bottom: 0px;
}

.digital-b-before-hero a{
    color: var(--color-black);
    transition: .3s all;
    font-size: 1.1em;
}

.digital-b-contact-before-hero li:not(:last-of-type) {
    margin-right: 20px;
}

.digital-b-before-hero .breadcrumb_last, .digital-b-before-hero a:hover{
    color: var(--color-red);
    font-size: 1.1em;
}

@media screen and (max-width: 1200px) {
    .digital-b-before-hero {
        flex-direction: column;
        justify-content: space-between;
        gap: 10px;
        background: var(--color-lightgrey);
        padding: 0px;
    }
    .digital-b-contact-before-hero, .digital-b-breadcrumbs-pages{
        width: 100%;
    }
    .digital-b-contact-before-hero{
        background-color: white;
    }
    .digital-b-contact-before-hero ul {
        justify-content: end;
        padding: 10px;
		margin-bottom: 0px;
    }
    .digital-b-before-hero #breadcrumbs {
        padding: 10px 10px 0px;
    }
}   
@media screen and (max-width: 992px) {
    .digital-b-before-hero {
        margin-top: 75px;
    }
    
}