@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}
@keyframes slideTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes slideBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes adjustTop {
  from {
    opacity: 0;
    margin-top: -50px;
  }
  to {
    opacity: 1;
    margin-top: 0;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.maxwidth {
  max-width: 980px;
}
.ivw {
  opacity: 0;
}
body {
  font-size: 14px;
}
h1 {
  font: bold 60px/1 Bebas, "Arial Narrow", sans-serif;
  color: #047;
	margin-bottom: 25px;
	
}
h1 + hr {
  background-color: #ddd;
  color: #ddd;
  margin: -5px 0 5px;
}
h2 {
  font: normal 45px/1 Bebas, "Arial Narrow", sans-serif;
  color: #555;
	margin-bottom: 25px;
}
h2 a {
  color: #555;
}
h2 a:hover {
  color: #369;
}
h3 {
  font: normal 32px/1 Bebas, "Arial Narrow", sans-serif;
  color: #369;
  letter-spacing: -1px;
}
h3 a {
  color: #369;
}
h3 a:hover {
  color: #333;
}
h4 {
  font: normal 25px/1 Bebas, "Arial Narrow", sans-serif;
  color: #777;
}
h4 a {
  color: #999;
}
h4 a:hover {
  color: #1D7DC0;
}
#header {
  padding: 25px 0 0;
  border-bottom: 10px solid #246;
  position: static;
}
#header .flex {
  align-items: flex-end;
  align-content: flex-start;
}
#title {
  padding: 25px 25px 5px;
  font: 55px/45px BebasBold, "Arial Narrow", Impact;
  transition: all ease 0.2s;
}
#title small {
  font-weight: normal;
  font-size: 25px;
  color: #444;
  letter-spacing: -1px;
}
#title:hover, #title:focus {
  color: #1e1e1e;
  padding: 25px 40px 5px;
}
#title span.long, .bartitle span.long {
  display: inline;
}
#title span.short, .bartitle span.short {
  display: none;
}
#bar.showBar {
  transform: translateY(0px);
}
#bar {
  display: flex;
  justify-content: center;
  transform: translateY(-300px);
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, .25);
  transition: all ease 0.3s;
}
#bar .barmenu {
  display: flex;
  align-items: center;
  align-content: center;
}
#bar .barmenu a {
  border-left: 1px solid #eee;
  font: 20px/1 BebasBold, "Arial Narrow", Impact;
  color: #888;
  padding: 22px 15px;
  letter-spacing: 0px;
  transition: all ease 0.2s;
}
#bar .barmenu a.current {
  color: #fff;
  background-color: #246;
}
#bar .barmenu a:hover {
  padding: 22px;
  color: #fff;
  background: #246;
}
#bar .barmenu a.current, #bar .barmenu a.current:hover {
  color: #fff;
  background-color: #369;
  padding: 22px;
}
#bar .barmenu .bartitle a {
  color: #246;
  letter-spacing: -1px;
  transition: all ease 0.2s;
  font: 32px/1 BebasBold, "Arial Narrow", Impact;
  border-left: 0px;
}
#bar .barmenu .bartitle a small {
  font-size: 22px;
}
#bar .barmenu .bartitle a:hover {
  background: none;
  color: #111;
}
#topbar {
  display: flex;
}
#menu {
  display: flex;
  align-items: flex-end;
}
#menu a {
  padding: 15px 0;
  font: 21px/1 BebasBold, "Arial Narrow", Impact;
  color: #777;
  transition: all ease 0.2s;
  letter-spacing: 0px;
}
#menu a:hover, #menu a:focus {
  background-color: #fafafa;
  color: #333;
  padding: 15px 10px;
  box-shadow: inset 0px -2px 12px #def;
}
#menu a:hover span, #menu a:focus span {
  background-color: #1e1e1e;
  box-shadow: 0px 0px 7px #1D7DC0, 0px 5px 25px #1D7DC0;
}
#menu a span {
  display: block;
  height: 4px;
  background: #eee;
  margin: -25px 10px 20px;
  box-shadow: 0px 1px 12px #fff;
  transition: all ease 0.2s;
}
#menu a.current {
  padding: 15px 10px;
}
#menu a.current span {
  background: #112244;
  box-shadow: 0px 6px 22px #000;
}
#menu a.current:hover {
  background: #369;
  box-shadow: inset 0px -2px 12px #000;
}
#menu slot, #bar slot {
  display: inline;
}
.contentbox {
  min-height: 800px;
  padding: 0;
}
#welcomeblurb .blurbimage {
  flex-basis: 30%;
}
#welcomeblurb .blurbimage a {
  background-size: 90%;
}
#welcomeblurb .blurbcontent {
  padding: 0px;
}
#welcomeblurb .blurbcontent h1 {
  font: 2.3em/1 Bebas, "Arial Narrow", sans-serif;
  letter-spacing: 0px;
  text-align: center;
}
#welcomeblurb .blurbcontent h1 a {
  font-size: 3.1em;
  letter-spacing: -1px;
  line-height: 1em;
  transition: all ease 0.2s;
  text-align: center;
}
#welcomeblurb .blurbcontent a:hover {
  color: #047;
}
#welcomeblurb .blurbcontent h2 {
  font: 4.1em/1 Bebas, "Arial Narrow", sans-serif;
  letter-spacing: 0px;
  text-align: center;
}
#welcomeblurb .blurbsub {
  font: 2.1em/1 Bebas, "Arial Narrow", sans-serif;
  text-align: center;
}
#welcomeblurb .blurbsub .chestertonlogo {
  flex-basis: 30%;
}
#welcomeblurb .blurbsub .chestertonlogo a {
  background-size: contain;
}
#welcomeblurb .blurbsub .chestertontext {
  padding: 10px 0px 0;
  flex-basis: 70%;
}
#specialty {
  background: #666;
  position: relative;
  box-shadow: none;
}
#specialty .specialtycontent {
  box-shadow: inset 0px 5px 30px -10px rgba(0, 0, 0, 0.9);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
