/* Fonts */
@font-face {
    font-family: CenturyGothic;
    src: local(CenturyGothic), url("/BALPM_Webseite/javax.faces.resource/fonts/GOTHIC.TTF.xhtml?ln=balance-layout") format('truetype');
}
@font-face {
    font-family: CenturyGothic-Bold;
    src: local(CenturyGothic-Bold),url("/BALPM_Webseite/javax.faces.resource/fonts/GOTHICB.TTF.xhtml?ln=balance-layout") format('truetype');
    font-weight: bold;
}    
@font-face {    
    font-family: CenturyGothic-Italic;
    src: local(CenturyGothic-Italic), url("/BALPM_Webseite/javax.faces.resource/fonts/GOTHICI.TTF.xhtml?ln=balance-layout") format('truetype');
    font-style: italic;
}   
@font-face {    
    font-family: CenturyGothic-Bold-Italic;
    src: local(CenturyGothic-Bold-Italic), url("/BALPM_Webseite/javax.faces.resource/fonts/GOTHICBI.TTF.xhtml?ln=balance-layout") format('truetype');
    font-weight: bold;
    font-style: italic;
}  

.fontBold {
    font-weight: bold;
}

/* Overriden styles */
.ms-slidebar .ms-slidebar-header {
    min-height: 50px;
    background-color: #ffb300;
    background-image: none;
    position: relative;
}
.ms-lead-navbar.navbar-mode .btn-navbar-menu {
    display: contents !important;
}

.btn-ms-menu {
    margin-right: 15px;
}

.ms-slidebar .ms-slidebar-header .ms-slidebar-title {
    background-color: rgba(0,0,0,.1);
}

.ms-site-title-lg {
    font-size: 50px;
    line-height: 0.8em;
}

.ms-site-title-lg span {
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
    font-family: CenturyGothic;
}

.ms-navbar .navbar-collapse .navbar-nav .nav-item>a, .ms-lead-navbar .navbar-collapse .navbar-nav .nav-item>a {
    padding: 10px !important;
}

/* New styles */
.mt-12 {
    margin-top: 120px !important;
    margin-top: 12rem !important;
}

.rotate-right {
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);

    transform: rotate(90deg);
    
    -moz-transform-origin: 75% 100%;
    -ms-transform-origin: 75% 100%;
    -o-transform-origin: 75% 100%;
    -webkit-transform-origin: 75% 100%;
    transform-origin: 75% 100%;
}

.rotate-left {
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);

    transform: rotate(-90deg);
    
    -moz-transform-origin: 75% 100%;
    -ms-transform-origin: 75% 100%;
    -o-transform-origin: 75% 100%;
    -webkit-transform-origin: 75% 100%;
    transform-origin: 75% 100%;
}

.img-fluid-portrait {
    max-width: 55%;
}

.img-border {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #a6a6a6;
    box-shadow: 1px 2px #d9d9d9;
}

.ml-minus-2 {
    margin-left: -20px;
    margin-left: -2rem;
}

.studies-border {
    border-style: solid;
    border-width: 1px;
    border-color: #a6a6a6;
    box-shadow: 1px 2px #c8c8c8;
}

.transparentHeader {
    background-color: rgba(0,0,0,.3)!important
}

/*.rotate-left.img-fluid, .rotate-right.img-fluid {
    width: auto;
    max-height: 100%;
    max-width: inherit;
    height: inherit;
}*/

/* BAL background images */
.bal-background-start {
    background-image: url("/BALPM_Webseite/javax.faces.resource/backgrounds/home-bg.jpg.xhtml?ln=balance-layout");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.bal-background-kompetenz {
    background-image: url("/BALPM_Webseite/javax.faces.resource/backgrounds/competence-bg.jpg.xhtml?ln=balance-layout");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.bal-background-downloads {
    background-image: url("/BALPM_Webseite/javax.faces.resource/backgrounds/downloads-bg.jpg.xhtml?ln=balance-layout");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.bal-background-produkte{
    background-image: url("/BALPM_Webseite/javax.faces.resource/backgrounds/products-services-bg.jpg.xhtml?ln=balance-layout");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.bal-background-referenzen {
    background-image: url("/BALPM_Webseite/javax.faces.resource/backgrounds/references-bg.jpg.xhtml?ln=balance-layout");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.bal-background-development-team {
    background-image: url("/BALPM_Webseite/javax.faces.resource/backgrounds/home-bg.jpg.xhtml?ln=balance-layout");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.bal-background-nachrichten {
    background-image: url("/BALPM_Webseite/javax.faces.resource/backgrounds/news-bg.jpg.xhtml?ln=balance-layout");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

/* BAL image size */
.smallHeaderLogoSize {
    max-height: 35px;
}

.imprintImageSmall {
    max-width: 200px;
}

.balIconSize {
    max-height: 2em;
}
.partnerCardSize {
    height: 7em;
}

/* BAL defined text colors */
.color-bal-header-text {
    color: #ff9800 !important;
}

.bg-color-transparent-image {
    background: #9e9e9e;
}

/* BAL card styles */
.card.card-bal {
    border-bottom: solid 3px #ffb300;
    border-radius: 3px;
}

.card.card-bal .card-header, .card.card-bal .card-footer {
    background-color: #959595;
    color: #f5f5f5;
}

/* "More"-Styles */
div.text-container {
    margin: 0 auto;
    width: 75%;
}

.hideContent {
    overflow: hidden;
    line-height: 2.6rem;
    height: 15em;
}

.hideContentKeyFeatures {
    overflow: hidden;
    line-height: 2.6rem;
    height: 13em;
}

.hideContentProjects {
    overflow: hidden;
    line-height: 2.6rem;
    height: 35em;
}

.showContent {
    line-height: 2.6rem;
    height: auto;
}

.show-more {
    padding: 10px 0;
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
}

.intro-full .intro-full-content {
    transform: translate(-50%,-50%);
}

@media (max-width:1199.98px){
    .navbar-expand-md .navbar-collapse {
        display: none !important;
    }
    .ms-lead-navbar.navbar-mode .btn-navbar-menu.ms-language-menu {
        margin-right: 2rem !important;
    }
}

@media (min-width:1200px){
    .ms-lead-navbar.navbar-mode .btn-navbar-menu.ms-hamburger-menu {
        display: none !important;
    }
}

@supports (-webkit-overflow-scrolling: touch) {
   .ms-bg-fixed {
        background-attachment:scroll !important;
    }
}