@keyframes homepage-img {
    0%   {opacity: 0.2; bottom:-30px;}
    100% {opacity: 100; bottom:0px;}
}

@keyframes homepage-text {
    0%   {opacity: 0.2; margin-left:50px;}
    100% {opacity: 100; margin-left:100px;}
}

@keyframes homepage-icon {
    0%   {opacity: 0;}
    100% {opacity: 100;}
}

body {
  font-family: "acumin-pro";
  background-color:#FFF;
  transition: background-color 0.5s;
  -webkit-transition: background-color 0.5s;
  -moz-transition: background-color 0.5s;
  -o-transition: background-color 0.5s;
  overflow:hidden;
}

.bodybg {
  background:#E6E6E6;
}

.bgimg {
  position:absolute;
  right:0;
  bottom:0;
  max-height:840px;
  max-width:1724px;
  width:90%;
  z-index: -1;
  opacity: 100;
}

.active .bgimg {
  animation-name: homepage-img;
  animation-duration: 2s;
}

#section0text {
  opacity: 100;
  margin-top:200px;
  margin-left:100px;
}

.active #section0text {
  animation-name: homepage-text;
  animation-duration: 2s;
}

#section0text p:first-child {
  font-size:40px;
  font-weight:600;
  margin:0;
}

#section0text p:last-child {
  margin-top:2px;
  font-size:25px;
  font-weight:200;
}

#section1text {
  font-weight: 200;
}

#section1text>p:first-child {
  margin-top:0;
}

#section1text>p {
  font-size: 20px;
}

.section2margins {
  max-width:1000px;
  height:calc(100%);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  justify-content: space-around;
}

.inside {
  height:calc(100% - 150px);
  padding:75px;
}

.inside-content {
  height:calc(100% - 150px);
  padding:75px;
  display:flex;
  flex-direction: column;
  justify-content: space-around;
}

nav {
  padding-bottom:8px;
  border-bottom:1px solid #008f95;
}

nav .rightnav {
  float:right;
  font-size:24px;
  font-weight:600;
  /*line-height:60px;*/
  margin-top:25px;
}

nav .rightnav a {
  text-decoration:none;
  color:#1a1a1a;
}

nav .rightnav a:first-child {
  padding-right:10px;
  border-right:solid 1px #008f95;
}

nav .rightnav a:last-child {
  padding-left:10px;
}

nav .rightnav img {
  height:19px;
}

.logo {
  height:60px;
}

.icons {
  /*margin-top:300px;*/
  max-width:1000px;
  display:flex;
  justify-content: space-around;
}

.iconimg {
  height:85px;
}

.icon {
  opacity:100;
  min-width:170px;
  text-align:center;
  display:inline-block;
}

.icon p:first-of-type {
  font-weight: 600;
  font-size:37px;
  color:#008f95;
  margin:10px 0;
}

.icon p:last-of-type {
  font-weight:400;
  margin-bottom:0;
}

.active .icon {
  opacity:1;
  /*animation-fill-mode: forwards;
  animation-name: homepage-icon;
  animation-duration: 1s;*/
}

.active .icon:nth-child(1) {
    animation-delay: 0.2s;
}
.active .icon:nth-child(2) {
    animation-delay: 0.4s;
}
.active .icon:nth-child(3) {
    animation-delay: 0.6s;
}
.active .icon:nth-child(4) {
    animation-delay: 0.8s;
}

.icon img {
  width:60px;
  transition: width 0.7s;
  -webkit-transition: width 0.7s;
  -moz-transition: width 0.7s;
  -o-transition: width 0.7s;
}

.icon img:hover {
  width:65px;
}

#bullets {
  display:flex;
  font-family: "Arial";
  z-index:9;
  position:absolute;
  right:30px;
  top:50%;
  margin-top:-35px;
  font-size:30px;
  flex-direction:column;
  justify-content: space-between;
  height:70px;
  line-height:10px;
}

#bullets.section1 span:nth-child(1) {
  opacity:1;
}
#bullets.section1 span:nth-child(2) {
  opacity:0.3;
}
#bullets.section1 span:nth-child(3) {
  opacity:0.3;
}
#bullets.section1 span:nth-child(4) {
  opacity:0.3;
}


#bullets.section2 span:nth-child(1) {
  opacity:0.3;
}
#bullets.section2 span:nth-child(2) {
  opacity:1;
}
#bullets.section2 span:nth-child(3) {
  opacity:0.3;
}
#bullets.section2 span:nth-child(4) {
  opacity:0.3;
}

#bullets.section3 span:nth-child(1) {
  opacity:0.3;  
}
#bullets.section3 span:nth-child(2) {
  opacity:0.3;
}
#bullets.section3 span:nth-child(3) {
  opacity:1;
}
#bullets.section3 span:nth-child(4) {
  opacity:0.3;
}

#bullets.section4 span:nth-child(1) {
  opacity:0.3;  
}
#bullets.section4 span:nth-child(2) {
  opacity:0.3;
}
#bullets.section4 span:nth-child(3) {
  opacity:0.3;
}
#bullets.section4 span:nth-child(4) {
  opacity:1;
}


#bullets span {
  display:block;
  opacity:0.3;
  transition: opacity 0.4s;
  -webkit-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
}

#bullets span a {
  color:inherit;
  text-decoration:none;
}

.addresses {
  background:#F2F2F2;
  display:flex;
  justify-content: space-between;
}

.address {
  padding:30px;
  justify-content: space-between;
  font-weight:200;
}

.address p:first-child {
  margin-top:0;
  font-weight:600;
}

