/* Variables and Classes ================================================================================================ */
.clearafter {
  content: '';
  display: block;
  clear: both;
}

.vcenter {
  position: relative;
  top: 50%;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.chromejitterfix {
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}

#box1 {
  background: url(../images/bg25.jpg);
}

/* Variables and Classes ================================================================================================ */
.clearafter {
  content: '';
  display: block;
  clear: both;
}

.vcenter {
  position: relative;
  top: 50%;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.chromejitterfix {
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}

#box1 {
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  height: 100%;
  max-height: 1200px;
  position: relative;
  overflow: hidden !important;
  z-index: 20;
  text-align: center;
  position: relative;
}

#box1sub {
  background: url(../images/headerbg.png) center top no-repeat;
  -moz-background-size: 100% auto;
  -o-background-size: 100% auto;
  -webkit-background-size: 100% auto;
  background-size: 100% auto;
  height: 100%;
}

#box1 #box1content {
  position: relative;
  top: 50%;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
}

#box1 #box1content h1 {
  font-size: 95px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 5;
  text-transform: uppercase;
}

#box1 #box1content p {
  font-size: 25px;
  font-family: "Lato", sans-serif;
  color: #000;
}

#box1 #box1content .buttons {
  width: 350px;
  margin-top: 20px;
}

#box1 #b1downarrow {
  background: url(../images/arrow1-down.png) no-repeat 50% 50% rgba(255, 255, 255, 0.5);
  width: 60px;
  height: 60px;
  -moz-border-radius: 60px;
  -webkit-border-radius: 60px;
  border-radius: 60px;
  display: block;
  z-index: 10;
  position: absolute;
  left: 50%;
  margin-left: -30px;
  bottom: 30px;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

#box1 #b1downarrow:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

@media screen and (max-width: 1890px) {
  #box1sub {
    background: url(../images/headerbg.png) center 20px no-repeat;
    -moz-background-size: 100% auto;
    -o-background-size: 100% auto;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
  }
}
@media screen and (max-width: 1650px) {
  #box1 #box1content {
    top: 55%;
  }

  #box1 #box1content h1 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  }
}
@media screen and (max-width: 1336px) {
  #box1sub {
    background: url(../images/headerbg.png) center 30px no-repeat;
    -moz-background-size: 100% auto;
    -o-background-size: 100% auto;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
  }
}
@media screen and (max-width: 1260px) {
  #box1sub {
    background: url(../images/headerbg.png) center 50px no-repeat;
    -moz-background-size: 100% auto;
    -o-background-size: 100% auto;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
  }

  #box1 #box1content h1 {
    font-size: 75px;
  }

  #box1 #box1content .buttons {
    max-width: 350px;
    width: 100%;
    margin-top: 10px;
  }
}
@media screen and (max-width: 1012px) {
  #box1 {
    height: auto;
    background-position: center center !important;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    background-attachment: inherit;
  }

  #box1:before {
    content: '';
    display: block;
    background: rgba(0, 95, 156, 0.85);
    position: absolute;
    height: 100%;
    width: 100%;
  }

  #box1sub {
    height: auto;
    padding-top: 100px;
    padding-bottom: 50px;
    background: none;
  }

  #box1 #box1content {
    top: 0;
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  #box1 #box1content h1 {
    font-size: 45px;
    line-height: 50px;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 8px;
    color: #fff;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.1);
  }

  #box1 #box1content p {
    padding-left: 5%;
    padding-right: 5%;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  }

  #box1 #box1content .buttons {
    max-width: 350px;
    width: 90%;
    margin-top: 10px;
  }

  #box1 #b1downarrow {
    display: none;
  }
}
.fancybox-outer {
  background: #fff;
}

.locationmap {
  display: block;
}

#box2 {
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
  -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 4;
}

#box2 h2 {
  color: #000;
  font-size: 45px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 52px;
}

@media screen and (max-width: 1260px) {
  #box2 {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
@media screen and (max-width: 767px) {
  #box2 {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  #box2 h2 {
    font-size: 35px;
    line-height: 42px;
  }
}
#box3 {
  padding-top: 70px;
  padding-bottom: 56px;
  background: url(../images/pattern1.png);
}

#box3 p {
  font-size: 22px;
  line-height: 29px;
  padding-left: 5%;
  padding-right: 5%;
  text-align: center;
  color: #000;
}

@media screen and (max-width: 1260px) {
  #box3 {
    padding-top: 60px;
    padding-bottom: 45px;
  }

  #box3 p {
    line-height: 27px;
    padding-bottom: 18px;
  }
}
@media screen and (max-width: 767px) {
  #box3 p {
    padding-left: 1%;
    padding-right: 1%;
  }
}
#box4 {
  padding: 60px 0;
  background: url(../images/bg26.jpg);
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  -moz-box-shadow: inset 0 6px 6px rgba(0, 0, 0, 0.07);
  -webkit-box-shadow: inset 0 6px 6px rgba(0, 0, 0, 0.07);
  box-shadow: inset 0 6px 6px rgba(0, 0, 0, 0.07);
  position: relative;
}