#specialty .specialtycontent .specialtytitle {
  font: 3.5em/1em BebasBold, "Arial Narrow", Impact;
  letter-spacing: 0px;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.9);
  margin-bottom: 5px;
}
#specialty .specialtycontent .specboxcontainer {
  align-content: stretch;
  align-items: stretch;
  padding: 0;
}
#specialty .specialtycontent .specboxcontainer .specbox {
  flex-grow: 1;
  flex-basis: calc((100% / 3) - 2%);
  height: 180px;
}
#specialty .specialtycontent .specboxcontainer .specbox strong {
  padding: 8px 12px;
  font: 1.9em/1 BebasBold, "Arial Narrow", Impact;
}
#specialty .specialtycontent .videooverlay {
  padding: 40px;
  color: #fff;
}
#specialty .pcab {
  margin: 20px 0 0;
  padding-top: 15px;
  font: 2.1em/1 Bebas, "Arial Narrow", sans-serif;
}
#specialty .pcab .pcablogo {
  flex-basis: 20%;
  height: 140px;
}
#specialty .pcab .pcabtext {
  flex-grow: 1;
  flex-basis: 80%;
  padding-left: 20px;
}
#specialty .pcab a {
  display: block;
  color: #C1A380;
  font: 1.3em/1em BebasBold, "Arial Narrow", Impact;
}
#specialty .pcab a:hover {
  color: #eee;
}
#specialtyvideo {
  display: block;
  min-width: 100%;
  height: 100%;
  box-shadow: 0px 10px 10px -5px rgba(0, 0, 0, 0.7);
  object-fit: cover;
  position: absolute;
}
#specialty .specialtytitle.inview {
  animation: slideTop 1s cubic-bezier(.49, .03, .24, 1) both;
}
#specialty .specialtycontent .specboxcontainer.inview {
  animation: zoomIn 1s cubic-bezier(.49, .03, .24, 1) both;
}
#specialty .specialtycontent .pcab.inview {
  animation: slideBottom 1s cubic-bezier(.49, .03, .24, 1) both;
}
#products .productstitle {
  font: 50px/1 Bebas, "Arial Narrow", sans-serif;
  padding-bottom: 40px;
}
#products .productstitle span {
  font: 64px/1 BebasBold, "Arial Narrow", Impact;
}
#products .productbox h3 {
  font: 45px/1 BebasBold, "Arial Narrow", sans-serif;
  margin: 0;
  color: #333;
}
#products .productbox .productimage {
  height: 350px;
}
#products .productsub {
  padding: 35px 30px;
  font: 24px/1 Bebas, "Arial Narrow", sans-serif;
}
#products .productstitle.inview {
  animation: slideTop 1s cubic-bezier(.49, .03, .24, 1) both;
}
#products .productbar.inview {
  animation: slideTop 1s cubic-bezier(.49, .03, .24, 1) both;
}
#products .productbox.arcmetal.inview {
  animation: slideLeft 1s cubic-bezier(.49, .03, .24, 1) both;
}
#products .productbox.arcconcrete.inview {
  animation: slideRight 1s cubic-bezier(.49, .03, .24, 1) both;
}
#products .productsub.inview {
  animation: slideBottom 1s cubic-bezier(.49, .03, .24, 1) both;
}
#clients h1 {
  font-size: 34px;
}
#clients .client {
  flex-basis: calc(100% / 5);
  padding: 15px;
  transition: all ease 0.2s;
}
#clients .client:hover {
  transform: scale(1.05);
}
#clients .clientsub {
  margin-top: 15px;
  border-top: 1px dotted #aaa;
  padding: 30px 20px;
  font: 24px/1 Bebas, "Arial Narrow", sans-serif;
  letter-spacing: 0px;
  text-align: center;
  flex-grow: 1;
  color: #666;
}
#clients h1.inview {
  animation: slideTop 1s cubic-bezier(.49, .03, .24, 1) both;
}
#clients .clientlist.inview {
  animation: zoomIn 1s cubic-bezier(.49, .03, .24, 1) both;
}
#clients .clientsub.inview {
  animation: slideBottom 1s cubic-bezier(.49, .03, .24, 1) both;
}
#contacthome {
  height: 800px;
  position: relative;
}
#contacthome .contacthomeoverlay {
  top: 20px;
  right: 20px;
  left: auto;
  padding: 25px;
}
#contacthome .contacthomeoverlay h1 {
  font-size: 45px;
}
#contacthome .contacthomeoverlay h2 {
  font-size: 38px;
}
#contacthome .contacthomeoverlay h3 {
  font-size: 38px;
}
#contacthome .contacthomesub {
  font-size: 16px;
}
#contacthome a:hover {
  color: #fff;
}
#contacthome .contacthomeoverlay.inview {
  animation: slideRight 1s cubic-bezier(.49, .03, .24, 1) both;
}

