﻿.modSearchBar {
    padding: 15px 0;
    border-radius: 4px;
}

.search-top-result {
    position: relative;
    margin: 0 0 30px;
    border: 1px solid var(--purple);
    border-radius: 4px;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.search-top-result::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 30px;
    top: -15px;
    left: 50%;
    transform: translate(-50%, 0) rotate(45deg);
    background: var(--purple);
}

.search-top-result .panel-heading {
    background: var(--purple);
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    color: #fff;
}

.search-top-result .panel-body {
    background: #fff;
    border-radius: 15px;
}

.search-results .nav-tabs {
    border-bottom: 1px solid var(--pink);
}

.search-results .nav-tabs > li > a {
    transition: linear all 0.3s;
    -webkit-transition: linear all 0.3s;
    -moz-transition: linear all 0.3s;
    -o-transition: linear all 0.3s;
}

.search-results .nav-tabs > li.active > a,
.search-results .nav-tabs >li.active > a:focus,
.search-results .nav-tabs > li.active > a:hover {
    border-color: var(--pink);
    border-bottom: 1px solid transparent;
    color: var(--pink);
}

.search-result {
    position: relative;
    padding: 15px;
}

.search-result::after {
    position: absolute;
    content: "";
    height: 1px;
    background: #e5e5e5;
    bottom: 0;
    left: 0;
    right: 0;
}

/*--------------------------------------------------------------*/

.search-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    display: none;
    top: 0;
    left: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.search-overlay .container {
    position: relative;
    height: 100%;
}

.search-overlay .closebtn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 3rem;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    transition: color 0.3s linear;
}

.search-overlay .closebtn:hover {
    color: var(--pink);
}

.search-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    text-align: center;
    margin: auto;
}

.search-overlay-content input[type=text] {
    border-radius: 0 !important;
    height: 54px;
    padding: 15px;
    font-size: 18px;
    border: none;
    float: left;
    width: 500px;
    background: #fff;
    border-radius: 0 !important;
    transition: background 0.3s linear;
}

.search-overlay-content input[type=text]:hover {
    background: #f1f1f1;
}

.search-overlay-content input:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.search-overlay-content button {
    float: left;
    padding: 14.42px 20px;
    color: #ffffff;
    background: var(--pink);

    border: none;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.3s linear;
}

.search-overlay-content button:hover {
    background: var(--pink-dark);
}

/*--------------------------------------------------------------*/

.quicksearch_results {
    background: #fff;
    margin-top: 5px;
    border-radius: 0;
    overflow: hidden;
}

.quicksearch_results p {
    color: #777;
    margin: 0;
    padding: 4px 15px;
    font-style: italic;
}

.quicksearch_results ul {
    list-style-type: none;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
    padding: 0;
}

.quicksearch_results li {
    margin: 0;
    padding: 0;
}

.quicksearch_results li a {
    border: none !important;
    color: #444 !important;
    display: block;
    padding: 4px 15px !important;
    transition: background 0.3s linear, color 0.3s linear;
}

.quicksearch_results li a:hover {
    background: var(--pink);
    color: #fff !important;
}