/* #box4:before {
  content: '';
  display: block;
  width: 2px;
  height: 80%;
  background: #ececec;
  position: absolute;
  top: 10%;
  left: 50%;
  margin-left: -1px;
} */

#b4left {
  float: left;
  padding: 80px 0 0 160px;
}

#b4contacts a, #b4contacts span {
  padding-left: 34px;
  position: relative;
  text-align: left;
  color: #d9272e;
  font-weight: normal;
}

#b4contacts span {
  cursor: default;
}

#b4contacts a:after, #b4contacts span:after {
  content: '';
  display: block;
  margin-bottom: 6px;
}

#b4contacts #cpagephone:before {
  content: '';
  display: inline-block;
  width: 21px;
  height: 23px;
  background: url(../images/icon-phone2.png);
  position: absolute;
  top: 1px;
  left: 0;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

#b4contacts #cpageemail:before {
  content: '';
  display: inline-block;
  width: 23px;
  height: 14px;
  background: url(../images/icon-mail2.png);
  position: absolute;
  top: 6px;
  left: 0;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

#b4contacts #cpagefax:before {
  content: '';
  display: inline-block;
  width: 23px;
  height: 22px;
  background: url(../images/icon-fax2.png);
  position: absolute;
  top: 2px;
  left: 0;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

#b4contacts #cpagephone:hover:before, #b4contacts #cpageemail:hover:before, #b4contacts #cpagefax:hover:before {
  left: -3px;
}

@media screen and (max-width: 1260px) {
  #box4:before {
    left: 47%;
  }
}
@media screen and (max-width: 1012px) {
  #box4:before {
    display: none;
  }

  #b4left {
    float: left;
    width: 100%;
    padding: 0 0 65px 0;
    text-align: center;
  }
}
@media screen and (max-width: 767px) {
  #box4 {
    padding-top: 70px;
    padding-bottom: 60px;
  }

  #b4left {
    padding: 0 0 50px 0;
  }
}
/* ============================================================
  Contact Form
============================================================ */
#cpagecontainer {
  width: 400px;
  float: right;
  margin: 0 auto;
  padding-top: 30px;
  /* padding-bottom: 50px; */
  background: url(../images/pattern5.png);
  position: relative;
  margin-right: 70px;
}

#cpagecontainer:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: #002035;
}

#cpagecontainer .formentry {
  display: block;
  vertical-align: top;
  position: relative;
  width: 80%;
  float: none;
  margin: 0 auto !important;
  color: #ff0000;
}

#cpagecontainer .formentrytextarea {
  display: block;
  vertical-align: top;
  position: relative;
  width: 80%;
  float: none;
  margin: 0 auto !important;
}

#cpagecontainer .formentry > span {
  font-weight: normal;
  font-size: 16px;
  color: #fff;
  font-family: "Lato", sans-serif;
  display: block;
}

#cpagecontainer span span, #cpagecontainer .formbottomrequired span {
  color: #f7232b;
}

#cpagecontainer .formentryfirst {
  margin-left: 0;
}

#cpagecontainer .formsuccess {
  text-align: center;
  font-weight: bold;
  color: #fff;
  padding: 40px;
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  line-height: 40px;
}

#cpagecontainer .formerror {
  color: #ff0000 !important;
  font-size: 14px !important;
  line-height: normal;
  padding: 20px;
}

#cpagecontainer label.error {
  position: absolute;
  padding: 0;
  right: 0;
  bottom: -7px;
  color: #ff0000 !important;
  font-size: 14px;
  line-height: normal;
}

#cpagecontainer .formentrytextarea label.error {
  bottom: 6px;
}

#cpagecontainer input, #cpagecontainer select, #cpagecontainer textarea {
  box-sizing: border-box;
  width: 100%;
  height: 35px;
  line-height: 35px;
  border: 0 solid #e0dede;
  background: #fff;
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 0 0 0 2%;
  color: #000;
  font-size: 16px;
  position: relative;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}

#cpagecontainer textarea {
  height: 90px;
  padding: 6px 0 0 2%;
  position: relative;
  line-height: normal;
  line-height: 21px;
}

/* Select Menu */
#cpagecontainer .selectmenu {
  width: 80%;
  margin: 0 auto;
  margin-bottom: 10px;
  color: #fff;
  font-size: 16px;
}

#cpagecontainer .formentryselect {
  overflow: hidden;
  background: url(../images/formarrow.png) no-repeat right 50% #fff;
  border: 0 solid #e0dede;
  height: 35px;
}

