/* ----------------------------------------------------------------
    Search
-----------------------------------------------------------------*/
#search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #fff;
    line-height: normal;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}
#search #search-logo {
    top: -1px;
    left: 30px;
    position: absolute;
    line-height: 80px;
    height: 80px;
    width: auto;
}
#search #search-logo img {
    width: 100%;
    height: 100%;
}
#search .search-form {
    transform: scale3d(0.8, 0.8, 1);
    transition: opacity 0.5s, transform 0.5s;
    margin: 80px 0;
}
#search .search-form .text-muted {
    opacity: .4;
}
#search .search-form .form-control {
    border-width: 0px 0px 2px 0px;
    border-radius: 0px;
    font-size: 34px;
    padding: 10px 0;
    border-color: #cecece;
    font-weight: 700;
    margin-bottom: 20px;
    background-color: transparent;
    box-shadow: none;
    height: auto;


}
#search .search-form .form-control:focus {
    background-color: transparent;
    outline: none;
    box-shadow: none;
}
#search .search-form .form-control:-webkit-input-placeholder {
    color: #999999;
}
#search .search-form .form-control:-moz-placeholder {
    color: #999999;
}
#search .search-form .form-control::placeholder{
    color: #999999;
}
#search .search-form .form-control:-ms-input-placeholder {
    color: #999999;
}
#search .btn-search-close {
    position: absolute;  /* Para posicionarlo en relación a su contenedor */
    top: 20px;              /* Coloca el elemento en la parte superior */
    right: 30px;            /* Coloca el elemento en la parte derecha */
    padding: 10px;       /* Opcional: para darle espacio al botón */
    z-index: 1000;       /* Opcional: para asegurarse de que el botón esté por encima de otros elementos */
    font-size: 2em;
}
#search .search-suggestion-wrapper {
    display: none;
}

/* ----------------------------------------------------------------
    Search / Open state
-----------------------------------------------------------------*/
body.search-open #topbar {
    z-index: 199;
}
body.search-open #search {
    z-index: 201;
    pointer-events: auto;
    opacity: 1;
}
body.search-open #search #search-logo {
    display: block;
    opacity: 1;
}
body.search-open #search .search-form {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}
body.search-open #search .btn-search-close {
    display: block;
    opacity: 1;
    transform: scale3d(1, 1, 1);
}
body.search-open #search .search-suggestion {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
body.search-open #search .search-suggestion:nth-child(2) {
    transition-delay: 0.1s;
}
body.search-open #search .search-suggestion:nth-child(3) {
    transition-delay: 0.2s;
}

/* ----------------------------------------------------------------
    Search Responsive
-----------------------------------------------------------------*/
@media (max-width: 1024px) {
    #search #search-logo {
        margin: 0 auto !important;
        max-width: 130px;
        left: auto;
    }
    #search .search-form {
        margin: 40px;
    }
    #search .search-form .text-muted {
        font-size: 10px;
    }
    #search .btn-search-close {
        font-size: 1em;
        padding: 8px;
        line-height: 8px;
    }
}