body {
    font-family: 'PT Sans', sans-serif;
}

.site {
    max-width: 1920px;
    margin: 0 auto;
}

.site-header {
    margin: 0 0 2.5em;
    padding: 1em 0;
    box-shadow: 4px 4px 8px #cecece;
    position: relative;
    z-index: 1;
}

.page-id-70 .site-header {
    margin-bottom: 0;
}

.site-header .width {
    flex-direction: column;
    align-items: flex-start;
}

.main-navigation ul {
    display: block !important;
}

.main-navigation li {
    display: inline-block;
    float: none;
}

.width {
    padding: 0 10%;
}

a {
    color: #ab0f0f;
}

.site-branding {
    margin: .5em auto .5em 0;
    max-width: 400px;
}

.site-navigation {
    margin: .5em 0;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.site-navigation a:hover {
    color: #ab0f0f;
}

.anwaelte {
    display: flex;
    flex-wrap: wrap;
    margin: 1.5em -1em;
}

.anwalt {
    width: 100%;
    padding: 1em;
}

.standorte {
    display: flex;
    flex-wrap: wrap;
    margin: 1.5em -1em;
}

.standort {
    padding: 1em;
    flex-grow: 1;
}

.anwalt ul {
    padding-left: 1em;
}

.profile {
    display: flex;
    flex-direction: column;
}

.profile h1 {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1em;
    font-size: 3em;
}

.profile h1 small {
    font-size: .6em;
    font-weight: normal;
}

.profile h2 {
    margin: 1.5em 0 0;
}

ul {
    list-style-type: square;
    padding-left: 1.2em;
}

.profile ul ul {
    padding-left: 2em;
}

.profile .info {
    padding-top: 3em;
}

.profile table {
    margin: 1em;
    width: auto;
}

.profile .social > .wp-block-group__inner-container {
    margin: 1em;
    display: flex;
}

.profile .social figure {
    margin-right: .4em;
}

.profile .details {
    padding-top: 2.5em;
}

.site-footer {
    margin-top: 2.5em;
    padding: 2.5em 0;
}

.copyright {
    font-size: .8em;
    opacity: .8;
}

@media only screen and (min-width: 800px) {
    .anwalt {
        width: 50%;
    }

    .profile {
        flex-direction: row;
    }

    .profile .info {
        flex: 0 0 280px !important;
        margin-right: 3.5em;
    }

    .profile .details {
        flex-grow: 1;
    }
}


@media only screen and (min-width: 1200px) {
    .site-header .width {
        flex-direction: row;
        align-items: center;
    }

    .anwalt {
        width: 33.33%;
    }
}


.stack {
    display: flex;
}

.stack p {
    margin-right: 2.5em;
}

.timeline {
    display: flex;
    flex-direction: column;
    list-style: none;
}

.timeline li {
    width: calc(50% + 2px);
    align-self: flex-end;
    border: 4px solid #acacac;
    border-width: 0 0 0 4px;
    padding: .5em 0 .5em 1.5em;
    position: relative;
    margin-top: -1.7em;
}

.timeline li::before {
    content: '';
    display: inline-block;
    position: absolute; 
    top: 1em;
    left: -7px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #ab0f0f;
    border: 1px solid rgb(245, 245, 245);
}

.timeline li:nth-child(2n) {
    align-self: flex-start;
    border-width: 0 4px 0 0;
    padding: .5em 1.5em .5em 0;
    text-align: right;
}

.timeline li:nth-child(2n)::before {
    left: auto;
    right: -7px;
}


.timeline li time {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
}

.timeline li time::before {
    content: '';
    display: block;
    width: .7em;
    height: 4px;
    position: absolute;
    top: 1em;
    left: 4px;
    background: #ab0f0f;
}

.timeline li:nth-child(2n) time::before {
    left: auto;
    right: 4px;
}

main a.extern i {
    margin-left: .3em;
}

.array {
    display: flex;
    flex-wrap: wrap;
    margin: 1em -2em;
}

.array .item {
    width: 25%;
    padding: 2em;
    text-align: center;
}

.array .item a {
    display: block;
    text-decoration: none;
}

.array .item a .title {
    display: block;
    padding: .3em;
}

.array .item a:hover {
    background: rgb(245, 245, 245);
}

.array .item a:hover .title {
    background: #ab0f0f;
    color: #ffffff;
}