.search-container{
    position: relative;
    float: right;
}
.search-container .fa-search{
    color: #fff;
    display: inline-block;
    font-size: 19px;
    width: 48px;
    line-height: 48px;
    text-align: center;
    cursor: pointer;
}
.searchform{
    display:none;
    position: absolute;
    top: 54px;
    right: 0;
    background-color: #fff;
    width: 340px;
    padding: 20px;
    z-index:30;
    border: 1px solid #E9E9E9;
    border-top: 5px solod #ef0000;

}
.searchform::before{
    border-color: transparent transparent #ef0000 transparent;
    position: absolute;
    top: -16px;
    right: 12px;
    display: block;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10.5px 12px 10.5px;
}
.searchform::after{
    position: absolute;
    display: block;
    content: '';
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
    top: -5px;
    height: 5px;
    background-color: #ef0000;
}
.searchform input {
    font-size: 0.750rem;
    color: #444;
    max-width: 100%;
    padding: 3px 9px;
    width: 235px;
    height: 32px;
    margin: 0;
    border-right: 0;
    line-height: 17px;
    border-color: #eaeaea;
}
.searchform button.search-button:hover {
    background-color: #020000;
}
.searchform button.search-button{
    position: absolute;
    height: 32px;
    min-width: 67px;
    line-height: 17px;
    padding: 7px 15px 8px;
    text-shadow: none;
    vertical-align: top;
    right: 20px;
    margin: 0!important;
    font-size:0.813rem;
    background-color: #222;
    border-radius: 0;
    color: #fff;
    border: none;
    font-weight: 600;
}
.thumbnail-container-search{
    width: 30%;
    float: left;
}
.title-meta-container{
    width: 70%;
    float: left;
}
.search-result-container:first-child {
    padding: 20px 0 0;
}
    padding-top: 30px;
}
.title-meta-container h2 {
    font-size: 0.813rem;
    vertical-align: top;
    margin-bottom:5px;
}
.searchform .date {
    color: #aaa;
    display: inline-block;
    position: relative;
    top: 2px;
    font-size: 0.688rem;
    margin-bottom: 7px;
    line-height: 1;
}
.no-results{
    border-bottom: 1px solid #ededed;
    font-size: 0.750rem;
    color: #222;
    font-style: italic;
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 228px;
    padding-bottom: 12px;
}
.main-menu-nav .title-meta-container .category-tab{
    position: relative;
    display: inline-block;
    bottom:auto;
}

.search-overlay .fa-search{
    display: none ;
}
.main-menu-nav .search-container .search-all-results{
    display: none!important ;
}
.search-close {
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}
.search-close:hover:before,.search-close:hover:after  {
    background-color: #e9ed6c;
}
.search-close:before, .search-close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #fff;
}
.search-close::before {
    transform: rotate(45deg);
}
.search-close::after {
    transform: rotate(-45deg);
}
.search-overlay .search-container{
    float: none;
}
.search-close-container{
    height: 100px;
}
.search-overlay .searchform:after,
.search-overlay .searchform:before{
    display: none;
}

.search-overlay button{
    display: none;
}
.search-overlay .searchform{
    display: block !important;
    position: relative;
    background-color: transparent;
    border: none;
    width: 90%;
    margin: 0 auto;

}
.search-overlay .search-input-menu{
    color: #fff;
    font-weight: bold;
    font-size: 26px;
    height: 40px;
    line-height: 36px;
    border: 0;
    background: transparent;
    outline: 0;
    margin: 8px 0;
    padding: 0;
    text-align: center;
}
.search-overlay.active .search-label:after {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    -webkit-transition: transform .5s ease .8s;
    -moz-transition: transform .5s ease .8s;
    -o-transition: transform .5s ease .8s;
    transition: transform .5s ease .8s;
}

.search-overlay .search-label{
    position: relative;
    padding: 10px 0;
}

.search-overlay .search-input-menu{
    width: 100%;
}
.search-overlay .search-label:before, .search-overlay .search-label:after{
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    bottom: 0;
    left: 0;
    opacity: .2;

}
.search-overlay .search-label:after{
    opacity: .8;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    -webkit-transition: transform .5s ease .8s;
    -moz-transition: transform .5s ease .8s;
    -o-transition: transform .5s ease .8s;
    transition: transform .5s ease .8s;
}

.search-overlay .search-all-results{
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    line-height: 50px;
    color: #000;
    border: none;
    -webkit-box-shadow: 0 0 8px rgba(0,0,0,.36);
    -moz-box-shadow: 0 0 8px rgba(0,0,0,.36);
    box-shadow: 0 0 8px rgba(0,0,0,.36);
    margin: 10px 0 40px;
    font-size: 17px;
    border-radius: 0;
    background-color: #fff;
    opacity: .8;
}
.search-overlay .title-meta-container .category-tab{
    display: inline;
    position: relative;
    padding-left: 10px;
}
.search-overlay .title-meta-container {
    text-align: left;
}
.search-overlay .title-meta-container h2{
    font-size: 1rem;
}
.search-overlay .title-meta-container a{
    color: #fff;
    text-align: left;
}
.search-overlay .search-container:before{
    content: 'Поиск';
    position: absolute;
    opacity: .8;
    font-size: 12px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

}
.search-overlay .no-results{
    font-style: normal;
    border: none;
    color: #fff;


}
