﻿body {
 font-family: 'Source Sans Pro', sans-serif;
 color: #57504b;
 /*background-color: #f8f8f8;*/
 margin: 0px;
 padding-top: 10px;
}

#container {
 margin: 0px auto;
 padding: 0px;
 max-width: 1100px;
 min-height: 500px;
 position: relative;
 background-color: #ffffff;
 /*
 -webkit-box-shadow: 2px 2px 17px 0px rgba(50, 50, 50, 0.2);
 -moz-box-shadow: 2px 2px 17px 0px rgba(50, 50, 50, 0.2);
 box-shadow: 2px 2px 17px 0px rgba(50, 50, 50, 0.2);
 */
}

#content {
 max-width: 1100px;
 min-height: 400px;
 padding: 20px 0px 20px 0px;
 display: flex;
 /*https://stackoverflow.com/questions/6487085/two-divs-one-fixed-width-the-other-the-rest */
}
#content_first {
 flex: 1; /* grow */
 background-color: #eeeeee;
 margin-right: 20px;
 margin-bottom: 10px;
 padding: 10px;
}
#content_second {
 flex: 0 0 304px; /* do not grow, do not shrink, start at 304px */
 text-align:center;
}

a:link, a:visited {
 color: #57504b;
}
a:hover {
 color: #332e2c;
 text-shadow: 2px 2px 2px rgba(50, 50, 50, 0.2);
}
h1, h2, h3, h4, h5, h6, p {
 margin: 5px 0px 10px 0px;
}
#masthead {
 text-align: center;
 height: 120px;
}
#masthead img {
 max-width: 510px;
 width: 100%;
}
#mastheadimage {
 padding-top: 10px;
}

.nav_selected {
 font-weight:bold;
}



.topnav_center {
 text-align:center;
 width:100%;
}
.topnav {
 overflow: hidden;
 text-align: center;
 padding-left: 20px;
 display: inline-block;
}
.topnav a, .topnav a:visited {
 float: left;
 display: block;
 color: #333333;
 text-align: center;
 padding-right: 20px;
 padding-bottom:10px;
 text-decoration: none;
}
.topnav a:hover {
 color: black;
 text-decoration:underline;
}
.topnav .icon {
 display: none;
}

@media screen and (max-width: 700px) {
 .topnav a:not(:first-child) {
  display: none;
 }
 .topnav a.icon {
  float: right;
  display: block;
 }
 .topnav {
  padding: 10px;
  display: block;
 }
 body {
  padding-top:0px;
 }
 #content {
  display:block;
  padding:0px;
  margin:0px;
 }
 #content_first {
  width:auto;
  padding:5px;
  margin:0px;
 }
 #content_second {
  width: 100%;
  text-align: center;
  padding: 0px;
  margin: 0px;
 }

}
@media screen and (max-width: 700px) {
 .topnav.responsive {
  position: relative;
 }
 .topnav.responsive .icon {
  position: absolute;
  right: 10px;
  top: 10px;
 }
 .topnav.responsive a {
  float: none;
  display: block;
  text-align: left;
 }
}

#contact_form input[type=text] {
 background-color: #ffffff;
 border: 0px;
 height: 24px;
 width: 100%;
}

#contact_form textarea {
 background-color: #ffffff;
 border: 0px;
 width: 100%;
}

#contact_form input[type=submit] {
 background-color: #555555;
 color:white;
 border: 0px;
 border-radius:5px;
 width: 300px;
}


.popup {
 position: absolute;
 display: none;
 left: 50px;
 top: 100px;
 z-index: 5;
 width: 800px;
 height: 500px;
 padding: 10px;
 background-color: #555555;
 color: #ffffff;
 overflow: auto;
 -webkit-box-shadow: 2px 2px 17px 0px rgba(50, 50, 50, 0.5);
 -moz-box-shadow: 2px 2px 17px 0px rgba(50, 50, 50, 0.5);
 box-shadow: 2px 2px 17px 0px rgba(50, 50, 50, 0.5);
}

#footer {
 font-size: 12px;
 margin: 0px;
 padding: 0px;
 color: #a49c97;
 padding: 5px 10px 5px 10px;
}
#footer a:link, #footer a:visited {
 color: #a49c97;
 text-decoration: none;
 font-weight: bold;
}
#footer a:hover {
 color: #332e2c;
 text-shadow: 2px 2px 2px rgba(50, 50, 50, 0.2);
}
.footer_click {
 cursor: pointer;
}
.footer_click:hover {
 color: #332e2c;
 text-shadow: 2px 2px 2px rgba(50, 50, 50, 0.2);
}
.footer_space {
 display: inline-block;
 width: 30px;
}