#contact
{ }
#map {
	background: url("../images/philippines.png") no-repeat top right;
	background-size: 600px 990px;
	min-height: 990px;
}
#map .contactinfo{
  padding: 0;
}#about {
  font-size: 17px;
}
#about p {
  line-height: 1.5;
}
#about .mission {
  border-right: 1px dotted #ccc;
  border-bottom: 0px;
}
#about .mission, #about .vision {
  padding: 40px;
  flex-shrink: 1;
  flex-grow: 1;
  flex-basis: 50%;
}
#about .groupshot {
  background: url("../images/about-group.jpg") no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
}
#about .groupshot .maxwidth.inview {
  animation: slideBottom 1s cubic-bezier(.49, .03, .24, 1) both;
}
#about .groupshotoverlay .maxwidth {
  font: 30px/1 Bebas, "Arial Narrow", sans-serif;
}
#about .president .maxwidth {
  padding: 80px 60px;
}
#about .presidentphoto {
  width: 35%;
  box-shadow: 0px 10px 15px -10px rgba(0, 0, 0, 0.45);
  border: 12px solid #fff;
  margin: -10px 0px 30px 30px;
  background: url("../images/about-president.jpg") no-repeat center center;
  background-size: cover;
}
#about .presidentphoto.inview {
  animation: slideRight 1s cubic-bezier(.49, .03, .24, 1) both;
}

#about .chesterton .maxwidth {
  padding: 80px 60px;
}
#about .chesterton h1
{
	padding: 0;
}
#about .chestertonlogo
{
	margin-top: 0;
	margin-left: auto;
	width: 35%;
}