/* HTML ELEMENTS*/
html {
    font-family: 'Roboto', sans-serif;
    color: #99a;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5em;
    min-width: 400px;
}

h1 {
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 300;
    line-height: 4rem;
    margin: 0;
    color: #99a;
    text-align: center;
}

p {
    color: #99a;
    padding: 1rem 0;
    font-weight: 200;
    font-style: normal;
}

label {
    color: #003061;
    font-weight: bold;
    padding: 0 .5rem;
}

a:link, a:visited {
    font-weight: bold;
    text-decoration: none;
    color: #069;
}

a:link:hover, a:visited:hover {
    font-weight: bold;
    text-decoration: underline;
    color: #069;
}

/* GRID STUFF */
#layout_grid {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "header header header" "side main edis" "footer footer footer" "copyright copyright copyright";
}

.header {
    grid-area: header;
}

.footer-content {
    grid-area: footer;
}

.sidebar-left {
    grid-area: side;
}

.edis-content {
    grid-area: edis;
}

#main_content {
    grid-area: main;
    padding: .85rem 2rem;
    margin-top: 2rem;
}

.copyright {
    grid-area: copyright;
}

/* CLASSES */
.sidebar-left, .edis-content, .main-content {
    margin: 1rem 0;
}

.sidebar-left {
    margin-top: 2rem;
}

.header_container {
    width: 100%;
    background: #003061;
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
}

.footer-content a:link,
.footer-content a:visited,
.footer-content a:link:hover,
.footer-content a:visited:hover {
    color: #fff;
    font-weight: normal;
}

.footer-content {
    margin-top: 1rem;
    padding: .85rem 1rem;
    background-color: #003061;
}

.footer-content ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: -1px;
}

.footer-content li {
    flex-grow: 1;
    flex-basis: auto;
    margin: .25rem 0;
    padding: 0 1rem;
    text-align: center;
    border-left: 1px solid #fff;
}

.footer-content li:first-child {
    border: 0;
}

.footer_link a {
    color: #fff;
}

/* right-hand side navigation links */

.nav {

}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav ul li {
    padding: 1rem;
}

.nav_links {
    border-top: 1px solid #73733c;
    border-right: 1px solid #73733c;
    border-bottom: 1px solid #73733c;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    background-color: #efebd6;
}

/*
Card ads are the little boxes on the right-hand side of the screen.
*/
.card_ad {
    border: 1px solid #003061; /* Set up Border */
    border-radius: .25rem; /* Slightly Curve edges */
    overflow: hidden; /* Fixes the corners */
    display: flex; /* Children use Flexbox */
    flex-direction: column; /* Rotate Axis */
    margin: 0 1rem 2rem 2rem;

}

.card_ad_header {
    color: #fff;
    text-align: center;
    font-size: 1.25rem;
    border-bottom: 1px solid #003061;
    background-color: #003061;
    padding: .5rem 1rem;
}

.card_ad_main {
    display: flex; /* Children use Flexbox */
    flex-direction: column; /* Rotate Axis to Vertical */
    justify-content: center; /* Group Children in Center */
    align-items: center; /* Group Children in Center (+axis) */
    padding: .5rem 0; /* Add padding to the top/bottom */
    background-color: #EFEBD6;
}

.card_ad_description {
    padding: .75rem 1.25rem;
    color: #003061;
}

.card_ad_input {
    border: 1px solid #73733c;
    border-radius: .5rem;
    background-color: #efebd6;
    font-size: 1rem;
    width: 7rem;
}

.card_ad_button {
    text-align: center;
    padding: .25rem 1rem;
    background-color: #003361;
    color: #fff;
    border-radius: 2rem;
    margin: .5rem 1rem;
}

.copyright {
    box-sizing: border-box;
    width: 100%;
    padding: 1rem;
    font-size: .75rem;
}

.copyright_left {
    float: left;
}

.copyright_right {
    float: right;
    text-align: right;
}

.selectdiv select {
    padding: .75rem 1rem;
    border: 1px solid #73733c;
    border-radius: .5rem;
    background-color: #efebd6;
}

