#contact-partial .icons {
    width: 22px;
    height: 22px;
}
/*.close {
    position: relative;
    width: 1em;
    height: 1em;
    opacity: 0.3;
}
.close:hover {
    opacity: 1;
}
.close:before, .close:after {
    position: absolute;
    content: ' ';
    height: 1.5em;
    width: 2px;
    background-color: #32a5e7;
}
.close:before {
    transform: rotate(45deg);
}
.close:after {
    transform: rotate(-45deg);
}*/

.segments .segment {
    margin: 1.25em 0;
    font-weight: 400;
    color: #585858;
    overflow: hidden;
}
.segments .segment .content {
    display: none;
}
.segments .segment.expanded .content {
    display: block;
}
.segments .title {
    display: flex;
    justify-content: space-between;
}
.segments .segment .header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(88,88,88,0.3);
    padding-bottom: 1.25em;
}

.segments .segment .department {
    margin: 1.25em 0;
    display: flex;
}
.segments .segment .department label {
    flex-grow: 1;
}
.segments .segment .department input[type=checkbox] {
    display: none;
}
.segments .segment .custom-checkbox {
    float: right;
}
.segments .segment .custom-checkbox::after {
    content: " ";
    width: 1em;
    height: 1em;
    background: url('/plugins/stahl/modules/assets/pictures/icons/unchecked.svg');
    font-size: 1em;
    display: inline-block;
}
.segments .segment .department-checkbox:checked ~ .custom-checkbox::after {
    background: url('/plugins/stahl/modules/assets/pictures/icons/checked.svg');
}

.segments .segment .department-checkbox:checked ~ label{
    color:#3AA6E3;
}

.contact-headquarters .logo {
    width: 100px;
}
.contact-headquarters .title {
    color: #32a5e7;
    margin-top: 1em;
}

.contacts #contact-partial, .contacts #contact-partial a {
    color: #585858;
    font-size: 16px;
    font-weight: 200;
}
.contacts .search-results {
    border-bottom: 1px solid rgba(88,88,88,0.3);
    display: flex;
    justify-content: space-between;
    padding-bottom: 28px;
    margin-bottom: 42px;
}
.contacts .search-results .title, .segments .title {
    font-weight: 500;
    color: #585858;
}
.contacts .contact {
    margin-bottom: 42px;
    padding: 38px 42px;
    background: #f6f6f6;
}
.contacts .contact.hidden {
    display: none;
}

.contacts .contact .contact-segments {
    color: #32a5e7;
    font-weight: 500;
}
.contacts .contact .contact-departments {
    font-weight: 500;
    color: #32a5e7;
	margin-bottom: 24px;
    font-size: 14px;
}
.contacts .contact .name {
    font-weight: 500;
    margin-bottom: 24px;
    font-size: 16px;
}

.contacts .contact .details {
    font-size: 16px;
    font-weight: 200;
}

.contacts .contact .details .location {
    margin-bottom: 24px;
}

.contacts .contact .details .address {
    margin-bottom: 24px;
}
.contacts .contact .details .zip_code {
    margin-bottom: 52px;
}


.contacts .contact .details .title {
    font-weight: 400;
}
.contacts .contact .details .extra > div {
    margin: 2em 0;
}

.contacts .contact .details .extra-details {
	margin-left: 2em;
}

.contacts .contact .details .extra-details-short {
	margin-left: 1.8em;
}


.filter-by{
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(88,88,88,0.3);
}

.filter-by .icons {
    display: none;
}

#page p {
    line-height: 30px;
}
#page a {
    color: #585858;
    font-size: 14px;
    font-weight: 200;
    line-height: 18px;
    text-align: center;
}

#contact-partial a {
    text-decoration: none;
}

.selected-filters {
    display: none;
}

@media screen and (max-width: 768px) {
    .segments {
        height: 3em;
        margin: 2em 0;
        overflow: hidden;
    }
    .segments.expanded {
        height: auto;
    }
    .contact-headquarters {
        border: 1px solid rgba(88,88,88,0.3);
        padding: 1em;
        width: 85%;
        margin: 24px auto 8px;
    }
    .filter-by{
        border-top:1px solid rgba(88,88,88,0.3);
        padding-top: 12px;
        padding-bottom: 18px;
    }
    .filter-by .icons {
        display: block;
    }
    .contacts .contact .details .extra > div {
        margin: 1em 0;
    }
    .contact-headquarters .logo {
        width: 72px;
    }
    .contact-headquarters .title:first-child {
        margin-top: 0;
    }
    .search-results.all {
        display: none;
    }

    .selected-filters {
        display: block;
    }
    .active-filters {
        margin-top: -1em;
        margin-bottom: 1em;
    }
    .active-filter {
        color: #32a5e7;
        display: inline-flex;
        margin-right: 1.5em;
    }
    .active-filter .close-icon {
        font-weight: 100;
        margin-left: .5em;
        transform: scaleX(1.25);
    }
    .contacts .contact .name {
        font-weight: bold;
    }
    .contacts .contact .details .zip_code {
        margin-bottom: 44px;
    }
    .contacts .contact {
        margin-bottom: 36px;
        padding: 25px 19px;
    }
}
