@font-face {
    font-family: 'rubik-lightitalic';
    src: url('../fonts/rubik-lightitalic.woff2') format('woff2'),
         url('../fonts/rubik-lightitalic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'amble-regular';
    src: url('../fonts/amble-regular.woff2') format('woff2'),
         url('../fonts/amble-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Mobile Layout: 480px and below. */
html, body {
  box-sizing: border-box;
  height: 100%;
}
body, td, th {
    font-style: normal;
    font-weight: 400;
	  font-family: 'Montserrat', sans-serif;
    line-height:1.5;
    min-height: 100vh;
}
h2, h3, a {
	color: #34495e;
}
img, object, embed, video, iframe {
 max-width: 100%;
 margin-left: auto;
 margin-right: auto;
}
caption{
    font-size:40px;
    margin-bottom: 9px;
    font-family: 'amble-regular' , serif;
}

footer {
    order: 4;
    flex: 1 100%;
    padding: 5px;
    color: rgba(0,0,0,1.00);
    text-align: center;
    font-size: large;
}
footer a{
  display:block;
}
/*Container layout rules*/
#column_layout {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
}
section, aside {
    padding:.2em;
    margin: .2em;
    border: groove 2px rgba(0, 0, 0, .8);
}
#single_column{
    flex-basis:100%;
  }
#section_one{
  flex:1;
}
#section_one{
  flex:2;
}
aside{
  flex:3;
}

/* Navigation Rules */
nav ul {
  display: flex;
  flex-direction: column;
  background-color: gold;
  margin: 0;
  border: solid 2px gold;
  padding-left: 0;
}
nav ul li {
  flex: auto;
  list-style-type: none;
}
nav ul li:nth-child(5) {
  border-right: none;
}
nav ul li a {
  display: block;
  background-color: royalblue;
  color: gold;
  text-decoration: none;
  text-align: center;
  padding: 8px;
}
nav ul li a:hover {
  color: royalblue;
  background-color: gold;
}
header {
	background-color: gold;
  border: solid royalblue;
  border-radius: 5px;
  text-align: center;
  color:royalblue;
  margin-bottom: 3px;
  min-height:180px;
}

.floatright{
  float:right;
  position: relative;
}
/*Table Rules*/

table {
    max-width: 100%;
    width: 99%;
    margin-left: auto;
    margin-right: auto;
    padding: 1%;
    border-collapse: collapse;
}
thead {
    font-weight: bold;
}

th {
    color: rgb(255, 255, 255);
    background-color: royalblue;
    text-align: center;
}
td, th{
      display:inline-table;
      /*width:100%;*/
      text-align: center;
    padding: 8px;
}

tfoot{
    margin-top:7px;
}

td {
    border-bottom: 1px solid royalblue;
}
td>a {
    color: rgb(255, 255, 255);
}

.alternate tr {
    color: gold;
    background-color: royalblue;
}
.alternate tr:nth-child(2n) {
    background-color: gold;
    color: royalblue;
}
.alternate tr:nth-child(2n):hover  {
    background-color: #ffffff;
    color: gold;
}
.alternate tr:hover {
    background-color: #ffffff;
    color: royalblue;
}
/* ================================= 
  Media Queries
==================================== */
@media (min-width: 769px) {
	.header,.main-nav{
		display: flex;
	}
  td, th{
    display:table-cell;
  }
  td {
    border: 1px solid royalblue;
}
    
#column_layout {
    flex-direction:row;
    flex-wrap:wrap;
    height:100%;
    flex-basis:100%;
  }
  #section_one,#section_two{
    flex-basis:48%;
  }
  aside{
    flex-basis:98%;
  }
	.header {
		flex-direction: column;
		align-items: center;
		width: 80%;
		margin: 0 auto;
		max-width: 1150px;
        
	}
    header {
    order: -1;
  }
    
}

@media (min-width: 1025px) {
	.header {
		flex-direction: row;
		justify-content: space-between;
	}
  #section_one{
    flex-basis:34%;
  }
    #section_two{
    flex-basis:34%;
  }
  aside{
    flex-basis:26%;
  }
  #fixed_size{
    width:1800px;
    height:500px;
    overflow:auto;
    margin-left:auto;
    margin-right:auto;
  }
}