
/* 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%);
}

@media (min-width: 992px){
	.vcenter-lg {
	  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;
    background: url(../images/bg20.jpg);
}

#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;
  }
}
/* 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);
}

#box2 {
  padding-top: 20px;
  padding-bottom: 20px;
  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 a {
  display: inline-block;
  width: 20%;
  padding-right: 2%;
  height: 108px;
  line-height: 108px;
  margin-left: 1%;
  margin-right: 1%;
  background: no-repeat;
  text-align: right;
  position: relative;
  color: #000;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 400;
}

#box2 a:nth-child(1):after, #box2 a:nth-child(2):after, #box2 a:nth-child(3):after {
  content: '';
  display: block;
  width: 1px;
  height: 100%;
  top: 0;
  background: #ddd;
  position: absolute;
  right: -13px;
  cursor: default;
}

#box2 a:hover {
  color: #005f9c;
  text-decoration: none;
  background-color: rgba(0, 95, 156, 0.02);
}

@media screen and (max-width: 1260px) {
  #box2 a {
    font-size: 18px;
    height: 88px;
    line-height: 88px;
    width: 21%;
    padding-right: 1%;
  }
}
@media screen and (max-width: 1012px) {
  #box2 a {
    font-size: 20px;
    height: 78px;
    line-height: 78px;
    width: 80% !important;
    max-width: 260px;
    padding-right: 5% !important;
    margin-left: 3%;
    margin-right: 3%;
    border-bottom: 1px solid #ddd;
  }

  #box2 a:nth-child(3), #box2 a:nth-child(4) {
    border-bottom: 0;
  }

  #box2 a:nth-child(1):after, #box2 a:nth-child(2):after, #box2 a:nth-child(3):after {
    display: none;
  }
}
@media screen and (max-width: 800px) {
  #box2 a {
    width: 95% !important;
    max-width: 330px;
    margin-left: -2px;
    margin-right: -2px;
  }

  #box2 a:nth-child(3) {
    border-bottom: 1px solid #ddd;
  }
}
#box2 a {
  line-height: 84px;
  height: 108px;
}

#box2 a span {
  display: block;
  color: #aaa;
  font-size: 16px;
  position: absolute;
  line-height: normal;
  width: 100%;
  text-align: center;
  bottom: 30px;
  font-family: "Lato", sans-serif;
}

#box2 a {
  width: 16%;
  padding-left: 0;
  padding-right: 0;
  margin-left: -2px;
  margin-right: -2px;
  text-align: center;
}

#box2 a:nth-child(1):after,
#box2 a:nth-child(2):after,
#box2 a:nth-child(3):after,
#box2 a:nth-child(4):after,
#box2 a:nth-child(5):after {
  content: '';
  display: block;
  width: 1px;
  height: 100%;
  top: 0;
  background: #ddd;
  position: absolute;
  right: 0;
  cursor: default;
}

@media screen and (max-width: 1012px) {
  #box2 a {
    padding-right: inherit !important;
    margin-left: 3%;
    margin-right: 3%;
  }

  #box2 a:nth-child(3), #box2 a:nth-child(4) {
    border-bottom: 1px solid #ddd;
  }

  #box2 a:nth-child(5), #box2 a:nth-child(6) {
    border-bottom: 0;
  }

  #box2 a:nth-child(1):after, #box2 a:nth-child(2):after, #box2 a:nth-child(3):after, #box2 a:nth-child(4):after, #box2 a:nth-child(5):after {
    display: none;
  }
}
@media screen and (max-width: 800px) {
  #box2 a:nth-child(5) {
    border-bottom: 1px solid #ddd;
  }
}
#box3 {
  background: url(../images/pattern1.png);
  padding-top: 80px;
  padding-bottom: 65px;
  text-align: center;
}

#box3 p {
  padding-left: 10%;
  padding-right: 10%;
}

@media screen and (max-width: 1260px) {
  #box3 {
    padding-top: 60px;
    padding-bottom: 45px;
  }
}
@media screen and (max-width: 767px) {
  #box3 p {
    padding-left: 5%;
    padding-right: 5%;
  }
}
.test {
  background-color: #005f9c;
  background-repeat: no-repeat;
  height: 537px;
  clear: both;
}

.testleft {
  background-image: url(../images/bg8.png);
  background-position: left top;
}

.testright {
  background-image: url(../images/bg8flipped.png);
  background-position: right top;
}

.testcontent {
  position: relative;
  width: 30%;
}

.testleft .testcontent {
  float: left;
  padding: 90px 5% 0 15%;
}

.testright .testcontent {
  float: right;
  padding: 90px 15% 0 5%;
}

.testvid {
  position: relative;
  width: 50%;
  height: 100%;
  background-color: black;
}

.testvid iframe {
  width: 100%;
  height: 100%;
}

.testleft .testvid {
  float: right;
}

.testright .testvid {
  float: left;
}

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

.testcontent .testsubtitle {
  color: #fff;
  font-size: 22px;
  padding-bottom: 32px;
  line-height: 28px;
}

.testcontent div {
  border-top: 2px solid #2b7aad;
  padding-top: 30px;
}

.testcontent p {
  color: #fff;
}

.testcontent a {
  color: #adacac;
  text-decoration: underline;
}

.testcontent a:hover {
  color: #c6c5c5;
}

@media screen and (max-width: 1890px) {
  .test {
    height: 470px;
  }

  .testleft .testcontent {
    padding: 80px 5% 0 15%;
  }

  .testright .testcontent {
    padding: 80px 15% 0 5%;
  }
}
@media screen and (max-width: 1650px) {
  .test {
    height: 402px;
  }

  .testcontent {
    width: 40%;
  }

  .testleft .testcontent {
    padding: 70px 5% 0 5%;
  }

  .testright .testcontent {
    padding: 70px 5% 0 5%;
  }

  .testcontent .testsubtitle {
    padding-bottom: 22px;
  }

  .testcontent div {
    padding-top: 20px;
  }
}
@media screen and (max-width: 1410px) {
  .test {
    height: 381px;
  }

  .testleft .testcontent {
    padding: 65px 5% 0 5%;
  }

  .testright .testcontent {
    padding: 65px 5% 0 5%;
  }

  .testcontent h2 {
    font-size: 40px;
    line-height: 46px;
  }
}
@media screen and (max-width: 1336px) {
  .test {
    height: 356px;
  }

  .testleft .testcontent {
    padding: 50px 5% 0 5%;
  }

  .testright .testcontent {
    padding: 50px 5% 0 5%;
  }

  .testcontent .testsubtitle {
    padding-bottom: 12px;
  }
}
@media screen and (max-width: 1260px) {
  .test {
    height: 285px;
  }

  .testleft .testcontent {
    padding: 40px 5% 0 5%;
  }

  .testright .testcontent {
    padding: 40px 5% 0 5%;
  }

  .testcontent h2 {
    font-size: 35px;
    line-height: 41px;
  }

  .testcontent .testsubtitle {
    font-size: 18px;
    line-height: 23px;
  }

  .testcontent p {
    font-size: 15px;
    line-height: 19px;
  }
}
@media screen and (max-width: 1012px) {
  .test {
    height: auto;
  }

  .testcontent {
    width: 90%;
  }

  .testcontent h2, .testcontent .testsubtitle {
    text-align: center;
  }

  .testleft .testcontent, .testright .testcontent {
    padding: 50px 5% 15px 5%;
  }

  .testvid {
    width: 100%;
    height: 285px;
  }
}


hr {
	display: block;
	padding: 0;
	border: 0;
	border-top: 2px solid #dbdbdb;
    margin: 30px 0;
}

hr.blue {
	border-top: 2px solid #2b7aad;
}
		


/* aspect-ratio.1.0 */ .sixteen-nine-container{width:100%;padding-top:56.25%;position:relative;overflow:hidden}.sixteen-nine-container>div,.sixteen-nine-container>iframe,.sixteen-nine-container>img,.sixteen-nine-container>video{width:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.sixteen-nine-container>iframe{height:100%}.sixteen-nine-container>video{width:100%!important;height:auto!important}

.small-btn {
	display: inline-block;
    width: auto;
    height: auto;
    line-height: normal;
    padding: 10px 20px;
    font-size: 20px;
}


.bg-blue {
    background-color: #005f9c;
    background-repeat: no-repeat;
}
.bg-blue.layout-left { /* background-image: url(../images/bg8.png); */ background-position: left top; }
.bg-blue.layout-right { /* background-image: url(../images/bg8flipped.png);  */background-position: right top; background-color: #014775;}


.bg-blue .row>* {
    padding-right: 0;
    padding-left: 0;
    margin-top: 0;
}

.layout-left .testcontent,
.layout-right .testcontent  {
	width: 100% !important;
	box-sizing: border-box;
}

.testvid { width: 100%; }


