.js .wrapper-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    background: rgba(0,0,0,0.3);
}

/* Layout for search container */
/*.js .search {
    position: absolute;
    z-index: 1002;
    top: 0;
    right: 0;
    !*right: calc(140px + 1px);*!
    overflow: hidden;
    width: calc(25em - 1px);
    height: 100vh;
}*/

.js .search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

.search__inner {
    position: relative;
    padding: 2.5em 1.5em 0;
}

.search-wrap {
    text-align: right;
    margin-right: -65px;
}

.btn--search-close {
    position: absolute;
    top: -41px;
    right: -10px;
    z-index: 1;
}


.btn--search,
.btn--search-close {
    background: none;
    margin: 0;
    padding: 3px 0 0;
    box-shadow: unset !important;
    outline: unset;
}

.btn--search .icon,
.btn--search-close .icon {
    width: 40px;
    height: 40px;
}

.btn--search .icon {
    fill: #fff;
    outline: unset;
}

.btn--search-close .icon {
    fill: #000;
}

.btn--hidden {
    display: none;
}

.search__input:active {
    font-size: 16px;
}
.search__input {
    /*font-family: inherit;*/
    /*font-size: 2.5em;*/
    /*line-height: 1;*/
    /*display: inline-block;*/
    /*box-sizing: border-box;*/
    /*width: 90%;*/
    /*padding: 0.15em 0;*/
    /*color: #000;*/
    /*border: 0;*/
    /*border-bottom: 2px solid;*/
}

/*.search__input::-webkit-input-placeholder {
    !* WebKit, Blink, Edge *!
    color: #ddd;
}

.search__input::-moz-placeholder {
    opacity: 1;
    color: #ddd;
}

.search__input:-ms-input-placeholder {
    !* Internet Explorer 10-11 *!
    color: #ddd;
}*/

/*.search__input::-webkit-search-cancel-button,
.search__input::-webkit-search-decoration {
    -webkit-appearance: none;
}

.search__input::-ms-clear {
    display: none;
}*/

.search .mb0 {
    margin-bottom: 0 !important;
}

/*.search__info {
    font-size: 85%;
    font-weight: bold;
    display: block;
    padding: 0.5em 0;
    color: #000;
}*/

.search .input__container {
    position: relative;
}

.search .autocomplete__container {
    position: absolute;
    z-index: 1;
    width: 100%;
}

.search .input__container .css-loader {
    margin: 0;
    width: 30px;
    height: 30px;
}

.search .icon__container {
    position: absolute;
    right: 10px;
    top: 32px;
}

.search__select-group {
    margin-top: 16px;
}

.search__related {
    padding: 0;
    /*pointer-events: none;*/
}

.search__suggestion h3 {
    font-size: 1em;
    margin: 0;
    font-weight: bold;
}

.search__suggestion h3::before {
    content: '\21FE';
    display: inline-block;
    padding: 0 0.5em 0 0;

}

.search__suggestion p {
    line-height: 1.4;
    margin: 0.75em 0 0 0;
}

.search__suggestion .search__result {
    margin: 5px 0;
}

.search__suggestion a,
.search__suggestion p.last-search {
    cursor: pointer;
}

.search__suggestion p.last-search,
.search__suggestion h3 {
    color: #6cbb37;
}
/************************/
/* Transitions 			*/
/************************/

.js .wrapper-base::after {
    transition: opacity 0.45s;
}

.js .wrapper-base--overlay {
    pointer-events: none;
    position: fixed;
}

.js .wrapper-base--overlay::after {
    opacity: 1;
    z-index: 1001;
    background-color: rgba(0,0,0, 0.8);
}

/*.js .search {
    pointer-events: none;

}*/

/*.js .wrapper-base--overlay .search {
    position: fixed;
    height: 100vm;
    overflow-y: scroll;
    background: #fff;
}*/

.js .search--open {
    pointer-events: auto;
}

.js .search::before {
    transform: scale3d(0,1,1);
    transform-origin: 0% 50%;
    transition: transform 0.3s;
    transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}

.js .search--open::before {
    transform: scale3d(1,1,1);
}

.js .search__inner {
    transform: translate3d(-100%,0,0);
    transition: transform 0.3s;
}

.js .search--open .search__inner {
    transform: translate3d(0,0,0);
    transition-delay: 0.15s;
    transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}

@media screen and (max-width: 767px) {
    .search-wrap {
        position: absolute;
        top: 0;
        right: 70px;
    }

    .btn--search .icon {
        fill: #000;
    }
    
}

@media screen and (min-width: 767px) {
    .search-wrap {
        position: absolute;
        top: 0;
        right: 75px;
    }
}

@media screen and (max-width: 402px) {
    .search__entity {
        padding: 10px;
    }
}

@media screen and (max-width: 354px) {
    .search__entity {
        padding: 6px;
    }
}

@media screen and (max-width: 40em) {
    .decoline:nth-child(5) {
        right: 5em;
    }
    .btn--search-close {
        top: 0;
        right: 0;
    }

    .search__related {
        width: 100%;
    }
}

@media screen and (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}