.module_teaser_tiles_aims {
    background: linear-gradient(to right, #005E9E, #36AEE7);
    padding: 150px 25px 45px 25px;
}

.module_teaser_tiles_aims>.container {
    padding: 0;
}

.module_teaser_tiles_aims .header .theme-fg,
.module_teaser_tiles_aims .header .headline {
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: bold;
    margin-bottom: 25px;
}

.module_teaser_tiles_aims .tiles_wrap {
    background-color: #fff;
    margin-bottom: 10px;
    padding: 25px 15px 30px 15px;
    height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.module_teaser_tiles_aims .tiles_wrap:last-of-type {
    margin-bottom: 0;
}

.module_teaser_tiles_aims .tiles_wrap:nth-child(2) {
    background-color: #CCE6F4;
}

.module_teaser_tiles_aims .tiles_wrap:nth-child(3) {
    background-color: #99CCE8;
}

.module_teaser_tiles_aims .tiles_wrap .topline {
    font-size: 28px;
    line-height: 30px;
    color: #003254;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: bold;
}

.module_teaser_tiles_aims .tiles_wrap .image {
    position: absolute;
    bottom: 0;
    /* -40 */
    right: 0;
    /* -40 */
    max-width: 200px;
}

.module_teaser_tiles_aims .tiles_wrap .image img {
    width: 100%;
    height: auto;
}

.module_teaser_tiles_aims .tiles_wrap .image img[src$='.svg'] {
    height: 200px;
}

.module_teaser_tiles_aims .link_container {
    background-color: #0080c5;
    line-height: 24px;
    color: #fff;
    font-weight: bold;
    padding: 5px;
    border-radius: 5px;
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 14px;
}

.module_teaser_tiles_aims .link_container:hover {
    background-color: #005e9e;
    text-decoration: none;
}

.module_teaser_tiles_aims .link_container a {
    color: #fff;
    text-decoration: none;
    border: none;
}

@media only screen and (min-width: 768px) {
    .module_teaser_tiles_aims {
        padding: 190px 25px 45px 25px;
    }

    /* body.theme-darkblue .module_teaser_tiles_aims {
        padding: 45px 25px 45px 25px;
    } */

    .module_banner_in_between+.module_teaser_tiles_aims {
        margin-top: -190px;
        padding: 250px 25px 45px 25px;
    }
}

@media only screen and (min-width: 991px) {

    .module_teaser_tiles_aims>.container {
        padding: 0 25px;
    }

    .module_teaser_tiles_aims .header .theme-fg,
    .module_teaser_tiles_aims .header .headline {
        font-weight: bold;
        color: #fff;
        margin-bottom: 45px;
    }

    .module_teaser_tiles_aims .tiles_outer {
        display: flex;
        flex-direction: row;
        gap: 25px;
    }

    .module_teaser_tiles_aims .tiles_wrap {
        background: #fff;
        height: 440px;
        max-width: 370px;
        width: 100%;
        padding: 25px;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .module_teaser_tiles_aims .tiles_wrap .topline {
        font-size: 32px;
        color: #003254;
        font-weight: bold;
        line-height: 38px;
        hyphens: auto;
        word-wrap: break-word;
        word-break: break-word;
    }

    .module_teaser_tiles_aims .tiles_wrap:hover {
        background: #003254;
        height: 440px;
        max-width: 370px;
        padding: 25px;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .module_teaser_tiles_aims .tiles_wrap:hover .topline {
        color: #fff;
    }

    .module_teaser_tiles_aims .tiles_wrap .image {
        right: 0;
    }

    .module_teaser_tiles_aims .tiles_wrap:hover .image {
        transform: scale(1) translate(5%, 0%);
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        transition: all .5s;
    }

    .module_teaser_tiles_aims .tiles_wrap:hover::before {
        position: absolute;
        top: 0;
        left: -50px;
        transform: scale(1.2);
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        transition: all .5s ease-in-out;
    }

    .module_teaser_tiles_aims .link_container a:hover {
        background-color: #005e9e;
        text-decoration: none;
    }

    .module_teaser_tiles_aims .tiles_wrap .image {
        max-width: 150px;
    }

    .module_teaser_tiles_aims .link_container {
        width: 45%;
    }
}

@media only screen and (min-width: 1200px) {
    .module_teaser_tiles_aims .tiles_wrap .image {
        max-width: 200px;
    }

    .module_teaser_tiles_aims .link_container {
        width: 40%;
        font-size: 17px;
    }
}

body.theme-darkblue .module_teaser_tiles_aims {
    padding: 45px 25px 45px 25px;
}

body.theme-darkblue .module_teaser_tiles_aims.frame-space-before-extra-small {
    padding-top: -1px;
}

body.theme-darkblue .module_teaser_tiles_aims.frame-space-before-small {
    padding-top: 7px;
}

body.theme-darkblue .module_teaser_tiles_aims.frame-space-before-medium {
    padding-top: 23px;
}

body.theme-darkblue .module_teaser_tiles_aims.frame-space-before-large,
body.theme-darkblue .module_teaser_tiles_aims.frame-space-before-extra-large {
    padding-top: 55px;
}

body.theme-darkblue .module_teaser_tiles_aims.frame-space-after-extra-small {
    padding-bottom: -1px;
}

body.theme-darkblue .module_teaser_tiles_aims.frame-space-after-small {
    padding-bottom: 7px;
}

body.theme-darkblue .module_teaser_tiles_aims.frame-space-after-medium {
    padding-bottom: 23px;
}

body.theme-darkblue .module_teaser_tiles_aims.frame-space-after-large,
body.theme-darkblue .module_teaser_tiles_aims.frame-space-after-extra-large {
    padding-bottom: 55px;
}