html, body {
height: 100%;
}
body {
background-color: white;
}
ul {
list-style-type: none;
}
a {
text-decoration: none;
}
#top-bar{
width: 100%;
display: flex;
display: -webkit-flex;
flex-direction: row;
-webkit-flex-direction: row;
justify-content: space-between;
-webkit-justify-content: space-between;
align-items: flex-end;
-webkit-align-items: flex-end;
}
#top-bar nav {
flex: 0 1 auto;
-webkit-flex: 0 1 auto;
padding-right: 20%;
}
#top-bar #logo {
padding-left: 20%;
}
#top-bar img {
padding: 10%;
height: 3%;
width: auto;
/* Humair - I added this because size wasn't working for firefox*/
max-width: 150px;
}
#top-bar nav ul {
margin: 0;
padding: 0;
overflow: hidden;
}
#top-bar ul li {
float: right;
}
#top-bar ul li a {
display: block;
color: darkgray;
text-align: center;
padding: 14px 16px;
vertical-align: bottom;
}
#top-bar ul li a:hover {
color: lightblue;
}
#drop-down {
display: none;
}
main {
position: relative;
background-image: url("../images/main.jpg");
background-size: 250px 250px;
text-align: center;
height: 80%;
width: 100%;
overflow: auto;
}
/* Changes - main is a flex container for search content*/
main{
display: flex;
align-items: center;
justify-content: center;
}
/* Changes - search is a flex container for h2 and bar, removed various attributes */
main #search {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 60%;
height: 100%;
vertical-align: middle;
background-color: rgba(235,235,235, 0.7);
}
/* Changes - added h2 styiling for main */
main #search h2{
font-family: 'Lato', sans-serif;
color: gray;
font-size: 2.5em;
margin: 4%;
}
main #search input[type=text] {
display: inline;
width: 250px;
height: 40px;
text-align: center;
box-sizing: border-box;
border: 2px solid #ccc;
font-size: 16px;
border-radius: 10px;
background-color: white;
background-image: url('../images/search_icon.png');
background-size: 20px 20px;
background-position: 9px 9px;
background-repeat: no-repeat;
padding: 12px 20px 12px 40px;
-webkit-transition: width 0.4s ease-in-out;
transition: width 0.4s ease-in-out;
}
main #search input[type=text]:focus {
width: 50%;
}
main #search img {
width: 50px;
display: inline;
}
footer {
position: relative;
bottom: 0;
background-color: white;
}
footer nav {
padding-left: 16%;
}
footer nav ul li{
display: inline-block;
float: left;
}
footer h6 {
display: inline-block;
float: right;
padding-right: 20%;
}
footer nav ul li a {
display: block;
color: darkgray;
text-align: center;
padding: 14px 16px;
vertical-align: top;
}