﻿.nav-container{

}

.search {
    margin: 15px;
    height: 30px;
    padding: 5px;
    display: flex;
    border-radius: 10px;
    flex-direction: row;
    width: 450px;
    /* This bit draws the box around it */
    border: 0px solid grey;
    /* I've used padding so you can see the edges of the elements. */
    padding: 1px;
}

    .search:focus-within {
        outline: none
    }

.search-input {
    /* Tell the input to use all the available space */
    flex-grow: 2;
    /* And hide the input's outline, so the form looks like the outline */
    border: none;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    background-color: var(--search-input-background);
    padding-left: 40px;
    color: var(--search-input-text);
}

    .search-input::placeholder {
        color: var(--search-input-text);
    }

    .search-input:focus {
        outline: none;
    }

.search-glyph {
    position: absolute;
    color: var(--search-input-text);
    top: 21px;
    font-size: 20px !important;
    padding-left: 10px;
}

.search button {
    width: 70px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 0px;
    background: blue;
    color: white;
    background: var(--search-button-background);
    color: var(--search-button-text);
}

    .search button:hover {
        box-shadow: 0px 0px 4px var(--search-button-text-active);
        background: var(--search-button-background-active);
        color: var(--search-button-text-active);
        clip-path: inset(-5px -5px -5px 0px);
    }


.search-container {
    display: flex;
    flex-flow: row nowrap;
    height: 60px;

    width: 100%;
    background-color: var(--search-container-background);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;
}

.search-int {
    margin: auto;
    width: 50%;
    background-color: var(--search-container-background);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;
    border-radius: 10px
}