@font-face {
    font-family: 'proxima_nova_alt_rgregular';
    src: url('../../fonts/proxima_nova_alt_regular-webfont.eot');
    src: url('../../fonts/proxima_nova_alt_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../../fonts/proxima_nova_alt_regular-webfont.woff2') format('woff2'),
         url('../../fonts/proxima_nova_alt_regular-webfont.woff') format('woff'),
         url('../../fonts/proxima_nova_alt_regular-webfont.ttf') format('truetype'),
         url('../../fonts/proxima_nova_alt_regular-webfont.svg#proxima_nova_alt_rgregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
 /* margin: 25px; */
  -webkit-animation: bugfix infinite 1s;
  /* needed for checkbox hack */
}

@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
/* needed for checkbox hack  commentrd out to see if really needed
h1, p {
  color: white;
}
*/
#nav {
  position: relative;
}
#nav ul {
	display: none;
	width: 100%;
	list-style: none;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 1%;
	margin-left: 0px;
}
#nav ul li a {
	display: block;
	color: white;
	text-decoration: none;
	font-family: 'proxima_nova_alt_rgregular', Arial, sans-serif;
	/*set size for the old pages */
	font-size: 16px;
	font-weight: bold;
	padding-top: 0%;
	padding-right: 0%;
	padding-bottom: 1%;
	padding-left: 0%;
}
#nav ul li a:hover {
	background-color: #8DC63F;
}
#nav ul li:last-of-type a {
  border-right: 0px;
}
#nav ul li ul li a {
  padding-left: 1.5em;
}
#nav ul li ul li ul li a {
  padding-left: 3.125em;
}
#nav input.trigger {
  position: absolute;
  top: -9999px;
  left: -9999px;
}
#nav input.trigger:checked ~ ul, #nav input.trigger:checked ~ ul li ul {
  display: block !important;
}
@media (min-width: 48em) {
  #nav input.trigger:checked ~ ul, #nav input.trigger:checked ~ ul li ul {
    /* older flexbox */
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    box-orient: horizontal;
    /* newer flexbox */
    display: flex;
    flex-direction: row;
  }
}
#nav label {
	position: relative;
	display: block;
	min-height: 2em;
	padding: .45em;
	font-size: 1.1em;
	margin: 0;
	cursor: pointer;
	line-height: 2em;
	color: #FFFFFF;
	background-color: #FF0000;
}
#nav label:after {
  position: absolute;
  right: 1em;
  top: .2em;
  content: "\2261";
  font-size: 1.8em;
  color: white;
}
@media (min-width: 48em) {
  #nav ul {
    /* older flexbox */
    display: -ms-flexbox;
    flex-direction: -ms-row;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    box-orient: horizontal;
    /* newer flexbox */
    display: flex;
    flex-direction: row;
  }
  #nav ul li {
    position: relative;
    text-align: center;
    /* older flexbox */
    -ms-flex: 1;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
    /* newer flexbox */
    flex: auto;
  }
  #nav ul li ul {
    display: none !important;
    position: absolute;
    top: 3.0625em;
    left: 0;
    display: block;
    width: 12.5em;
    z-index: 200;
  }
  #nav ul li ul li {
    text-align: left;
  }
  #nav ul li ul li ul {
    z-index: 300;
    top: 0px;
    left: 12.4em;
  }
  #nav ul li ul li ul li a {
    padding-left: 30px !important;
  }
  #nav ul li:hover > ul {
    display: block !important;
  }
  #nav label {
    display: none;
  }
}
/* for footer */
#site-footer {
	text-align: center;
	max-width: 950px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 1%;
}
.footerlinks {
	font-family: 'proxima_nova_alt_rgregular', Arial, sans-serif;
	font-size: 12px;
	font-weight: lighter;
	color: #FFF;
	margin-bottom: 1%;
}
.footerlinks a {
	color: #FFF;
	text-decoration: none;
}
.copyrighttxt {
	font-family: 'proxima_nova_alt_rgregular', Arial, sans-serif;
	font-size: 75%;
	font-weight: lighter;
	color: #FFF;
	text-align: center;
	padding-top: 1%;
}
.copyrighttxt a {
	color: #FFF;
	text-decoration: none;
}
