/* main layout */
@font-face {
    font-family: FOSSIdFont;
    src: local("OpenSans"),
    local("OpenSans"),
    url('open-sans/OpenSans-Light.ttf');
}

body {
    font-family: FOSSIdFont, Verdana, Geneva, Tahoma, sans-serif !important;
    background: #f3f3f3
}

.error-page-container {
    width: 50%;
    margin: 10em auto;
    padding: 5em;
    background-color: white;
}

.container {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}

#main {
    padding-top: 2em;
}

.top-bar {
    background-color: white;
    height: 3.5em;
    position: fixed;
    width: 100%;
    z-index: 999;
}

.top-bar div {
    display: inline-block;
    height: 100%;
    margin-top: 8px;
    margin-left: 10px;
    font-size: 24px;
    color: #2a7ae2;
}

#main-logo {
    float: left;
    height: 35px;
    margin: 10px 0 0 10px;
}

/* search bar */
.search-container {
    background: linear-gradient(to right, #4096ee 0%,#3a3a3a 100%);
    color: white;
    padding-top: 3.5em;
}

.search-container > .row {
    margin-left: 0;
    margin-right: 0;
}

.search-container .fossid-logo {
    font-size: 25px;
}

.search-container .fossid-logo div {
    float: left;
    padding-top: 0.2em;
}

.form-inline {
    display: block;
    width: 100%;
}

.search-box {
    background-color: white;
    border: 1px solid gray;
    padding: 0.2em;
    display: flex;
    flex-wrap: nowrap;
}

.search-input {
    border-color: white;
    border-style: solid;
    border-width: 1px;
    margin: 0 auto;
    width: 100%;
}

.search-input-column {
    flex-basis: 100%;
}

.search-button-column {
    flex-basis: 35px;
}

.search-button {
    border: 0;
    background: white;
    cursor: pointer;
}

.search-result-container {
    background-color: white;
    visibility: collapse;
}

/* search results */
.no-results {
    list-style: none;
    margin-top: 2em;
    font-weight: bold;
}

.no-results img {
    margin: 2em auto 0 auto;
    width: 80%;
    display: grid;
    align-self: center;
}

.result-list-item {
    list-style: none;
    margin-top: 1em;
    background: whitesmoke;
    padding: 1em;
}

.result-list-item h4 {
    list-style: none;
    /* margin-top: 2em; */
    font-weight: bolder;
    font-size: large;
    margin-bottom: 0;

}

.result-list-item-subtitle {
   font-size: smaller;
   margin-bottom: 1em;
}

.result-list-item-content {
    max-width: 90%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

h3.search-results {
    margin-top: 1em;
}

div#search-results {
    width: 100%;
    padding: 0 2em 2em 2em;
}

/* breadcrumbs */

.breadcrumb {
    background-color: white;
    margin-bottom: 0;
}

@media screen and (max-width: 991px) {
    .form-inline {
        width: 70%;
        margin-left: 1em;
    }
}

@media screen and (max-width: 450px) {
    .form-inline {
        width: 70%;
        margin: 0 auto;    
    }
}

/* footer */
.footer {
    font-size: x-small;
    text-align: center;
    margin-top: 40px;
    border-top: solid 1px lightgray;
}

.bordered {
    border-style: solid;
    padding: 10px;
    border-radius: 5px;
    background: #F5FCFF;
    margin-bottom: 1.25em;
}