.address p:first-child::after {
  content: '.';
  color:#008f95;
}

.address p:last-of-type {
  margin-bottom:0;
}

.addressleft a {
  color:inherit;
  text-decoration:none;
}

.addressright {
  height:100%;
  position:relative;
  text-align:center;
}

.addressright img {
  width:90px;
  display:block;
}

.mapbutton {
  font-weight:400;
  color:inherit;
  text-decoration: none;
  width:70px;
  background:#E6E6E6;
  padding:5px 10px 7px 10px;
  line-height:30px;
}

.contact {
  padding:30px;
  background:#F2F2F2;
  text-align:center;
}

.contactHeader {
  margin-top:0px;
  margin-bottom:4px;
  font-size:36px;
  font-weight:500;
}

.contactText {
  margin-top:0;
  font-size:24px;
  font-weight:200;
  margin-bottom:0px;
}

.contact .inputs {
  display:flex;
  justify-content: space-between;
}

.contact input[type="text"] {
  padding:15px;
  border:1px solid #CCC;
  width: calc(25% - 50px);
}

.contact input[name="message"] {
  width: calc(50% - 50px);
}

.contact input[type="submit"] {
  float:right;
  margin-top:20px;
  font-family:"acumin-pro";
  font-size:16px;
  color:#FFF;
  background:#B2B4B4;
  border:none;
  padding:4px 21px 7px 21px
}

.contactform {
  margin-top:20px;
}

.footer {
  text-align:center;
  font-weight:200;
}

.footer a {
  color:inherit;
  text-decoration: none;
  transition: color 0.1s;
  -webkit-transition: color 0.1s;
  -moz-transition: color 0.1s;
  -o-transition: color 0.1s;
}

.footer a:hover {
  color:#968d8d;
}

.footer p {
  margin-top:0;
}

.footer p:first-child {
  margin-bottom:15px;
  font-size:24px;
}

.footer p:last-child {
  margin-bottom:0;
  font-size:16px;
}

.clear {
  clear:both;
}


/* mobile/break width styles */

@media only screen and (max-width: 1000px) {

@keyframes homepage-text {
    0%   {opacity: 0.2; margin-left:0%;}
    100% {opacity: 100; margin-left:10%;}
}

.inside {
  padding:10px;
  height:calc(100% - 20px);
}

.logo {
  height:40px;
}

#section0text {
  margin-top: 70px;
  margin-left: 10%;
}

#section0text p:first-child {
  font-size:26px;
  font-weight:600;
  margin:0;
}

#section0text p:last-child {
  margin-top:2px;
  font-size:17px;
  font-weight:200;
}

.bgimg {
  position:absolute;
  width:auto;
  height:70%;
  right:-240px;
  bottom:0;
  z-index: -1;
  opacity: 100;
}

nav .rightnav {
  margin-top:0;
  line-height:48px;
  font-size:15px;
}

nav .rightnav img {
    height: 13px;
}

.section2margins {
  margin:0 auto;
  height: 100%;
  justify-content: space-around;
}

#section1text {
  padding-right:10px;
}

#section1text > p {
    font-size: 15px;

}

#bullets {
  font-family: "Arial";
  right:13px;
  font-size:20px;
  height:40px;
  margin-top:-20px;
}



.icons {
  width:100%;
  text-align:center;
  display:block;
}

.icon {
  margin:15px auto;
  text-align:center;
  display:inline-block;
}

.icon:nth-child(1),
.icon:nth-child(2) {
  margin-bottom:15%;
}

.icon p:first-of-type {
  font-weight: 600;
  font-size:20px;
  color:#008f95;
  margin:0 0;
}

.icon p:last-of-type {
  font-size:12px;
  font-weight:400;
  margin:0;
}

.icon img {
  width:50px;
}

.icon img:hover {
  width:30px;
}

.addresses {
  font-size:13px;
  display:block;
}

.colflex {
  display:flex;
}

.emailtel {
  font-size:13px;
  font-weight:200;
  margin:15px;
}

.emailtel a {
  color:inherit;
  text-decoration: none;
}

.address {
  width:100%;
  padding:15px;
}

.address:first-child {
  padding-bottom:0;
}

.addressleft p:last-child {
  white-space: pre-line;
}

.mobilehide {
  display:none;
}

.addressright img {
  display:none;
}

.addressright a {
  right:30px;
  bottom:-65px;
}

.inside-content {
  justify-content: evenly-spaced;
}

.contact {
  padding:15px;
}

.contact p:first-child {
  font-size:25px;
}

.contact p:nth-child(2) {
  font-size:18px;
  margin-bottom:10px;
}

.contact .inputs {
  flex-direction: column;
}

.contact .inputs input {
  font-family: "acumin-pro";
  width:calc(100% - 30px);
  -webkit-appearance: none;
  border-radius: 0;
}

.contact input[type="submit"] {
  margin-top:10px;
  font-family:"acumin-pro";
  padding:7px 21px 7px 21px;
  -webkit-appearance: none;
  border-radius: 0;
}

.footer {
  margin-top:5px;
}

.footer p:first-child {
  font-size:18px;
  margin-bottom:8px;
}

.footer p:last-child {
  font-size:12px;
}

}

/* iPhone 5 and skinnier styles */

@media only screen and (max-width: 320px) {

#section1text > p {
    font-size: 15px;
}

.logo {
    height: 32px;
}

.icons img {
  width:20px;
}

#section0text p:first-child {
    font-size: 21px;
}

#section0text p:last-child {
    font-size: 15px;
}

}