/*!
 * Start Bootstrap - Stylish Portfolio v5.0.9 (https://startbootstrap.com/theme/stylish-portfolio)
 * Copyright 2013-2020 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-stylish-portfolio/blob/master/LICENSE)
 */
 /* fonts */
 @font-face {
    font-family: 'sans-pro'; 
    src: url('../fonts/SourceSansPro-Regular.ttf') format('truetype');                 
   }
@font-face {
    font-family: 'sans-pro-bold';
    src: url('../fonts/SourceSansPro-Bold.ttf') format('truetype');
    font-weight: bold;
}
@font-face {
    font-family: 'sans-pro-italic';
    src: url('../fonts/SourceSansPro-Italic.ttf') format('truetype');
    font-style: italic;
}
@font-face {
    font-family: 'sans-pro-bold-italic';
    src: url('../fonts/SourceSansPro-BoldItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: bold;
}

body,
html {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'sans-pro';
}

.btn-xl {
    padding: 1.25rem 2.5rem;
}

.content-section {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
    border-bottom: 5px solid #1d809f;
}

.content-section-heading h2 {
    font-size: 3rem;
}

.content-section-heading h3 {
    font-size: 1rem;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.text-faded {
    color: rgba(255, 255, 255, 0.7);
}


/* Map */

.map {
    height: 30rem;
    border-bottom: 5px solid #1d809f;
}

@media (max-width: 992px) {
    .map {
        height: 75%;
    }
}

.map iframe {
    pointer-events: none;
}

.scroll-to-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: none;
    width: 50px;
    height: 50px;
    text-align: center;
    color: white;
    background: rgba(52, 58, 64, 0.5);
    line-height: 45px;
}

.scroll-to-top:focus,
.scroll-to-top:hover {
    color: white;
}

.scroll-to-top:hover {
    background: #343a40;
}

.scroll-to-top i {
    font-weight: 800;
}

.con-masthead{
    max-width: 100%!important;
    background: linear-gradient(0deg, rgba(29, 128, 159,.5) 0%, rgba(0, 69, 124,.7) 100%);
    padding-top: 0.938em;
    padding-bottom: 0.938em;
}

.con-masthead h4 em{
    max-width: 62.500em;
    display: block;
    margin: 0 auto;
    background: transparent;
    border-radius: 3px;
    width: 100%;
    font-style: italic;
    font-weight: 500;
    font-size: 1rem;
    padding: .5rem;
    line-height: 1.5rem;
    color: white;
    font-family: 'sans-pro-italic';
}

.masthead {
    min-height: 30rem;
    position: relative;
    display: table;
    width: 100%;
    height: auto;
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url("../img/startbild/coverbild2.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.masthead h1 {
    font-size: 4rem;
    margin: 0;
    padding: 0;
}

@media (min-width: 992px) {
    .masthead {
        height: 100vh;
    }
    .masthead h1 {
        font-size: 5.5rem;
    }
    #mbmcookie {
        font-size: 1rem!important;
    }
}


/* Side Menu */

#sidebar-wrapper {
    position: fixed;
    z-index: 2;
    right: 0;
    width: 250px;
    height: 100%;
    transition: all 0.4s ease 0s;
    transform: translateX(250px);
    background: #1D809F;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li.sidebar-nav-item a {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 15px;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav>.sidebar-brand {
    font-size: 1.2rem;
    background: rgba(52, 58, 64, 0.1);
    height: 80px;
    line-height: 50px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
}

.sidebar-nav>.sidebar-brand a {
    color: #fff;
}

.sidebar-nav>.sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    transition: all 0.4s ease 0s;
}

.menu-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    width: 50px;
    height: 50px;
    text-align: center;
    color: #fff;
    background: #00457c;
    line-height: 50px;
    z-index: 999;
    border: 1px solid white;
}

.menu-toggle:focus,
.menu-toggle:hover {
    color: #fff;
}

.menu-toggle:hover {
    background: #343a40;
}

#about {
    background: linear-gradient(0deg, rgba(29, 128, 159,.5) 0%, rgba(0, 69, 124,.7) 100%), url("../img/banner/banner5.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top: 5px solid #1d809f;
}

