.custom-search {
    position: relative;
    z-index: 1005;
    display: block;
    height: 60px;
    margin: 0 20px; 
}

.custom-search ::-webkit-input-placeholder {
    color: #a3b7ce; 
}

.custom-search :-moz-placeholder {
    color: #a3b7ce; 
}

.custom-search ::-moz-placeholder {
    color: #a3b7ce; 
}

.custom-search :-ms-input-placeholder {
    color: #a3b7ce; 
}

.custom-search .search-query {
    margin: 0;
    padding: 4px 6px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #a3b7ce;
    background: transparent;
    border: 1px solid #39516c;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    width: 160px;
    line-height: 20px;
    font-style: italic; 
}

.custom-search .search-query:focus {
    outline: none;
    width: 180px;
    color: #a3b7ce;
    border: 1px solid #466383; 
}

.custom-search i {
    padding: 8px;
    margin-top: -14px;
    margin-left: -5px;
    cursor: pointer;
    top: 15px;
    position: absolute;
    right: 2px;
    color: #4e6f94; 
}


.gr-upper {
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .custom-search {
        display: none; 
    } 
}

@media (min-width: 768px) and (max-width: 991px) {
    .custom-search {
        display: none; 
    } 
}