.kb-top-nav {
    background: rgba(0,0,0,0.7);
    height: 4rem;
    max-height: 4rem;
    margin-top: 2rem;
}

.kb-top-nav .home-link {
    display: block;
    height: 2rem;
    width: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    border: none;
}

.home-link img {
    height: 1.5rem;
    width: auto;
    margin: 0 auto;
}

.kb-top-nav #KBsearch {
    display: flex;
    align-items: center;
}

.kb-top-nav #KBsearchSubmit {
    background: none;
    border: 0;
    margin-left:-40px;
    color: #777777;
}

.kb-top-nav #KBsearchSubmit input:hover {
    background: none;
    border: 0;
    color: #C12525;
    box-shadow: none;
}

.kb-top-nav #KBsearchSubmit input {
    border: 0;
    font-size: 1.5rem;
    line-height: 31px;
    padding: 0 10px;
}

.kb-top-nav .inner-content {
    margin: 0 auto;
    display: flex;
    max-width: 106.25rem;
    padding: 0 2rem;
    height: 100%;
    color: var(--tertiary);
    justify-items: end;
    flex-direction: row;
    align-items: center;
}

.kb-top-nav .inner-content .half-col:nth-child(1) {
    margin-right: 17%
}

.kb-top-nav .inner-content .half-col:nth-child(2) {
    width: 380%;
}

.kb-top-nav .inner-content .half-col:nth-child(3) {
    width: 100%;
}

.kb-top-nav .useful-link {
    color: white;
    font-size: 16px;
    font-family: Griffith Sans Text;
    font-weight: 700;
    line-height: 24px;
    word-wrap: break-word;
    text-decoration: none;
    margin-left: 37px;
}

.kb-top-nav .useful-link:hover {
    text-decoration: underline;
}

@media (max-width: 1023px) {
    .kb-top-nav .inner-content .half-col:nth-child(2) {
        width: 250%;
    }
}

@media (max-width: 768px) {
    .kb-top-nav .useful-link {
        margin-left: 14px;
    }
}

@media (max-width: 610px) {
    .kb-top-nav {
        background: rgba(0,0,0,0.7);
        height: auto; 
        max-height: 100%; 
        margin-top: 2rem;
    }
    
    .kb-top-nav .inner-content {
        display: grid;
        justify-content: center;
        align-items: center;
        align-content: center;
        justify-items: end;
    }
    
    .kb-top-nav .inner-content .half-col {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .kb-top-nav .inner-content .half-col:nth-child(1) {
        order: 1;
        grid-column: 1 / span 1;
        margin-right: 10px;
    }
    
    .kb-top-nav .inner-content .half-col:nth-child(2) {
        order: 0; 
        grid-column: 1 / span 2; 
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
    }
    
    .kb-top-nav .inner-content .half-col:nth-child(3) {
        order: 1;
        grid-column: 2 / span 1;
    }
    
    .kb-top-nav .inner-content .useful-link {
        text-align: center;
    }
}
