/* reset browser styles */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.2;
}
/*ol { 
	padding-left: 1.4em;
	list-style: decimal;*/
}
ul {
	padding-left: 2.4em;
	list-style: square;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
} 
/* end reset browser styles */

/*this code control the full screen background image on the page the code is installed*/
#full-screen-background-image {
  z-index: -999;
  min-height: 100%;
  min-width: 1024px;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
}
#pagewrap {
	padding: 5px;
	width: 800px;
	margin: 1px auto;
	background: #d6e2f2;
}
.flex-container {
  display: flex;
  flex-flow: row wrap;
  text-align: center;
}
 
#header, #footer {
  background: transparent;
  width: 100%;
}
#header {
  order: 1;
}
#footer {
  order: 5;
}
h1 {
    font-family: "Times New Roman", Times, serif;
	color: white;
    font-size: 40px;
	font-style: normal;	
}
h2 {
    font-family: "Times New Roman", Times, serif;
	color: white;
    font-size: 24px;
	font-style: normal;	
}
.article {
  order: 3;
  flex: 1 60%;
  background: transparent);
}
.sidebar {
  flex: 1 20%;
}
.sidebar1 {
  order: 2;
  background: transparent;
}
.sidebar2 {
  order: 4;
  background: transparent;
}
 
/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
 .article {
    order: 2;
    flex: 1 100%;
  }
  .sidebar {
    order: 3;
    flex: 1 50%;
  }
  .sidebar2 {
    order: 4;
    flex: 1 50%;
  }
}
 
/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
  .sidebar {
    flex: 1 100%;
  }
}