input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

input[type="search"] {
    border: 1px solid #d4d4d4;
    padding: .44444444444em;
    transition: all .2s ease-in-out;
    width: 100%
}

input[type="search"]:focus {
    border-color: #1f1f1f;
    outline: 0
}

.search-form,
.mc4wp-form-fields>.form-fields-wrapper {
    display: -ms-flexbox;
    display: flex
}

.search-form>label,
.mc4wp-form-fields>.form-fields-wrapper>label {
    -ms-flex: 1 0 8em;
    flex: 1 0 8em
}

.search-form>.search-submit,
.mc4wp-form-fields>.form-fields-wrapper>input[type="submit"] {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto
}

.search-form .search-field,
.mc4wp-form-fields>.form-fields-wrapper input[type="email"] {
    border-right: none
}

.search-header {
    position: relative
}

.search-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 auto
}

.search-header-nav-button {
    background-color: transparent;
    color: #5e5e5e;
    display: inline-block;
    margin: .4rem;
/*    padding-left: 1rem; */
    cursor: pointer;
    position: relative;
    transition: opacity .25s;
    z-index: 1
}

.search-header-nav-button:hover,
.search-header-nav-button:focus {
    opacity: .8;
    color: #df003b
}

.search-form {
    position: relative;
    display: flex;
    flex-flow: row wrap
}

.search-form>* {
    flex: 1 100%
}

.search-input {
    position: relative;
    padding: 0 4rem 0 4rem !important;
    text-overflow: ellipsis;
    border: 0 !important;
    color: #000;
    color: rgba(0, 0, 0, .87);
    outline: 0;
    z-index: 1;
    width: 100%;
    height: 2.8rem;
    font-size: 1rem
}

.svg-search {
    display: inline-block;
    fill: none;
    stroke: currentColor;
    stroke-width: 3px;
    position: relative;
    top: -.08em;
    vertical-align: middle;
    width: 1em;
    height: 1em;
    transform: scale(1.1)
}

.search-icon {
    position: absolute;
    transition: color .25s cubic-bezier(.1, .7, .1, 1), opacity .25s;
    color: #000;
    color: rgba(0, 0, 0, .54);
    cursor: pointer;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
    speak: none;
    word-wrap: normal;
    direction: ltr;
    flex: 0 auto;
    z-index: 2
}

.search-icon:hover {
    opacity: .7
}

.search-icon[for="search-toggle"] {
    top: .6rem;
    left: 1rem
}

.reset-search {
    top: .6rem;
    right: 1rem;
    transform: scale(.125);
    transition: transform .15s cubic-bezier(.1, .7, .1, 1), opacity .15s;
    opacity: 0;
    margin: 0;
    padding: 0;
    border: 0;
    outline-style: none;
    background: transparent
}

.search-output {
    position: absolute;
    width: 100%;
    border-radius: 0 0 .2rem .2rem;
    overflow: hidden;
    z-index: 1
}

.search-scrollwrap {
    height: 100%;
    background-color: #fff;
    box-shadow: 0 .1rem 0 rgba(0, 0, 0, .07) inset
}

.search-result {
    color: rgba(0, 0, 0, .87)
}

.search-result-meta {
    padding: 0 1.6rem;
    background-color: rgba(0, 0, 0, .07);
    color: rgba(0, 0, 0, .54);
    /*font-size: 1.125rem;*/
    line-height: 3rem
}

.search-result-list {
    font-size: 0.8rem;
}

.search-result-list {
    margin: 0;
    padding: 0;
    border-top: .1rem solid rgba(0, 0, 0, .07);
    list-style: none;
    max-height: 500px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch
}

.search-result-list h2 {
    font-weight: normal;
    font-size: 1rem;
}

.search-result-list em {
    font-style: normal;
    font-weight: 700;
    text-decoration: underline
}

.search-result-list li {
    box-shadow: 0 -.1rem 0 rgba(0, 0, 0, .07);
    padding: .5rem 1.6rem 0;
    overflow: auto
}

.search-result-list li:hover {
    background-color: #e8e8e8;
    background-color: rgba(183, 183, 183, .1)
}

.search-result-list a {
    display: block;
    transition: background .25s;
    outline: 0;
    color: #000;
    text-decoration: none;
    overflow: hidden
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-color: rgba(0, 0, 0, .4);
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    z-index: 1
}

.search-inner {
    position: relative;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1020
}

@media screen and (min-width:62.875em) {
    .search-inner {
        position: absolute;
        right: 40px;
        max-width: 700px
    }
}

#search-toggle:checked~.search-header .search-inner {
    display: block
}

#search-toggle:checked~.search-header .search-input:valid~.reset-search {
    opacity: 1;
    transform: scale(.8)
}

#search-toggle:checked~.search-header .search-input:valid~.reset-search:hover {
    opacity: .7
}

#search-toggle:checked~.search-header .search-overlay {
    opacity: 1;
    pointer-events: all
}

#search-toggle:checked~.search-header .search-header-nav-button {
    display: none
}

.search-toggle {
    display: none
}

.search-results .hentry {
    margin-left: auto;
    margin-right: auto;
    max-width: 1140px
}

.search-results .hentry {
    max-width: 740px
}

.search-results .entry-inner {
    background-color: #fff
}

.search-results .entry-inner {
    padding: 1.25rem
}

@media screen and (min-width:62.875em) {
    .search-results .entry-inner {
        padding: 2.5rem
    }

}

.search-results .entry-summary {
    margin-bottom: 0
}

.site-header>.wrapper {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}
