.dsm .in, .dsm .inNoWrap, .dsm-container {
    float: none !important;
    position: relative;
    margin: 0 auto;
    /*max-width: 114rem;*/
    max-width: 71.25rem;
}

.logo {
    display: inline-block;
    margin-top: 1.875rem;
}

.header {
    padding-top: 120px;
}
@media (max-width: 1200px) and (min-width: 1100px) {
    .dsm .in,
    #aTools.dsm .in{
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.tab-content {
    padding: 2rem 1rem 1rem;
}
.tab-content .form-control {
    border-radius: 0;
    border-width: 0 0 1px 0;

}

.tab-content .form-control:focus {
    color: #212529;
    border-color: #000;
    outline: 0;
    box-shadow: none;
}

.tab-content .input-group .btn {
    border-color: #fff;
}

.tab-content .input-group .btn:focus,
.tab-content .input-group .btn:active,
.tab-content .input-group .btn:hover {
    background-color: #fff;
    color: #000;
}

.nav-tabs .nav-link {
    border-radius: 0;
    background: #002c50;
    color: #fff;
}

.nav-tabs .nav-link.active {
    color: #002c50;
    background: #fff;
}

.tab-content {
    background: #fff;
}

.construction {
    margin-top: 1rem;
    width: 60vw;
    max-width: 600px;
    padding: .8rem;
    background: rgba(255,255,255,.4);
}

.construction p {
    margin-top: 1rem;
}

.search-container {
    margin-top: 1rem;
    width: 60vw;
    max-width: 600px;
    padding: .8rem;
}


.header-inner {
    height: 500px;
    background: url('../img/header_start.jpg') center top no-repeat;
    background-size: cover;
}

.header h1 {
    padding-top: 100px;
    text-transform: uppercase;
    font-size: 1.952rem;
    line-height: 2rem;
    font-weight: 500;
    color: #FFF;
}

.header h1:after {
    content: "";
    display: block;
    margin-top: .8rem;
    width: 12rem;
    height: 1rem;
    background-color: #002c50;
    color: #002c50;
}

@media screen and (max-width: 635px) {
    .header h1 {
        padding-top: 2rem;
    }
}



path.svgDSMlogo {
    fill: #002c50;
}

.main {
    position: relative;
}

.main .chapter-top {
    height: 5rem; /* old 3rem*/
    position: relative;
    margin-top: 1rem;
    z-index: 1;
    width: 46%;
    border-top:  1rem solid;
}

.chapter-right.main {
    width: 49%;
}

.chapter-right {
    float: right;
}

.chapter-left {
    float: left;
}

.dsm-container.chapter{
    clear: both;
}

.mail-link {
    padding-left: 22px;
    background: url('../img/kontakt-icon.gif') left center no-repeat;
    background-size: 1.2em auto;
    border-color: #fff;
}

.main p a.mail-link {
    box-shadow: inset 0 -0.2em 0 #fff;
}

.chapter {

}

.chapter p {

}

.chapter-right + .chapter p,
.chapter-right + .chapter img {
    margin-left: 30%;
}

.chapter-left + .chapter p {
    max-width: 70%;
}

.handHeldsDash {
    display: block;
    margin-top: 1rem;
    margin-bottom: 2rem;
    width: 12rem;
    height: 1.4rem;
    background-color: #002c50;
    color: #002c50;
}

.chapter h2 {
    margin-bottom: 3rem;
    text-align: right;
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 800;
}

.chapter ul {
    margin-left: 1rem;
}

.dsm-container h1,
.dsm-container h3 {
    margin-bottom: .2rem;
    padding-top: 2.2rem;
    font-size: 1.3rem;
    text-transform: uppercase;
}

@media screen and (min-width: 1100px) {
    .chapter h2 {
        font-size: 3rem;
        line-height: 3.2rem;
    }

    .dsm-container h1,
    .dsm-container h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 1200px) and (min-width: 1100px) {
    .dsm .in,
    .dsm-container,
    #aTools.dsm .in{
        padding-left: 2rem;
        padding-right: 2rem;
    }
}



.head-right h3 {
    text-align: right;
}
.chapter p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 130%;
    font-weight: 400;
    color: #002c50;
}