#about h2,
#about p,
.callout-h3,
.info-text {
    background: #fff;
    border-radius: 3px;
    padding: .5rem 0;
    border: 1px solid #bbb;
}
#about h2,#about p,.info-text{
    background: transparent;
    border: none;
    color: white;
    font-style: italic;
    font-family: 'sans-pro-italic';
}

#about p{
    font-weight: 500;
}

.callout-h3{
    font-weight: normal;
    border: none!important;
}

.service-icon {
    background-color: #ffffff;
    color: #1D809F;
    height: 7rem;
    width: 7rem;
    display: block;
    line-height: 7.5rem;
    font-size: 2.25rem;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.callout {
    padding: 5rem 0;
    background: linear-gradient(0deg, rgba(29, 128, 159,.5) 0%, rgba(0, 69, 124,.7) 100%), url("../img/banner/banner3.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 5px solid #1d809f;
}

.callout h2 {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    max-width: 30rem;
}

#portfolio {
    background: #00457c;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.portfolio-item {
    display: block;
    position: relative;
    overflow: hidden;
    max-width: 530px;
    margin: auto auto 1rem;
}

.portfolio-item .caption {
    display: flex;
    height: 100%;
    width: 100%;
    background-color: rgba(33, 37, 41, 0.2);
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
}

.portfolio-item .caption .caption-content {
    color: #fff;
    margin: auto 2rem 2rem;
}

.portfolio-item .caption .caption-content h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.portfolio-item .caption .caption-content p {
    font-weight: 300;
    font-size: 1.2rem;
}

.welcome-text {
    margin-top: 3rem;
    background: transparent;
    border-radius: 3px;
    color: white;
    font-style: italic;
    font-family: 'sans-pro-italic';
}

.con-masthead .welcome-text em {
    padding: .5rem;    
    line-height: unset;
    background: transparent;
    border-radius: 3px;
    font-style: italic;
    font-size: 1.375rem;
    font-size: 1.375rem;
    display: flex;
    justify-content: center;
    font-family: 'sans-pro-italic';
}

.logo-banner img {
    background: transparent;
    width: 100%;
}

.service-action {
    margin-top: 2rem;
}

.service-action img {
    border: 2px solid white;
    border-radius: 3px;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    width: 100%;
}

.service-action img:hover {
    -webkit-box-shadow: 2px 2px 12px #111;
    box-shadow: 2px 2px 12px #111;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

#info {
    background: linear-gradient(0deg, rgba(29, 128, 159,.5) 0%, rgba(0, 69, 124,.7) 100%), url("../img/banner/banner.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .portfolio-item {
        max-width: none;
        margin: 0;
    }
    .portfolio-item .caption {
        transition: background-color 0.7s, -webkit-clip-path 0.25s ease-out;
        transition: clip-path 0.25s ease-out, background-color 0.7s;
        transition: clip-path 0.25s ease-out, background-color 0.7s, -webkit-clip-path 0.25s ease-out;
        -webkit-clip-path: inset(0px);
        clip-path: inset(0px);
    }
    .portfolio-item .caption .caption-content {
        transition: opacity 0.25s;
        margin-left: 5rem;
        margin-right: 5rem;
        margin-bottom: 5rem;
    }
    .portfolio-item img {
        transition: -webkit-clip-path 0.25s ease-out;
        transition: clip-path 0.25s ease-out;
        transition: clip-path 0.25s ease-out, -webkit-clip-path 0.25s ease-out;
        -webkit-clip-path: inset(-1px);
        clip-path: inset(-1px);
    }
    .portfolio-item:hover img {
        -webkit-clip-path: inset(2rem);
        clip-path: inset(2rem);
    }
    .portfolio-item:hover .caption {
        background-color: rgba(29, 128, 159, 0.9);
        -webkit-clip-path: inset(2rem);
        clip-path: inset(2rem);
    }
}


/* modal */

.modal {
    padding-right: 0!important;
    background: white;
}

.modal-dialog {   
    
}

.modal-content {    
    border: 0px solid transparent!important;
}

.portfolio-modal .close-modal {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: transparent;
    top: .5rem;
    right: 1.5rem;
    cursor: pointer;
    z-index: 9996;
}

.portfolio-modal .close-modal .lr {
    height: 60px;
    width: 1px;
    margin-left: 35px;
    background-color: #222222;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    z-index: 1051;
}

.portfolio-modal .close-modal .lr .rl {
    height: 60px;
    width: 1px;
    background-color: #222222;
    transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    z-index: 1052;
}

.carousel-caption {    
    color: #444;    
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
}

.carousel-indicators li{
    background-color: #00457c;
}

.carousel-control-next, .carousel-control-prev{
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    width: 10%;
}

.carousel-control-next:focus, .carousel-control-next:hover, 
.carousel-control-prev:focus, .carousel-control-prev:hover{
    background: rgba(196,196,196,.5);
}

@media (min-width: 576px) {
    .modal-dialog { 
        max-width: 100%;
    }
}
@media screen and (min-width: 48em){
    .logo-banner img{
        width: 70%;
    }

    .masthead {        
        padding-top: 8rem;
        padding-bottom: 8rem;        
    }

    .con-masthead{        
        background: linear-gradient(0deg, rgba(29, 128, 159,.5) 0%, rgba(0, 69, 124,.7) 100%);
    }
}
@media screen and (min-width: 64em){
    .logo-banner img{
        width: 30%;
    }
    .welcome-text {
        margin-top: 3rem;
        background: rgba(255, 255, 255, 0);
        border-radius: 3px;
    }

    .con-masthead .welcome-text em{
        max-width: 1000px;
        display: block;
        margin: 0 auto;
        background: transparent;
        border-radius: 3px;
        width: 100%;
        font-style: italic;
        font-weight: bold;
        font-size: 1.75rem;
        padding: 1rem;
        line-height: 1.5rem;
        font-family: 'sans-pro-bold-italic';
    }

    .con-masthead h4 em{
        max-width: 1000px;
        font-size: 1.25rem;
    }

    .callout-h3{
        background: transparent;
    }
}

.map iframe {
    height: 100%;
    width: 100%;
    border: 0;
}

footer.footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

footer.footer .social-link {
    display: block;
    height: 4rem;
    width: 4rem;
    line-height: 4.3rem;
    font-size: 1.5rem;
    background-color: #1D809F;
    transition: background-color 0.15s ease-in-out;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

footer.footer .social-link:hover {
    background-color: #155d74;
    text-decoration: none;
}

.footer-text{
    margin-bottom: 3rem;
}

a {
    color: #1D809F;
}

a:hover,
a:focus,
a:active {
    color: #155d74;
}

.btn-primary,
.btn-dark {
    background-color: #00457c !important;
    border-color: #fff !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    background-color: #02325a !important;
    border-color: #fff !important;
    -webkit-box-shadow: 0 0 0 0 transparent!important;
    box-shadow: 0 0 0 0 transparent!important;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0 transparent!important;
    box-shadow: 0 0 0 0 transparent!important;
}

.btn-secondary {
    background-color: #ecb807 !important;
    border-color: #ecb807 !important;
    color: #fff !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #ba9106 !important;
    border-color: #ba9106 !important;
}

.btn {
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.bg-primary {
    background-color: #00457c !important;
}

.text-primary {
    color: #1D809F !important;
}

.text-secondary {
    color: #ecb807 !important;
}


/* cookie  */

#mbmcookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #444;
    padding: 20px;
    font-size: .875rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

#mbmcookie a {
    color: #ccc;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

#mbmcookie a:hover {
    color: #fff;
    text-decoration: none;
}

#mbmcookie a.button {
    cursor: pointer;
    background: #00457c;
    padding: .5rem 1rem;
    border-radius: 3px;
    font-weight: bold;
    float: right;
    color: #fff;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    font-family: 'sans-pro-bold';
}

#mbmcookie a.button:hover {
    background-color: #02325a;
    text-decoration: none;
}

#mbmcookie p.cookiemessage {
    display: block;
    padding: 0;
    margin: 0;
}

/* multi-carousel */