#cpagecontainer .formentryselect select {
  background: transparent;
  margin-top: 0 !important;
  border: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0 0 0 2%;
  cursor: pointer;
}

#cpagecontainer select::-ms-expand {
  display: none;
}

#cpagecontainer .formentryselect select {
  color: #ccc;
  font-style: italic;
}

#cpagecontainer .formentryselect select option {
  color: #000;
  font-style: normal;
}

#cpagecontainer .formentryselect select option:first-child {
  color: #ccc;
  font-style: normal;
}

#cpagecontainer button {
  width: 100%;
  display: block;
  border: 0;
  padding: 0;
  cursor: pointer;
  clear: both;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  /* position: absolute; */
  width: 100%;
  bottom: 0;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

#cpagecontainer .formbottomrequired {
  text-align: right;
  font-size: 14px;
  padding: 15px 10% 50px 0;
  font-style: italic;
  color: #fff;
}

@media screen and (max-width: 1260px) {
  #cpagecontainer {
    margin-right: 4%;
  }
}
@media screen and (max-width: 1012px) {
  #cpagecontainer {
    margin: 0 auto;
    width: 100%;
    padding-top: 40px;
  }

  #cpagecontainer form {
    text-align: center;
  }

  #cpagecontainer .formentry {
    width: 100%;
    max-width: 350px;
    float: none;
    margin: 0 auto !important;
    margin-left: inherit;
    display: block;
    text-align: left;
  }

  #cpagecontainer .formsuccess {
    padding: 40px 10px 40px 10px;
  }

  #cpagecontainer label.error {
    bottom: -2px;
    font-size: 12px;
  }

  #cpagecontainer .formentrytextarea label.error {
    bottom: 4px;
  }

/*   
  #cpagecontainer input, #cpagecontainer select, #cpagecontainer textarea {
    width: 97%;
    padding: 0 0 0 2%;
  }
  */

  #cpagecontainer textarea {
    width: 98%;
    padding: 6px 0 0 2%;
  }

  #cpagecontainer .radios {
    width: 100%;
    text-align: center;
  }

  #cpagecontainer .radios span {
    padding: 7px 0 5px 0;
    margin-left: -15px;
  }

  #cpagecontainer .selectmenu {
    width: 100%;
    max-width: 350px;
    margin: 0 auto !important;
    text-align: left;
    margin-bottom: 10px !important;
  }

  #cpagecontainer .checkboxclass {
    width: 100%;
    max-width: 350px;
    float: none;
    margin: 0 auto;
    text-align: left;
  }

  #cpagecontainer button {
    width: 100%;
    max-width: 350px;
    position: relative;
    bottom: inherit;
    left: inherit;
  }

  #cpagecontainer .formbottomrequired {
    padding: 25px 0 0 0;
    text-align: center;
    font-size: 12px;
  }
}
@media screen and (max-width: 767px) {
  #cpagecontainer {
    padding-bottom: 30px;
  }

  #cpagecontainer .formentry {
    width: 90%;
  }

  #cpagecontainer .selectmenu {
    width: 90%;
  }

  #cpagecontainer button {
    width: 90%;
  }

  #cpagecontainer .checkboxclass span {
    padding: 0 0 20px 10px;
    font-size: 12px;
  }
}
#box5 {
  padding-top: 80px;
  padding-bottom: 60px;
  background: url(../images/bg27.jpg);
  text-align: center;
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
}

#box5 h2 {
  color: #fff;
  font-size: 45px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 52px;
  padding-bottom: 10px;
}

#b5img {
  height: 758px;
  text-align: center;
}

#box5 img {
  width: 1170px;
  height: 734px;
  display: inline-block;
  vertical-align: middle;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

#box5 img:hover {
  width: 1208px;
  height: 758px;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#b5usam {
  display: none !important;
}

@media screen and (max-width: 1260px) {
  #b5img {
    height: 565px;
  }

  #box5 img {
    width: 870px;
    height: 546px;
  }

  #box5 img:hover {
    width: 900px;
    height: 565px;
  }
}
@media screen and (max-width: 1012px) {
  #b5img {
    height: auto;
  }

  #box5 img, #box5 img:hover {
    width: 90%;
    height: auto;
  }
}
@media screen and (max-width: 767px) {
  #box5 {
    padding-top: 60px;
  }

  #box5 h2 {
    font-size: 40px;
    line-height: 46px;
  }

  #b5usa {
    display: none !important;
  }

  #b5usam {
    display: inline-block !important;
  }
}

.flex-center {
  display: flex;
  justify-content: center;
}

.align-left {
  margin-left: -110px;
}

.contact-information {
  display: grid; 
  gap: 1rem;
  grid-template-columns: 1fr; 
  padding: 0 30px;
}

@media (width >= 48rem) {
  .contact-information {
    padding: 0 80px;
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (width >= 64rem) {
  .contact-information {
    padding: 0 80px;
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