@media screen and (max-width: 1099px) {
    .head-left,
    .chapter-left,
    .chapter-left ~ .dsm-container,
    .chapter.head-right {
        padding: .25rem 18%;
    }

    .main .chapter-top {
        display: none;
    }

    .head-right h3,
    .chapter h2 {
        text-align: left;
    }
    .chapter h2 {
        margin-bottom: 0;
    }

    .chapter.head-right{
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .chapter-left + .chapter p {
        max-width: 100%;
    }

    .chapter-right + .chapter p, .chapter-right + .chapter img {
        margin-left: 0;
    }

    /*.chapter.head-right

    .chapter-right {
         float: none;
    }*/

    .head-left,
    .chapter-left,
    .head-right,
    .chapter-right {

    }
}

@media screen and (max-width: 550px) {
    .dsm-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .head-left, .chapter-left, .chapter-left ~ .dsm-container, .chapter.head-right {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .construction {
        width: auto;
    }
}

.footer {
    margin-top: 6rem
}

.footer .fs-4 {
    color: #699da8;
    font-weight: 700;
}

.footer li {
    list-style-type: none;
    list-style-position: unset;
}

.middle-footer ul.arrow-list a {
    background: url('../img/footer-link.svg') no-repeat 0 -0.1rem;
    background-size: 24px 24px;
    display: block;
}

.middle-footer ul a {
    padding-left: 30px;
}

.middle-footer .footer-line {
    border-bottom: 3px solid #bedee6;
    padding-top: 0;
    padding-bottom: 2rem;
}



.middle-footer ul.arrow-list a:hover,
.middle-footer ul.arrow-list a:focus {
    animation: arrowAnim 0.4s linear;
}

@keyframes arrowAnim {
    0% {
        transform:translateX(0)
    }
    50% {
        transform:translateX(0.5rem)
    }
    100% {
        transform:translateX(0)
    }
}

.uppercase {
    text-transform: uppercase !important;
}

.footer .info-container {
    padding-top: 2rem;
    text-align: left;
}

.footer .info-container p {
    /*padding-left: 30px;*/
}

.social-links ul {
    list-style-type: none;
    background: rgba(255,255,255,.3);
}

.social-links li {
    display: inline;
}

.social-links svg {
    width: 2.8rem;
    height: 2.8rem;
}

@media screen and (min-width: 1100px) {
    .social-links ul {
        text-align: right;
    }

}

.footer .dsm-container {
    padding: 0;
}

@media (max-width: 1200px) and (min-width: 1100px) {
    .footer .dsm-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.top-footer .footer-line{
    border-top: 3px solid #bedee6;
    border-bottom: 3px solid #bedee6;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media screen and (max-width: 1099px) {
    .footer .dsm-container {
        padding: 0 18%;
    }
}

.bottom-footer .footer-line {
    background-color: #fff;
    display: flex;
    content: none;
    padding: 3rem 9rem;
    justify-content: space-evenly;
    align-items: center;
    align-self: center;
    width: 100%;
    flex-direction: row;
    max-width: none;
}

.bottom-footer .footer-logo img{
    max-height: 4rem;
    width: auto;
}

.bottom-footer .footer-logo svg {
    max-width: 188px;
    max-height: 3.2rem;
}



.bottom-footer .footer-line .footer-logo {
    flex-grow: 1;
    flex-shrink: 1;
    flex-direction: row;
    display: flex;
    justify-content: center;
    margin: 1rem;
}

@media (max-width: 1200px) {

    .bottom-footer .footer-line {
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap;
    }
    .bottom-footer .footer-logo img{
        max-height: 3rem;
        width: auto;
    }

    .bottom-footer .footer-logo svg {
        max-width: 188px;
        max-height: 3.2rem;
    }
}


.main p a {
    -webkit-text-decoration: none;
    text-decoration: none;
    box-shadow: inset 0 -0.2em 0 #bedee6;
    color: inherit;
}

.main p a:hover,
.main p a:focus,
.main p a:active {
    box-shadow: inset 0 -0.2em 0 rgba(230, 49, 13, 0.8);
}

@media (max-width: 991px) {
    .leibniz-logo,
    .leibniz-logo svg {
        margin: 0 auto;
    }

    .leibniz-logo {
        margin-bottom: 2rem;
    }

    .col-lg-4 {
        display: inline-block;
        text-align: center;
    }
}


#aTools.dsm {
    position: absolute;
}

