*{
    margin:0;
    padding:0;
}
body {
  font-family: 'Helvetica', 'Arial', sans-serif;
  background-color: black;
  width: 100%;
  margin: -0px;
  background-image: url("images/zomlob.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-origin: content-box;
  background-position: center top;
  background-attachment: fixed;
}

#center {
  width:1000px;
  flex:1;
  order:1;
  order:1;
}

#leftwing
{
  width:calc(50% - 250px);
  flex:1;
  order:0;
}
#rightwing
{
  width:calc(50% - 250px);
  flex:1;
  order:2;
}

.topnav img {
  height: 15px;
  width: 15px;
}

/* Add a black background color to the top navigation */
.topnav {
  border-radius: 15px;
  background-color: #333;
  overflow: hidden;
  font-family: 'Philosopher', sans-serif;
}

/* unvisited link */
a {
  color: #993333;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 20px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #993333;
  color: white;
}

/* Hide the namburger icon on large screens  */
.topnav .icon {
  display: none;
}

#outerwrap {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}

#headerwrap {
  height: 90px;
  width: 1000px;
  top:0;
  position: fixed;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: black;
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#footerwrap {
  height: 90px;
  width: 1000px;
  padding-left: 20px;
  padding-right: 20px;
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#footer img
{
  height:50px;
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: auto;
  transform: translate(0%, 25%);
}
#footer div
{
  flex: 0 1 auto;
  font-family: 'Philosopher', sans-serif;
  vertical-align: middle;
  height:50px;
  padding: 20px 0;
}
  
#footer
{
  color: white;
  font-size: 35px;
  border-radius: 15px;
  height: 80px;
  width: 100%;
  background: rgba(100, 100, 100, .5);
  text-align: center;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center+safe;
  padding-left: 20px;
  padding-right: 20px;
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#bodywrap {
  width: 1000px;
  padding-top: 70px;
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#bodywrap:after {
  content: "";
  display: table;
  clear: both;
}

div.column_text
{
  border-radius: 15px;
  padding:10px;
  background: rgba(200, 200, 200, .7);
  z-index:100;
}

p
{
  color: black;
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

h1 { 
  color: #993333;
}

h2 { 
  color: #993333;
}

div.column_image
{
  z-index:100;
}

div.column_image>img
{
  width:100%;
  overflow: hidden;
  border-radius: 15px;
}
.smlogo
{
  width:50px;
  height:50px;
}
#bodyright{
  float: left;
  width: 50%;
  padding: 20px;
  padding-left: 10px;
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.spacer
{
  height: 20px;
}
#bodyleft{
  float: left;
  width: 50%;
  padding: 20px;
  padding-right: 10px;
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#bodycenter{
  float: left;
  width: 100%;
  padding: 20px;
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/*collase the two columns into one as display gets smaller */
@media screen and (max-width: 1000px) {
  #center, #bodywrap, #headerwrap, #footerwrap /* #bodyright, #bodyleft, #bodycenter*/
  {
    width: 100%;
  }
  #leftwing, #rightwing
  {
    width: 0px;
    flex: 0;
  }
  #outerwrap
  {
    width: 100%;
  }
  #bodyright
  {
    padding-top: 0px;
  }
  #footer div
  {
    padding: 25px 0;
  }
}
/* collapse menu bar to hamburger and go to single column mode */
@media screen and (max-width: 750px) {
  #bodyright, #bodyleft, #bodycenter
  {
    width: 100%;
    float: left;
    padding: 20px;
  }
  #bodyleft
  {
    padding-bottom: 0px;
  }
  #footer img
  {
    padding-top: 10px;
    height:35px;
  }
  #footer
  {
    font-size: 20px;
  }
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  /* just make all collapsed links in gray */
  .topnav a.active{
    background-color: #333;
    color: white;
  }
}
