html, body, div, span, applet, 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;
  font-size: 14px;
}

body {
  line-height: 1;
  position: relative;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

.imagefloatleft {
  float: left;
  margin-left: 0px;
  margin-right: 20px;
}

.imagefloatright {
  float: right;
  margin-left: 20px;
  margin-right: 0px;
}

.imagenofloat {
  margin-left: 0px;
  margin-right: 0px;
}

div.imgcaption {
  text-align: left;
}

.imagealigncenter {
  text-align: center;
  margin: 0 auto;
}

.imagecenter {
    text-align:center;
}

html, body {
  height: 100%;
}

.page {
  clear: both;
  min-height: calc(100% - 100px);
  height: auto !important;
}
.page .page_footer {
  height: 80px;
}

.footer {
  clear: both;
  position: relative;
  height: 80px;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 300;
  font-size: 80%;
  line-height: 1.3em;
}

.page {
  position: relative;
}

i {
  font-style: italic;
}

b {
  font-weight: 500;
}

#fb-root {
  display: none;
}

#clientmenu
{
    margin: 10px auto 0;
    text-align: right;
    width: 1026px; 
}

#clientmenu a
{
    color: #56B548;
    padding-top: 20px;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 700;
}

.banner {
  /*max-width: 1000px;
  margin: auto auto;*/
  position: relative;
  /*overflow: hidden;*/
  margin-bottom: 0;
  text-align: center;
}

.largelogo {
  margin-top: 4px;
}

#btnMobileMenu {
  padding: 9px 10px;
  background-color: #1C6911;
  background-image: none;
  border: 1px solid #1C6911;
  box-sizing: border-box;
  border-radius: 4px;
}

#btnMobileMenu:hover {
  cursor: pointer;
  background-color: #56B548;
}

#btnMobileMenu:focus {
  outline: 0;
}

.icon-bar {
  background-color: #FFF;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
}

.icon-bar + .icon-bar {
  margin-top: 4px;
}

.mobilemenu, .mobilenav {
  display: none;
}


div.header {
    background-color: #FFF;
    /*position: fixed;
    height: 130px;
    top: 0;*/
    width: 100%;
    /*z-index: 99;
    -webkit-box-shadow: #4d4749 2px 2px 10px;
    -moz-box-shadow: #4d4749 2px 2px 10px;
    box-shadow: #4d4749 2px 2px 10px;*/
}
.nav {
  text-align: center;
  margin: 10px 0;
  display: inline-block;
}
.nav ul {
  display: inline;
}
.nav ul li {
  display: inline-block;
}
.nav .menu li a {
  color: #1C6911;
  padding-top: 20px;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 700;
  font-size: 1.3em;
}
.nav .menu li.active a {
  color: #c8a2c8;
}
.nav .menu li:after {
  content: "|";
  color: White;
}
.nav .menu li:last-child:after {
  content: "";
}
#logo {
    /*position: fixed;
    top: 10px;
    left: 10px;*/
    text-align: center;
}
#logo img {
    /*background: #FFF;
    width: 150px;*/
}
.pagebody {
  max-width: 100%;
  /*margin-top: 120px;*/
}

.container {
  padding: 20px 0;
  background-color: white;
  overflow: hidden;
}

.footer {
  padding-top: 20px;
  text-align: center;
}
.footer a {
  color: white;
  text-decoration: none;
}

.footermenu {
  margin: 0 0 10px 0;
}
.footermenu a {
  text-decoration: none;
  color: #1C6911;
  text-transform: uppercase;
  margin: 0 10px;
  font-weight: 400;
}

.legal {
  color: #1C6911;
  font-size: 0.8em;
}

.legal a {
    color: #1C6911;
}

.content {
  padding: 0 10px;
  width: 1026px;
  margin: 0 auto;
}

.floatcontainer {
  text-align: center;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 620px;
  max-height: 390px;
}

.newscontents {
  padding-left: 10px;
}
.newscontents h3 {
  text-align: center;
  border-top: 2px solid #c8a2c8;
  border-bottom: 2px solid #c8a2c8;
  margin-bottom: 6px;
}

.abstract {
  margin-bottom: 10px;
  font-size: 0.8em;
  line-height: 1.5em;
}
.abstract a {
  text-decoration: none;
  color: #c8a2c8;
}

