*, *:before, *:after {
    box-sizing: border-box;
}

body {
	background: none;
	background-color: whitesmoke;
    font-size: 16px;
    color: #222;
}

h2 {
    text-align: center;
    margin-top: 0;
}

.search {
    position: relative;
    background: white;
    border: 1px solid gray;
    margin: 16px;
    border-radius: 100px;
}

.search input {
    width: 100%;
    display: block;
    padding: 12px 52px 12px 36px;
    border: none;
    -webkit-appearance: none;
    background: transparent;
    font-size: inherit;
    font-family: inherit;
}

.search input:invalid ~ .icon-clear {
    display: none;
}

.search input:focus {
    outline: none;
}

.search i {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 12px;
    color: gray;
}

.search .icon-clear {
    left: auto;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #aaa;
    border-radius: 50%;
    padding-left: 6px;
}

.search .icon-clear:before,
.search .icon-clear:after {
    position: absolute;
    content: '';
    width: 20px;
    height: 3px;
    top: 14px;
    background: white;
    -webkit-transform: rotate(45deg);
}

.search .icon-clear:after {
    -webkit-transform: rotate(-45deg);
}

.organizations {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #ccc;
    background: white;
}

.organizations .org {
    padding: 14px 16px;
    border-bottom: 1px solid #ccc;
}

.organizations .org:active {
    background: #bbb;
}

.filterCount {
    margin: 20px 0 32px;
    text-align: center;
    font-size: 12px;
    color: #555;
}

.filterCount .count:empty {
    display: none;
}

.filterCount .count:empty ~ span {
    display: none;
}
