.mobile-search {
    position: relative;
    width: 100%;
}
.mobile-search .search {
    border-radius: 0!important;
    width: 100%;
    padding: 8px 7px 7px 56px;
    max-width: none;
}
.mobile-search .search input {
    width: 100%;
}
.mobile-search .search input::placeholder {
    color: darkgray;
    opacity: 1;
}
.search {
    background: #fff;
    padding: 6px 6px 6px 56px;
    position: absolute;
    display: table;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px -1px rgba(18, 22, 33, 0.3);
    transition: background 0.1s ease, transform 0.1s ease, padding 0.5s ease 0.1s;
    max-width: 280px;
}
.search .bar {
    position: absolute;
    left: 16px;
    top: 10px;
    width: 25px;
    height: 25px;
    overflow: hidden;
}
.search .bar span {
    display: block;
    color: #fff;
    position: absolute;
    left: 16px;
    top: 5px;
    line-height: 14px;
    font-weight: 500;
    font-size: 16px;
    opacity: 0;
    right: 16px;
    overflow: hidden;
    white-space: nowrap;
    z-index: 9;
}
.search .bar:before {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    border-radius: 16px;
    background: #cc1542;
    opacity: 0;
}
.search .bar .icon {
    flex: 0 0 32px;
    width: 25px;
    height: 25px;
    background: #cc1542;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    transform-origin: 0 0;
    transform: scale(0.8);
    transition: transform 0.4s ease 0s, background 0.1s ease;
}
.search .bar .icon:before, .search .bar .icon:after {
    content: "";
    display: block;
    position: absolute;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 50%;
}
.search .bar .icon:before {
    background: #fff;
    left: 4px;
    top: 4px;
    right: 4px;
    bottom: 4px;
    z-index: 2;
    transform: rotateY(0deg);
    transition: background 0.1s ease;
}
.search .bar .icon:after {
    background: #cc1542;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transform: rotateY(180deg);
    transition: background 0.1s ease;
}
.search .bar .icon i {
    left: 75%;
    top: 84%;
    position: absolute;
    display: block;
    transform: rotate(-45deg);
    transform-origin: 0 0;
}
.search .bar .icon i:before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: #cc1542;
    display: block;
    transform-origin: 50% 0;
    transition: transform 0.4s ease 0s, background 0.1s ease;
}
.search form {
    display: block;
    padding: 0;
    margin: 0;
}
.search form input,
.search form span {
    white-space: pre;
    font-size: 16px;
    font-family: inherit;
    padding: 6px;
    display: block;
    line-height: 14px;
    font-weight: 500;
}
.search form input {
    color: #cc1542;
    caret-color: #cc1542;
    border: 0;
    background: 0;
    outline: none;
    transition: color 0.1s ease;
}
.search form span {
    display: none;
}
.search .close {
    border-radius: 50%;
    position: absolute;
    right: 16px;
    width: 24px;
    height: 24px;
    background: #E4ECFA;
    top: 11px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translate(-8px, 0);
    transition: transform 0.3s ease 0s, opacity 0.3s ease 0s, visibility 0.3s ease 0s;
}
.search .close:before, .search .close:after {
    content: "";
    position: absolute;
    width: 2px;
    border-radius: 1px;
    height: 10px;
    background: #6C7486;
    display: block;
    left: 50%;
    top: 50%;
    transition: background 0.3s ease;
}
.search .close:before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.search .close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.search ul {
    overflow: hidden;
    margin: 0;
    padding: 8px 0 24px 0;
    list-style: none;
    position: absolute;
    left: 16px;
}
.search ul.show li {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
    margin-right: 16px;
}
.search ul.show li:nth-child(1) {
    transition-delay: 0s;
}
.search ul.show li:nth-child(2) {
    transition-delay: 0.3s;
}
.search ul li {
    margin: 0 0 20px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translate(0, -6px);
}
.search ul li:last-child {
    margin-bottom: 0;
}
.search ul li.search-pagination {
    display: flex;
    justify-content: center;
    align-content: space-between;
}
.search ul li.search-pagination a {
    width: auto;
    display: flex;
    align-items: center;
    line-height: 1.2;
}
.search ul li.search-pagination a.passive {
    color: darkgray;
    cursor: default;
}
.search ul li.search-pagination:hover,
.search ul li.classified:hover {
    transform: none;
    transition: none;
}
.search ul li.classified {
    display: flex;
    justify-content: space-around;
    align-content: space-between;
}
.search ul li.classified a {
    color: darkgray;
}
.search ul li.classified a.active {
    color: #cc1542;
    text-decoration: underline;
}
.search ul li a {
    display: block;
    font-size: 12px;
    text-decoration: none;
    padding: 0 6px;
    position: relative;
}
.search ul li a h5 {
    margin: 0;
    color: #151924;
    font-size: 14px;
}
.search ul li a p {
    margin: 4px 0;
    color: #6C7486;
    line-height: 1!important;
}
.search ul li:nth-child(1) {
    transition-delay: 0.3s;
}
.search ul li:nth-child(2) {
    transition-delay: 0s;
}
.search ul li:hover {
    transition: transform 0.3s ease 0s;
    transform: translate(0, -2px);
}
.search.submit {
    background: #cc1542;
    transform: scale(0.92);
}
.search.submit .bar .icon {
    background: #fff;
}
.search.submit .bar .icon:before {
    background: #cc1542;
}
.search.submit .bar .icon:after {
    background: #fff;
}
.search.submit .bar .icon i:before {
    background: #fff;
}
.search.submit form input {
    color: #fff;
}
.search.prepare .bar:before {
    opacity: 1;
    transition: opacity 0s ease 1.25s;
}
.search.prepare .bar .icon {
    transform: scale(1);
    transform-origin: 50% 50% 0;
    transition: transform 0.4s ease 0.85s, transform-origin 0s ease 1.25s, background 0.1s ease;
}
.search.prepare .bar .icon i:before {
    transform: scaleY(0);
    transition: transform 0.4s ease 0.4s, background 0.1s ease;
}
.search.animate .bar .icon {
    transform: rotateY(75deg);
    transition: transform 0.6s ease 0s;
}
.search.animate .bar span {
    opacity: 1;
}
.search.done {
    padding-right: 6px;
    transition: padding 0.4s ease;
}
.search.done form input {
    /*margin-top: 6px;*/
}
.search.done .bar .icon {
    transform: rotateY(180deg);
    transition: transform 0.7s ease 0s;
}
.search.done .close {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
    transition: transform 0.4s ease 0.5s, opacity 0.4s ease 0.5s, visibility 0.4s ease 0.5s;
}
.search.done .close:hover {
    background: #ca224b;
    transition: background 0.3s ease;
}
.search.done .close:hover:before, .search.done .close:hover:after {
    background: #fff;
}
.search.reset .bar:before {
    opacity: 0;
    transition: opacity 0s ease 0.4s;
}
.search.reset .bar .icon {
    transform: rotateY(0deg);
    transition: transform 0.4s ease 0s;
}

@media screen and (max-width: 1500px) {
    .search {

    }
}
.mobile-search .search.done {
    width: max-content;
}
.mobile-search .search form span {
    width: calc(100% - 63px);
}