.articledate {
  font-style: italic;
  margin-bottom: 20px;
}

.catcontents {
  margin-bottom: 1em;
}
.catcontents img {
  float: left;
  margin-right: 20px;
}
.catcontents a {
  text-decoration: none;
  color: inherit;
}
.catcontents h1 {
  font-size: 1em;
  margin-bottom: 0.5em;
}

.catcontents:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.galleryimage {
  display: inline-block;
  vertical-align: top;
  width: 200px;
  margin: 5px;
}

.newsitem, .gallery {
  padding: 4px;
  position: relative;
}
.newsitem h2, .gallery h2 {
  margin: 0;
}

.boxes {
  margin: 0 auto;
  max-width: 1000px;
  text-align: center;
}

.box {
  display: inline-block;
  width: 320px;
  text-align: center;
  vertical-align: top;
  margin: 5px;
  box-sizing: border-box;
  overflow: hidden;
}
.box h1 {
  text-align: center;
  display: block;
  color: white;
  font-size: 14px;
  height: 40px;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 0 0 10px;
  font-weight: bold;
}
.box h2, .box div.newsarticledate {
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 10px;
}
.box h2:after {
  content: "";
  border-bottom: 1px solid black;
  display: block;
  margin: 10px auto;
  width: 50px;
}
.box .par {
  padding: 0 4px;
  margin-bottom: 0.5em;
}
.box br {
  display: none;
}
.box tr td {
  background-color: transparent;
}

div.singlecol div.col1
{
    width: 100%;
}

#frmContact td
{
    background-color: White;
}

div.warningmsg
{
    color: #F00;
    font-weight: bold;
}

figcaption {
  color: #333;
  font-size: 12px;
}

.eracingmenu {
    display: none;
}

@media only screen and (min-width: 1320px)
{
    .content
    {
        width: 1280px;
    }
}

@media only screen and (max-width: 1000px) {
  .col1 {
    width: 100%;
  }

  .col2 {
    width: 100%;
  }
  .content {
      width: 100%;
  }
}
@media only screen and (max-width: 770px) {
  .nav {
    margin-top: 10px;
  }
  .nav ul {
    display: inline-block;
    margin: 6px auto;
  }

  .page {
    max-width: calc(100% - 20px);
  }
}
@media only screen and (max-width: 650px) {
  table.responsivetable, table.responsivetable thead, table.responsivetable tbody, table.responsivetable th, table.responsivetable td, table.responsivetable tr {
    display: block;
    border: none;
  }

  table.responsivetable thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  table.responsivetable tr {
    border: 1px solid #ccc;
    margin-bottom: 10px;
  }

  table.responsivetable tr:last-child td {
    padding-bottom: 6px;
  }

  table.responsivetable td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #1C6911;
    position: relative;
    padding-left: 70px;
    text-transform: none;
    padding-bottom: 6px;
  }

  table.responsivetable td:first-child {
    background-color: #1C6911;
    color: White;
    border: 1px solid #1C6911;
  }

  table.responsivetable td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 60px;
    padding-right: 10px;
    white-space: nowrap;
  }
}
@media only screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px) {
  .ownerlogin, .rosemontlink {
    display: none;
  }

  .banner {
    text-align: center;
  }

  .mobilemenu {
    text-align: center;
    display: block;
    margin: 10px 0;
  }

  .mobilemenu button {
    padding: 10px 20px;
  }

  #clientmenu {
      display: none;
  }

  .nav {
    display: none;
  }

  .mobilenav {
    display: none;
    height: auto;
    float: none;
    margin: 0;
    padding: 10px 0 0 0;
    background-color: #1C6911;
  }

  #frmContact input, #frmContact textarea {
      max-width: 269px;
  }


  .mobilenav li {
    float: none;
    background-color: #1C6911;
  }

  .mobilenav a {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px dotted #FFF !important;
    font-size: 1em;
    color: White;
    text-transform: none;
    font-weight: normal;
    text-decoration: none;
  }

  .mobilenav li:hover {
    background-color: #56B548;
  }

  .footermenu {
    display: none;
  }

  .content th, .content td {
    font-size: 0.8em;
  }

  .content img {
    width: 100%;
    height: auto;
  }
}
