* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style-type: none;
}


a {
    text-decoration: none;
}

body {
    font-family: sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.help-page-list li{
	list-style-type: disc;
}

/* bold the terms on the glossary page */
dt{
	font-weight: bold;
}


/* Header */
header {
    height: 60px;
}

.navbar {
    height: 100%;
    width: 100%;
    padding: 10px 20px;
}

.navbar h3{
	color: steelblue;
font-size: 1.8em;	
}

.navbar ul{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
	flex-wrap: wrap;
}

.navbar ul li {
    margin-left: 15px;
}

.navbar ul li a {
    color: black;
}

.link:hover {
    text-decoration: none;
}


.content-section {
    /* flex-grow: 1; */
    /* display: flex; */
    justify-content: center;
    align-items: center;
	/* border: 1px solid green; */
	/* background-color: lightblue; */
}



/* .grid-item{ */
	/* border: 1px solid red; */
	/* background-color: green; */
	
	/* display: flex; */
	/* flex-grow: 1; */
/* } */

.results-container{
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-auto-rows: minmax(100px, auto);
	/* max-width: 960px; */
	/* margin: 10px auto; */
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 100px;
	padding: 30px;
	padding-bottom: 100px;
	
	
	
}

.result-search-bar{
	grid-column: 1 / 3;
	display: grid;
	/* justify-items: flex-start; */
	justify-items: center;
	align-items: center;
	font-size: 1.5em;
	padding-left: 2em;
	padding-bottom: 20px;
	/* height: 60px; */
	
}

.user-query{
	grid-column: 1 / 3;
	display: grid;
	justify-items: flex-start;
	align-items: center;
	font-size: 1.5em;
	padding-left: 2em;
	padding-top: 30px;

}

.result-table{
	display: grid;
	grid-column: 1 / 2;
	justify-items: center;
	align-items: center;
	font-size: 1.5em;
	padding: 5em 2em;
	/* border: 1px solid blue; */
	
}

.date-range{
	display: grid;
	justify-items: flex-start;
	align-items: top;
	font-size: 1.5em;
	padding-top: 5em;
	padding-left: 2em;
	
}
.related-searches{
	display: grid;
	justify-items: flex-start;
	align-items: top;
	font-size: 1.3em;
	padding-top: 1em;
	padding-left: 2em;
	
}

.sources{
	grid-column: 1 / 3;
	display: grid;
	justify-items: flex-start;
	align-items: center;
	font-size: 1.5em;
	padding-left: 2em;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}



.search-bar {
    border: 2px solid black;
    width: 600px;	
	min-height: 45px;
    max-height: 45px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding-left: 15px;
	/* flex-flow: row-wrap; */
	/* flex-wrap: wrap; */
}

.search-bar:hover {
    box-shadow: 0px 0px 4px 0px #B5B5B5;
}

.search-bar i {
    font-size: 18px;
    color: gray;
    margin-right: 15px;
    cursor: pointer;
}

.search-bar input {
    flex-grow: 1;
    height: 30px;
    margin-right: 15px;
    font-size: 16px;
    border: none;
}

.help-info{
	grid-column: 1 / 3;
	display: grid;
	/* justify-items: flex-start; */
	align-items: center;
	font-size: 1.5em;
	padding-left: 3.5em;
	padding-right: 3.5em;
	padding-top: 2em;
	font-family: Tahoma, Verdana, sans-serif;
	text-align: justify;
	
}
.help-info h1{
	text-align: center;
	align-items: center;
	padding-bottom: 1em;
	/* justify-content: center; */
	/* justify-items: center; */
	/* display: grid; */
	/* border: 1px solid red; */
}

.search-bar input:focus {
    outline: none;
}

/* Footer */
footer {
    height: 100px;

	
	
}

.footer-content {
    display: flex;
    align-items: center;
    padding: 20px;

}

.upper-footer {
    height: 50%;
}

.upper-footer p {
    background-color: black;
    font-size: 14px;
}

.lower-footer {
    height: 50%;
    display: flex;
    justify-content: space-between;
}

.lower-footer ul li a {
    font-size: 14px;
    color: black; 
	background-color: #F2F2F2;
}

.lower-footer ul li a:hover {
    text-decoration: underline;
}

.lower-left-footer {
    display: flex;
}

.lower-left-footer li {
    margin-right: 15px;
}


.lower-right-footer {
    display: flex;
}

.lower-right-footer li {
    margin-left: 15px;
}

/* Smaller Devices */
@media only screen and (max-width: 650px) {
    /* Navbar */
    .navbar ul {
        font-size: 14px;
    }

    .menu-icon,
    .user-icon span {
        font-size: 14px;
    }


    .search-bar {
        width: 100%; 
	height: 100%;
	position: relative;
	right: 20px;
    }

    /* this is for the magnifying glass icon */
    .search-bar i {
        font-size: 4px;
    }
	
	.result-table{
	grid-column: 1 / 3;
	display: grid;
	font-size: 1.0em;
	padding: 1em 1em;
		
	}
	
	.help-info{
		padding-top: 1.5em;

	}
	.date-range{
		display: grid;
	    grid-column: 1 / 3;
	
	}
	
    footer {
        height: 100px;
    }

    .lower-footer {
        height: 100px;
        flex-direction: column;
    }

    .lower-left-footer {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 650px) {
   /* Navbar */
    .navbar ul {
        font-size: 14px;
    }

    .menu-icon,
    .user-icon span {
        font-size: 14px;
    }
	
	.date-range{
		padding-top: 1em;
	}
	.result-table{
		padding-bottom: 2em;
	}


    .search-bar {
        width: 100%;
		height: 100%;
    }

    .search-bar i {
        font-size: 14px;
    }
    .results-container{

	    margin-left: 1em;
	    margin-right: 1em;
	    padding: 0px;
    }
    .help-info{
	grid-column: 1 / 3;
	display: grid;
	/* justify-items: flex-start; */
	align-items: left;
	font-size: 1.5em;
	padding-left: 0.3em;
	padding-right: 0.3em;
	font-family: Tahoma, Verdana, sans-serif;
	text-align: justify;
}
.help-page-list li{
	margin: 1em 0;

}
	
    footer {
        height: 100px;
    }

    .lower-footer {
        height: 100px;
        flex-direction: column;
    }

    .lower-left-footer {
        flex-wrap: wrap;
    }
}
