/* CSS Document */
.offices-box-container.map-aside {
    border: 1px solid #000;

    margin-bottom: 0;
    height: 100%;
    min-height: 300px;
}

.offices-box-container.map-aside .teaser-content {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    max-width: 70%;

    font-family: 'Montserrat', sans-serif;
}

.offices-box-container.map-aside .teaser-content .headline {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1.1;
}

.offices-box-container.map-aside .teaser-content .subheadline {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1.1;
}

.offices-box-container.map-aside .teaser-content .button {
    display: inline-block;
    margin-top: 1.25rem;
    background-color: yellow;
    text-transform: uppercase;
    padding: 4px 20px 4px 12px;
    position: relative;
    font-size: .75rem;
}

.offices-box-container.map-aside .teaser-content .button::after {
    position: absolute;
    right: 6px;
    content: "\f0da";
    font-family: "FontAwesome";
    transform: translateY(-50%);
    top: 50%;
}

.city-list-wrapper {
    position: relative;
    margin-bottom: 3rem;
    margin-top: -60px;
}

.city-list-wrapper::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    background-color: #fcee04;
    top: 0;
    right: -1000%;
    bottom: 0;
    left: -1000%;
}

.city-list-wrapper .city-list-inner {
    position: relative;
    z-index: 1;
    padding: 1rem 0;
}

.city-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.city-list .list-item {
    margin-bottom: .5rem;
    text-align: center;
}

.city-list .list-title {
    text-transform: uppercase;
    font-weight: bold;
    font-size: .75rem;
    vertical-align: middle;
    line-height: 1.5rem;
    padding-top: 5px;
}

.city-list .list-item:last-child {
    margin-right: 0;
}

.city-button {
    display: block;
    width: 100%;
    padding: 4px 10px;
    color: #000;
    border: 2px solid #000;
    transition: all 500ms;
    text-align: center;
    font-weight: bold;
    font-size: .9rem;
    text-transform: uppercase;
}

.city-button:hover {
    color: #fcee04;
    background-color: #000;
}

@media screen and (max-width: 1023px) {
    .map-aside {
        margin-top: 1rem;
    }
}

@media screen and (min-width: 1024px) {
    .city-list .list-item {
        text-align: left;
        float: left;
        margin-right: 1.5%;
        width: 11%;
        margin-bottom: 1.5%; 
    }
}

.city-teaser-wrapper {
    position: relative;
    margin: 2.5rem 0;
}

.city-teaser-wrapper::before {
    content: '';
    display: block;
    position: absolute;
    left:0;
    right:0;
		width:100%;
    top: 0;
    bottom: 0;
    background-color: #d9ebea;
}

.city-teaser-wrapper .city-teaser-inner {
    position: relative;
    padding: 2rem 0;
}

.city-teaser-wrapper .city-teaser-inner h3 {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
}

.city-teaser-wrapper .city-teaser-inner h3,
.city-teaser-wrapper .city-teaser-inner p {
    width: 70%;
}

.city-teaser-wrapper .link-list {
    padding: 0;
    margin: 1.5rem 0 0;
    list-style-type: none;
}

.city-teaser-wrapper .link-list .list-item {
    display: inline-block;
    margin-right: 1.5%;
}

.city-teaser-wrapper .link-list .list-item:last-child {
    margin-right: 0;
}

.city-teaser-wrapper .link-list .list-item a {
    text-decoration: none;
    box-shadow: inset 0 -2px #d9ebea, inset 0 -6px #fcee04;
    transition: 500ms all;
}

.city-teaser-wrapper .link-list .list-item a:hover {
    opacity: .8;
}

@media screen and (min-width: 1024px) {
    .city-teaser-wrapper .city-teaser-inner h3 {
        margin-top: 0;
    }

    .city-teaser-wrapper .city-list .list-item {
        width: 18.8%;
    }

    .city-teaser-wrapper .teaser-content-wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
